[tex4ht] dbmlatex conversion...
Zdzislaw Meglicki
zdzisiekm at sbcglobal.net
Tue Oct 23 15:49:00 CEST 2012
I think I've found what causes this problem. Here's the input LaTeX file
(stripped to the problem area)
==========================================================
\documentclass[twoside, letterpaper, 10pt]{article}
\usepackage{amsbsy,amscd,amsfonts,amsgen,amsmath,amsopn,amssymb,amstext,amsthm,amsxtra}
\usepackage{graphicx}
\usepackage{verbatim}
\title{Jump Markov Processes}
\author{Zdzis\l{}aw (Gustav) Meglicki, Jr}
\date{\today}
\begin{document}
\maketitle
\section{Introduction}
\label{s:intro}
\begin{eqnarray}
&&\frac{\partial}{\partial t}
P\left( (\mathbf{x}, t) \mathinner{|} (\mathbf{x}_0, t_0) \right)
= \nonumber\\
&&\quad\int_{\Omega\left(\mathbf{x}'\right)}
\Bigl(
W\left(\mathbf{x}' \mathinner{|} (\mathbf{x} - \mathbf{x}', t) \right)
P\left( (\mathbf{x} - \mathbf{x}', t) \mathinner{|} (\mathbf{x}_0, t_0)
\right) \nonumber\\
&&\qquad\quad
-\,
W\left( -\mathbf{x}' \mathinner{|} (\mathbf{x}, t) \right)
P\left( (\mathbf{x}, t) \mathinner{|} (\mathbf{x}_0, t_0) \right)
\Bigr)
\,\mathrm{d} \mathbf{x}'
\end{eqnarray}
\end{document}
==========================================================
The problem is caused by the use of the "\Bigl( ... \\ ... \Bigr)" construct
within the eqnarray (with the line split between the brackets). Because in the
eqnarray
I cannot use "\left( ... \\ ... \right)" to split a long expression between
brackets, here I use
the explicit \Bigl( and \Bigr) instead. However, even removing the \Bigl and
\Bigr qualifiers,
but still splitting between the brackets reproduces the problem.
The problem goes away, when the lines "\Bigl(" and "\Bigr)" are commented out,
that is, the brackets removed altogether, but then, of course, the math itself
becomes
incorrect.
Semantically, it's nicer to use AMSLaTeX's "split" construct here, like this
==========================================================
\begin{equation}
\begin{split}
&\frac{\partial}{\partial t}
P\left( (\mathbf{x}, t) \mathinner{|} (\mathbf{x}_0, t_0) \right)
= \\
&\quad\int_{\Omega\left(\mathbf{x}'\right)}
\Bigl(
W\left(\mathbf{x}' \mathinner{|} (\mathbf{x} - \mathbf{x}', t) \right)
P\left( (\mathbf{x} - \mathbf{x}', t) \mathinner{|} (\mathbf{x}_0, t_0)
\right) \\
&\qquad\quad
-\,
W\left( -\mathbf{x}' \mathinner{|} (\mathbf{x}, t) \right)
P\left( (\mathbf{x}, t) \mathinner{|} (\mathbf{x}_0, t_0) \right)
\Bigr)
\,\mathrm{d} \mathbf{x}'
\end{split}
\end{equation}
==========================================================
but it does not remedy the problem.
Because such a construct is legal in LaTeX, in AMSLaTeX too, and because we
do have to split long expressions within brackets sometimes, it points to a
problem
with the translation.
________________________________
From: Radhakrishnan CV <cvr at river-valley.org>
To: Zdzislaw Meglicki <zdzisiekm at sbcglobal.net>
Cc: tex4ht at tug.org
Sent: Mon, October 22, 2012 10:01:22 PM
Subject: Re: [tex4ht] dbmlatex conversion...
On Tue, Oct 23, 2012 at 1:58 AM, Zdzislaw Meglicki <zdzisiekm at sbcglobal.net>
wrote:
Question: is this a known problem? Should I update some of my TeX4ht config
>files? If so, which ones?
>This is a vanilla Cygwin installation downloaded with the latest version of TeX
>Live about two weeks ago...
Can you please send a small test file with problem? I think, input file has
problems.
Best
--
Radhakrishnan
More information about the tex4ht
mailing list