Jean Francois,

i would like to thank you for the time and effort in my problem.
Indeed using a later version of Sphinx solved the problem.

But I think I need to explain how to install it in Ubuntu cause that was
probably the initial problem.
I am using Ubuntu 19.10 which has Sphinx 1.8.5 in its repositories.
I am not aware of any other way to install the latest (2.2.1) version of
Sphinx, other than the python tool named pip (as stated in Sphinx
documentation for installation)
One problem i faced with it, was that i had to install *pip3 *(note the 3
at the end) through the Ubuntu repo.
Afterwards, installing Sphinx was pretty straightforward. However, it is
installed in /home and PATH is not updated.
So in my project anything like 'make latexpdf' would use the Ubuntu version
of Sphinx, hence 1.8.5 .
I uninstalled the ubuntu version but still PATH was missing the sphinx path
(the one under /home)
After updating the PATH environmental variable with appropriate path, then
i was able to build latex and produce pdf.
Correctly!  (as far as i have seen till now)
So once again, thanks Jean-Francois!

Nikos

On Thu, Nov 21, 2019 at 8:21 PM jfbu <[email protected]> wrote:

> Hi all,
>
> Nikos sent files to me off-list.
>
> And the explanation is very simple.
>
> I had **completely** forgotten that prior to Sphinx 2.0.0,
> the LaTeX writer escaped Greek letter (without diacritics)
> to LaTeX math mark-up hence they used the math font.
>
> Hence it was simply impossible
> to have Greek as main language in a document. (although
> one could get Greek letters with diacritics look fine)
>
> I should have recognized the glyphs on Nikos pictures,
> but in addition of having nil memory, I also have blurry
> vision.
>
> Thus Nikos absolutely needs to use Sphinx from the 2.x
> series, and ideally at least Sphinx 2.2.1.
>
> In addition thanks to Nikos test Greek sample
> I realized perhaps it was better to use
>
> smartquotes = False
>
> in conf.py
>
> (see
> http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-smartquotes
> )
>
> or possibly to modify smartquotes_excludes.
>
> Perhaps Nikos will confirm or invalidate that last point. (we can
> incorporate that upstream like for Japanese)
>
> For more related info, check "Greek" inside the Sphinx CHANGES file
>
>
> http://www.sphinx-doc.org/en/master/changes.html
>
> In brief,
>
> Only way to get PDF output via LaTeX from Sphinx for
> Greek as main language is to use Sphinx 2.2.1 or later...
>
> (at least Sphinx 2.0.0 but then some extras are needed in conf.py)
>
> Sorry for latency in saying something useful...
>
> Jean-François
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sphinx-users/qr6khv%2461cu%241%40blaine.gmane.org
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAE3TAaCqqWGsPkRU3bhM1Ygqgs2m2%2Bhym4LqpgxLxcDNwirvvg%40mail.gmail.com.

Reply via email to