[RFT PATCH -perfbook v3 v3 0/4] Enable parallel runs of pdflatex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Paul,

I said earlier in v2's thread:

> This patch changes both LaTeX code and Makefile.
> SyncTeX database is affected by LaTeX code change because
> it is a collection of "LaTeX code (file:line:char) <->
> coordinates in PDF".
> So we can't see if changes in Makefile affect PDF or not.
> 
> I'll split this patch into a set of "preparatory LaTeX change"
> and "Makefile update" patches.

I did break up the patch (1/4 and 2/4), but it did not work as I
had expected.
Because of the Git-commit info in the footer area, SyncTeX database
can't be identical when you move to another commit.

So, I restored the Makefile as of 2022.01.25 for reference (3/4)
and added a script to collect and compare SyncTeX databases from
reference, sequential, and parallel runs of pdflatex (4/4).

Please give it a try.

You can override defaults of TARGETS (2c 1c eb) and JOBS (4) by
saying, e.g.:

  TARGETS="2c 1c eb nq 1cnq ebnq" JOBS=8 ./utilities/parallel-latex-regress.sh

It will take quite a while for sequential runs of pdflatex with
the synctex option enabled.  So I'd suggest starting from a short
list.

In my tests so far, no mismatch was detected.

        Thanks, Akira

--
Akira Yokosawa (4):
  Replace \include{} with \input{} for parallel pdflatex runs
  Makefile: Fix issues WRT parallel runs of pdflatex
  Restore Makefile as of 2022.01.25
  Add script for parallel-pdflatex-run regression test

 Makefile                            |  12 +-
 Makefile.2022.01.25                 | 608 ++++++++++++++++++++++++++++
 appendix/appendix.tex               |   8 +-
 perfbook-lt.tex                     |   4 +-
 utilities/parallel-latex-regress.sh |  75 ++++
 5 files changed, 696 insertions(+), 11 deletions(-)
 create mode 100644 Makefile.2022.01.25
 create mode 100755 utilities/parallel-latex-regress.sh


base-commit: f24ccfbd345eab8a70d6c08e71c84f18df46a3a1
-- 
2.17.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux