From MacOSX-TeX@email.esm.psu.edu Tue Jun 21 19:57:33 2005
Received: from engremail2.engr.psu.edu ([130.203.201.116]) by ENGRMAIL1.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Tue, 21 Jun 2005 19:57:33 -0400
Received: from email.esm.psu.edu ([130.203.247.204]) by engremail2.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Tue, 21 Jun 2005 19:57:32 -0400
Date: Tue, 21 Jun 2005 20:00:13 -0400
Message-ID: <28813.63881@email.esm.psu.edu>
Subject: MacOSX-TeX Digest #1410 - 06/21/05
From: "TeX on Mac OS X Mailing List" 
To: "TeX on Mac OS X Mailing List" 
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
Sender: 
Precedence: List
List-Software: LetterRip Pro 4.05 (0531) by LetterRip Software, LLC.
List-Subscribe: 
List-Digest: 
List-Unsubscribe: 
X-LR-SENT-TO: mail.engr.psu.edu
Return-Path: MacOSX-TeX@email.esm.psu.edu
X-OriginalArrivalTime: 21 Jun 2005 23:57:32.0598 (UTC) FILETIME=[FD53BD60:01C576BC]

MacOSX-TeX Digest #1410 - Tuesday, June 21, 2005

  Re: [OS X TeX] Glosstex & nomencl
          by "Martin Steer" 

  Re: [OS X TeX] \cite woes
          by "Jon Guyer" 

  Re: [OS X TeX] \cite woes
          by "Bruno Voisin" 

  Ghostscript problems after Tiger upgrade
          by "Jonas Wellendorf" 

  Re: [OS X TeX] Ghostscript problems after Tiger upgrade
          by "Martin Costabel" 

  Re: [OS X TeX] Ghostscript problems after Tiger upgrade
          by "Jonas Wellendorf" 

  Re: [OS X TeX] Ghostscript problems after Tiger upgrade
          by "Jonas Wellendorf" 

  Auto bounding box for LaTeX document ?
          by "Pierre Chatelier" 

  Re: [OS X TeX] Auto bounding box for LaTeX document ?
          by "Herbert Schulz" 

  Re: [OS X TeX] Auto bounding box for LaTeX document ?
          by "Pierre Chatelier" 

  Re: [OS X TeX] Side by side equations
          by "Christopher Allen" 

  Re: [OS X TeX] \cite woes -- the resolution
          by "Oliver Hardt" 

  TeXing in BBEdit8 and Tiger
          by "John Johnson" 

  list reminders
          by "Gary L. Gray" 

  Re: [OS X TeX] TeXing in BBEdit8 and Tiger
          by "Curtis Clifton" 

  Tagged pdfs for palm readers
          by "Gavin Hall" 

  Re: [OS X TeX] Auto bounding box for LaTeX document ?
          by "Maarten Sneep" 

  Re: [OS X TeX] Auto bounding box for LaTeX document ?
          by "Herbert Schulz" 

  Fwd: [OS X TeX] Auto bounding box for LaTeX document ?
          by "Pierre Chatelier" 

  Re: [OS X TeX] Auto bounding box for LaTeX document ?
          by "Maarten Sneep" 

  Printing wrong from Acrobat, right from TeXShop
          by "Josep M.Font" 

  Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
          by "Bruno Voisin" 

  Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
          by "Aaron Jackson" 

  Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
          by "Bruno Voisin" 

  MacTeX Toolbox mailing list is up
          by "Maarten Sneep" 

  Re: [OS X TeX] MacTeX Toolbox mailing list is up
          by "Bruno Voisin" 


----------------------------------------------------------------------

Subject: Re: [OS X TeX] Glosstex & nomencl
From: "Martin Steer" 
Date: Tue, 21 Jun 2005 11:05:07 +1000

"Novak Elliott"  writes:

>
> I'd like to incorporate glossary and nomeclature chapters into my
> thesis and the GlossTeX and nomencl packages look like what I need.
>
> However, after downloading glosstex I discovered that I don't OS X
> doesn't come with a c compiler or the 'make' utility. I'm presently
> downloading XCode (1.5) in the hope that this will give me the
> development tools I need but I thought there would be smaller gcc and
> make packages for OS X available.
>
> Has anyone else successfully used the glosstex and nomencl packages on
> OS X? If so, how did you go about installing them?
>

I've used nomencl in the past, without too much difficulty. There are
no special tools required, I think, just the installation of the sty
file.

-- 
Martin

----------------------------------------------------------------------

Subject: Re: [OS X TeX] \cite woes
From: "Jon Guyer" 
Date: Mon, 20 Jun 2005 21:27:58 -0400


On Jun 20, 2005, at 5:26 PM, Oliver Hardt wrote:

>> No, UTF-8 encoding means 8-bit unicode. Alpha only saves in MacRoman.
>>
>
> do you mean that even if i save the file as UNIX in alpha, it still is 
> in MacRoman and not UTF-8?

Yes. Alpha does not read or write Unicode.

----------------------------------------------------------------------

Subject: Re: [OS X TeX] \cite woes
From: "Bruno Voisin" 
Date: Tue, 21 Jun 2005 09:17:58 +0200

Le 20 juin 05 =E0 23:26, Oliver Hardt a =E9crit :

> do you mean that even if i save the file as UNIX in alpha, it still =20=

> is in MacRoman and not UTF-8?

You're mixing up two things here:

- Unix vs Mac vs Windows refers to the character used as line ending: =20=

LF (line feed) on Unix, CR (carriage return) on Mac OS and CRLF on =20
Windows. Most Mac OS X applications are able to recognize and deal =20
with all three types of line endings transparently, but some don't. =20
Often that's the case with command-line utilities ported from Unix. =20
Most of the components of Gerben Wierda's TeX have been modified to =20
work with any type of line ending IIRC, but some don't; that may be =20
the case of BibTeX.

- Mac OS Roman vs Windows Latin 1 vs Iso Latin 1 vs UTF-8 refers to =20
the encoding: the position of non-ASCII characters (like =E9 =E0 =FC =E7 =
=20
etc.) within the font. Mac OS Roman is the usual choice on Mac OS, =20
Windows Latin 1 on Windows, Iso Latin 1 on Unix. Again, on Mac OS X =20
most applications (like TextEdit) are able to deal with the three. =20
But LaTeX needs to be notified (with the inputenc package) of which =20
encoding your input .tex file is using (see /Library/teTeX/share/=20
texmf.tetex/doc/latex/base/inputenc.dvi):

     \usepackage[applemac]{inputenc} for Mac OS Roman
     \usepackage[latin1]{inputenc} for Iso Latin 1
     \usepackage[ansinew]{inputenc} for Windows Latin 1

Mac OS Roman is the natural choice on Mac OS, though Iso Latin 1 may =20
be better for portability. I would recommend against UTF-8, unless =20
you're using XeTeX.

Bruno Voisin=

----------------------------------------------------------------------

Subject: Ghostscript problems after Tiger upgrade
From: "Jonas Wellendorf" 
Date: Tue, 21 Jun 2005 10:56:42 +0200

Hi,

After doing an archive and install upgrade to Tiger I have  problems =20
typesetting my documents when I use the =91TeX and Ghostscript=92 =
option.

The terminal ends the processing of my document with the following =20
lines:

--8<--
No pages of output.
Transcript written on Untitled.log.
### WARNING: TeX returned non zero exit status
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips -R -=20
Poutline  -o /tmp/altpdflatex.798-1119343689/Untitled.ps Untitled.dvi
This is dvips(k) 5.94b Copyright 2004 Radical Eye Software =20
(www.radicaleye.com)
/usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips: ! DVI file =20
can't be opened.
### FAILED to generate /tmp/altpdflatex.798-1119343689/Untitled.ps ()
--8<--

What is wrong?

Thank you,
Jonas



----------------------------------------------------------------------

Subject: Re: [OS X TeX] Ghostscript problems after Tiger upgrade
From: "Martin Costabel" 
Date: Tue, 21 Jun 2005 12:42:17 +0200

Jonas Wellendorf wrote:
> Hi,
>=20
> After doing an archive and install upgrade to Tiger I have  problems =20
> typesetting my documents when I use the =91TeX and Ghostscript=92 optio=
n.
>=20
> The terminal ends the processing of my document with the following  lin=
es:
>=20
> --8<--
> No pages of output.
> Transcript written on Untitled.log.
> ### WARNING: TeX returned non zero exit status
> ### /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips -R -=20
> Poutline  -o /tmp/altpdflatex.798-1119343689/Untitled.ps Untitled.dvi
> This is dvips(k) 5.94b Copyright 2004 Radical Eye Software =20
> (www.radicaleye.com)
> /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips: ! DVI file =20
> can't be opened.
> ### FAILED to generate /tmp/altpdflatex.798-1119343689/Untitled.ps ()
> --8<--
>=20
> What is wrong?

A description of what is wrong is contained in the log text immediately=20
before the part you are showing here. Some TeX error probably. "No pages=20
of output" means that no *.dvi file has been generated and dvips cannot=20
start its work.

--=20
Martin


----------------------------------------------------------------------

Subject: Re: [OS X TeX] Ghostscript problems after Tiger upgrade
From: "Jonas Wellendorf" 
Date: Tue, 21 Jun 2005 13:24:14 +0200


Den 21. jun. 2005 kl. 12.42 skrev Martin Costabel:

> Jonas Wellendorf wrote:
>
>> Hi,
>> After doing an archive and install upgrade to Tiger I have  =20
>> problems  typesetting my documents when I use the =91TeX and =20
>> Ghostscript=92 option.

>
> A description of what is wrong is contained in the log text =20
> immediately before the part you are showing here. Some TeX error =20
> probably. "No pages of output" means that no *.dvi file has been =20
> generated and dvips cannot start its work.

Hello again,

I do get a dvi file but no pdf-file.

In the log file it says:

This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) =20
(format=3Dlatex 2005.6.13)  21 JUN 2005 13:18
entering extended mode
**Untitled.tex
(./Untitled.tex
LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for american, french, german, =20
ngerman, d
utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
\c@part=3D\count79
\c@section=3D\count80
\c@subsection=3D\count81
\c@subsubsection=3D\count82
\c@paragraph=3D\count83
\c@subparagraph=3D\count84
\c@figure=3D\count85
\c@table=3D\count86
\abovecaptionskip=3D\skip41
\belowcaptionskip=3D\skip42
\bibindent=3D\dimen102
) (./Untitled.aux)
\openout1 =3D `Untitled.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
[1

] (./Untitled.aux) )
Here is how much of TeX's memory you used:
200 strings out of 95204
2158 string characters out of 1184352
2046022 words of memory out of 4500857
3407 multiletter control sequences out of 10000+50000
3640 words of font info for 14 fonts, out of 2000000 for 2000
58 hyphenation exceptions out of 1000
23i,4n,17p,132b,107s stack positions out of 5000i,500n,6000p,200000b,=20
40000s
0 PDF objects out of 300000
0 named destinations out of 131072
1 words of extra memory for PDF output out of 65536

Output written on Untitled.dvi (1 page, 216 bytes).
  -------------

The Terminal says:

### This is /usr/local/teTeX/bin/powerpc-apple-darwin-current/=20
altpdflatex, Version $Revision: 2.18 $
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/latex Untitled.tex
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
output format initialized to DVI
entering extended mode
(./Untitled.tex
LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for american, french, german, =20
ngerman, d
utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo)) (./=20
Untitled.aux
) [1] (./Untitled.aux) )
Output written on Untitled.dvi (1 page, 216 bytes).
Transcript written on Untitled.log.
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips -R -=20
Poutline  -o /tmp/altpdflatex.380-1119352901/Untitled.ps Untitled.dvi
This is dvips(k) 5.94b Copyright 2004 Radical Eye Software =20
(www.radicaleye.com)
' TeX output 2005.06.21:1321' -> /tmp/altpdflatex.380-1119352901/=20
Untitled.ps
. [1]
### ps2pdf13 /tmp/altpdflatex.380-1119352901/Untitled.ps /tmp/=20
altpdflatex.380-1119352901/Untitled.pdf
/usr/local/teTeX/bin/powerpc-apple-darwin-current/altpdflatex: line =20
538: ps2pdf13: command not found
### FAILED to generate /tmp/altpdflatex.380-1119352901/Untitled.pdf ()

-----------

Thank you,

Jonas=

----------------------------------------------------------------------

Subject: Re: [OS X TeX] Ghostscript problems after Tiger upgrade
From: "Jonas Wellendorf" 
Date: Tue, 21 Jun 2005 13:29:51 +0200

A reinstallation of Ghostscript 8 solved my problems.

Thank you once again,

Jonas

----------------------------------------------------------------------

Subject: Auto bounding box for LaTeX document ?
From: "Pierre Chatelier" 
Date: Tue, 21 Jun 2005 14:28:33 +0200

Hello,

In his snippet examples development document, Maarten Sneep proposes  
some solutions to make a latex document generate its own minimal  
bounding box with a single pdflatex run.
Two possibilities so far:
-Using boxes that compute their own geometry, but it does not compile  
for multi-line equations
-Using the preview package, but it does not render non-mathematical  
text.

Any ideas to get such a feature work in every case ?

Regards,

Pierre Chatelier

----------------------------------------------------------------------

Subject: Re: [OS X TeX] Auto bounding box for LaTeX document ?
From: "Herbert Schulz" 
Date: Tue, 21 Jun 2005 08:11:59 -0500


On Jun 21, 2005, at 7:28 AM, Pierre Chatelier wrote:

> Hello,
>
> In his snippet examples development document, Maarten Sneep  
> proposes some solutions to make a latex document generate its own  
> minimal bounding box with a single pdflatex run.
> Two possibilities so far:
> -Using boxes that compute their own geometry, but it does not  
> compile for multi-line equations
> -Using the preview package, but it does not render non-mathematical  
> text.
>
> Any ideas to get such a feature work in every case ?
>
> Regards,
>
> Pierre Chatelier
>

Howdy,

Not quite one step but it seems to work. If you have \pagestyle 
{empty} (so no headers or footers) you can get a tight bounding box  
by running pdflatex to make a fname.pdf file and then run pdfcrop on  
that to make a fname-crop.pdf file that has the tight cropping. I've  
gotten it to work with text and multi-line equations. There may be  
other effects that aren't so nice but try it.

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



----------------------------------------------------------------------

Subject: Re: [OS X TeX] Auto bounding box for LaTeX document ?
From: "Pierre Chatelier" 
Date: Tue, 21 Jun 2005 15:19:37 +0200

Hi,

> Not quite one step but it seems to work (...) run pdfcrop

Yes, it is a solution, but pdfcrop is not available with every latex  
distribution. And my problem is in fact to use pdflatex in LaTeXiT  
instead of (latex, dvips, epstopdf), so I cannot rely on the the fact  
that pdfcrop is available.

Pierre

----------------------------------------------------------------------

Subject: Re: [OS X TeX] Side by side equations
From: "Christopher Allen" 
Date: Mon, 20 Jun 2005 19:31:53 -0400

>> This is something that puzzled me for ages---how to get side-by-side 
>> equations of the form:
>>
>>               a =3D b + c           and            d =3D f + g          =
  
>>         (1a,b)
>>
>> i.e., two equations on the same line with subequation numbering.
>
> The numbering can be done with the amsmath package (or one of the ams 
> document classes). The documentation of the amsmath package has the 
> details. The side-by-side itself can be done with some \text{} 
> commands and a few spacers.

The alignat environment (p.250 of the LaTeX Companion) will give you 
the spacing you want, though I don't know how well that will work with 
the numbering described.

Chris


----------------------------------------------------------------------

Subject: Re: [OS X TeX] \cite woes -- the resolution
From: "Oliver Hardt" 
Date: Tue, 21 Jun 2005 10:50:51 -0400

first, thanks to all who responded!  as claus pointed out, the  
problem was caused by a conflict between babel and apacite.  i also  
downloaded the most recent version of apacite, as john recommended --  
but, unless i missed something in the apacite manual (which is  
likely), the error did not resolve when the most recent apacite  
version was used.  exclusion of babel changed all that (even keeping  
the line end encodings as Mac and refraining from UTF-8).  again,  
thanks for your help.  best, olli.


----------------------------------------------------------------------

Subject: TeXing in BBEdit8 and Tiger
From: "John Johnson" 
Date: Tue, 21 Jun 2005 12:09:51 -0500

I just upgraded my machine to 10.4, and my BBEdit to 8. Since I've  
made these changes, I thought that I should consider alternative  
means of sending my documents through the typesetting engine. I know  
that Martin Sneep provides the Compile-TeX materials. What else is  
out there?

Later,
John

----------------------------------------------------------------------

Subject: list reminders
From: "Gary L. Gray" 
Date: Tue, 21 Jun 2005 14:03:55 -0400

(1) Please do not start a new thread (with the corresponding new  
subject) by replying to a post from another thread. If you do this,  
email clients, such as Apple's Mail, will then put all of these  
messages together making it very difficult to find information.

(2) Please use *plain* text when posting to the list -- it makes the  
archives much easier to read.

Thank you,

-- Gary
    (the guy running the list)

----------------------------------------------------------------------

Subject: Re: [OS X TeX] TeXing in BBEdit8 and Tiger
From: "Curtis Clifton" 
Date: Tue, 21 Jun 2005 13:27:35 -0500

John,

On Jun 21, 2005, at 12:09 PM, John Johnson wrote:

> I just upgraded my machine to 10.4, and my BBEdit to 8. Since I've 
> made these changes, I thought that I should consider alternative means 
> of sending my documents through the typesetting engine. I know that 
> Martin Sneep provides the Compile-TeX materials. What else is out 
> there?

I have a library of custom scripts that I've written for editing LaTeX 
in BBEdit 8, using TeXniscope as my previewer, pdfsync for 
synchronization, BibDesk for references, and a Terminal window as a 
console log.  The system works well for me and I would be happy to 
share the scripts, but as I'm in the final week of finishing my 
dissertation, I won't be able to share them until July.  If you (or 
anyone else) is interested, drop me an email off-list.  I'll file any 
requests away for a few days, but promise to respond eventually.  If 
there is enough interest, I'll throw the whole mess up on a web page 
and announce it to the list.

That said, once my dissertation is "in the can", I'm going to upgrade 
to Tiger.  Next to Spotlight searches of TeX documentation, I'm most 
looking forward to trying the new synchronization capabilities of 
TeXShop 2.x.

Cheers,

Curt

----------------------------------
Curtis Clifton, PhD Candidate
Dept. of Computer Science, Iowa State University
http://www.cs.iastate.edu/~cclifton


----------------------------------------------------------------------

Subject: Tagged pdfs for palm readers
From: "Gavin Hall" 
Date: Tue, 21 Jun 2005 20:33:53 +0100

Hi lads,

I recently bought a palm device (well a Tapwave Zodiac 2, very cool) and 
was wondering how to get my pdfs that I generate via TeXShop etc to 
work.  When I use Adobe Palm pdf reader the convertor gives a 'it's not 
a tagged pdf' warning (or similar, sorry I don't have it front of me 
just now) but completes the conversion process.  When I sync and 
donwload the files to the device, however all the spaces in the text  
are gone!

What is a tagged pdf and how do I make one.  Anybody else had a similar 
problem.  Is this an issue that requires a distiller?

Thanks,

Gav.


----------------------------------------------------------------------

Subject: Re: [OS X TeX] Auto bounding box for LaTeX document ?
From: "Maarten Sneep" 
Date: Tue, 21 Jun 2005 21:52:07 +0200

On 21 Jun 2005, at 15:19, Pierre Chatelier wrote:

> Hi,
>
>
>> Not quite one step but it seems to work (...) run pdfcrop
>
> Yes, it is a solution, but pdfcrop is not available with every  
> latex distribution. And my problem is in fact to use pdflatex in  
> LaTeXiT instead of (latex, dvips, epstopdf), so I cannot rely on  
> the the fact that pdfcrop is available.

For some background info: http://www.xs4all.nl/~msneep/articles/ 
baseline.html

You can do it in a single step: the preview package does that for  
you, and it works with all displayed and in-line material. The  
problem is that you don't get a baseline offset (but neither does  
using pdfcrop). If someone has an idea for obtaining the baseline  
offset while still accepting multi-line equations, I'm all ears.

Maarten

----------------------------------------------------------------------

Subject: Re: [OS X TeX] Auto bounding box for LaTeX document ?
From: "Herbert Schulz" 
Date: Tue, 21 Jun 2005 15:15:10 -0500


On Jun 21, 2005, at 2:52 PM, Maarten Sneep wrote:

> On 21 Jun 2005, at 15:19, Pierre Chatelier wrote:
>
>
>> Hi,
>>
>>
>>
>>> Not quite one step but it seems to work (...) run pdfcrop
>>>
>>
>> Yes, it is a solution, but pdfcrop is not available with every  
>> latex distribution. And my problem is in fact to use pdflatex in  
>> LaTeXiT instead of (latex, dvips, epstopdf), so I cannot rely on  
>> the the fact that pdfcrop is available.
>>
>
> For some background info: http://www.xs4all.nl/~msneep/articles/ 
> baseline.html
>
> You can do it in a single step: the preview package does that for  
> you, and it works with all displayed and in-line material. The  
> problem is that you don't get a baseline offset (but neither does  
> using pdfcrop). If someone has an idea for obtaining the baseline  
> offset while still accepting multi-line equations, I'm all ears.
>
> Maarten
>

Howdy,

Very nice article Maarten! I remember that the baseline problem was  
brought up when we were first talking about using a (not necessarily  
`the') LaTeX Equation Editor to produce equations using LinkBack for  
Pages. I didn't realize that the reference being made in the inquiry  
here was also referring to that problem.

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



----------------------------------------------------------------------

Subject: Fwd: [OS X TeX] Auto bounding box for LaTeX document ?
From: "Pierre Chatelier" 
Date: Tue, 21 Jun 2005 22:15:10 +0200

> For some background info: http://www.xs4all.nl/~msneep/articles/ 
> baseline.html
Great that it is online !
(just before I forget : there is a typo at the very end : 

> You can do it in a single step: the preview package does that for  
> you, and it works with all displayed and in-line material.
Yes, but it seems that it does not work for non mathematical text;  
example :

> \documentclass{article}
> \usepackage[T1]{fontenc}
> \usepackage[latin1]{inputenc}
> \usepackage{mathptmx}
> \usepackage{textcomp}
> \usepackage[fleqn]{amsmath}
> \usepackage[active,displaymath,tightpage]{preview}
> %neededtoremovespacelefttotheequation
> \setlength{\mathindent}{0pt}
> \begin{document}
> foo
> \end{document}

produces no output

Finally, I would prefer not to rely on pdfcrop not pdftk, and limit  
myself to pdflatex and gs.
By the way, computing the tight bounding box with gs is interesting

> boundingbox=3D`gs -dNOPAUSE -sDEVICE=3Dbbox -dBATCH -q $pdfin 2>&1 |  
> awk -F: '/%%HiResBoundingBox/{printf "[%s]",substr($2, 2, length 
> ($2)-1)}'`

But is it possible to insert this bounding box in the PDF doc without  
using pdftk ? I do not know PDF format, so I do not know either what  
should be done...

Regards,

Pierre Chatelier


----------------------------------------------------------------------

Subject: Re: [OS X TeX] Auto bounding box for LaTeX document ?
From: "Maarten Sneep" 
Date: Tue, 21 Jun 2005 22:47:56 +0200

On 21 Jun 2005, at 22:15, Pierre Chatelier wrote:

>> For some background info: http://www.xs4all.nl/~msneep/articles/ 
>> baseline.html
>>
> Great that it is online !
> (just before I forget : there is a typo at the very end :  instead of Equation>

OK: fixed.

>> You can do it in a single step: the preview package does that for  
>> you, and it works with all displayed and in-line material.
>
> Yes, but it seems that it does not work for non mathematical text;  
> example :

[snip]

Indeed, I was talking about mathematical material only. Non- 
mathematical material can be done inside a parbox, a minipage, or  
even just on the page (without headers) and cropping afterwards. For  
single line items a normal box, and then just using the makebox trick  
will even yield the baseline offset.

> Finally, I would prefer not to rely on pdfcrop not pdftk, and limit  
> myself to pdflatex and gs.
> By the way, computing the tight bounding box with gs is interesting
>
>> boundingbox=3D`gs -dNOPAUSE -sDEVICE=3Dbbox -dBATCH -q $pdfin 2>&1 |  
>> awk -F: '/%%HiResBoundingBox/{printf "[%s]",substr($2, 2, length 
>> ($2)-1)}'`

Interesting is one way of putting it, a hack is another. It took me  
some time to arrive at this one, and it isn't really fast.

> But is it possible to insert this bounding box in the PDF doc  
> without using pdftk ? I do not know PDF format, so I do not know  
> either what should be done...

The pdf format requires a table of contents at the end of the file  
which in turn contains all the offsets to the otehr objects (pages,  
etc.). This table of contents is in effect a pointer table, and makes  
random access fast, while still allowing the separate objects to be  
compressed.

That is also why there are three stages: decompression, alteration,  
and repairing the offsets and recompressing the lot.

I think you can use the Mac OS X (tiger) pdf-API to alter the  
bounding box of an pdf-image, but I have to do some more reading to  
be sure.

Maarten

----------------------------------------------------------------------

Subject: Printing wrong from Acrobat, right from TeXShop
From: "Josep M.Font" 
Date: Tue, 21 Jun 2005 23:46:07 +0200

Hi,

Since some weeks, a strange problem happens to me from time to 
time--not always: If I try to print from Acrobat Reader a pdf file 
produced by some TeX variety, some fonts, not all, seem to be missing 
and are substituted by courier, with wrong spacing, etc. This seems to 
happen with only some sizes of cmr, since \Large, \textbf, \textsc, 
maths, etc. print OK. The file is correctly viewed on screen, and 
moreover if I open it with TeXShop--even when it was produced in 
another computer with another TeX--then it prints correctly!

Does this seem to be an installation-related problem ? Or rather a 
printer-related one ? I don't know how differently handle fonts and 
printing the Reader and TeXShop... (well, I know nothing at all...). 
Any advice about where should I direct my next steps will be greatly 
appreciated...

JMaF


MacOS 10.3.8, teTeX from one year or so, TeXShop 1.35e, Laser Printer 
HP 4200dtn in a network shared with some Windows PCs. 


----------------------------------------------------------------------

Subject: Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
From: "Bruno Voisin" 
Date: Wed, 22 Jun 2005 00:04:02 +0200

Le 21 juin 05 =E0 23:46, Josep M.Font a =E9crit :

> Since some weeks, a strange problem happens to me from time to =20
> time--not always: If I try to print from Acrobat Reader a pdf file =20
> produced by some TeX variety, some fonts, not all, seem to be =20
> missing and are substituted by courier, with wrong spacing, etc. =20
> This seems to happen with only some sizes of cmr, since \Large, =20
> \textbf, \textsc, maths, etc. print OK. The file is correctly =20
> viewed on screen, and moreover if I open it with TeXShop--even when =20=

> it was produced in another computer with another TeX--then it =20
> prints correctly!
>
> Does this seem to be an installation-related problem ? Or rather a =20
> printer-related one ? I don't know how differently handle fonts and =20=

> printing the Reader and TeXShop... (well, I know nothing at =20
> all...). Any advice about where should I direct my next steps will =20
> be greatly appreciated...

That's certainly a different problem, but since migrating to Tiger =20
I'm seeing from time to time something very odd: files sent to the =20
printer or displayed in TeXShop's preview window have all their space =20=

characters replaced by another character, generally a double quote " =20
or an ampersand &. When that happens, reprinting the file or re-=20
displaying it clears the problem.

I could see no logical pattern to this. I have the impression this =20
happens when I print a file very quickly (before or as soon as it's =20
completely displayed), or display it in TeXShop and click on the =20
preview window very quickly (before or as soon as the window content =20
is completely displayed), but I'm not sure.

This seems to be just one more of the -- numerous -- bugs in Tiger.

Bruno Voisin=

----------------------------------------------------------------------

Subject: Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
From: "Aaron Jackson" 
Date: Tue, 21 Jun 2005 18:05:24 -0400

On Jun 21, 2005, at 5:46 PM, Josep M.Font wrote:

> Hi,
>
> Since some weeks, a strange problem happens to me from time to 
> time--not always: If I try to print from Acrobat Reader a pdf file 
> produced by some TeX variety, some fonts, not all, seem to be missing 
> and are substituted by courier, with wrong spacing, etc. This seems to 
> happen with only some sizes of cmr, since \Large, \textbf, \textsc, 
> maths, etc. print OK. The file is correctly viewed on screen, and 
> moreover if I open it with TeXShop--even when it was produced in 
> another computer with another TeX--then it prints correctly!
>
> Does this seem to be an installation-related problem ? Or rather a 
> printer-related one ? I don't know how differently handle fonts and 
> printing the Reader and TeXShop... (well, I know nothing at all...). 
> Any advice about where should I direct my next steps will be greatly 
> appreciated...

Don't know if this is your problem, but one time I was looking at a 
pdflatex generated pdf with Acrobat and then proceeded to run it 
through pdflatex while it was still open in Acrobat.  It didn't occur 
to me that would cause problems until Acrobat started showing me some 
nonsense...

If you are using computer modern (or any non standard font), then the 
fonts themselves should be embedded in the document, so there should be 
no font substitution.  The document should look the same in any program 
on any computer.  If you are using standard fonts, then they might not 
embedded by default, which is a problem IMO.

Unless you can provide an example, it is hard to say what is causing 
this.  Generally speaking, things either work or not. Intermittent 
problems usually indicate something subtle is going on.

Aaron


----------------------------------------------------------------------

Subject: Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
From: "Bruno Voisin" 
Date: Wed, 22 Jun 2005 00:08:37 +0200

> Le 21 juin 05 =E0 23:46, Josep M.Font a =E9crit :
>
>> Since some weeks, a strange problem happens to me from time to =20
>> time--not always: If I try to print from Acrobat Reader a pdf file =20=

>> produced by some TeX variety, some fonts, not all, seem to be =20
>> missing and are substituted by courier, with wrong spacing, etc. =20
>> This seems to happen with only some sizes of cmr, since \Large, =20
>> \textbf, \textsc, maths, etc. print OK. The file is correctly =20
>> viewed on screen, and moreover if I open it with TeXShop--even =20
>> when it was produced in another computer with another TeX--then it =20=

>> prints correctly!

Thinking more about it, I observed the same behaviour once =20
(characters substituted by Helvetica upon printing). But it was with =20
Pages, not TeXShop. Thus it seems a Tiger bug.

Bruno Voisin

----------------------------------------------------------------------

Subject: MacTeX Toolbox mailing list is up
From: "Maarten Sneep" 
Date: Wed, 22 Jun 2005 00:10:44 +0200

Hi,

One page of the Mac TeX toolbox has been mentioned already recently  
on this list. you can find the (temporary) home over here: http:// 
www.xs4all.nl/~msneep/. I'll move it over to sourceforge once I find  
the time.

The part of the project that is working now is the mailing list, the  
subscription list can be found on the temporary home. Note that this  
is intended for developer talk - basic TeX/LaTeX help will not be  
offered on this list. The recent threads on the/an equation editor  
are a prime example of what this mailing list is intended for  
(although the number of subscribers is low at the moment (1), I hope  
this situation will improve.

Maarten

----------------------------------------------------------------------

Subject: Re: [OS X TeX] MacTeX Toolbox mailing list is up
From: "Bruno Voisin" 
Date: Wed, 22 Jun 2005 00:23:43 +0200

Le 22 juin 05 =E0 00:10, Maarten Sneep a =E9crit :

> One page of the Mac TeX toolbox has been mentioned already recently =20=

> on this list. you can find the (temporary) home over here: http://=20
> www.xs4all.nl/~msneep/. I'll move it over to sourceforge once I =20
> find the time.
>
> The part of the project that is working now is the mailing list, =20
> the subscription list can be found on the temporary home. Note that =20=

> this is intended for developer talk - basic TeX/LaTeX help will not =20=

> be offered on this list. The recent threads on the/an equation =20
> editor are a prime example of what this mailing list is intended =20
> for (although the number of subscribers is low at the moment (1), I =20=

> hope this situation will improve.

Hi Maarten,

Due to time shortage/stress/not being a developer, I won't be able to =20=

join this list. But I would like to let you know how useful it seems, =20=

and if claims of support are welcome -- here is one!

Plus, as somebody devoting lots of time to web issues currently =20
(being responsible for monitoring a reimplementation, in the works, =20
of my lab's obsolete site -- oh the joy of Zope/Plone), I especially =20
appreciate how excellent, beautiful and easy to navigate your toolbox =20=

page is.

Cheers,

Bruno=

----------------------------------------------------------------------
End of MacOSX-TeX Digest

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: