On Sat, Feb 08, 2025 at 02:45:22AM +0300, thexxiv wrote:
> Why is PDF generated from LaTeX different from TeX?

First, we do not try to have exact same output in general, Texinfo is
semantic, so the main objective is to have the same meaning conveyed,
not necessarily the same output.  Having similar output is better, in
general, but it is a secondary objective.

Now, there are two main reasons why the PDF generated from LaTeX would
be different for the PDF generated by Texinfo TeX:
* sometime it is not easy to find a good LaTeX code for some Texinfo
  constructs, which could mean something quite different from Texinfo
  TeX output.  We have a bunch of TODO at the beginning of
  Texinfo/Convert/LaTeX.pm
* sometime the LaTeX output is different because it is, even though
  semantically it is the same.  That is not an problem as such, and
  I see no good reason to try to do otherwise.  For example, in LaTeX,
  chapter level commands generate bigger fonts and much more vertical
  whitespace than in Texinfo TeX, but there is no specific reason to
  consider that one or the other is a better output.

Also, your question is not very helpful, do you have specific issues you
would like to report?

-- 
Pat

Reply via email to