[sphinx-users] Re: Code blocks and latexpdf

2024-06-04 Thread jfbu
Hi Paul, Le 25/05/2024 à 16:20, Paul Smith a écrit : I recently upgraded to Sphinx v5.3.0, and it looks like something has changed in the latexpdf generation. I have an rst file with the following C code snippet: :code:`"%zu\n"` Previously, this worked fine in producing latex output.

[sphinx-users] Re: How to avoid heading's link showing "Page x" in footnote's number

2024-05-17 Thread jfbu
Le 15/05/2024 à 23:51, jfbu a écrit : I will need to wait for having some free time to understand again what all these complex LaTeX code are supposed to do; as it stands it does look something has always been wrong there... I got some time so if you have time to make the issue report

[sphinx-users] Re: How to avoid heading's link showing "Page x" in footnote's number

2024-05-15 Thread jfbu
https://github.com/sphinx-doc/sphinx/pull/10191#issuecomment-1038807448 which was in February 2022, I would have said more like 5 years ago, but I must have aged a lot since 2022 ;-) Best, Jean-François B. Best regards /Nhut On Tue, May 14, 2024 at 6:39 PM jfbu wrote: Le 14/05/2024 à 17

[sphinx-users] Re: How to avoid heading's link showing "Page x" in footnote's number

2024-05-14 Thread jfbu
Le 14/05/2024 à 17:05, Steevie a écrit : On Mon, 13 May 2024 13:57:45 -0700 (PDT), Nhut Nguyen wrote: Hi everyone, I use Sphinx to generate PDFs for my book. If a *heading* contains a *link* like this illustration and I want it to appear in the footnote, some will show "Page x," like below.

[sphinx-users] Re: Fwd: How can I create html only from the modified .rst files after changing the project directory?

2023-04-22 Thread jfbu
env.setup(self) self._fresh_env_used = False except Exception as err: logger.info(__('failed: %s'), err) env = self._create_fresh_env() return env Cheers, Wol On 22/04/2023 08:11, jfbu wrote: I have not read all the details

[sphinx-users] Re: Fwd: How can I create html only from the modified .rst files after changing the project directory?

2023-04-22 Thread jfbu
I have not read all the details, but the pickled environment contains the full path to the project. And at https://www.sphinx-doc.org/en/master/_modules/sphinx/environment.html you can find the lines def setup(self, app: Sphinx) -> None: """Set up BuildEnvironment object."""

[sphinx-users] Re: A way to remove "\spxentry" before index entries in Latex output?

2023-03-20 Thread jfbu
Le 15/03/2023 à 19:22, Nigel Barth a écrit : Hi -- Has anyone seen *"\spxentry"* appear before index entries in Latex output? Like this:          \spxentryportait orientation, 28          \spxentryPrint command, 26          \spxentryPrinter dialog, 29 If so... how did you remove that

[sphinx-users] Re: Arithmetic overflow error on building PDF

2023-02-06 Thread jfbu
Le 06/02/2023 à 15:09, jfbu a écrit : Please report the above demonstrating file and my comments to the ltjsbook.cls maintainers LuaTeX-ja is developed on <https://osdn.jp/projects/luatex-ja/wiki/FrontPage(en)>. Hi everyone, This was a challenging one but it turns out to be

[sphinx-users] Re: Arithmetic overflow error on building PDF

2023-02-06 Thread jfbu
Le 06/02/2023 à 15:09, jfbu a écrit : latex_elements = {    'preamble': r""" \makeatletter % we add a \normalsize to fix a ltjsbook + titlesec "\strutbox" problem \titleformat{\subsubsection}{\normalsize\py@HeaderFamily}%     {\py@TitleColor\thesubsubsecti

[sphinx-users] Re: Arithmetic overflow error on building PDF

2023-02-06 Thread jfbu
s workaround please try with this merged into your conf.py latex_elements = { 'preamble': r""" \makeatletter % we add a \normalsize to fix a ltjsbook + titlesec "\strutbox" problem \titleformat{\subsubsection}{\normalsize\py@HeaderFamily}%

[sphinx-users] Re: Arithmetic overflow error on building PDF

2023-02-06 Thread jfbu
Hi Le 06/02/2023 à 11:41, jfbu a écrit : Le 06/02/2023 à 06:29, atsuo ishimoto a écrit : Hello list, Currently, docs.python.org has stopped generating PDF documents in Japanese due to a failure. I am trying to restart it by changing the latex engine from platex to LuaTeX, but I need help

[sphinx-users] Re: Arithmetic overflow error on building PDF

2023-02-06 Thread jfbu
Le 06/02/2023 à 11:41, jfbu a écrit : good case ``` 11.19995pt. \strutbox ...etparameter {direction}=4 \ystrutbox   \else \tstrutbox \fi \fi l.125 \showthe\ht\strutbox ``` bad case ``` 0.0pt. \strutbox ...etparameter {direction}=4

[sphinx-users] Re: Arithmetic overflow error on building PDF

2023-02-06 Thread jfbu
Le 06/02/2023 à 06:29, atsuo ishimoto a écrit : Hello list, Currently, docs.python.org has stopped generating PDF documents in Japanese due to a failure. I am trying to restart it by changing the latex engine from platex to LuaTeX, but I need help with the following error. Building following

[sphinx-users] Re: hi all !

2021-07-13 Thread jfbu
ant in this moment, can anyone help me solve this Hi this seems to be same issue as reported by Luc earlier on this: On 13.07.21 00:40, jfbu wrote: pip install -U sphinxcontrib.serializinghtml and perhaps same with sphinxcontrib.htmlhelp as I see I updated both on June 13 Yes, this fixed my probl

[sphinx-users] Re: ANN: Sphinx-4.1.0 is out

2021-07-12 Thread jfbu
Le 12/07/2021 à 23:25, jfbu a écrit : Le 12/07/2021 à 23:20, jfbu a écrit : Le 11/07/2021 à 20:40, Luc Saffre a écrit : After upgrading, I have the following traceback and in all my doctrees, and I have no idea why. Neither "epub3" nor "RemovedInSphinx40Warning" occur in an

[sphinx-users] Re: ANN: Sphinx-4.1.0 is out

2021-07-12 Thread jfbu
Le 12/07/2021 à 23:20, jfbu a écrit : Le 11/07/2021 à 20:40, Luc Saffre a écrit : After upgrading, I have the following traceback and in all my doctrees, and I have no idea why. Neither "epub3" nor "RemovedInSphinx40Warning" occur in any of my source files. Any hints? Luc

[sphinx-users] Re: Problem with a grid table

2021-05-14 Thread jfbu
Le 14/05/2021 à 12:38, jfbu a écrit : +--++--+ | 1    | UDP    | Audio/video media

[sphinx-users] Re: Problem with a grid table

2021-05-14 Thread jfbu
Le 14/05/2021 à 11:54, Vladimír Marek a écrit : +--++--+ | 1    | UDP    | Audio/video media.    | |    to    | |

[sphinx-users] Re: Problem with a grid table

2021-05-14 Thread jfbu
Le 14/05/2021 à 11:10, Vladimír Marek a écrit : On 14. 05. 21 9:45, jfbu wrote: Le 14/05/2021 à 09:39, jfbu a écrit : Le 14/05/2021 à 09:29, Vladimír Marek a écrit : Yeah sorry, that's what I meant by the "beginning". I have there something like: .. tabularcolumn

[sphinx-users] Re: Problem with a grid table

2021-05-14 Thread jfbu
Le 14/05/2021 à 09:39, jfbu a écrit : Le 14/05/2021 à 09:29, Vladimír Marek a écrit : Yeah sorry, that's what I meant by the "beginning". I have there something like: .. tabularcolumns:: |l|L|L| +-+-++ |    1  |   2  |  3  | +-+-++ V. ah ok sorry. If a cel

[sphinx-users] Re: Problem with a grid table

2021-05-14 Thread jfbu
Le 14/05/2021 à 09:29, Vladimír Marek a écrit : Yeah sorry, that's what I meant by the "beginning". I have there something like: .. tabularcolumns:: |l|L|L| +-+-++ |    1  |   2  |  3  | +-+-++ V. ah ok sorry. If a cell in first column contains a list for example

[sphinx-users] Re: Problem with a grid table

2021-05-14 Thread jfbu
Le 14/05/2021 à 07:59, Vladimír Marek a écrit : Then I added: .. tabularcolumns:: |l|L|L| at the beginning of that table Hi, you must add the directive **before** the table, Best, Jean-François -- You received this message because you are subscribed to the Google Groups "sphinx-users" group.

[sphinx-users] Re: Fancyhdr Warning during document compilation

2021-05-12 Thread jfbu
Le 12/05/2021 à 11:56, Vladimír Marek a écrit : Hello, I'm getting following warning while compiling pdf Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is useless on input line 670. What is this about? Do I have a chance to fix this in sphinx directly? Thanks,   

[sphinx-users] Re: Numbered paragraphs

2021-02-27 Thread jfbu
Hi again, only now I realize the question was not only for pdf output via make latexpdf sorry, but as the first linked document was a PDF, I focused on that obviously you don't want to do what I suggest if also targeting other outputs then you should probably hook via a Sphinx

[sphinx-users] Re: Numbered paragraphs

2021-02-27 Thread jfbu
Hi, Le 27/02/2021 à 11:31, Luc Saffre a écrit : Hi I would like to migrate a series of documents from LibreOffice to Sphinx. Here is an example (it's in German, but watch the paragraph numbering and headings): https://saffre-rumma.net/dl/Software-Wartungsvertrag.pdf I have good and bad

[sphinx-users] Re: ANN: Sphinx-3.5.0 is out

2021-02-14 Thread jfbu
Le 14/02/2021 à 14:26, Luc Saffre a écrit : Hi, Thanks again for your continued work! I had a problem after upgrading. Probably some silly detail, but I couldn't yet find the explanation because the warning mesage doesn't really help me. So I opened an issue:

[sphinx-users] Re: latexpdf table of contents and order of text

2020-08-17 Thread jfbu
Hi, Le 15/08/2020 à 18:06, bradley...@gmail.com a écrit : When generating html files, the information in the current section comes before the information for each of its child sections; i.e., the document is designed to be read from any node down the tree. If I put my toctree commands

[sphinx-users] Re: Inviting Sphinx users to ask their questions on StackOverflow?

2020-08-17 Thread jfbu
Le 15/08/2020 à 10:40, Matthias Geier a écrit : On Sat, Aug 15, 2020 at 4:12 AM Komiya Takeshi wrote: Hi all, It seems no objections for the migration to SO. Well I wouldn't object to suggesting SO as an *additional* channel. But please don't force anyone to go there! As a trial, I'll

[sphinx-users] Re: Problem With \newcommand in latexpdf

2020-08-13 Thread jfbu
Hi, Le 12/08/2020 à 14:19, bradley...@gmail.com a écrit : The index.rst file below demonstrates that \newcommand does not work with latexpdf. Below is my conf.py file # For conf.py documentation see # http://www.sphinx-doc.org/en/master/config # project  

[sphinx-users] Re: How to get certain Unicode characters appearing in LaTeX/PDF output?

2020-03-27 Thread jfbu
Le 27/03/2020 à 16:44, 'Vinay Sajip' via sphinx-users a écrit : I have some examples in my documentation of Unicode text characters \u2603 and \U0001F602. These appear fine in the HTML documentation, but I'm having trouble getting them to appear in PDF output generated using the latexpdf

[sphinx-users] Re: One author per line in latex output?

2020-03-08 Thread jfbu
Le 08/03/2020 à 09:12, Stefano David a écrit : Hi, On Monday, 2 March 2020 16:10:56 UTC+1, Angel de Vicente wrote: Assume in conf.py  I have:    author = 'John Smith \\ Michael Jackson' As Jean-Francois already wrote, it should suffice to write author = 'John Smith \\and Michael

[sphinx-users] Re: One author per line in latex output?

2020-03-05 Thread jfbu
Hi, Maybe https://github.com/matplotlib/matplotlib/pull/15799 will help you it gives a particular meaning to LaTeX's \and (you need \\and in a Python string) to get one author per line Thanks, Jean-François Le 05/03/2020 à 14:16, Komiya Takeshi a écrit : Hi, How about using

[sphinx-users] Re: Greek language/letters in sphinx

2019-11-22 Thread jfbu
20, 2019 at 11:37 PM jfbu wrote: Le 20/11/2019 à 21:40, tzoumakersx a écrit : i have the doubt whether sphinx 2.2.1 is used during the above procedure - i AM using the correct scritpt for a quickstart but does it use the correct version of sphinx ? that i do not know If sphinx version

[sphinx-users] Re: Greek language/letters in sphinx

2019-11-21 Thread jfbu
g showing up in the headers in the newsreader (Thunderbird, as I don't use google groups web interface). However if you search on https://startpage.com/ (who uses google.com directly nowadays? damn all trackers) "jfbu latex" and scroll down the list you will quickly find some references to latex pa

[sphinx-users] Re: Greek language/letters in sphinx

2019-11-21 Thread jfbu
Hi Nikos, Hi Nikos, This is very intriguing and spectacular. No idea about the date on front page (it is not French) but apart from that all your problems could be a pure LaTeX one unrelated to Sphinx. To investigate better is it possible you make a copy of your on-going Sphinx project,

[sphinx-users] Re: Greek language/letters in sphinx

2019-11-20 Thread jfbu
Le 20/11/2019 à 21:40, tzoumakersx a écrit : i have the doubt whether sphinx 2.2.1 is used during the above procedure - i AM using the correct scritpt for a quickstart but does it use the correct version of sphinx ? that i do not know If sphinx version is correct during the build procedure, I do

[sphinx-users] Re: Greek language/letters in sphinx

2019-11-19 Thread jfbu
Le 19/11/2019 à 10:24, jfbu a écrit : Volunteers welcome ! http://www.transifex.com/sphinx-doc/sphinx-1/language/el/ needs to require login first try this https://www.transifex.com/sphinx-doc/sphinx-1/ entry point LaTeX translations of some layout elements come from polyglossia package

[sphinx-users] Re: Greek language/letters in sphinx

2019-11-19 Thread jfbu
Le 18/11/2019 à 21:22, tzoumakersx a écrit : cause according to this https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language i think greek are not supported Indeed Greek ('el') is not listed at

[sphinx-users] Re: Greek language/letters in sphinx

2019-11-19 Thread jfbu
Le 18/11/2019 à 21:22, tzoumakersx a écrit : Hi all! I am a new user in sphinx. I am about to write some documentation in the greek language (hopefully there will also be some translations but this is another thing) ... I would be grateful if somebody could offer a little help. Thanks in

[sphinx-users] Re: Help: Wrong chinese translations

2019-11-15 Thread jfbu
Le 14/11/2019 à 18:25, Komiya Takeshi a écrit : Hello sphinx-users, We just received a bug report in Chinese translations. But we can't read and re-translate it at all. It would be very helpful for us if you can re-translate the message to Chinese.

[sphinx-users] Re: Embedded tables in LaTeX/PDF

2019-11-12 Thread jfbu
Hi, Le 11/11/2019 à 15:21, Libor Jelinek a écrit : Hello! The following snippets works great for HTML builder: .. list-table:: Table containing another table     :widths: 10 5 10 50     :header-rows: 1     :stub-columns: 1     * - List table       - Header 1       - Header 2       -

[sphinx-users] Re: Color admonitions in generated PDF

2019-10-19 Thread jfbu
Le 19/10/2019 à 00:27, Jeff Larson a écrit : This is outstanding for Note admonitions. Is the same thing possible for the seealso directive? https://www.sphinx-doc.org/en/1.5/markup/para.html#directive-seealso Only now realizing I missed saying the obvious ! There is a famous LaTeX package

[sphinx-users] Re: Color admonitions in generated PDF

2019-10-19 Thread jfbu
Le 19/10/2019 à 00:27, Jeff Larson a écrit : This is outstanding for Note admonitions. Is the same thing possible for the seealso directive? https://www.sphinx-doc.org/en/1.5/markup/para.html#directive-seealso No, the styling by the LaTeX writer is minimal: def visit_seealso(self, node):

[sphinx-users] Re: Color admonitions in generated PDF

2019-10-18 Thread jfbu
Le 19/10/2019 à 00:17, jfbu a écrit : Unfortunately if you want only a border on top and bottom but not on the side, this means an environment analogous to but not the same as sphinxheavybox should be used. But this is arduous LaTeX coding. I just thought that we could simply use

[sphinx-users] Re: Color admonitions in generated PDF

2019-10-18 Thread jfbu
Le 18/10/2019 à 21:59, Jeff Larson a écrit : Is it possible to set the background color of different admonitions in the PDF generated by Sphinx 3? Using the StackOverlow answer here as a template:

[sphinx-users] Re: Formatting references in PDF

2019-10-04 Thread jfbu
Le 04/10/2019 à 19:51, Jeff Larson a écrit : Sphinx references within a PDF are formatted as italics. How can I change this to fixed width font? The word "link: in a reference such as :ref:`link` will be italicized. Inspecting the generated .tex source shows that such references are a

[sphinx-users] Re: how to render PDF over latex of a greek translation (language 'el')

2019-09-30 Thread jfbu
Le 28/09/2019 à 16:52, Pieter Claeys a écrit : That was already fine for me, I just needed some Greek translation Hi Pieter I have submitted a PR to Sphinx https://github.com/sphinx-doc/sphinx/pull/6711 With it, xelatex would have been used by default (with an added fix see discussion at

[sphinx-users] Re: how to render PDF over latex of a greek translation (language 'el')

2019-09-29 Thread jfbu
Hi Pieter Le 30/09/2019 à 00:00, jfbu a écrit : I. You have a talent for finding core LaTeX bugs. (or perhaps here a polyglossia bug). The problem arises from a bad interaction with "draft" option of \includegraphics LaTeX. Turns out the draft option triggers some typesetting in mono

[sphinx-users] Re: how to render PDF over latex of a greek translation (language 'el')

2019-09-29 Thread jfbu
Hi Pieter, Le 28/09/2019 à 16:52, Pieter Claeys a écrit : Another half a day later I now see that this was caused by a line that I added to sphinxmanual.cls (named sphinxmanual_customqaweb.cls). I add an extra image on the title page, with this line:

[sphinx-users] Re: how to render PDF over latex of a greek translation (language 'el')

2019-09-29 Thread jfbu
Le 28/09/2019 à 16:52, Pieter Claeys a écrit : *About pdflatex with greek* I then then got quite a bit further, only remaining problem was that pdflatex erorred on the copyright © and trademark ™ characters. Deleting those built the document, and indeed, as you mentioned, every roman character

[sphinx-users] Re: how to render PDF over latex of a greek translation (language 'el')

2019-09-26 Thread jfbu
Le 27/09/2019 à 00:24, jfbu a écrit : Le 26/09/2019 à 21:25, Pieter Claeys a écrit : OK, right, I've trimmed it down even further. I don't have perl installed so 'make latexpdf' isn't an option at the moment; I do two-step  'make latex' and then 'pdflatex .tex' I've got the most basic setup

[sphinx-users] Re: how to render PDF over latex of a greek translation (language 'el')

2019-09-26 Thread jfbu
Le 26/09/2019 à 21:25, Pieter Claeys a écrit : OK, right, I've trimmed it down even further. I don't have perl installed so 'make latexpdf' isn't an option at the moment; I do two-step 'make latex' and then 'pdflatex .tex' I've got the most basic setup now - see attached files - an index.rst -

[sphinx-users] Re: how to render PDF over latex of a greek translation (language 'el')

2019-09-26 Thread jfbu
Hi Le 26/09/2019 à 17:16, Pieter Claeys a écrit : > Hi, > I'm stuck on trying to generate a PDF of a greek translation (language code > 'el') > > What I'm doing: > - "make latex"  -> produce .tex  file > - then, open with TexWorks and create pdf (or use pdflate command-line) > > That doesn't

[sphinx-users] Re: sphinx + substitutions + latexpdf + large tables behaving weirdly

2019-06-12 Thread jfbu
Le 12/06/2019 à 19:14, KDMortimer a écrit : I'm working on a RST project using Sphinx which has a large number of tables (~70), some of which have a large number of entries, some of which have very lengthy entries, and some that use :ref: or |substitutions| for simplicity. So that others can see

[sphinx-users] Re: ==== Chapter Appendix =====

2019-06-05 Thread jfbu
Hi Geert, Le 05/06/2019 à 18:32, Geert Stappers a écrit : Hi, How to make appendix appear  as appendix? Example.rst: === Foo === Chapter content === Bar === Appendix content Both, "Foo" and "Bar", get rendered as

[sphinx-users] Re: Note prevents a section to be moved to the next page

2019-06-04 Thread jfbu
Le 04/06/2019 à 13:14, Josué Andrade Gomes a écrit : > Em terça-feira, 4 de junho de 2019 05:41:28 UTC-3, jfbu escreveu: > > Le 04/06/2019 à 02:04, Josué Andrade Gomes a écrit : > > Is this a Sphinx bug? Or a missing configuration? > > > forgot

[sphinx-users] Re: Note prevents a section to be moved to the next page

2019-06-04 Thread jfbu
Le 04/06/2019 à 02:04, Josué Andrade Gomes a écrit : Is this a Sphinx bug? Or a missing configuration? forgot to say that if you need an immediate fix you can add this to conf.py latex_elements = { 'preamble' : r''' \usepackage{etoolbox} \patchcmd{\sphinxlightbox}{\allowbreak}{}{} ''', }

[sphinx-users] Re: Note prevents a section to be moved to the next page

2019-06-04 Thread jfbu
Hi Josué, Le 04/06/2019 à 02:04, Josué Andrade Gomes a écrit : Sphinx 2.0.1, latex target If the first element in a section is a note and the section is near the end of the page the section title is not moved to the next page. See screenshots The note is the first element note-1st.png

[sphinx-users] Re: s/chapter/translated_word_for_chapter/

2019-04-23 Thread jfbu
Le 21/04/2019 à 15:18, Geert Stappers a écrit : On Sun, Apr 21, 2019 at 06:57:46AM -0500, George Feng wrote: On Sun, Apr 21, 2019 at 6:42 AM Geert Stappers wrote: Hello, Here a dutch guy. The language of my audiance and me is 'nl'. In the conf.py I do have language = 'nl' When I do

[sphinx-users] Re: Table Header in Latex Output in Sphinx 2.0

2019-04-07 Thread jfbu
Hi Sebastian where would I have found this customization option in the documentation? http://www.sphinx-doc.org/en/master/latex.html#latex-macros-and-environments but it is written for people who know LaTeX macros... (which is obviously your case ...) I did look at this page, but

[sphinx-users] Re: Table Header in Latex Output in Sphinx 2.0

2019-04-05 Thread jfbu
Hi Sebastian Le 05/04/2019 à 06:51, Sebastian Huber a écrit : > Hello Takeshi, > > thanks a lot for this information. I use now: > > \protected\def\sphinxstyletheadfamily{\py@HeaderFamily \py@TitleColor} > use \makeatletter before and \makeatother after if used in 'preamble' key (saying this

[sphinx-users] Re: "Use of \@icentercr doesn't match its definition." error building latexpdf

2019-03-07 Thread jfbu
Le 07/03/2019 à 18:03, Dave Page a écrit : Chapter 1. ! Use of \@icentercr doesn't match its definition. \def l.88 ...spxentry{Getting Started}}Getting Started} ? Hi, This is caused by usage of index role inside top level

[sphinx-users] Re: Font Awesome in the PDF build

2019-02-01 Thread jfbu
of the otf fonts for the latter Le 01/02/2019 à 19:58, jfbu a écrit : Hi Nick maybe make a feature request at their project ? https://github.com/fraoustin/sphinx_fontawesome the LaTeX fontawesome package (you gave CTAN link) is available via seems to support all three of xelatex, lualatex

[sphinx-users] Re: Font Awesome in the PDF build

2019-02-01 Thread jfbu
Hi Nick maybe make a feature request at their project ? https://github.com/fraoustin/sphinx_fontawesome the LaTeX fontawesome package (you gave CTAN link) is available via seems to support all three of xelatex, lualatex, and pdflatex as it provides conversion of the otf fonts for the latter

[sphinx-users] Re: How to collect material

2019-01-07 Thread jfbu
Hi Le 07/01/2019 à 16:40, John Smith a écrit : is the  documentation found online? http://www.sphinx-doc.org/en/1.8/ will help you Best, Jean-François On Mon, Jan 7, 2019 at 4:17 PM Komiya Takeshi mailto:i.tkom...@gmail.com>> wrote: Hi, What do you mean "collect

[sphinx-users] Re: Typesetting \LaTeX

2018-10-28 Thread jfbu
Hi, just to point out a slight amendment to Takeshi's advice in this specific case: add a backslash after the LaTeX command name (here \LaTeX). .. |latex| raw:: latex \LaTeX\ hello |latex| world or in place of \LaTeX\, use\LaTeX{} This is due to well-known to LaTeX users

[sphinx-users] Re: Downloads/Attachments for PDFs

2018-10-19 Thread jfbu
Le 19/10/2018 à 21:28, LS a écrit : I am attempting to use one source for both an html and PDF version of my document. The challenge I am having is with downloads. They are only available in the html version, but I'd like to have this also available in the PDF. I've explored using the attachfile

[sphinx-users] Re: Is it possible set French language punctuation rules?

2018-10-15 Thread jfbu
Le 15/10/2018 à 14:17, kim.wali...@gmail.com a écrit : Hi, I am using Sphinx to write French documentation for an internal project at my company. I have set: | language ='fr' | inside my conf.py but unfortunately this does not enable French language punctuation rules. According to French

[sphinx-users] Re: PDF Output from latexpdf misinterprets internal links

2018-10-05 Thread jfbu
Le 05/10/2018 à 20:46, LS a écrit : Hello, I'm using :ref: to cross-reference another location in my document. When I build to html, the cross-reference works, just fine but when I build with latexpdf, I don't get a link, just the name of the reference in the PDF. Is there a setting that is

[sphinx-users] Re: Upgrade to 1.8.0 breaks TOC in latex PDF output

2018-09-18 Thread jfbu
Le 18/09/2018 à 10:01, jfbu a écrit : Side note: last time I checked RTD did pdflatex twice makeindex pdflatex but this causes missing Index entry in TOC. no sorry I think they do pdflatex once makeindex pdflatex once which is wrong for missing Index entry as I said, but also wrong

[sphinx-users] Re: Upgrade to 1.8.0 breaks TOC in latex PDF output

2018-09-18 Thread jfbu
Le 17/09/2018 à 19:05, ChrisD a écrit : Le 17/09/2018 à 15:40, ChrisD a écrit : Le 16/09/2018 à 02:56, ChrisD a écrit : I just upgraded from version 1.7.5 to 1.8.0. When I output to latex PDF the table of contents (TOC) not longer appears. In 1.7.5 there is a TOC in the text, starting on the

[sphinx-users] Re: Upgrade to 1.8.0 breaks TOC in latex PDF output

2018-09-17 Thread jfbu
Le 17/09/2018 à 15:40, ChrisD a écrit : Le 16/09/2018 à 02:56, ChrisD a écrit : I just upgraded from version 1.7.5 to 1.8.0. When I output to latex PDF the table of contents (TOC) not longer appears. In 1.7.5 there is a TOC in the text, starting on the 2nd page of the output, right after the

[sphinx-users] Re: Upgrade to 1.8.0 breaks TOC in latex PDF output

2018-09-16 Thread jfbu
Le 16/09/2018 à 02:56, ChrisD a écrit : I just upgraded from version 1.7.5 to 1.8.0. When I output to latex PDF the table of contents (TOC) not longer appears. In 1.7.5 there is a TOC in the text, starting on the 2nd page of the output, right after the title page. This 2nd page is titled

[sphinx-users] Re: Sphinx-1.8.0b1 released.

2018-08-21 Thread jfbu
Le 21/08/2018 à 10:23, Luc Saffre a écrit : I ran the new version on all my projects without problems (except some changes in my own code, details in my blog ). Thanks for your  work on maintaining Sphinx! Luc Thanks Luc, correcting the

[sphinx-users] Re: Sphinx version support and end-of-life?

2018-06-16 Thread jfbu
Le 15/06/2018 à 19:32, Adam Nelson a écrit : I'm trying to figure out which versions of Sphinx are still receiving security patches and are therefore valid to support at my org.  Is there any information on that? I've looked at the revision history but no mention of which versions are no

[sphinx-users] Re: How to control auto resize of html pages?

2018-06-03 Thread jfbu
Le 03/06/2018 à 12:02, jfbu a écrit : Le 03/06/2018 à 09:20, Reza Roodsari a écrit : Good idea - tried it on Ubuntu-16.04 -- clean install using pip: $ pip install sphinx $ sphinx-build --version sphinx-build 1.7.5 $ pip install Markdown --upgrade $ pip install sphinxcontrib-fulltoc $ pip

[sphinx-users] Re: How to control auto resize of html pages?

2018-06-03 Thread jfbu
Le 03/06/2018 à 09:20, Reza Roodsari a écrit : Good idea - tried it on Ubuntu-16.04 -- clean install using pip: $ pip install sphinx $ sphinx-build --version sphinx-build 1.7.5 $ pip install Markdown --upgrade $ pip install sphinxcontrib-fulltoc $ pip install docutils $ pip install rst2pdf

[sphinx-users] Re: Best way to set custom titleformat, headerformat, footerformat with custom fonts and font colors

2018-05-09 Thread jfbu
ndex}% \addcontentsline{toc}{section}{\indexname}% % \pagestyle{normal}% ADDITION TO DEFAULT }% {\end{theindex}} > In any case many thanks for your quick reply and kind explanations, it is > going to direct my efforts during the next hours, you are welcome Jean-Francois > > J

[sphinx-users] Re: Best way to set custom titleformat, headerformat, footerformat with custom fonts and font colors

2018-05-09 Thread jfbu
Hi Le 09/05/2018 à 11:13, Julian Meier a écrit : Dear Sphinx Team, Thank you for providing sphinx. I am tring to get our latex class and sphinx conf work with sphinx 1.7 instead of sphinx 1.5. I am almost there, but the latex_elements = {... 'preamble' gets larger and larger because I am not

[sphinx-users] Re: Change default footnote alignment in PDF chapters?

2018-04-18 Thread jfbu
Le 18/04/2018 à 18:47, Erin Kelly a écrit : I am using footnotes to reference URLs in PDF documents for the first time, so I end up with many footnotes on some pages. On the last page of the chapter, the footnotes align nicely at the bottom of the page, before the footer. However, on other

[sphinx-users] Re: Veelo chapter style

2018-04-17 Thread jfbu
Le 16/04/2018 à 11:36, Ricardo Pérez López a écrit : > How can I get the "veelo" chapter style like I can found in "memoir" document > class? Hi, do you mean, you want to achieve similar style without using memoir as document class ? or you use memoir class? in the latter case I (not tested)

[sphinx-users] Re: Why do my PDF footnotes start with number 43?

2018-03-23 Thread jfbu
Hi, Le 22/03/2018 à 23:13, 'Erin Kelly' via sphinx-users a écrit : I was able to recreate this in an example project. It seems that all I need is to have a rst_prolog substitution with a URL, and set the LaTeX output to format those as footnotes. This example shows a numbering gap before the

[sphinx-users] Re: Changes to autodoc in Sphinx 1.7

2018-03-22 Thread jfbu
Le 22/03/2018 à 14:07, jfbu a écrit : Trying $ git diff v1.6.6..v1.7.1 -- sphinx/autodoc/* nothing is reported... sorry... gross oversight of mine of course that should have been sphinx/ext/autodoc* and anyhow there was some refatoring of autodoc.py as a module from sphinx/ext/autodoc.py

[sphinx-users] Re: Changes to autodoc in Sphinx 1.7

2018-03-22 Thread jfbu
Le 22/03/2018 à 14:04, jfbu a écrit : Le 22/03/2018 à 08:39, Jørgen Cederberg a écrit : Hi I maintain sphinxcontrib-matlabdomain <https://github.com/sphinx-contrib/matlabdomain>, which provides autodoc-capabilities for the MATLAB language. With the Sphinx 1.7 update, I had a regr

[sphinx-users] Re: Changes to autodoc in Sphinx 1.7

2018-03-22 Thread jfbu
Le 22/03/2018 à 08:39, Jørgen Cederberg a écrit : Hi I maintain sphinxcontrib-matlabdomain , which provides autodoc-capabilities for the MATLAB language. With the Sphinx 1.7 update, I had a regression, that the *:members:* options does not

[sphinx-users] Re: Why do my PDF footnotes start with number 43?

2018-03-22 Thread jfbu
Le 22/03/2018 à 11:27, jfbu a écrit : Le 22/03/2018 à 10:43, jfbu a écrit : Le 28/02/2018 à 18:33, 'Erin Kelly' via sphinx-users a écrit : I have a document with intersphinx cross-references. I just switched from inline URL references to footnote URL references for PDF. Everything works fine

[sphinx-users] Re: Why do my PDF footnotes start with number 43?

2018-03-22 Thread jfbu
Le 22/03/2018 à 10:43, jfbu a écrit : Le 28/02/2018 à 18:33, 'Erin Kelly' via sphinx-users a écrit : I have a document with intersphinx cross-references. I just switched from inline URL references to footnote URL references for PDF. Everything works fine, but for some reason the first

[sphinx-users] Re: Why do my PDF footnotes start with number 43?

2018-03-22 Thread jfbu
Le 28/02/2018 à 18:33, 'Erin Kelly' via sphinx-users a écrit : I have a document with intersphinx cross-references. I just switched from inline URL references to footnote URL references for PDF. Everything works fine, but for some reason the first footnote is number 43! The numbering

[sphinx-users] Re: How to fix sphinx extension when two sphinx builders generates different doctrees?

2018-03-18 Thread jfbu
Le 18/03/2018 à 12:21, Martin Bukatovic a écrit : Hello sphinx users list, in my pylatest sphinx extension[1], I define custom rst directive `test_action` and custom sphinx builder `xmlexport` so that when I build a sphinx project with default sphinx html builder (via `make html`), the

[sphinx-users] Re: German Output With lualatex

2018-03-05 Thread jfbu
manually. Hi, I have done it now on 1.7 branch for this particular string and German language. Thanks for reminding me of procedure! Jean-François Thanks, 2018-03-03 18:59 GMT+09:00 jfbu <j...@free.fr>: Le 02/03/2018 à 20:30, jfbu a écrit : 59,60c59,60 < \addto\captio

[sphinx-users] Re: German Output With lualatex

2018-03-03 Thread jfbu
Le 02/03/2018 à 20:30, jfbu a écrit : 59,60c59,60 < \addto\captionsngerman{\renewcommand{\literalblockcontinuedname}{Fortsetzung der vorherigen Seite}} < \addto\captionsngerman{\renewcommand{\literalblockcontinuesname}{continues on next page}} --- \addto\captionsgerman{\renewc

[sphinx-users] Re: German Output With lualatex

2018-03-02 Thread jfbu
Hi, with lualatex Sphinx uses LaTeX package polyglossia not LaTeX package babel (however if you override the 'babel' key of latex_elements you can force use of babel in place of polyglossia; I do this for French) Turns out polyglossia indeed does not recognize "ngerman" (which is regrettable in

[sphinx-users] Re: How to align LaTeX PDF tables left again

2018-01-11 Thread jfbu
Le 10/01/2018 à 20:59, 'Erin Kelly' via sphinx-users a écrit : > Apparently in 1.6.1 the default table alignment changed from left to center. > I want all my tables to align left. > > The change documentation says I can use Docutils :align: option but that only > works if I'm using a ..

[sphinx-users] Re: Workaround to remove "Release" from PDF title page is no longer working

2018-01-10 Thread jfbu
Le 08/01/2018 à 20:20, 'Erin Kelly' via sphinx-users a écrit : I'm getting a blank Release line on my PDF title page. That is, after my image and the document name, there's a smaller italic line that says */Release/* but since I'm not using a release number there's nothing else there. I don't

[sphinx-users] Re: Selectively "disabling" smart quotes?

2017-12-01 Thread jfbu
Le 30/11/2017 à 19:06, Matthew Woehlke a écrit : > Is there a way to selectively disable smart quotes? What I mean is, I > don't want to turn off smart quotes in general, but in certain cases I > would like to have a plain old ASCII single- or double-quote. (Using a > substitution to get these is

[sphinx-users] Re: Does Latex beamer work with Sphinx?

2017-07-26 Thread jfbu
Le 25/07/2017 à 22:42, Christoph Buchner a écrit : documentclass argument from 'manual' to 'beamer'. ... Package titlesec Warning: Non standard sectioning command detected (titlesec)Using default spacing and no format. ! Undefined control sequence. \paragraph

[sphinx-users] Re: cross referencing autonumbered list items

2017-06-20 Thread jfbu
Trying again with the hope the spaces get not gobbled by mailer #. An Item #. A Subitem #. A subsub item #. Another subsub item #. Another sub item Hope it makes it correctly to receiving end ;-) Jean-François -- You received this message because you are subscribed to

[sphinx-users] Re: Section numbering not shown in pdf file

2017-06-01 Thread jfbu
Le 01/06/2017 à 14:11, 'Benedikt H' via sphinx-users a écrit : > The titlesec version, I use, is indeed v2.10.1. Is there something wrong with > this one? Hi Benedikt, yes indeed its has precisely this bug that section numbers disappear the buggy version was available only two weeks, but that

Re: [sphinx-users] Section numbering not shown in pdf file

2017-05-30 Thread jfbu
Hi go to build/latex repertory and check the file with ``.log`` extension, search for string titlesec within it you should find its version report if version string of titlesec is 2.10.1 also what is your Sphinx version ? since 1.5.2 it prints a warning if it detects buggy version of latex

[sphinx-users] Re: Section numbering not shown in pdf file

2017-05-30 Thread jfbu
Hi Benedikt go to build/latex repertory and check the file with ``.log`` extension, search for string titlesec within it you should find its version report if version string of titlesec is 2.10.1 also what is your Sphinx version ? since 1.5.2 it prints a warning if it detects buggy version

  1   2   >