Thu Jul 2 20:06:59 2020, comment #9:
Ah I meant that there is added space. But Karl already updated TL, so it comes correctly now.
|
Thu Jul 2 19:41:20 2020, comment #8:
>And you are right that the following text is still shifted too close to the fancy logo.
Really? I don't see this trouble anymore with the "fancylogo" option and:
\documentclass{article}
\begin{document}
\noindent\LaTeX{} foo
\noindent\LaTeX foo
\noindent\LaTeX{}.
\noindent\LaTeX.
\end{document}
|
Wed Jul 1 20:55:20 2020, comment #7:
Yes, we use the plain logo by default now. But it is still possible to use the logo that emulates the fancy logo using the "fancylogo" option.
And you are right that the following text is still shifted too close to the fancy logo. I've found that it can be fixed using following CSS:
\Css{span.LATEX span.TEX{ position:relative; margin-left: -0.4em; margin-right: 0.125em; }}%
\Css{span.TEX {letter-spacing: -0.125em; margin-right:0.125em}}
|
Wed Jul 1 17:57:32 2020, comment #6:
Well, I don't remember (8 years later ;) what I got at the moment, but, currently with:
<pre>
File List
article.cls 2019/12/20 v1.4l Standard LaTeX document class
size10.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
tex4ht.sty
article.4ht
l3backend-dvips.def 2020-06-29 L3 backend support: dvips
l3backend-dvips.def 2020-06-29 L3 backend support: dvips
***********
</pre>
the "\LaTeX" logo is displayed just as "LaTeX":
<code>
<!--l. 14--><p class="noindent" >LaTeX
</code>
Maybe this explains the issue seems fixed. I wonder what we would get if the logo would be preserved in the HTML output.
|
Wed Jul 1 17:44:35 2020, comment #5:
I think this is fixed already.
|
Wed Sep 19 08:11:03 2012, comment #4:
Well, not that good: the entire "LaTeX" word is shifted to the right and a spurious space appears at its left.
Thanks to http://edward.oconnor.cx/2007/08/tex-poshlet a (working I hope) workaround would be:
\Css{.tex, .latex, .tex sub, .latex sub {
font-size: 1em;
}
}
\Css{.tex sub, .latex sub, .latex sup {
text-transform: uppercase;
}
}
\Css{.latex sub, .tex sub {
vertical-align: -0.25em;
margin-left: -0.1667em;
margin-right: -0.125em;
}
}
\Css{.latex sup {
font-size: 0.85em;
vertical-align: 0.15em;
margin-left: -0.36em;
margin-right: -0.15em;
}
}
\def\TeX{\HCode{<span class="tex">}T\HCode{<sub>}e\HCode{</sub>}X\HCode{</span>}}
\def\LaTeX{\HCode{<span class="latex">}L\HCode{<sup>}a\HCode{</sup>}T\HCode{<sub>}e\HCode{</sub>}X\HCode{</span>}}
|
Wed Sep 19 07:27:39 2012, comment #3:
I found a workaround: it is enough to add, after the span.LATEX entries from *.css:
span.LATEX { position:relative; left: 0.4em; }
I hope it is exempt of side effects.
|
Wed Sep 5 09:44:15 2012, comment #2:
The html output created by TeX4ht is similar to pdf. There is no spurious space. See:
</head><body
>
<!--l. 9--><p class="noindent" ><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span> foo
<!--l. 11--><p class="noindent" ><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span>foo
</body></html>
The <span> element introduces a space after it while rendering in a browser. If you comment out the span.LATEX entries from *.css, and refresh your browser, the spurious space disappears. I am out of wits here.
Radhakrishnan
|
Thu May 17 09:50:57 2012, comment #1:
Even worse, a spurious space is inserted before periods:
\documentclass{article}
\begin{document}
\noindent\LaTeX{}.
\noindent\LaTeX.
\end{document}
|
Thu May 17 09:37:33 2012, original submission:
Hello,
there is an extra space in html output after some predefined TeX
commands, as pointed out by the following MCE (compile with htlatex
and with pdflatex in order to see the difference):
\documentclass{article}
\begin{document}
\noindent\LaTeX{} foo
\noindent\LaTeX foo
\end{document}
Best regards.
|