Correction des erreurs empêchant la production de la documentation spécifique aux styles
This commit is contained in:
parent
1122863c65
commit
3af7a5c766
|
@ -6,6 +6,7 @@ date: 22/01/2021
|
|||
lang: fr-FR
|
||||
toc: true
|
||||
lof: true
|
||||
documentclass: scrbook
|
||||
top-level-division: part
|
||||
figureTemplate: '$$t$$'
|
||||
tableTemplate: '$$t$$'
|
||||
|
|
|
@ -4,9 +4,11 @@ subtitle: "Revue des Études byzantines"
|
|||
date: 21/02/2021
|
||||
author: Bastien Dumont
|
||||
lang: fr-FR
|
||||
documentclass: scrartcl
|
||||
top-level-division: section
|
||||
---
|
||||
|
||||
::: {#license}
|
||||
<!--
|
||||
Copyright © 2021 Bastien Dumont.
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
|
@ -15,7 +17,7 @@ or any later version published by the Free Software Foundation;
|
|||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
||||
A copy of the license is included in the section entitled "GNU
|
||||
Free Documentation License".
|
||||
:::
|
||||
-->
|
||||
|
||||
|
||||
Malgré tous mes efforts, certaines limitations du langage CSL font
|
||||
|
@ -24,7 +26,7 @@ pas pu être respectées. Les sections suivantes indiquent les tâches
|
|||
restantes. Si vous ne souhaitez pas utiliser les macros _LibreOffice_,
|
||||
vous devrez appliquer manuellement les corrections qu'elles apportent
|
||||
en plus de celles listées dans la section
|
||||
[_Tâches à effectuer à la main_](#tâches-a-effectuer-à-la-main).
|
||||
[_Tâches à effectuer à la main_](#tâches-à-effectuer-à-la-main).
|
||||
|
||||
# Corrections appliquées par les macros _LibreOffice_
|
||||
|
|
@ -7,7 +7,8 @@ OUTPUT_FILE_SUFFIX = _CSL-Tests.html
|
|||
CSL_FILE_SUFFIX = .csl
|
||||
ifdef JOURNAL
|
||||
THIS_STYLE_DIR = $(STYLESHEETS_DIR)/$(JOURNAL)
|
||||
DOC_FILE = $(STYLESHEETS_DIR)/$(JOURNAL)/GUIDE_$(JOURNAL)
|
||||
DOC_DIR = $(THIS_STYLE_DIR)
|
||||
DOC_FILE = $(DOC_DIR)/GUIDE_$(JOURNAL)
|
||||
VALIDATION_PROV_FILE = $(PROV_PREFIX)$(JOURNAL)$(VALIDATION_FILE_SUFFIX)
|
||||
CSL_FILE = $(THIS_STYLE_DIR)/$(JOURNAL)$(CSL_FILE_SUFFIX)
|
||||
VALIDATION_FILE = $(THIS_STYLE_DIR)/$(JOURNAL)$(VALIDATION_FILE_SUFFIX)
|
||||
|
@ -19,9 +20,6 @@ else
|
|||
DOC_DIR = ../Documentation
|
||||
DOC_FILE = $(DOC_DIR)/GUIDE_CSL-Clio
|
||||
endif
|
||||
FILTERS_LIST_LAST != ./get-filters.sh $(FILTERS_FILE_LAST)
|
||||
DOC_DIR = ../Documentation
|
||||
DOC_FILE = $(DOC_DIR)/GUIDE_CSL-Clio
|
||||
PANDOC_OPTIONS = -s \
|
||||
$(FILTERS_LIST_FIRST) \
|
||||
-C \
|
||||
|
@ -34,7 +32,6 @@ HTML-VIEWER = palemoon
|
|||
COMMON_DOC_OPTIONS=-s \
|
||||
--filter pandoc-crossref \
|
||||
-L license-dans-metadonnees.lua \
|
||||
--top-level-division=chapter \
|
||||
$(DOC_FILE).md \
|
||||
--resource-path=.:$(DOC_DIR)
|
||||
|
||||
|
@ -83,7 +80,7 @@ clean:
|
|||
doc: docA4 docDiapo
|
||||
|
||||
docA4: $(DOC_FILE).md TEMPLATE_Guide-CSL-Clio.latex
|
||||
pandoc $(COMMON_DOC_OPTIONS) -o $(DOC_FILE)_A4.pdf --pdf-engine=lualatex --top-level-division=chapter --template=TEMPLATE_Guide-CSL-Clio.latex
|
||||
pandoc $(COMMON_DOC_OPTIONS) -o $(DOC_FILE)_A4.pdf --pdf-engine=lualatex --template=TEMPLATE_Guide-CSL-Clio.latex
|
||||
|
||||
docDiapo: $(DOC_FILE).md TEMPLATE_Guide-CSL-Clio.context
|
||||
pandoc $(COMMON_DOC_OPTIONS) -o $(DOC_FILE)_Diapo.tex -t context --template=TEMPLATE_Guide-CSL-Clio.context && \
|
||||
|
|
|
@ -100,11 +100,13 @@ $endif$
|
|||
\pagebreak
|
||||
$endif$
|
||||
|
||||
$if(license)$
|
||||
\startlicensepagemakeup
|
||||
$-- requiert le filtre "license-dans-metadonnees.lua"
|
||||
\inframed[frame=off, width=0.66\textwidth, align=normal]{$license$}
|
||||
\stoplicensepagemakeup
|
||||
\pagebreak
|
||||
$endif$
|
||||
|
||||
\setupcombinedlist[content, listoftables, listoffigures][criterium=all,
|
||||
list={chapter,section,subsection},
|
||||
|
@ -127,6 +129,8 @@ $endif$
|
|||
|
||||
$body$
|
||||
|
||||
$if(license)$
|
||||
\input{../Utilitaires/fdl-1.3_ConTeXt}
|
||||
$endif$
|
||||
|
||||
\stoptext
|
|
@ -1,4 +1,4 @@
|
|||
\documentclass[listof=leveldown, twoside=off]{scrbook}
|
||||
\documentclass[listof=leveldown, twoside=off]{$documentclass$}
|
||||
\usepackage{microtype}
|
||||
|
||||
\usepackage{graphicx}
|
||||
|
@ -102,6 +102,7 @@ $abstract$
|
|||
$endif$
|
||||
$endif$
|
||||
|
||||
$if(license)$
|
||||
\pagebreak
|
||||
\thispagestyle{empty}
|
||||
\vspace*{\fill}
|
||||
|
@ -109,6 +110,7 @@ $endif$
|
|||
$-- requiert le filtre "license-dans-metadonnees.lua"
|
||||
$license$
|
||||
}
|
||||
$endif$
|
||||
|
||||
\pagebreak
|
||||
|
||||
|
@ -129,6 +131,8 @@ $for(include-after)$
|
|||
$include-after$
|
||||
$endfor$
|
||||
|
||||
$if(license)$
|
||||
\include{fdl-1.3.tex}
|
||||
$endif$
|
||||
|
||||
\end{document}
|
||||
|
|
Loading…
Reference in New Issue
Block a user