[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2020-07-02 Thread Michal Hoftich
Follow-up Comment #9, bug #162 (project tex4ht):

Ah I meant that there is added space. But Karl already updated TL, so it comes
correctly now. 

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2020-07-02 Thread Bitouze
Follow-up Comment #8, bug #162 (project tex4ht):

>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} 

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/


[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2020-07-01 Thread Michal Hoftich
Follow-up Comment #7, bug #162 (project tex4ht):

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}}

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2020-07-01 Thread Bitouze
Follow-up Comment #6, bug #162 (project tex4ht):

Well, I don't remember (8 years later ;) what I got at the moment, but,
currently with:


*File List*
 article.cls2019/12/20 v1.4l Standard LaTeX document class
  size10.clo2019/12/20 v1.4l Standard LaTeX file (size option)
  tex4ht.sty
 article.4ht
l3backend-dvips.def2020-06-29 L3 backend support: dvips
l3backend-dvips.def2020-06-29 L3 backend support: dvips
 ***

the "\LaTeX" logo is displayed just as "LaTeX":


LaTeX


Maybe this explains the issue seems fixed. I wonder what we would get if the
logo would be preserved in the HTML output.

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/


[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2020-07-01 Thread Michal Hoftich
Update of bug #162 (project tex4ht):

 Open/Closed:Open => Closed 

___

Follow-up Comment #5:

I think this is fixed already.

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2012-09-19 Thread Bitouze

Follow-up Comment #4, bug #162 (project tex4ht):

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;
  }
}

defTeX{HCode{}THCode{}eHCode{}XHCode{}}
defLaTeX{HCode{}LHCode{}aHCode{}THCode{}eHCode{}XHCode{}}



___

Reply to this item at:

  

___
  Message posté via/par Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2012-09-19 Thread Bitouze

Follow-up Comment #3, bug #162 (project tex4ht):

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.

___

Reply to this item at:

  

___
  Message posté via/par Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2012-09-05 Thread CV Radhakrishnan

Follow-up Comment #2, bug #162 (project tex4ht):

The html output created by TeX4ht is similar to pdf. There is no spurious
space. See: 


LATEX foo
LATEXfoo

 

The  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

___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2012-09-05 Thread CV Radhakrishnan

Update of bug #162 (project tex4ht):

 Assigned to:None => cvr


___

Reply to this item at:

  

___
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2012-05-17 Thread Bitouze

Follow-up Comment #1, bug #162 (project tex4ht):

Even worse, a spurious space is inserted before periods:

documentclass{article}
begin{document}
noindentLaTeX{}.

noindentLaTeX.
end{document}

___

Reply to this item at:

  

___
  Message posté via/par Puszcza
  http://puszcza.gnu.org.ua/



[tex4ht] [bug #162] Extra space in html output with some predefined TeX commands

2012-05-17 Thread Bitouze

URL:
  

 Summary: Extra space in html output with some predefined TeX
commands
 Project: tex4ht
Submitted by: denisbitouze
Submitted on: jeu. 17 mai 2012 09:37:33 GMT
Category: None
Priority: 5 - Normal
Severity: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

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.





___

Reply to this item at:

  

___
  Message posté via/par Puszcza
  http://puszcza.gnu.org.ua/