Dear gang, Here are two export bugs, full test suite attached: ==========sh_ahmad-qajar-xml-test-highlight.tex=========== \setupexport[cssfile=sh_ahmad-qajar.css] \setupbackend[export=yes] \definehighlight[emphasis][style=\em] \definehighlight[important][style=bold] \starttext \startparagraph Some \emph{emphasis} and \important{important}. \emph{Emphasis} and \important{important}. \stopparagraph \stoptext ==========sh_ahmad-qajar-xml-test-highlight-div.xhtml========== <div> <div class="paragraph">Some emphasis and <div class="highlight important">important</div>. <div class="break"><!--empty--></div> Emphasis <div class="break"><!--empty--></div> and <div class="highlight important">important</div>.</div> </div> ========== The exported formatting of \emph vanishes in each instance, as well as misbehaves in the second case; \important behaves just fine. It seems the export doesn't like \em. Can this be fixed? Thanks and Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80523
+ attachment
On Fri, 24 Apr 2015 18:31:59 -0600, Idris Samawi Hamid ادريس سماوي حامد
Dear gang,
Here are two export bugs, full test suite attached:
==========sh_ahmad-qajar-xml-test-highlight.tex=========== \setupexport[cssfile=sh_ahmad-qajar.css] \setupbackend[export=yes] \definehighlight[emphasis][style=\em] \definehighlight[important][style=bold] \starttext \startparagraph Some \emph{emphasis} and \important{important}.
\emph{Emphasis} and \important{important}. \stopparagraph \stoptext ==========sh_ahmad-qajar-xml-test-highlight-div.xhtml========== <div> <div class="paragraph">Some emphasis and <div class="highlight important">important</div>. <div class="break"><!--empty--></div> Emphasis <div class="break"><!--empty--></div> and <div class="highlight important">important</div>.</div> </div> ==========
The exported formatting of \emph vanishes in each instance, as well as misbehaves in the second case; \important behaves just fine.
It seems the export doesn't like \em. Can this be fixed? Thanks and
Best wishes
Idris
-- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80523
On Fri, 24 Apr 2015 20:13:32 -0600, Aditya Mahajan
You define \emphasis but use \emph.
Indeed, that's what weeks on end without proper sleep will get you... Sorry for the noise and thanks! Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523
participants (3)
-
Aditya Mahajan
-
Idris Samawi Hamid ادريس سماوي ح امد
-
Idris Samawi Hamid ادريس سماوي حامد