Skip to content
Snippets Groups Projects
Commit 68f75ed5 authored by Tomas Lovato's avatar Tomas Lovato
Browse files

clean up latex folder from old html scripts a leftover files

parent b888a239
No related branches found
No related tags found
1 merge request!1Import manuals v4.2
academicons
amsmath
background
bookmark
caption
catchfile
draftwatermark
enumitem
etexcmds
etoc
etoolbox
everypage
fancyvrb
fncychap
fontawesome
fontspec
framed
fvextra
geometry
graphics
grep
hyperref
imakeidx
infwarerr
koma-script
kvoptions
kvsetkeys
lastpage
latex
latexmk
lineno
ltxcmds
mathtools
minted
natbib
newfloat
pgf
psnfss
subfiles
tools
upquote
xetex
xkeyval
xstring
zapfchan
#!/bin/bash
./inc/clean.sh
./inc/build.sh
mkdir -p html_htlatex
cd tex_main
htlatex NEMO_manual "NEMO_manual,2" "" "-d../html_htlatex/" "-shell-escape"
cd -
exit 0
#!/bin/bash
#./inc/clean.sh
#./inc/build.sh
sed -i -e 's#utf8#latin1#' \
-e 's#\[outputdir=../build\]{minted}#\[\]{minted}#' \
-e '/graphicspath/ s#{../#{../../#g' \
global/packages.tex
cd ./NEMO/main
sed -i -e 's#\\documentclass#%\\documentclass#' -e '/{document}/ s#^#%#' ../subfiles/*.tex
sed -i 's#\\subfile{#\\input{#' chapters.tex appendices.tex
#latex2html -noimages -local_icons -no_footnode -split 4 -link 2 -dir ../html_LaTeX2HTML $* NEMO_manual
latex2html -debug -noreuse -init_file ../../l2hconf.pm -local_icons -dir ../build/html NEMO_manual
sed -i -e 's#%\\documentclass#\\documentclass#' -e '/{document}/ s#^%##' ../subfiles/*.tex
sed -i 's#\\input{#\\subfile{#' chapters.tex appendices.tex
cd -
sed -i -e 's#latin1#utf8#' \
-e 's#\[\]{minted}#\[outputdir=../build\]{minted}#' \
-e '/graphicspath/ s#{../../#{../#g' \
global/packages.tex
exit 0
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