Commit 3a087152 authored by Holger Dinkel's avatar Holger Dinkel

get rid of xcolor warning in latex target

parent c6c3c2db
No preview for this file type
......@@ -35,7 +35,6 @@ the verbatim boxes; this package should be included in the TeXLive distribution.
ToDos:
^^^^^^
- get rid of ``xcolor`` error message in latexpdf
- change Fonts
- Better control of verbatim code-blocks:
......
......@@ -104,7 +104,7 @@ latex:
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
sed -i.bak 's|begin{Verbatim}\[|begin{Verbatim}\[frame=single, rulecolor=\\color{gray!20}, fontfamily=courier, |' $(BUILDDIR)/latex/*.tex
sed -i.bak -e 's/\\usepackage\[utf8\]{inputenc}/\\usepackage[utf8]{inputenc}\n\\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}/g' -e 's|begin{Verbatim}\[|begin{Verbatim}\[frame=single, rulecolor=\\color{lightgray}, fontfamily=courier, |' $(BUILDDIR)/latex/*.tex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
......
......@@ -179,7 +179,7 @@ latex_elements = {
'pointsize': '11pt',
# Additional stuff for the LaTeX preamble.
'preamble': '\\usepackage{fancyvrb} \\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}',
'preamble': ' \\usepackage{fancyvrb}',
}
# Grouping the document tree into LaTeX files. List of tuples
......
......@@ -108,7 +108,8 @@ latexpdf:
# sed -i 's/usepackage{fancyvrb}/usepackage{fancyvrb}\\renewcommand\\FancyVerbFormatLine\[1\]{\\colorbox{gray!10}{\\makebox\[.95\\linewidth\]\[l\]{#1}}}/' $(BUILDDIR)/latex/*.tex
# sed -i.bak 's|begin{Verbatim}\[|begin{Verbatim}\[frame=single, rulecolor=\\color{gray!20}, framerule=3mm, framesep=0mm, |' $(BUILDDIR)/latex/*.tex
# sed -i.bak 's|begin{Verbatim}\[|begin{Verbatim}\[frame=single, rulecolor=\\color{gray}, fillcolor=\\color{gray}, fontfamily=courier, |' $(BUILDDIR)/latex/*.tex
sed -i.bak 's|begin{Verbatim}\[|begin{Verbatim}\[frame=single, rulecolor=\\color{gray!20}, fontfamily=courier, |' $(BUILDDIR)/latex/*.tex
# sed -i.bak 's|begin{Verbatim}\[|begin{Verbatim}\[frame=single, rulecolor=\\color{gray!20}, fontfamily=courier, |' $(BUILDDIR)/latex/*.tex
sed -i.bak -e 's/\\usepackage\[utf8\]{inputenc}/\\usepackage[utf8]{inputenc}\n\\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}/g' -e 's|begin{Verbatim}\[|begin{Verbatim}\[frame=single, rulecolor=\\color{lightgray}, fontfamily=courier, |' $(BUILDDIR)/latex/*.tex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
......
......@@ -180,7 +180,7 @@ latex_elements = {
'fncychap': '\\usepackage[Glenn]{fncychap}',
# Additional stuff for the LaTeX preamble.
'preamble': '\\usepackage{fancyvrb} \\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}',
'preamble': ' \\usepackage{fancyvrb}',
}
# Grouping the document tree into LaTeX files. List of tuples
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment