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 extension into the "paragraph" nodes,


hope someone more competent than me can intervene here,

Best

Jean-François


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 cannot migrate these documents because I didn't yet manage to implement this 
style of continuous paragraph numbering.
This style is used by other author as well. Here is an example:

http://www.vatican.va/content/francesco/en/encyclicals/documents/papa-francesco_20201003_enciclica-fratelli-tutti.html

How would I do this in Sphinx?
I definitively do not want to number the paragraphs manually.
The only idea I had so far is to define a directive and a role like this:

.. step:: x
   :value: 1
   :style: ({})

Title
=====

:step:`x` first paragraph blabla

Section heading
---------------

:step:`x` second paragraph blabla


Does anybody do something similar? I didn't yet implement my idea because I'd 
prefer to join some existing effort rather than reinventing the wheel.

Luc

--
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] 
<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/c18622fa-ce62-3a2f-e8de-4f6a7820cdf6%40gmail.com
 
<https://groups.google.com/d/msgid/sphinx-users/c18622fa-ce62-3a2f-e8de-4f6a7820cdf6%40gmail.com?utm_medium=email&utm_source=footer>.


--
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/s1dc5d%242oq%241%40ciao.gmane.io.

Reply via email to