[Textures] Textures 2.2.0b19 and figures in PDF

Bruno Voisin bvoisin at me.com
Tue Feb 10 04:25:23 EST 2015

> Le 10 févr. 2015 à 03:09, Gary L. Gray <euler at psu.edu> a écrit :
>> On Feb 9, 2015, at 5:30 PM, Salomon, David <david.salomon at csun.edu> wrote:
>> I attach a short test, both the TeX source and output files. The source file (in PLAIN format) uses \special{illustration filename} as part of macro \illustration, to place figures in the document. The output file (only the first page is attached) shows that the PDF figure is way outside the typeset page, while the EPS figure was placed correctly.
> I am guessing your figures will work if you crop the PDF to it’s ArtBox. I do this using Adobe Illustrator, but I am sure you can do it with ghostscript (or probably even Preview). I can do a quick test if you send me a .tex file and an offending PDF file that you include in the .tex file using Textures commands.

Same as Gary: your TeX source includes only the .tex file itself, not the figures gapless.pdf and squarescan.eps, hence we can't really test.

I've been using all released alpha and beta versions of Textures 2.2.0 (including now 2.2.0b19) and do not remember experiencing specific problems with figures. Until a few years back, EPS was my figure format of choice, included either directly in .tex documents or after conversion to PDF using either Preview, Ghostscript or the command-line tools pstopdf (built in OS X) or epstopdf (added by MacTeX).

But now transparency is becoming increasingly common (for example in Mathematica's 3D graphic output) and this isn't supported by EPS, so PDF is becoming mandatory. Unfortunately PDF is often of paper-size format (Letter or A4 say) instead of being cropped to the image content inside. I'm using Illustrator to correct this, the same way Gary does I guess (the following is for Illustrator CS 6, with approximate translations from the French):

- Open the Artboards panel, select Artboards Options:

- In the Preset Parameter menu, select Adjust to Illustration Limits:

- You're done:

You may also do this in Preview, of course, but you will have to set the cropping area manually instead of having Illustrator set it automatically for you.

>> I would rather stay with Textures as long as possible because the alternative, TeXshop, is slow and its output is only in pdf. There is no dvi or PS. For me, this is a problem, because I need to prepare the final manuscript as a pdf file in a special format for the publisher.  Also, TeXshop accepts figures in PDF only.

TeXShop does accept figures in EPS (and JPEG, and PNG). It's actually not TeXShop, but the underlying TeX Live distribution that goes with it (ie MacTeX).

There are two ways of doing this:

- Select TeX and DVI mode in the Typeset menu, this will make TeXShop use TeX + dvips, which accept EPS figures directly. But dvips on the other hand has problems with hyperlinks (it cannot cut them across lines), so it's getting increasingly phased out I think.

- In standard pdfTeX mode, if you have a reasonably recent MacTeX, EPS-to-PDF conversion is done on-the-fly automatically, so you don't have to do anything: just bring your EPS figures as they are, pdfTeX will process them transparently.

>> A general question: Does Textures 2.2.0b19 work under OS 10.9? Under OS 10.10?
> I don’t know -- I haven’t used Textures in almost 15 years. I can test it under 10.10 if you tell me where to download it.

2.2.0b19 is the version I'm using (the non-Retina blend). It was only announced on this list:


The Dropbox link is still valid, I just checked. I've no idea whether the Gordon Lee who posted this was the actual Gordon Lee, or a hacker who unlocked the program and wishes to remain anonymous.

In addition, two things are needed:

- The Inputs folder. You can set up Textures to use symlinks to the relevant parts of MacTeX, but there are files like textures.def, namely the Textures driver file for the graphics package (by Arthur Ogawa), that were only available from Blue Sky. The link at <http://www.blueskytex.com/lastpage.html> is no longer functional.

- The CM fonts. These were on the disk image for Textures 2.2.0b18, but again the link at the above page is dead.

You can get the two from (the links will expire in a month)

<http://servbox.legi.grenoble-inp.fr/file.php?h=R8186d185ba50ca5a23105fe8a780d14c> (Inputs.zip, 2.4 MB)
<http://servbox.legi.grenoble-inp.fr/file.php?h=R767e7e259dc322c813cce21b796697f0> (Textures220b.dmg, 5.9 MB)

That said, see my reservations on Textures in the next message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/textures/attachments/20150210/38b238b1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran 2015-02-10 ? 09.39.09.png
Type: image/png
Size: 537538 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/textures/attachments/20150210/38b238b1/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran 2015-02-10 ? 09.39.36.png
Type: image/png
Size: 378977 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/textures/attachments/20150210/38b238b1/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran 2015-02-10 ? 09.40.02.png
Type: image/png
Size: 93557 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/textures/attachments/20150210/38b238b1/attachment-0005.png>

More information about the Textures mailing list