[NTG-context] Export bugs

Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu
Sat Apr 25 02:31:59 CEST 2015


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


More information about the ntg-context mailing list