[tex4ht] Compilation fails with `program' package

2016-02-19 Thread Denis Bitouzé
Hi, the following MCE: --8<---cut here---start->8--- \documentclass{article} \usepackage{program} \begin{document} \begin{program} Foo \end{program} \end{document} --8<---cut here---end--->8--- compiles like a charm with

Re: [tex4ht] [glossaries] First (long) occurrence of an acronym not long in title

2014-04-02 Thread Denis Bitouzé
Michal Hoftich wrote: Hi Denis, Hi Michal, I just have found this old question at TeX.sx [1]. Wow, an almost two years old question! Although you use different package for the acronyms than is used in that question, the issue is same. Long form of acronym is used only on first acronym

[tex4ht] manfnt.htf not found

2012-10-31 Thread Denis Bitouzé
Hello, with an up to date TL 2012, the following MCE: \documentclass{article} \usepackage{manfnt} \begin{document} \dbend \end{document} doesn't compile properly because of: --- warning --- Couldn't find font `manfnt.htf' (char codes: 0--127) whereas: $ locate manfnt.htf

Re: [tex4ht] Detecting TeX4ht

2012-10-09 Thread Denis Bitouzé
Le mardi 09/10/12 à 00h59, k...@freefriends.org (Karl Berry) a écrit : Hi Denis, Hi Karl, [...] Sorry for the late reply. I just wanted to chime in that I also have always used \ifx\HCode. OK, thanks. Although I understand and even agree with Eitan's response in principle (to use

[tex4ht] Spaces in listings are non-breaking spaces but should be normal spaces

2012-10-03 Thread Denis Bitouzé
Hello, consider the joined 'spaces-in-listings.tex' MCE (I couldn't copy paste it here because long lines would have been broken), which is of the form: \documentclass{article} \usepackage{listings} \lstset{ basicstyle=\ttfamily, numbers=left, breaklines=true } \begin{document}

Re: [tex4ht] Spaces in listings are non-breaking spaces but should be normal spaces

2012-10-03 Thread Denis Bitouzé
Le mercredi 03/10/12 à 09h41, Denis Bitouzé dbito...@wanadoo.fr a écrit : \def\lst@outputspace{\HCode{ }} The original definition being: \def\lst@outputspace{\:nbsp} -- Denis

[tex4ht] Detecting TeX4ht

2012-10-03 Thread Denis Bitouzé
Hello, I understand the answer of the late Eitan in the following thread: https://groups.google.com/d/topic/comp.text.tex/ByoF82q20sI/discussion where he said that it is a wrong approach to include translator-dependent code within source files with the help of macros as \ifHtml...\else...\fi.

Re: [tex4ht] hyperref loaded in document class

2012-10-02 Thread Denis Bitouzé
Le mardi 02/10/12 à 13h14, Denis Bitouzé dbito...@wanadoo.fr a écrit : Do you know a workaround? I answer myself: it is enough to replace: \RequirePackage{hyperref} by: \AtBeginDocument{\RequirePackage{hyperref}} I tested \AtEndOfClass which was unsuccessful. But I didn't try

[tex4ht] TeX4ht support into latexmk

2012-10-02 Thread Denis Bitouzé
Hello, John Collins (http://www.phys.psu.edu/~collins/) kindly added TeX4ht support into latexmk to his list of features to add :) A promising starting point can be tested by downloading and unzipping the archive:

Re: [tex4ht] latexmk instead of 3 systematic compilations?

2012-09-25 Thread Denis Bitouzé
Le lundi 17/09/12 à 20h33, Denis Bitouzé dbito...@wanadoo.fr a écrit : Maybe I could contact John Collins to provide him this information and to ask him to make Latexmk aware of TeX4Ht Before that, I'll try to investigate a bit. For instance, the htlatex script contains (on my Linux box) 3

[tex4ht] All the compilation options in the .cfg file?

2012-09-20 Thread Denis Bitouzé
Hello, if I'm right, a command line as follows: htlatex config-file,xhtml,fn-in,charset=utf-8 -cunihtf -utf8 may be shortened in: htlatex config-file -cunihtf -utf8 if config-file.cfg contains: \Preamble{xhtml,fn-in,charset=utf-8} My question is about the second set of options,

Re: [tex4ht] latexmk instead of 3 systematic compilations?

2012-09-17 Thread Denis Bitouzé
Le lundi 17/09/12 à 19h58, Matteo Centonza mat...@metatype.it a écrit : Hi Matteo, an easy method may be to check whether or not the .xref file changed since last run (you may use checksum comparison). This is the method i currently use in my application. OK, many thanks for this tip.

Re: [tex4ht] [SOLVED] Spurious line break (br /) with \lstinputlisting

2012-09-09 Thread Denis Bitouzé
Le dimanche 09/09/12 à 11h25, Denis Bitouzé dbito...@wanadoo.fr a écrit : Any help would be strongly welcome :) OK, I'll managed after having a look at html4.4ht and adding in the local .cfg file: \Configure{lstinputlisting} {\ifvmode \IgnorePar\fi \EndP \HCode{!--l. \the\inputlineno

Re: [tex4ht] [NOT SOLVED] Spurious line break (br /) with \lstinputlisting

2012-09-09 Thread Denis Bitouzé
Le dimanche 09/09/12 à 12h15, Denis Bitouzé dbito...@wanadoo.fr a écrit : Maybe this configuration will lead to side effects One of the most famous one is that it removes all the break lines of multiline listings! but, if not, I would strongly suggest to adopt it for future TeX4ht release

Re: [tex4ht] [Patch submitted] Spurious line break (br /) with \lstinputlisting

2012-09-09 Thread Denis Bitouzé
Le dimanche 09/09/12 à 11h25, Denis Bitouzé dbito...@wanadoo.fr a écrit : I had a look at listings.4ht but I'm not not sure what to change in it without side effects. If I'm right, the following patch is a clean solution to the trouble I mentioned. In the original html4.4ht, replace lines

Re: [tex4ht] [Patch submitted] Spurious line break (br /) with \lstinputlisting

2012-09-09 Thread Denis Bitouzé
Le dimanche 09/09/12 à 16h06, Denis Bitouzé dbito...@wanadoo.fr a écrit : \Css{div.lstinputlisting{ font-family: monospace; white-space: nowrap; }} of the original html4.4ht. I also suggest to make identical the div.lstlisting and div.lstinputlisting \Css declarations by adding

[tex4ht] \autoref from hyperref with tex4ht (reborn)

2012-09-04 Thread Denis Bitouzé
Hi, despite an up to date TL 2012, I'm facing the same trouble as pointed out in http://tug.org/pipermail/tex4ht/2011q2/000307.html: \documentclass{article} \usepackage{hyperref} \begin{document} \begin{figure} \caption{My figure.} \label{fig} \end{figure} See~\autoref{fig}. \end{document}

Re: [tex4ht] Unnumbered theorems and hyperref

2012-09-04 Thread Denis Bitouzé
Le mardi 04/09/12 à 20h43, Denis Bitouzé dbito...@wanadoo.fr a écrit : Sorry, I wasn't precise enough... As long as hyperref is loaded or the theorem stay unnumbered (remove the star to make it numbered) , the following MCE: \documentclass{article} \usepackage{amsthm} \usepackage

[tex4ht] Unnumbered theorems and hyperref

2012-09-04 Thread Denis Bitouzé
Hello, I have run into another bug. As long as hyperref is loaded, the following MCE: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} % \newtheorem*{theo}{Theorem} % \begin{document} \begin{theo} Test. \end{theo} \end{document} gives the error: ! TeX capacity exceeded,

Re: [tex4ht] \autoref from hyperref with tex4ht (reborn)

2012-09-04 Thread Denis Bitouzé
Le mardi 04/09/12 à 19h24, Denis Bitouzé dbito...@wanadoo.fr a écrit : It is the case :) I forgot to mention that your nameref.4ht is working like charm! -- Denis