Re: [PLUG] PDF/LaTeX guru here? [RESOLVED]
On Thu, 27 Jun 2019, Tomas Kuchta wrote: This makes sense - by default resize preserves aspect ratio. So, if you give new size this way (XxY), it always picks the biggest X or Y for the original aspect ratio and ignores the other one. If you want the output to be always equal to X. You should use: -resize 612x ..and do not supply Y Hope it helps, Tomas, Ah, so. I use mogrify infrequently, especially with PDF files (where I use pdftk, pdfinfo, and pdfjam). However a 10 pixel difference in width will not be noticed -- or important -- in the two figures, especially since pdflatex converts them to a different format anyway. Yes, this is helpful information. Many thanks, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PDF/LaTeX guru here? [RESOLVED]
This makes sense - by default resize preserves aspect ratio. So, if you give new size this way (XxY), it always picks the biggest X or Y for the original aspect ratio and ignores the other one. If you want the output to be always equal to X. You should use: -resize 612x ..and do not supply Y Hope it helps, Tomas On Thu, Jun 27, 2019, 08:39 Rich Shepard wrote: > On Wed, 26 Jun 2019, Tomas Kuchta wrote: > > > What was your mogrify command line when you expected 6xx, but got 5xx? > > Tomas, > > mogrify -resize 612x792 .pdf > > When I ran pdfinfo on the changed file it showed the size as 512 x 792. > > Regards, > > Rich > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PDF/LaTeX guru here? [RESOLVED]
On Wed, 26 Jun 2019, Tomas Kuchta wrote: What was your mogrify command line when you expected 6xx, but got 5xx? Tomas, mogrify -resize 612x792 .pdf When I ran pdfinfo on the changed file it showed the size as 512 x 792. Regards, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PDF/LaTeX guru here? [RESOLVED]
What was your mogrify command line when you expected 6xx, but got 5xx? On Wed, Jun 26, 2019, 13:12 Rich Shepard wrote: > On Wed, 26 Jun 2019, Rich Shepard wrote: > > > Trying to shrink large size pdf page to letter size sometimes fails, > telling > > me, "The call to 'pdflatex' resulted in an error." I use the --no-tidy > error > > to produce an log file, but it makes no sense to me. > > > The landscape oriented file is 792 x 1224 points and I want to use > pdfjam to > > fit it on a letter size page: 792 x 612. > > Found a working solution: 'mogrify -resize ...'. What's interesting is that > I specified 612 pixels on the command line but mogrify set the value at 512 > pixels. That's easy to live with. > > Rich > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] PDF/LaTeX guru here? [RESOLVED]
On Wed, 26 Jun 2019, Rich Shepard wrote: Trying to shrink large size pdf page to letter size sometimes fails, telling me, "The call to 'pdflatex' resulted in an error." I use the --no-tidy error to produce an log file, but it makes no sense to me. The landscape oriented file is 792 x 1224 points and I want to use pdfjam to fit it on a letter size page: 792 x 612. Found a working solution: 'mogrify -resize ...'. What's interesting is that I specified 612 pixels on the command line but mogrify set the value at 512 pixels. That's easy to live with. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug