Table of contents for fic exports, save elfeed db, automatically track dwpost

This commit is contained in:
trémeur 2023-02-04 14:54:41 +00:00
parent a636884879
commit 5842a69d22
6 changed files with 43 additions and 15 deletions
custom

View file

@ -187,7 +187,10 @@
(progn
(goto-char (point-min))
(while (re-search-forward "\\\\begin{document}" nil t)
(replace-match "\\begin{document}\n\\pagestyle{multititlechapters}" nil t)))
(replace-match "\\begin{document}\n\\pagestyle{multititlechapters}" nil t))
(goto-char (point-min))
(while (re-search-forward "\\\\end{titlingpage}" nil t)
(replace-match "\\end{titlingpage}\n\\tableofcontents\*" nil t)))
(progn
(goto-char (point-min))
(while (re-search-forward "\\\\begin{document}" nil t)
@ -196,7 +199,7 @@
(progn
(goto-char (point-min))
(while (re-search-forward "\\\\begin{document}" nil t)
(replace-match "\\begin{document}\n\\pagestyle{multinotitlechapters}" nil t)))
(replace-match "\\begin{document}\n\\pagestyle{multinotitlechapters}\n\\tableofcontents\*" nil t)))
(progn
(goto-char (point-min))
(while (re-search-forward "\\\\begin{document}" nil t)
@ -216,7 +219,7 @@
(format "xelatex -interaction=batchmode %s"
(shell-quote-argument (buffer-file-name))))
(shell-command
(format "xelatex -interaction=batchmode -halt-on-error %s"
(format "xelatex -interaction=batchmode %s"
(shell-quote-argument (buffer-file-name))))
(kill-current-buffer))
(delete-file "FFXYevon.ttf")