New answers tagged

2

I have same version of minted but get <div class="lstlisting" id="listing-1"><span class="label"><a id="x1-2r1"></a></span><span class="ectt-1095">clear</span><span class="ectt-1095">&#x00A0;</span><span class="ectt-1095">all</span><span ...


6

When you're compiling with tex4ht, the test \ifdefined\HCode returns true, so TeX wants to discard the false branch. So it goes from \else up to the matching \fi without expanding macros or executing commands, but matching conditionals. Since \ifshowlistof is not a conditional when \else is scanned, it never becomes one, so the matching \fi is the one in ...


0

authblk redefines standard LaTeX commands, such as \maketitle and \author. As these commands are redefined by tex4ht as well, it is not surprise that they clash each other. The fix is easy in this case. Save the following code as authblk.4ht: \def\maketitle{\bgroup% \AB@maketitle% \egroup} \endinput This fixes \maketitle definition provided by authblk ...


3

tex4ht doesn't do anything with line breaks in URLs. It works for hyphens because browsers do that, but they don't break words with underscores. We need to insert zero-width space character after underscores to enable the linebreaking. Actions on certain characters may be defined using \g@addto@macro\UrlSpecials command, possibly in the .cfg file: ...



Top 50 recent answers are included