# [OS X TeX] Translating LaTeX to Quark or InDesign

Mon Jul 2 18:58:40 EDT 2007

I haven't used Quark in ages, but both InDesign and Quark have/had
pseudo-XML markup tags that might do what you need. I think that
Quark called them XpressTags, and I see that InDesign 2.0 (I'm a
little behind the times here) allows me to export to a 'Tagged' file
as well as PDF. I remember creating a script that queried my old
company's LDAP server to retrieve new employees and then used the
retrieved details to generate a text file that could be imported
straight into Quark with all of the styles automatically applied to
make business cards (everything from page breaks to character styles).

I don't know if there's a macro to do this type of work (a variation
on the HTML one perhaps?) but if not there's always Perl to read
through a file and spit out a marked-up version of it if you define
some kind of mapping from LaTex to tagged text... I would think that
this would be a better way of getting to something that the printer
is happy with while not tearing your hair out going through Word,
especially if revisions are required.

HTH,

jon

On 30 Jun 2007, at 13:23, David R. Derbes wrote:

>
> First off, thanks to everyone who replied. I still haven't figured out
> what to do, but there are a couple of tools (MathType being one) that
> allegedly will convert LaTeX to Word with equations, and I can give
> these a try before spending a dime. We'll see.
>
> Next, can Stephen or another knowledgeable person tell me how well
> InDesign works with LaTeX? My wife, a fabric artist, wants us to
> invest in Adobe's Creative Suite (I can get a lot of stuff for
> the educational price of \$399, so this looks like something we will
> do shortly), and it includes InDesign.
>
> If I give the typesetter an InDesign file with equations, I think
> he can live with that. (He seems to be moving slowly to InDesign
> from Quark.) I really don't want to use Word (shudder).
>
> Best wishes, all, and thanks again.
>
> David Derbes
>
> On Sat, 30 Jun 2007, Stephen Moye wrote:
>
>> On Jun 29, 2007, at 8:51 PM, Wendy McKay wrote:
>>
>>> On Fri, 29 Jun 2007, David R. Derbes wrote:
>>>> It's a long story but I have retyped an old book (with quite a
>>>> lot of
>>>> math in it) so that a friend may republish it. As it happens, the
>>>> friend's typesetter uses mostly Quard Xpress,
>>> Is this of any use?
>>> http://www.extensionsworld.com/index-directory-quark-software-
>>> quarkxpress-xtension-335.html
>>> MathSetter brings high quality TeX mathematical typesetting
>>> capabilities to QuarkXPress. Equations are typed into a
>>> QuarkXPress document using TeX's markup languange:
>>
>> No, that is really not a possibility. Mathsetter, a Bluesky
>> Research product based on the Textures TeX engine, works only with
>> XPress version 4, which, in turn, runs only on Mac OS **9**. That
>> really isn't an option these days. Bluesky hasn't even gotten
>> Textures for OS X out the door in a final-release form, in spite
>> of years of effort.
>>
>>
>>
>> On Jun 30, 2007, at 3:34 AM, Axel E. Retif wrote:
>>> Indeed ---we have used it. MathSetter uses a TeX engine for
>>> formulas; literally TeX ---you have to type {1 \over 2}, not \frac
>>> {1}{2}. Unfortunately, MathSetter works only with Quark 3 or 4.
>>> Hard to find now.
>>
>> Well, you can use LaTeX with Mathsetter and type \frac{1}{2}, but
>> you need to have a LaTeX format file available to Mathsetter. That
>> was how "Notices of the American Mathematical Society" was
>> produced until we recently moved it to InDesign and TeXShop (hip
>> hip hooray!).
>>
>> The RTF-to-TeX converters are often more trouble than they are
>> worth: the cleanup of their output is often on a par with the
>> amount of effort needed to re-key the original, particularly if
>> there is a lot of math.
>>
>>
>> Stephen Moye
>>
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>>
>>
>>
>
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>

--
MPhil/PhD Town Planning

mobile: 0797.698.7392