documentation et découverte babel french
This commit is contained in:
parent
85dba3b1d0
commit
57b1a5e293
13
README.md
Normal file
13
README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Pandoc Champs-Libres
|
||||||
|
|
||||||
|
Filtres et recommandations pour CL
|
||||||
|
|
||||||
|
## Metadatas
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Inclut babel-french
|
||||||
|
# le paquet ajoute des espaces insécables, les filtres lua "format semi-column",
|
||||||
|
# "format-column" et "
|
||||||
|
# voir: http://lesfichesabebert.fr/latex/Fran%C3%A7ais.html
|
||||||
|
babel-main: french
|
||||||
|
```
|
@ -1,4 +1,5 @@
|
|||||||
-- Add a latex insecable space before ":" for words ending with ":"
|
-- Add a latex insecable space before ":" for words ending with ":"
|
||||||
|
-- **not necessary** if french babel is loaded
|
||||||
function Str(elem)
|
function Str(elem)
|
||||||
if elem.text:sub(-1) == ":" then
|
if elem.text:sub(-1) == ":" then
|
||||||
return pandoc.RawInline("latex", elem.text:gsub(":", "~:"))
|
return pandoc.RawInline("latex", elem.text:gsub(":", "~:"))
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
-- Add a latex insecable space before ";" for words ending with ";"
|
-- Add a latex insecable space before ";" for words ending with ";"
|
||||||
|
-- **not necessary** if french babel is loaded
|
||||||
function Str(elem)
|
function Str(elem)
|
||||||
if elem.text:sub(-1) == ";" then
|
if elem.text:sub(-1) == ";" then
|
||||||
return pandoc.RawInline("latex", elem.text:gsub(";", "~;"))
|
return pandoc.RawInline("latex", elem.text:gsub(";", "~;"))
|
||||||
|
Loading…
Reference in New Issue
Block a user