[tex4ht] How I used tex4ht to produce HTML from LaTeX
My approach to producing HTML from my LaTeX source code was to keep things as simple as possible. I have posted my notes on my web site, bob.cs.sonoma.edu; click on the LaTeX to HTML tab. Perhaps this will be helpful to others. I also welcome feedback regarding my work. Always something new to learn. --Bob
[tex4ht] SVG figures cause font styling to be lost
I use Dwight Aplevich's circuits macros to create drawings, which produces .tex files. htlatex creates great svg files for the drawings. However, after the first such drawing, all font styling (bold, italic, etc.) is lost. I have traced the problem to a switch from span to tspan in the html code at the point of the first use of svg. Is there a workaround for this bug? I have attached an example. I'm using texlive 2014 in Ubuntu 15.04. The attached example can be expanded with tar xvfz bobs_figures.tgz Then cd bobs_figures htlatex my_fig.tex gives the example. The problem still exists when I use make4ht. --Bob bobs_figures.tgz Description: GNU Zip compressed data
[tex4ht] [bug #252] tex4ht doesn't work with latest versions of biblatex/biber
Follow-up Comment #5, bug #252 (project tex4ht): Karl, et al., so sorry, I could not find time to fix this bug. Will try my best to attempt this immediately. Guess, I need to grab biber and biblatex from CTAN, right? Not yet available with tlmgr. ___ Reply to this item at: http://puszcza.gnu.org.ua/bugs/?252 ___ Message sent via/by Puszcza http://puszcza.gnu.org.ua/
[tex4ht] [bug #252] tex4ht doesn't work with latest versions of biblatex/biber
Follow-up Comment #4, bug #252 (project tex4ht): just to mention, this was also reported at http://tug.org/pipermail/tex-live/2015-May/036851.html. cvr, i hope it will not be too much trouble to update the biblatex+biber support for the new version, when you have a chance. and that all the testing infrastructure you built works out ... ___ Reply to this item at: http://puszcza.gnu.org.ua/bugs/?252 ___ Message sent via/by Puszcza http://puszcza.gnu.org.ua/
Re: [tex4ht] SVG figures cause font styling to be lost
I can't tell why it does not work when including the tex source code for the tikz pic. But here is a workaround. The result is in a zip with my .cfg included which is at this link: http://12000.org/tmp/053105/bobs_figures.zip I changed your latex file to be to include the image itself instead of include the tikz code. This means some pre-processing is needed: --- \documentclass{article} \usepackage{graphicx} \begin{document} Here \textbf{is} a \texttt{circuit} for \textit{you}. \begin{figure}[!ht] \centering \includegraphics[width=0.5\paperwidth]{book_figs/t_circuit} \caption{Here \textbf{is} a \texttt{circuit} for \textit{you}.} \end{figure} Here \textbf{is} a \texttt{circuit} for \textit{you}. \end{document} - Then made the tikz file to be self contained document: -- \documentclass{standalone} \ifdefined\HCode \def\pgfsysdriver{pgfsys-tex4ht.def} \fi \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=2.54] . \end{tikzpicture} \end{document} - Then compiled it pdflatex t_circuit.tex then convert to svg using pdf2svg t_circuit.pdf t_circuit.svg and now build the main tex file using: make4ht -d html -c nma.cfg my_fig.tex Now it work. The fonts changes correclty below the image. The zip file has the .cfg and the generated HTML so you can see the result. Again, I do not know why it does not work when including the tikz source code directly. --Nasser On 5/31/2015 4:14 PM, Bob Plantz wrote: I use Dwight Aplevich's circuits macros to create drawings, which produces .tex files. htlatex creates great svg files for the drawings. However, after the first such drawing, all font styling (bold, italic, etc.) is lost. I have traced the problem to a switch from span to tspan in the html code at the point of the first use of svg. Is there a workaround for this bug? I have attached an example. I'm using texlive 2014 in Ubuntu 15.04. The attached example can be expanded with tar xvfz bobs_figures.tgz Then cd bobs_figures htlatex my_fig.tex gives the example. The problem still exists when I use make4ht. --Bob
[tex4ht] [bug #252] tex4ht doesn't work with latest versions of biblatex/biber
Follow-up Comment #6, bug #252 (project tex4ht): or you can get them as part of the tl pretest image, if you want (http://tug.org/texlive/pretest.html). might or might not be easier ... (i suspect we will make this be the public release of tl'15 in another couple of days, btw. no critical problems have been found since it was frozen a few days ago.) karl ___ Reply to this item at: http://puszcza.gnu.org.ua/bugs/?252 ___ Message sent via/by Puszcza http://puszcza.gnu.org.ua/
[tex4ht] [bug #252] tex4ht doesn't work with latest versions of biblatex/biber
Follow-up Comment #7, bug #252 (project tex4ht): This time, I had opted out of pretest (acute paucity of time). Will get from CTAN. ___ Reply to this item at: http://puszcza.gnu.org.ua/bugs/?252 ___ Message sent via/by Puszcza http://puszcza.gnu.org.ua/