Skip to content
Snippets Groups Projects
Commit abaf6009 authored by David Dorchies's avatar David Dorchies
Browse files

clean(docs): warning in Latex

LaTeX Warning: `!h' float specifier changed to `!ht'

Refs #656
parent e2aabfd3
No related branches found
No related tags found
2 merge requests!252release: version 4.18.0,!251Resolve "Documentation PDF: erreurs à la compilation"
Pipeline #163889 passed
......@@ -141,7 +141,7 @@ def convertMdToTex(filePath):
# adjust images max width/height
l = l.replace('\\includegraphics', '\\includegraphics[max size={\\textwidth}{0.9\\textheight}]')
# force figures placement
l = l.replace('\\begin{figure}', '\\begin{figure}[h!]')
l = l.replace('\\begin{figure}', '\\begin{figure}[ht!]')
# make som subsubsections invisible (for CHANGELOG)
l = re.sub(r'(\\subsubsection)({[0-9]+.[0-9]+.[0-9]+)', r'\1*\2', l)
ls[i] = l
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment