[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160819102150.17bcd5a6@vento.lan>
Date: Fri, 19 Aug 2016 10:21:50 -0300
From: Mauro Carvalho Chehab <mchehab@....samsung.com>
To: Jani Nikula <jani.nikula@...el.com>
Cc: Jonathan Corbet <corbet@....net>,
"Luis R. Rodriguez" <mcgrof@...nel.org>, linux-doc@...r.kernel.org,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Markus Heiser <markus.heiser@...marit.de>
Subject: Re: [RFC PATCH 0/3] Documentation: switch to pdflatex and fix pdf
build
Em Fri, 19 Aug 2016 15:54:37 +0300
Jani Nikula <jani.nikula@...el.com> escreveu:
> On Tue, 16 Aug 2016, Mauro Carvalho Chehab <mchehab@....samsung.com> wrote:
> > 5) At media docs, some tables will only print ok in landscape.
> >
> > After making the media books build, I think that the best way is to
> > use xelatex instead of pdfdocs. Visually, xelatex output is, IMHO,
> > nice - and it has colors :-)
> >
> > It seems that there's yet another option: lualatex. I didn't try to
> > build with it. So, not sure if its output is better or not, nor if
> > some extra config for it is needed at conf.py.
> >
> > I sent a patch series addressing most of the issues above.
>
> I didn't see the series, but I'm surprised we now have HAVE_PDFLATEX
> that actually checks for 'xelatex'. The commit subject doing the change
> doesn't even mention xelatex, it's just about UTF-8:
>
> commit a682ec4ba10c88231cdbb8bb9823b2cc749d6364
> Author: Mauro Carvalho Chehab <mchehab@...pensource.com>
> Date: Tue Aug 16 13:25:39 2016 -0300
>
> docs-rst: Don't mangle with UTF-8 chars on LaTeX/PDF output
>
> </bikeshedding after the fact>
It was mentioned at patch 0/9:
https://www.mail-archive.com/linux-media@vger.kernel.org/msg101408.html
I opted to not change the HAVE_PDFLATEX, as the macro that sets the
latex variant on Sphinx latex Makefile is called "PDFLATEX". Also,
we might change it in the future to use some other tool or even add
some logic to allow supporting multiple tools, like we have with
DocBook.
The main goal of XeTeX is to add unicode font support to LaTex,
according to:
https://en.wikipedia.org/wiki/XeTeX
We need that, as media uses a lot of math Unicode symbols inside
the documentation.
--
Thanks,
Mauro
Powered by blists - more mailing lists