From b3e6dea2fc62e98143a2bd804abf893961fa3928 Mon Sep 17 00:00:00 2001 From: Leo Meyerovich Date: Sun, 27 Oct 2024 05:58:36 -0700 Subject: [PATCH] fix(pdf): run 2x --- .readthedocs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 8893766..33fc5cc 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -40,8 +40,7 @@ build: # build pdf - sphinx-build -b latex -d doctrees docs _build/latexpdf - ls _build/latexpdf - - cd _build/latexpdf && pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex && pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex && echo ok || test -f _build/latexpdf/Graphistry.pdf && echo ok2 || { echo fail && exit 1 ; } - - cd _build/latexpdf && pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex && pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex && echo ok || test -f _build/latexpdf/Graphistry.pdf && echo ok2 || { echo fail && exit 1 ; } + - cd _build/latexpdf && (pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex || test -f _build/latexpdf/Graphistry.pdf) && (pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex || test -f _build/latexpdf/Graphistry.pdf) && echo ok || { echo fail && exit 1 ; } - mkdir -p $READTHEDOCS_OUTPUT/pdf - cp _build/latexpdf/Graphistry.pdf $READTHEDOCS_OUTPUT/pdf/Graphistry.pdf