Skip to content

Commit

Permalink
Started working on verbatim line wrap bug
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed May 6, 2024
1 parent 716754e commit 9b0766e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions extra/latex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ echo $DIR
for file in *_in.tex; do
f=$(basename $file _in.tex)
echo $f
latexmk -pdf ${f}_in.tex
latexmk -pdf ${f}_out.tex
pdftotext ${f}_in.pdf
pdftotext ${f}_out.pdf
latexmk -pdf ${f}_in.tex >/dev/null 2>&1
latexmk -pdf ${f}_out.tex >/dev/null 2>&1
pdftotext ${f}_in.pdf >/dev/null 2>&1
pdftotext ${f}_out.pdf >/dev/null 2>&1
diff -u ${f}_in.txt ${f}_out.txt | diff-so-fancy
done
2 changes: 1 addition & 1 deletion notes.org
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
** Find todos
** Better file backup
* Bugs
** Do not wrap lines in verbatim environment
** Better errors including line numbers in source file
** Handle list items and comments properly
** Do not wrap lines in verbatim environment
** Handle errors due to unwrappable lines
2 changes: 1 addition & 1 deletion tests/verbatim_in.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

\begin{verbatim}
TODO
code code code code code code code code code code code code code code code code code code
\end{verbatim}

Expand Down
3 changes: 2 additions & 1 deletion tests/verbatim_out.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

\begin{verbatim}
TODO
code code code code code code code code code code code code code code code
code code code
\end{verbatim}

Expand Down

0 comments on commit 9b0766e

Please sign in to comment.