# [OS X TeX] tex4ht

bellwasright at mchsi.com bellwasright at mchsi.com
Sun May 8 04:26:45 CEST 2005

I am lost. I thought we ARE on the Mac OSX TeX list. And
someone is telling a guy to post on the Mac OSX TeX list...

????

>>>
Subject: Re: tex4ht
From: "Gerben Wierda" <Gerben.Wierda at rna.nl>
Date: Sat, 7 May 2005 10:13:39 +0200

Hello,

There is nothing I can do unless it is a problem that has to do with
the way it is installed. There is nothing anyone can do unless you
include log output of a run and preferably an example run.

The installation of updated packages may have given you a newer version
of Ghostscript and that could influence things. Mac OS X 10.4 has an
updated PDF engine which may influence things. Also, check your results
when viewing them on 10.3 if possible.

I have not the means to provide TeX4ht (or any other TeX part) support.
For this, your best route is to the Mac OS X TeX mailing list first.
There are helpul and knowledgeable people there who can and will help
you.

Yours,

G

> MacOSX-TeX Digest #1366 - Saturday, May 7, 2005
>
>   Re: [OS X TeX] TeXShop is SSLLOOOWW on 10.4 for me
>           by "Stephen Moye" <stephenmoye at cox.net>
>   landscape longtable
>           by "Jeff Genung" <maine at searust.com>
>   Re: tex4ht
>           by "Gerben Wierda" <Gerben.Wierda at rna.nl>
>   Re: [OS X TeX] Re: OS X TeX] TeX and Illustrator Fonts -- CMR Works and L
>           by "Maarten Sneep" <maarten.sneep at xs4all.nl>
>   Re: [OS X TeX] OT: effective Macintosh Trojan in the wild
>           by "Maarten Sneep" <maarten.sneep at xs4all.nl>
>   Re: [OS X TeX] TeXShop on Tiger: Reply to Bruno
>           by "Maarten Sneep" <maarten.sneep at xs4all.nl>
>   Re: [OS X TeX] TeXShop on Tiger: Reply to Bruno
>           by "Adam R. Maxwell" <amaxwell at mac.com>
>   Re:  Reply to Bruno (hard wrapping)
>           by "Lawrence Paulson" <lp15 at cam.ac.uk>
>   Using an old GW TeX with Tiger
>           by "Musa Furber" <musaf at runbox.com>
>   Re: [OS X TeX] Using an old GW TeX with Tiger
>           by "Maarten Sneep" <maarten.sneep at xs4all.nl>
>   Screenplay on LaTeX
>           by "Benoit Favreault" <benoit at circuscowboy.com>
>   Re: [OS X TeX] Sideways longtable
>           by "Piet van Oostrum" <piet at cs.uu.nl>
>   Re: [OS X TeX] Spotlight importers
>           by "Maarten Sneep" <maarten.sneep at xs4all.nl>
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] TeXShop is SSLLOOOWW on 10.4 for me
> From: "Stephen Moye" <stephenmoye at cox.net>
> Date: Fri, 6 May 2005 20:05:14 -0400
>
>
> On May 6, 2005, at 6:58 PM, Stephen Moye wrote:
>
> > I have TeXShop 2.01 and am using it on my PowerBook. It seems to
> > take forever to save a document, and to typeset it (using XeTeX).
> > Is anyone else experiencing this? Any ideas what I can do to solve
> > this? I have fixed permissions.
> >
> > Help! 8>}
>
> Ooops. Without knowing it I was working on a file that was on my
> iDisk. Yeah, no wonder it was slow...
>
> Sorry for the false alarm.
>
> Stephen Moye
>
>
> ----------------------------------------------------------------------
>
> Subject: landscape longtable
> From: "Jeff Genung" <maine at searust.com>
> Date: Sat, 07 May 2005 01:22:57 -0500
>
> I regularly use landscape longtables, and at the top of each is the
> following:
>
> \begin{landscape}
> \begin{center}
> \tiny
> \begin{longtable}{column info here}
>
> my pages are all 6x9 inches, and I can cram a huge amount of tiny text into
> them, including multi-line headers and footers.
>
> Jeff G.
> maine at searust.com
>
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: tex4ht
> From: "Gerben Wierda" <Gerben.Wierda at rna.nl>
> Date: Sat, 7 May 2005 10:13:39 +0200
>
> Hello,
>
> There is nothing I can do unless it is a problem that has to do with
> the way it is installed. There is nothing anyone can do unless you
> include log output of a run and preferably an example run.
>
> The installation of updated packages may have given you a newer version
> of Ghostscript and that could influence things. Mac OS X 10.4 has an
> updated PDF engine which may influence things. Also, check your results
> when viewing them on 10.3 if possible.
>
> I have not the means to provide TeX4ht (or any other TeX part) support.
> For this, your best route is to the Mac OS X TeX mailing list first.
> There are helpul and knowledgeable people there who can and will help
> you.
>
> Yours,
>
> G
>
> PS. I am cc-ing this message to the Mac OS X TeX list. I advise you to
>
> On May 6, 2005, at 21:29, Jean-Bernard Roux wrote:
>
> > I have problems with tex4ht:
> >
> > 1.- the translation of formulaes are too big pictures; unusable;
> > 2.- the translation of ligatures are unsable, unreadable;
> >
> > I am using the nex Mac OS X Tiger 10.4; I have installed yesterday all
> > the modified packages with iinstaller; I am using version tex 2004.
> >
> > Before this I had not any problem like these!
> >
> >
> >
> >
> >
> >
> >        \\\|///         Jean-Bernard ROUX
> >      \\  - -  //
> >       (  @ @  )
> >  ---oOOo-(_)-oOOo-------------------------------------------
> >  12d, rte de Meyrin
> >  1202 GENEVE
> >  --------------Oooo----------------------------------------------
> >       oooO    (   )                      tel. +4122 733 36 28
> >       (  )     ) /
> >        \ (    (_/   mailto:rouxjeanbernard at mac.com
> >         \_)         http://hypo.geneve.ch/www/math/html/root.html
> >
> >
> >
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] Re: OS X TeX] TeX and Illustrator Fonts -- CMR Works and
> Lucida doesn't
> From: "Maarten Sneep" <maarten.sneep at xs4all.nl>
> Date: Sat, 7 May 2005 11:26:37 +0200
>
> On May 6, 2005, at 4:24 AM, Gordon Sick wrote:
>
> > Outlining the fonts is sort of OK. I don't need to edit the result
> > (I want to be able to label diagrams, and want LateX to build the
> > labels). By outlining, I assume that they won't render on screen as
> > nicely, because they lose their hinting. But, I would expect it all
> > to print fine, so this is worth pursuing.
> >
> >
> >> If it is the latter, you can remove the
> >> fonts (and replace them by their outlines) and include the result in
> >> Illustrator. The following call to GhostScript should do the trick:
> >>
> >> gs -dNOPAUSE -dNOCACHE -dBATCH -sDEVICE=pdfwrite \
> >>          -sOutputFile=your-output-file.pdf \
> >>          your-source-file.pdf
> >>
> >> The -dNOCACHE should remove all fonts, and simply draw the outlines
> >> instead. There is no (easy) way to edit the resulting text, but at
> >> the very least you can include the result in Illustrator.
> >>
> > I tried this. I assume that the backslashes are escapes to new
> > lines, as when I copy such lines from the terminal, the Terminal
> > spreads them out on one line.
>
> Indeed, backslashes are continuation marks. In the part I snipped
> below, you say that it doesn't work for you. Try changing the device:
>
> gs -dNOPAUSE -dNOCACHE -dBATCH -sDEVICE=epswrite \
>           -sOutputFile=your-output-file.eps \
>           your-source-file.pdf
>
> now the command will produce an eps file, and (i've just checked,
> with the same version of gs you use) that the result no longer
> includes any fonts. Illustrator will be able to read eps, or you
> could use pstopdf to produce a pdf-file again. The version of gs is
> important, some versions between 8.1x and 8.5 had bugs that prevented
> this use. It is officially considered a debugging feature, but comes
> in very handy in these cases. I once figured out with an Elsevier
> editor that this is the only practical way to submit figures
> generated from metapost.
>
> > It is amazing that the platform that is #1 for graphics (Mac OS X)
> > and the premiere vector drawing program (Illustrator) and the
> > premiere typesetting engine (LaTeX) are all incompatible in this way.
> >
> > It is particularly frustrating that this works for CMR, but not for
> > the Lucida.
>
> Blame Adobe for not supporting some odd font encodings. their
> standards allow it, so why not (completely) support it?
>
> Maarten
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] OT: effective Macintosh Trojan in the wild
> From: "Maarten Sneep" <maarten.sneep at xs4all.nl>
> Date: Sat, 7 May 2005 11:33:46 +0200
>
> On May 6, 2005, at 4:33 PM, Bruno Voisin wrote:
>
> > Le 6 mai 05 à 16:24, Jason Davies a écrit :
> >
> >
> >> this but
> >> did'nt know what it was. Most have uninstalled the software. Any
> >> appreciated (and will be passed on to other users)
> >>
> >
> > When installing, ClamXav creates a clamav group and a clamav user,
> > visible under NetInfo Manager and used (according to the doc) for
> > retrieving updates. Is that what you mean?
>
> No, the clamav user is there on my system, even though I've never
> installed clamXav.
>
> > According to the FAQ, there were problems with previous versions of
> > ClamXav, in that these user and group were not created completely
> > during the install, with the consequence that the Reset Password
> > utility on the OS X disks could no longer be used, leaving you in
>
> I guess that that is fixed by default now.
>
> Maarten
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] TeXShop on Tiger: Reply to Bruno
> From: "Maarten Sneep" <maarten.sneep at xs4all.nl>
> Date: Sat, 7 May 2005 13:40:54 +0200
>
> On May 6, 2005, at 6:10 PM, Richard Koch wrote:
>
> > In general I don't like to clutter up the mailing list with
> > messages about a mere front end.
>
> I think this message is _exactly_ what this list is for, rather than
> generic TeX question that get answered anyway.
>
> [snip]
>
> > In Preview, command[ and command] are shortcuts for Back and
> > Forward. It would be trivial to implement that, but unfortunately
> > TeXShop already uses these shortcuts for Indent and Comment. So a
> > first question for users: can I change the shortcuts for Indent,
> > Comment, Unindent, and Uncomment, and if so what should I use?
>
> I hardly ever indent or comment a pdf file ;-). I think it is not a
> problem to overload these command-key shortcuts and use them bot for
> source-display (where they perform an action on the source) and on
> the preview (where they go back and forth).
>
> >> I second the request, made last week-end, of being able to hard-
> >> wrap text in TexShop. Possibly a switch enabling "Hard Wrap As You
> >> Type", and a command "Hard Wrap", pretty much as for spell checking.
> >
> > There are two problems with this common request.
> >
> > The most serious is that I wouldn't use this feature. It is
> > dangerous for a programmer to add a feature for others but not use
> > it himself, because then the feature doesn't get seriously tested.
> >
> > Since I don't use editors which work like this, I have some really
> > elementary questions. If I'm typing a line and it gets too long,
> > the cursor reaches back to a word ending and moves the text after
> > that word to the next line. But what happens if I edit in the
> > middle of a line? Do words at the end sort of dribble down to their
> > own lines? What happens if I copy and paste? Do lines get
> > reformatted? Etc. Etc. Pretty soon, what sounds like a simple
> > change requires modifications all over the place.
>
> The main reason I can see for this request is for version control
> systems (CVS, subversion, ...) and working with other writers (on
> other platforms). To merge back changes, the most commonly used tool
> is diff (or some graphical shell around that (bbedit's variant,
> available in TextWrangler as well, or Apple's FileMerge). All of
> these tools work on a line-by-line basis. Due to the nature of TeX,
> this comes down to paragraph-by-paragraph in most sources. This can
> be a granularity that is fine enough for some, but in practice it is
> too coarse. I have made a habit of starting each sentence on a new
> line (and let sentences themselves wrap around). Some completion
> algorithm could be used to wrap after a '. ' is typed, but that may
> not suit everyone (and foul up some abbreviations in the process,
> just look at the hoops TeX itself has to jump through to reliably
> determine whether a period ends a sentence (and a double space has to
> be inserted).
>
> Re-wrapping the paragraph upon a re-write totally removes the benefit
> of hard-wrapping, at least as far as I can see. Maybe you should add
> a command to re-wrap the current paragraph, if users feel inclined to
> trow out some of the benefits.
>
> > The second problem is that NSTextEdit wasn't really designed for
> > hard wrapping. There isn't any switch to just "turn it on." So I'd
> > have to force that class to do things it wasn't designed to do,
> > leading to possible problems along the lines mentioned in the "fit
> > to width" discussion.
>
> This is a harder problem to solve.
>
> > I'm not opposed to such a mode. We really need to find a volunteer
> > who would actually use this mode to write the code. At present,
> > TeXShop's editing code isn't factored out very well, so adding such
> > a "hard wrap class" might be tricky, but I'd volunteer to do the
> > factoring if someone else would write the new class.
>
> You _do_ use some form of version control for TeXShop itself, don't
> you? At the very least it will give you some experience with the
> issues involved. (Related: I think it would be a good idea to develop
> TeXShop in a public location - SourceForge, Sarovar.org - as it would
> involve more developers more directly).
>
> > This would be trivial to implement. TeXShop does use NSTextView,
> > and so in a sense these already work. The trouble is that Cmd-click
> > has been overridden for synchronization. Is there a reasonable
> > substitute for Cmd-click for synchronization? Or are folks so used
> > to this that they don't want a change?
>
> Cmd-doubleclick for syncing seems fine. Or just press 'Esc' to sync
> with the text-cursor.
>
> > PS. In a later message, Bruno complained that hyperlinks don't work
> > in 2.01. They do work, but you have to select the "A" tool to make
> > them work. Probably I should add a command shortcut so that when
> > another tool is selected you can temporarily return to the "A"
> > tool. One trouble is that most command modifications are used with
> > the magnification tools already, to select various magnification
> > options.
>
> Is there a specific reason that hyperlinks do not work in a mode that
> is not the 'A' tool? What about switching temporarily if the cursor
>
> Maarten
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] TeXShop on Tiger: Reply to Bruno
> From: "Adam R. Maxwell" <amaxwell at mac.com>
> Date: Sat, 7 May 2005 05:40:19 -0700
>
>
> On May 7, 2005, at 04:40, Maarten Sneep wrote:
>
> > On May 6, 2005, at 6:10 PM, Richard Koch wrote:
> >
> >
> >> In general I don't like to clutter up the mailing list with
> >> messages about a mere front end.
> >>
> >
> > I think this message is _exactly_ what this list is for, rather
> > than generic TeX question that get answered anyway.
>
> My sentiments exactly; it's nice to see Mac OS X-specific discussion
> here!
>
> > [snip]
> >
> [snip more]
>
> >> The second problem is that NSTextEdit wasn't really designed for
> >> hard wrapping. There isn't any switch to just "turn it on." So I'd
> >> have to force that class to do things it wasn't designed to do,
> >> leading to possible problems along the lines mentioned in the "fit
> >> to width" discussion.
> >>
> >
> > This is a harder problem to solve.
>
> You could take a look at how iTeXMac implements it; there are some
> oddities in the wrapping, but I use it all the time anyway; see
> iTMTextView's wrapText... methods (I think).  It does look
> complicated, to say the least.
>
>
>
>
> ----------------------------------------------------------------------
>
> Subject: Re:  Reply to Bruno (hard wrapping)
> From: "Lawrence Paulson" <lp15 at cam.ac.uk>
> Date: Sat, 7 May 2005 14:14:05 +0100
>
> > In general I don't like to clutter up the mailing list with messages
> > about a mere front end.
>
> Mere front end??  Did you mean miracle?  The new sync system is
> particularly amazing.
>
> >> I second the request, made last week-end, of being able to hard-
> >> wrap text in TexShop. Possibly a switch enabling "Hard Wrap As You
> >> Type", and a command "Hard Wrap", pretty much as for spell checking.
> >
> > There are two problems with this common request...
>
> I bought an app called SmartWrap a while ago that builds this
> functionality into all text windows. It seems silly to pay \$20 to
> augment a free program, but it's one solution. Wrapping and re-wrapping
> is a nuisance, but it's helpful if you share the editing with Linux
> users, who usually hate super-long lines.
>
> One of TeXShop's best features is its simplicity. Please bear that in
> mind when considering feature requests. People who want a
> feature-loaded tool can always use iTexMac.
>
> Larry Paulson
>
>
> ----------------------------------------------------------------------
>
> Subject: Using an old GW TeX with Tiger
> From: "Musa Furber" <musaf at runbox.com>
> Date: Sat, 7 May 2005 20:09:41 +0300
>
> I haven't been able to update the larger i-Installer packages since
> April of 2004.
>
> If I update to Tiger, will I be able to use my existing i-Installer
>
> i-Installer packages is not a viable option.
>
> Tiger sounds great, but I will stick with 10.3 for the time being if
> Panther means breaking TeX.
>
> Regards,
> Musa
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] Using an old GW TeX with Tiger
> From: "Maarten Sneep" <maarten.sneep at xs4all.nl>
> Date: Sat, 7 May 2005 19:21:51 +0200
>
> On May 7, 2005, at 7:09 PM, Musa Furber wrote:
>
> > I haven't been able to update the larger i-Installer packages since
> > April of 2004.
> >
> > If I update to Tiger, will I be able to use my existing i-Installer
> >
> > of i-Installer packages is not a viable option.
> >
> > Tiger sounds great, but I will stick with 10.3 for the time being
> > if Panther means breaking TeX.
>
> As far as I know, there hasn't been an update to these packages since
> the release of Tiger, and they work just fine. However, your packages
> are now over a year old, and I'm not sure what other bugs have been
> fixed, and whether that particular version will work (no guarantees).
>
> Maarten
>
> ----------------------------------------------------------------------
>
> Subject: Screenplay on LaTeX
> From: "Benoit Favreault" <benoit at circuscowboy.com>
> Date: Sat, 7 May 2005 13:36:32 -0400
>
> Hello list,
>
> 	I remember vaguely having red on this forum about a package design to
> write screen (or theater) play. Does anybody can enlight me ?
>
> - - - - - - - - - - - - - - - - - - - - - -
> Benoit Favreault
> Chargé du cours DES 7016
> DESS en design d'événements
> École de design
> Université du Québec à Montréal
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] Sideways longtable
> From: "Piet van Oostrum" <piet at cs.uu.nl>
> Date: Sat, 07 May 2005 21:55:30 +0200
>
> >>>>> Alan Litchfield <alan at alphabyte.co.nz> (AL) wrote:
>
> >AL> Hi all,
> >AL> My apologies for the cross-post.
>
> >AL> I need to rotate a longtable by 90º. At the moment it covers about five
> >AL> pages. Any clues?
>
> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=landscape
> --
> Piet van Oostrum <piet at cs.uu.nl>
> URL: http://www.cs.uu.nl/~piet [PGP]
> Private email: piet at vanoostrum.org
>
> ----------------------------------------------------------------------
>
> Subject: Re: [OS X TeX] Spotlight importers
> From: "Maarten Sneep" <maarten.sneep at xs4all.nl>
> Date: Sat, 7 May 2005 22:07:05 +0200
>
> On May 3, 2005, at 4:06 PM, Adam R. Maxwell wrote:
>
> > No, the hidden directories (and others) aren't indexed by default,
> > unfortunately.  You may have to re-index /usr/local/teTeX after a
> > new install also; I'm not sure if the path filtering still applies
> > after you force indexing with mdimport -f.
>
> Apparently, you can add directories to be indexed. This is taken from
> the Ars-technical openforum, a post by John Siracusa (his review has
> been mentioned on this list before). A the very least it will allow
> you to check whether certain paths are explicitly excluded.
>
> John writes:
>
> > Spotlight is hard-coded to ignore certain dirs. You need to
> > override those settings. Edit this file:
> >
> > % sudo emacs /.Spotlight-V100/_rules.plist
> >
> >
> > and make it look something like this:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
> > www.apple.com/DTDs/PropertyList-1.0.dtd">
> > <plist version="1.0">
> > <dict>
> >          <key>EXCLUDE</key>
> >          <array/>
> >          <key>INCLUDE</key>
> >          <array>
> >              <string>/private</string>
> >              <string>/usr</string>
> >          </array>
> >          <key>NOTE</key>
> >          <string>Specify paths to include or exclude, preceeding
> > rules which target user-homes with ~/</string>
> > </dict>
> > </plist>
> >
> >
> > ...and so on, adding each directory you want to include. Then tell
> > Spotlight to reindex your drive:
> >
> > % sudo mdutil -E /
> >
> >
> > That should do it. (Note: I got this from a mailing list and
> > haven't actually tried it myself, but it looks sensible and safe to
> > me.)
>
> Maarten
>
> ----------------------------------------------------------------------
> 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: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
--------------------- 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: <mailto:MacOSX-TeX at email.esm.psu.edu>