documents

This commit is contained in:
Marc Beninca 2018-05-11 20:05:27 +02:00
parent f3f499c439
commit b55ea0bc00
22 changed files with 2 additions and 9 deletions

View file

@ -0,0 +1,13 @@
Documents
=========
.. toctree::
:maxdepth: 2
/pandoc/index
/sphinx/index
/markdown/index
/restructuredtext/index
/libreoffice/index
/pdftk/index
/texlive/index

View file

@ -0,0 +1,11 @@
*******
Convert
*******
.. code::
libreoffice \
--headless \
--convert-to "png" \
--outdir "chemin/fichier.png" \
input_file.o??

View file

@ -0,0 +1,7 @@
###########
LibreOffice
###########
.. toctree::
convert

View file

@ -0,0 +1,7 @@
########
MarkDown
########
.. toctree::
syntax

View file

@ -0,0 +1,52 @@
******
Syntax
******
Titles
======
::
# title 1
## title 2
### title 3
#### title 4
##### title 5
###### title 6
Lists
=====
::
* element 1
* element 2
* element 2.1
* element 2.2
* element 2.2.1
* element 2.2.2
Blocks
======
::
```language
multi
line
message
```
Links
=====
::
[link_caption](link_address)
Images
======
::
![alternative_text](image_address)

View file

@ -0,0 +1,42 @@
*****
Build
*****
Formats
=======
Documents
---------
* html5
* odt
* docx
* latex (--latex-engine="xelatex")
Presentations
-------------
* beamer
* dzslides
* revealjs
* s5
* slideous
* slidy
Generation
==========
.. code:: shell
pandoc \
--data-dir="directory/path" \
--from="markdown" \
"input_file" \
--to="html5" \
--output="output_file" \
--standalone \
--number-sections \
--toc \
--toc-depth=3 \
--template="template_name" \
--css="style/relative/path"

View file

@ -0,0 +1,7 @@
######
PanDoc
######
.. toctree::
build

View file

@ -0,0 +1,3 @@
#####
PDFtk
#####

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View file

@ -0,0 +1,8 @@
################
ReStructuredText
################
.. toctree::
tree
syntax

View file

@ -0,0 +1,78 @@
******
Syntax
******
Sections
========
.. code:: restructuredtext
####
Part
####
*******
Chapter
*******
Section
=======
SubSection
----------
SubSubSection
^^^^^^^^^^^^^
Paragraph
"""""""""
ToSort
======
.. code:: restructuredtext
.. raw:: html
<div></div>
* *1 star*
* **2 stars**
* ``2 backquotes``
After this comma,
| output new line
.. comment
..
multiline
comment
.. image:: image.png
Indent 0
Indent 1 which
continues here.
Indent 2
* item
* subitem
* item
#. first
#. second
----
.. epigraph::
No matter where you go, there you are.
-- Buckaroo Banzai

View file

@ -0,0 +1,7 @@
****
Tree
****
.. code::
index

View file

@ -0,0 +1,3 @@
*******************
Build documentation
*******************

View file

@ -0,0 +1,13 @@
***********************
Configure documentation
***********************
MarkDown
========
.. code:: python3
source_parsers = {
'.md': 'recommonmark.parser.CommonMarkParser',
}
source_suffix = ['.rst', '.md']

View file

@ -0,0 +1,3 @@
********************
Create documentation
********************

View file

@ -0,0 +1,10 @@
######
Sphinx
######
.. toctree::
install
configure
create
build

View file

@ -0,0 +1,9 @@
*******
Install
*******
.. code:: shell
python3-sphinx
python3-sphinx-rtd-theme
python3-recommonmark

View file

@ -0,0 +1,7 @@
#######
TexLive
#######
.. toctree::
install

View file

@ -0,0 +1,9 @@
*******
Install
*******
.. code:: shell
apt-get install \
texlive-xetex \
texlive-lang-french \