From barr at math.mcgill.ca Sat Aug 1 03:09:44 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Fri, 31 Jul 2009 21:09:44 -0400 (EDT) Subject: [texhax] Making URLs live In-Reply-To: <200907312143.n6VLhSkA008007@strawberry.ncifcrf.gov> References: <200907312143.n6VLhSkA008007@strawberry.ncifcrf.gov> Message-ID: I will try the primer, but so far, adding the \htmladnormallink caused only error messages no matter where I put it. Without it, the links stayed dead. I will play with the primer and see what I can do. Michael On Fri, 31 Jul 2009, Tom Schneider wrote: > Michael: > >> Is there something simpler than hyperref that will make URLs live? I >> tried adding the hyperref package and got an error the first time it hit a >> \ref in my paper. I tried RTFM, but it was formidable and I am not >> interested in the options, only in getting live links. Is there anything >> simpler? > > \usepackage{html} > > and then > > \htmladdnormallink > {http://www.ccrnp.ncifcrf.gov/toms/delila/hgraph.html} > {http://www.ccrnp.ncifcrf.gov/toms/delila/hgraph.html}} > > works for me. > > See the example at > > http://www.ccrnp.ncifcrf.gov/~toms/papers/primer/ > > regards, > > Tom > > Dr. Thomas D. Schneider > National Institutes of Health > schneidt at mail.nih.gov > toms at alum.mit.edu (permanent) > http://alum.mit.edu/www/toms > From news3 at nililand.de Sat Aug 1 16:22:44 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Sat, 1 Aug 2009 16:22:44 +0200 Subject: [texhax] problem with bookmarks References: Message-ID: <1nk9qodwi6pzq$.dlg@nililand.de> Am Thu, 30 Jul 2009 22:10:42 -0600 schrieb Mancilla-David, Fernando: > Hello > > I am a new user of Latex and I have a simple question. > When I write an email in WinEdit, say "email at domain.com," and then > I convert the file into a .dvi and subsequently into a .pdf file > the email address in the .pdf file shows up with a bookmark i.e., > when I put the mouse over it shows a yellow box saying mailto: > email at domain.com and if I click on it, it opens my email program. > Do you know how I can get rid of this? That is, I want the email > email at domain.com to appear just a plain text, without any > bookmark. The Adobe reader is doing it, it makes links from text that looks like an URL. You can disable it in somewhere in the options (tab general, "make links from url" or something like that). -- Ulrike Fischer From daleif at imf.au.dk Sat Aug 1 18:50:00 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 01 Aug 2009 18:50:00 +0200 Subject: [texhax] Making URLs live In-Reply-To: References: Message-ID: <4A747238.9080407@imf.au.dk> Michael Barr wrote: > Is there something simpler than hyperref that will make URLs live? I > tried adding the hyperref package and got an error the first time it hit > a \ref in my paper. I tried RTFM, but it was formidable and I am not > interested in the options, only in getting live links. Is there > anything simpler? > > Michael Barr > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org hyperref is pretty standard. Have you tried deleting all the aux files and compile again, that usually solves the initial hyperref problems. /daleif From tom at oketchup.co.uk Sat Aug 1 18:58:17 2009 From: tom at oketchup.co.uk (Tom Sutch) Date: Sat, 1 Aug 2009 17:58:17 +0100 Subject: [texhax] combnat package: extra space in author-year textual citation In-Reply-To: <20090715224330.7c06bc4e@christina-desktop> References: <20090715224330.7c06bc4e@christina-desktop> Message-ID: <20090801175817.64502193@christina-desktop> On Wed, 15 Jul 2009 22:43:30 +0100 Tom Sutch wrote: > I am preparing conference proceedings using the combine package, and > using the combnat package (which is the combine-compatible version of > natbib) for the bibliographic referencing. It is working really well > on the whole, but I have a small issue with an unwanted extra space > being inserted after the year when I use \citet. > > So while \citep{foo1962} gives "(Foo and Bar, 1962)" as desired, > \citet gives "Foo and Bar (1962 )". An update on this. I have hacked around with combnat.sty in a brute-force manner and found that if I comment out line 341 it works, although not for the case where there's more than one citation in the brackets (fortunately I don't have too many of these so I can manually rewrite them). It doesn't look like combnat.sty has been changed for a while, so I would imagine people have the same version, but just in case the context of 341 is: 339 \if\relax\NAT at date\relax\def\@citea{\NAT at sep\ }% 340 \else 341 \def\@citea{\NAT@@close\NAT at sep\ } 342 \fi I doubt the cause of this problem is this line itself - I would guess it's something to do with the general treatment of multiple citations, which need separation and a space between years, not being modified properly for the case of single citations. I tried comparing with the equivalent code in natbib.sty but nothing jumped out. This is only an ugly hack, rather than a solution, of course, but it is sufficient for my purposes now and I hope that this (a) helps someone cleverer than me to find where the problem is, or (b) helps someone who comes across this problem in future to get round it. From pstricks at tug.org Sat Aug 1 10:31:03 2009 From: pstricks at tug.org (Hubert Lam) Date: Sat, 01 Aug 2009 18:31:03 +1000 Subject: [texhax] Making URLs live In-Reply-To: References: <200907312143.n6VLhSkA008007@strawberry.ncifcrf.gov> Message-ID: <1249115463.723.1327807093@webmail.messagingengine.com> I'm not sure whether the url package has been mentioned? \usepackage{hyperref,url} \begin{document} \url{http://www.tug.org} \end{document} On Fri, 31 Jul 2009 21:09 -0400, "Michael Barr" wrote: > I will try the primer, but so far, adding the \htmladnormallink caused > only error messages no matter where I put it. Without it, the links > stayed dead. I will play with the primer and see what I can do. > > Michael > From Herbert.Voss at FU-Berlin.DE Sat Aug 1 22:44:58 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 01 Aug 2009 22:44:58 +0200 Subject: [texhax] Making URLs live In-Reply-To: <1249115463.723.1327807093@webmail.messagingengine.com> References: <200907312143.n6VLhSkA008007@strawberry.ncifcrf.gov> <1249115463.723.1327807093@webmail.messagingengine.com> Message-ID: <4A74A94A.2040803@FU-Berlin.DE> Hubert Lam schrieb: > I'm not sure whether the url package has been mentioned? > > \usepackage{hyperref,url} url is loaded by default by hyperref Herbert From barr at math.mcgill.ca Sun Aug 2 16:54:41 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Sun, 2 Aug 2009 10:54:41 -0400 (EDT) Subject: [texhax] Making URLs live (fwd) Message-ID: After a private exchange with Lars Madsen over my question, in which he asked me to post a minimal example, here it is. I am using Miktex, v. 2.7 on a Win XP machine, using whatever version of dvipdfm that came with that installation (from a TeX-Live DVD). --M ---------- Forwarded message ---------- Date: Sun, 2 Aug 2009 08:34:29 -0400 (EDT) From: Michael Barr To: Lars Madsen Subject: Re: [texhax] Making URLs live A minimal example: \documentclass{article} \usepackage{html} \begin{document} \begin{thebibliography}{} \bibitem[Barr (1998)]{sepext} M. Barr, The separated extensional Chu category (1998). 127--137. \htmladdnormallink {ftp://ftp.math.mcgill.ca/pub/barr/pdffiles/bbr.pdf} {ftp://ftp.math.mcgill.ca/pub/barr/pdffiles/bbr.pdf} \end{thebibliography} Incidentaly, I tried changing ftp:// to http://, but the results were the same--no live links. As I said, running the dvipdfm produced many error messages. Here is a small sample: Ignoring remaining special text following unknown PS operator: "SDict" Remainder of line unparsed. Current input buffer is -->begin [ /Producer (dvips + Distiller) /Title () /S. <-- Unrecognized special ignored Current input buffer is -->! /DvipsToPDF{72.27 mul Resolution div} def/PDFToD. <-- Ignoring remaining special text following unknown PS operator: "SDict" Remainder of line unparsed. Current input buffer is -->begin /product where{pop product(Distiller)search{. <-- and many, many more like that. --M On Sun, 2 Aug 2009, Lars Madsen wrote: > Quoting Michael Barr : > > > When I did that, it compiled fine, but neither the dvi files nor the > > resultant pdf file (using dvipdfm, which gave a raft of error messages) > > had a live link. > > > > --M > > > > then please post a minimal example, hard to help without it > > /daleif > From uwe.lueck at web.de Sun Aug 2 17:59:19 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 02 Aug 2009 17:59:19 +0200 Subject: [texhax] Font Mapping In-Reply-To: Message-ID: <5.1.0.14.0.20090802175541.026f8ec0@pop3.web.de> At 03:03 23.07.09, wawan wrote: >Can I map 2 chars in keyboard refer to 1 char in font table ?. Ex I write >"HI: in .tex document then the result is char32 after compilation .. It seems to me that you are speaking of ligatures. They must be declared in the metafont source, I think. I do not know about virtual fonts which may be an alternative. HTH -- Uwe. From pierre.mackay at comcast.net Sun Aug 2 18:58:31 2009 From: pierre.mackay at comcast.net (pierre.mackay at comcast.net) Date: Sun, 2 Aug 2009 16:58:31 +0000 (UTC) Subject: [texhax] Font Mapping In-Reply-To: <5.1.0.14.0.20090802175541.026f8ec0@pop3.web.de> Message-ID: <642178261.7537131249232310940.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> ----- Original Message ----- From: "Uwe L?ck" To: "wawan" , texhax at tug.org Sent: Monday, August 3, 2009 11:59:19 AM (GMT-0300) Auto-Detected Subject: Re: [texhax] Font Mapping At 03:03 23.07.09, wawan wrote: >Can I map 2 chars in keyboard refer to 1 char in font table ?. Ex I write >"HI: in .tex document then the result is char32 after compilation .. It seems to me that you are speaking of ligatures. They must be declared in the metafont source, I think. I do not know about virtual fonts which may be an alternative. Virtual font are indeed the answer. Combined with the extended ligaturing formulae in PL and TFM, they can do an astonishing job of creating composite characters, though I have never tried to emulate DEK's special trick of allowing the dissolution of ligatures for line breaking. This would be a good way of reintroducing the typesetting refinements from the U+Exxx pages of Unicode into text. Ligaturing through the TFM mechanisms is how the post-positive accentuation of Ibycus is managed. Pierre MacKa y -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.schwartz at imperial.ac.uk Sun Aug 2 20:18:57 2009 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Sun, 02 Aug 2009 19:18:57 +0100 Subject: [texhax] Making URLs live (fwd) In-Reply-To: References: Message-ID: <1249237137.4693.5.camel@sony-sjs> Michael, For what it's worth, I tried your minimal example on my linux system (texlive2008) - the html.sty is html.sty,v 1.39 2001/10/01 which is what came with my linux distribution I think. I tried various things: pdflatex latex + kdvi viewer dvipdf dvipdfm ALL gave live links except dvipdfm. It is possible whatever dvi viewer you use doesn't support links. Steve On Sun, 2009-08-02 at 15:54 +0100, Michael Barr wrote: > After a private exchange with Lars Madsen over my question, in which he > asked me to post a minimal example, here it is. > > I am using Miktex, v. 2.7 on a Win XP machine, using whatever version of > dvipdfm that came with that installation (from a TeX-Live DVD). > > --M > > > ---------- Forwarded message ---------- > Date: Sun, 2 Aug 2009 08:34:29 -0400 (EDT) > From: Michael Barr > To: Lars Madsen > Subject: Re: [texhax] Making URLs live > > A minimal example: > > \documentclass{article} > \usepackage{html} > > \begin{document} > > \begin{thebibliography}{} > > \bibitem[Barr (1998)]{sepext} M. Barr, The separated extensional Chu > category (1998). 127--137. > \htmladdnormallink > {ftp://ftp.math.mcgill.ca/pub/barr/pdffiles/bbr.pdf} > {ftp://ftp.math.mcgill.ca/pub/barr/pdffiles/bbr.pdf} > > \end{thebibliography} > > Incidentaly, I tried changing ftp:// to http://, but the results were the > same--no live links. > > As I said, running the dvipdfm produced many error messages. Here is a small > sample: > > Ignoring remaining special text following unknown PS operator: "SDict" > > Remainder of line unparsed. > Current input buffer is -->begin [ /Producer (dvips + Distiller) /Title () /S. > > <-- > > Unrecognized special ignored > Current input buffer is -->! /DvipsToPDF{72.27 mul Resolution div} def/PDFToD. > > <-- > > Ignoring remaining special text following unknown PS operator: "SDict" > > Remainder of line unparsed. > Current input buffer is -->begin /product where{pop product(Distiller)search{. > > <-- > > and many, many more like that. > > --M > > On Sun, 2 Aug 2009, Lars Madsen wrote: > > > Quoting Michael Barr : > > > > > When I did that, it compiled fine, but neither the dvi files nor the > > > resultant pdf file (using dvipdfm, which gave a raft of error messages) > > > had a live link. > > > > > > --M > > > > > > > then please post a minimal example, hard to help without it > > > > /daleif > > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Head, Space & Atmospheric Physics Fax: +44-(0)20-7594-7900 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 711A London SW7 2AZ, U.K. Web: www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From barr at math.mcgill.ca Mon Aug 3 01:01:39 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Sun, 2 Aug 2009 19:01:39 -0400 (EDT) Subject: [texhax] Making URLs live (fwd) In-Reply-To: <1249237137.4693.5.camel@sony-sjs> References: <1249237137.4693.5.camel@sony-sjs> Message-ID: dvipdfm is independent of the dvi viewer. So it seems that neither yap nor dvipdfm supports live links. I will try pdflatex. --M On Sun, 2 Aug 2009, Steve Schwartz wrote: > Michael, > > For what it's worth, I tried your minimal example on my linux system > (texlive2008) - the html.sty is html.sty,v 1.39 2001/10/01 which is what > came with my linux distribution I think. > > I tried various things: > > pdflatex > latex + kdvi viewer > dvipdf > dvipdfm > > ALL gave live links except dvipdfm. It is possible whatever dvi viewer > you use doesn't support links. > > Steve > > On Sun, 2009-08-02 at 15:54 +0100, Michael Barr wrote: >> After a private exchange with Lars Madsen over my question, in which he >> asked me to post a minimal example, here it is. >> >> I am using Miktex, v. 2.7 on a Win XP machine, using whatever version of >> dvipdfm that came with that installation (from a TeX-Live DVD). >> >> --M >> >> >> ---------- Forwarded message ---------- >> Date: Sun, 2 Aug 2009 08:34:29 -0400 (EDT) >> From: Michael Barr >> To: Lars Madsen >> Subject: Re: [texhax] Making URLs live >> >> A minimal example: >> >> \documentclass{article} >> \usepackage{html} >> >> \begin{document} >> >> \begin{thebibliography}{} >> >> \bibitem[Barr (1998)]{sepext} M. Barr, The separated extensional Chu >> category (1998). 127--137. >> \htmladdnormallink >> {ftp://ftp.math.mcgill.ca/pub/barr/pdffiles/bbr.pdf} >> {ftp://ftp.math.mcgill.ca/pub/barr/pdffiles/bbr.pdf} >> >> \end{thebibliography} >> >> Incidentaly, I tried changing ftp:// to http://, but the results were the >> same--no live links. >> >> As I said, running the dvipdfm produced many error messages. Here is a small >> sample: >> >> Ignoring remaining special text following unknown PS operator: "SDict" >> >> Remainder of line unparsed. >> Current input buffer is -->begin [ /Producer (dvips + Distiller) /Title () /S. >> >> <-- >> >> Unrecognized special ignored >> Current input buffer is -->! /DvipsToPDF{72.27 mul Resolution div} def/PDFToD. >> >> <-- >> >> Ignoring remaining special text following unknown PS operator: "SDict" >> >> Remainder of line unparsed. >> Current input buffer is -->begin /product where{pop product(Distiller)search{. >> >> <-- >> >> and many, many more like that. >> >> --M >> >> On Sun, 2 Aug 2009, Lars Madsen wrote: >> >>> Quoting Michael Barr : >>> >>>> When I did that, it compiled fine, but neither the dvi files nor the >>>> resultant pdf file (using dvipdfm, which gave a raft of error messages) >>>> had a live link. >>>> >>>> --M >>>> >>> >>> then please post a minimal example, hard to help without it >>> >>> /daleif >>> >> >> _______________________________________________ >> TeX FAQ: http://www.tex.ac.uk/faq >> Mailing list archives: http://tug.org/pipermail/texhax/ >> More links: http://tug.org/begin.html >> >> Automated subscription management: http://tug.org/mailman/listinfo/texhax >> Human mailing list managers: postmaster at tug.org > From reinhard.kotucha at web.de Mon Aug 3 02:29:56 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 3 Aug 2009 02:29:56 +0200 Subject: [texhax] Making URLs live (fwd) In-Reply-To: References: <1249237137.4693.5.camel@sony-sjs> Message-ID: <19062.12164.365994.462491@zaphod.ms25.net> On 2 August 2009 Michael Barr wrote: > I will try pdflatex. This is certainly the best thing you can do. But be aware that not all PDF viewers support everything. If in doubt, use Adobe Reader. pdftex produces valid PDF, at least. This is all it can do. Many PDF viewers only support a subset of the PDF (ISO 32000) standard. I say this because Steve tested different viewers. This shouldn't be necessary because if a particular viewer doesn't support hyperlinks, for example, then neither pdftex nor dvips can provide a workaround. They both just produce valid PDF and that's all they can do. It's suffficient to use Adobe Reader for testing. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From pc88mxer at gmail.com Sun Aug 2 20:59:40 2009 From: pc88mxer at gmail.com (E R) Date: Sun, 2 Aug 2009 13:59:40 -0500 Subject: [texhax] fonts for maximal Unicode coverage? Message-ID: <3a69fa7c0908021159n3782ba08k59288c5b6d740abc@mail.gmail.com> Hi, I hope this is the right forum to ask this question... I am using tetex on Linux Centos, and I was wondering which fonts I should use to support as many Unicode characters as possible. For instance, the CMR family doesn't seem to support code point U+00A2 (the inverted exclamation point.) My test document for this is: \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \begin{document} ...code-point for U+00A2... \end{document} I am aiming for maximal coverage of code-points used for Western languages + Cyrillic. Thanks! ER From news3 at nililand.de Mon Aug 3 10:38:17 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Mon, 3 Aug 2009 10:38:17 +0200 Subject: [texhax] fonts for maximal Unicode coverage? References: <3a69fa7c0908021159n3782ba08k59288c5b6d740abc@mail.gmail.com> Message-ID: <1la2n1wgf55yz.dlg@nililand.de> Am Sun, 2 Aug 2009 13:59:40 -0500 schrieb E R: > Hi, > > I hope this is the right forum to ask this question... > > I am using tetex on Linux Centos, and I was wondering which fonts I > should use to support as many Unicode characters as possible. > > For instance, the CMR family doesn't seem to support code point U+00A2 > (the inverted exclamation point.) U+00A2 is the cent sign. 00A1 is exclam down. Both are accessible with textcomp: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{textcomp} \begin{document} \textcent \textexclamdown \end{document} -- Ulrike Fischer From news3 at nililand.de Mon Aug 3 10:49:32 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Mon, 3 Aug 2009 10:49:32 +0200 Subject: [texhax] Making URLs live (fwd) References: Message-ID: <1wys8z9bsnntn.dlg@nililand.de> Am Sun, 2 Aug 2009 10:54:41 -0400 (EDT) schrieb Michael Barr: > After a private exchange with Lars Madsen over my question, in which he > asked me to post a minimal example, here it is. > > I am using Miktex, v. 2.7 on a Win XP machine, using whatever version of > dvipdfm that came with that installation (from a TeX-Live DVD). > A minimal example: > > \documentclass{article} > \usepackage{html} ... > As I said, running the dvipdfm produced many error messages. Here is a small > sample: html.sty is loading hyperref, and with latex hyperref use the dvips-driver as a default: *hyperref using default driver hdvips* This is naturally the wrong driver for dvipdfm(x). I don't think that html has an option to pass another option to hyperref, but you can simply load hyperref before: \usepackage[dvipdfm]{hyperref} \usepackage{html} -- Ulrike Fischer From barr at math.mcgill.ca Mon Aug 3 15:13:45 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Mon, 3 Aug 2009 09:13:45 -0400 (EDT) Subject: [texhax] Making URLs live (fwd) In-Reply-To: <19062.12164.365994.462491@zaphod.ms25.net> References: <1249237137.4693.5.camel@sony-sjs> <19062.12164.365994.462491@zaphod.ms25.net> Message-ID: Just for the record, I use the Adobe reader. On Mon, 3 Aug 2009, Reinhard Kotucha wrote: > On 2 August 2009 Michael Barr wrote: > > > I will try pdflatex. > > This is certainly the best thing you can do. But be aware that not > all PDF viewers support everything. If in doubt, use Adobe Reader. > > pdftex produces valid PDF, at least. This is all it can do. Many PDF > viewers only support a subset of the PDF (ISO 32000) standard. > > I say this because Steve tested different viewers. This shouldn't be > necessary because if a particular viewer doesn't support hyperlinks, > for example, then neither pdftex nor dvips can provide a workaround. > They both just produce valid PDF and that's all they can do. It's > suffficient to use Adobe Reader for testing. > > Regards, > Reinhard > > From barr at math.mcgill.ca Mon Aug 3 15:29:57 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Mon, 3 Aug 2009 09:29:57 -0400 (EDT) Subject: [texhax] Live links Message-ID: Using pdflatex worked perfectly. Thanks to all who answered. --MB From Arno.Trautmann at gmx.de Mon Aug 3 15:45:26 2009 From: Arno.Trautmann at gmx.de (Arno Trautmann) Date: Mon, 03 Aug 2009 15:45:26 +0200 Subject: [texhax] package option with arguments Message-ID: <4A76E9F6.8090600@gmx.de> Hi! I?m trying to set up a package that has one optional argument. This option can have several values that can be combined, like \usepackage[exclude={greek,math}]{package} Later I want to check if the argument has a certain string in it, in this case e.g. if ?greek? is given. I tried it with \in@ but had no success. This is my code: \DeclareOptionX{exclude}{\def\excludeoptions{#1}} \ProcessOptionsX \in@{greek}{\excludeoptions} \ifin@ \AtBeginDocument{greek is in}\fi I use xkeyval for option processing. \excludeoptions contains the expected string, but I did not manage to get a true \ifin@, no matter how I used \expandafter or similar things. Is this a total wrong way to do the task? Is there a tool that does it less low-leve? I am totally clueless at the moment :( cheers Arno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: From joseph.wright at morningstar2.co.uk Mon Aug 3 20:26:33 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Mon, 03 Aug 2009 19:26:33 +0100 Subject: [texhax] package option with arguments In-Reply-To: <4A76E9F6.8090600@gmx.de> References: <4A76E9F6.8090600@gmx.de> Message-ID: <4A772BD9.6050905@morningstar2.co.uk> Arno Trautmann wrote: > Hi! > > I?m trying to set up a package that has one optional argument. This > option can have several values that can be combined, like > > \usepackage[exclude={greek,math}]{package} > > Later I want to check if the argument has a certain string in it, in > this case e.g. if ?greek? is given. I tried it with \in@ but had no > success. This is my code: > > \DeclareOptionX{exclude}{\def\excludeoptions{#1}} > \ProcessOptionsX > > \in@{greek}{\excludeoptions} > \ifin@ \AtBeginDocument{greek is in}\fi > > I use xkeyval for option processing. > \excludeoptions contains the expected string, but I did not manage to > get a true \ifin@, no matter how I used \expandafter or similar things. > > Is this a total wrong way to do the task? Is there a tool that does it > less low-leve? I am totally clueless at the moment :( > > cheers > Arno Is something like (I'm assuming e-TeX): \def\package at test@exclude{% \@for\@tempa:=\excludeoptions\do{% \ifcsname package at option@\@tempa\endcsname \@nameuse{package at option@\@tempa}% \fi }% } \ifx\excludeoptions\@emtpy\else \expandafter\package at test@exclude \fi a possible? This of course assumes each potential exclusion is created as a macro. (You could then trap unknowns by, for example, using something else in place of \@tempa and ensuring that each option will clear it, so if after the \do loop there is still something in the variable then it's not been matched.) -- Joseph Wright From brandon at 301south.net Tue Aug 4 02:18:23 2009 From: brandon at 301south.net (Brandon Kuczenski) Date: Mon, 3 Aug 2009 17:18:23 -0700 (PDT) Subject: [texhax] pstricks-add dependencies Message-ID: Hello all, I am trying to get the new pstricks-add to work;;; I'm running Ubuntu, which uses the ancient, out-of-date 2007.dfsg.8 version of texlive-pstricks, and the version of pstricks-add included (2.82, 2006/11/22) lacks a number of new features. I have installed the newest pstricks-add package from ctan, but that has caused some breakages. At this point, it finds an "Undefined control sequence" in \psDEBUG, but surely there will be others. I'd prefer not to update my entire tex tree by hand- can someone point me to the relevant packages I need to update? Thanks in advance.. Brandon From Herbert.Voss at FU-Berlin.DE Tue Aug 4 09:02:37 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 04 Aug 2009 09:02:37 +0200 Subject: [texhax] pstricks-add dependencies In-Reply-To: References: Message-ID: <4A77DD0D.1090801@FU-Berlin.DE> Brandon Kuczenski schrieb: > Hello all, > > I am trying to get the new pstricks-add to work;;; I'm running Ubuntu, > which uses the ancient, out-of-date 2007.dfsg.8 version of > texlive-pstricks, and the version of pstricks-add included (2.82, > 2006/11/22) lacks a number of new features. > > I have installed the newest pstricks-add package from ctan, but that has > caused some breakages. At this point, it finds an "Undefined control > sequence" in \psDEBUG, but surely there will be others. I'd prefer not > to update my entire tex tree by hand- can someone point me to the > relevant packages I need to update? you should update the complete PSTricks files. You'll find all files here in TDS compatible structure http://archiv/dante.de/~herbert/PSTricks-TDS.tgz http://archiv/dante.de/~herbert/PSTricks-TDS/ or write \def\psDEBUG[#1]#2{} into the preamble. Herbert From uwe.lueck at web.de Tue Aug 4 21:53:29 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 04 Aug 2009 21:53:29 +0200 Subject: [texhax] two columns with vertical rule In-Reply-To: <4A27AA3E.3030108@e-press.co.ma> Message-ID: <5.1.0.14.0.20090804215225.02802630@pop3.web.de> At 13:04 04.06.09, Mohamed HOUSSNI wrote: >Please is there a style except "multicol.sty" to separate 2 columns with a >vertical rule in LaTeX. www.ctan.org/pkg/cuted Sorry to be late -- Uwe L. From uwe.lueck at web.de Tue Aug 4 21:59:32 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 04 Aug 2009 21:59:32 +0200 Subject: [texhax] Using .png, .jpg, .gif In-Reply-To: <4A4C2CE0.1000509@eyremail.net> Message-ID: <5.1.0.14.0.20090804215411.02803430@pop3.web.de> Hi, ----- At 05:43 02.07.09, Beverley Eyre wrote: ----- > I've been playing with the graphicx package trying to figure out > how to easily use non-postscript images in a latex doc. > I know that I could use pdflatex, but then I'd have the inverse problem. (There was http://tug.org/mailman/htdig/texhax/2009-July/012860.html on this list on this theme.) > I want a universal solution. > > I'd like to get \DeclareGraphicsRule to work, but it seems more trouble > to use than just converting each image file by hand. > > For example, if I want to use a .png file: > \DeclareGraphicsExtensions{.png, .eps} > \DeclareGraphicsRule{.png}{eps}{*}{`convert #1} > %% (the last arg I've done in many different ways, e.g. {`convert #1 eps:- } ) > > then, in the body: > > \includegraphics[width=1in]{myimage} %% (which is myimage.png) If it were that simple, namely the method to read .eps worked as well with .jpg etc., this would have been provided by the graphics bundle for more than 10 years. It is not -- of course. LaTeX can read the dimensions from an .eps because this information is contained in an .eps as a plain text line -- in those other files such information is encrypted in a binary way. Extracting it using "ordinary" TeX would require emulating real graphics software by TeX macros. This might (I am still not perfectly informed, please correct me) include emulating unzip by TeX macros -- an idea I like much; but there is an essential limitation: TeX's buffer size. There is a chance that the graphics file is too large and has too few "endline" bytes to be bitable for TeX. I have now collected some relevant things from the UK TeX FAQ (searched for `png' and `jpg'). While in a parallel thread epstopdf and using PDFLaTeX rather than "ordinary" LaTeX was recommended, one may still prefer "ordinary" LaTeX, perhaps because one's DVI viewer shows the page one is editing more reliably than your PDF viewer (cf. pdfsync package). There are some nice extensions to the graphics bundle: 1. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dvipsgraphics -- some tools converting to eps, general: ImageQuick's `convert', cf. http://www.imagemagick.org/script/command-line-processing.php (Was mentioned in the original posting, included here for other readers.) 2. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dvipdfmgraphics -- a utility ebb extracting bounding boxes! -- part of dvipdfm package, cf. p. 20 of http://tug.ctan.org/tex-archive/dviware/dvipdfm/dvipdfm.pdf \par May be related, too: 3. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=unkgrfextn 4. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdftexgraphics HTH -- Uwe L. ----- Originalnachricht ----- Gesendet: 2009/07/02 05:43:28 Betreff: [texhax] Using .png, .jpg, .gif Hi all. I've been playing with the graphicx package trying to figure out how to easily use non-postscript images in a latex doc. I know that I could use pdflatex, but then I'd have the inverse problem. I want a universal solution. I'd like to get \DeclareGraphicsRule to work, but it seems more trouble to use than just converting each image file by hand. For example, if I want to use a .png file: \DeclareGraphicsExtensions{.png, .eps} \DeclareGraphicsRule{.png}{eps}{*}{`convert #1} %% (the last arg I've done in many different ways, e.g. {`convert #1 eps:- } ) then, in the body: \includegraphics[width=1in]{myimage} %% (which is myimage.png) I get an error msg telling me that I there is no bounding box. So in order to use it, I have to determine the bounding box for the image first, and then include that info into one or the other command. But, if I just do: > convert myimage.png myimage.eps on the command line, it converts it without having to know the bounding box info. I'm not sure why convert needs the bounding box info in one case (latex) but not the other (command line). So, I'm not really getting the point of \DeclareGraphicsRule since using it is much more trouble than converting by hand. Which brings me back to my point, is there any easy way to use non-postscript images in a latex doc? My best guess at this point is no, and the only way forward is to re-write some of the graphicx commands to that they can use the bounding box info generated by 'convert' or some other conversion program. TIA for any help or discussion. Beverley Eyre From uwe.lueck at web.de Wed Aug 5 08:38:50 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 05 Aug 2009 08:38:50 +0200 Subject: [texhax] Using .png, .jpg, .gif In-Reply-To: <4A4C2CE0.1000509@eyremail.net> Message-ID: <5.1.0.14.0.20090805081035.026e4ad0@pop3.web.de> Bev, sorry, I did not pay proper attention to the aspect of your posting concerning `convert' in \DeclareGraphicsRule: At 05:43 02.07.09, Beverley Eyre wrote: >I'd like to get \DeclareGraphicsRule to work, but it seems more trouble to >use than just converting each image file by hand. > >For example, if I want to use a .png file: >\DeclareGraphicsExtensions{.png, .eps} >\DeclareGraphicsRule{.png}{eps}{*}{`convert #1} %% (the last arg I've >done in many different ways, e.g. {`convert #1 eps:- } ) > >then, in the body: > >\includegraphics[width=1in]{myimage} %% (which is myimage.png) > >I get an error msg telling me that I there is no bounding box. So in order >to use it, I have to determine the bounding box for the image first, and >then include that info into one or the other command. But, if I just do: > > > convert myimage.png myimage.eps > >on the command line, it converts it without having to know the bounding >box info. I'm not sure why convert needs the bounding box info in one case >(latex) but not the other (command line). It is important to recognize that importing a graphics file with LaTeX has two parts: 1. the LaTeX run (building a .dvi), 2. previewing or printing (executing \special commands from the .dvi). The LaTeX run only needs to know the dimensions of the image. This is where the famous `bounding box' error occurs. LaTeX does not care about other contents of the graphics file. This other content is only used at getting visible output from the .dvi. The command in the fourth argument is only used at the second step, creating a screen display or printout from the .dvi. This is too late to tell LaTeX the bounding box info! Repeating: >But, if I just do: > > > convert myimage.png myimage.eps > >on the command line, it converts it without having to know the bounding >box info. It is wrong to say `convert' doesn't need knowledge of the bounding box. The truth is that `convert' is able to extract the bounding box information from myimage.png while LaTeX is not. > I'm not sure why convert needs the bounding box info in one case (latex) > but not the other (command line). It is also wrong to say `convert' needs the bounding box info `in the LaTeX case'. The error message comes from LaTeX when it looks for that info in building the .dvi. As I said, `convert' is not involved at this first step. HTH -- Uwe. From uwe.lueck at web.de Wed Aug 5 09:22:09 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 05 Aug 2009 09:22:09 +0200 Subject: [texhax] Using .png, .jpg, .gif In-Reply-To: <5.1.0.14.0.20090805081035.026e4ad0@pop3.web.de> References: <4A4C2CE0.1000509@eyremail.net> Message-ID: <5.1.0.14.0.20090805092048.026d5e30@pop3.web.de> Supplement: `The command in the fourth argument' meant `The command in the fourth argument of \DeclareGraphicsRule.' -- Uwe. At 08:38 05.08.09, Uwe L?ck wrote: >Bev, > >sorry, I did not pay proper attention to the aspect of your posting >concerning `convert' in \DeclareGraphicsRule: > >At 05:43 02.07.09, Beverley Eyre wrote: >>I'd like to get \DeclareGraphicsRule to work, but it seems more trouble >>to use than just converting each image file by hand. >> >>For example, if I want to use a .png file: >>\DeclareGraphicsExtensions{.png, .eps} >>\DeclareGraphicsRule{.png}{eps}{*}{`convert #1} %% (the last arg >>I've done in many different ways, e.g. {`convert #1 eps:- } ) >> >>then, in the body: >> >>\includegraphics[width=1in]{myimage} %% (which is myimage.png) >> >>I get an error msg telling me that I there is no bounding box. So in >>order to use it, I have to determine the bounding box for the image >>first, and then include that info into one or the other command. But, >>if I just do: >> >> > convert myimage.png myimage.eps >> >>on the command line, it converts it without having to know the bounding >>box info. I'm not sure why convert needs the bounding box info in one >>case (latex) but not the other (command line). > >It is important to recognize that importing a graphics file with LaTeX has >two parts: 1. the LaTeX run (building a .dvi), 2. previewing or printing >(executing \special commands from the .dvi). > >The LaTeX run only needs to know the dimensions of the image. This is >where the famous `bounding box' error occurs. LaTeX does not care about >other contents of the graphics file. This other content is only used at >getting visible output from the .dvi. > >The command in the fourth argument is only used at the second step, >creating a screen display or printout from the .dvi. This is too late to >tell LaTeX the bounding box info! > >Repeating: > >>But, if I just do: >> >> > convert myimage.png myimage.eps >> >>on the command line, it converts it without having to know the bounding >>box info. > >It is wrong to say `convert' doesn't need knowledge of the bounding box. >The truth is that `convert' is able to extract the bounding box >information from myimage.png while LaTeX is not. > >> I'm not sure why convert needs the bounding box info in one case >> (latex) but not the other (command line). > >It is also wrong to say `convert' needs the bounding box info `in the >LaTeX case'. The error message comes from LaTeX when it looks for that >info in building the .dvi. As I said, `convert' is not involved at this >first step. > >HTH -- Uwe. > >_______________________________________________ >TeX FAQ: http://www.tex.ac.uk/faq >Mailing list archives: http://tug.org/pipermail/texhax/ >More links: http://tug.org/begin.html > >Automated subscription management: http://tug.org/mailman/listinfo/texhax >Human mailing list managers: postmaster at tug.org From uwe.lueck at web.de Wed Aug 5 11:58:34 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 05 Aug 2009 11:58:34 +0200 Subject: [texhax] Inter-sentence space with amsthm In-Reply-To: <4A4027CA.4080000@gmail.com> Message-ID: <5.1.0.14.0.20090805112756.0290d740@pop3.web.de> Sorry for answering late. At 02:54 23.06.09, Joel C. Salomon wrote: >I'm playing with amsthm, and want to define a theorem style like: > Example:**To avoid lithobraking, most rockets... > where the '**' is the wide space TeX puts between sentences. > >The eight[th] argument to \newtheoremstyle is the "head space"; and I know >I can give it an explicit (inter-word) space, '\newline', or a dimension >like 0.5em. But what is the size of the inter-sentence space? It is described on pp. 75 of the TeXbook. With \frenchspacing, you get inter-sentence space just by ' ' or ''\space', i.e., inter-sentence space doesn't differ from inter-word space. With \nonfrenchspacing, you get the inter-sentence space the same way as before, if the current \spacefactor is 3000, so just precede the same space with '\spacefactor=3000\relax\space' ('\ ' in place of '\space' doesn't work). More generally, one might /define/ inter-sentence space as the horizontal glue that is inserted after the dot of '\spacefactor=1000. ' (arguing that `. ' is the "definitive sentence delimiter"). In this sense the space is obtained by '\spacefactor=\sfcode`\. '. (Note the space after '\.'. Not tested.) HTH -- Uwe Lueck. From uwe.lueck at web.de Wed Aug 5 13:17:17 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 05 Aug 2009 13:17:17 +0200 Subject: [texhax] Inter-sentence space with amsthm Message-ID: <5.1.0.14.0.20090805131212.02918750@pop3.web.de> [Please ignore previous, too many errors, partially due to Arial. I use single right quotes on both sides for quoting here because the original posting used this style. That's important with '\sfcode`\.'!] At 02:54 23.06.09, Joel C. Salomon wrote: >I'm playing with amsthm, and want to define a theorem style like: > Example:**To avoid lithobraking, most rockets... > where the '**' is the wide space TeX puts between sentences. > >The eight[th] argument to \newtheoremstyle is the "head space"; and I know >I can give it an explicit (inter-word) space, '\newline', or a dimension >like 0.5em. But what is the size of the inter-sentence space? It is described on pp. 75f. of the TeXbook. With '\frenchspacing', you get inter-sentence space just by ' ' or '\space', i.e., inter-sentence space doesn't differ from inter-word space. With '\nonfrenchspacing', you get the inter-sentence space the same way as before, if the current \spacefactor is 3000, so just precede the same space with '\spacefactor=3000' ... however: not so easy ... better type: '\spacefactor=3000\relax\space' ('\ ' in place of '\space' doesn't work). More generally, one might /define/ inter-sentence space as the horizontal glue that is inserted after the dot of '\spacefactor=1000. ' (arguing that '. ' is the "definitive sentence delimiter"). In this sense the space is obtained by '\spacefactor=\sfcode`\. '. (Note the space after '\.'. Not tested.) HTH -- Uwe Lueck. From pierre.mackay at comcast.net Wed Aug 5 14:30:23 2009 From: pierre.mackay at comcast.net (pierre.mackay at comcast.net) Date: Wed, 5 Aug 2009 12:30:23 +0000 (UTC) Subject: [texhax] Inter-sentence space with amsthm In-Reply-To: <5.1.0.14.0.20090805131212.02918750@pop3.web.de> Message-ID: <225675453.8550101249475423384.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> ----- Original Message ----- From: "Uwe L?ck" To: "Joel C. Salomon" , "texhax" Sent: Thursday, August 6, 2009 7:17:17 AM (GMT-0300) Auto-Detected Subject: Re: [texhax] Inter-sentence space with amsthm [Please ignore previous, too many errors, partially due to Arial. I use single right quotes on both sides for quoting here because the original posting used this style. That's important with '\sfcode`\.'!] At 02:54 23.06.09, Joel C. Salomon wrote: >I'm playing with amsthm, and want to define a theorem style like: > Example:**To avoid lithobraking, most rockets... > where the '**' is the wide space TeX puts between sentences. > >The eight[th] argument to \newtheoremstyle is the "head space"; and I know >I can give it an explicit (inter-word) space, '\newline', or a dimension >like 0.5em. But what is the size of the inter-sentence space? It is described on pp. 75f. of the TeXbook. With '\frenchspacing', you get inter-sentence space just by ' ' or '\space', i.e., inter-sentence space doesn't differ from inter-word space. With '\nonfrenchspacing', you get the inter-sentence space the same way as before, if the current \spacefactor is 3000, so just precede the same space with '\spacefactor=3000' ... however: not so easy ... better type: '\spacefactor=3000\relax\space' ('\ ' in place of '\space' doesn't work). More generally, one might /define/ inter-sentence space as the horizontal glue that is inserted after the dot of '\spacefactor=1000. ' (arguing that '. ' is the "definitive sentence delimiter"). In this sense the space is obtained by '\spacefactor=\sfcode`\. '. (Note the space after '\.'. Not tested.) HTH -- Uwe Lueck. Just a slight clarification for the required space after `\. or for any other char number. The space is there to terminate the number, as with all other numbers. If you don't have it, and the next character happens to be a number, TeX goes on evaluating digits, and you get a result that is much too large to be a char number. A good protection against this is {} or enclosing braces. Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: From Arno.Trautmann at gmx.de Wed Aug 5 19:05:19 2009 From: Arno.Trautmann at gmx.de (Arno Trautmann) Date: Wed, 05 Aug 2009 19:05:19 +0200 Subject: [texhax] class options with spaces Message-ID: <4A79BBCF.5070208@gmx.de> Hi, I need the possibility to define class options that take an argument with spaces, such as \documentclass[use=section one]{myclass} I try this using xkeyval: \DeclareOptionX{use}{\def\use at content{#1}} but the content of \use at content will be ?sectionone?. Is it possible to save the spaces? I didn?t find anything in the xkeyval doc and everything I tried (grouping in input etc.) was not successfull. Arno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: From joseph.wright at morningstar2.co.uk Wed Aug 5 20:03:45 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Wed, 05 Aug 2009 19:03:45 +0100 Subject: [texhax] class options with spaces In-Reply-To: <4A79BBCF.5070208@gmx.de> References: <4A79BBCF.5070208@gmx.de> Message-ID: <4A79C981.4000408@morningstar2.co.uk> Arno Trautmann wrote: > Hi, > > I need the possibility to define class options that take an argument > with spaces, such as > > \documentclass[use=section one]{myclass} > > I try this using xkeyval: > > \DeclareOptionX{use}{\def\use at content{#1}} > > but the content of \use at content will be ?sectionone?. Is it possible to > save the spaces? I didn?t find anything in the xkeyval doc and > everything I tried (grouping in input etc.) was not successfull. > > Arno Only if you load one of the kernel patches before \documentclass. Both kvoptions and xkeyval have patches for the problem. -- Joseph Wright From daleif at imf.au.dk Wed Aug 5 20:19:54 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 05 Aug 2009 20:19:54 +0200 Subject: [texhax] class options with spaces In-Reply-To: <4A79BBCF.5070208@gmx.de> References: <4A79BBCF.5070208@gmx.de> Message-ID: <4A79CD4A.7020701@imf.au.dk> Arno Trautmann wrote: > Hi, > > I need the possibility to define class options that take an argument > with spaces, such as > > \documentclass[use=section one]{myclass} > > I try this using xkeyval: > > \DeclareOptionX{use}{\def\use at content{#1}} > > but the content of \use at content will be ?sectionone?. Is it possible to > save the spaces? I didn?t find anything in the xkeyval doc and > everything I tried (grouping in input etc.) was not successfull. > > Arno > have you tried use={blah blah}? (untested) /daleif From Arno.Trautmann at gmx.de Wed Aug 5 20:20:20 2009 From: Arno.Trautmann at gmx.de (Arno Trautmann) Date: Wed, 05 Aug 2009 20:20:20 +0200 Subject: [texhax] class options with spaces In-Reply-To: <4A79CD4A.7020701@imf.au.dk> References: <4A79BBCF.5070208@gmx.de> <4A79CD4A.7020701@imf.au.dk> Message-ID: <4A79CD64.70701@gmx.de> Lars Madsen wrote: > Arno Trautmann wrote: >> Hi, >> >> I need the possibility to define class options that take an argument >> with spaces, such as >> >> \documentclass[use=section one]{myclass} >> >> I try this using xkeyval: >> >> \DeclareOptionX{use}{\def\use at content{#1}} >> >> but the content of \use at content will be ?sectionone?. Is it possible to >> save the spaces? I didn?t find anything in the xkeyval doc and >> everything I tried (grouping in input etc.) was not successfull. >> >> Arno >> > > have you tried use={blah blah}? Was my first thought, but: ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.42 \LoadClass {scrartcl} ? I don?t understand why I get this error ? Arno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: From Arno.Trautmann at gmx.de Wed Aug 5 20:20:40 2009 From: Arno.Trautmann at gmx.de (Arno Trautmann) Date: Wed, 05 Aug 2009 20:20:40 +0200 Subject: [texhax] class options with spaces In-Reply-To: <4A79C981.4000408@morningstar2.co.uk> References: <4A79BBCF.5070208@gmx.de> <4A79C981.4000408@morningstar2.co.uk> Message-ID: <4A79CD78.2050408@gmx.de> Joseph Wright wrote: > Arno Trautmann wrote: >> I need the possibility to define class options that take an argument >> with spaces, such as >> >> \documentclass[use=section one]{myclass} >> >> I try this using xkeyval: >> >> \DeclareOptionX{use}{\def\use at content{#1}} >> >> but the content of \use at content will be ?sectionone?. Is it possible to >> save the spaces? I didn?t find anything in the xkeyval doc and >> everything I tried (grouping in input etc.) was not successfull. > > Only if you load one of the kernel patches before \documentclass. Both > kvoptions and xkeyval have patches for the problem. Thank you very much, I didn?t know that! It works fine ? but only at user level :( There is no way to use the patch in the class so the user won?t need to add it? So I might try it the other way round: As I want to compare the argument of the class option to the argument of a user level macro, it should work if I remove the spaces from the latter one. Maybe the better question is: given: \documentclass[use=section one]{} \usermacro{section one} how can I compare the two using e.g. \ifthenelse{\equal{}{}} ? cheers Arno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: From uwe.lueck at web.de Wed Aug 5 21:37:23 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 05 Aug 2009 21:37:23 +0200 Subject: [texhax] Inter-sentence space with amsthm In-Reply-To: <225675453.8550101249475423384.JavaMail.root@sz0069a.emeryv ille.ca.mail.comcast.net> References: <5.1.0.14.0.20090805131212.02918750@pop3.web.de> Message-ID: <5.1.0.14.0.20090805213404.02918c70@pop3.web.de> So I was wrong! ... [stil quoting like '...'] ----- on 14:30 2009/08/05 Pierre MacKay wrote: ----- > Just a slight clarification for the required space after `\. > or for any other char number. The space is there to > terminate the number, as with all other numbers. > If you don't have it, and the next character happens > to be a number, TeX goes on evaluating digits, > and you get a result that is much too large to be a char number. > A good protection against this is {} or enclosing braces. I was not aware that '`\.' that behaves just like '3000' w.r.t. ensuing spaces (TeXbook pp. 269ff. on ). (Instead I thought that '\.' is a control symbol, so according to p. 46 ...) This means that in order really to produce a space (that obeys \spacefactor), you have the following options: '\spacefactor=3000 \space' '\spacefactor=3000\relax\space' '\spacefactor=3000{} ' '\spacefactor=\sfcode`\. \space' '\spacefactor=\sfcode`\.\relax \space' '\spacefactor=\sfcode`\.{} ' (tested). These fail (immediate '\space' our repeated blank space): '\spacefactor=3000\space' '\spacefactor=3000 ' '\spacefactor=\sfcode`\. \space' '\spacefactor=\sfcode`\. ' -- Uwe L. _______________________________________________ At 14:30 05.08.09, pierre.mackay at comcast.net wrote: >----- Original Message ----- >From: "Uwe L??ck" >To: "Joel C. Salomon" , "texhax" >Sent: Thursday, August 6, 2009 7:17:17 AM (GMT-0300) Auto-Detected >Subject: Re: [texhax] Inter-sentence space with amsthm > >[Please ignore previous, too many errors, partially due to Arial. I use >single right quotes on both sides for quoting here because the original >posting used this style. That's important with '\sfcode`\.'!] > >At 02:54 23.06.09, Joel C. Salomon wrote: > >I'm playing with amsthm, and want to define a theorem style like: > > Example:**To avoid lithobraking, most rockets... > > where the '**' is the wide space TeX puts between sentences. > > > >The eight[th] argument to \newtheoremstyle is the "head space"; and I know > >I can give it an explicit (inter-word) space, '\newline', or a dimension > >like 0.5em. But what is the size of the inter-sentence space? > >It is described on pp. 75f. of the TeXbook. With '\frenchspacing', you get >inter-sentence space just by ' ' or '\space', i.e., inter-sentence space >doesn't differ from inter-word space. With '\nonfrenchspacing', you get the >inter-sentence space the same way as before, if the current \spacefactor is >3000, so just precede the same space with '\spacefactor=3000' ... however: >not so easy ... better type: '\spacefactor=3000\relax\space' ('\ ' in >place of '\space' doesn't work). More generally, one might /define/ >inter-sentence space as the horizontal glue that is inserted after the dot >of '\spacefactor=1000. ' (arguing that '. ' is the "definitive sentence >delimiter"). In this sense the space is obtained by >'\spacefactor=\sfcode`\. '. (Note the space after '\.'. Not tested.) > >HTH -- Uwe Lueck. > >Just a slight clarification for the required space after `\. >or for any other char number. The space is there to terminate the number, >as with all other numbers. If you don't have it, and the next character >happens to be a number, TeX goes on evaluating digits, and you get a >result that is much too large to be a char number. A good protection >against this is {} or enclosing braces. > >Pierre MacKay From P.Taylor at Rhul.Ac.Uk Wed Aug 5 22:07:13 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Wed, 05 Aug 2009 21:07:13 +0100 Subject: [texhax] Inter-sentence space with amsthm In-Reply-To: <5.1.0.14.0.20090805213404.02918c70@pop3.web.de> References: <5.1.0.14.0.20090805131212.02918750@pop3.web.de> <5.1.0.14.0.20090805213404.02918c70@pop3.web.de> Message-ID: <4A79E671.7010109@Rhul.Ac.Uk> Aren't these two the same : > This means that in order really to produce a space (that obeys > \spacefactor), you have the following options: > '\spacefactor=\sfcode`\. \space' > (tested). These fail (immediate '\space' our repeated blank space): > > '\spacefactor=\sfcode`\. \space' > -- Uwe L. ??? Philip Taylor From Arno.Trautmann at gmx.de Wed Aug 5 22:27:40 2009 From: Arno.Trautmann at gmx.de (Arno Trautmann) Date: Wed, 05 Aug 2009 22:27:40 +0200 Subject: [texhax] class options with spaces In-Reply-To: <4A79CD78.2050408@gmx.de> References: <4A79BBCF.5070208@gmx.de> <4A79C981.4000408@morningstar2.co.uk> <4A79CD78.2050408@gmx.de> Message-ID: <4A79EB3C.7060206@gmx.de> Arno Trautmann wrote: > So I might try it the other way round: As I want to compare the argument > of the class option to the argument of a user level macro, it should > work if I remove the spaces from the latter one. Maybe the better > question is: > > given: > \documentclass[use=section one]{} > \usermacro{section one} > > how can I compare the two using e.g. \ifthenelse{\equal{}{}} ? Ok, I managed that using \zap at space #1 \@empty. Is this a good solution or can it be solved better? cheers Arno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: From uwe.lueck at web.de Wed Aug 5 22:32:28 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 05 Aug 2009 22:32:28 +0200 Subject: [texhax] Inter-sentence space with amsthm Message-ID: <5.1.0.14.0.20090805222425.02920900@pop3.web.de> [Please ignore previous again and read this here ... 3 mistakes ... Arial ... actually I need the cursor keys myself in order to count blank spaces here, even to distinguish '\.' from '\. '] So I was wrong! ... [stil quoting like '...'] ----- on 14:30 2009/08/05 Pierre MacKay wrote: ----- > Just a slight clarification for the required space after `\. > or for any other char number. The space is there to > terminate the number, as with all other numbers. > If you don't have it, and the next character happens > to be a number, TeX goes on evaluating digits, > and you get a result that is much too large to be a char number. > A good protection against this is {} or enclosing braces. I was not aware that '`\.' behaves just like '3000' w.r.t. ensuing spaces (TeXbook pp. 269ff. on ). (Instead I thought that '\.' is a control symbol, so according to p. 46 ...) This means that in order really to produce a space (that obeys \spacefactor), you have the following options: '\spacefactor=3000 \space' '\spacefactor=3000\relax\space' '\spacefactor=3000{} ' '\spacefactor=\sfcode`\. \space' '\spacefactor=\sfcode`\.\relax \space' '\spacefactor=\sfcode`\.{} ' (tested). These fail (immediate '\space' or repeated blank space): '\spacefactor=3000\space' '\spacefactor=3000 ' '\spacefactor=\sfcode`\.\space' '\spacefactor=\sfcode`\. ' -- Uwe L. _______________________________________________ At 14:30 05.08.09, pierre.mackay at comcast.net wrote: >----- Original Message ----- >From: "Uwe L??ck" >To: "Joel C. Salomon" , "texhax" >Sent: Thursday, August 6, 2009 7:17:17 AM (GMT-0300) Auto-Detected >Subject: Re: [texhax] Inter-sentence space with amsthm > >[Please ignore previous, too many errors, partially due to Arial. I use >single right quotes on both sides for quoting here because the original >posting used this style. That's important with '\sfcode`\.'!] > >At 02:54 23.06.09, Joel C. Salomon wrote: > >I'm playing with amsthm, and want to define a theorem style like: > > Example:**To avoid lithobraking, most rockets... > > where the '**' is the wide space TeX puts between sentences. > > > >The eight[th] argument to \newtheoremstyle is the "head space"; and I know > >I can give it an explicit (inter-word) space, '\newline', or a dimension > >like 0.5em. But what is the size of the inter-sentence space? > >It is described on pp. 75f. of the TeXbook. With '\frenchspacing', you get >inter-sentence space just by ' ' or '\space', i.e., inter-sentence space >doesn't differ from inter-word space. With '\nonfrenchspacing', you get the >inter-sentence space the same way as before, if the current \spacefactor is >3000, so just precede the same space with '\spacefactor=3000' ... however: >not so easy ... better type: '\spacefactor=3000\relax\space' ('\ ' in >place of '\space' doesn't work). More generally, one might /define/ >inter-sentence space as the horizontal glue that is inserted after the dot >of '\spacefactor=1000. ' (arguing that '. ' is the "definitive sentence >delimiter"). In this sense the space is obtained by >'\spacefactor=\sfcode`\. '. (Note the space after '\.'. Not tested.) > >HTH -- Uwe Lueck. > >Just a slight clarification for the required space after `\. >or for any other char number. The space is there to terminate the number, >as with all other numbers. If you don't have it, and the next character >happens to be a number, TeX goes on evaluating digits, and you get a >result that is much too large to be a char number. A good protection >against this is {} or enclosing braces. > >Pierre MacKay From uwe.lueck at web.de Wed Aug 5 22:46:20 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 05 Aug 2009 22:46:20 +0200 Subject: [texhax] Inter-sentence space with amsthm Message-ID: <5.1.0.14.0.20090805224031.02913af0@pop3.web.de> [in fact, 4 mistakes, sorry ... and there is another option I read from Pierre MacKay's remark: '{\spacefactor=3000} ', difficult to generalize however ...] [Please ignore previous again and read this here ... 3 mistakes ... Arial ... actually I need the cursor keys myself in order to count blank spaces here, even to distinguish '\.' from '\. '] So I was wrong! ... [stil quoting like '...'] ----- on 14:30 2009/08/05 Pierre MacKay wrote: ----- > Just a slight clarification for the required space after `\. > or for any other char number. The space is there to > terminate the number, as with all other numbers. > If you don't have it, and the next character happens > to be a number, TeX goes on evaluating digits, > and you get a result that is much too large to be a char number. > A good protection against this is {} or enclosing braces. I was not aware that '\sfcode`\.' behaves just like '3000' w.r.t. ensuing spaces (TeXbook pp. 269ff. on ). (Instead I thought that '\.' is a control symbol, so according to p. 46 ...) This means that in order really to produce a space (that obeys \spacefactor), you have the following options: '\spacefactor=3000 \space' '\spacefactor=3000\relax\space' '\spacefactor=3000{} ' '\spacefactor=\sfcode`\. \space' '\spacefactor=\sfcode`\.\relax \space' '\spacefactor=\sfcode`\.{} ' (tested). These fail (immediate '\space' or repeated blank space): '\spacefactor=3000\space' '\spacefactor=3000 ' '\spacefactor=\sfcode`\.\space' '\spacefactor=\sfcode`\. ' -- Uwe L. _______________________________________________ At 14:30 05.08.09, pierre.mackay at comcast.net wrote: >----- Original Message ----- >From: "Uwe L??ck" >To: "Joel C. Salomon" , "texhax" >Sent: Thursday, August 6, 2009 7:17:17 AM (GMT-0300) Auto-Detected >Subject: Re: [texhax] Inter-sentence space with amsthm > >[Please ignore previous, too many errors, partially due to Arial. I use >single right quotes on both sides for quoting here because the original >posting used this style. That's important with '\sfcode`\.'!] > >At 02:54 23.06.09, Joel C. Salomon wrote: > >I'm playing with amsthm, and want to define a theorem style like: > > Example:**To avoid lithobraking, most rockets... > > where the '**' is the wide space TeX puts between sentences. > > > >The eight[th] argument to \newtheoremstyle is the "head space"; and I know > >I can give it an explicit (inter-word) space, '\newline', or a dimension > >like 0.5em. But what is the size of the inter-sentence space? > >It is described on pp. 75f. of the TeXbook. With '\frenchspacing', you get >inter-sentence space just by ' ' or '\space', i.e., inter-sentence space >doesn't differ from inter-word space. With '\nonfrenchspacing', you get the >inter-sentence space the same way as before, if the current \spacefactor is >3000, so just precede the same space with '\spacefactor=3000' ... however: >not so easy ... better type: '\spacefactor=3000\relax\space' ('\ ' in >place of '\space' doesn't work). More generally, one might /define/ >inter-sentence space as the horizontal glue that is inserted after the dot >of '\spacefactor=1000. ' (arguing that '. ' is the "definitive sentence >delimiter"). In this sense the space is obtained by >'\spacefactor=\sfcode`\. '. (Note the space after '\.'. Not tested.) > >HTH -- Uwe Lueck. > >Just a slight clarification for the required space after `\. >or for any other char number. The space is there to terminate the number, >as with all other numbers. If you don't have it, and the next character >happens to be a number, TeX goes on evaluating digits, and you get a >result that is much too large to be a char number. A good protection >against this is {} or enclosing braces. > >Pierre MacKay From fbe2 at comcast.net Wed Aug 5 23:07:52 2009 From: fbe2 at comcast.net (Beverley Eyre) Date: Wed, 05 Aug 2009 14:07:52 -0700 Subject: [texhax] Using .png, .jpg, .gif In-Reply-To: <5.1.0.14.0.20090805081035.026e4ad0@pop3.web.de> References: <5.1.0.14.0.20090805081035.026e4ad0@pop3.web.de> Message-ID: <4A79F4A8.1050700@comcast.net> Uwe, First, I'd like t say thanks for your replies. They are just what I need. Ok, given that the situation is as you describe it, the next obvious question is, since LaTeX (or the graphicx package) goes to the trouble to find the bounding box info for [e]ps files, can we get it to get it to find the bounding box info from .png or .jpg files? We know it can be done because both convert and pdflatex do it. This sounds like a question of a few lines of code, no? Before I try it, I'd like your input. thanks again Bev Uwe L?ck wrote: > Bev, > > sorry, I did not pay proper attention to the aspect of your posting > concerning `convert' in \DeclareGraphicsRule: > > At 05:43 02.07.09, Beverley Eyre wrote: >> I'd like to get \DeclareGraphicsRule to work, but it seems more >> trouble to use than just converting each image file by hand. >> >> For example, if I want to use a .png file: >> \DeclareGraphicsExtensions{.png, .eps} >> \DeclareGraphicsRule{.png}{eps}{*}{`convert #1} %% (the last arg >> I've done in many different ways, e.g. {`convert #1 eps:- } ) >> >> then, in the body: >> >> \includegraphics[width=1in]{myimage} %% (which is myimage.png) >> >> I get an error msg telling me that I there is no bounding box. So in >> order to use it, I have to determine the bounding box for the image >> first, and then include that info into one or the other command. >> But, if I just do: >> >> > convert myimage.png myimage.eps >> >> on the command line, it converts it without having to know the >> bounding box info. I'm not sure why convert needs the bounding box >> info in one case (latex) but not the other (command line). > > It is important to recognize that importing a graphics file with LaTeX > has two parts: 1. the LaTeX run (building a .dvi), 2. previewing or > printing (executing \special commands from the .dvi). > > The LaTeX run only needs to know the dimensions of the image. This is > where the famous `bounding box' error occurs. LaTeX does not care > about other contents of the graphics file. This other content is only > used at getting visible output from the .dvi. > > The command in the fourth argument is only used at the second step, > creating a screen display or printout from the .dvi. This is too late > to tell LaTeX the bounding box info! > > Repeating: > >> But, if I just do: >> >> > convert myimage.png myimage.eps >> >> on the command line, it converts it without having to know the >> bounding box info. > > It is wrong to say `convert' doesn't need knowledge of the bounding > box. The truth is that `convert' is able to extract the bounding box > information from myimage.png while LaTeX is not. > >> I'm not sure why convert needs the bounding box info in one case >> (latex) but not the other (command line). > > It is also wrong to say `convert' needs the bounding box info `in the > LaTeX case'. The error message comes from LaTeX when it looks for that > info in building the .dvi. As I said, `convert' is not involved at > this first step. > > HTH -- Uwe. > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > From george at galis.org Thu Aug 6 04:35:25 2009 From: george at galis.org (George Georgalis) Date: Wed, 5 Aug 2009 19:35:25 -0700 Subject: [texhax] turning off hyperlink in LastPage Message-ID: <20090806023525.GP4358@tiger.pool> Hi, I've been using the LastPage package with success to reference the total number of pages in a footer. \usepackage{lastpage} ... \fancyfoot[R]{\slshape {\thepage~of~\pageref{LastPage}}} I don't see a need to hyper link to the end of the document though and cannot see anyway to turn it off. Suggestions? --George From uwe.lueck at web.de Thu Aug 6 12:37:10 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Thu, 06 Aug 2009 12:37:10 +0200 Subject: [texhax] Left and Right Linenumber alignment In-Reply-To: <5.1.0.14.0.20090702144236.028e3090@pop3.web.de> References: <425190.4335.qm@web110306.mail.gq1.yahoo.com> Message-ID: <5.1.0.14.0.20090806123351.02921e80@pop3.web.de> Hi bala, At 14:53 02.07.09, Uwe L?ck wrote: >At 12:51 02.07.09, jack wrote: >>On my document i have used lineno.sty file. It's working fine on 2nd to >>nth pages, but problem in first page. In the First page i have used >>multicols package for displaying the document in two column. >> >>First Page Layout is : Single Column + Double Column (both) >> >>Second Page Layout is : Double Column only >> >>Can you please provide me the solution, please? > >sorry, no, I can't. I know the problem and have tried a little, no success. > >There is cuted.sty, http://www.ctan.org/pkg/cuted, an alternative package >for changing between one- and twocolumn mode on a page. But I don't expect >it fares better with lineno.sty. the situation may be better: For usual purposes, you can start a page in one-column and continue in two-column without multicols.sty. Cf. the UK TeX FAQ: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=onecolabs Does this help you? Best, Uwe. From uwe.lueck at web.de Thu Aug 6 12:40:13 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Thu, 06 Aug 2009 12:40:13 +0200 Subject: [texhax] Using .png, .jpg, .gif In-Reply-To: <4A79F4A8.1050700@comcast.net> References: <5.1.0.14.0.20090805081035.026e4ad0@pop3.web.de> <5.1.0.14.0.20090805081035.026e4ad0@pop3.web.de> Message-ID: <5.1.0.14.0.20090806123743.02941ec0@pop3.web.de> Bev, At 23:07 05.08.09, Beverley Eyre wrote: >Ok, given that the situation is as you describe it, the next obvious >question is, since LaTeX (or the graphicx package) goes to the trouble to >find the bounding box info for [e]ps files, can we get it to get it to >find the bounding box info from .png or .jpg files? We know it can be done >because both convert and pdflatex do it. This sounds like a question of a >few lines of code, no? It will work for limited image file sizes only (may be ok for a usually small page). What I like most is the ebb program since it just extracts the bounding box. But to do the same with TeX, the first thing is knowing the algorithms ebb uses. I don't have any idea of them. Moreover, TeX would have to do calculations that are described in the code of ebb in quite an efficient way. Calculating with TeX has a tendency to be clumsy -- well some macros can improve this. But the TeX code won't be shorter than the source code of ebb, so I don't expect that it will be a few lines of code. Even the lines in graphics.sty for reading the bounding box from .eps are not "few", I would say. -- Uwe. ______________________________________ >Uwe L?ck wrote: >>Bev, >> >>sorry, I did not pay proper attention to the aspect of your posting >>concerning `convert' in \DeclareGraphicsRule: >> >>At 05:43 02.07.09, Beverley Eyre wrote: >>>I'd like to get \DeclareGraphicsRule to work, but it seems more trouble >>>to use than just converting each image file by hand. >>> >>>For example, if I want to use a .png file: >>>\DeclareGraphicsExtensions{.png, .eps} >>>\DeclareGraphicsRule{.png}{eps}{*}{`convert #1} %% (the last arg >>>I've done in many different ways, e.g. {`convert #1 eps:- } ) >>> >>>then, in the body: >>> >>>\includegraphics[width=1in]{myimage} %% (which is myimage.png) >>> >>>I get an error msg telling me that I there is no bounding box. So in >>>order to use it, I have to determine the bounding box for the image >>>first, and then include that info into one or the other command. >>>But, if I just do: >>> >>> > convert myimage.png myimage.eps >>> >>>on the command line, it converts it without having to know the bounding >>>box info. I'm not sure why convert needs the bounding box info in one >>>case (latex) but not the other (command line). >> >>It is important to recognize that importing a graphics file with LaTeX >>has two parts: 1. the LaTeX run (building a .dvi), 2. previewing or >>printing (executing \special commands from the .dvi). >> >>The LaTeX run only needs to know the dimensions of the image. This is >>where the famous `bounding box' error occurs. LaTeX does not care about >>other contents of the graphics file. This other content is only used at >>getting visible output from the .dvi. >> >>The command in the fourth argument is only used at the second step, >>creating a screen display or printout from the .dvi. This is too late to >>tell LaTeX the bounding box info! >> >>Repeating: >> >>>But, if I just do: >>> >>> > convert myimage.png myimage.eps >>> >>>on the command line, it converts it without having to know the bounding >>>box info. >> >>It is wrong to say `convert' doesn't need knowledge of the bounding box. >>The truth is that `convert' is able to extract the bounding box >>information from myimage.png while LaTeX is not. >> >>> I'm not sure why convert needs the bounding box info in one case >>> (latex) but not the other (command line). >> >>It is also wrong to say `convert' needs the bounding box info `in the >>LaTeX case'. The error message comes from LaTeX when it looks for that >>info in building the .dvi. As I said, `convert' is not involved at this >>first step. >> >>HTH -- Uwe. >> >>_______________________________________________ >>TeX FAQ: http://www.tex.ac.uk/faq >>Mailing list archives: http://tug.org/pipermail/texhax/ >>More links: http://tug.org/begin.html >> >>Automated subscription management: http://tug.org/mailman/listinfo/texhax >>Human mailing list managers: postmaster at tug.org From tsc25 at cantab.net Thu Aug 6 13:01:53 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Thu, 06 Aug 2009 12:01:53 +0100 Subject: [texhax] turning off hyperlink in LastPage In-Reply-To: <20090806023525.GP4358@tiger.pool> References: <20090806023525.GP4358@tiger.pool> Message-ID: <4A7AB821.5060006@dr-qubit.org> George Georgalis wrote: > Hi, I've been using the LastPage package with success > to reference the total number of pages in a footer. > > \usepackage{lastpage} > ... > \fancyfoot[R]{\slshape {\thepage~of~\pageref{LastPage}}} > > I don't see a need to hyper link to the end of the document > though and cannot see anyway to turn it off. Suggestions? Use \pageref* instead, which suppresses the hyperlink. (FYI, \ref* does the same for references.) Toby From gabrielle_araj at yahoo.com Thu Aug 6 14:16:53 2009 From: gabrielle_araj at yahoo.com (Gabrielle Araj) Date: Thu, 6 Aug 2009 05:16:53 -0700 (PDT) Subject: [texhax] realcalc.sty Message-ID: <314516.42229.qm@web111104.mail.gq1.yahoo.com> Hello, I am trying invoice.tex and having trouble with realcalc. Please help me ! I copy my files to :\Program Files\Mike\tex\latex\tools\ I create :\Program Files\Mike\tex\latex\realcalc Create realcalc.sty with 2 lines mentionned in the readme. ("C:\Program Files\Mike\tex\latex\tools\multicol.sty"))) ("C:\Program Files\Mike\tex\latex\invoice\invoice.sty" ("C:\Program Files\Mike\tex\latex\base\ifthen.sty") ("C:\Program Files\Mike\tex\latex\tools\longtable.sty") ("C:\Program Files\Mike\tex\latex\tools\calc.sty") ! LaTeX Error: File `realcalc.tex' not found. Type X to quit or to proceed, or enter new name. (Default extension: tex) __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From uwe.lueck at web.de Thu Aug 6 15:49:43 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Thu, 06 Aug 2009 15:49:43 +0200 Subject: [texhax] realcalc.sty In-Reply-To: <314516.42229.qm@web111104.mail.gq1.yahoo.com> Message-ID: <5.1.0.14.0.20090806153806.02800e40@pop3.web.de> At 14:16 06.08.09, Gabrielle Araj wrote: >I copy my files to :\Program Files\Mike\tex\latex\tools\ Why there?? >I create :\Program Files\Mike\tex\latex\realcalc >Create realcalc.sty with 2 lines mentionned in the readme. > >("C:\Program Files\Mike\tex\latex\tools\multicol.sty"))) >("C:\Program Files\Mike\tex\latex\invoice\invoice.sty" >("C:\Program Files\Mike\tex\latex\base\ifthen.sty") >("C:\Program Files\Mike\tex\latex\tools\longtable.sty") >("C:\Program Files\Mike\tex\latex\tools\calc.sty") > >! LaTeX Error: File `realcalc.tex' not found. The file's original name is realcalc.tex (as you have noted). invoice.sty invokes realcalc by \input{realcalc}. The author of realcalc.tex and the readme did not foresee this when he recommended renaming the file to realcalc.sty. You must install it as realcalc.tex (in \tex\generic\realcalc?). HTH -- Uwe. From natercia at eq.uc.pt Thu Aug 6 16:58:54 2009 From: natercia at eq.uc.pt (=?iso-8859-1?q?Nat=E9rcia_Fernandes?=) Date: Thu, 6 Aug 2009 15:58:54 +0100 Subject: [texhax] derivatives and integrals: math operators Message-ID: <200908061558.54952.natercia@eq.uc.pt> Hi. Math operators should be typeset in upright letters and also have a special spacing. So shouldn't the "d" of derivatives (or integrals) be set with upright letters, since both are mathematical operators? Already in 1997, there was an article published in TUGboat (Typesetting mathematics for science and technology according to ISO 31/XI) by Claudio Beccari and available at http://www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf where he says that the "d" of derivatives and integrals should be upright (see item number 6). It seems to make sense and I've been using it. But at the same time, I haven't seen it being followed by other people... For example, the work of Lars Madsen Introduktion til LaTeX doesn't. Can anyone clarify this point to me, please? Thank you very much, Nat?rcia From phil at math.wichita.edu Thu Aug 6 16:13:19 2009 From: phil at math.wichita.edu (Phil Parker) Date: Thu, 06 Aug 2009 10:13:19 -0400 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <200908061558.54952.natercia@eq.uc.pt> Message-ID: <200908061519.n76FJ9aY011148@mfe04.daimi.au.dk> On 08/06/2009 at 03:58 PM, Nat?rcia Fernandes wrote: > >Math operators should be typeset in upright letters and also have a special >spacing. >So shouldn't the "d" of derivatives (or integrals) be set with upright >letters, since both are mathematical operators? Neither is a mathematical operator as far as mathematicians are concerned, and we also don't set all operators upright -- only certain ones. The convention you mention is one adopted by some physicists, engineers, and other users of "applied" mathematics for reasons with which most (if not all) "pure" mathematicians either just do not agree or regard as plain wrong. -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: The whole religious complexion of the modern world is due to the absence from Jerusalem of a lunatic asylum.---Havelock Ellis From vi5u0-texhax at yahoo.co.uk Thu Aug 6 20:34:07 2009 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Thu, 6 Aug 2009 19:34:07 +0100 (BST) Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <200908061519.n76FJ9aY011148@mfe04.daimi.au.dk> References: <200908061519.n76FJ9aY011148@mfe04.daimi.au.dk> Message-ID: On Thu, 6 Aug 2009, Phil Parker wrote: > On 08/06/2009 at 03:58 PM, Nat?rcia Fernandes wrote: > >> So shouldn't the "d" of derivatives (or integrals) be set with upright >> letters, since both are mathematical operators? > The convention you mention is one adopted by some physicists, > engineers, and other users of "applied" mathematics I fall into one of those categories, and I typeset total differentials with \newcommand{\td}[1]{\mathrm{d}#1} -- HTH, Dan From reinhard.kotucha at web.de Thu Aug 6 22:20:00 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 6 Aug 2009 22:20:00 +0200 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <200908061519.n76FJ9aY011148@mfe04.daimi.au.dk> References: <200908061558.54952.natercia@eq.uc.pt> <200908061519.n76FJ9aY011148@mfe04.daimi.au.dk> Message-ID: <19067.15088.552687.361095@zaphod.ms25.net> On 6 August 2009 Phil Parker wrote: > On 08/06/2009 at 03:58 PM, Nat?rcia Fernandes wrote: >>Math operators should be typeset in upright letters and also have >>a special spacing. So shouldn't the "d" of derivatives (or >>integrals) be set with upright letters, since both are >>mathematical operators? > > Neither is a mathematical operator as far as mathematicians are > concerned, and we also don't set all operators upright -- only > certain ones. Hmm. I always thought that everything except variables is written upright. There might be different conventions, but are there any rules? There was a similar discussion a few years ago. I don't remember the details, but I remember that someone told me that he has a book published in 18?? in the UK with "d" typeset upright. > The convention you mention is one adopted by some physicists, > engineers, and other users of "applied" mathematics for reasons > with which most (if not all) "pure" mathematicians either just do > not agree or regard as plain wrong. What are the reasons and what are the exceptions you mentioned above? Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From phil at math.wichita.edu Fri Aug 7 04:41:46 2009 From: phil at math.wichita.edu (Phil Parker) Date: Thu, 06 Aug 2009 22:41:46 -0400 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <19067.15088.552687.361095@zaphod.ms25.net> Message-ID: <200908070420.n774K2im009355@mfe02.daimi.au.dk> On 08/06/2009 at 10:20 PM, Reinhard Kotucha wrote: >On 6 August 2009 Phil Parker wrote: > > > On 08/06/2009 at 03:58 PM, Nat?rcia Fernandes wrote: > >>Math operators should be typeset in upright letters and also have > >>a special spacing. So shouldn't the "d" of derivatives (or > >>integrals) be set with upright letters, since both are > >>mathematical operators? > > > > Neither is a mathematical operator as far as mathematicians are > > concerned, and we also don't set all operators upright -- only > > certain ones. >Hmm. I always thought that everything except variables is written upright. >There might be different conventions, but are there any rules? "Limit-like" and "trig-like" operators and functions are set upright. For example, lim, sin, log, ker, and tr. That's a rule. Most operators named with a single letter are set italic. For example, a (pseudo)differential operator P, a linear transformation L, a selfadjoint operator A, etc. That's a convention, not a rule, but very few would dare violate it. Operator-like things (e.g., functors) that have multiletter names, such as Spec, probably tend to be upright most of the time. But one may create an exception if one is naming a new operator and wishes to do so. This is just a guideline based on what most of us tend to do. > There was a >similar discussion a few years ago. I don't remember the details, but I >remember that someone told me that he has a book published in 18?? in the UK >with "d" typeset upright. Examples do not prove theorems. English maths didn't catch up with everyone else until almost C. 20 -- the Newton-Leibniz debacle crippled them for 200 years. > > The convention you mention is one adopted by some physicists, > > engineers, and other users of "applied" mathematics for reasons > > with which most (if not all) "pure" mathematicians either just do > > not agree or regard as plain wrong. >What are the reasons...? I don't know. I've heard many different ones from many different physicists, sometimes more than one per physicist. Those in a specific area tend to agree on how it's done in that area, but it varies widely from area to area. Since we create the stuff, we get to make the rules, conventions, guidelines, etc. Perhaps they want to change it so they can feel some sort of ownership of it when they use it. (Who knows? I'm not a psychologist! But I suspect it's more to keep us from reading physics too readily: we haven't paid our dues, and physics is a lot easier to understand with advanced math than with elementary math [a.k.a. "the hard way" or Phys 101 way].) Another physics quirk is to write \int dx\,f(x) instead of \int f(x)\,dx as we do. That just creates unnecessary confusion, especially in elementary (as in Calculus III) double and triple integrals. And THE most annoying physics quirk is to use \otimes (tensor product) for \times (set product). That's just plain stupid. -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: Confidence is the feeling you have before you understand the situation. From tsc25 at cantab.net Fri Aug 7 11:26:25 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Fri, 07 Aug 2009 10:26:25 +0100 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <200908070420.n774K2im009355@mfe02.daimi.au.dk> References: <200908070420.n774K2im009355@mfe02.daimi.au.dk> Message-ID: <4A7BF341.9080406@dr-qubit.org> Phil Parker wrote: > Since we create the stuff, we get to make the rules, conventions, guidelines, > etc. Perhaps they want to change it so they can feel some sort of ownership of > it when they use it. (Who knows? I'm not a psychologist! But I suspect it's > more to keep us from reading physics too readily: we haven't paid our dues, > and physics is a lot easier to understand with advanced math than with > elementary math [a.k.a. "the hard way" or Phys 101 way].) Goodness! What a tirade against physicists, all over a tiny difference of notational convention. Did you suffer some sort of converse to the apocryphal story about Alfred Nobel and the lack of a mathematics prize? :) > Another physics quirk is to write \int dx\,f(x) instead of \int f(x)\,dx as we > do. That just creates unnecessary confusion, especially in elementary (as in > Calculus III) double and triple integrals. I have to disagree here. I think people do this precisely to avoid confusion in multiple definite integrals. Writing \int_0^1 dx \int_{-1}^1 dy f(x,y) makes it clear which limits belong with which variable, whereas \int_0^1 \int_{-1}^1 f(x,y) dx dy can easily lead to mistakes (at least amongst my Calculus I students!). Especially if f(x,y) is a long and complicated expression, pushing the measure far away from the limits. An alternative is to indicate the variables explicitly in the limits, \int_{x=0}^{x=1} \int_{y=-1}^{y=1} f(x,y) dx dy but this seems to be too long-winded for most people. > And THE most annoying physics quirk is to use \otimes (tensor product) for > \times (set product). That's just plain stupid. And THE most annoying mathematics quirk is to expend inordinate amounts of time arguing over notation and trivialities (entire papers of the stuff!) rather than publishing something with actual content ;-) Toby [A lapsed physicist turned mathematician, who agrees that someone ought to explain the difference between set product and tensor product to the physicists, bless 'em] From vivrii at gmail.com Fri Aug 7 13:36:40 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Fri, 7 Aug 2009 07:36:40 -0400 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <4A7BF341.9080406@dr-qubit.org> References: <200908070420.n774K2im009355@mfe02.daimi.au.dk> <4A7BF341.9080406@dr-qubit.org> Message-ID: <19af81400908070436t6d126941n63668ac9ecdd8230@mail.gmail.com> On Fri, Aug 7, 2009 at 5:26 AM, Toby Cubitt wrote: > Phil Parker wrote: >> Since we create the stuff, we get to make the rules, conventions, guidelines, >> etc. Perhaps they want to change it so they can feel some sort of ownership of >> it when they use it. (Who knows? I'm not a psychologist! But I suspect it's >> more to keep us from reading physics too readily: we haven't paid our dues, >> and physics is a lot easier to understand with advanced math than with >> elementary math [a.k.a. "the hard way" or Phys 101 way].) Forgive them, Lord, as they don't know what they are doing > > And THE most annoying mathematics quirk is to expend inordinate amounts of > time arguing over notation > And THE most annoying mathematics quirk is to expend inordinate amounts of > time arguing over notation This is a matter of faith and compromises compromise it! The heretics will be sent to hell where they will use exclusively M$ products as as a cruel but well deserved punishment > and trivialities (entire papers of the stuff!) > rather than publishing something with actual content ;-) > This is true but not-mathematics specific I enjoyed this discussion. Basically I see no reasons beyond aesthetic ones and "I do as my supervisor did" > An alternative is to indicate the > variables explicitly in the limits, > \int_{x=0}^{x=1} \int_{y=-1}^{y=1} f(x,y) dx dy > but this seems to be too long-winded for most people. Some of my esteemed colleagues even do not write dx at all. At let me quote myself "All mathematicians understand and know integral of cocycle over cycle. However some mathematicians still remember very esoteric notion of \int_a^b f(x) dx" :-) Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii and trivialities (entire papers of the stuff!) > rather than publishing something with actual content ;-) > > > Toby > > [A lapsed physicist turned mathematician, who agrees that someone ought to > explain the difference between set product and tensor product to the > physicists, bless 'em] > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From eduardo at kalinowski.com.br Fri Aug 7 13:40:07 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Fri, 07 Aug 2009 08:40:07 -0300 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <4A7BF341.9080406@dr-qubit.org> References: <200908070420.n774K2im009355@mfe02.daimi.au.dk> <4A7BF341.9080406@dr-qubit.org> Message-ID: <20090807084007.192149rpbun6r7vc@mail.kalinowski.com.br> On Sex, 07 Ago 2009, Toby Cubitt wrote: > Phil Parker wrote: >> Another physics quirk is to write \int dx\,f(x) instead of \int >> f(x)\,dx as we >> do. That just creates unnecessary confusion, especially in elementary (as in >> Calculus III) double and triple integrals. > > I have to disagree here. I think people do this precisely to avoid > confusion in multiple definite integrals. Writing > > \int_0^1 dx \int_{-1}^1 dy f(x,y) How does one know when the integral ends with this notation? Especially if something comes after the f(x, y), such as \int_0^1 dx \int_{-1}^1 dy f(x,y) + \pi Does one integrate f(x, y) + \pi, or do we add \pi to the final result? > makes it clear which limits belong with which variable, whereas > > \int_0^1 \int_{-1}^1 f(x,y) dx dy > > can easily lead to mistakes (at least amongst my Calculus I students!). To mean the same as the really weird notation of your first equation (which I had never seen), and the complete formula below, it should be \int_0^1 \int_{-1}^1 f(x,y) dy dx And I don't see how that's ambiguous. The \int is the start of the operator, the dx (or similar) is its end. And just like with parenthesis, brackets, etc, the first dx ends the last integral, and so on. > Especially if f(x,y) is a long and complicated expression, pushing the > measure far away from the limits. An alternative is to indicate the > variables explicitly in the limits, > > \int_{x=0}^{x=1} \int_{y=-1}^{y=1} f(x,y) dx dy > > but this seems to be too long-winded for most people. -- Eduardo M KALINOWSKI eduardo at kalinowski.com.br From barr at math.mcgill.ca Fri Aug 7 13:57:00 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Fri, 7 Aug 2009 07:57:00 -0400 (EDT) Subject: [texhax] Math operators In-Reply-To: References: Message-ID: Although I don't know anything definitive (if there is anything definitive, which I doubt) the following rule appears to be in effect--and in any case, it is the one I use. Multi-character identifiers are set upright and single character identifiers are in mit. This is based more on practice (where the differential operator d and the base of the natural logarithm e are generally seen in mit). It makes sense since that is how we distinguish s*i*n from sin (there is also a thin space after sin). The old rule seems to have been that constants are upright and variables in mit, but where does that leave the differential operator d? In any case the distinction is not always clearcut. For example, the sentence, "\pi can be as small as 2 on a sphere" makes perfect sense. It seems to have been computer scientists who started using (at least on a large scale) multi-letter identifiers for variables. Now at least some mathematicians are doing likewise. Putting them in mit would only sow confusion. I guess you could use \textit, but the distinction between that and mit is mostly in the spacing and pretty subtle. The distinction above is the one I enforce (more or less) as TeX editor of an online journal (Theory and Applications of Categories). It is purely pragmatic, not based on any principle. Michael Barr From vivrii at gmail.com Fri Aug 7 14:06:39 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Fri, 7 Aug 2009 08:06:39 -0400 Subject: [texhax] Math operators In-Reply-To: References: Message-ID: <19af81400908070506r1fdbd4axc4d6f656096f56a7@mail.gmail.com> On Fri, Aug 7, 2009 at 7:57 AM, Michael Barr wrote: > > The distinction above is the one I enforce (more or less) as TeX editor of > an online journal (Theory and Applications of Categories). ?It is purely > pragmatic, not based on any principle. I see a trouble with the principle "consistent notations for all articles in this journal" vs "consistent notations for all articles of this author" Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From tsc25 at cantab.net Fri Aug 7 14:12:45 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Fri, 07 Aug 2009 13:12:45 +0100 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <20090807084007.192149rpbun6r7vc@mail.kalinowski.com.br> References: <200908070420.n774K2im009355@mfe02.daimi.au.dk> <4A7BF341.9080406@dr-qubit.org> <20090807084007.192149rpbun6r7vc@mail.kalinowski.com.br> Message-ID: <4A7C1A3D.2010503@dr-qubit.org> Eduardo M KALINOWSKI wrote: > On Sex, 07 Ago 2009, Toby Cubitt wrote: >> Phil Parker wrote: >>> Another physics quirk is to write \int dx\,f(x) instead of \int >>> f(x)\,dx as we >>> do. That just creates unnecessary confusion, especially in elementary >>> (as in Calculus III) double and triple integrals. >> >> I have to disagree here. I think people do this precisely to avoid >> confusion in multiple definite integrals. Writing >> >> \int_0^1 dx \int_{-1}^1 dy f(x,y) > > How does one know when the integral ends with this notation? Especially > if something comes after the f(x, y), such as > > \int_0^1 dx \int_{-1}^1 dy f(x,y) + \pi > > Does one integrate f(x, y) + \pi, or do we add \pi to the final result? In your example, I think the usual convention would apply: products bind more strongly than addition, so the "+ \pi" isn't integrated over. But in general, brackets might be necessary to avoid ambiguity. >> makes it clear which limits belong with which variable, whereas >> >> \int_0^1 \int_{-1}^1 f(x,y) dx dy >> >> can easily lead to mistakes (at least amongst my Calculus I students!). > > To mean the same as the really weird notation of your first equation > (which I had never seen), and the complete formula below, it should be > > \int_0^1 \int_{-1}^1 f(x,y) dy dx True. Which only illustrates my point :) > And I don't see how that's ambiguous. The \int is the start of the > operator, the dx (or similar) is its end. I never said it was ambiguous, just that it's liable to lead to mistakes in calculations. Which is why some physicists (who, after all, are generally the ones who have to *compute* definite integrals) sometimes prefer to place the measure next to the integral. The problem stems from having to scan all the way to the end of the expression and parse the ordering, just to figure out which limit applies to which variable, whilst the integration itself is being carried out left to right. This seems to confuse the human brain, and be prone to errors. If NASA engineers can crash a Mars orbiter by forgetting which units they're supposed to be using, physicists can get integrals wrong by applying the wrong limits to the wrong variable. It seems to me that there's a valid argument for notational help in avoiding mistakes like this, and that it shouldn't be dismissed out of hand as "creating unnecessary confusion". > And just like with parenthesis, brackets, etc, the first dx ends the > last integral, and so on. The notation for integration is rather unique and unusual in mathematics. The vast majority of operators don't get split up in this way. Opening and closing delimiters are often confusing for human brains to parse (ever tried to read a large block of unindented Lisp code? :) I'm not advocating religiously putting the measure next to the integral in all cases. I just think the notation has its place, and it seemed worth attempting to explain why I believe it's used occasionally. Toby From barr at math.mcgill.ca Fri Aug 7 14:26:36 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Fri, 7 Aug 2009 08:26:36 -0400 (EDT) Subject: [texhax] Math operators In-Reply-To: <19af81400908070506r1fdbd4axc4d6f656096f56a7@mail.gmail.com> References: <19af81400908070506r1fdbd4axc4d6f656096f56a7@mail.gmail.com> Message-ID: Let an author come to me with that claim and I will allow it. Mostly they don't have a clue to what their doing and consistency with their other papers (published where, that would allow, say Hom, to be in italics?). I said, "more or less". Anyway, I do get authors who say that don't like our theorem macros and want to use their own and I say "no way". If we want to look like a journal, we have to have some consistent formatting requirements. These are totally relaxed for our reprint series that often uses scanned versions of the original (and sometimes retyped versions, otherwise recompiled versions if it machine readable). --MB On Fri, 7 Aug 2009, Victor Ivrii wrote: > On Fri, Aug 7, 2009 at 7:57 AM, Michael Barr wrote: > >> >> The distinction above is the one I enforce (more or less) as TeX editor of >> an online journal (Theory and Applications of Categories). ?It is purely >> pragmatic, not based on any principle. > > > I see a trouble with the principle "consistent notations for all > articles in this journal" vs > "consistent notations for all articles of this author" > > Victor > > > From vivrii at gmail.com Fri Aug 7 14:38:08 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Fri, 7 Aug 2009 08:38:08 -0400 Subject: [texhax] Math operators In-Reply-To: References: <19af81400908070506r1fdbd4axc4d6f656096f56a7@mail.gmail.com> Message-ID: <19af81400908070538t57a5b5f7g194dcfa729469352@mail.gmail.com> On Fri, Aug 7, 2009 at 8:26 AM, Michael Barr wrote: > me with that claim and I will allow it. ?Mostly they don't have a clue to > what their doing and consistency with their other papers (published where, > that would allow, say Hom, to be in italics?). ?I said, "more or less". > > Anyway, I do get authors who say that don't like our theorem macros and want > to use their own and I say "no way". ?If we want to look like a journal, we > have to have some consistent formatting requirements. ?These are totally > relaxed for our reprint series that often uses scanned versions of the > original (and sometimes retyped versions, otherwise recompiled versions if > it machine readable). > Nice to hear. But most of the printed journals are not so relaxed. Anyway, the zeal of some participants of the discussion is both amazing and amusing :-) Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From wa2n at nrar.net Fri Aug 7 14:24:23 2009 From: wa2n at nrar.net (wawan) Date: Fri, 7 Aug 2009 19:24:23 +0700 Subject: [texhax] OOT : tex/latex International journal Message-ID: Where we can submit tex related publication ? -- ===================== http://wa2n.nrar.net http://artikelit.com http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From uwe.lueck at web.de Fri Aug 7 14:56:31 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Fri, 07 Aug 2009 14:56:31 +0200 Subject: [texhax] FW: Re: Using .png, .jpg, .gif In-Reply-To: <1182476322@web.de> Message-ID: <5.1.0.14.0.20090807145540.027f5300@pop3.web.de> I am forwarding a recent CTAN announcement of an update of the bmeps package which is mentioned in the UK TeX FAQ concerning importing graphics with the LaTeX graphics bundle. bmeps converts certain graphics formats into EPS (Encapsulated PostScript) which is the only graphics format that LaTeX can read with the graphics bundle. The announcement is more specific about what bmeps actually provides. HTH -- Uwe. _______________________________________________ Date: Mon, 20 Jul 2009 14:21:56 +0200 (CEST) From: CTAN Announcements To: ctan-ann at dante.de Subject: CTAN Update: bmeps On Mon, 20 Jul 2009, Dirk Krause submitted an update to the bmeps package. Bmeps is a library and a command line tool for conversion of different bitmap graphics types to EPS. It can produce EPS levels 1, 2 and 3. Level 2 allows the use of run-length compression and ASCII-85-encoding instead of ASCII-Hex-encoding, while level 3 allows the use of flate compression. TIFF- and PNG-alpha channels can be converted into EPS level 3 image masks. Modified dvips sources are included to allow image conversion directly from dvips. Version number: 2.1.3 Location on CTAN: /support/bmeps Summary description: Converter from PNG/JPEG/Tgb81AIFF/NetPBM to EPS License type: other-free Announcement text: ---------------------------------------------------------------------- Several bug fixes, new features: - Perl script mkpdfsls.pl to create a slide show of photos - Developer documentation created by doxygen. ---------------------------------------------------------------------- This package is located at http://mirror.ctan.org/support/bmeps . More information is at http://tug.ctan.org/info/?id=bmeps (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html . _______________________________________________ Thanks for the upload. For the CTAN Team Rainer Sch?pf _______________________________________________ Ctan-ann mailing list Ctan-ann at dante.dehttps://lists.dante.de/mailman/listinfo/ctan-ann _______________________________________________ At 22:16 04.08.09, Uwe Lueck wrote: >-----Urspr?ngliche Nachricht----- >Von: Uwe L?ck >Gesendet: 04.08.09 22:09:16 >An: Beverley Eyre , texhax at tug.org >CC: Dr C L Tondo >Betreff: Re: [texhax] Using .png, .jpg, .gif >Hi, > >----- At 05:43 02.07.09, Beverley Eyre wrote: ----- > > I've been playing with the graphicx package trying to figure out > > how to easily use non-postscript images in a latex doc. > > I know that I could use pdflatex, but then I'd have the inverse problem. > >(There was > > http://tug.org/mailman/htdig/texhax/2009-July/012860.html > >on this list on this theme.) > > > I want a universal solution. > > > > I'd like to get \DeclareGraphicsRule to work, but it seems more trouble > > to use than just converting each image file by hand. > > > > For example, if I want to use a .png file: > > \DeclareGraphicsExtensions{.png, .eps} > > \DeclareGraphicsRule{.png}{eps}{*}{`convert #1} > > %% (the last arg I've done in many different ways, e.g. {`convert #1 >eps:- } ) > > > > then, in the body: > > > > \includegraphics[width=1in]{myimage} %% (which is myimage.png) > >If it were that simple, namely the method to read .eps worked as well with >.jpg etc., this would have been provided by the graphics bundle for more >than 10 years. It is not -- of course. LaTeX can read the dimensions from >an .eps because this information is contained in an .eps as a plain text >line -- in those other files such information is encrypted in a binary way. >Extracting it using "ordinary" TeX would require emulating real graphics >software by TeX macros. This might (I am still not perfectly informed, >please correct me) include emulating unzip by TeX macros -- an idea I like >much; but there is an essential limitation: TeX's buffer size. There is a >chance that the graphics file is too large and has too few "endline" bytes >to be bitable for TeX. > >I have now collected some relevant things from the UK TeX FAQ (searched for >`png' and `jpg'). While in a parallel thread epstopdf and using PDFLaTeX >rather than "ordinary" LaTeX was recommended, one may still prefer >"ordinary" LaTeX, perhaps because one's DVI viewer shows the page one is >editing more reliably than your PDF viewer (cf. pdfsync package). There are >some nice extensions to the graphics bundle: > >1. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dvipsgraphics > >-- some tools converting to eps, general: ImageQuick's `convert', cf. > > http://www.imagemagick.org/script/command-line-processing.php > >(Was mentioned in the original posting, included here for other readers.) > >2. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dvipdfmgraphics > >-- a utility ebb extracting bounding boxes! -- part of dvipdfm package, cf. >p. 20 of > > http://tug.ctan.org/tex-archive/dviware/dvipdfm/dvipdfm.pdf > >\par May be related, too: > >3. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=unkgrfextn > >4. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdftexgraphics > >HTH -- Uwe L. > > >----- Originalnachricht ----- >Gesendet: 2009/07/02 05:43:28 >Betreff: [texhax] Using .png, .jpg, .gif > >Hi all. > >I've been playing with the graphicx package trying to figure out how to >easily use non-postscript images in a latex doc. I know that I could use >pdflatex, but then I'd have the inverse problem. I want a universal solution. > >I'd like to get \DeclareGraphicsRule to work, but it seems more trouble to >use than just converting each image file by hand. > >For example, if I want to use a .png file: >\DeclareGraphicsExtensions{.png, .eps} >\DeclareGraphicsRule{.png}{eps}{*}{`convert #1} %% (the last arg I've done >in many different ways, e.g. {`convert #1 eps:- } ) > >then, in the body: > >\includegraphics[width=1in]{myimage} %% (which is myimage.png) > >I get an error msg telling me that I there is no bounding box. So in order >to use it, I have to determine the bounding box for the image first, and >then include that info into one or the other command. But, if I just do: > > > convert myimage.png myimage.eps > >on the command line, it converts it without having to know the bounding box >info. I'm not sure why convert needs the bounding box info in one case >(latex) but not the other (command line). > >So, I'm not really getting the point of \DeclareGraphicsRule since using it >is much more trouble than converting by hand. Which brings me back to my >point, is there any easy way to use non-postscript images in a latex doc? >My best guess at this point is no, and the only way forward is to re-write >some of the graphicx commands to that they can use the bounding box info >generated by 'convert' or some other conversion program. > >TIA for any help or discussion. > >Beverley Eyre From adityam at umich.edu Fri Aug 7 15:46:07 2009 From: adityam at umich.edu (Aditya Mahajan) Date: Fri, 7 Aug 2009 09:46:07 -0400 (EDT) Subject: [texhax] OOT : tex/latex International journal In-Reply-To: References: Message-ID: On Fri, 7 Aug 2009, wawan wrote: > Where we can submit tex related publication ? Thera are two journals published by TUG TUGboat: http://www.tug.org/TUGboat/ PracTeX: http://www.tug.org/pracjourn/ Some local tex user groups also have a journal/magazine. NTG publishes MAPS http://www.ntg.nl/maps.html UK-TUG publishes baskerville http://uk.tug.org/baskerville/ GUTenberg used to publish Cahiers http://www.gutenberg.eu.org/publications/ Dante publishes DTK http://www.dante.de/DTK.html GTF publishes Eutypon http://www.eutypon.gr/eutypon/index.html Aditya From joseph.wright at morningstar2.co.uk Fri Aug 7 16:04:37 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Fri, 07 Aug 2009 15:04:37 +0100 Subject: [texhax] OOT : tex/latex International journal In-Reply-To: References: Message-ID: <4A7C3475.4040800@morningstar2.co.uk> wawan wrote: > Where we can submit tex related publication ? TUGBoat seems most sensible: http://www.tug.org/tugboat -- Joseph Wright From karl at huftis.org Fri Aug 7 09:33:07 2009 From: karl at huftis.org (Karl Ove Hufthammer) Date: Fri, 07 Aug 2009 09:33:07 +0200 Subject: [texhax] derivatives and integrals: math operators References: <200908061558.54952.natercia@eq.uc.pt> Message-ID: Nat?rcia Fernandes: > Already in 1997, there was an article published in TUGboat (Typesetting > mathematics for science and technology according to ISO 31/XI) by Claudio > Beccari and available at > http://www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf where he says that > the "d" of derivatives and integrals should be upright (see item number > 6). It seems to make sense and I've been using it. > > But at the same time, I haven't seen it being followed by other people... > For example, the work of Lars Madsen Introduktion til LaTeX doesn't. > > Can anyone clarify this point to me, please? I think this is *partially* a UK/US or European/US thing, with the US almost always using the italic d. Personally, I much prefer the upright d. Here?s the command I use to type it: % 'Magical' differential operator, that can be used for everything, % taken from http://www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf. % Using improved (and much shorter) version from Morten H?gholm . \newcommand*\diff{ \mathop{}\nobreak \mskip-\thinmuskip\nobreak \mathrm{d} } You use it like this: \int f(x)\diff x. There?s also one for \partial: \newcommand*\pdiff{ \mathop{}\nobreak \mskip-\thinmuskip\nobreak \partial } One advantage of these commands is that they get the spacing right, both for integrals and other expressions, such as fractions. But for ?inline? fractions, e.g., dy/dx, you need this macro the get the spacing perfect: % And a 'magical' fraction slash, also from Morten H?gholm: \providecommand*\ifrac[2]{ \begingroup #1 \endgroup % A Close / so no space before it (unless a punctuation atom is the % last item in #1 but unlikely). \mathclose{/}% % Followed by an empty Open. Thus no space is inserted before the % denominator. \mathopen{}% \begingroup #2 \endgroup } It?s also quite useful in that you can easily switch between a \frac and \ifrac if you later decide one looks better than the other. -- Karl Ove Hufthammer From eduardo at kalinowski.com.br Fri Aug 7 16:22:28 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Fri, 07 Aug 2009 11:22:28 -0300 Subject: [texhax] OOT : tex/latex International journal In-Reply-To: References: Message-ID: <20090807112228.72485l80y4xzgigw@mail.kalinowski.com.br> On Sex, 07 Ago 2009, wawan wrote: > Where we can submit tex related publication ? The TUGboat: http://www.tug.org/tugboat/ There's also the PracTeX journal, which is online only: http://www.tug.org/pracjourn/ Finally, some user groups have national journals. See the list at http://www.tug.org/usergroups.html -- Eduardo M KALINOWSKI eduardo at kalinowski.com.br From john at wexfordpress.com Fri Aug 7 17:06:31 2009 From: john at wexfordpress.com (John Culleton) Date: Fri, 7 Aug 2009 11:06:31 -0400 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <4A4E3D9D.3060507@uit.co.uk> References: <4A4E3D9D.3060507@uit.co.uk> Message-ID: <200908071106.31741.john@wexfordpress.com> On Friday 03 July 2009 01:19:25 pm Niall Mansfield wrote: > Folks occasionally ask about what sort of books can be produced > using (La)TeX. We've recently published a couple of books using > only LaTeX and other free tools. The first one is unusual > because it's in full-colour and > contains hundreds of photographs and other illustrations. Here is an ironic example. I needed to do an e-book full of illos. I first set it up in Scribus. Scribus generates very large pdf files. The Web host (Booklocker) had a limit on file sizes. So I redid it in pdftex to get the file size down. The irony is in the subject of the e-book. See below. -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html From crebecca at uchicago.edu Fri Aug 7 19:18:23 2009 From: crebecca at uchicago.edu (crebecca at uchicago.edu) Date: Fri, 7 Aug 2009 12:18:23 -0500 (CDT) Subject: [texhax] whitespace in ledmac 2-col footnotes In-Reply-To: <5.1.0.14.0.20090807145540.027f5300@pop3.web.de> References: <1182476322@web.de> <5.1.0.14.0.20090807145540.027f5300@pop3.web.de> Message-ID: <20090807121823.BRR07041@m4500-03.uchicago.edu> If, in ledmac, I use \foottwocol{B} How do I adjust (decrease) the white space between the two columns? So far, I can't find instructions in the documentation or elsewhere. With thanks, Rebecca -------------------------- Rebecca Chung crebecca at uchicago.edu chung at iit.edu if you receive this message in error, please notify crebecca at uchicago.edu and support at uchicago.edu From phil at math.wichita.edu Fri Aug 7 22:59:31 2009 From: phil at math.wichita.edu (Phil Parker) Date: Fri, 07 Aug 2009 16:59:31 -0400 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <4A7BF341.9080406@dr-qubit.org> Message-ID: <200908072200.n77M0p9H015512@mfe01.daimi.au.dk> On 08/07/2009 at 10:26 AM, Toby Cubitt wrote: >Phil Parker wrote: >> Since we create the stuff, we get to make the rules, conventions, guidelines, >> etc. Perhaps they want to change it so they can feel some sort of ownership of >> it when they use it. (Who knows? I'm not a psychologist! But I suspect it's >> more to keep us from reading physics too readily: we haven't paid our dues, >> and physics is a lot easier to understand with advanced math than with >> elementary math [a.k.a. "the hard way" or Phys 101 way].) >Goodness! What a tirade against physicists, all over a tiny difference of >notational convention. Did you suffer some sort of converse to the apocryphal >story about Alfred Nobel and the lack of a mathematics prize? :) To me, it's not a tirade, just an observation with appropriate note of my not being professionally qualified in psychology. The whole is the result of almost 40 years of working with, and reading papers by, physicists -- my "gut reaction" to it all. If your experience is different, I can't speak to that. -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: I must be a mushroom: people keep me in the dark and feed me shit. From george at galis.org Sat Aug 8 02:41:39 2009 From: george at galis.org (George Georgalis) Date: Fri, 7 Aug 2009 17:41:39 -0700 Subject: [texhax] turning off hyperlink in LastPage In-Reply-To: <4A7AB821.5060006@dr-qubit.org> References: <20090806023525.GP4358@tiger.pool> <4A7AB821.5060006@dr-qubit.org> Message-ID: <20090808004139.GA4358@tiger.pool> On Thu 06 Aug 2009 at 12:01:53 PM +0100, Toby Cubitt wrote: >George Georgalis wrote: >> Hi, I've been using the LastPage package with success >> to reference the total number of pages in a footer. >> >> \usepackage{lastpage} >> ... >> \fancyfoot[R]{\slshape {\thepage~of~\pageref{LastPage}}} >> >> I don't see a need to hyper link to the end of the document >> though and cannot see anyway to turn it off. Suggestions? > >Use \pageref* instead, which suppresses the hyperlink. (FYI, \ref* does >the same for references.) Okay, thanks, cannot confirm (per next message) but this seems like the fix. (...I was looking at lastpage docs). George From george at galis.org Sat Aug 8 03:02:56 2009 From: george at galis.org (George Georgalis) Date: Fri, 7 Aug 2009 18:02:56 -0700 Subject: [texhax] installing.... Message-ID: <20090808010256.GB4358@tiger.pool> Hi All, I've been looking for a way to simplify my latex and package installs. I've been using various packages from the pkgsrc package manager but I think it's really not optimal for latex plus packages. Have been looking at TexLive but not able to get it working on netbsd. I understand that binaries are not available for netbsd, but I assumed TexLive provided a means to compile required programs. Does texlive support bootstraping the environment when it is necessary to compile the programs? Or, maybe I need to compile a suite before I can use the TexLive manager? I'm not seeing TexLive dependancies though. What do I need in place before I can use TexLive? George From george at galis.org Sat Aug 8 05:11:54 2009 From: george at galis.org (George Georgalis) Date: Fri, 7 Aug 2009 20:11:54 -0700 Subject: [texhax] installing.... In-Reply-To: <20090808010256.GB4358@tiger.pool> References: <20090808010256.GB4358@tiger.pool> Message-ID: <20090808031154.GD4358@tiger.pool> On Fri 07 Aug 2009 at 06:02:56 PM -0700, George Georgalis wrote: >Or, maybe I need to compile a suite before I can use the TexLive >manager? I'm not seeing TexLive dependancies though. What do I >need in place before I can use TexLive? Okay, found the sources http://tug.ctan.org/tex-archive/systems/texlive/Source/ still building and been a while since I got any error... more to follow. -G From george at galis.org Sat Aug 8 06:38:25 2009 From: george at galis.org (George Georgalis) Date: Fri, 7 Aug 2009 21:38:25 -0700 Subject: [texhax] installing.... In-Reply-To: <20090808031154.GD4358@tiger.pool> References: <20090808010256.GB4358@tiger.pool> <20090808031154.GD4358@tiger.pool> Message-ID: <20090808043825.GE4358@tiger.pool> On Fri 07 Aug 2009 at 08:11:54 PM -0700, George Georgalis wrote: >On Fri 07 Aug 2009 at 06:02:56 PM -0700, George Georgalis wrote: >>Or, maybe I need to compile a suite before I can use the TexLive >>manager? I'm not seeing TexLive dependancies though. What do I >>need in place before I can use TexLive? > >Okay, found the sources >http://tug.ctan.org/tex-archive/systems/texlive/Source/ >still building and been a while since I got any error... >more to follow. ...well I ran into more problems, but I see there is quite a discussion on netbsd in the tex-live at tug.org list so I'll followup there. --George From xgracia at ma4.upc.edu Fri Aug 7 18:15:25 2009 From: xgracia at ma4.upc.edu (Xavier Gracia Sabate) Date: Fri, 7 Aug 2009 18:15:25 +0200 (CEST) Subject: [texhax] derivatives and integrals: math operators In-Reply-To: References: Message-ID: On 08/06/2009 at 03:58 PM, Natercia Fernandes wrote: > Math operators should be typeset in upright letters and also have a special > spacing. > So shouldn't the "d" of derivatives (or integrals) be set with upright > letters, since both are mathematical operators? In differential geometry "d" is frequently used for the exterior differential operator. As such, some people (including myself) typeset it in upright letters. This "d" is not sinply AN operator, but a specific (and very important) one. I use the same convention for other one-letter operators (as the tangent map, or the jet bundles). The "d" in integrals has a meaning close to that of differential geometry, and therefore I also put it upright. (By the way, the judgement on a notation should be based on its usefulness and coherence, and not on who is presumed to use it. I also support putting the differential next to the integral sign, for reasons that have already been exposed.) Xavier Gracia Faculty of Mathematics and Statistics Technical University of Catalonia From staskevichag at gmail.com Sat Aug 8 13:17:13 2009 From: staskevichag at gmail.com (Andrei Staskevich) Date: Sat, 8 Aug 2009 14:17:13 +0300 Subject: [texhax] Question about pstricks Message-ID: Hello! Could you tell me what software is used to get from dvi file with pstricks png image, whereas on you site there are fine images.? I tried dvipng 1.5, but I get errors, Thank you. Sincerely, Andrei. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Herbert.Voss at FU-Berlin.DE Sat Aug 8 18:50:46 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sat, 08 Aug 2009 18:50:46 +0200 Subject: [texhax] Question about pstricks In-Reply-To: References: Message-ID: <4A7DACE6.5030904@FU-Berlin.DE> Andrei Staskevich schrieb: > Could you tell me what software is used to get from dvi file with pstricks > png image, whereas on you site there are fine images.? I tried dvipng 1.5, > but I get errors, enable the creation of png in the Perl script pst2pdf you'll find the location with kpsewhich pst2pdf.pl then your tex file with pst2pdf, then you get in a subdirectory images/ all pspicture environments as single eps, pdf, and png images Herbert From vi5u0-texhax at yahoo.co.uk Sat Aug 8 21:33:23 2009 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Sat, 8 Aug 2009 20:33:23 +0100 (BST) Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <200908070420.n774K2im009355@mfe02.daimi.au.dk> References: <200908070420.n774K2im009355@mfe02.daimi.au.dk> Message-ID: On Thu, 6 Aug 2009, Phil Parker wrote: > Since we create the stuff, we get to make the rules, conventions, > guidelines, etc. It suddenly occured to me: if we want to adopt this principle (and I'm not _entirely_ convinced I do ;-)), I guess we need to look into how Leibniz typeset the "d" of total differentials. Does anyone know? (The answer "he used whatever typepiece the printer had to hand on the day he walked into the print shop" strikes me as a strong possibility.) -- Regards, Dan From brandon at 301south.net Sun Aug 9 07:55:41 2009 From: brandon at 301south.net (Brandon Kuczenski) Date: Sat, 8 Aug 2009 22:55:41 -0700 (PDT) Subject: [texhax] what is wrong with \ifthenelse? Message-ID: Hi everyone, Thanks for your enduring patience with me and others.. I do not understand, what is wrong with the following minimal example which uses the ifthen package? I get the error: ! Missing = inserted for \ifnum. \documentclass[letterpaper]{article} \usepackage{ifthen} \newcommand{\whichisgreater}[2]{% \ifthenelse{#1 < #2}{% Two! #2 }{% One! #1 } } \begin{document} \whichisgreater{0.3}{0.5} \end{document} Thanks in advance, Brandon From giuseppe.angilella at ct.infn.it Sun Aug 9 10:31:27 2009 From: giuseppe.angilella at ct.infn.it (Giuseppe G. N. Angilella) Date: Sun, 9 Aug 2009 10:31:27 +0200 (CEST) Subject: [texhax] clip postscript figures by page Message-ID: <36770.79.47.98.108.1249806687.squirrel@imapfis.ct.infn.it> Hi, I use the graphicx package to embed PostScript figures in LaTeX, and I am aware of the useful "clip" option in \includegraphics, which enables to embed only a trimmed area of a given postscript file, by specifying an appropriate bounding box. Suppose now the postscript file contains several pages: is there something like a "clip" option that allows one to first select a given page, then clip that page to the desired bounding box? Thanks for your feedback. Regards, Giuseppe. From phil at math.wichita.edu Sun Aug 9 10:33:35 2009 From: phil at math.wichita.edu (Phil Parker) Date: Sun, 09 Aug 2009 04:33:35 -0400 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: Message-ID: <200908090933.n799Xfd1008944@mfe02.daimi.au.dk> On 08/08/2009 at 08:33 PM, Dan Hatton wrote: >On Thu, 6 Aug 2009, Phil Parker wrote: >> Since we create the stuff, we get to make the rules, conventions, >> guidelines, etc. >It suddenly occured to me: if we want to adopt this principle (and I'm not >_entirely_ convinced I do ;-)), I guess we need to look into how Leibniz >typeset the "d" of differentials. Does anyone know? Italic, not upright. (I also teach math history, so do some research in it.) Also at that time it was common to switch from Greek to Latin letters to indicate taking limits. Hence \Sigma_i f(x^*_i) \delta x_i became [integral sign] f(x) dx where Leibniz chose for [integral sign] the common Italic u.c. "S" of the day, which is an elongated, smoothed shape that is now used only for the integral sign. (Together with several later variants.) Most math history texts will show some reproductions of printed pages of the era in which this is well seen in context. -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: Magnocartic, adj.: Any automobile that, when left unattended, attracts shopping carts. ---Sniglets, "Rich Hall & Friends" From madduck at madduck.net Sun Aug 9 11:35:30 2009 From: madduck at madduck.net (martin f krafft) Date: Sun, 9 Aug 2009 11:35:30 +0200 Subject: [texhax] Section titles break lines too early Message-ID: <20090809093529.GA27206@piper.oerlikon.madduck.net> Hi folks, I am working on my PhD thesis, and some of the section titles break lines too early, e.g. 1.2.3 This is a section which line-breaks And this is text that extends to \textwidth just like it should further exemplifying that the section title is not properly rendered. I cannot reproduce this in a test document, even when using scrbook, and drilling down/bisecting until I have the cause is too complex with a 300 page document making extensive use of LaTeX. Thus my question: what influences the section rendering and how can I make sure that the minipage or whatever it is that causes it to wrap extends to \textwidth? Thanks, -- martin | http://madduck.net/ | http://two.sentenc.es/ in the beginning was the word, and the word was content-type: text/plain spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: From news3 at nililand.de Sun Aug 9 12:09:29 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Sun, 9 Aug 2009 12:09:29 +0200 Subject: [texhax] what is wrong with \ifthenelse? References: Message-ID: <1ix6j42fxkque.dlg@nililand.de> Am Sat, 8 Aug 2009 22:55:41 -0700 (PDT) schrieb Brandon Kuczenski: > Hi everyone, > > Thanks for your enduring patience with me and others.. I do not > understand, what is wrong with the following minimal example which uses > the ifthen package? I get the error: > ! Missing = inserted for \ifnum. > > > > \documentclass[letterpaper]{article} > \usepackage{ifthen} > > \newcommand{\whichisgreater}[2]{% > \ifthenelse{#1 < #2}{% > Two! > #2 > }{% > One! > #1 > } > } > > \begin{document} > \whichisgreater{0.3}{0.5} > > \end{document} The numbers must be integers. Use lengthtest: \documentclass[letterpaper]{article} \usepackage{ifthen} \newcommand{\whichisgreater}[2]{% \ifthenelse{\lengthtest{#1cm < #2cm}}{% Two! #2 }{% One! #1 } } \begin{document} \whichisgreater{0.3}{0.5} \end{document} -- Ulrike Fischer From madduck at madduck.net Sun Aug 9 13:42:34 2009 From: madduck at madduck.net (martin f krafft) Date: Sun, 9 Aug 2009 13:42:34 +0200 Subject: [texhax] Changing TOC \part formatting with scrbook Message-ID: <20090809114234.GA3769@piper.oerlikon.madduck.net> Hi folks, I am using the scrbook class for a thesis. I'd like to reformat the way that \part{}s appear in the TOC, e.g. instead of II Research I want _________________________________________________________________ Research I have played around with the tocloft package, but the closest I could come was \renewcommand{\cftpartpresnum}{\protect\mbox{}\protect\hrulefill\par} \cftpagenumbersoff{part} which produces _________________________________________________________________ ___IIResearch which is quite ugly. ;) Any idea how I can achieve what I want? -- martin | http://madduck.net/ | http://two.sentenc.es/ "even if you persuade me, you won't persuade me." -- aristophanes spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: From news3 at nililand.de Sun Aug 9 18:17:30 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Sun, 9 Aug 2009 18:17:30 +0200 Subject: [texhax] clip postscript figures by page References: <36770.79.47.98.108.1249806687.squirrel@imapfis.ct.infn.it> Message-ID: <1503cqtrkc79e.dlg@nililand.de> Am Sun, 9 Aug 2009 10:31:27 +0200 (CEST) schrieb Giuseppe G. N. Angilella: > Hi, > > I use the graphicx package to embed PostScript figures in LaTeX, and I am > aware of the useful "clip" option in \includegraphics, which enables to > embed only a trimmed area of a given postscript file, by specifying an > appropriate bounding box. > > Suppose now the postscript file contains several pages: is there something > like a "clip" option that allows one to first select a given page, then > clip that page to the desired bounding box? You can try to use the key "page" to select a page. With pdf it works fine but I don't know if it can also handle ps-files. -- Ulrike Fischer From brandon at 301south.net Mon Aug 10 02:32:33 2009 From: brandon at 301south.net (Brandon Kuczenski) Date: Sun, 9 Aug 2009 17:32:33 -0700 (PDT) Subject: [texhax] visibility of variables through \rput Message-ID: Hi TeXers, I have encountered a difficulty with using custom commands from inside \rput. When the commands define new macros, those macros aren't visible from outside the \rput. In the example below, the command defines \theresult-- the first reference to \theresult works; the second reports an "Undefined control sequence". Is there any way to make the results of the computation visible outside of the \rput scope? \documentclass{article} \usepackage{pstricks-add} \usepackage{fp} \newcommand{\compute}[2]{% \FPmul\theresult{#1}{#2} \theresult } \begin{document} \begin{pspicture}(0,0)(5,5) \rput(2,2){\compute{0.4}{0.377} \rput(10,0){\theresult} % this one works fine } \rput(10,5){\theresult} % this one gives an error \end{pspicture} \end{document} Thanks in advance, Brandon From Herbert.Voss at FU-Berlin.DE Mon Aug 10 08:31:55 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 10 Aug 2009 08:31:55 +0200 Subject: [texhax] visibility of variables through \rput In-Reply-To: References: Message-ID: <4A7FBEDB.9000608@FU-Berlin.DE> Brandon Kuczenski schrieb: > I have encountered a difficulty with using custom commands from inside > \rput. When the commands define new macros, those macros aren't visible > from outside the \rput. In the example below, the command defines > \theresult-- the first reference to \theresult works; the second reports > an "Undefined control sequence". Is there any way to make the results > of the computation visible outside of the \rput scope? The argument of \rput is internally inside a local group. Try this: \makeatletter \newcommand\compute[2]{% \FPmul\pst at tempa{#1}{#2} \global\let\theresult\pst at tempa} \makeatother Herbert From brandon at 301south.net Mon Aug 10 09:02:44 2009 From: brandon at 301south.net (Brandon Kuczenski) Date: Mon, 10 Aug 2009 00:02:44 -0700 (PDT) Subject: [texhax] visibility of variables through \rput In-Reply-To: <4A7FBEDB.9000608@FU-Berlin.DE> References: <4A7FBEDB.9000608@FU-Berlin.DE> Message-ID: On Mon, 10 Aug 2009, Herbert Voss wrote: > Brandon Kuczenski schrieb: > >> I have encountered a difficulty with using custom commands from inside >> \rput. When the commands define new macros, those macros aren't visible >> from outside the \rput. In the example below, the command defines >> \theresult-- the first reference to \theresult works; the second reports >> an "Undefined control sequence". Is there any way to make the results >> of the computation visible outside of the \rput scope? > > The argument of \rput is internally inside a local group. > Try this: > > \makeatletter > \newcommand\compute[2]{% > \FPmul\pst at tempa{#1}{#2} > \global\let\theresult\pst at tempa} > \makeatother > > Thank you- that seems to work great. Two follow-up questions: what's a good reference to understand scoping in TeX? and if I were to put this command declaration with related ones in a .sty file, well.. what's a good reference to understand how to do that well? Learning by trial and error (and texhax as a last resort) is getting tiring. Kind regards, Brandon From Herbert.Voss at FU-Berlin.DE Mon Aug 10 09:21:28 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 10 Aug 2009 09:21:28 +0200 Subject: [texhax] visibility of variables through \rput In-Reply-To: References: <4A7FBEDB.9000608@FU-Berlin.DE> Message-ID: <4A7FCA78.8070606@FU-Berlin.DE> Brandon Kuczenski schrieb: > Thank you- that seems to work great. Two follow-up questions: what's a > good reference to understand scoping in TeX? and if I were to put this > command declaration with related ones in a .sty file, well.. what's a > good reference to understand how to do that well? Learning by trial and > error (and texhax as a last resort) is getting tiring. The LaTeX Companion and a lot of helpful information is here: http://mirror.ctan.org/info/ Herbert From tsc25 at cantab.net Mon Aug 10 10:45:02 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Mon, 10 Aug 2009 09:45:02 +0100 Subject: [texhax] visibility of variables through \rput In-Reply-To: <4A7FCA78.8070606@FU-Berlin.DE> References: <4A7FBEDB.9000608@FU-Berlin.DE> <4A7FCA78.8070606@FU-Berlin.DE> Message-ID: <4A7FDE0E.2010508@dr-qubit.org> Herbert Voss wrote: > Brandon Kuczenski schrieb: > >> Thank you- that seems to work great. Two follow-up questions: what's a >> good reference to understand scoping in TeX? and if I were to put this >> command declaration with related ones in a .sty file, well.. what's a >> good reference to understand how to do that well? Learning by trial and >> error (and texhax as a last resort) is getting tiring. > > The LaTeX Companion > > and a lot of helpful information is here: > http://mirror.ctan.org/info/ TeX by Topic (http://eijkhout.net/texbytopic/texbytopic.html) is also very useful. And, not specifically for scoping but for other low-level things, the LaTeX source itself (the source2e.pdf file somewhere in your texmf tree) is much more helpful than your average source code, since it's written in literate programming style. HTH, Toby From wes at hef.kun.nl Mon Aug 10 11:22:24 2009 From: wes at hef.kun.nl (W.J. Metzger) Date: Mon, 10 Aug 2009 11:22:24 +0200 (CEST) Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <200908061558.54952.natercia@eq.uc.pt> References: <200908061558.54952.natercia@eq.uc.pt> Message-ID: An upright d is listed as the notation for the total differential by the International Union of Pure and Applied Physics (IUPAP) -- see http://www-v2.sp.se/metrology/IUPAP_SUNAMCO/IUPAP SUNAMCO Commission_files/IUPAP_Red_book_1987/SUNAMCO Red book 1987/index_red_book_iupap_sunamco_1987.htm or google on iupap units This always seemed reasonable to me since it makes an equation like dd = vdt more readable. Cheers, Dr. W. J. Metzger Experimental High Energy Physics Group tel. +31-24-3653127 Faculty of Science +31-24-3652099 (secr.) Radboud University Nijmegen fax. +31-24-3652191 Heyendaalseweg 135 6525 AJ Nijmegen, The Netherlands e-mail: wes at hef.ru.nl or Wesley.Metzger at cern.ch http://home.cern.ch/metzger/ or http://www.hef.ru.nl/~wes From doc.evans at gmail.com Mon Aug 10 16:08:56 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Mon, 10 Aug 2009 08:08:56 -0600 Subject: [texhax] TeX -> epub Message-ID: <4A8029F8.7020800@gmail.com> I can't think where else to ask this question, although it seems a bit off-topic. If there's somewhere better, please tell me. Nearly all my work for publication has been written using plain TeX. Now I want to try to make one text available as an epub document, and I find myself completely at a loss as to the best way to proceed. What tool(s) is/are available that would take plain TeX input and produce some kind of usable epub output? Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From martin at oneiros.de Mon Aug 10 16:24:48 2009 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Mon, 10 Aug 2009 16:24:48 +0200 Subject: [texhax] TeX -> epub In-Reply-To: <4A8029F8.7020800@gmail.com> References: <4A8029F8.7020800@gmail.com> Message-ID: <68c491a60908100724o272f8eaflf455102f4f4c5836@mail.gmail.com> 2009/8/10 D. R. Evans : > Nearly all my work for publication has been written using plain TeX. Now I > want to try to make one text available as an epub document, and I find > myself completely at a loss as to the best way to proceed. What tool(s) > is/are available that would take plain TeX input and produce some kind of > usable epub output? AFAIK epub is basically XHTML + images, wrapped in a container with metadata (in XML). So you need to get XHTML & images from your TeX files. Try tex4ht. Best Martin From yuri.robbers at gmail.com Mon Aug 10 16:28:26 2009 From: yuri.robbers at gmail.com (Yuri Robbers) Date: Mon, 10 Aug 2009 15:28:26 +0100 Subject: [texhax] TeX -> epub In-Reply-To: <4A8029F8.7020800@gmail.com> References: <4A8029F8.7020800@gmail.com> Message-ID: Hi Doc, I think this would be the right forum to ask. I have no personal experience with this type of conversion, but I would suggest the following: 1) convert TeX to html using one of the many available converters (tex2html, tex4ht, etc.) 2) convert the html file you obtained in step 1 to epub using either getepub (http://www.bookglutton.com/api/docs/d/getepub) or Calibre ( http://calibre.kovidgoyal.net/download) Since epub is an xhtml+css+mathml based standard, I'm sure this qould at least get you something decent to work with that you can then improve upon, if needed. I remember having read about an effort to write an opensource tex2epub program that is close to completion, but the source eludes me at the moment. I'll write again if I remember the source... Cheers, Yuri. On Mon, Aug 10, 2009 at 3:08 PM, D. R. Evans wrote: > I can't think where else to ask this question, although it seems a bit > off-topic. If there's somewhere better, please tell me. > > Nearly all my work for publication has been written using plain TeX. Now I > want to try to make one text available as an epub document, and I find > myself completely at a loss as to the best way to proceed. What tool(s) > is/are available that would take plain TeX input and produce some kind of > usable epub output? > > Doc > > -- > Web: http://www.sff.net/people/N7DR > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.adams at frycomm.com Mon Aug 10 18:04:59 2009 From: will.adams at frycomm.com (William Adams) Date: Mon, 10 Aug 2009 12:04:59 -0400 Subject: [texhax] TeX -> epub In-Reply-To: <4A8029F8.7020800@gmail.com> References: <4A8029F8.7020800@gmail.com> Message-ID: <52935256-6E8B-4122-A079-5C368F8FEA5E@frycomm.com> On Aug 10, 2009, at 10:08 AM, D. R. Evans wrote: > I can't think where else to ask this question, although it seems a bit > off-topic. If there's somewhere better, please tell me. > > Nearly all my work for publication has been written using plain TeX. > Now I > want to try to make one text available as an epub document, and I find > myself completely at a loss as to the best way to proceed. What > tool(s) > is/are available that would take plain TeX input and produce some > kind of > usable epub output? epub authoring tools are few and far between at this point in time. I don't know of any which accept plain tex as input --- though one might be able to input LaTeX into OpenOffice, then use this: http://infogridpacific.typepad.com/publishing_with_xml/2009/02/escape-open-office-to-EPUB-convertor.html Here's a list of tools / commentary on .epub authoring tools: http://www.helpandmanual.com/ http://blogs.adobe.com/billmccoy/2007/08/authoring_epub.html Ultimately though a .epub is an xml file like to .html, so typical conversion techniques should work --- good discussion here: http://www.teleread.org/2008/05/16/epub-demystified-tomorrows-e-book-reader-the-web-browser/ If your markup is consistent and high-level enough you might be able to do the conversion directly and manually: http://www.jedisaber.com/eBooks/tutorial.asp William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From karl at freefriends.org Mon Aug 10 23:04:44 2009 From: karl at freefriends.org (Karl Berry) Date: Mon, 10 Aug 2009 16:04:44 -0500 Subject: [texhax] visibility of variables through \rput In-Reply-To: <4A7FDE0E.2010508@dr-qubit.org> Message-ID: <200908102104.n7AL4in05018@f7.net> And, not specifically for scoping but for other low-level things, the LaTeX source itself (the source2e.pdf file somewhere in your texmf tree) is much more helpful than your average source code, since it's written in literate programming style. I echo that, and let me mention that for people who like to read on paper, it's available at http://www.lulu.com/content/837928, thanks to Tim Arnold. From richard at tollyboy.demon.co.uk Tue Aug 11 01:43:37 2009 From: richard at tollyboy.demon.co.uk (Richard Davies) Date: Tue, 11 Aug 2009 00:43:37 +0100 Subject: [texhax] pstricks \pstextpath Message-ID: <4A80B0A9.7040906@tollyboy.demon.co.uk> This minimal example compiles with no errors. The DVI shows the curved line but the text is in a straight line across the top of the curves. Thanks in advance for any advice. \documentclass{article} \usepackage{pstricks,pst-text} \begin{document} \begin{center} \psset{unit=3.5cm,linecolor=lightgray} \begin{pspicture}(-1.5,-1)(1.5,0) \pstextpath{\pscurve(-1.41,0)(-1,-1)(0,0)(1,-1)(1.41,0) {\color{blue}\large Esta frase sinuose y peculiar est\'a escrita a log largo de la curve $y=x^4-2x^2$}} \end{pspicture} \end{center} \end{document} Regards Richard. From toms at ncifcrf.gov Tue Aug 11 05:09:08 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Mon, 10 Aug 2009 23:09:08 -0400 (EDT) Subject: [texhax] pstricks \pstextpath In-Reply-To: <4A80B0A9.7040906@tollyboy.demon.co.uk> from Richard Davies at "Aug 10, 2009 07:43:37 pm" Message-ID: <200908110309.n7B398cw000239@strawberry.ncifcrf.gov> > This minimal example compiles with no errors. The DVI shows the curved > line but the text is in a straight line across the top of the curves. > Thanks in advance for any advice. > > \documentclass{article} > > \usepackage{pstricks,pst-text} > > \begin{document} > > \begin{center} > > \psset{unit=3.5cm,linecolor=lightgray} > > > \begin{pspicture}(-1.5,-1)(1.5,0) > > \pstextpath{\pscurve(-1.41,0)(-1,-1)(0,0)(1,-1)(1.41,0) > {\color{blue}\large Esta frase sinuose y peculiar est\'a escrita a log > largo de la curve $y=x^4-2x^2$}} > > \end{pspicture} > > \end{center} > > \end{document} I gave this to my TexShop on my fully upgraded Mac OSX. It failed! But running latex from the command line it was ok. goole pstextpath gave: http://www.tug.org/pipermail/pstricks/1997/000029.html which contained: \pstextpath{\nccurve{1,3}{3,1}}{Test Text} So the form is: \pstextpath{Path}{Text} then: \pstextpath {\pscurve(-1.41,0)(-1,-1)(0,0)(1,-1)(1.41,0)} {\color{blue}\large Esta frase sinuose y peculiar est\'a escrita a log largo de la curve $y=x^4-2x^2$} works. Tom Dr. Thomas D. Schneider National Institutes of Health schneidt at mail.nih.gov toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms From Herbert.Voss at FU-Berlin.DE Tue Aug 11 09:13:08 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 11 Aug 2009 09:13:08 +0200 Subject: [texhax] pstricks \pstextpath In-Reply-To: <4A80B0A9.7040906@tollyboy.demon.co.uk> References: <4A80B0A9.7040906@tollyboy.demon.co.uk> Message-ID: <4A811A04.2030209@FU-Berlin.DE> Richard Davies schrieb: > This minimal example compiles with no errors. The DVI shows the curved > line but the text is in a straight line across the top of the curves. > Thanks in advance for any advice. View the ps output or the pdf, dvi cannot show rotations Herbert From richard at tollyboy.demon.co.uk Tue Aug 11 10:44:43 2009 From: richard at tollyboy.demon.co.uk (Richard Davies) Date: Tue, 11 Aug 2009 09:44:43 +0100 Subject: [texhax] pstricks \pstextpath In-Reply-To: <4A811A04.2030209@FU-Berlin.DE> References: <4A80B0A9.7040906@tollyboy.demon.co.uk> <4A811A04.2030209@FU-Berlin.DE> Message-ID: <4A812F7B.2090708@tollyboy.demon.co.uk> Herbert Voss wrote: > Richard Davies schrieb: >> This minimal example compiles with no errors. The DVI shows the curved >> line but the text is in a straight line across the top of the curves. >> Thanks in advance for any advice. > > View the ps output or the pdf, dvi cannot show rotations I knew it was something simple that I overlooked. Thank you. Richard. > > Herbert > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > From will.adams at frycomm.com Tue Aug 11 13:40:51 2009 From: will.adams at frycomm.com (William Adams) Date: Tue, 11 Aug 2009 07:40:51 -0400 Subject: [texhax] TeX -> epub In-Reply-To: <52935256-6E8B-4122-A079-5C368F8FEA5E@frycomm.com> References: <4A8029F8.7020800@gmail.com> <52935256-6E8B-4122-A079-5C368F8FEA5E@frycomm.com> Message-ID: <129967A6-9E61-45F5-96E6-FBBF5B1043FC@frycomm.com> On Aug 10, 2009, at 12:04 PM, William Adams wrote: > epub authoring tools are few and far between at this point in time. There's also a word processor which has begun doing direct .epub output: http://www.atlantiswordprocessor.com/en/help/index.php?page=html/ebook.htm William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From reinhard.kotucha at web.de Tue Aug 11 22:56:12 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 11 Aug 2009 22:56:12 +0200 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: References: <200908061558.54952.natercia@eq.uc.pt> Message-ID: <19073.56044.184058.780947@zaphod.ms25.net> On 10 August 2009 W.J. Metzger wrote: > An upright d is listed as the notation for the total differential by > the International Union of Pure and Applied Physics (IUPAP) -- see > > http://www-v2.sp.se/metrology/IUPAP_SUNAMCO/IUPAP SUNAMCO > Commission_files/IUPAP_Red_book_1987/SUNAMCO Red book > 1987/index_red_book_iupap_sunamco_1987.htm > > or google on iupap units This link is extremely useful. Thank you very much! It seems as if your email client wraps lines at spaces. Maybe the link below is 'clickable': http://www-v2.sp.se/metrology/IUPAP_SUNAMCO/IUPAP SUNAMCO Commission_files/IUPAP_Red_book_1987/SUNAMCO Red book 1987/index_red_book_iupap_sunamco_1987.htm Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From P.Taylor at Rhul.Ac.Uk Tue Aug 11 23:27:59 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Tue, 11 Aug 2009 22:27:59 +0100 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <19073.56044.184058.780947@zaphod.ms25.net> References: <200908061558.54952.natercia@eq.uc.pt> <19073.56044.184058.780947@zaphod.ms25.net> Message-ID: <4A81E25F.40406@Rhul.Ac.Uk> Reinhard Kotucha wrote: > It seems as if your email client wraps lines at spaces. Maybe the > link below is 'clickable': > > http://www-v2.sp.se/metrology/IUPAP_SUNAMCO/IUPAP SUNAMCO Commission_files/IUPAP_Red_book_1987/SUNAMCO Red book 1987/index_red_book_iupap_sunamco_1987.htm Not for me : but this one should be -- http://tinyurl.com/SUNAMCO ** Phil. From doc.evans at gmail.com Tue Aug 11 23:59:17 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Tue, 11 Aug 2009 15:59:17 -0600 Subject: [texhax] TeX -> epub In-Reply-To: References: <4A8029F8.7020800@gmail.com> Message-ID: <4A81E9B5.30500@gmail.com> Yuri Robbers said the following at 08/10/2009 08:28 AM : > Hi Doc, > I think this would be the right forum to ask. I have no personal experience > with this type of conversion, but I would suggest the following: > > 1) convert TeX to html using one of the many available converters (tex2html, > tex4ht, etc.) I'll try using tex4ht (as also suggested by Martin) and see how close to usable the result is. I realise that it's really quite a hard problem to go from input that's supposed to define real typography to something that's basically mark-up; I have several quite low-level macros to handle some special cases, and I'll be quite surprised if they they transfer intelligently -- but I'm hoping. > > I remember having read about an effort to write an opensource tex2epub > program that is close to completion, but the source eludes me at the moment. > I'll write again if I remember the source... Google turned up zero hits on "tex2epub", and I tried a few other reasonable searches but couldn't discover anything useful :-( Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From 221 at atlas.cz Wed Aug 12 13:27:05 2009 From: 221 at atlas.cz (=?utf-8?B?U21yxI1rb3bDoSBMdWNpZQ==?=) Date: Wed, 12 Aug 2009 11:27:05 GMT Subject: [texhax] bold lines Message-ID: <1478dc4c72ac4c03a4472b72eb847050@78051becfe554210a0f13df8038321d8> An HTML attachment was scrubbed... URL: -------------- next part -------------- Hello, I have some math expresses (fractions), eqnarrays, tabulars with fractions and after conversion to ps (-> pdf), most of the fraction lines and tabular lines (hline) became bold. What is weird, not all the lines. Could someone please help me? The preamble is \documentclass[11pt,a4paper,czech, UKenglish]{report}\usepackage{amsmath} \usepackage{amssymb} \usepackage{fancyhdr} \usepackage{booktabs} \usepackage{multirow} \usepackage{bigstrut} \usepackage[dvips]{graphicx} \usepackage{pstcol} \usepackage{pstricks,pst-node, pst-tree} \usepackage{babel,varioref} \usepackage[T1]{fontenc} \usepackage[cp1250]{inputenc} Thanks. Lucie From david.reitter at gmail.com Wed Aug 12 16:12:38 2009 From: david.reitter at gmail.com (David Reitter) Date: Wed, 12 Aug 2009 10:12:38 -0400 Subject: [texhax] ligature fi doesn't render - what to do? Message-ID: I have the MyriadPro font installed in a TexLive (MacTeX) 2009 (preview) installation. My map file has entries such as this one: wmrbi6t MyriadPro-BoldIt "ReEncodeFont" epub) In-Reply-To: References: Message-ID: <20090812152256.GJ22822@fi.muni.cz> > From: "D. R. Evans" > Cc: TeXhax > Subject: Re: [texhax] TeX -> epub > > Google turned up zero hits on "tex2epub", and I tried a few other > reasonable searches but couldn't discover anything useful :-( Kaveh Bazargan gave a talk "TeX as an ebook reader" at TUG 2009 recently. I do not know whether it was taped and/or appear in tugboat though. But i guess XML that River Valley delivers to Elsevier will be able to be reformatted on the fly in ebook readers. So try searching harder with these new words ;-). Petr From cvr at river-valley.org Wed Aug 12 18:40:16 2009 From: cvr at river-valley.org (Radhakrishnan) Date: Wed, 12 Aug 2009 22:10:16 +0530 Subject: [texhax] TeX as an ebook reader (was TeX -> epub) In-Reply-To: <20090812152256.GJ22822@fi.muni.cz> References: <20090812152256.GJ22822@fi.muni.cz> Message-ID: <59C9DCC6-F052-49D0-ADB5-8859E784B7E0@river-valley.org> On 12-Aug-09, at 8:52 PM, Petr Sojka wrote: >> From: "D. R. Evans" >> Cc: TeXhax >> Subject: Re: [texhax] TeX -> epub >> >> Google turned up zero hits on "tex2epub", and I tried a few other >> reasonable searches but couldn't discover anything useful :-( > > Kaveh Bazargan gave a talk "TeX as an ebook reader" at TUG 2009 > recently. I do not know whether it was taped and/or appear in The talk is available at: http://www.river-valley.tv > tugboat though. But i guess XML that River Valley delivers > to Elsevier will be able to be reformatted on the fly > in ebook readers. So try searching harder with these new words ;-). We will soon make a public release of Elsevier XML to epub, the final testing is going on intensely. Also, we plan to release similar conversion tools for Docbook, NLM and TEI DTD's. Best -- Radhakrishnan What excuses stand in your way? How can you eliminate them? -- Roger von Oech -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3685 bytes Desc: not available URL: From gerree at Math.Princeton.EDU Wed Aug 12 22:10:56 2009 From: gerree at Math.Princeton.EDU (Gerree Pecht) Date: Wed, 12 Aug 2009 16:10:56 -0400 (EDT) Subject: [texhax] binary symbol needed Message-ID: Hello, Remember me ... past TeX board member ... I'm in need of a binary symbol called interior product ... I have searched through the many manuals ... could not locate it ... standard math symbol? Please email your response to myself and Professor Kohn. Thanks! G. -- Gerree P. Pecht Princeton University Mathematics Department (609) 258-3011 From bnb at ams.org Wed Aug 12 22:57:08 2009 From: bnb at ams.org (Barbara Beeton) Date: Wed, 12 Aug 2009 16:57:08 -0400 (EDT) Subject: [texhax] binary symbol needed In-Reply-To: References: Message-ID: gerree, I'm in need of a binary symbol called interior product ... I have searched through the many manuals ... could not locate it ... standard math symbol? this symbol exists in unicode; see the chart at http://www.unicode.org/charts/PDF/U2A00.pdf where it appears in position 2A3C. (some mathematicians prefer the upright leg to be longer than the one on the bottom; that's a recognized variant.) however, i don't know of current availability in any tex font, although this is being worked on. for the present, i suggest hacking it together from a vertical and a horizontal line in a box, making that \mathbin, and calling it \intprod (that's what it will be called in the stix font, once latex support is created). Please email your response to myself and Professor Kohn. done. -- bb From will.adams at frycomm.com Thu Aug 13 14:10:20 2009 From: will.adams at frycomm.com (William Adams) Date: Thu, 13 Aug 2009 08:10:20 -0400 Subject: [texhax] TeX -> epub In-Reply-To: <4A81E9B5.30500@gmail.com> References: <4A8029F8.7020800@gmail.com> <4A81E9B5.30500@gmail.com> Message-ID: <7BEFE356-2AE0-44E5-B7A9-6F395125E6D9@frycomm.com> On Aug 11, 2009, at 5:59 PM, D. R. Evans wrote: > Google turned up zero hits on "tex2epub", and I tried a few other > reasonable searches but couldn't discover anything useful :-( While not tex2epub, Sigil might be of interest as well: http://code.google.com/p/sigil/ It's an opensource epub authoring tool William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From doc.evans at gmail.com Thu Aug 13 18:26:55 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Thu, 13 Aug 2009 10:26:55 -0600 Subject: [texhax] TeX -> epub In-Reply-To: <7BEFE356-2AE0-44E5-B7A9-6F395125E6D9@frycomm.com> References: <4A8029F8.7020800@gmail.com> <4A81E9B5.30500@gmail.com> <7BEFE356-2AE0-44E5-B7A9-6F395125E6D9@frycomm.com> Message-ID: <4A843ECF.5080806@gmail.com> William Adams said the following at 08/13/2009 06:10 AM : > > While not tex2epub, Sigil might be of interest as well: > > http://code.google.com/p/sigil/ > > It's an opensource epub authoring tool Thanks, but in my case I already have the source files in plain TeX format; so my problem is not in creating the input, it's in taking valid plain TeX input and producing as-close-to-usable-as-possible EPUB output. Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From garces at math.admu.edu.ph Fri Aug 14 18:45:44 2009 From: garces at math.admu.edu.ph (I.J.L. Garces) Date: Sat, 15 Aug 2009 00:45:44 +0800 Subject: [texhax] need help... float(s) lost error Message-ID: <20090815004544.18174t8uiv27jfk0@mail.ateneo.net> Hello! How can I use \marginpar inside a minipage environment without getting a float(s) lost error message? I browsed the internet for an answer, but none worked. Thank you for helping me. Best wishes, Ian June ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From alnfrawy at gmail.com Fri Aug 14 21:58:04 2009 From: alnfrawy at gmail.com (Ehab Tawfeek Younos Ali Alnfrawy) Date: Fri, 14 Aug 2009 22:58:04 +0300 Subject: [texhax] algorithm2e Message-ID: I want to print the algorithm in the same place of its order and cut the rest to another page by using algorithm2ecan you help me -- Ehab Tawfeek Younos Ali Alnfrawy email: alnfrawy at sadatacademy.edu.eg alnfrawy at math.com alnfrawy at gmail.com site : http://alnfrawy.googlepages.com/index Address : 7 Othman Ibn Afan St., Ard Elgamiea, Imbaba, Giza, Egypt. Post no.: 12421 monera. Tel: 002 02 37101745 Positions: Assistant Lecturer in computer science and information systems department, Sadat academy for management sciences - Alexandria branch. 59 menasha St. Moharam Bek. Fax: 002 03 3935887. Tel : 002 03 3931515 PhD. Student, Computer Science Dept. , Faculty of Computers and Information, Cairo University, Giza, Egypt. mobile : +20101625105 -------------- next part -------------- An HTML attachment was scrubbed... URL: From christoph.haug at gmail.com Sat Aug 15 01:28:27 2009 From: christoph.haug at gmail.com (Christoph Haug) Date: Sat, 15 Aug 2009 01:28:27 +0200 Subject: [texhax] biblatex and tex4ht Message-ID: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> hi (esp. to Radhakrishnan and Karl), if I understood Karl Berry's message (17 Jul 2009) correctly, he and Radhakrishnan are taking over the maintenance of tex4ht? This is great news! Thank you, guys! Karl's and Radhakrishnan's recent postings regarging biblatex helped me a lot and I'm looking forward to the release that will fix the problem. Here is another issue that bugs me in using biblatex and tex4ht together: I always get the following error on \printbibliography (if I don't include a bibliography, everything works fine): ! Undefined control sequence. ... \c at refsection -\bib at field@entrykey That error can be ignored by pressing enter (quite a few times) and the bibliography will be produced anyway, with no apparent errors, as far as I can see. The error should be reproducable with the sample files posted earlier on this list (http://tug.org/pipermail/texhax/attachments/20090716/cca290bc/attachment-0001.zip) by adding \printbibliography to the document. a second issue is that I am getting an extra space after the first paranthesis in author-year styles, i.e. Author ( 2009). I also found some irrelavent spaces after a quotations mark ("). It's not a big issue since it can easily be fixed manually with seach&replace, but it might be worth fixing it sometime anyway. - Or maybe I am doing something wrong? I think, also this can be reproduced if you change the test-files mentioned above to an authoryear-style and use \parentcite or \citet or so. About my system: I am working with MikTeX but I uninstalled the te4ht MiKTeX package and installed the latest bugfix-version from http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html. (see http://schlosser.info/latexsystem-en.html#x1-200003.6). Finally, I was confused that some of the files from the latest tex4ht bugfix-version (http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/tex4ht-1.0.2009_06_11_1038.tar.gz) are actually older than the ones in the latest MikTeX-package. Maybe this is due to the packaging? Or are the files in the MiKTeX pakages a different tex4ht edition altogether? Thanks for any help or comments. Christoph From axel.retif at mac.com Sat Aug 15 09:40:21 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sat, 15 Aug 2009 02:40:21 -0500 Subject: [texhax] need help... float(s) lost error In-Reply-To: <20090815004544.18174t8uiv27jfk0@mail.ateneo.net> References: <20090815004544.18174t8uiv27jfk0@mail.ateneo.net> Message-ID: <88AD5D8E-7BE6-4269-A71A-87A4020BD89F@mac.com> On 14 Aug, 2009, at 11:45, I.J.L. Garces wrote: > Hello! > > How can I use \marginpar inside a minipage environment You can't. The LaTeX Companion tells you to move it to the ``main galley''. What I do in those cases is to move the text with vspace (I have to use \par or \ [space] to make it work); v.gr., \marginpar{\par \vspace*{-4pc} Text.} Best, Axel From axel.retif at mac.com Sat Aug 15 10:55:31 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sat, 15 Aug 2009 03:55:31 -0500 Subject: [texhax] need help... float(s) lost error In-Reply-To: <4A86702B.2020002@gmx.de> References: <20090815004544.18174t8uiv27jfk0@mail.ateneo.net> <88AD5D8E-7BE6-4269-A71A-87A4020BD89F@mac.com> <4A86702B.2020002@gmx.de> Message-ID: <3842EDCE-6E3F-484B-A07B-EF539E30F224@mac.com> On 15 Aug, 2009, at 03:22, Arno Trautmann wrote: > Axel E. Retif wrote: >> On 14 Aug, 2009, at 11:45, I.J.L. Garces wrote: >> >>> Hello! >>> >>> How can I use \marginpar inside a minipage environment >> >> You can't. The LaTeX Companion tells you to move it to the ``main >> galley''. What I do in those cases is to move the text with vspace (I >> have to use \par or \ [space] to make it work); v.gr., >> >> >> \marginpar{\par \vspace*{-4pc} Text.} > > Maybe package minipage-marginpar might be a solution? (Documentation > only in german; if you need help understanding, mail me.) Ah! I didn't know about it! It seems great. I'll give it a try in my next work. Thank you. Axel From garces at math.admu.edu.ph Sat Aug 15 16:56:04 2009 From: garces at math.admu.edu.ph (I.J.L. Garces) Date: Sat, 15 Aug 2009 22:56:04 +0800 Subject: [texhax] need help... float(s) lost error In-Reply-To: <3842EDCE-6E3F-484B-A07B-EF539E30F224@mac.com> References: <20090815004544.18174t8uiv27jfk0@mail.ateneo.net> <88AD5D8E-7BE6-4269-A71A-87A4020BD89F@mac.com> <4A86702B.2020002@gmx.de> <3842EDCE-6E3F-484B-A07B-EF539E30F224@mac.com> Message-ID: <20090815225604.20183as0kr7xnp8g@mail.ateneo.net> Thanks for the quick replies. I tried minipage-marginpar package before, but it did not write at exactly the same line where the note should appear, unlike the usual \marginpar. Am I right? Ian June Quoting "Axel E. Retif" : > On 15 Aug, 2009, at 03:22, Arno Trautmann wrote: > >> Axel E. Retif wrote: >>> On 14 Aug, 2009, at 11:45, I.J.L. Garces wrote: >>> >>>> Hello! >>>> >>>> How can I use \marginpar inside a minipage environment >>> >>> You can't. The LaTeX Companion tells you to move it to the ``main >>> galley''. What I do in those cases is to move the text with vspace (I >>> have to use \par or \ [space] to make it work); v.gr., >>> >>> >>> \marginpar{\par \vspace*{-4pc} Text.} >> >> Maybe package minipage-marginpar might be a solution? (Documentation >> only in german; if you need help understanding, mail me.) > > Ah! I didn't know about it! It seems great. I'll give it a try in my > next work. > > Thank you. > > Axel > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From zarzoso at i3s.unice.fr Sat Aug 15 17:04:12 2009 From: zarzoso at i3s.unice.fr (Vicente ZARZOSO) Date: Sat, 15 Aug 2009 17:04:12 +0200 Subject: [texhax] Page numbers with pdfpages Message-ID: <4A86CE6C.2000400@i3s.unice.fr> Dear TUGers, I'm using the 'pdfpages' package to insert PDF files into my tex document: \usepackage[final]{pdfpages} ... \includepdf[pages=-, fitpaper=false, scale=0.95]{myfile.pdf} The original tex source file uses the standard 'book' class, with headers showing the chapter/section names + page numbers. After running pdflatex, all pages of 'myfile.pdf' appear as required, but the original page layout of the original source file, and in particular the page numbers, are missing. How can I insert the pdf files while keeping the original source layout? Thank you very much for your help. Best wishes, - Vicente. From cvr at river-valley.org Sat Aug 15 20:08:24 2009 From: cvr at river-valley.org (Radhakrishnan CV) Date: Sat, 15 Aug 2009 23:38:24 +0530 Subject: [texhax] biblatex and tex4ht In-Reply-To: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> References: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> Message-ID: <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> On 15-Aug-09, at 4:58 AM, Christoph Haug wrote: > hi (esp. to Radhakrishnan and Karl), > > if I understood Karl Berry's message (17 Jul 2009) correctly, he and > Radhakrishnan are taking over the maintenance of tex4ht? This is great > news! Thank you, guys! Welcome. > Karl's and Radhakrishnan's recent postings regarging biblatex helped > me a lot and I'm looking forward to the release that will fix the > problem. Glad to hear that the fix helped you. > Here is another issue that bugs me in using biblatex and tex4ht > together: > > I always get the following error on \printbibliography (if I don't > include a bibliography, everything works fine): > > ! Undefined control sequence. > ... \c at refsection -\bib at field@entrykey The same kind of error, I made a quick fix for the same. [...] > a second issue is that I am getting an extra space after the first > paranthesis in author-year styles, i.e. Author ( 2009). I also found > some irrelavent spaces after a quotations mark ("). It's not a big > issue since it can easily be fixed manually with seach&replace, but it > might be worth fixing it sometime anyway. - Or maybe I am doing > something wrong? I think, also this can be reproduced if you change > the test-files mentioned above to an authoryear-style and use > \parentcite or \citet or so. Fixed. [...] > Finally, I was confused that some of the files from the latest tex4ht > bugfix-version (http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/tex4ht-1.0.2009_06_11_1038.tar.gz > ) > are actually older than the ones in the latest MikTeX-package. Maybe > this is due to the packaging? Or are the files in the MiKTeX pakages a > different tex4ht edition altogether? I don't think so. MikTeX developers should have generated all the packages afresh from the literate sources provided by Eitan, which would insert the date of generation as the package date. I have copied a bug fixed version to: http://tug.org/~cvr/biblatex.4ht which you may try. Looking forward to your feedback. Best regards -- Radhakrishnan CV Most people don't need a great deal of love nearly so much as they need a steady supply. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3685 bytes Desc: not available URL: From doc.evans at gmail.com Sat Aug 15 21:04:44 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Sat, 15 Aug 2009 13:04:44 -0600 Subject: [texhax] biblatex and tex4ht In-Reply-To: <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> References: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> Message-ID: <4A8706CC.60202@gmail.com> Radhakrishnan CV said the following at 08/15/2009 12:08 PM : > On 15-Aug-09, at 4:58 AM, Christoph Haug wrote: > >> hi (esp. to Radhakrishnan and Karl), >> >> if I understood Karl Berry's message (17 Jul 2009) correctly, he and >> Radhakrishnan are taking over the maintenance of tex4ht? This is great >> news! Thank you, guys! > > Welcome. Slightly OT... where is the reflector/list for tex4ht? I found one, but the archives are completely empty, so it looks like no messages have ever been posted there :-( I'm in the early stages of using tex4ht and I can tell that I'm going to have some simple questions that must surely have been asked and answered before, but I don't know where to find a record of those discussions. Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From juergen.fenn at GMX.DE Sat Aug 15 21:25:54 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Sat, 15 Aug 2009 21:25:54 +0200 Subject: [texhax] biblatex and tex4ht In-Reply-To: <4A8706CC.60202@gmail.com> References: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> <4A8706CC.60202@gmail.com> Message-ID: <4A870BC2.4070304@GMX.DE> D. R. Evans schrieb: > Slightly OT... where is the reflector/list for tex4ht? I found one, but the > archives are completely empty, so it looks like no messages have ever been > posted there :-( That's because that list is all new. I read about it only an hour ago... TeX4ht was a project by Eitan Gurari who sadly passed away in June. I am glad to read that Radhakrishnan CV has volunteered to take over at least part of the maintanance work. Thank you, Radhakrishnan. > I'm in the early stages of using tex4ht and I can tell that I'm going to > have some simple questions that must surely have been asked and answered > before, but I don't know where to find a record of those discussions. For the more or for the less simple questions on TeX4ht you might like to search the Google Groups archives of the comp.text.tex newsgroup. This is where most TeX4ht discussion used to take place. Eitan used to be quite helpful answering users' questions. So you may put your questions on TeX4ht there, too, or here on the texhax list. Hope this helps. J?rgen. From christoph.haug at gmail.com Sat Aug 15 23:13:31 2009 From: christoph.haug at gmail.com (Christoph Haug) Date: Sat, 15 Aug 2009 23:13:31 +0200 Subject: [texhax] biblatex and tex4ht In-Reply-To: <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> References: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> Message-ID: <7f5ddb200908151413l5a4dec7bq2081e45f5561d16d@mail.gmail.com> 2009/8/15 Radhakrishnan CV : [...] >> I always get the following error on \printbibliography (if I don't >> include a bibliography, everything works fine): >> >> ! Undefined control sequence. >> ... \c at refsection -\bib at field@entrykey > > The same kind of error, I made a quick fix for the same. > > [...] > >> a second issue is that I am getting an extra space after the first >> paranthesis in author-year styles, i.e. Author ( 2009). I also found >> some irrelavent spaces after a quotations mark ("). It's not a big >> issue since it can easily be fixed manually with seach&replace, but it >> might be worth fixing it sometime anyway. - Or maybe I am doing >> something wrong? I think, also this can be reproduced if you change >> the test-files mentioned above to an authoryear-style and use >> \parentcite or \citet or so. > > Fixed. you are just incredible! it works! thank you so much. this is wonderful! this encourages me to mention two issues I encountered with oolatex which do not occur with htlatex: 1. \subsubsection* is not rendered properly. oolatex produces a paragraph (i.e. an empty line) and the subsubsection-title is printed as ordinary text at the beginning of the next paragraph. Then non-starred version of \subsubsection works fine. 2. I have defined the following new environment for myself to have certain paragraphs printed in italics and in a smaller font: \newenvironment{stub}% { \begin{flushleft}\footnotesize \begin{it} }% { \end{it} \end{flushleft} } this is rendered fine with htlatex but not with ootlatex. In oolatex, the text is printed as ordinary text. or rather: in the same size and style as ordinary text, but formated as "flushleft". in fact, oolatex also prints all footnotes in the ordinary fontsize although they are formated as "footnote", which is, by default defined as smaller than ordinary test in openffice. (htlatex renders footnots properly, though it puts them in seperate html-files, which is a bit annoying but not a bug, I guess.) christoph From karl at freefriends.org Sat Aug 15 23:24:21 2009 From: karl at freefriends.org (Karl Berry) Date: Sat, 15 Aug 2009 16:24:21 -0500 Subject: [texhax] biblatex and tex4ht In-Reply-To: <4A8706CC.60202@gmail.com> Message-ID: <200908152124.n7FLOLU17870@f7.net> I'm in the early stages of using tex4ht and I can tell that I'm going to have some simple questions In addition to the other advice, I suggest looking at Eitan's web pages, still up at http://www.cse.ohio-state.edu/~gurari/TeX4ht/, and any examples you can find -- the TeX Live manual is the one I know about. Also and perhaps most importantly, he wrote one article, posted at http://tug.org/TUGboat/Articles/tb25-1/gurari.pdf, which attempts to be an introduction to the system. Unfortunately my only reliable recipe for solving problems was "ask Eitan" :(. From axel.retif at mac.com Sun Aug 16 00:05:29 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sat, 15 Aug 2009 17:05:29 -0500 Subject: [texhax] need help... float(s) lost error In-Reply-To: <20090815225604.20183as0kr7xnp8g@mail.ateneo.net> References: <20090815004544.18174t8uiv27jfk0@mail.ateneo.net> <88AD5D8E-7BE6-4269-A71A-87A4020BD89F@mac.com> <4A86702B.2020002@gmx.de> <3842EDCE-6E3F-484B-A07B-EF539E30F224@mac.com> <20090815225604.20183as0kr7xnp8g@mail.ateneo.net> Message-ID: On 15 Aug, 2009, at 09:56, I.J.L. Garces wrote: > Thanks for the quick replies. > > I tried minipage-marginpar package before, but it did not write at > exactly the same line where the note should appear, unlike the usual > \marginpar. Am I right? I don't know. I haven't used minipage-marginpar; but with either this or a simple marginpar, try \vspace*, with positive or negative value. Maybe a simple \marginpar{\vspace*{-3pc}A test.} will suffice. If there is no change, try a \par to make it work: \marginpar{\par\vspace*{-4pc}A test.} Best, Axel From cbill.lam at gmail.com Sun Aug 16 05:46:55 2009 From: cbill.lam at gmail.com (bill lam) Date: Sun, 16 Aug 2009 11:46:55 +0800 Subject: [texhax] text inside box Message-ID: <20090816034655.GB3992@debian.b2j> I want to write a template for invoice in latex. The invoice looks like this: Billing Address Delivery Address +----------------+ +-----------------+ + ABC + + ABC + + CCCCCCCCC + + CCCCCCCCCC + + + + + + + + + + + + + +----------------+ +-----------------+ +---------------------------------------------------------------+ + Item Qty Price Amount + +---------------------------------------------------------------+ +---------------------------------------------------------------+ + + + Pencil 10 pc 0.4 4.0 + + + + + + + + + + + + + + + + + + + +---------------------------------------------------------------+ I think the bottom part can be done using tabular. But any suggestion for the two bounding boxes on top? They should be fixed in size and position with textual contents. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 From mas at mylug.org Sun Aug 16 12:12:53 2009 From: mas at mylug.org (Sridhar M.A.) Date: Sun, 16 Aug 2009 15:42:53 +0530 Subject: [texhax] text inside box In-Reply-To: <20090816034655.GB3992@debian.b2j> References: <20090816034655.GB3992@debian.b2j> Message-ID: <20090816101253.GA4777@brahman> On Sun, Aug 16, 2009 at 11:46:55AM +0800, bill lam wrote: > I want to write a template for invoice in latex. The invoice looks > like this: > > Billing Address Delivery Address > +----------------+ +-----------------+ > + ABC + + ABC + > + CCCCCCCCC + + CCCCCCCCCC + > + + + + > + + + + > + + + + > +----------------+ +-----------------+ > Here is what worked for me : \documentclass[11pt]{article} \begin{document} \fbox{\parbox{.3\textwidth}{% Mr. No Name \\ Door No. \\ Street \\ City}} \fbox{\parbox{.3\textwidth}{% Mr. No Name \\ Door No. \\ Street \\ City}} \end{document} The other table as you said can be done using tabular. Regards, -- Sridhar M.A. GPG KeyID : F6A35935 Fingerprint: D172 22C4 7CDC D9CD 62B5 55C1 2A69 D5D8 F6A3 5935 Expect the worst, it's the least you can do. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: From cbill.lam at gmail.com Mon Aug 17 04:20:08 2009 From: cbill.lam at gmail.com (bill lam) Date: Mon, 17 Aug 2009 10:20:08 +0800 Subject: [texhax] text inside box In-Reply-To: <20090816101253.GA4777@brahman> References: <20090816034655.GB3992@debian.b2j> <20090816101253.GA4777@brahman> Message-ID: <20090817022008.GC4004@debian.b2j> Thank Sridhar, you example also works for me. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 From cvr at river-valley.org Mon Aug 17 13:02:56 2009 From: cvr at river-valley.org (Radhakrishnan CV) Date: Mon, 17 Aug 2009 16:32:56 +0530 Subject: [texhax] biblatex and tex4ht In-Reply-To: <7f5ddb200908151413l5a4dec7bq2081e45f5561d16d@mail.gmail.com> References: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> <7f5ddb200908151413l5a4dec7bq2081e45f5561d16d@mail.gmail.com> Message-ID: On 16-Aug-09, at 2:43 AM, Christoph Haug wrote: > you are just incredible! it works! thank you so much. this is > wonderful! Thanks for the nice compliments. > this encourages me to mention two issues I encountered with oolatex > which do not occur with htlatex: > > 1. > \subsubsection* is not rendered properly. oolatex produces a [...] > 2. > I have defined the following new environment for myself to have > certain paragraphs printed in italics and in a smaller font: [...] > this is rendered fine with htlatex but not with ootlatex. In oolatex, [...] Unfortunately, I could not replicate your errors. Can you please take a look at: http://tug.org/~cvr/christoph.zip which has test.tex, test.html and test.odt. Seems like oolatex behaves as expected. Best regards -- Radhakrishnan A physicist is an atoms way of knowing about atoms. -- George Wald -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3685 bytes Desc: not available URL: From tom.browder at gmail.com Wed Aug 12 12:42:02 2009 From: tom.browder at gmail.com (Tom Browder) Date: Wed, 12 Aug 2009 05:42:02 -0500 Subject: [texhax] FontSite 500 CD Discontinued (Appox. 39 Copies Left) Message-ID: <8bc817ee0908120342r311e8b85n50cd1692f092441f@mail.gmail.com> Christopher, I just found your site (http://contrapunctus.net/league/haques/fs500tex/). Thanks for your TeX work (worX?). I look forward to using your material when I get my new fonts CD. Note that the FontSite 500 CD has been discontinued. There are about 39 copies left for sale (i just bought one for $39.95 plus S & H). For purchase, e-mail . Regards, -Tom Tom Browder Niceville, Florida USA From phil at math.wichita.edu Mon Aug 17 17:47:43 2009 From: phil at math.wichita.edu (Phil Parker) Date: Mon, 17 Aug 2009 11:47:43 -0400 Subject: [texhax] modifying \overline Message-ID: <200908171703.n7HH3We5016765@mfe02.daimi.au.dk> \overline does not behave wull with math italics. For example, look at $\overline{H}$ or $\overline{\partial}$ -- the overline sticks out too far to the left. If I understand correctly, it is not respecting the \skewchar of the math italic font. What I would like to do is create a "modified \overline" command that would place an overline of the appropriate length "italic centered" on math italic fonts. It looks as if all that needs changing is the left starting point of the overline (hence its length, too) as the right ending point appears to be in the correct place. If I understand the TeX book correctly, that's what \skewchar is for; I just don't understand how to use it here. Perhaps this has already been done, but I've been unable to find it or construct my own. I've looked in the TeX book, Voss's mathmode, and the UK FAQ. Probably there's something about \overline I don't understand so that I can't figure out how to make a new version that "italic centers" the overline. Any and all help is greatly appreciated. -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny ...."---Isaac Asimov From mdoob at ccu.umanitoba.ca Mon Aug 17 19:49:13 2009 From: mdoob at ccu.umanitoba.ca (Michael Doob) Date: Mon, 17 Aug 2009 12:49:13 -0500 Subject: [texhax] modifying \overline In-Reply-To: <200908171703.n7HH3We5016765@mfe02.daimi.au.dk> References: <200908171703.n7HH3We5016765@mfe02.daimi.au.dk> Message-ID: <200908171249.13771.mdoob@ccu.umanitoba.ca> On Monday 17 August 2009 10:47 am, Phil Parker wrote: > \overline does not behave wull with math italics. For example, look at > $\overline{H}$ or $\overline{\partial}$ -- the overline sticks out too far to > the left. If I understand correctly, it is not respecting the \skewchar of the > math italic font. > > What I would like to do is create a "modified \overline" command that would > place an overline of the appropriate length "italic centered" on math italic > fonts. It looks as if all that needs changing is the left starting point of > the overline (hence its length, too) as the right ending point appears to be > in the correct place. If I understand the TeX book correctly, that's what > \skewchar is for; I just don't understand how to use it here. > > Perhaps this has already been done, but I've been unable to find it or > construct my own. I've looked in the TeX book, Voss's mathmode, and the UK > FAQ. Probably there's something about \overline I don't understand so that I > can't figure out how to make a new version that "italic centers" the overline. > > Any and all help is greatly appreciated. > TeX works with boxes while not knowing anything about the glyphs that will eventually be rendered. In many cases the boxes correspond quite closely to the bounding boxes of the characters, and then overline more or less matches. With italic characters, the glyphs may extend beyond the character heights and widths defined in the tfm file. You're stuck here. What you could do is make a virtual font where the overlines are included on a character by character basis. There are underline fonts that do this so that descenders are not overwritten, and an analogous overline font would be pretty easy to construct. Cheers, Michael -- ------------------------------------------------------------------ Michael Doob ? ? ? ? ? ? ? ? ? ?Telephone: (204) 474-9796 Department of Mathematics ? ? ? Fax: (204) 474-7606 University of Manitoba ? ? ? ? ?email: Michael_Doob at umanitoba.ca Winnipeg, MB, Canada R3T 2N2 ------------------------------------------------------------------ From john at wexfordpress.com Tue Aug 18 03:32:14 2009 From: john at wexfordpress.com (John Culleton) Date: Mon, 17 Aug 2009 21:32:14 -0400 Subject: [texhax] text inside box In-Reply-To: <20090816034655.GB3992@debian.b2j> References: <20090816034655.GB3992@debian.b2j> Message-ID: <200908172132.14509.john@wexfordpress.com> On Saturday 15 August 2009 11:46:55 pm bill lam wrote: > I want to write a template for invoice in latex. The invoice > looks like this: > > Billing Address Delivery Address > +----------------+ +-----------------+ > + ABC + + ABC + > + CCCCCCCCC + + CCCCCCCCCC + > + + + + > + + + + > + + + + > +----------------+ +-----------------+ > > +---------------------------------------------------------------+ > + Item Qty Price Amount + > +---------------------------------------------------------------+ > +---------------------------------------------------------------+ > + + > + Pencil 10 pc 0.4 4.0 + > + + > + + > + + > + + > + + > + + > + + > + + > + + > +---------------------------------------------------------------+ > > I think the bottom part can be done using tabular. But any > suggestion for the two bounding boxes on top? They should be > fixed in size and position with textual contents. I dug into a little used part of the TeX family and used the table macros from texsys thus: ------------------------------------------------------------------------------ \input eplain.tex \input TXSruled.tex \def\today{\ifcase\month\or January\or February\or March\or April\or May\or June\or July\or August\or September \or October\or November\or December\fi \space\number\day, \number\year} \nopagenumbers \parindent=0pt \parskip=0pt \font\bigss=cmss17 at 25pt \centerline{\bigss INVOICE} \noncenteredtables \vskip .25in \hrule height 1.5pt \bigskip \line{\hfill Date: \today} \vskip .25in \line{\ruledtable VENDOR \cr John Culleton \hfill\crnorule 009-20-0626\hfill\crnorule 2401 Haight Avenue\hfill\crnorule Eldersburg, MD 21784 \hfill\endruledtable \hfill \ruledtable CUSTOMER\cr Independent Contract Services\hfill\crnorule Landmark Community Newspapers\hfill\crnorule Carroll County Times\hfill\crnorule P.O. Box 346\hfill\crnorule Westminster, MD 21158\hfill\endruledtable } \centeredtables \bigskip \ruledtable Item\dbl Desc|Date |Amount \cr 1 \dbl \para{Column}| Nov 6 | \$40.00 \cr 2 \dbl \para{Column}| Nov 20 |\$40.00 \cr \dbl \multispan2 \hfil TOTAL: | \$80.00\endruledtable \def\uline#1{\vrule height 0pt depth .75pt width #1 in} {\baselineskip=25pt \vskip 30pt Signed:\uline{2} \vskip 30pt Approved:\uline{2} \hfill Approved Date:\uline{1.5}\break} \vfil\eject\null \vskip -.5in \moveleft .75truein \vbox{{\bf John Culleton}\par 2401 Haight Ave\par Eldersburg MD 21784\par } \vskip 30pt \moveright 3truein \vbox{\obeylines Independent Contract Services Landmark Community Newspapers Carroll County Times P.O. Box 346 Westminster, MD 21158 }\vfill \bye ------------------------------------------------------------------------ I print the first page on paper, then reinsert the paper to put the address and return on the other side. Fold it in three, use a dab or two of Scotch glue stick, and I don't even need an envelope! Each month I copy the tex file, change the variables as needed and go forth again. -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html From madduck at madduck.net Tue Aug 18 20:13:08 2009 From: madduck at madduck.net (martin f krafft) Date: Tue, 18 Aug 2009 20:13:08 +0200 Subject: [texhax] Gutter on wrong side [with scrbook] Message-ID: <20090818181308.GA8885@piper.oerlikon.madduck.net> Hey folks, Attached test document uses scrbook, and the chapter nicely opens on an odd page, and the page number is on the bottom right (the outer edge on odd pages). However, the gutter (binding margin) also seems to be on the *outer* edge, which is just wrong. Could someone please enlighten me and tell me how to get the gutter to the inner edge? -- martin | http://madduck.net/ | http://two.sentenc.es/ "i must get out of these wet clothes and into a dry martini." -- alexander woolcott spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tex Type: text/x-tex Size: 1184 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.pdf Type: application/pdf Size: 22603 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: From asnd at triumf.ca Tue Aug 18 21:56:30 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 18 Aug 2009 12:56:30 -0700 Subject: [texhax] modifying \overline In-Reply-To: <200908171703.n7HH3We5016765@mfe02.daimi.au.dk> References: <200908171703.n7HH3We5016765@mfe02.daimi.au.dk> Message-ID: "Phil Parker" writes: > What I would like to do is create a "modified \overline" command that would > place an overline of the appropriate length "italic centered" on math italic Use accents.sty or maybe amsmath. -- Donald Arseneau asnd at triumf.ca From reinhard.kotucha at web.de Wed Aug 19 00:47:44 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 19 Aug 2009 00:47:44 +0200 Subject: [texhax] Gutter on wrong side [with scrbook] In-Reply-To: <20090818181308.GA8885@piper.oerlikon.madduck.net> References: <20090818181308.GA8885@piper.oerlikon.madduck.net> Message-ID: <19083.12176.519695.48516@zaphod.ms25.net> On 18 August 2009 martin f krafft wrote: > Attached test document uses scrbook, and the chapter nicely opens on > an odd page, and the page number is on the bottom right (the outer > edge on odd pages). > > However, the gutter (binding margin) also seems to be on the *outer* > edge, which is just wrong. Could someone please enlighten me and > tell me how to get the gutter to the inner edge? Hi Martin, I must admit that I'm not familiar with Koma script at all. But maybe you find something useful in the documentation if you search for "typearea". The outer margin is always bigger than the inner one for a couple of good reasons. Maybe it's worthwhile to buy a book about typography. Such books are very expensive. But there is an exception: Hans Peter Willberg, Friedrich Forssman: Erste Hilfe in Typografie, Verlag Hermann Schmidt, Mainz, 1999, ISBN 3-87439-474-3. The title of this book (First Aid in Typography) is quite unfortunate because it implies that it's written for greenhorns only. The opposite is the case. It's one of the best books about typography I'm aware of. And it's extremely beautiful. The price is only 12.80 EUR. This is quite amazing because the book even demonstrates different types of paper. In short: It's definitely worth the money. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From doc.evans at gmail.com Wed Aug 19 01:07:42 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Tue, 18 Aug 2009 17:07:42 -0600 Subject: [texhax] Gutter on wrong side [with scrbook] In-Reply-To: <19083.12176.519695.48516@zaphod.ms25.net> References: <20090818181308.GA8885@piper.oerlikon.madduck.net> <19083.12176.519695.48516@zaphod.ms25.net> Message-ID: <4A8B343E.3030101@gmail.com> Reinhard Kotucha said the following at 08/18/2009 04:47 PM : > > The outer margin is always bigger than the inner one for a couple of > good reasons. That depends on whether what's being set is fiction or non-fiction. It's not at all uncommon for fiction (or even non-fiction intended for a lay audience) to be set with inner margins that are the same or wider than outer margins. It wasn't clear to me what sort of book the OP was talking about, so I felt like I had to make this clarification. Doc PS I just picked five novels from my shelves and looked: all had inner margins that were at least as large as the outer margins. -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From phil at math.wichita.edu Wed Aug 19 00:07:04 2009 From: phil at math.wichita.edu (Phil Parker) Date: Tue, 18 Aug 2009 18:07:04 -0400 Subject: [texhax] modifying \overline In-Reply-To: Message-ID: <200908182309.n7IN9Sdm003040@mfe04.daimi.au.dk> On 08/18/2009 at 12:56 PM, Donald Arseneau wrote: >"Phil Parker" writes: >> What I would like to do is create a "modified \overline" command that would >> place an overline of the appropriate length "italic centered" on math italic >Use accents.sty or maybe amsmath. How? Any hints welcomed! I normally \usepackage{amsmath}. -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: When the need is strong, there are those who will believe anything. ---Arnold Lobel From phil at math.wichita.edu Wed Aug 19 00:09:55 2009 From: phil at math.wichita.edu (Phil Parker) Date: Tue, 18 Aug 2009 18:09:55 -0400 Subject: [texhax] modifying \overline In-Reply-To: <200908171249.13771.mdoob@ccu.umanitoba.ca> Message-ID: <200908182313.n7INDHgX008302@mfe04.daimi.au.dk> On 08/17/2009 at 12:49 PM, Michael Doob wrote: >On Monday 17 August 2009 10:47 am, Phil Parker wrote: >> >> What I would like to do is create a "modified \overline" command that would >> place an overline of the appropriate length "italic centered" on math italic >> fonts. >What you could do is make a virtual font where the overlines are included on >a character by character basis. There are underline fonts that do this so >that descenders are not overwritten, and an analogous overline font would be >pretty easy to construct. How? Any hints welcomed! (Especially in re good tools to use.) My experience with virtual fonts is \emptyset. My knowledge is that they exist. -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: I would try to count my blessings, but I am no good at fractions. From reinhard.kotucha at web.de Wed Aug 19 01:53:06 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 19 Aug 2009 01:53:06 +0200 Subject: [texhax] Gutter on wrong side [with scrbook] In-Reply-To: <4A8B343E.3030101@gmail.com> References: <20090818181308.GA8885@piper.oerlikon.madduck.net> <19083.12176.519695.48516@zaphod.ms25.net> <4A8B343E.3030101@gmail.com> Message-ID: <19083.16098.408049.887910@zaphod.ms25.net> On 18 August 2009 D. R. Evans wrote: > Reinhard Kotucha said the following at 08/18/2009 04:47 PM : > > > > > The outer margin is always bigger than the inner one for a couple of > > good reasons. > > That depends on whether what's being set is fiction or non-fiction. It's > not at all uncommon for fiction (or even non-fiction intended for a lay > audience) to be set with inner margins that are the same or wider than > outer margins. It wasn't clear to me what sort of book the OP was talking > about, so I felt like I had to make this clarification. > > Doc > > PS I just picked five novels from my shelves and looked: all had inner > margins that were at least as large as the outer margins. I proposed to buy a book about typography. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From torsten.wagner at fh-aachen.de Wed Aug 19 03:53:32 2009 From: torsten.wagner at fh-aachen.de (Torsten Wagner) Date: Wed, 19 Aug 2009 10:53:32 +0900 Subject: [texhax] Gutter on wrong side [with scrbook] In-Reply-To: <20090818181308.GA8885@piper.oerlikon.madduck.net> References: <20090818181308.GA8885@piper.oerlikon.madduck.net> Message-ID: <200908191053.32241.torsten.wagner@fh-aachen.de> > However, the gutter (binding margin) also seems to be on the *outer* > edge, which is just wrong. Could someone please enlighten me and > tell me how to get the gutter to the inner edge? Its some time ago since I was faced with the same "bug". Afterwards I learned that the correct typographic rules say as far as I remember: Open a book to have two pages in front of you .... the amount of the inner margins left side page and the inner margin right side page should be identical to the left resp. right page outer margin. This creates a beautiful centred column look, pleasant for the readers eyes. E.g. |2cm----Text----1cm|1cm---Text---2cm| Often this looks odd if you print out the draft single sided e.g. for corrections. Nevertheless, if you are going to create a real big book and depending on the way you like to bind the manuscript, you might like to add an additional space to correct the amount of margin which get lost by binding and bending the pages. AFAIR this was a single command or parameter which has to be set explicitly in the TeX header (standard is no add. space for binding). The result should be again the same as described above, therefore you have to choose the amount of add. space wisely. Unfortunately, nowadays there are a lot of "wrong" publications on the market influenced by MS-Word style, even from the big publishing companies .... so Rheinard is right to refer to a typographic book (btw. thanks for the title). Nowadays, there are so many just plain wrong publications that one should read about the correct way, since it is difficult to find it out by looking at some good examples from the shelf (as doc mentioned). Not only it will not be teached in any course I am aware off, but more strange schools and universities teach how to use MS-Word and MS-Powerpoint (which are known to rape typographic rules) and miss to teach just plain basic correct ways of typographic rules which can be applied independently of any software or OS or budget by using even pencil and paper. The results are very cruel if you ever have the chance or duty to receive and proceed a bunch submissions from academics you now what I mean. ;) Regards, Totti -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Wed Aug 19 04:54:35 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 18 Aug 2009 21:54:35 -0500 Subject: [texhax] Gutter on wrong side [with scrbook] In-Reply-To: <19083.16098.408049.887910@zaphod.ms25.net> References: <20090818181308.GA8885@piper.oerlikon.madduck.net> <19083.12176.519695.48516@zaphod.ms25.net> <4A8B343E.3030101@gmail.com> <19083.16098.408049.887910@zaphod.ms25.net> Message-ID: <1985D1E7-5713-49EA-9838-CE15F4048BAB@mac.com> On 18 Aug, 2009, at 18:53, Reinhard Kotucha wrote: > On 18 August 2009 D. R. Evans wrote: > >> Reinhard Kotucha said the following at 08/18/2009 04:47 PM : >> >>> >>> The outer margin is always bigger than the inner one for a couple of >>> good reasons. >> >> [...] >> PS I just picked five novels from my shelves and looked: all had >> inner >> margins that were at least as large as the outer margins. > > I proposed to buy a book about typography. There is some reason to have the inner margins as large ---or close to--- the outer margins, especially with relatively modern soft cover binding. The theory is that the eye should see the same blank with the inner margins combined as with the outer margin. So one classical proportion could be a 6-2-5-4: __________________________________ | ^ 5 ^ 5 | |<->___________ <->___________ <->| | 4 | | 4 | | 4 | | | | | | | | | Text | | | | | | | | | | | | | | | | | |__________| ^ |__________| | | ^ 6 | ^ 6 | |_______________2+2_______________| But truth is books don't open flat, especially, as said, soft cover books. So, to compensate for the bend in the middle, yo have to make inner margins larger, so the eye **effectively** sees the same blank in the inner margins combined as with any of the outer margins. Best, Axel From cbill.lam at gmail.com Wed Aug 19 16:15:44 2009 From: cbill.lam at gmail.com (bill lam) Date: Wed, 19 Aug 2009 22:15:44 +0800 Subject: [texhax] text inside box In-Reply-To: <200908172132.14509.john@wexfordpress.com> References: <20090816034655.GB3992@debian.b2j> <200908172132.14509.john@wexfordpress.com> Message-ID: <20090819141544.GB3965@debian.b2j> On Mon, 17 Aug 2009, John Culleton wrote: I print the first page on paper, then reinsert the paper to put the > address and return on the other side. Fold it in three, use a dab > or two of Scotch glue stick, and I don't even need an envelope! Thank John, quite an environmental friendly way! -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 From madduck at madduck.net Wed Aug 19 20:06:00 2009 From: madduck at madduck.net (martin f krafft) Date: Wed, 19 Aug 2009 20:06:00 +0200 Subject: [texhax] Gutter on wrong side [with scrbook] In-Reply-To: <19083.12176.519695.48516@zaphod.ms25.net> References: <20090818181308.GA8885@piper.oerlikon.madduck.net> <19083.12176.519695.48516@zaphod.ms25.net> Message-ID: <20090819180600.GA22563@piper.oerlikon.madduck.net> also sprach Reinhard Kotucha [2009.08.19.0047 +0200]: > The outer margin is always bigger than the inner one for a couple > of good reasons. Okay, this is a fair explanation. I think I was looking for the wrong thing. KOMA actually allows you to cope for binding with the BCOR setting, so e.g. BCOR1cm as document option takes 1cm off both inner margins, assuming that these 2cm won't be seen due to the binding the the relation between inner and outer margins is again restored. Thanks, -- martin | http://madduck.net/ | http://two.sentenc.es/ "never attribute to malice what can be adequately explained by incompetence." -- mark twain spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: From madduck at madduck.net Wed Aug 19 20:13:11 2009 From: madduck at madduck.net (martin f krafft) Date: Wed, 19 Aug 2009 20:13:11 +0200 Subject: [texhax] Gutter on wrong side [with scrbook] In-Reply-To: <200908191053.32241.torsten.wagner@fh-aachen.de> References: <20090818181308.GA8885@piper.oerlikon.madduck.net> <200908191053.32241.torsten.wagner@fh-aachen.de> Message-ID: <20090819181311.GH22563@piper.oerlikon.madduck.net> also sprach Torsten Wagner [2009.08.19.0353 +0200]: > Its some time ago since I was faced with the same "bug". > Afterwards I learned that the correct typographic rules say as far as I > remember: > > Open a book to have two pages in front of you .... the amount of the inner > margins left side page and the inner margin right side page should be > identical to the left resp. right page outer margin. This creates a beautiful > centred column look, pleasant for the readers eyes. > E.g. > > |2cm----Text----1cm|1cm---Text---2cm| Thanks for the elaborate description. I have already replied with <20090819180600.GA22563 at piper.oerlikon.madduck.net> without thanking you, so here you go, explicitly. -- martin | http://madduck.net/ | http://two.sentenc.es/ hi! i'm a .signature virus! copy me into your ~/.signature to help me spread! spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: From christoph.haug at gmail.com Thu Aug 20 02:51:10 2009 From: christoph.haug at gmail.com (Christoph Haug) Date: Thu, 20 Aug 2009 02:51:10 +0200 Subject: [texhax] biblatex and tex4ht In-Reply-To: References: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> <7f5ddb200908151413l5a4dec7bq2081e45f5561d16d@mail.gmail.com> Message-ID: <7f5ddb200908191751h3deb0960g7b62def8ce589ebc@mail.gmail.com> 2009/8/17 Radhakrishnan CV : >> this encourages me to mention two issues I encountered with oolatex >> which do not occur with htlatex: >> >> 1. >> \subsubsection* is not rendered properly. oolatex produces a > > [...] > >> 2. >> I have defined the following new environment for myself to have >> certain paragraphs printed in italics and in a smaller font: > > [...] > >> this is rendered fine with htlatex but not with ootlatex. In oolatex, > > [...] > > Unfortunately, I could not replicate your errors. Can you please take a look > at: > > ?http://tug.org/~cvr/christoph.zip > > which has test.tex, test.html and test.odt. Seems like oolatex behaves as > expected. thanks for testing this. so here is what I get when using your test.tex together with the mybib.bib: 1. trying to run latex on it gives me an error on \ConfigureEnv (undefined control sequence) 2. oolatex accepts the command but it only renders the citations in the first section, not the one in the subsection. 3. I have no Idea where the second and third reference in your odt-file are from. I don't have these. 4. on the "positive" side, you are right that the stub-environment is rendered properly. I have no idea, how it can be working for me on one document but not in the other (I doublechecked!). Maybe something else in the preamble of my other document? If you want, I can send it to you. 5. also your starred subsection works. the problem is that I was referring to a starred sub*sub*section, so if you substitute \subesection* with \subsubsection* you should get the error, At least I am still getting it. What next? BTW, I took a chance today in using oolatex on my thesis, which is quie a bit more complicated than the other documents. The result was sobering. I gut so many errors (mainly "undefined control sequence" that I couldn't even count them. It ended where I had included a pdf-graphic, which of course doesn't work with latex and hence with oolatex. I haven't retried it without that figure, but if you are interested to learn more about the errors I get, I can try and send you at least a selection. But I suppose, you can take any bigger book project and oolatex will not work... Regards, Christoph From cvr at river-valley.org Thu Aug 20 13:12:03 2009 From: cvr at river-valley.org (Radhakrishnan CV) Date: Thu, 20 Aug 2009 16:42:03 +0530 Subject: [texhax] biblatex and tex4ht In-Reply-To: <7f5ddb200908191751h3deb0960g7b62def8ce589ebc@mail.gmail.com> References: <7f5ddb200908141628m1e9b9430j92d19870b971c084@mail.gmail.com> <46E83795-1B74-4EE9-B801-24ED058C95AD@river-valley.org> <7f5ddb200908151413l5a4dec7bq2081e45f5561d16d@mail.gmail.com> <7f5ddb200908191751h3deb0960g7b62def8ce589ebc@mail.gmail.com> Message-ID: On 20-Aug-09, at 6:21 AM, Christoph Haug wrote: > 2009/8/17 Radhakrishnan CV : [...] >> Unfortunately, I could not replicate your errors. Can you please >> take a look >> at: >> >> http://tug.org/~cvr/christoph.zip >> >> which has test.tex, test.html and test.odt. Seems like oolatex >> behaves as >> expected. > > thanks for testing this. so here is what I get when using your > test.tex together with the mybib.bib: > > 1. trying to run latex on it gives me an error on \ConfigureEnv > (undefined control sequence) Sorry, that was my mistake, please forget it. > 2. oolatex accepts the command but it only renders the citations in > the first section, not the one in the subsection. Wors fine here. Please take a look at the contents of the archive at: http://tug.org/~cvr/test.zip > 3. I have no Idea where the second and third reference in your > odt-file are from. I don't have these. Just copied the first item twice in mybib.bib and slightly changed the keys. That was to test footnote numbering. > 4. on the "positive" side, you are right that the stub-environment is > rendered properly. I have no idea, how it can be working for me on one > document but not in the other (I doublechecked!). Maybe something else > in the preamble of my other document? If you want, I can send it to > you. OK, please do off the list. > 5. also your starred subsection works. the problem is that I was > referring to a starred sub*sub*section, so if you substitute > \subesection* with \subsubsection* you should get the error, At least > I am still getting it. That is true. Eitan provided 'ooffice' option as a proof of concept that even word processor formats can be generated from TeX sources with the help of TeX4ht. It is not perfect, though. If you want to make high fidelity output, you need to extend ooffice.4ht which is the package loaded in the background when you call 'oolatex'. You need to add extra hooks in a private configuration, which is the recommended way to do, where you can define new environments or modify existing ones to suit your requirements. I have done an example for you to fix the problem of \subsubsection* in a file namely, chris.cfg which is also included in the test.zip and listed below: ------------ begin private configuration ------------ \Preamble{ooffice} \begin{document} \catcode`:=11 \catcode`@=11 \Configure{likesubsubsection} {\IgnorePar\EndP \HCode{}} {\IgnorePar\EndP \HCode{}} {\HCode{}% \HCode{}\IgnoreIndent} {\HCode{\Hnewline}\par\ShowPar} \catcode`:=12 \catcode`@=12 \EndPreamble --------------- end private configuration ------------ You might invoke oolatex in the following fashion: oolatex test "chris" and see the output. It should be OK. > What next? > > BTW, I took a chance today in using oolatex on my thesis, which is > quie a bit more complicated than the other documents. The result was > sobering. I gut so many errors (mainly "undefined control sequence" This is quite imaginable. You have to create a custom package configuring all the environments, commands which were disliked by TeX4ht. > that I couldn't even count them. It ended where I had included a > pdf-graphic, which of course doesn't work with latex and hence with > oolatex. I haven't retried it without that figure, but if you are > interested to learn more about the errors I get, I can try and send > you at least a selection. But I suppose, you can take any bigger book > project and oolatex will not work... Those problems can be fixed without much difficulties. However, pressures at work don't allow me to spend more time on your project. Someone with more deeper knowledge of Open Office XML format will be the best candidate to perfect ooffice.4ht. Best regards -- Radhakrishnan LSD melts in your mind, not in your hand. From rshudde at comcast.net Fri Aug 21 16:16:32 2009 From: rshudde at comcast.net (Rex Shudde) Date: Fri, 21 Aug 2009 07:16:32 -0700 Subject: [texhax] Asymptote Message-ID: <8480F1B8A8524D918327C8B60708D3D8@D25XBZB1> 1. Is there a forum similar to texhax for Asymptote?? If so, what is the email address to sign up?? 2. Can Asymptote be used with pdfTex (or plain TeX). [I know it can be used with pdfLaTeX, but I want to know specifically about pdfTeX.] Sorry if I have mis-directed this query. R. Shudde From jakob.leimgruber at googlemail.com Thu Aug 20 11:43:11 2009 From: jakob.leimgruber at googlemail.com (Jakob Leimgruber) Date: Thu, 20 Aug 2009 10:43:11 +0100 Subject: [texhax] Bibtex entry, author name ordering (Chinese) Message-ID: <28B122FF-CE06-494F-967F-B3F5504C0BA8@googlemail.com> Hi, I'm using \bibliographystyle{linquiry2} and have one bibtex entry that's causing me problems: @InCollection{AH1998, author="Alsagoff, Lubna and Ho, Chee Lick", title="{The grammar of {S}ingapore {E}nglish}", booktitle="{English in New Cultural Contexts:\ Reflections from Singapore}", editor="Foley, Joseph A. and Kandiah, Thiru and Bao Zhiming and Gupta, Anthea Fraser and Alsagoff, Lubna and Ho Chee Lick and Wee, Lionel and Talib, Ismail L. and Bokhorst-Heng, Wendy", address="Singapore", publisher="Oxford University Press", pages="127--151", year=1998} What I would like is for the \cite{AH1998} command to output "Alsagoff and Ho (1998)", and for the reference list to output "Alsagoff, Lubna, and Ho Chee Lick. 1998. The grammar of\ldots". Obviously, "Ho" is the surname and "Chee Lick" the given name. However I don't seem to be able to do this: I've tried several combinations but it seems impossible to have two sorts of surname/given name arrangements in the author field. Does anyone have a clue what I'm doing wrong? Notice that in the "editor" field, I get the result I want by spelling out "Bao Zhiming" and "Ho Chee Lick", omitting the comma. Thanks in advance. Jakob -- Jakob Leimgruber www.jakobleimgruber.ch jakob.leimgruber at googlemail.com From karl at freefriends.org Sun Aug 23 01:27:12 2009 From: karl at freefriends.org (Karl Berry) Date: Sat, 22 Aug 2009 18:27:12 -0500 Subject: [texhax] migrating tug.org to new hardware; downtime 8/25 Message-ID: <200908222327.n7MNRC732755@f7.net> FYI ... Kaja and I plan to migrate tug.org to new server hardware soon; we're tentatively planning on making the switch on Tuesday August 25, starting around 5am-6am US/Pacific = 2pm-3pm Denmark time. All services will be down for at least an hour, but not much more, if all goes well. Please think happy hardware thoughts for us. karl From bowman at math.ualberta.ca Sat Aug 22 01:22:30 2009 From: bowman at math.ualberta.ca (John Bowman) Date: 21 Aug 2009 17:22:30 -0600 Subject: [texhax] [rshudde@comcast.net: Asymptote] In-Reply-To: <200908212304.n7LN4Ji23792@f7.net> (karl@freefriends.org) References: <200908212304.n7LN4Ji23792@f7.net> Message-ID: <20090821232230.11530.qmail@wizard.math.ualberta.ca> 1. http://sourceforge.net/forum/forum.php?forum_id=409349 2. asy -h ... -tex engine latex|pdflatex|xelatex|tex|pdftex|context|none [latex] ... From frisk.h at gmail.com Mon Aug 24 09:22:09 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Mon, 24 Aug 2009 09:22:09 +0200 Subject: [texhax] Texlive and fonts Message-ID: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> Hi all, I've recently installed a new Fedora 11 system with texlive 2007-42. This is the first time I have texlive I should say. I have two adobe fonts that I've used for a long time with tex and, although the installation process has differed I have always managed to get it to work. This time I've installed the fonts and the maps in a local texmf directory. updmap finds them and complains about nothing. I can process documents with these fonts using latex, producing dvi but I can't use pdflatex, nor dvips on the dvi file produced. The error I'm getting is: pdfTeX warning: pdflatex (file padr8r): Font padr8r at 864 not found This must have something to do with the searchpats becuase these files exist in the appropriate directories (I think) in my local texmf tree (in /home/user/texmf/fonts/tfm etc..) Any hints would be greatly appreciated. best, /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacques.chrysandre at gmail.com Sun Aug 23 12:54:56 2009 From: jacques.chrysandre at gmail.com (Jacques Goldman) Date: Sun, 23 Aug 2009 12:54:56 +0200 Subject: [texhax] Problem with French composition Message-ID: Hello, I'm new to Tex. I've downloaded the MacTex distribution. All was OK so far. I tried the example shown in the "Red me First " document. OK So far After that I tried some sentences in french tthus containing ?, ? ? and accented letters. Unfortunately those letters have disapeared in the output text. I mean a word like "o?" or "d?sesp?r?ment" results in "o" and "dsprment' in the output. Could you tell me how to fix that problem? I suppose that MacTex Latex is language free and accept any language. I also change some encoding schemes but with no succes. In advance thanks for help Jacques Goldman Bankstraat 30 B-3078 Everberg tel: +32 2 759 96 51 gsm: +32 476 24 30 55 Skype: chrysandre -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at wexfordpress.com Mon Aug 24 16:55:45 2009 From: john at wexfordpress.com (John Culleton) Date: Mon, 24 Aug 2009 10:55:45 -0400 Subject: [texhax] Problem with French composition In-Reply-To: References: Message-ID: <200908241055.45284.john@wexfordpress.com> On Sunday 23 August 2009 06:54:56 Jacques Goldman wrote: > Hello, > > I'm new to Tex. I've downloaded the MacTex distribution. > All was OK so far. > I tried the example shown in the "Red me First " document. OK So > far After that I tried some sentences in french tthus containing ?, > ? ? and accented letters. > Unfortunately those letters have disapeared in the output text. I > mean a word like "o?" or "d?sesp?r?ment" results in "o" and > "dsprment' in the output. > Could you tell me how to fix that problem? I suppose that MacTex > Latex is language free and accept any language. > I also change some encoding schemes but with no succes. > > In advance thanks for help > > Jacques Goldman > Bankstraat 30 > B-3078 Everberg > tel: +32 2 759 96 51 > gsm: +32 476 24 30 55 > Skype: chrysandre AFAIK there are two ways to get an accented letter in TeX. The first is to use the accent mark followed by the letter thus: \`el\'eve. The second is to identify the placement of the accented form of the character on the font chart and use the \char(number) command. Both methods are covered in the TeXBook. Use of the actual accented character in your .tex file is likely to fail. Only characters in the ASCII character set should be used in your source file. -- John Culleton Able Indexers and Typesetters From will.adams at frycomm.com Mon Aug 24 17:19:10 2009 From: will.adams at frycomm.com (William Adams) Date: Mon, 24 Aug 2009 11:19:10 -0400 Subject: [texhax] Problem with French composition In-Reply-To: References: Message-ID: <7CC4C3D8-DCB1-4790-A9AC-7C63BFB6A47C@frycomm.com> On Aug 23, 2009, at 6:54 AM, Jacques Goldman wrote: > I'm new to Tex. I've downloaded the MacTex distribution. > All was OK so far. > I tried the example shown in the "Red me First " document. OK So far > After that I tried some sentences in french tthus containing ?, ? ? > and accented letters. > Unfortunately those letters have disapeared in the output text. I > mean a word like "o?" or "d?sesp?r?ment" results in "o" and > "dsprment' in the output. > Could you tell me how to fix that problem? I suppose that MacTex > Latex is language free and accept any language. > I also change some encoding schemes but with no succes. > > In advance thanks for help John Culleton's note: >> Use of the actual accented character in your .tex file is likely to >> fail. Only characters in the ASCII character set should be used in >> your source file. Only applies if one wishes to limit oneself to working w/ Plain TeX in an unchanged version. For LaTeX one would do something like: \documentclass{minimal} \usepackage[applemac]{inputenc} \usepackage[T1]{fontenc} \usepackage[frenchb]{babel} \begin{document} d?sesp?r?ment ?, ? ? \end{document} or if one wishes to stick to Plain TeX one could use xetex which would allow direct handling of UTF8 input. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From Susan.Dittmar at gmx.de Mon Aug 24 17:27:40 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Mon, 24 Aug 2009 17:27:40 +0200 Subject: [texhax] Problem with French composition In-Reply-To: <200908241055.45284.john@wexfordpress.com> References: <200908241055.45284.john@wexfordpress.com> Message-ID: <20090824152740.GB17208@eureca.de> Quoting John Culleton (john at wexfordpress.com): > On Sunday 23 August 2009 06:54:56 Jacques Goldman wrote: > > I'm new to Tex. I've downloaded the MacTex distribution. ... > AFAIK there are two ways to get an accented letter in TeX. Or use (as most beginners do and in my opinion should do) latex and one of the encoding packages. Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From natercia at eq.uc.pt Mon Aug 24 19:18:14 2009 From: natercia at eq.uc.pt (=?iso-8859-1?q?Nat=E9rcia_Fernandes?=) Date: Mon, 24 Aug 2009 18:18:14 +0100 Subject: [texhax] derivatives and integrals: math operators In-Reply-To: <4A81E25F.40406@Rhul.Ac.Uk> References: <200908061558.54952.natercia@eq.uc.pt> <19073.56044.184058.780947@zaphod.ms25.net> <4A81E25F.40406@Rhul.Ac.Uk> Message-ID: <200908241818.14117.natercia@eq.uc.pt> Hi all. Sorry for not having thanked earlier who answered my question, but I was away and read the answers only now. When I put this question, I didn't mean to start any "war". I just wanted to be clarified whether it's more correct to use italic or upright "d" for derivatives and integrals, since I do use them a lot and I do want to follow the most appropriate notation. I see the opinions are divided. The mathematician Phil Parker defended strongly the italic "d" as I have seen it elsewhere. The oher participants that took a position defended the upright "d" (independently of being or not mathematicians). It seems there isn't a rule (at least a pacifically followed by everyone). As a side product, I got another doubt: the derivatives and integrals are or are not mathical operators? I thought they were, but Phil Parker said neither of them was. However, Xavier Sabate also classified them as important operators and others also referred to them as operators... Once again, thanks to everyone who answered. Nat?rcia From axel.retif at mac.com Tue Aug 25 00:25:33 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Mon, 24 Aug 2009 17:25:33 -0500 Subject: [texhax] Problem with French composition In-Reply-To: <7CC4C3D8-DCB1-4790-A9AC-7C63BFB6A47C@frycomm.com> References: <7CC4C3D8-DCB1-4790-A9AC-7C63BFB6A47C@frycomm.com> Message-ID: <71918BDF-8BB7-417B-8AFD-2A7D1FA79751@mac.com> On 24 Aug, 2009, at 10:19, William Adams wrote: > On Aug 23, 2009, at 6:54 AM, Jacques Goldman wrote: > >> I'm new to Tex. I've downloaded the MacTex distribution. >> All was OK so far. I tried the example shown in the "Red me First " >> document. OK So far >> After that I tried some sentences in french tthus containing ?, ? ? >> and accented letters. Unfortunately those letters have disapeared >> in the output text. [...] > John Culleton's note: >>> Use of the actual accented character in your .tex file is likely to >>> fail. Only characters in the ASCII character set should be used in >>> your source file. > > Only applies if one wishes to limit oneself to working w/ Plain TeX > in an unchanged version. > > For LaTeX one would do something like: > > \documentclass{minimal} > \usepackage[applemac]{inputenc} > \usepackage[T1]{fontenc} > \usepackage[frenchb]{babel} > \begin{document} Also, your editor should know which encoding you're using. As you are on a Mac with MacTeX distro, most likely you're using TeXShop as your editor. So, open TeXShop -> Preferences, and in the Source tab look into the lower right corner: Encoding. There you should make sure the encoding coincides with the one you choose in the line \usepackage[xxxxxx]{inputenc}. For applemac as encoding, you must choose ``Western (Mac OS Roman)'' as the encoding in TeXShop preferences. Unlike William, though, I would advise you to use utf8 as the input encoding [``Unicode (UTF-8)'' in TeXShop preferences, `` \usepackage[utf8]{inputenc} '' in your LaTeX preamble]. To start with, Mac OS X uses UTF-8 as the default encoding, and so does Linux and, I think, recent Windows. Also, if you want to use XeTeX, as William advised, your encoding has to be utf8. Best, Axel From okrishnadev at gmail.com Mon Aug 24 16:24:42 2009 From: okrishnadev at gmail.com (krishna dev oruganty) Date: Mon, 24 Aug 2009 19:54:42 +0530 Subject: [texhax] Multi-part document Message-ID: <1c74194b0908240724r4f859a79waf68146ad075e78@mail.gmail.com> Hi, I have a general question in Latex2.0. I have to write a book, which will have two main sections (with titles). I want the chapter numbers to be continuous but in two different blocks. So the organisation is as follows : Chapter 1 - Introduction Section - I (Title of section I) Chapter 2 - blah blah Chapter 3 - blah blah Chapter 4 - blah blah Section - II (Title of section - II) Chapter 5 - blah blah Chapter 6 - blah blah Chapter 7 - blah blah I want to insert a page after a section ends, giving the title of the section (before chapter2 and chapter 5). Is there a package which will allow me to define groups of chapters in this way and automatically include these sections in the table of contents ? Or can you guide me in the right direction if it is not available ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From abqotts at comcast.net Mon Aug 24 17:17:27 2009 From: abqotts at comcast.net (abqotts at comcast.net) Date: Mon, 24 Aug 2009 15:17:27 +0000 (UTC) Subject: [texhax] Questions Message-ID: <2085135786.2421131251127047437.JavaMail.root@sz0004a.emeryville.ca.mail.comcast.net> Hi I have the following questions with winedt 5.5: 1) how do I move equation numbers from the left of the equation to the right? 2) how do I eliminate the title of the ms. being printed on the top of every page? 3) how do I include page numbering? Thanks BuckeyeOtt -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at freefriends.org Tue Aug 25 01:19:36 2009 From: karl at freefriends.org (Karl Berry) Date: Mon, 24 Aug 2009 18:19:36 -0500 Subject: [texhax] Texlive and fonts In-Reply-To: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> Message-ID: <200908242319.n7ONJa816384@f7.net> pdfTeX warning: pdflatex (file padr8r): Font padr8r at 864 not found My guess is that padr8r is not in the font map files, specifically pdftex.map. See http://tug.org/fonts/fontinstall.html#fontmap for one attempt at describing this. Perhaps the other sections will be of interest too. From reinhard.kotucha at web.de Tue Aug 25 03:56:32 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 25 Aug 2009 03:56:32 +0200 Subject: [texhax] Problem with French composition In-Reply-To: <71918BDF-8BB7-417B-8AFD-2A7D1FA79751@mac.com> References: <7CC4C3D8-DCB1-4790-A9AC-7C63BFB6A47C@frycomm.com> <71918BDF-8BB7-417B-8AFD-2A7D1FA79751@mac.com> Message-ID: <19091.17616.65520.727887@zaphod.ms25.net> On 24 August 2009 Axel E. Retif wrote: > Unlike William, though, I would advise you to use utf8 as the input > encoding [``Unicode (UTF-8)'' in TeXShop preferences, `` > \usepackage[utf8]{inputenc} '' in your LaTeX preamble]. To start with, > Mac OS X uses UTF-8 as the default encoding, and so does Linux and, I > think, recent Windows. No, Windows still uses the funny "code pages". Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From axel.retif at mac.com Tue Aug 25 07:46:37 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 25 Aug 2009 00:46:37 -0500 Subject: [texhax] Problem with French composition In-Reply-To: <19091.17616.65520.727887@zaphod.ms25.net> References: <7CC4C3D8-DCB1-4790-A9AC-7C63BFB6A47C@frycomm.com> <71918BDF-8BB7-417B-8AFD-2A7D1FA79751@mac.com> <19091.17616.65520.727887@zaphod.ms25.net> Message-ID: <7A9AAF66-1129-4FAE-A8C0-1A2AD2D1E29B@mac.com> On 24 Aug, 2009, at 20:56, Reinhard Kotucha wrote: > On 24 August 2009 Axel E. Retif wrote: > >> Unlike William, though, I would advise you to use utf8 as the input >> encoding [``Unicode (UTF-8)'' in TeXShop preferences, `` >> \usepackage[utf8]{inputenc} '' in your LaTeX preamble]. To start >> with, >> Mac OS X uses UTF-8 as the default encoding, and so does Linux and, I >> think, recent Windows. > > No, Windows still uses the funny "code pages". I see. I've found this in Wikipedia ( http://en.wikipedia.org/wiki/Windows_code_page ): > Since the late 1990s, software and systems are increasingly adopting > more direct encodings of Unicode, in particular UTF-8 and UTF-16 > [...] Recent Microsoft products and application program interfaces > use Unicode internally, but many applications and APIs continue to > use the default encoding of the computer's locale when reading and > writing text data to files or standard output. Therefore, though > Unicode is the accepted standard, there is still backwards > compatibility with the older Windows code pages. Anyway, I think UTF-8 is the best encoding to use. Recent multiplatform (La)TeX editors (Linux, Mac, Windows), as TeXworks and TeXmaker, use UTF-8 as default encoding, and so, I believe, recent versions of Kile and Emacs 23. Best, Axel From axel.retif at mac.com Tue Aug 25 08:06:05 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 25 Aug 2009 01:06:05 -0500 Subject: [texhax] Multi-part document In-Reply-To: <1c74194b0908240724r4f859a79waf68146ad075e78@mail.gmail.com> References: <1c74194b0908240724r4f859a79waf68146ad075e78@mail.gmail.com> Message-ID: <80495A9D-00FC-4511-AD56-617C3C3B81C4@mac.com> On 24 Aug, 2009, at 09:24, krishna dev oruganty wrote: > I have a general question in Latex2.0. I have to write a book, which > will have two main sections (with titles). I want the chapter > numbers to be continuous but in two different blocks. So the > organisation is as follows : > > Chapter 1 - Introduction > Section - I (Title of section I) > Chapter 2 - blah blah > Chapter 3 - blah blah > Chapter 4 - blah blah > Section - II (Title of section - II) > Chapter 5 - blah blah > [...] > > I want to insert a page after a section ends, giving the title of > the section (before chapter2 and chapter 5). Is there a package > which will allow me to define groups of chapters in this way and > automatically include these sections in the table of contents ? LaTeX itself (but of course there are packages for customizing the look of sectioning environments and table of contents). What you call section is called part in LaTeX (and publishing houses). See the lshort.pdf in http://ctan.tug.org/tex-archive/info/lshort/english/ especially section 2.7 Titles, Chapters, and Sections (pp.35 and ff.). Best, Axel From asnd at triumf.ca Tue Aug 25 08:39:27 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 24 Aug 2009 23:39:27 -0700 Subject: [texhax] Multi-part document In-Reply-To: <1c74194b0908240724r4f859a79waf68146ad075e78@mail.gmail.com> References: <1c74194b0908240724r4f859a79waf68146ad075e78@mail.gmail.com> Message-ID: krishna dev oruganty writes: > I have a general question in Latex2.0 I don't remember that version. Does it date from 1988 or near there? > have two main sections (with titles). I want the chapter numbers to be > continuous but in two different blocks. \part not \section. No package needed. -- Donald Arseneau asnd at triumf.ca From jboor at math.umb.edu Wed Aug 26 22:06:21 2009 From: jboor at math.umb.edu (Joan Boorstein) Date: Wed, 26 Aug 2009 16:06:21 -0400 (EDT) Subject: [texhax] Questions Message-ID: <200908262006.n7QK6LG9016419@math.umb.edu> > I have the following questions with winedt 5.5: > > 1) how do I move equation numbers from the left of the equation to the right? > > 2) how do I eliminate the title of the ms. being printed on the top of every > page? > > 3) how do I include page numbering? I cannot answer your questions since I'm not a winedt user, but you might get answers from the winedt community. See http://winedt.com. There is a mailing list. Joan Boorstein From frisk.h at gmail.com Thu Aug 27 09:41:07 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Thu, 27 Aug 2009 09:41:07 +0200 Subject: [texhax] Texlive and fonts In-Reply-To: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> References: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> Message-ID: <311224200908270041j44fda29bh387565275d43133c@mail.gmail.com> Hi again, Even if no noe has ideas of how to solve my problem specifically, does anyone have a good tutorial on how to install fonts (manually) under texlive, maybe I can figure out what I've done wrong. Thanks for any help, /Henrik On Mon, Aug 24, 2009 at 9:22 AM, Henrik Frisk wrote: > Hi all, > > I've recently installed a new Fedora 11 system with texlive 2007-42. This > is the first time I have texlive I should say. I have two adobe fonts that > I've used for a long time with tex and, although the installation process > has differed I have always managed to get it to work. This time I've > installed the fonts and the maps in a local texmf directory. updmap finds > them and complains about nothing. I can process documents with these fonts > using latex, producing dvi but I can't use pdflatex, nor dvips on the dvi > file produced. The error I'm getting is: > > pdfTeX warning: pdflatex (file padr8r): Font padr8r at 864 not found > > This must have something to do with the searchpats becuase these files > exist in the appropriate directories (I think) in my local texmf tree (in > /home/user/texmf/fonts/tfm etc..) > > Any hints would be greatly appreciated. > > best, > > /H > -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Thu Aug 27 11:36:46 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 27 Aug 2009 04:36:46 -0500 Subject: [texhax] Texlive and fonts In-Reply-To: <311224200908270041j44fda29bh387565275d43133c@mail.gmail.com> References: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> <311224200908270041j44fda29bh387565275d43133c@mail.gmail.com> Message-ID: <852EB9FA-9776-450C-9E59-9B9FE1848346@mac.com> On 27 Aug, 2009, at 02:41, Henrik Frisk wrote: > Hi again, > > Even if no noe has ideas of how to solve my problem specifically, > does anyone have a good tutorial on how to install fonts (manually) > under texlive, maybe I can figure out what I've done wrong. Karl Berry made a reference to http://tug.org/fonts/fontinstall.html Didn't it work for you? As you have TeXLive 2007, the difference with that web page is, *I think*, that your system-wide local additions should go in /usr/local/ share/texmf, instead of /usr/local/texlive/texmf-local. Also, at that web page there is a link to the Font Installation Guide. Best, Axel > Thanks for any help, > > /Henrik > > On Mon, Aug 24, 2009 at 9:22 AM, Henrik Frisk > wrote: > Hi all, > > I've recently installed a new Fedora 11 system with texlive 2007-42. > This is the first time I have texlive I should say. I have two adobe > fonts that I've used for a long time with tex and, although the > installation process has differed I have always managed to get it to > work. This time I've installed the fonts and the maps in a local > texmf directory. updmap finds them and complains about nothing. I > can process documents with these fonts using latex, producing dvi > but I can't use pdflatex, nor dvips on the dvi file produced. The > error I'm getting is: > > pdfTeX warning: pdflatex (file padr8r): Font padr8r at 864 not found > > This must have something to do with the searchpats becuase these > files exist in the appropriate directories (I think) in my local > texmf tree (in /home/user/texmf/fonts/tfm etc..) > > Any hints would be greatly appreciated. > > best, > > /H From madduck at madduck.net Thu Aug 27 19:59:28 2009 From: madduck at madduck.net (martin f krafft) Date: Thu, 27 Aug 2009 19:59:28 +0200 Subject: [texhax] emph{} should toggle emphasis in text set with \itshape Message-ID: <20090827175928.GA3652@piper.oerlikon.madduck.net> Hi folks, my style sheet uses \itshape for quotations. I have a few quotations with \emph{} in them, and the proper thing to do would be to de-emph{} (toggle emphasis) in this context. Can texlive do this? Alternatively, what's a better way to make quotations appear cursive? -- martin | http://madduck.net/ | http://two.sentenc.es/ "the mind of the thoroughly well-informed man is a dreadful thing. it is like a bric-?-brac shop, all monsters and dust, with everything priced above its proper value." -- oscar wilde spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: From axel.retif at mac.com Fri Aug 28 06:22:23 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 27 Aug 2009 23:22:23 -0500 Subject: [texhax] emph{} should toggle emphasis in text set with \itshape In-Reply-To: <20090827175928.GA3652@piper.oerlikon.madduck.net> References: <20090827175928.GA3652@piper.oerlikon.madduck.net> Message-ID: On 27 Aug, 2009, at 12:59, martin f krafft wrote: > Hi folks, > > my style sheet uses \itshape for quotations. I have a few quotations > with \emph{} in them, and the proper thing to do would be to > de-emph{} (toggle emphasis) in this context. Can texlive do this? Sorry to ask this way..., but did you even try it? {\itshape my style sheet uses \verb|\itshape| for quotations. I have a few quotations with \emph{emph} in them, and the proper thing to do would be to \emph{de-emph} (toggle emphasis) in this context. Can texlive do this?} Best, Axel From madduck at madduck.net Fri Aug 28 11:34:12 2009 From: madduck at madduck.net (martin f krafft) Date: Fri, 28 Aug 2009 11:34:12 +0200 Subject: [texhax] emph{} should toggle emphasis in text set with \itshape In-Reply-To: References: <20090827175928.GA3652@piper.oerlikon.madduck.net> Message-ID: <20090828093412.GA24952@piper.oerlikon.madduck.net> also sprach Axel E. Retif [2009.08.28.0622 +0200]: > >my style sheet uses \itshape for quotations. I have a few > >quotations with \emph{} in them, and the proper thing to do would > >be to de-emph{} (toggle emphasis) in this context. Can texlive do > >this? > > Sorry to ask this way..., but did you even try it? > > {\itshape my style sheet uses \verb|\itshape| for quotations. > I have a few quotations with \emph{emph} in them, and the proper > thing to do would be to \emph{de-emph} (toggle emphasis) in this > context. Can texlive do this?} Yes, I definitely did. I noticed in the PDF it said "(his emphasis)" following a quotation, and I shrugged, because it was all cursive. But then I tested it in a simple case and there it works. Thanks to your input, I managed to trace this down to a stupidity deep down in the .cls file I have to use, where \emph{} was redefined. I am sorry that I spammed the list without providing all the details or running a simple test case. Thank you for your patience. -- martin | http://madduck.net/ | http://two.sentenc.es/ the only difference between a car salesman and a computer salesman is that the car salesman knows he's lying. spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: From axel.retif at mac.com Fri Aug 28 13:04:05 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 28 Aug 2009 06:04:05 -0500 Subject: [texhax] emph{} should toggle emphasis in text set with \itshape In-Reply-To: <20090828093412.GA24952@piper.oerlikon.madduck.net> References: <20090827175928.GA3652@piper.oerlikon.madduck.net> <20090828093412.GA24952@piper.oerlikon.madduck.net> Message-ID: On 28 Aug, 2009, at 04:34, martin f krafft wrote: > also sprach Axel E. Retif [2009.08.28.0622 > +0200]: >>> my style sheet uses \itshape for quotations. I have a few >>> quotations with \emph{} in them, and the proper thing to do would >>> be to de-emph{} (toggle emphasis) in this context. Can texlive do >>> this? >> >> Sorry to ask this way..., but did you even try it? >> >> [...] > > Yes, I definitely did. I noticed in the PDF it said "(his emphasis)" > following a quotation, and I shrugged, because it was all cursive. > > But then I tested it in a simple case and there it works. > > Thanks to your input, I managed to trace this down to a stupidity > deep down in the .cls file I have to use, where \emph{} was > redefined. > > I am sorry that I spammed the list without providing all the details > or running a simple test case. On the contrary ---pardon me for my rudeness. And I'm glad you found the culprit. Best, Axel From prstanley at ntlworld.com Fri Aug 28 13:24:37 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Fri, 28 Aug 2009 12:24:37 +0100 Subject: [texhax] class diagrams Message-ID: <20090828112437.YYMM2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Hello anyone know a good package for creating class diagrams including the dependencies? Cheers Paul From prstanley at ntlworld.com Fri Aug 28 13:24:37 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Fri, 28 Aug 2009 12:24:37 +0100 Subject: [texhax] class diagrams Message-ID: <20090828113450.QHPS21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Hello anyone know a good package for creating class diagrams including the dependencies? Cheers Paul From udvzsolt at gmail.com Fri Aug 28 13:49:45 2009 From: udvzsolt at gmail.com (Zsolt Udvari) Date: Fri, 28 Aug 2009 13:49:45 +0200 Subject: [texhax] class diagrams In-Reply-To: <20090828113450.QHPS21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090828113450.QHPS21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <20090828134945.4ed88fd6@gmail.com> > Hello > anyone know a good package for creating class diagrams including the > dependencies? > Cheers > Paul I don't know what you need exactly but maybe this: http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=uml Zsolt From frisk.h at gmail.com Fri Aug 28 22:12:24 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Fri, 28 Aug 2009 22:12:24 +0200 Subject: [texhax] Texlive and fonts In-Reply-To: <852EB9FA-9776-450C-9E59-9B9FE1848346@mac.com> References: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> <311224200908270041j44fda29bh387565275d43133c@mail.gmail.com> <852EB9FA-9776-450C-9E59-9B9FE1848346@mac.com> Message-ID: <311224200908281312m5e0dfd8fpb0c38eaa4829b45d@mail.gmail.com> On Thu, Aug 27, 2009 at 11:36 AM, Axel E. Retif wrote: > On 27 Aug, 2009, at 02:41, Henrik Frisk wrote: > > Hi again, >> >> Even if no noe has ideas of how to solve my problem specifically, does >> anyone have a good tutorial on how to install fonts (manually) under >> texlive, maybe I can figure out what I've done wrong. >> > > Karl Berry made a reference to > > http://tug.org/fonts/fontinstall.html > > Didn't it work for you? > Odd, did Karl respond to my first message? It wasn't delivered to me (or I can't find it). Strange... > > As you have TeXLive 2007, the difference with that web page is, *I think*, > that your system-wide local additions should go in /usr/local/share/texmf, > instead of /usr/local/texlive/texmf-local. > > Also, at that web page there is a link to the Font Installation Guide. > Great, thank you! best, Henrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Fri Aug 28 23:18:28 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 28 Aug 2009 16:18:28 -0500 Subject: [texhax] Texlive and fonts In-Reply-To: <311224200908281312m5e0dfd8fpb0c38eaa4829b45d@mail.gmail.com> References: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> <311224200908270041j44fda29bh387565275d43133c@mail.gmail.com> <852EB9FA-9776-450C-9E59-9B9FE1848346@mac.com> <311224200908281312m5e0dfd8fpb0c38eaa4829b45d@mail.gmail.com> Message-ID: <8C8C1DD4-FDC4-4165-9052-D98683E59201@mac.com> On 28 Aug, 2009, at 15:12, Henrik Frisk wrote: > On Thu, Aug 27, 2009 at 11:36 AM, Axel E. Retif > wrote: > [...] > >> Karl Berry made a reference to >> >> http://tug.org/fonts/fontinstall.html >> >> Didn't it work for you? > > Odd, did Karl respond to my first message? It wasn't delivered to me > (or I can't find it). Strange... Yes, he did. See here http://tug.org/pipermail/texhax/2009-August/thread.html near the bottom of the page. I think it has happened to me that I don't receive a particular reply from the list. Best, Axel From doc.evans at gmail.com Sat Aug 29 02:14:48 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Fri, 28 Aug 2009 18:14:48 -0600 Subject: [texhax] How to test for existence of a macro? Message-ID: <4A9872F8.7000907@gmail.com> I couldn't find this in the TeXbook, but perhaps I was just looking in the wrong place. How should I test cleanly for the existence of a particular macro? The use case is that I have been using pdfTeX for quite some time, and hence using commands of the form \pdfxxx with impunity. Now that I'm trying to use tex4ht, the first thing that happens is that it halts with an error as soon as it hits the first of those commands. (Actually, I guess I'm making an assumption that the \pdfxxx commands are equivalent to macros, even though they're built-in.) Anyway, what I want to do is stuff like replacing: \pdfoutput=1 with something logically equivalent to: if (exists(\pdfoutput)) \pdfoutput=1; else do something else; Presumably to do this one creates: \newif\ifpdf and then sets it to true or false depending on whether (say) \pdfoutput is defined... but I don't know how to perform the test to see whether \pdfoutput is defined in a way that doesn't cause an error if it's undefined. Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From bettyjeanharmsen at yahoo.com Sat Aug 29 02:52:37 2009 From: bettyjeanharmsen at yahoo.com (Betty Harmsen) Date: Fri, 28 Aug 2009 17:52:37 -0700 (PDT) Subject: [texhax] Can't install tex on my PC Message-ID: <207417.20601.qm@web55904.mail.re3.yahoo.com> I have the 2008 DVD for Tex Live. I am trying to install it on my PC but I cannot get it to work. With the DVD in the PC, I found an install-tl icon and clicked on it. A window opened up with an "Install texlive" button. I clicked on it and the computer spent a couple of hours or more putting files into the texlive/2008 folder. But I can't find the exec file to run pctex or latex or anything like that. In the PC TeXLive 2008 folder, there is a PS_view icon, the Tex Live Manager, manuals in all languages, a toplevel readme index and TeXdoc GUI, which appears to be a TeX Documentation Browser. I have Tex installed on my Mac, so I copied a Tex file from Mac to my flash drive and put the file on the PC laptop, thinking if I tried to open that, it would automatically find the exec file for me, but Windows says it doesn't know what program created my Tex file. Please advise! Thank you, Blessings, Betty Harmsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From adityam at umich.edu Sat Aug 29 03:02:55 2009 From: adityam at umich.edu (Aditya Mahajan) Date: Fri, 28 Aug 2009 21:02:55 -0400 (EDT) Subject: [texhax] How to test for existence of a macro? In-Reply-To: <4A9872F8.7000907@gmail.com> References: <4A9872F8.7000907@gmail.com> Message-ID: On Fri, 28 Aug 2009, D. R. Evans wrote: > I couldn't find this in the TeXbook, but perhaps I was just looking in the > wrong place. > > How should I test cleanly for the existence of a particular macro? > > The use case is that I have been using pdfTeX for quite some time, and > hence using commands of the form \pdfxxx with impunity. Now that I'm trying > to use tex4ht, the first thing that happens is that it halts with an error > as soon as it hits the first of those commands. > > (Actually, I guess I'm making an assumption that the \pdfxxx commands are > equivalent to macros, even though they're built-in.) > > Anyway, what I want to do is stuff like replacing: > \pdfoutput=1 > with something logically equivalent to: > if (exists(\pdfoutput)) > \pdfoutput=1; > else > do something else; > > Presumably to do this one creates: > \newif\ifpdf > and then sets it to true or false depending on whether (say) \pdfoutput is > defined... but I don't know how to perform the test to see whether > \pdfoutput is defined in a way that doesn't cause an error if it's undefined. See the ifpdf package. It does exactly this. http://www.ctan.org/tex-archive/help/Catalogue/entries/ifpdf.html Aditya From vafa at users.berlios.de Sat Aug 29 03:13:46 2009 From: vafa at users.berlios.de (Vafa Khalighi) Date: Sat, 29 Aug 2009 11:13:46 +1000 Subject: [texhax] How to test for existence of a macro? In-Reply-To: <4A9872F8.7000907@gmail.com> References: <4A9872F8.7000907@gmail.com> Message-ID: <605202f20908281813x100e203do9eb4d61a33342cd6@mail.gmail.com> Use \show e.g \show\TeX Gives: > \TeX=macro: ->T\kern -.1667em\lower .5ex\hbox {E}\kern -.125emX. which means \TeX is defined and it is a macro not a primitive. \show\pdfoutput gives: > \pdfoutput=\pdfoutput. which means \pdfoutput exist and it is a primitive. Best wishes, Vafa Khalighi -------------- next part -------------- An HTML attachment was scrubbed... URL: From neal at walfield.org Sat Aug 29 11:20:49 2009 From: neal at walfield.org (Neal H. Walfield) Date: Sat, 29 Aug 2009 11:20:49 +0200 Subject: [texhax] How to test for existence of a macro? In-Reply-To: <4A9872F8.7000907@gmail.com> References: <4A9872F8.7000907@gmail.com> Message-ID: <87iqg7ascu.wl%neal@walfield.org> At Fri, 28 Aug 2009 18:14:48 -0600, D. R. Evans wrote: > I couldn't find this in the TeXbook, but perhaps I was just looking in the > wrong place. > > How should I test cleanly for the existence of a particular macro? The secret is how \csname ... \endcsname acts when the specified control sequence is not defined: if the resulting control sequence token was not previously defined, the resulting control sequence acts like \relax. We can combine this with \ifx, which compares the value of two marcos, as follows: % Prints `not defined'. \expandafter\ifx\csname foo\endcsname \relax not defined \else defined \fi \def\foo{} % Prints `defined'. \expandafter\ifx\csname foo\endcsname \relax not defined \else defined \fi We need to use \expandafter as \ifx does not expand its arguments and we want the expansion of the \csname ...\endcsname sequence. Neal From geoff at knauth.org Sun Aug 30 00:52:46 2009 From: geoff at knauth.org (Geoffrey S. Knauth) Date: Sat, 29 Aug 2009 18:52:46 -0400 Subject: [texhax] amsart, no title on 1st page, running head on subsequent pages In-Reply-To: <1478dc4c72ac4c03a4472b72eb847050@78051becfe554210a0f13df8038321d8> References: <1478dc4c72ac4c03a4472b72eb847050@78051becfe554210a0f13df8038321d8> Message-ID: <5F48C2BB-B266-45C5-B3A3-5F51EB75553D@knauth.org> Is it possible to use document class amsart and NOT have a title (taking up all that space at the top of the first page), but have a running head at the top of subsequent pages? I wish I could do this: \title [CPTR 331 Fall 2009 Syllabus]{} \maketitle so that I'd still get the headers on pages 2 onward. From geoff at knauth.org Sun Aug 30 04:57:49 2009 From: geoff at knauth.org (Geoffrey S. Knauth) Date: Sat, 29 Aug 2009 22:57:49 -0400 Subject: [texhax] amsart, no title on 1st page, running head on subsequent pages In-Reply-To: <5F48C2BB-B266-45C5-B3A3-5F51EB75553D@knauth.org> References: <1478dc4c72ac4c03a4472b72eb847050@78051becfe554210a0f13df8038321d8> <5F48C2BB-B266-45C5-B3A3-5F51EB75553D@knauth.org> Message-ID: <760D4BDB-A0E6-45AD-B73F-AEEC02399A4A@knauth.org> At Aug 29, 2009, at 18:52, I asked: > Is it possible to use document class amsart and NOT have a title > (taking up all that space at the top of the first page), but have a > running head at the top of subsequent pages? I wish I could do this: > \title [CPTR 331 Fall 2009 Syllabus]{} > \maketitle > so that I'd still get the headers on pages 2 onward. I think I answered my own question. Or at least I did something that produced what I was looking for: \documentclass{amsart} \usepackage{fancyhdr} \usepackage{lastpage} \begin{document} \thispagestyle{empty} \cfoot{Page \thepage\ of \pageref{LastPage}} \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \begin{center} \textsc{CPTR 331 --- Networking --- Fall 2009 Syllabus} \end{center} \fancyhead{} \fancyhead[CE,CO]{\textsc{CPTR 331 Fall 2009 Syllabus}} % et cetera From vafa at users.berlios.de Sun Aug 30 03:55:43 2009 From: vafa at users.berlios.de (Vafa Khalighi) Date: Sun, 30 Aug 2009 11:55:43 +1000 Subject: [texhax] Can't install tex on my PC Message-ID: <605202f20908291855x5176167bpc2e8f081078bc59a@mail.gmail.com> Hi Betty >From your last email, I understand that you have installed TeXLive 2008 but you have got a TeX file and you do not know how to to latex it for instance, right? You just need an editor. My first suggestion would be to try MiKTeX 2.8 because it comes with the editor (called TeXWorks) and everything is ready to use out of the box. You can download it from http://miktex.org/2.8/setup. Download and install the basic version and you should be able to do your work. But I guess you will need to uninstall TeXLive 2008 before installing MiKTeX 2.8. My second suggestion is if you do not want to use MiKTeX and want to stay with TeXLive, you need to install an editor and then configure your editor. There are lots of TeX editor on the web, so you can actually search and see which one suits you. NoTe; TeXLive and MiKTeX are two TeX distributions. Best wishes, Vafa -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Sun Aug 30 08:43:02 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 30 Aug 2009 01:43:02 -0500 Subject: [texhax] Can't install tex on my PC In-Reply-To: <605202f20908291855x5176167bpc2e8f081078bc59a@mail.gmail.com> References: <605202f20908291855x5176167bpc2e8f081078bc59a@mail.gmail.com> Message-ID: On 29 Aug, 2009, at 20:55, Vafa Khalighi wrote: > Hi Betty > > From your last email, I understand that you have installed TeXLive > 2008 but you have got a TeX file and you do not know how to to latex > it for instance, right? You just need an editor. > > My first suggestion would be to try MiKTeX 2.8 because it comes with > the editor (called TeXWorks) and everything is ready to use out of > the box. You can download it from http://miktex.org/2.8/setup. > Download and install the basic version and you should be able to do > your work. But I guess you will need to uninstall TeXLive 2008 > before installing MiKTeX 2.8. > > My second suggestion is if you do not want to use MiKTeX and want to > stay with TeXLive, you need to install an editor and then configure > your editor. There are lots of TeX editor on the web, so you can > actually search and see which one suits you. For example, TeXworks itself, multiplatform (I didn't know MiKTeX was distributing TeXworks; that's nice): http://code.google.com/p/texworks/ Also, TeXnicCenter, Windows only: http://www.texniccenter.org/ and, multiplatform as well, TeXmaker: http://www.xm1math.net/texmaker/ Best, Axel From frisk.h at gmail.com Sun Aug 30 08:58:38 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Sun, 30 Aug 2009 08:58:38 +0200 Subject: [texhax] Texlive and fonts In-Reply-To: <8C8C1DD4-FDC4-4165-9052-D98683E59201@mac.com> References: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> <311224200908270041j44fda29bh387565275d43133c@mail.gmail.com> <852EB9FA-9776-450C-9E59-9B9FE1848346@mac.com> <311224200908281312m5e0dfd8fpb0c38eaa4829b45d@mail.gmail.com> <8C8C1DD4-FDC4-4165-9052-D98683E59201@mac.com> Message-ID: <311224200908292358v1289e179nb543642653af298c@mail.gmail.com> > Odd, did Karl respond to my first message? It wasn't delivered to me (or I >> can't find it). Strange... >> > > Yes, he did. See here > > http://tug.org/pipermail/texhax/2009-August/thread.html > > near the bottom of the page. > Ah, I see. It's odd, I usually check the archives but for some reason I didn't this time... Sorry for the noise. best, /h -------------- next part -------------- An HTML attachment was scrubbed... URL: From frisk.h at gmail.com Sun Aug 30 09:49:39 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Sun, 30 Aug 2009 09:49:39 +0200 Subject: [texhax] Texlive and fonts In-Reply-To: <852EB9FA-9776-450C-9E59-9B9FE1848346@mac.com> References: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> <311224200908270041j44fda29bh387565275d43133c@mail.gmail.com> <852EB9FA-9776-450C-9E59-9B9FE1848346@mac.com> Message-ID: <311224200908300049y690403a4s651e74a1657be5e@mail.gmail.com> On Thu, Aug 27, 2009 at 11:36 AM, Axel E. Retif wrote: > On 27 Aug, 2009, at 02:41, Henrik Frisk wrote: > > Hi again, >> >> Even if no noe has ideas of how to solve my problem specifically, does >> anyone have a good tutorial on how to install fonts (manually) under >> texlive, maybe I can figure out what I've done wrong. >> > > Karl Berry made a reference to > > http://tug.org/fonts/fontinstall.html > OK, I followed thes instructions but I still can't seem to get it to work. As far as I can tell, everything looks good, files are in the right locations and the filename database is updated as it should. But running $ pdftex testfont causes the following error pdfTeX warning: pdftex (file padb8r): Font padb8r at 600 not found whereas $ tex testfont works fine. Any further suggestions are most welcom! best, /Henrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Sun Aug 30 13:48:56 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 30 Aug 2009 06:48:56 -0500 Subject: [texhax] Texlive and fonts In-Reply-To: <311224200908300049y690403a4s651e74a1657be5e@mail.gmail.com> References: <311224200908240022q1e21af53u5c79258d3954040b@mail.gmail.com> <311224200908270041j44fda29bh387565275d43133c@mail.gmail.com> <852EB9FA-9776-450C-9E59-9B9FE1848346@mac.com> <311224200908300049y690403a4s651e74a1657be5e@mail.gmail.com> Message-ID: <60E8434E-26C2-41C7-B24B-EA287AF26EB5@mac.com> On 30 Aug, 2009, at 02:49, Henrik Frisk wrote: > [...] > > http://tug.org/fonts/fontinstall.html > > OK, I followed thes instructions but I still can't seem to get it to > work. As far as I can tell, everything looks good, files are in the > right locations and the filename database is updated as it should. > But running > > $ pdftex testfont > > causes the following error > > pdfTeX warning: pdftex (file padb8r): Font padb8r at 600 not found > > whereas > > $ tex testfont > > works fine. As you are using TeXLive 2007, I think updmap should update (or create) psfonts_t1.map in /var/lib/texmf/fonts/map/dvips/updmap/ and pdftex_dl14.map in /var/lib/texmf/fonts/map/pdftex/updmap/, with information of your added fonts. Does it? I'm sorry I can't help you, as I don't use TeXLive 2007. Best, Axel From garces at math.admu.edu.ph Sun Aug 30 20:21:46 2009 From: garces at math.admu.edu.ph (I.J.L. Garces) Date: Mon, 31 Aug 2009 02:21:46 +0800 Subject: [texhax] need help... two concerns about marginal notes Message-ID: <20090831022146.42967bt7g8avd5bs@mail.ateneo.net> Hello! I need some help again about marginal notes. I am using two-sided book class. I have two concerns: (1) I would like my marginal notes to be right justified for the left-hand pages, and left justified for the right-hand pages. No hyphenation as well. I think the default is all left justified. What I do is to use the following syntax: \marginpar[\begin{flushright}...\end{flushright}]{\begin{flushleft}...\end{flushleft}} I do this every time I need to write a marginal note. Is there a one-time way to do to avoid this long syntax all the time? (2) I also noticed that when the marginal note occurred on the first line of the page, it is not on the proper side. I have one right-hand page wherein the first marginal note (which happens to be on the first line) is on the left margin, while the other marginal notes are on the right margin. How can this be corrected? Thank you for your constant help. Ian June ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From lomov.vl at gmail.com Sun Aug 30 06:59:17 2009 From: lomov.vl at gmail.com (Vladimir Lomov) Date: Sun, 30 Aug 2009 13:59:17 +0900 Subject: [texhax] How to test for existence of a macro? In-Reply-To: <87iqg7ascu.wl%neal@walfield.org> References: <4A9872F8.7000907@gmail.com> <87iqg7ascu.wl%neal@walfield.org> Message-ID: 2009/8/29 Neal H. Walfield : > At Fri, 28 Aug 2009 18:14:48 -0600, > D. R. Evans wrote: >> I couldn't find this in the TeXbook, but perhaps I was just looking in the >> wrong place. >> >> How should I test cleanly for the existence of a particular macro? > > The secret is how \csname ... \endcsname acts when the specified > control sequence is not defined: if the resulting control sequence > token was not previously defined, the resulting control sequence acts > like \relax. ?We can combine this with \ifx, which compares the value > of two marcos, as follows: > > ?% Prints `not defined'. > ?\expandafter\ifx\csname foo\endcsname \relax not defined \else defined \fi > > ?\def\foo{} > ?% Prints `defined'. > ?\expandafter\ifx\csname foo\endcsname \relax not defined \else defined \fi > > We need to use \expandafter as \ifx does not expand its arguments and > we want the expansion of the \csname ...\endcsname sequence. > > Neal > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html As I understand question from first post this should help: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=isdef --- WBR, Vladimir Lomov From daleif at imf.au.dk Mon Aug 31 10:15:20 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Mon, 31 Aug 2009 10:15:20 +0200 Subject: [texhax] need help... two concerns about marginal notes In-Reply-To: <20090831022146.42967bt7g8avd5bs@mail.ateneo.net> References: <20090831022146.42967bt7g8avd5bs@mail.ateneo.net> Message-ID: <4A9B8698.7080102@imf.au.dk> I.J.L. Garces wrote: > Hello! > > I need some help again about marginal notes. I am using two-sided book > class. I have two concerns: > > (1) I would like my marginal notes to be right justified for the > left-hand pages, and left justified for the right-hand pages. No > hyphenation as well. I think the default is all left justified. What I > do is to use the following syntax: > > \marginpar[\begin{flushright}...\end{flushright}]{\begin{flushleft}...\end{flushleft}} > > > I do this every time I need to write a marginal note. Is there a > one-time way to do to avoid this long syntax all the time? > use \raggedleft instead of flushright and \raggedright instead of flushleft > (2) I also noticed that when the marginal note occurred on the first > line of the page, it is not on the proper side. I have one right-hand > page wherein the first marginal note (which happens to be on the first > line) is on the left margin, while the other marginal notes are on the > right margin. How can this be corrected? > Depends on your document class. The memoir class can make special tests for this. Have a look at the internals of the dlfltxbmarkup package on CTAN, it contani a tool from my Danish LaTeX book that does exactly what you are looking for, though only for memoir. > Thank you for your constant help. > > Ian June > > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -- /daleif From stephenmckeague at hotmail.com Mon Aug 31 03:25:23 2009 From: stephenmckeague at hotmail.com (Stephen McKeague) Date: Mon, 31 Aug 2009 02:25:23 +0100 Subject: [texhax] Suppressing intermediary output Message-ID: Hello, I was wondering if somebody could help with a quick problem. I am using LaTeX but I think the issue lies with TeX too :-) When using latex to generate a DVI file, intermediary files (of at least log and aux) are generated. I do not have any need for these and want to know a command line option or something, which means I don't have to manually delete them every time. I know the command \nofiles prevents aux files from being generated, but can not find anything to prevent the log file from being generated. Hopefully somebody here knows the answer Thanks in advance Stephen McKeague _________________________________________________________________ Save time by using Hotmail to access your other email accounts. http://clk.atdmt.com/UKM/go/167688463/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdl.web at gmail.com Mon Aug 31 16:42:56 2009 From: sdl.web at gmail.com (Leo) Date: Mon, 31 Aug 2009 15:42:56 +0100 Subject: [texhax] Suppressing intermediary output References: Message-ID: On 2009-08-31 02:25 +0100, Stephen McKeague wrote: > I know the command \nofiles prevents aux files from being generated, > but can not find anything to prevent the log file from being > generated. I'd love to know too but it seems producing .log file is hardwired in LaTeX. Leo -- Emacs uptime: 14 days, 0 hours, 25 minutes, 52 seconds From doc.evans at gmail.com Mon Aug 31 17:03:56 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Mon, 31 Aug 2009 09:03:56 -0600 Subject: [texhax] How to test for existence of a macro? In-Reply-To: <4A9872F8.7000907@gmail.com> References: <4A9872F8.7000907@gmail.com> Message-ID: <4A9BE65C.8040409@gmail.com> D. R. Evans said the following at 08/28/2009 06:14 PM : > I couldn't find this in the TeXbook, but perhaps I was just looking in the > wrong place. > > How should I test cleanly for the existence of a particular macro? > Several really useful answers. Now to experiment and choose amongst them. Thanks so much for the replies. Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From A.Grahn at fzd.de Mon Aug 31 17:09:56 2009 From: A.Grahn at fzd.de (Alexander Grahn) Date: Mon, 31 Aug 2009 17:09:56 +0200 Subject: [texhax] Suppressing intermediary output In-Reply-To: References: Message-ID: <20090831150956.GA22410@fzd.de> On Mon, Aug 31, 2009 at 03:42:56PM +0100, Leo wrote: >On 2009-08-31 02:25 +0100, Stephen McKeague wrote: >> I know the command \nofiles prevents aux files from being generated, >> but can not find anything to prevent the log file from being >> generated. > >I'd love to know too but it seems producing .log file is hardwired in >LaTeX. \AtEndDocument{\write18{rm \jobname.log}} % ;-) latex -shell-escape ... On the other hand it is not a good idea to suppress the aux file, unless you don't use commands like \label, \ref, \tableofcontents etc. Alexander From pierre.mackay at comcast.net Mon Aug 31 17:11:50 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Mon, 31 Aug 2009 08:11:50 -0700 Subject: [texhax] Suppressing intermediary output In-Reply-To: References: Message-ID: <4A9BE836.4010806@comcast.net> On 08/31/2009 07:42 AM, Leo wrote: > On 2009-08-31 02:25 +0100, Stephen McKeague wrote: > >> I know the command \nofiles prevents aux files from being generated, >> but can not find anything to prevent the log file from being >> generated. >> > I'd love to know too but it seems producing .log file is hardwired in > LaTeX. > > Leo > > It's not hardwired into LaTeX. it's hardwired into the basic TeX engine on which LaTeX is based., and a TeX engine without a log file could not be called TeX. I don't know which operating system you are using, but if it is Microslush, you could add log files to a CClean list and use that occasionally. For myself, I have often been very glad of the existence of log files, even though I ignore them most of the time. Pierre MacKay From mas at mylug.org Mon Aug 31 18:39:19 2009 From: mas at mylug.org (Sridhar M.A.) Date: Mon, 31 Aug 2009 22:09:19 +0530 Subject: [texhax] Suppressing intermediary output In-Reply-To: <4A9BE836.4010806@comcast.net> References: <4A9BE836.4010806@comcast.net> Message-ID: <20090831163919.GA5060@brahman> On Mon, Aug 31, 2009 at 08:11:50AM -0700, Pierre MacKay wrote: > > It's not hardwired into LaTeX. it's hardwired into the basic TeX > engine on which LaTeX is based., and a TeX engine without a log > file could not be called TeX. I don't know which operating > system you are using, but if it is Microslush, you could add log > files to a CClean list and use that occasionally. For myself, I > have often been very glad of the existence of log files, even > though I ignore them most of the time. > I use the Makefile on my linux system. Just a make clean will remove all aux, log, toc, etc files. The advantage is I can call this from the editor itself. Regards, -- Sridhar M.A. GPG KeyID : F6A35935 Fingerprint: D172 22C4 7CDC D9CD 62B5 55C1 2A69 D5D8 F6A3 5935 Quick, sing me the BUDAPEST NATIONAL ANTHEM!! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: From sdl.web at gmail.com Mon Aug 31 19:59:34 2009 From: sdl.web at gmail.com (Leo) Date: Mon, 31 Aug 2009 18:59:34 +0100 Subject: [texhax] Suppressing intermediary output References: <4A9BE836.4010806@comcast.net> Message-ID: On 2009-08-31 16:11 +0100, Pierre MacKay wrote: > It's not hardwired into LaTeX. it's hardwired into the basic TeX > engine on which LaTeX is based., and a TeX engine without a log file > could not be called TeX. I know it is hardwired somewhere ;) > I don't know which operating system you are using, but if it is > Microslush, you could add log files to a CClean list and use that > occasionally. For myself, I have often been very glad of the existence > of log files, even though I ignore them most of the time. It does not bother me most of the time. The only scenario that I come across is when I use tikz to produce graphics in .pdf graphs. It will be very nice to produce the .pdf graph without any intermediary files. BTW, do you know if .blg file by BibTeX is hardwired or not? Any idea how to stop it? > Pierre MacKay Best, Leo -- Emacs uptime: 14 days, 3 hours, 39 minutes, 16 seconds From vivrii at gmail.com Mon Aug 31 20:54:55 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Mon, 31 Aug 2009 14:54:55 -0400 Subject: [texhax] Suppressing intermediary output In-Reply-To: References: <4A9BE836.4010806@comcast.net> Message-ID: <19af81400908311154m5f74570u9207b423e8d10a9@mail.gmail.com> First of all, all multiple "aux"-like files are used by LaTeX and packages in subsequent runs, aux saves information about labels and equations, theorems, sections actual numbers (and more), .toc is needed to create table of contents,... Automatically removing such files definitely does look not right, especially if using \include and \includeonly mechanism while working on really large document (say book). log files are not used by TeX but they contain different warnings like multiple defined or undefined labels; LaTeX does not stop on such failures. So when document is finished, it is a good idea to look into log file searching for Warning So, automatic removal of log files does not look right either Sure, those who keep all tex files in one single directory, these files contribute to bloody mess but creating separate directory (and even nested subdirectories if using \include) keeps things under control Victor On Mon, Aug 31, 2009 at 1:59 PM, Leo wrote: > On 2009-08-31 16:11 +0100, Pierre MacKay wrote: >> It's not hardwired into LaTeX. it's hardwired into the basic TeX >> engine on which LaTeX is based., and a TeX engine without a log file >> could not be called TeX. > > I know it is hardwired somewhere ;) > >> I don't know which operating system you are using, but if it is >> Microslush, you could add log files to a CClean list and use that >> occasionally. For myself, I have often been very glad of the existence >> of log files, even though I ignore them most of the time. > > It does not bother me most of the time. The only scenario that I come > across is when I use tikz to produce graphics in .pdf graphs. It will be > very nice to produce the .pdf graph without any intermediary files. > > BTW, do you know if .blg file by BibTeX is hardwired or not? Any idea > how to stop it? > >> Pierre MacKay > > Best, > > Leo > > > -- > Emacs uptime: 14 days, 3 hours, 39 minutes, 16 seconds > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From asnd at triumf.ca Mon Aug 31 21:49:09 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 31 Aug 2009 12:49:09 -0700 Subject: [texhax] need help... two concerns about marginal notes In-Reply-To: <4A9B8698.7080102@imf.au.dk> References: <20090831022146.42967bt7g8avd5bs@mail.ateneo.net> <4A9B8698.7080102@imf.au.dk> Message-ID: Lars Madsen writes: > I.J.L. Garces wrote: > > \marginpar[\begin{flushright}...\end{flushright}]{\begin{flushleft}...\end{flushleft}} > > I do this every time I need to write a marginal note. Is there a one-time > > way to do to avoid this long syntax all the time? > > use \raggedleft instead of flushright and \raggedright instead of flushleft Yes, that shortens it, but I think the point of the question is more to removing the duplication, as with \newcommand\mnote[1]{\marginpar[\raggedleft #1\par]{\raggedright #1\par} > > (2) I also noticed that when the marginal note occurred on the first line > > of the page, it is not on the proper side. I believe the package named mparhack is meant to fix this deficiency. -- Donald Arseneau asnd at triumf.ca