File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export const handler = async function (
130130 const filenamePDF = `${ eachRequestData . fileName } .pdf` ;
131131 const localPathPDF = `/tmp/${ filenamePDF } ` ;
132132 const generatePDFResult = await generateFile (
133- [ "--pdf-engine=pdflatex " , `--template=./template.latex` ] ,
133+ [ "--pdf-engine=xelatex " , `--template=./template.latex` ] ,
134134 localPathPDF ,
135135 markdown
136136 ) ;
@@ -145,7 +145,6 @@ export const handler = async function (
145145 case "TEX" :
146146 const filenameTEX = `${ eachRequestData . fileName } .tex` ;
147147 const localPathTEX = `/tmp/${ filenameTEX } ` ;
148-
149148 await generateFile (
150149 [ `--template=./template.latex` ] ,
151150 localPathTEX ,
Original file line number Diff line number Diff line change @@ -212,7 +212,9 @@ $endif$
212212\renewcommand{\rule}[2]{
213213\OldRule{\linewidth}{#2}}% Emile Touber's horizontal rule
214214
215+ \usepackage{xcolor}
215216\newcommand{\lambdalabel}[1]{}
217+ \newcommand{\lambdastep}{\\\textcolor[rgb]{0.9, 0.9, 0.9}{\rule{\linewidth}{0.5mm}}\\}
216218
217219% Conditional inclusion of pifont package
218220\IfFileExists{pifont.sty}{%
You can’t perform that action at this time.
0 commit comments