[tex-live] General test suite for TeX-Live
R. Padraic Springuel
rpspringuel at gmail.com
Tue Jun 21 03:42:40 CEST 2016
As an example of using imagemagik to compare pdf outputs, people might want to take a look at the gregorio-test repository on GitHub (https://github.com/gregorio-project/gregorio-test). While our infrastructure is bash based, we use imagemagik to check the output from using our package against a previously produced known good model. Furthermore, by specifying the paper size and a font which is provided locally in the test repository, we're able to do this across both Mac and Linux systems running in both the US and Europe.
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
On Jun 20, 2016, at 7:35 PM, Karl Berry <karl at freefriends.org> wrote:
>> * Convert generated file to image and run imagemagick to collect
>> * statistical data.
>
> FWIW,I have done some image comparisons over the years using imagemagick
> (there are some excellent web pages from anthony thyssen about it), and
> I am extremely skeptical that statistical image comparison will work.
>
> jw> I'd strongly suggest taking a look over l3build
>
> FWIW, I fully agree. l3build is the way!
>
> km> using ImageMagick to split a multi-page PDF into individual page images
>
> Imagemagick just delegates to gs for PDF operations, as far as I know.
> Personally, I'd just use gs directly. It could also be done with
> pdf(la)tex itself, e.g., with the pdfjam scripts for convenience.
> If it's really needed to split PDF output in the first place, which is
> certainly premature to be discussing.
>
> km> when my own tests run from a Makefile hang in TeX I have to key 'x'
>
> Aside, but FWIW, alternatives:
> tex '\nonstopmode\input ...'
> or -interaction=nonstopmode,
> or </dev/null.
>
> (I run TeX from a Makefile 99% of the time, and I never want interaction.)
>
> k
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20160620/b6f712e4/attachment-0001.html>
More information about the tex-live
mailing list