From axel.retif at mac.com Mon Jun 1 06:38:35 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 31 May 2009 23:38:35 -0500 Subject: [texhax] LaTeX In-Reply-To: References: Message-ID: <53B7353B-2E96-4735-AC72-921EED48266F@mac.com> On 31 May, 2009, at 12:04, mohammad al-malki wrote: > Welcome > Please help me to install LaTex. > I'am visit this page > > http://www.usna.edu/Users/ee/cameronc/Miscellaneous/LaTeX/LaTeX.html#MiKTeX > > but I'am not understand how I install this software > Please I'am want guide by figure step by step how I instull from > Miktex to Texnic center > pleas...please....please I don't use MiKTeX, nor TeXnicCenter (nor Windows, for that matter), but see if this helps: http://www.youtube.com/watch?v=NeNOj_Ulys8 Best, Axel From uwe.lueck at web.de Mon Jun 1 10:18:38 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Mon, 01 Jun 2009 10:18:38 +0200 Subject: [texhax] LaTeX Message-ID: <1143659760@web.de> "Axel E. Retif" schrieb am 01.06.2009 06:41:47: > On 31 May, 2009, at 12:04, mohammad al-malki wrote: > > > Welcome > > Please help me to install LaTex. > > I'am visit this page > > > > http://www.usna.edu/Users/ee/cameronc/Miscellaneous/LaTeX/LaTeX.html#MiKTeX > > > > but I'am not understand how I install this software > > Please I'am want guide by figure step by step how I instull from > > Miktex to Texnic center > > pleas...please....please > > http://www.youtube.com/watch?v=NeNOj_Ulys8 Nice. However, if you are on that page http://www.usna.edu/Users/ee/cameronc/Miscellaneous/LaTeX/LaTeX.html why are you at #MiKTeX and want to install "to TeXnicCenter"? Right before there is the link to http://www.tug.org/protext where installation may be simpler. It *is* step by step. Also the other things on the page are explained "step by step". If you don't understand this ... I understand Alex' idea ... If you have to write a thesis in English ... you might need to attend a course ... -- Uwe. From uwe.lueck at web.de Mon Jun 1 11:19:56 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Mon, 01 Jun 2009 11:19:56 +0200 Subject: [texhax] FW: Re: LaTeX Message-ID: <1143695412@web.de> 01.06.09 10:21:30 I wrote: > If you don't understand this ... I understand Alex' idea ... sorry, Axel, I thought several times that i must avoid this mistake ... -- Uwe. From michael.m.tung at gmail.com Mon Jun 1 22:02:20 2009 From: michael.m.tung at gmail.com (Michael M. Tung) Date: Mon, 1 Jun 2009 22:02:20 +0200 Subject: [texhax] tensor index macros for plain TeX ? Message-ID: <20090601200220.GA3493@moloch> Hi all, I am looking for a collection of handy macros to manipulate tensor indices in plain TeX---with similar features as Javier Bezos's tensind package for LaTeX. Does anybody know if such a thing already exists? Googleing around brought no successful answers... Many thanks. Best, Michael Tung From r.durchholz at online.de Mon Jun 1 20:37:05 2009 From: r.durchholz at online.de (Reiner Durchholz) Date: Mon, 1 Jun 2009 20:37:05 +0200 Subject: [texhax] Strange \loop-behaviour Message-ID: <2452BBA1-BE37-4458-8559-6774D39AEF10@online.de> This is a report of what I believe is a flaw in the "\loop" implementation. The appended source text behaves differently with and without the \null-command. Instead of \null, almost any other command can be used. The flaw came to my attention when I first used a \showthe for error analysis. The used system is OS X 10.5.5. The TeX system is TeXShop V2.26 with XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7) %!TEX TS-program = xetex %!TEX encoding = UTF-8 Unicode \parindent=0cm % ______________________________________________________ \openin1=TestObject \newcount\more \more=1 % used as boolean, set to "true" % ----------------------------------------- \loop \read 1 to \InputLine \ifeof1\more=0\fi \null % without this command, the loop either does not end or ends immediately \number\more \ifnum\more=1 -- \InputLine\ +++ \hfil\break \repeat % ----------------------------------------- \closein1 \bye -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- - -- -- -- -- -- -- -- Dr. Reiner Durchholz -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- - -- -- -- -- -- -- -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From news3 at nililand.de Tue Jun 2 09:17:54 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Tue, 2 Jun 2009 09:17:54 +0200 Subject: [texhax] Strange \loop-behaviour References: <2452BBA1-BE37-4458-8559-6774D39AEF10@online.de> Message-ID: Am Mon, 1 Jun 2009 20:37:05 +0200 schrieb Reiner Durchholz: > This is a report of what I believe is a flaw in the "\loop" > implementation. > The appended source text behaves differently with and without the > \null-command. > Instead of \null, almost any other command can be used. > \ifeof1\more=0\fi > \null % without this command, the loop either does not end or ends A \fi doesn't unterrupt the assignment to the counter more. TeX continues to read/expand commands to find more numbers. You can even use \if-commands inside the assignment: \newcount\more \more=1 % \ifx aa \more=0\fi 2 \the\more \more=1\ifnum3=4 5\else6\fi7 \the\more \bye To stop the assignment, use \relax \more=0\relax or a space: \more=0 \fi -- Ulrike Fischer From Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org Tue Jun 2 09:35:34 2009 From: Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org (Philip and Le Khanh) Date: Tue, 02 Jun 2009 08:35:34 +0100 Subject: [texhax] Strange \loop-behaviour In-Reply-To: <2452BBA1-BE37-4458-8559-6774D39AEF10@online.de> References: <2452BBA1-BE37-4458-8559-6774D39AEF10@online.de> Message-ID: <4A24D646.3090909@Royal-Tunbridge-Wells.Org> The problem lies in the incomplete assignment to \more; better would be the following -- \ifeof 1\more = 0\relax \fi Philip TAYLOR -------- Reiner Durchholz wrote: > This is a report of what I believe is a flaw in the "\loop" implementation. > The appended source text behaves differently with and without the > \null-command. > Instead of \null, almost any other command can be used. > The flaw came to my attention when I first used a \showthe for error > analysis. > > The used system is OS X 10.5.5. > The TeX system is TeXShop V2.26 with XeTeXk, Version > 3.1415926-2.2-0.999.6 (Web2C 7.5.7) > > %!TEX TS-program = xetex > %!TEX encoding = UTF-8 Unicode > \parindent=0cm > % ______________________________________________________ > \openin1=TestObject > \newcount\more \more=1 % used as boolean, set to "true" > % ----------------------------------------- > \loop > \read 1 to \InputLine > \ifeof1\more=0\fi > \null % without this command, the loop either does not end or ends > immediately > \number\more > \ifnum\more=1 > -- \InputLine\ +++ \hfil\break > \repeat > % ----------------------------------------- > \closein1 > \bye > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- > -- -- - -- -- -- -- -- -- -- > Dr. Reiner Durchholz > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- > -- -- - -- -- -- -- -- -- -- > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 karl at huftis.org Tue Jun 2 11:58:58 2009 From: karl at huftis.org (Karl Ove Hufthammer) Date: Tue, 02 Jun 2009 11:58:58 +0200 Subject: [texhax] Thesis layout regulations References: <4A202DF0.3040207@essex.ac.uk> <137890.62491.qm@web43412.mail.sp1.yahoo.com> Message-ID: Dorothy Jammins: > Btw I have yet to hear of a university that accepted a doublesided > dissertation. This really surprises me. Here in Norway, doublesided printing is very common. Why is singlesided printing used? Most dissertations use doublespacing (or often 1.5-spacing), though, especially in the humanities. (For maths, most people seem to just use the LaTeX defaults, or perhaps with abominations like the ?a4wide? packages.) Also, a few years ago, the university I?m at changed to the paper size from A4 to 240 ? 170 mm for PhD dissertations. I think it?s an excellent format, but too often the original (A4) source material is just scaled down, leading to a too small actual font size. -- Karl Ove Hufthammer From vi5u0-texhax at yahoo.co.uk Tue Jun 2 17:31:55 2009 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Tue, 2 Jun 2009 16:31:55 +0100 (BST) Subject: [texhax] Thesis layout regulations In-Reply-To: References: <4A202DF0.3040207@essex.ac.uk> <137890.62491.qm@web43412.mail.sp1.yahoo.com> Message-ID: On Tue, 2 Jun 2009, Karl Ove Hufthammer wrote: > Why is singlesided printing used? One suggestion which may or may not be autobiographical ;-): Double-sided printer is geographically distant + thesis has so many pages that turning sheets over manually to get double-sided output from a single-sided printer would really eat a _lot_ of time. -- Regards, Dan From will.adams at frycomm.com Tue Jun 2 18:06:31 2009 From: will.adams at frycomm.com (William Adams) Date: Tue, 2 Jun 2009 12:06:31 -0400 Subject: [texhax] Thesis layout regulations In-Reply-To: References: <4A202DF0.3040207@essex.ac.uk> <137890.62491.qm@web43412.mail.sp1.yahoo.com> Message-ID: <9C5F8DC8-5A43-4496-9D6F-A89C128A2BF0@frycomm.com> On Jun 2, 2009, at 11:31 AM, Dan Hatton wrote: > + thesis has so many pages that turning sheets over manually to > get double-sided output from a single-sided printer would > really eat a _lot_ of time. Also, duplexing on machines which aren't designed for it may damage the printer, spoil the toner cartridge or result in offsetting to following sheets, or all of the above. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From dorothy.jammins at yahoo.com Tue Jun 2 18:12:35 2009 From: dorothy.jammins at yahoo.com (Dorothy Jammins) Date: Tue, 2 Jun 2009 09:12:35 -0700 (PDT) Subject: [texhax] Thesis layout regulations In-Reply-To: References: <4A202DF0.3040207@essex.ac.uk> <137890.62491.qm@web43412.mail.sp1.yahoo.com> Message-ID: <721397.99944.qm@web43413.mail.sp1.yahoo.com> > Why is singlesided printing used? I think I read once an article that basically said that it is/was believed that singlesided, doublespaced, left-justified material is easier on the eyes/allows faster reading. In my opinion it was probably a matter of convenience followed by academic inertia. d From frainj at gmail.com Tue Jun 2 18:22:09 2009 From: frainj at gmail.com (John C Frain) Date: Tue, 2 Jun 2009 17:22:09 +0100 Subject: [texhax] LaTeX In-Reply-To: References: Message-ID: Download the file ProTeXt-2.2-071608.exe or a later version with a similar name. it is a large file. Save to a temporary director and run then file. This is a self extracting archive and will create a subdirectory called protext-2.2. (As the file is large this may take some time). In that subdirectory run setup.exe. Confirm the installation language and select next. This will open the installation pdf and you can print it from this window. You will also find a copy in the subdirectory ....\ProTeXt-2.2\Install. Best Regards John 2009/6/2 mohammad al-malki : > >> Download Protext, run the setup file which displays a pdf file which >> gives detailed instructions on how to install MiKTeX, TeXnicCenter, >> Ghostscript, and GSview. > ----------------------------------------------------------------------- > how I get this pdf? > > ________________________________ > ???? ???? ??? ????? ?? Windows Live? Photos. ??? ?????? -- John C Frain Economics Department Trinity College Dublin Dublin 2 Ireland www.tcd.ie/Economics/staff/frainj/home.html mailto:frainj at tcd.ie mailto:frainj at gmail.com From padawan12 at obiwannabe.co.uk Tue Jun 2 18:52:36 2009 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Tue, 2 Jun 2009 17:52:36 +0100 Subject: [texhax] Thesis layout regulations In-Reply-To: <721397.99944.qm@web43413.mail.sp1.yahoo.com> References: <4A202DF0.3040207@essex.ac.uk> <137890.62491.qm@web43412.mail.sp1.yahoo.com> <721397.99944.qm@web43413.mail.sp1.yahoo.com> Message-ID: <20090602175236.02dff51d.padawan12@obiwannabe.co.uk> If you are reading material with the task of marking it then double spaced, single sided, allows for comments. I believe single sided is preferred for prepress machine processing (copying, printing) to avoid recto/verso misalignment. So this applies if your thesis is likely to be bound/published at some later date. On Tue, 2 Jun 2009 09:12:35 -0700 (PDT) Dorothy Jammins wrote: > > > Why is singlesided printing used? > > > I think I read once an article that basically said that it is/was believed that singlesided, doublespaced, left-justified material is easier on the eyes/allows faster reading. > > In my opinion it was probably a matter of convenience followed by academic inertia. > > d > > > > > > _______________________________________________ > 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 -- Use the source From joelcsalomon at gmail.com Tue Jun 2 20:35:47 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Tue, 02 Jun 2009 14:35:47 -0400 Subject: [texhax] Theorems with Hanging Indent (ntheorem or amsthm or DIY) In-Reply-To: References: <128fd5b4-78e2-49b8-9350-bd9bfb4738a4@n1g2000prb.googlegroups.com> Message-ID: <4A257103.70309@gmail.com> Neighbors, I?ve been trying to get ntheorem to format my examples with hanging indents, and after some experimentation & googling have come to the conclusion that this might be impossible. (See, e.g., .) On the other hand, perhaps some clever use of hangparas within amsthm?s or ntheorem?s \newtheoremstyle might work. On the gripping hand, I?m left with trying a DIY theorem-like environment. Any suggestions for me? ?Joel Salomon From jbbrus at comcast.net Tue Jun 2 18:32:17 2009 From: jbbrus at comcast.net (Bernice Barnett) Date: Tue, 02 Jun 2009 10:32:17 -0600 Subject: [texhax] Thesis layout regulations In-Reply-To: References: <4A202DF0.3040207@essex.ac.uk> <137890.62491.qm@web43412.mail.sp1.yahoo.com> Message-ID: <4A255411.6010801@comcast.net> Dan Hatton wrote: > On Tue, 2 Jun 2009, Karl Ove Hufthammer wrote: > >> Why is singlesided printing used? > > One suggestion which may or may not be autobiographical ;-): > > Double-sided printer is geographically distant > + thesis has so many pages that turning sheets over manually to > get double-sided output from a single-sided printer would > really eat a _lot_ of time. I believe that unusual thesis printing rules originated from the idea that someone might actually read the thesis. In that case the reader might want to cover the pages with notes and leaving lots of white space was helpful. It's the same idea with copies for refereeing when we used to do it on paper. With the huge increase in the yearly number of thesis, the resulting lowering of quality, the use of digital distribution methods, and the fact that most thesis are not read by anyone other than the committee (and many members avoid reading where possible) the rules now seem outdated. But so are a lot of traditions both within academia and without. -- Jeff Barnett From vafa at users.berlios.de Wed Jun 3 06:04:55 2009 From: vafa at users.berlios.de (Vafa Khalighi) Date: Wed, 3 Jun 2009 14:04:55 +1000 Subject: [texhax] Fwd: ledmac, ledpar, ledarab --- new package maintainer In-Reply-To: <4A25C9E4.6020809@earthlink.net> References: <4A25C9E4.6020809@earthlink.net> Message-ID: <7ac5ed450906022104w12cd73bs106171124b9da82c@mail.gmail.com> ---------- Forwarded message ---------- From: peter wilson Date: Wed, Jun 3, 2009 at 10:55 AM Subject: ledmac, ledpar, ledarab --- new package maintainer To: "CTAN admin (Robin Fairbairns)" Cc: Vafa Khalighi , "Wilson, Peter" < herries.press at earthlink.net> Vafa Khalighi (vafa at users.berlios.de) has very kindly agreed to take over the maintenance of the ledmac, ledpar, and ledarab packages for typesetting critical editions. Please announce this. Thank you Peter W. -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at gigamonkeys.com Wed Jun 3 17:06:09 2009 From: peter at gigamonkeys.com (Peter Seibel) Date: Wed, 3 Jun 2009 08:06:09 -0700 Subject: [texhax] TrueType or OpenType fonts and microtypography? Message-ID: <40e4e7e50906030806v6ccd7addj8a26ff77b51c02d0@mail.gmail.com> [Apologies if you've seen this before; I sent this same query to the pdftex list a few days ago but have had no replies.] I'm typesetting a book but I may also need to let the publisher pick the fonts we're going to use. If they give me some arbitrary TrueType or OpenType fonts will I be able to convert them for use with pdfLaTeX in such a way that it will still be able to do: 1. Ligatures 2. Proper kerning 3. All the fancy stuff the microtype package does (esp. hanging punctuation) 4. Anything else I would care about if I knew enough to care. ? -Peter -- Peter Seibel http://www.codersatwork.com/ http://www.gigamonkeys.com/blog/ From mohamed.houssni at e-press.co.ma Thu Jun 4 13:04:30 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Thu, 04 Jun 2009 11:04:30 +0000 Subject: [texhax] two columns with vertical rule Message-ID: <4A27AA3E.3030108@e-press.co.ma> Dear list, Please is there a style except "multicol.sty" to separate 2 columns with a vertical rule in LaTeX. Thanks a lot for your help. Best regards ------------------- Dr. Mohamed Houssni From will.adams at frycomm.com Thu Jun 4 13:41:22 2009 From: will.adams at frycomm.com (William Adams) Date: Thu, 4 Jun 2009 07:41:22 -0400 Subject: [texhax] TrueType or OpenType fonts and microtypography? In-Reply-To: <40e4e7e50906030806v6ccd7addj8a26ff77b51c02d0@mail.gmail.com> References: <40e4e7e50906030806v6ccd7addj8a26ff77b51c02d0@mail.gmail.com> Message-ID: <6AEE16BE-70B9-49B5-A5CB-EC1F727E53A8@frycomm.com> On Jun 3, 2009, at 11:06 AM, Peter Seibel wrote: > I'm typesetting a book but I may also need to let the publisher pick > the fonts we're going to use. If they give me some arbitrary TrueType > or OpenType fonts will I be able to convert them for use with pdfLaTeX > in such a way that it will still be able to do: > > 1. Ligatures > 2. Proper kerning > 3. All the fancy stuff the microtype package does (esp. hanging > punctuation) > 4. Anything else I would care about if I knew enough to care. Yes, but it'd be better if you started w/ a Type 1 version w/ a normal font / expert font pair to avoid conversion issues IMO. To use an OpenType or TrueType font w/ pdftex so, for the traditional setup, you'll need to: 0. check and see if the font license allows for modification / extraction 1. convert it into Type 1 fonts (if it's opentype), setting the encoding appropriately for each font, for TrueType fonts you'll need to break it down into 8-bit chunks each w/ appropriate encodings 2. join all of those together into a virtual font, adding in 3. install all of the pieces into pdftex 1 is covered by FontForge, though you'll likely need to do a bit of manual work. 2 is covered by fontinst and related utilities --- excellent documentation on them in http://www.ctan.org/tex-archive/help/Catalogue/entries/fontinstallationguide.html and 3 is the standard updmap or equivalent utilities as covered in your tex installation local guide / documentation. There is a script for doing this sort of thing (though it uses different tools), but I've not used it: http://www.ece.ucdavis.edu/~jowens/code/otfinst/ I believe you'd find it much easier to use xetex or luatex though, since that wouldn't require fiddling w/ encodings &c. xetex would ``just work'', though since it doesn't have explicit hanging punctuation one would need to handle this via macros and active characters (see Peter Wilson's hanging package). luatex is still in beta, but may be workable for your project --- if you try it I'm sure folks on the luatex list will be glad to help out. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From prashantwaghm at gmail.com Thu Jun 4 05:41:52 2009 From: prashantwaghm at gmail.com (PRASHANT R WAGHMARE) Date: Wed, 3 Jun 2009 21:41:52 -0600 Subject: [texhax] Dowload Pstrick for MAc Message-ID: Hi I am using TexShop for mac, could you please guide for installing the Pstrick on MacOS Thanks Prashant -- Prashant R. Waghmare Research Scholar Department of Mechanical Engineering University of Alberta, Edmonton, Canada TG6 2G8 Phone: Office:7804929066 Residence: 7809895686 http://www.mece.ualberta.ca/mntl/people.html Try not to become a person of success but a person of value. -Albert Einstein -------------- next part -------------- An HTML attachment was scrubbed... URL: From joelcsalomon at gmail.com Thu Jun 4 18:59:45 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Thu, 04 Jun 2009 12:59:45 -0400 Subject: [texhax] Superscript ordinal indicators in dates? Message-ID: <4A27FD81.6070905@gmail.com> How can I get the date in my LaTeX article to display the ordinal indicator in superscript? E.g., July 4th, 1776 I?m using XeLaTeX, so I can manually get the effect I want via ?July 4\textsuperscript{th}, 1776?; I?d like to know how to get the effect automatically. Thanks, ?Joel Salomon From axel.retif at mac.com Thu Jun 4 21:28:06 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 04 Jun 2009 14:28:06 -0500 Subject: [texhax] Dowload Pstrick for MAc In-Reply-To: References: Message-ID: On 3 Jun, 2009, at 22:41, PRASHANT R WAGHMARE wrote: > Hi > > I am using TexShop for mac, > > could you please guide for installing the Pstrick on MacOS How did you install TeX? Which distribution did you use? Most likely, you already have PSTricks. Best, Axel From ekmath at asianetindia.com Fri Jun 5 01:42:52 2009 From: ekmath at asianetindia.com (E. Krishnan) Date: Fri, 5 Jun 2009 05:12:52 +0530 (IST) Subject: [texhax] Superscript ordinal indicators in dates? In-Reply-To: <4A27FD81.6070905@gmail.com> References: <4A27FD81.6070905@gmail.com> Message-ID: On Thu, 4 Jun 2009, Joel C. Salomon wrote: > How can I get the date in my LaTeX article to display the ordinal > indicator in superscript? E.g., July 4th, 1776 >............................... > I'd like to know how to get the effect automatically. Please try \def\mydate{\ifcase\day\or 1$^{\hbox{st}}$\or 2$^{\hbox{nd}}$\or 3$^{\hbox{rd}}$\or 4$^{\hbox{th}}$\or 5$^{\hbox{th}}$\or 6$^{\hbox{th}}$\or 7$^{\hbox{th}}$\or 8$^{\hbox{th}}$\or 9$^{\hbox{th}}$\or 10$^{\hbox{th}}$\or 11$^{\hbox{th}}$\or 12$^{\hbox{th}}$\or 13$^{\hbox{th}}$\or 14$^{\hbox{th}}$\or 15$^{\hbox{th}}$\or 16$^{\hbox{th}}$\or 17$^{\hbox{th}}$\or 18$^{\hbox{th}}$\or 19$^{\hbox{th}}$\or 20$^{\hbox{th}}$\or 21$^{\hbox{st}}$\or 22$^{\hbox{nd}}$\or 23$^{\hbox{rd}}$\or 24$^{\hbox{th}}$\or 25$^{\hbox{th}}$\or 26$^{\hbox{th}}$\or 27$^{\hbox{th}}$\or 28$^{\hbox{th}}$\or 29th$^{\hbox{\or}}$ 30$^{\hbox{th}}$\or 31$^{\hbox{st}}$\fi~\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\year} -- Krishnan From yannis.haralambous at telecom-bretagne.eu Fri Jun 5 09:31:48 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Fri, 5 Jun 2009 09:31:48 +0200 Subject: [texhax] Superscript ordinal indicators in dates? In-Reply-To: References: <4A27FD81.6070905@gmail.com> Message-ID: I would suggest not to use \hbox but \text instead (using the amstext package), so that you get the right font in the right size everywhere: \def\mydate{\ifcase\day\or 1$^{\text{st}}$\or 2$^{\text{nd}}$\or 3$^{\text{rd}}$\or 4$^{\text{th}}$\or 5$^{\text{th}}$\or 6$^{\text{th}}$\or 7$^{\text{th}}$\or 8$^{\text{th}}$\or 9$^{\text{th}}$\or 10$^{\text{th}}$\or 11$^{\text{th}}$\or 12$^{\text{th}}$\or 13$^{\text{th}}$\or 14$^{\text{th}}$\or 15$^{\text{th}}$\or 16$^{\text{th}}$\or 17$^{\text{th}}$\or 18$^{\text{th}}$\or 19$^{\text{th}}$\or 20$^{\text{th}}$\or 21$^{\text{st}}$\or 22$^{\text{nd}}$\or 23$^{\text{rd}}$\or 24$^{\text{th}}$\or 25$^{\text{th}}$\or 26$^{\text{th}}$\or 27$^{\text{th}}$\or 28$^{\text{th}}$\or 29th$^{\text{\or}}$ 30$^{\text{th}}$\or 31$^{\text{st}}$\fi~\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\year} Le 5 juin 09 ? 01:42, E. Krishnan a ?crit : > On Thu, 4 Jun 2009, Joel C. Salomon wrote: > >> How can I get the date in my LaTeX article to display the ordinal >> indicator in superscript? E.g., July 4th, 1776 >> ............................... >> I'd like to know how to get the effect automatically. > > Please try > > \def\mydate{\ifcase\day\or > 1$^{\hbox{st}}$\or 2$^{\hbox{nd}}$\or 3$^{\hbox{rd}}$\or > 4$^{\hbox{th}}$\or 5$^{\hbox{th}}$\or 6$^{\hbox{th}}$\or > 7$^{\hbox{th}}$\or 8$^{\hbox{th}}$\or 9$^{\hbox{th}}$\or > 10$^{\hbox{th}}$\or 11$^{\hbox{th}}$\or 12$^{\hbox{th}}$\or > 13$^{\hbox{th}}$\or 14$^{\hbox{th}}$\or 15$^{\hbox{th}}$\or > 16$^{\hbox{th}}$\or 17$^{\hbox{th}}$\or 18$^{\hbox{th}}$\or > 19$^{\hbox{th}}$\or 20$^{\hbox{th}}$\or 21$^{\hbox{st}}$\or > 22$^{\hbox{nd}}$\or 23$^{\hbox{rd}}$\or 24$^{\hbox{th}}$\or > 25$^{\hbox{th}}$\or 26$^{\hbox{th}}$\or 27$^{\hbox{th}}$\or > 28$^{\hbox{th}}$\or 29th$^{\hbox{\or}}$ 30$^{\hbox{th}}$\or > 31$^{\hbox{st}}$\fi~\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\year} > > > > > -- > Krishnan > _______________________________________________ > 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 > -- + -----------------------------------------------------------------------+ | Yannis Haralambous, Ph.D. yannis.haralambous at telecom- bretagne.eu | | Directeur d'?tudes http://omega.enstb.org/ yannis | | Tel. +33 (0)2.29.00.14.27 | | Fax +33 (0)2.29.00.12.82 | | D?partement Informatique | | T?l?com Bretagne | | Technop?le de Brest Iroise, CS 83818, 29238 Brest Cedex 3, France | | Coordonn?es Google-Earth : 48?21'31.57"N 4?34'16.76"W | + -----------------------------------------------------------------------+ ...pour distinguer l'ext?rieur d'un aquarium, mieux vaut n'?tre pas poisson ...the ball I threw while playing in the park has not yet reached the ground Es gab eine Zeit, wo ich nur ungern ?ber Schubert sprechen, nur N?chtens den B?umen und Sternen von ihm vorerz?hlen m?gen. -------------- next part -------------- A non-text attachment was scrubbed... Name: Yannis Haralambous.vcf Type: text/directory Size: 508 bytes Desc: not available URL: -------------- next part -------------- From uwe.lueck at web.de Fri Jun 5 10:00:52 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Fri, 05 Jun 2009 10:00:52 +0200 Subject: [texhax] Superscript ordinal indicators in dates? Message-ID: <1146327984@web.de> Yannis Haralambous schrieb am 05.06.2009 09:34:43: > I would suggest not to use \hbox but \text instead (using the amstext > package), so that you get the right font in the right size everywhere: 1. Why not even keep \textsuperscript in place of ^, as posted originally? "Joel C. Salomon" schrieb am 04.06.2009 19:03:27: > I'm using XeLaTeX, so I can manually get the effect I want via "July > 4\textsuperscript{th}, 1776"; I'd like to know how to get the effect > automatically. 2. Or type "ordinal" into the field for "Search the package descriptions" on http://ctan.tug.org/search.html there are several packages for ordinal numbers in dates. HTH -- Uwe. Yannis Haralambous schrieb am 05.06.2009 09:34:43: > I would suggest not to use \hbox but \text instead (using the amstext > package), so that you get the right font in the right size everywhere: > > \def\mydate{\ifcase\day\or > 1$^{\text{st}}$\or 2$^{\text{nd}}$\or 3$^{\text{rd}}$\or > 4$^{\text{th}}$\or 5$^{\text{th}}$\or 6$^{\text{th}}$\or > 7$^{\text{th}}$\or 8$^{\text{th}}$\or 9$^{\text{th}}$\or > 10$^{\text{th}}$\or 11$^{\text{th}}$\or 12$^{\text{th}}$\or > 13$^{\text{th}}$\or 14$^{\text{th}}$\or 15$^{\text{th}}$\or > 16$^{\text{th}}$\or 17$^{\text{th}}$\or 18$^{\text{th}}$\or > 19$^{\text{th}}$\or 20$^{\text{th}}$\or 21$^{\text{st}}$\or > 22$^{\text{nd}}$\or 23$^{\text{rd}}$\or 24$^{\text{th}}$\or > 25$^{\text{th}}$\or 26$^{\text{th}}$\or 27$^{\text{th}}$\or > 28$^{\text{th}}$\or 29th$^{\text{\or}}$ 30$^{\text{th}}$\or > 31$^{\text{st}}$\fi~\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\year} > > Le 5 juin 09 ? 01:42, E. Krishnan a ?crit : > > > On Thu, 4 Jun 2009, Joel C. Salomon wrote: > > > >> How can I get the date in my LaTeX article to display the ordinal > >> indicator in superscript? E.g., July 4th, 1776 > >> ............................... > >> I'd like to know how to get the effect automatically. > > > > Please try > > > > \def\mydate{\ifcase\day\or > > 1$^{\hbox{st}}$\or 2$^{\hbox{nd}}$\or 3$^{\hbox{rd}}$\or > > 4$^{\hbox{th}}$\or 5$^{\hbox{th}}$\or 6$^{\hbox{th}}$\or > > 7$^{\hbox{th}}$\or 8$^{\hbox{th}}$\or 9$^{\hbox{th}}$\or > > 10$^{\hbox{th}}$\or 11$^{\hbox{th}}$\or 12$^{\hbox{th}}$\or > > 13$^{\hbox{th}}$\or 14$^{\hbox{th}}$\or 15$^{\hbox{th}}$\or > > 16$^{\hbox{th}}$\or 17$^{\hbox{th}}$\or 18$^{\hbox{th}}$\or > > 19$^{\hbox{th}}$\or 20$^{\hbox{th}}$\or 21$^{\hbox{st}}$\or > > 22$^{\hbox{nd}}$\or 23$^{\hbox{rd}}$\or 24$^{\hbox{th}}$\or > > 25$^{\hbox{th}}$\or 26$^{\hbox{th}}$\or 27$^{\hbox{th}}$\or > > 28$^{\hbox{th}}$\or 29th$^{\hbox{\or}}$ 30$^{\hbox{th}}$\or > > 31$^{\hbox{st}}$\fi~\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\year} From asnd at triumf.ca Fri Jun 5 15:42:21 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 05 Jun 2009 06:42:21 -0700 Subject: [texhax] Superscript ordinal indicators in dates? In-Reply-To: <1146327984@web.de> References: <1146327984@web.de> Message-ID: Uwe Lueck writes: > 2. Or type "ordinal" into the field for "Search the package descriptions" on > > http://ctan.tug.org/search.html > > there are several packages for ordinal numbers in dates. Yes. For nth.sty the form is \usepackage[super]{nth} .. \nth{\day} -- Donald Arseneau asnd at triumf.ca From P.Taylor at Rhul.Ac.Uk Fri Jun 5 16:12:38 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Fri, 05 Jun 2009 15:12:38 +0100 Subject: [texhax] Superscript ordinal indicators in dates? In-Reply-To: References: <1146327984@web.de> Message-ID: <4A2927D6.3040800@Rhul.Ac.Uk> A not-entirely frivolous question : does it honour Babel language settings ? ** Phil. -------- Donald Arseneau wrote: > Uwe Lueck writes: > >> 2. Or type "ordinal" into the field for "Search the package descriptions" on >> >> http://ctan.tug.org/search.html >> >> there are several packages for ordinal numbers in dates. > > Yes. For nth.sty the form is > > \usepackage[super]{nth} > .. > \nth{\day} > > > From joelcsalomon at gmail.com Fri Jun 5 18:25:00 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Fri, 5 Jun 2009 12:25:00 -0400 Subject: [texhax] Superscript ordinal indicators in dates? In-Reply-To: References: <1146327984@web.de> Message-ID: <7871fcf50906050925h6a2311e1qd6e20e0df21a3de0@mail.gmail.com> 2009/6/4 E. Krishnan : > On Thu, 4 Jun 2009, Joel C. Salomon wrote: >> How can I get the date in my LaTeX article to display the ordinal >> indicator in superscript? E.g., July 4th, 1776 > > Please try > > \def\mydate{\ifcase\day\or > 1$^{\hbox{st}}$\or 2$^{\hbox{nd}}$\or 3$^{\hbox{rd}}$\or > 31$^{\hbox{st}}$\fi~\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\year} I moved the \ifcase\month to the front and replaced the $^{hbox{?}}$ with \textsuperscript{?}, then added \date{\mydate} ?that works OK. So I followed Uwe & Donald's advice, and kept an eye out for how the packages format the raised ordinals. Since the nth package uses \textsuperscript rather than playing math games, I thought to say: \usepackage[super]{nth} \def\mydate{\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~\nth{day},\space \number\year} \date{\mydate} But that?s not working?I get a "missing number" from \maketitle. What am I doing wrong? Also, I?d like to hook in into LaTeX date formatting so that the \today command will be formatted as I?d prefer. ?Joel From joelcsalomon at gmail.com Fri Jun 5 18:37:55 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Fri, 5 Jun 2009 12:37:55 -0400 Subject: [texhax] Superscript ordinal indicators in dates? In-Reply-To: <4A2927D6.3040800@Rhul.Ac.Uk> References: <1146327984@web.de> <4A2927D6.3040800@Rhul.Ac.Uk> Message-ID: <7871fcf50906050937u64710438re39d5069221ae699@mail.gmail.com> On Fri, Jun 5, 2009 at 10:12 AM, Philip TAYLOR (Ret'd) wrote: > Donald Arseneau wrote: >> Yes. For nth.sty the form is >> >> \usepackage[super]{nth} >> .. >> \nth{\day} > > A not-entirely frivolous question : does it honour Babel language settings ? Not an easy task, especially for Slavic languages: see "Ordinal Numbers in Various Languages" on Typophile at . Some languages have different suffixes for singular & plural, or for gender, or for case(!). In the restricted sense of dates, one hopes that all days of the month have the same number & gender, but case might still be an issue. ?Joel From joelcsalomon at gmail.com Fri Jun 5 19:11:54 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Fri, 5 Jun 2009 13:11:54 -0400 Subject: [texhax] Superscript ordinal indicators in dates? In-Reply-To: <7871fcf50906050925h6a2311e1qd6e20e0df21a3de0@mail.gmail.com> References: <1146327984@web.de> <7871fcf50906050925h6a2311e1qd6e20e0df21a3de0@mail.gmail.com> Message-ID: <7871fcf50906051011y62af9efrd746a9be9e15e5e2@mail.gmail.com> 2009/6/5 Joel C. Salomon : > So I followed Uwe & Donald's advice, and kept an eye out for how the > packages format the raised ordinals. Since the nth package uses > \textsuperscript rather than playing math games, I thought to say: > ? ? ? ?\usepackage[super]{nth} > ? ? ? ?\def\mydate{\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~\nth{day},\space > \number\year} > ? ? ? ?\date{\mydate} > But that?s not working?I get a "missing number" from \maketitle. ?What > am I doing wrong? Never mind; I noticed I was using \nth{day} instead of \nth{\day}; fixed & now it works. > Also, I?d like to hook in into LaTeX date formatting so that the > \today command will be formatted as I?d prefer. And I found datetime.sty. All is well. Thanks for the help, ?Joel From asnd at triumf.ca Fri Jun 5 21:40:25 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 05 Jun 2009 12:40:25 -0700 Subject: [texhax] Superscript ordinal indicators in dates? In-Reply-To: <4A2927D6.3040800@Rhul.Ac.Uk> References: <1146327984@web.de> <4A2927D6.3040800@Rhul.Ac.Uk> Message-ID: "Philip TAYLOR (Ret'd)" writes: > A not-entirely frivolous question : does > it [nth.sty] honour Babel language settings ? No. It is hat it is and makes no claims to cover multiple languages. (The CTAN catalogue description correctly lists the languages of various packages.) -- Donald Arseneau asnd at triumf.ca From Ravi.Menon at genmills.com Sun Jun 7 02:26:06 2009 From: Ravi.Menon at genmills.com (Ravi Menon) Date: Sat, 6 Jun 2009 19:26:06 -0500 Subject: [texhax] longtable/xcolor interaction Message-ID: <7D6254F86707A7499A69E548802CD7C54A15212A0C@MGOEXMBXP1.genmills.com> Philip, Just wanted to thank you for your solution to the xcolor/longtable issue. I have been beating my head to figure out why it doesn't work, and came across your article (written in 2005!) Not sure if you are still at this e-mail address, but just thought I'd drop a thank you. Regards, Ravi [X] Ravi Menon, PhD The Bell Institute of Health & Nutrition - General Mills Inc. phone: 763.764.5138 | cell: 763.258.3174 | fax: 763.764.3262 | ravi.menon at genmills.com "If I don't know I don't know, I think I know" - R. D. Laing -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at wexfordpress.com Sun Jun 7 15:19:24 2009 From: john at wexfordpress.com (John Culleton) Date: Sun, 7 Jun 2009 09:19:24 -0400 Subject: [texhax] large forward slash In-Reply-To: References: Message-ID: <200906070919.24339.john@wexfordpress.com> On Saturday 07 February 2009 16:48:16 Zbigniew Nitecki wrote: > I am trying to write a fraction whose numerator and denominator are > both fractions; for clarity, I would like the global fraction to > be constructed in the a/b style (that is, numerator and denominator > separated by a forward slash). However, the slash produced by "/" > is too small. Is there a way to create a larger version? > > Zbigniew Nitecki > Department of Mathematics > Tufts University > Medford, MA 02155 You could try $a/b$ which might give you a slash comparable to the size of a and b. That is what I do. -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html From tonightsthenight at gmail.com Sun Jun 7 21:20:16 2009 From: tonightsthenight at gmail.com (Sam Albers) Date: Sun, 7 Jun 2009 12:20:16 -0700 Subject: [texhax] Modifying LaTeX tables Message-ID: Hello all, I have a general methodology question concerning tables in LaTeX and I was just wondering what the collective wisdom of the list thought. Currently I am making tables using a spreadsheet then saving the file as a .csv file, replacing commas with an ampersand and then formatting the table to include in a .tex file. The problem I am running into is that if I want to modify the table after this process (say add a column) I have to start from scratch at the spreadsheet level which can be fairly time consuming. I just wondering what other people do to make this more efficient. That is, how do people go about making tables and modifying then after some edits have been made. Anyways, thanks in advance! Sam -- ***************************************************** Sam Albers Geography Program University of Northern British Columbia 3333 University Way Prince George, British Columbia Canada, V2N 4Z9 phone: 250 960-6777 ***************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From reinhard.kotucha at web.de Sun Jun 7 22:16:19 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 7 Jun 2009 22:16:19 +0200 Subject: [texhax] Modifying LaTeX tables In-Reply-To: References: Message-ID: <18988.8211.345717.275155@zaphod.ms25.net> On 7 June 2009 Sam Albers wrote: > Hello all, > > I have a general methodology question concerning tables in LaTeX and I was > just wondering what the collective wisdom of the list thought. > > Currently I am making tables using a spreadsheet then saving the file as a > .csv file, replacing commas with an ampersand and then formatting the table > to include in a .tex file. The problem I am running into is that if I want > to modify the table after this process (say add a column) I have to start > from scratch at the spreadsheet level which can be fairly time consuming. I > just wondering what other people do to make this more efficient. That is, > how do people go about making tables and modifying then after some edits > have been made. I'm not using spreadsheets, but I often have the need to do something more than once. I usually write a little Perl script, but every other scripting language is fine as well. There is also an experimental package on CTAN, but I don't know anything about it: http://dante.ctan.org/CTAN/macros/latex/exptl/delimtxt/ 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 padawan12 at obiwannabe.co.uk Sun Jun 7 23:19:55 2009 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Sun, 7 Jun 2009 22:19:55 +0100 Subject: [texhax] Modifying LaTeX tables In-Reply-To: <18988.8211.345717.275155@zaphod.ms25.net> References: <18988.8211.345717.275155@zaphod.ms25.net> Message-ID: <20090607221955.6c8a8d15.padawan12@obiwannabe.co.uk> Scripts are a great answer. For my textbook I eventually developed a build script (Make or Perl are useful component choices) to process every source, regenerating data if something changed. This part is essential to avoid long build times that revise data even if it hasn't changed. The idea is to keep the authorative sources of data at the root of the build process and eliminate every manual step you can. Many popular packages like Matlab, Octave, R can export latex table forms with a suitable function/plugin. If you're building a large document, thesis, report, or textbook then the time spent writing a little script is quickly repaid. Exporters http://lists.debian.org/debian-devel/2009/02/msg00425.html http://www.mathworks.com/matlabcentral/fileexchange/authors/30876 Make http://www.cs.indiana.edu/classes/c304/Makefiles.html http://www.manpagez.com/man/1/make/ http://www.cs.duke.edu/~ola/courses/programming/Makefiles/Makefiles.html Use Make with LaTeX http://www.cs.ubc.ca/~bsd/tex/ http://web.mit.edu/~jcrost/www/latexmake.html Sed, Awk http://www.grymoire.com/Unix/Sed.html#uh-0 http://www.gnu.org/software/sed/manual/sed.html http://www.vectorsite.net/tsawk.html http://www.cs.hmc.edu/tech_docs/qref/awk.html May be useful to you http://www.lafferty.ca/software/pbook/ On Sun, 7 Jun 2009 22:16:19 +0200 Reinhard Kotucha wrote: > On 7 June 2009 Sam Albers wrote: > > > Hello all, > > > > I have a general methodology question concerning tables in LaTeX and I was > > just wondering what the collective wisdom of the list thought. > > > > Currently I am making tables using a spreadsheet then saving the file as a > > .csv file, replacing commas with an ampersand and then formatting the table > > to include in a .tex file. The problem I am running into is that if I want > > to modify the table after this process (say add a column) I have to start > > from scratch at the spreadsheet level which can be fairly time consuming. I > > just wondering what other people do to make this more efficient. That is, > > how do people go about making tables and modifying then after some edits > > have been made. > > I'm not using spreadsheets, but I often have the need to do something > more than once. I usually write a little Perl script, but every other > scripting language is fine as well. > > There is also an experimental package on CTAN, but I don't know > anything about it: > > http://dante.ctan.org/CTAN/macros/latex/exptl/delimtxt/ > > 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. > ---------------------------------------------------------------------------- > _______________________________________________ > 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 -- Use the source From joelcsalomon at gmail.com Mon Jun 8 03:11:30 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Sun, 07 Jun 2009 21:11:30 -0400 Subject: [texhax] CrossTeX under Windows In-Reply-To: <7871fcf50906071801q53b5c6c1j3ed448770a62b597@mail.gmail.com> References: <7871fcf50906071801q53b5c6c1j3ed448770a62b597@mail.gmail.com> Message-ID: <4A2C6542.9040406@gmail.com> Folks, Two years back, when CrossTeX 0.5 was announced, I managed to get it installed under Windows. I?m now trying again, with CrossTeX 0.6, but am running into some problems, possibly Python-related. Has anyone else on the list gotten either version of CrossTeX working under Windows that might help me trouble-shoot? ?Joel Salomon From tonightsthenight at gmail.com Mon Jun 8 05:01:56 2009 From: tonightsthenight at gmail.com (Sam Albers) Date: Sun, 7 Jun 2009 20:01:56 -0700 Subject: [texhax] Modifying LaTeX tables In-Reply-To: <20090607221955.6c8a8d15.padawan12@obiwannabe.co.uk> References: <18988.8211.345717.275155@zaphod.ms25.net> <20090607221955.6c8a8d15.padawan12@obiwannabe.co.uk> Message-ID: Thanks Andy. This was exactly what I was looking for. On Sun, Jun 7, 2009 at 2:19 PM, Andy Farnell wrote: > > > Scripts are a great answer. For my textbook I eventually > developed a build script (Make or Perl are useful component choices) > to process every source, regenerating data if something changed. > This part is essential to avoid long build times that revise > data even if it hasn't changed. > > The idea is to keep the authorative sources of data at the root of > the build process and eliminate every manual step you can. > > Many popular packages like Matlab, Octave, R > can export latex table forms with a suitable function/plugin. > > If you're building a large document, thesis, report, or textbook > then the time spent writing a little script is quickly repaid. > > Exporters > > http://lists.debian.org/debian-devel/2009/02/msg00425.html > http://www.mathworks.com/matlabcentral/fileexchange/authors/30876 > > Make > http://www.cs.indiana.edu/classes/c304/Makefiles.html > http://www.manpagez.com/man/1/make/ > http://www.cs.duke.edu/~ola/courses/programming/Makefiles/Makefiles.html > > Use Make with LaTeX > http://www.cs.ubc.ca/~bsd/tex/ > http://web.mit.edu/~jcrost/www/latexmake.html > > Sed, Awk > http://www.grymoire.com/Unix/Sed.html#uh-0 > http://www.gnu.org/software/sed/manual/sed.html > http://www.vectorsite.net/tsawk.html > http://www.cs.hmc.edu/tech_docs/qref/awk.html > > May be useful to you > http://www.lafferty.ca/software/pbook/ > > > > On Sun, 7 Jun 2009 22:16:19 +0200 > Reinhard Kotucha wrote: > > > On 7 June 2009 Sam Albers wrote: > > > > > Hello all, > > > > > > I have a general methodology question concerning tables in LaTeX and I > was > > > just wondering what the collective wisdom of the list thought. > > > > > > Currently I am making tables using a spreadsheet then saving the file > as a > > > .csv file, replacing commas with an ampersand and then formatting the > table > > > to include in a .tex file. The problem I am running into is that if I > want > > > to modify the table after this process (say add a column) I have to > start > > > from scratch at the spreadsheet level which can be fairly time > consuming. I > > > just wondering what other people do to make this more efficient. That > is, > > > how do people go about making tables and modifying then after some > edits > > > have been made. > > > > I'm not using spreadsheets, but I often have the need to do something > > more than once. I usually write a little Perl script, but every other > > scripting language is fine as well. > > > > There is also an experimental package on CTAN, but I don't know > > anything about it: > > > > http://dante.ctan.org/CTAN/macros/latex/exptl/delimtxt/ > > > > 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. > > > ---------------------------------------------------------------------------- > > _______________________________________________ > > 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 > > > -- > Use the source > _______________________________________________ > 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 > -- ***************************************************** Sam Albers Geography Program University of Northern British Columbia 3333 University Way Prince George, British Columbia Canada, V2N 4Z9 phone: 250 960-6777 ***************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Mon Jun 8 06:12:49 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 07 Jun 2009 23:12:49 -0500 Subject: [texhax] large forward slash In-Reply-To: <200906070919.24339.john@wexfordpress.com> References: <200906070919.24339.john@wexfordpress.com> Message-ID: On 7 Jun, 2009, at 08:19, John Culleton wrote: > On Saturday 07 February 2009 16:48:16 Zbigniew Nitecki wrote: >> I am trying to write a fraction whose numerator and denominator are >> both fractions; for clarity, I would like the global fraction to >> be constructed in the a/b style (that is, numerator and denominator >> separated by a forward slash). However, the slash produced by "/" >> is too small. Is there a way to create a larger version? >> >> Zbigniew Nitecki >> Department of Mathematics >> Tufts University >> Medford, MA 02155 > > You could try > $a/b$ > which might give you a slash comparable to the size of a and b. That > is what I do. Reading this, I recalled a Ross Moore reply to the TeX on Mac OS X mailing list, which you can see here (yes, 2004): http://tug.org/pipermail/macostex-archives/2004-April/005417.html Crudely adapting his code, one can construct something like this: \documentclass[11pt]{article} \newcommand{\fracoffrac}[2]{\mathchoice {\raise.25ex\hbox{$#1$}\hbox{\large$\mkern-2mu/\mkern-2mu$}\lower. 25ex\hbox{$#2$}}% {\raise.25ex\hbox{\small$#1$}\hbox{$\large\mkern-1mu/\mkern-2mu$} \lower.25ex\hbox{\small$#2$}}% {\raise.15ex\hbox{\small$\scriptstyle#1$}/\lower.15ex\hbox{\small$ \scriptstyle#2$}}% {\raise.1ex\hbox{\small$\scriptscriptstyle#1$}/\lower.1ex\hbox{\small $\scriptscriptstyle#2$}}% } \begin{document} \[ \fracoffrac{\frac{1}{2}}{\frac{3}{4}} \] In text mode: $\fracoffrac{\frac{1}{2}}{\frac{3}{4}}$, and some more text. \end{document} Best, Axel From s.schwartz at imperial.ac.uk Mon Jun 8 10:51:04 2009 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Mon, 08 Jun 2009 09:51:04 +0100 Subject: [texhax] Modifying LaTeX tables In-Reply-To: References: Message-ID: <1244451064.4641.6.camel@sony-sjs.sp.ph.ic.ac.uk> I use the gnome office spreadsheet application, gnumeric, for this. http://projects.gnome.org/gnumeric/ It reads/writes excel files and is extremely compatible with it in terms of look&feel and functionality. It exports quite good latex tables, that can be latex'ed standalone if you wish. Or if you cut'n'paste the preamble into your main tex source, you can \input the file without touching it. Then if you make changes and re-export it (to a file of the same name), it will obviously update for you. There's a windows version, but I run it on a linux box. HTH Steve On Sun, 2009-06-07 at 20:20 +0100, Sam Albers wrote: > Hello all, > > I have a general methodology question concerning tables in LaTeX and I > was just wondering what the collective wisdom of the list thought. > > Currently I am making tables using a spreadsheet then saving the file > as a .csv file, replacing commas with an ampersand and then formatting > the table to include in a .tex file. The problem I am running into is > that if I want to modify the table after this process (say add a > column) I have to start from scratch at the spreadsheet level which > can be fairly time consuming. I just wondering what other people do to > make this more efficient. That is, how do people go about making > tables and modifying then after some edits have been made. > > Anyways, thanks in advance! > > Sam > -- > ***************************************************** > Sam Albers > Geography Program > University of Northern British Columbia > 3333 University Way > Prince George, British Columbia > Canada, V2N 4Z9 > phone: 250 960-6777 > ***************************************************** -- +-------------------------------------------------------------------+ 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 news3 at nililand.de Mon Jun 8 11:29:39 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Mon, 8 Jun 2009 11:29:39 +0200 Subject: [texhax] Modifying LaTeX tables References: Message-ID: <1ml85qyywalg$.dlg@nililand.de> Am Sun, 7 Jun 2009 12:20:16 -0700 schrieb Sam Albers: > I have a general methodology question concerning tables in LaTeX and I was > just wondering what the collective wisdom of the list thought. > > Currently I am making tables using a spreadsheet then saving the file as a > .csv file, replacing commas with an ampersand and then formatting the table > to include in a .tex file. The problem I am running into is that if I want > to modify the table after this process (say add a column) I have to start > from scratch at the spreadsheet level which can be fairly time consuming. I > just wondering what other people do to make this more efficient. That is, > how do people go about making tables and modifying then after some edits > have been made. You can also add tex code to the spreadsheet directly. Either in (hiddens) columns and rows or as formatting instructions. -- Ulrike Fischer From n.talbot at uea.ac.uk Mon Jun 8 12:16:33 2009 From: n.talbot at uea.ac.uk (Dr Nicola L C Talbot) Date: Mon, 08 Jun 2009 11:16:33 +0100 Subject: [texhax] Modifying LaTeX tables In-Reply-To: References: Message-ID: <4A2CE501.4090506@uea.ac.uk> Sam Albers wrote: > I have a general methodology question concerning tables in LaTeX and I was > just wondering what the collective wisdom of the list thought. > > Currently I am making tables using a spreadsheet then saving the file as a > .csv file, replacing commas with an ampersand and then formatting the table > to include in a .tex file. The problem I am running into is that if I want > to modify the table after this process (say add a column) I have to start > from scratch at the spreadsheet level which can be fairly time consuming. I > just wondering what other people do to make this more efficient. That is, > how do people go about making tables and modifying then after some edits > have been made. You could try the datatool package. It can load data from csv files into a database, and you can then either iterate through the database or place it in a tabular/longtable. Regards Nicola Talbot -- Dr Nicola Talbot http://theoval.cmp.uea.ac.uk/~nlct/ From jlparish at charter.net Wed Jun 10 04:11:42 2009 From: jlparish at charter.net (Jeff Parish) Date: Tue, 9 Jun 2009 22:11:42 -0400 Subject: [texhax] apostrophe in Latex Message-ID: <20090609221142.1564647564.jlparish@charter.net> hi i have used Tex and Latex for years for math papers i now want to use it to submit a book manuscript and am having troubles with apostrophes and double quotes i have MikTex and none of the fonts, i have looked at so far, have an apostrophe i have searched the web and get the impression this is not easily done can you help me thank you jeff From philip.ratcliffe at fastwebnet.it Wed Jun 10 15:11:56 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Wed, 10 Jun 2009 15:11:56 +0200 Subject: [texhax] apostrophe in Latex In-Reply-To: <20090609221142.1564647564.jlparish@charter.net> Message-ID: <282F43A68B0A4B3D91DC1CB7ADBF9ACD@PGR1> > i have used Tex and Latex for years for math papers > i now want to use it to submit a book manuscript and am > having troubles with apostrophes and double quotes > i have MikTex and none of the fonts, i have looked at so > far, have an apostrophe I take it that you mean they are missing from the math fonts. If so does this help? \documentclass{article} \usepackage{amsmath} \begin{document} $a\mbox{'}$ $a\text{'}$ % requires amsmath \end{document} If not, please be more explicit. Cheers, Phil From ctz001 at email.mot.com Wed Jun 10 18:01:21 2009 From: ctz001 at email.mot.com (T Ziomek) Date: Wed, 10 Jun 2009 14:01:21 -0200 Subject: [texhax] 'verbatim' inside 'raisebox'? Message-ID: <20090610160121.GQ21609@email.mot.com> I need to put pre-formatted text (ala HTML
 or ) within
a 'raisebox'.  AFAICT the Tex way to do this is via 'verbatim'
(though I'd welcome alternative suggestions).  But Tex (specific-
ally, pdfeTeX, Version 3.141592-1.21a-2.2) fails on the 2nd clos-
ing '}'.

My simplest test case:
  \documentclass{article}
  \begin{document}
  \raisebox
     {-1.5 cm}
     {
        \begin{verbatim}
           Some text
        \end{verbatim}
     }
  \end{document}

Output:
  % latex t2.tex
  This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
  entering extended mode
  (./t2.tex
  LaTeX2e <2003/12/01>
  Babel  and hyphenation patterns for american, french, german,
  ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech,
  danish, dutch, esperanto, e stonian, finnish, greek, icelandic,
  irish, italian, latin, magyar, norsk, polis h, portuges,
  romanian, russian, serbian, slovak, slovene, spanish, swedish,
  tur kish, ukrainian, nohyphenation, loaded.
  (/usr/share/texmf/tex/latex/base/article.cls
  Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
  (/usr/share/texmf/tex/latex/base/size10.clo))
  No file t2.aux.
  
  ! LaTeX Error: Something's wrong--perhaps a missing \item.
  
  See the LaTeX manual or LaTeX Companion for explanation.
  Type  H   for immediate help.
   ...                                              
                                                    
  l.9    }
           
  ? 


I see the same issue if I include "\usepackage{verbatim}".

Any suggestions?  Thanks,
Tom


I don't think my larger use case matters, but just in case:  I'm using
the message sequence chart package from
.  Some of
my MSC message flows require formatted text, and 'raisebox' so the
message line/arrow doesn't overlap the text, so it's on a '\mess' that
I'm trying to use 'raisebox' and within that 'verbatim'.
-- 
  /"\  ASCII Ribbon Campaign   |
  \ /                          |   Email to user 'CTZ001'
   X        Against HTML       |             at 'email.mot.com'
  / \     in e-mail & news     |

From MKANDIL at imf.org  Wed Jun 10 19:35:28 2009
From: MKANDIL at imf.org (Kandil, Magda)
Date: Wed, 10 Jun 2009 13:35:28 -0400
Subject: [texhax] Question
Message-ID: <4F3198DBB585C24EB362004251C22C5506D46B24@MLS2WN01P.WAS.INT.IMF.ORG>

Hello, 

I have been using Tex Live 7 for sometime. My company is in the process
of switching to a Vesta Operating system.

I am hoping that the version of the software I currently own is
compatible to the new operating system and would appreciate your
confirmation.

Best, Magda 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From tomfool at as220.org  Thu Jun 11 05:30:17 2009
From: tomfool at as220.org (tom sgouros)
Date: Wed, 10 Jun 2009 23:30:17 -0400
Subject: [texhax] 'verbatim' inside 'raisebox'?
In-Reply-To: <20090610160121.GQ21609@email.mot.com> 
References: <20090610160121.GQ21609@email.mot.com>
Message-ID: <5237.1244691017@as220.org>


Tom:

The short answer is that nothing involving verbatim is simple, because
verbatim sneaks around all the other rules.  I remember there are some
tricks to getting verbatim text into a box, but I don't remember what
they are, though I think they involve some inside hooks into the
verbatim package.  

However poor my memory, I did once know this in order to modify a
package to put verbatim text in a box, and apparently I wrote docstrip
comments in a dtx file to explain it all.  You can get the files at
http://sgouros.com/vcode.dtx and http://sgouros.com/vcode.ins.

Hope this helps, 

 -Tom


T Ziomek  wrote:

> I need to put pre-formatted text (ala HTML 
 or ) within
> a 'raisebox'.  AFAICT the Tex way to do this is via 'verbatim'
> (though I'd welcome alternative suggestions).  But Tex (specific-
> ally, pdfeTeX, Version 3.141592-1.21a-2.2) fails on the 2nd clos-
> ing '}'.
> 
> My simplest test case:
>   \documentclass{article}
>   \begin{document}
>   \raisebox
>      {-1.5 cm}
>      {
>         \begin{verbatim}
>            Some text
>         \end{verbatim}
>      }
>   \end{document}
> 
> Output:
>   % latex t2.tex
>   This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
>   entering extended mode
>   (./t2.tex
>   LaTeX2e <2003/12/01>
>   Babel  and hyphenation patterns for american, french, german,
>   ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech,
>   danish, dutch, esperanto, e stonian, finnish, greek, icelandic,
>   irish, italian, latin, magyar, norsk, polis h, portuges,
>   romanian, russian, serbian, slovak, slovene, spanish, swedish,
>   tur kish, ukrainian, nohyphenation, loaded.
>   (/usr/share/texmf/tex/latex/base/article.cls
>   Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
>   (/usr/share/texmf/tex/latex/base/size10.clo))
>   No file t2.aux.
>   
>   ! LaTeX Error: Something's wrong--perhaps a missing \item.
>   
>   See the LaTeX manual or LaTeX Companion for explanation.
>   Type  H   for immediate help.
>    ...                                              
>                                                     
>   l.9    }
>            
>   ? 
> 
> 
> I see the same issue if I include "\usepackage{verbatim}".
> 
> Any suggestions?  Thanks,
> Tom
> 
> 
> I don't think my larger use case matters, but just in case:  I'm using
> the message sequence chart package from
> .  Some of
> my MSC message flows require formatted text, and 'raisebox' so the
> message line/arrow doesn't overlap the text, so it's on a '\mess' that
> I'm trying to use 'raisebox' and within that 'verbatim'.
> -- 
>   /"\  ASCII Ribbon Campaign   |
>   \ /                          |   Email to user 'CTZ001'
>    X        Against HTML       |             at 'email.mot.com'
>   / \     in e-mail & news     |
> _______________________________________________
> 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
> 


-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net

From joseph.wright at morningstar2.co.uk  Thu Jun 11 07:51:40 2009
From: joseph.wright at morningstar2.co.uk (Joseph Wright)
Date: Thu, 11 Jun 2009 06:51:40 +0100
Subject: [texhax] Question
In-Reply-To: <4F3198DBB585C24EB362004251C22C5506D46B24@MLS2WN01P.WAS.INT.IMF.ORG>
References: <4F3198DBB585C24EB362004251C22C5506D46B24@MLS2WN01P.WAS.INT.IMF.ORG>
Message-ID: <4A309B6C.3070708@morningstar2.co.uk>

Kandil, Magda wrote:
> Hello, 
> 
> I have been using Tex Live 7 for sometime. My company is in the process
> of switching to a Vesta Operating system.
> 
> I am hoping that the version of the software I currently own is
> compatible to the new operating system and would appreciate your
> confirmation.
> 
> Best, Magda 

Hello Magda,

Either the current TeX Live, TeX Live 2008 (www.tug.org/texlive) or
MiKTeX (www.miktex.org) should work fine on Vista.
-- 
Joseph Wright

From uwe.lueck at web.de  Thu Jun 11 08:39:46 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Thu, 11 Jun 2009 08:39:46 +0200
Subject: [texhax] 'verbatim' inside 'raisebox'?
Message-ID: <1150002926@web.de>

It is well known that verbatim environments are difficult ... 

    http://mirror.ctan.org/macros/latex/contrib/fancybox/fancybox.pdf

discusses this on pp. 18ff. and offers some solutions. 

However, for \raisebox with only *short* (part of line) verbatim text the problem may be much easier than with listings that verbatim etc. are made for: 

    \newsavebox{\mybox}
    \begin{lrbox}{\mybox}
    \verb|\stuff|
    \end{lrbox}
    A\raisebox{1ex}{\usebox{\mybox}} B

HTH -- Uwe. 

T Ziomek  schrieb am 11.06.2009 05:06:30:
> I need to put pre-formatted text (ala HTML 
 or ) within
> a 'raisebox'.  AFAICT the Tex way to do this is via 'verbatim'
> (though I'd welcome alternative suggestions).  But Tex (specific-
> ally, pdfeTeX, Version 3.141592-1.21a-2.2) fails on the 2nd clos-
> ing '}'.
> 
> My simplest test case:
>   \documentclass{article}
>   \begin{document}
>   \raisebox
>      {-1.5 cm}
>      {
>         \begin{verbatim}
>            Some text
>         \end{verbatim}
>      }
>   \end{document}
> 
> Output:
>   % latex t2.tex
>   This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
>   entering extended mode
>   (./t2.tex
>   LaTeX2e <2003/12/01>
>   Babel  and hyphenation patterns for american, french, german,
>   ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech,
>   danish, dutch, esperanto, e stonian, finnish, greek, icelandic,
>   irish, italian, latin, magyar, norsk, polis h, portuges,
>   romanian, russian, serbian, slovak, slovene, spanish, swedish,
>   tur kish, ukrainian, nohyphenation, loaded.
>   (/usr/share/texmf/tex/latex/base/article.cls
>   Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
>   (/usr/share/texmf/tex/latex/base/size10.clo))
>   No file t2.aux.
>   
>   ! LaTeX Error: Something's wrong--perhaps a missing \item.
>   
>   See the LaTeX manual or LaTeX Companion for explanation.
>   Type  H   for immediate help.
>    ...                                              
>                                                     
>   l.9    }
>            
>   ? 
> 
> 
> I see the same issue if I include "\usepackage{verbatim}".
> 
> Any suggestions?  Thanks,
> Tom
> 
> 
> I don't think my larger use case matters, but just in case:  I'm using
> the message sequence chart package from
> .  Some of
> my MSC message flows require formatted text, and 'raisebox' so the
> message line/arrow doesn't overlap the text, so it's on a '\mess' that
> I'm trying to use 'raisebox' and within that 'verbatim'.
> -- 
>   /"\  ASCII Ribbon Campaign   |
>   \ /                          |   Email to user 'CTZ001'
>    X        Against HTML       |             at 'email.mot.com'
>   / \     in e-mail & news     |


From janert at ieee.org  Thu Jun 11 05:09:47 2009
From: janert at ieee.org (Philipp K. Janert)
Date: Wed, 10 Jun 2009 20:09:47 -0700
Subject: [texhax] Extract equations as EPS from larger doc?
Message-ID: <200906102009.48743.janert@ieee.org>


For a (non-LaTeX) publishing project I will have to 
provide equations as images.

I would like to use LaTeX to set the equations and
to generate the image files (as EPS).

The main problem is the document management -
it would be nice to be able to have a single LaTeX
document, and ideally a clever tool that extracts
equations as individual EPS files.

Since this seems like a recurring problem, I wonder
whether somebody knows of a LaTeX macro package
or other tool that facilitiates this process. I looked on 
CTAN, but did not find anything that seemed suitable.

(I can do this manually, by placing each equation
on a separate page and then operating with ps2eps,
but I was wondering whether this problem has already
been solved in a more general/convenient way.)

Any suggestions?

Best,

		Ph.



From tomfool at as220.org  Thu Jun 11 15:56:05 2009
From: tomfool at as220.org (tom sgouros)
Date: Thu, 11 Jun 2009 09:56:05 -0400
Subject: [texhax] Extract equations as EPS from larger doc?
In-Reply-To: <200906102009.48743.janert@ieee.org> 
References: <200906102009.48743.janert@ieee.org>
Message-ID: <30525.1244728565@as220.org>


The html converters latex2html and hyperlatex both do this, and you can
probably get something useful by peeking at their code (perl and
lisp, respectively).  Google will help you find them.

 -tom


Philipp K. Janert  wrote:

> 
> For a (non-LaTeX) publishing project I will have to 
> provide equations as images.
> 
> I would like to use LaTeX to set the equations and
> to generate the image files (as EPS).
> 
> The main problem is the document management -
> it would be nice to be able to have a single LaTeX
> document, and ideally a clever tool that extracts
> equations as individual EPS files.
> 
> Since this seems like a recurring problem, I wonder
> whether somebody knows of a LaTeX macro package
> or other tool that facilitiates this process. I looked on 
> CTAN, but did not find anything that seemed suitable.
> 
> (I can do this manually, by placing each equation
> on a separate page and then operating with ps2eps,
> but I was wondering whether this problem has already
> been solved in a more general/convenient way.)
> 
> Any suggestions?
> 
> Best,
> 
> 		Ph.
> 
> 
> _______________________________________________
> 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
> 


-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net

From martin at oneiros.de  Thu Jun 11 18:13:10 2009
From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=)
Date: Thu, 11 Jun 2009 18:13:10 +0200
Subject: [texhax] 'verbatim' inside 'raisebox'?
In-Reply-To: <20090610160121.GQ21609@email.mot.com>
References: <20090610160121.GQ21609@email.mot.com>
Message-ID: <68c491a60906110913w61d37069ib0ba37efb6bad8ff@mail.gmail.com>

2009/6/10, T Ziomek :
> I need to put pre-formatted text (ala HTML 
 or ) within
>  a 'raisebox'.  AFAICT the Tex way to do this is via 'verbatim'
>  (though I'd welcome alternative suggestions).  But Tex (specific-
>  ally, pdfeTeX, Version 3.141592-1.21a-2.2) fails on the 2nd clos-
>  ing '}'.

RTFAQ, please.

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=verbwithin

Best
   Martin

From s.schwartz at imperial.ac.uk  Thu Jun 11 18:58:10 2009
From: s.schwartz at imperial.ac.uk (Steve Schwartz)
Date: Thu, 11 Jun 2009 17:58:10 +0100
Subject: [texhax] Extract equations as EPS from larger doc?
In-Reply-To: <200906102009.48743.janert@ieee.org>
References: <200906102009.48743.janert@ieee.org>
Message-ID: <1244739490.5411.60.camel@sony-sjs>

I had some reason to look into similar things some years back. My own
notes provide the following summary of what I found, though I'll confess
that I forget exactly how any of them work. Most are geared toward
bitmap output, but perhaps not all.

HTH

Steve

PS As an alternative for something with vector capabilities, I think I'd
be inclined to put the equations on separate plain (pagestyle{empty})
pages, use pdflatex to generate a pdf, then run the result through
pdfcrop to trim all the white space. Finally something from the
pdftoolkit pdftk will split the resulting multi-page pdf into separate
pages, meaning separate pdf's for each equation.

=================================
There are a variety of things that will take in latex and spit out
images (gifs or pngs) that I've discovered. They include:

latex2png (part of latex2rtf)
mimetex
gladtex (which includes a commandline eqn2gif or somesuch)
latexrender
tex2gif


On Thu, 2009-06-11 at 04:09 +0100, Philipp K. Janert wrote:
> For a (non-LaTeX) publishing project I will have to 
> provide equations as images.
> 
> I would like to use LaTeX to set the equations and
> to generate the image files (as EPS).
> 
> The main problem is the document management -
> it would be nice to be able to have a single LaTeX
> document, and ideally a clever tool that extracts
> equations as individual EPS files.
> 
> Since this seems like a recurring problem, I wonder
> whether somebody knows of a LaTeX macro package
> or other tool that facilitiates this process. I looked on 
> CTAN, but did not find anything that seemed suitable.
> 
> (I can do this manually, by placing each equation
> on a separate page and then operating with ps2eps,
> but I was wondering whether this problem has already
> been solved in a more general/convenient way.)
> 
> Any suggestions?
> 
> Best,
> 
> 		Ph.
> 
> 
> _______________________________________________
> 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 ekmath at asianetindia.com  Fri Jun 12 02:49:57 2009
From: ekmath at asianetindia.com (E. Krishnan)
Date: Fri, 12 Jun 2009 06:19:57 +0530 (IST)
Subject: [texhax] 'verbatim' inside 'raisebox'?
In-Reply-To: <20090610160121.GQ21609@email.mot.com>
References: <20090610160121.GQ21609@email.mot.com>
Message-ID: 

On Wed, 10 Jun 2009, T Ziomek wrote:

> My simplest test case:
>  \documentclass{article}
>  \begin{document}
>  \raisebox
>     {-1.5 cm}
>     {
>        \begin{verbatim}
>           Some text
>        \end{verbatim}
>     }
>  \end{document}
>
>  ! LaTeX Error: Something's wrong--perhaps a missing \item.

Please see whethere this helps:

   \documentclass{article}
   \usepackage{fancyvrb}

   \begin{document}

   \begin{SaveVerbatim}{verbox}
   Some verbatim text
   \end{SaveVerbatim}

   Some formatted text
   \raisebox{-1.5cm}{\BUseVerbatim{verbox}}

   \end{document}










-- 
Krishnan

From uwe.lueck at web.de  Fri Jun 12 15:07:17 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Fri, 12 Jun 2009 15:07:17 +0200
Subject: [texhax] toc2tex
Message-ID: <1150827120@web.de>

Lars Madsen  schrieb am 25.05.2009 20:45:07:
> Le 25 mai 09 ? 17:07, Victor Ivrii a ?crit : 
>> Is there any script which converts foo.toc to foo-toc.tex which could 
>> be edited and processed? 
>> The rationale: to have different fonts and some explanations for 
>> certain portions of table-of-contents (for mammoth project in 
>> progress, to distinguish between chapters in the almost final shape 
>> and those which are in the stage of very early draft)
>
> Victor  have a look at how your document class loads the toc, 
> then emulate that using your own macro, loading your file instead. 
> Please be aware that \tableofcontents initialtes the creating of the 
> toc files, so that needs to be handled as well.

An idea on Lars' idea: 

1. cp foo.toc foo-toc.toc

2. write and run foo-toc.tex like this: 

\documentclass{article}
\nofiles %% don't rewrite foo-toc.toc
\renewcommand{\contentsname}{Contents of that work}
\begin{document}
\tableofcontents
\end{document}

3. Simply edit foo-toc.toc

HTH -- Uwe.



From asnd at triumf.ca  Sat Jun 13 01:18:58 2009
From: asnd at triumf.ca (Donald Arseneau)
Date: 12 Jun 2009 16:18:58 -0700
Subject: [texhax] Extract equations as EPS from larger doc?
In-Reply-To: <200906102009.48743.janert@ieee.org>
References: <200906102009.48743.janert@ieee.org>
Message-ID: 

"Philipp K. Janert"  writes:

> it would be nice to be able to have a single LaTeX
> document, and ideally a clever tool that extracts
> equations as individual EPS files.

the preview-latex system for emacs does this also.

-- 
Donald Arseneau                          asnd at triumf.ca

From sleep.well at gmx.de  Sat Jun 13 12:30:48 2009
From: sleep.well at gmx.de (Marcel Knie)
Date: Sat, 13 Jun 2009 12:30:48 +0200
Subject: [texhax] bigfoot.sty and paired footnotes
Message-ID: <20090613103048.52180@gmx.net>

Hi, 

I have to edit a critical edition of a medivial source and heared about the latexpackage bigfoot by David Kastrup to do this. But I have a big problem: the publisher want to have so called paired footnotes for the footnote apparatus and I can't manage it. here is an example how it have to look like:

----------------------
|                    |
| Fran?cois Vatable? |
|                    |
|                    |
|                    |
|                    |
|                    |
| Footnoteapparatus: |
| 2-2 blablabla      |
|                    |
----------------------

I hope I make myself clear and somebody can help me.

Thanks for help.

Marcel

-- 
GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss
f?r nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

From uwe.lueck at web.de  Sat Jun 13 17:36:25 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Sat, 13 Jun 2009 17:36:25 +0200
Subject: [texhax] bigfoot.sty and paired footnotes
Message-ID: <1151411116@web.de>

"Marcel Knie"  schrieb am 13.06.2009 16:47:59:
> Hi, 
> 
> I have to edit a critical edition of a medivial source and heared about the latexpackage bigfoot by David Kastrup to do this. But I have a big problem: the publisher want to have so called paired footnotes for the footnote apparatus and I can't manage it. here is an example how it have to look like:
> 
> ----------------------
> |                    |
> | Fran?cois Vatable? |
> |                    |
> |                    |
> |                    |
> |                    |
> |                    |
> | Footnoteapparatus: |
> | 2-2 blablabla      |
> |                    |
> ----------------------

Have you asked David Kastrup? 

I think it is very easy to implement this with ednotes.sty. But I am very busy (and at the moment exhausted) and can't tell right now when I could do it. 

Best, 

    Uwe. 


From signups2 at norvelle.org  Sat Jun 13 17:45:39 2009
From: signups2 at norvelle.org (Erik Norvelle)
Date: Sat, 13 Jun 2009 17:45:39 +0200
Subject: [texhax] bigfoot.sty and paired footnotes
In-Reply-To: <20090613103048.52180@gmx.net>
References: <20090613103048.52180@gmx.net>
Message-ID: <42D89B56-706A-40A2-9347-610A3AD61809@norvelle.org>

Greetings,

I haven't used the bigfoot package, but there exists a set of LaTeX  
packages for editing critical editions, which permit maintaining two  
or more footnote streams on a given page.  These are called ledmac and  
ledpar, and are currently being maintained by Vafa Khalighi (vafa at users.berlios.de 
).

The packages are available here, together with documentation and  
examples: http://www.djdekker.net/ledmac/ ... they also come included  
with TexLive 2008.

Cheers,
Erik Norvelle

On Jun 13, 2009, at 12:30 PM, Marcel Knie wrote:

> Hi,
>
> I have to edit a critical edition of a medivial source and heared  
> about the latexpackage bigfoot by David Kastrup to do this. But I  
> have a big problem: the publisher want to have so called paired  
> footnotes for the footnote apparatus and I can't manage it. here is  
> an example how it have to look like:
>
> ----------------------
> |                    |
> | Fran?cois Vatable? |
> |                    |
> |                    |
> |                    |
> |                    |
> |                    |
> | Footnoteapparatus: |
> | 2-2 blablabla      |
> |                    |
> ----------------------
>
> I hope I make myself clear and somebody can help me.
>
> Thanks for help.
>
> Marcel
>
> -- 
> GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und  
> Telefonanschluss
> f?r nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
> _______________________________________________
> 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 uwe.lueck at web.de  Sat Jun 13 18:14:49 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Sat, 13 Jun 2009 18:14:49 +0200
Subject: [texhax] bigfoot.sty and paired footnotes
Message-ID: <1151420481@web.de>

Erik Norvelle  schrieb am 13.06.2009 17:48:15:
> I haven't used the bigfoot package, but there exists a set of LaTeX 
> packages for editing critical editions, which permit maintaining two 
> or more footnote streams on a given page. These are called ledmac and 
> ledpar, and are currently being maintained by Vafa Khalighi (vafa@
> users.berlios.de).

ledpar is essentially used for translations. The "paired footnotes" facility is neither implemented in ledmac currently (as it is not in ednotes). 

For comparisons of ledmac and ednotes, google for ledmac and ednotes at the same time. 

HTH -- Uwe. 

> On Jun 13, 2009, at 12:30 PM, Marcel Knie wrote:
> 
> I have to edit a critical edition of a medivial source and heared 
> about the latexpackage bigfoot by David Kastrup to do this. But I 
> have a big problem: the publisher want to have so called paired 
> footnotes for the footnote apparatus and I can't manage it. here is 
> an example how it have to look like:
> 
> ----------------------
> | |
> | Fran?cois Vatable? |
> | |
> | |
> | |
> | |
> | |
> | Footnoteapparatus: |
> | 2-2 blablabla |
> | |
> ----------------------


From uwe.lueck at web.de  Sat Jun 13 18:41:26 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Sat, 13 Jun 2009 18:41:26 +0200
Subject: [texhax] bigfoot.sty and paired footnotes
Message-ID: <1151426622@web.de>

"Marcel Knie"  schrieb am 13.06.2009 16:47:59:
>  But I have a big problem: the publisher want to have so called paired footnotes 
[snip] 
> ----------------------
> |                    |
> | Fran?cois Vatable? |
> |                    |
> |                    |
> |                    |
> |                    |
> |                    |
> | Footnoteapparatus: |
> | 2-2 blablabla      |
> |                    |
> ----------------------

Now I guess neither ednotes nor ledmac are useful for this. You "simply" use \footnote, either with manyfoot.sty or with the multi-footnote-levels facility of memoir.cls. This may also work with bigfoot.sty which should be an enhancement of manyfoot. 

You need some (sketch only)

    \newcommand\note[2]{\footnotemark'1\footnotemark}{'2}

and some change of the thing that prints the footnote number usually. Look around what footnote packages offer for this; with manyfoot.sty, I should be able to do this next week, but perhaps you don't need me. 

Cheers, 

    Uwe. 


From uwe.lueck at web.de  Sat Jun 13 18:46:14 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Sat, 13 Jun 2009 18:46:14 +0200
Subject: [texhax] FW: Re:  bigfoot.sty and paired footnotes
Message-ID: <1151429288@web.de>

Correction:

     \newcommand\note[2]{\footnotemark#1\footnotemark}{\footnote{#2}}

still sketch; sorry, 

    Uwe. 

-----Urspr?ngliche Nachricht-----
Von: Uwe Lueck 
Gesendet: 13.06.09 18:17:00
An: Erik Norvelle , Marcel Knie 
CC: texhax at tug.org
Betreff: Re: [texhax] bigfoot.sty and paired footnotes
Erik Norvelle  schrieb am 13.06.2009 17:48:15:
> I haven't used the bigfoot package, but there exists a set of LaTeX 
> packages for editing critical editions, which permit maintaining two 
> or more footnote streams on a given page. These are called ledmac and 
> ledpar, and are currently being maintained by Vafa Khalighi (vafa@
> users.berlios.de).

ledpar is essentially used for translations. The "paired footnotes" facility is neither implemented in ledmac currently (as it is not in ednotes). 

For comparisons of ledmac and ednotes, google for ledmac and ednotes at the same time. 

HTH -- Uwe. 

> On Jun 13, 2009, at 12:30 PM, Marcel Knie wrote:
> 
> I have to edit a critical edition of a medivial source and heared 
> about the latexpackage bigfoot by David Kastrup to do this. But I 
> have a big problem: the publisher want to have so called paired 
> footnotes for the footnote apparatus and I can't manage it. here is 
> an example how it have to look like:
> 
> ----------------------
> | |
> | Fran?cois Vatable? |
> | |
> | |
> | |
> | |
> | |
> | Footnoteapparatus: |
> | 2-2 blablabla |
> | |
> ----------------------

_______________________________________________
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  Sat Jun 13 19:12:36 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Sat, 13 Jun 2009 19:12:36 +0200
Subject: [texhax] FW:  FW: Re:  bigfoot.sty and paired footnotes
Message-ID: <1151434347@web.de>

Better: 

     \newcommand{\note}[2]{\footnotemark#1\addtocounter{footnote}{-1}}{\footnote{#2}}

This may be already acceptable, since "2-2" is somewhat redundant. 

The main virtue of ednotes and ledmac is referring by line numbers instead of footnote numbers, but this seems not to be needed here. The facility seems to be missing in bigfoot, but bigfoot may suffice here. As I understand David Kastrup, bigfoot breaks pages (and footnotes) better than manyfoot, but it may depend on the subject whether you realize this difference.

HTH -- Uwe. 

-----Urspr?ngliche Nachricht-----
Von: Uwe Lueck 
Gesendet: 13.06.09 18:48:45
An: Erik Norvelle , Marcel Knie ,   texhax at tug.org
Betreff: [texhax] FW: Re:  bigfoot.sty and paired footnotes
Correction:

     \newcommand\note[2]{\footnotemark#1\footnotemark}{\footnote{#2}}

still sketch; sorry, 

    Uwe. 

-----Urspr?ngliche Nachricht-----
Von: Uwe Lueck 
Gesendet: 13.06.09 18:17:00
An: Erik Norvelle , Marcel Knie 
CC: texhax at tug.org
Betreff: Re: [texhax] bigfoot.sty and paired footnotes
Erik Norvelle  schrieb am 13.06.2009 17:48:15:
> I haven't used the bigfoot package, but there exists a set of LaTeX 
> packages for editing critical editions, which permit maintaining two 
> or more footnote streams on a given page. These are called ledmac and 
> ledpar, and are currently being maintained by Vafa Khalighi (vafa@
> users.berlios.de).

ledpar is essentially used for translations. The "paired footnotes" facility is neither implemented in ledmac currently (as it is not in ednotes). 

For comparisons of ledmac and ednotes, google for ledmac and ednotes at the same time. 

HTH -- Uwe. 

> On Jun 13, 2009, at 12:30 PM, Marcel Knie wrote:
> 
> I have to edit a critical edition of a medivial source and heared 
> about the latexpackage bigfoot by David Kastrup to do this. But I 
> have a big problem: the publisher want to have so called paired 
> footnotes for the footnote apparatus and I can't manage it. here is 
> an example how it have to look like:
> 
> ----------------------
> | |
> | Fran?cois Vatable? |
> | |
> | |
> | |
> | |
> | |
> | Footnoteapparatus: |
> | 2-2 blablabla |
> | |
> ----------------------

_______________________________________________
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



_______________________________________________
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 ekmath at asianetindia.com  Sun Jun 14 01:46:05 2009
From: ekmath at asianetindia.com (E. Krishnan)
Date: Sun, 14 Jun 2009 05:16:05 +0530 (IST)
Subject: [texhax] bigfoot.sty and paired footnotes
In-Reply-To: <20090613103048.52180@gmx.net>
References: <20090613103048.52180@gmx.net>
Message-ID: 

On Sat, 13 Jun 2009, Marcel Knie wrote:

> the publisher want to have so called paired footnotes for the 
> footnote apparatus and I can't manage it.

What do the pair of numbers stand for? (Page number and footnote number? 
Or section number and footnote number?)


-- 
Krishnan

From uwe.lueck at web.de  Sun Jun 14 16:39:48 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Sun, 14 Jun 2009 16:39:48 +0200
Subject: [texhax] bigfoot.sty and paired footnotes
Message-ID: <1151771784@web.de>

(answer was not on list, while I think some people interested in critical editions are reading here.)

"Marcel Knie"  schrieb am 14.06.2009 15:17:57:
> hi, 
> 
> i think you misunderstood me, the "2" is only an example. So I try to explain again with an miniimage. If this still not enough you can find exactly what my needs are, here: http://userpage.fu-berlin.de/~latex/Materialien/bigfoot.pdf
> 
> ----------------------------
> |
> |
> |
> | te'[xt text text]' text
> | text'' text text text
> | text [te'''xt text text'''
> | text]
> |
> | footnoteapparatus
> | '-' explanation
> | '' explanation
> | '''-''' explanation
> |
> ----------------------------
> 
> ': stands for a letter or number

Not much clearer. bigfoot.pdf looks like having been arranged manually, rather than what has ever been implemented in TeX. 

"paired footnotes" look a little like numbering pagewise by letters, while it was overlooked that one note was removed and the numbering wasn't correct anymore. 

If a key idea is choosing footnote marks manually, this can be done as I suggested before, just think of optional arguments for footnote commands. 

(My last suggestion was "\note{lemma}{remark}" expanding to "\footnotemark lemma\addtocounter{footnote}{-1}\footnote{remark}")

\note could have an optional argument such that "\note[]{lemma}{remark}" expands to "{\def\thempfn{}\footnotemark lemma \footnote{remark}}". 

To typeset the footnote mark differently in the apparatus, we might modify LaTeX's internal \@makefntext. But before becoming more TeXnical, we need to know something more specific on the footnote layout and how footnote marks are chosen. 

> P.S. I tried to contact David Kastrup, but after I described my problem he haven't answered yet.

Somebody else wrote me that David Kastrup didn't answer a question about bigfoot. He may think that he can't afford doing any more work at bigfoot without being paid. However, he likes to comment on mailing lists. 

Curious, 

    Uwe. 


> -------- Original-Nachricht --------
> > Datum: Sat, 13 Jun 2009 18:14:49 +0200
> > Von: Uwe Lueck 
> > An: Erik Norvelle , Marcel Knie 
> > CC: texhax at tug.org
> > Betreff: Re: [texhax] bigfoot.sty and paired footnotes
> 
> > Erik Norvelle  schrieb am 13.06.2009 17:48:15:
> > > I haven't used the bigfoot package, but there exists a set of LaTeX 
> > > packages for editing critical editions, which permit maintaining two 
> > > or more footnote streams on a given page. These are called ledmac and 
> > > ledpar, and are currently being maintained by Vafa Khalighi (vafa@
> > > users.berlios.de).
> > 
> > ledpar is essentially used for translations. The "paired footnotes"
> > facility is neither implemented in ledmac currently (as it is not in ednotes). 
> > 
> > For comparisons of ledmac and ednotes, google for ledmac and ednotes at
> > the same time. 
> > 
> > HTH -- Uwe. 
> > 
> > > On Jun 13, 2009, at 12:30 PM, Marcel Knie wrote:
> > > 
> > > I have to edit a critical edition of a medivial source and heared 
> > > about the latexpackage bigfoot by David Kastrup to do this. But I 
> > > have a big problem: the publisher want to have so called paired 
> > > footnotes for the footnote apparatus and I can't manage it. here is 
> > > an example how it have to look like:
> > > 
> > > ----------------------
> > > | |
> > > | Fran?cois Vatable? |
> > > | |
> > > | |
> > > | |
> > > | |
> > > | |
> > > | Footnoteapparatus: |
> > > | 2-2 blablabla |
> > > | |
> > > ----------------------
> 

From rodolfo.medina at gmail.com  Sun Jun 14 17:54:36 2009
From: rodolfo.medina at gmail.com (Rodolfo Medina)
Date: Sun, 14 Jun 2009 16:54:36 +0100
Subject: [texhax] Text vertical shifting in output
References: <87fxf8el1w.fsf@gmail.com> <4A0B3773.5040708@Rhul.Ac.Uk>
	<877i0kgfel.fsf@gmail.com> <4A0BEA07.7010801@Rhul.Ac.Uk>
	<87ws8i36n8.fsf_-_@gmail.com>
Message-ID: <87ocsqstdv.fsf@gmail.com>

Rodolfo Medina  writes:

>>> Suppose that I put here:
>>> 
>>>  
>>> 
>>> , but I want that in the output it is shifted a few lines vertically down,
>>> i.e. in the output it should not appear where I put it in the source tex
>>> file but a few lines below.
>>> 
>>> Is it possible, and how?
>>>
>>> [...]
>>>
>>> only  should be shifted down, but not the text following it.  In
>>> other words,  should be output by TeX n lines forward respect to
>>> where it is in the source, but not the rest of the text.



"Philip TAYLOR (Ret'd)"  writes:

>>
>> OK, try this :
>>
>> 
>>
>> \vtop to 0 pt
>> \bgroup
>> \strut
>> \vskip n-1\baselineskip
>> 
>> \vss
>> \egroup
>>
>> 


> Thanks, this seems to work!
> Rodolfo


...but with some undesired side effect: I'm attaching test.tex, to be processed
simply with: `tex test'.  If you comment out lines 2,3,4,5,6,7, the whole text
is shifted down a little.

How can that be avoided?

Thanks for any help
Rodolfo


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: text/x-tex
Size: 6572 bytes
Desc: not available
URL: 

From uwe.lueck at web.de  Sun Jun 14 17:03:00 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Sun, 14 Jun 2009 17:03:00 +0200
Subject: [texhax] FW: Re:  bigfoot.sty and paired footnotes
Message-ID: <1151796948@web.de>

OK, I recognize some rules on 

    http://userpage.fu-berlin.de/~latex/Materialien/bigfoot.pdf

There is a "middle" apparatus, where notes are numbered pagewise and alphabetically, and there are "short" and "long" ones. Short ones get one letter only and are gathered in single lines. 

Since that page seems to be part of a LaTeX tutorial at FU Berlin and the file is named bigfoot.pdf, it may have been typeset with bigfoot.sty indeed, David Kastrup may well have implemented such a footnote style that had not existed in manyfoot, (l)edmac, and the TeXbook. 

If I am guessing correctly, you just need instructions about bigfoot commands!? 

-- Uwe. 

-----Urspr?ngliche Nachricht-----
Von: "Uwe Lueck" 
Gesendet: 14.06.09 16:39:48

Not much clearer. bigfoot.pdf looks like having been arranged manually, rather than what has ever been implemented in TeX. 

"paired footnotes" look a little like numbering pagewise by letters, while it was overlooked that one note was removed and the numbering wasn't correct anymore. 

If a key idea is choosing footnote marks manually, this can be done as I suggested before, just think of optional arguments for footnote commands. 

(My last suggestion was "\note{lemma}{remark}" expanding to "\footnotemark lemma\addtocounter{footnote}{-1}\footnote{remark}")

\note could have an optional argument such that "\note[]{lemma}{remark}" expands to "{\def\thempfn{}\footnotemark lemma \footnote{remark}}". 

To typeset the footnote mark differently in the apparatus, we might modify LaTeX's internal \@makefntext. But before becoming more TeXnical, we need to know something more specific on the footnote layout and how footnote marks are chosen. 


From uwe.lueck at web.de  Sun Jun 14 22:23:46 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Sun, 14 Jun 2009 22:23:46 +0200
Subject: [texhax] FW: Re:  bigfoot.sty and paired footnotes
Message-ID: <1151897528@web.de>

ok, this will probably stay off the list. Or is there anybody reading this who likes to guess from David Kastrup files how to use his macros for "paired footnotes"? Or still (Marcel also!) guessing at an implementation without bigfoot ... ? I find this interesting, but I must do other things first ... 

Marcel, regarding the example on the FU page, there is also the matter of "overriding" "single paragraph" mode for "single" footnotes, namely for long ones. This is bigfoot-specific. But do you need this? If not, I still think that the feature can be implemented with manyfoot only, without bigfoot. 

-- Uwe. 

"Marcel Knie"  schrieb am 14.06.2009 19:12:32:
> That's right i need the commands to arrange the middle part of the footnoteapparatus like it is shown in bigfoot.pdf, but it is not described in the documentation of the bigfootpackage and i can't understand this part in the bigfoot.dtx. The particular part starts with: 
> 
> footnote stacks are used for paired footnotes that refer to a text
> % range instead of a single text point.  For example, you can use
> % something like
> % \begin{verbatim}
> % Text \var<{was there}is here\var>
> % \end{verbatim}
> % To have a text variant ``was there'' for the original passage ``is
> % here'', and mark it, say, as ``\textsuperscript{a}is
> % here\textsuperscript{\textsl{a}}'' by employing the |suffix| package
> % suitably.
> 
> So how can i make this special footnotes.
> 
> greets
> 
> -------- Original-Nachricht --------
> > Datum: Sun, 14 Jun 2009 17:03:00 +0200
> > Von: Uwe Lueck 
> > An: Marcel Knie 
> > CC: texhax at tug.org, Erik Norvelle 
> > Betreff: [texhax] FW: Re:  bigfoot.sty and paired footnotes
> 
> > OK, I recognize some rules on 
> > 
> >     http://userpage.fu-berlin.de/~latex/Materialien/bigfoot.pdf
> > 
> > There is a "middle" apparatus, where notes are numbered pagewise and
> > alphabetically, and there are "short" and "long" ones. Short ones get one letter
> > only and are gathered in single lines. 
> > 
> > Since that page seems to be part of a LaTeX tutorial at FU Berlin and the
> > file is named bigfoot.pdf, it may have been typeset with bigfoot.sty
> > indeed, David Kastrup may well have implemented such a footnote style that had
> > not existed in manyfoot, (l)edmac, and the TeXbook. 
> > 
> > If I am guessing correctly, you just need instructions about bigfoot
> > commands!? 
> > 
> > -- Uwe. 
> > 
> > -----Urspr?ngliche Nachricht-----
> > Von: "Uwe Lueck" 
> > Gesendet: 14.06.09 16:39:48
> > 
> > Not much clearer. bigfoot.pdf looks like having been arranged manually,
> > rather than what has ever been implemented in TeX. 
> > 
> > "paired footnotes" look a little like numbering pagewise by letters, while
> > it was overlooked that one note was removed and the numbering wasn't
> > correct anymore. 
> > 
> > If a key idea is choosing footnote marks manually, this can be done as I
> > suggested before, just think of optional arguments for footnote commands. 
> > 
> > (My last suggestion was "\note{lemma}{remark}" expanding to "\footnotemark
> > lemma\addtocounter{footnote}{-1}\footnote{remark}")
> > 
> > \note could have an optional argument such that
> > "\note[]{lemma}{remark}" expands to "{\def\thempfn{}\footnotemark lemma
> > \footnote{remark}}". 
> > 
> > To typeset the footnote mark differently in the apparatus, we might modify
> > LaTeX's internal \@makefntext. But before becoming more TeXnical, we need
> > to know something more specific on the footnote layout and how footnote
> > marks are chosen. 
> > 
> > _______________________________________________
> > 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
> 
> -- 
> GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss
> f?r nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl01
> 

From s-canagaratna at onu.edu  Mon Jun 15 03:38:38 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Sun, 14 Jun 2009 21:38:38 -0400
Subject: [texhax] fbox in align environment
Message-ID: <20090615013837.GA13441@localhost>


Hi:

  I'd appreciate some help with this.

Say you have three equations in an align environment. You want to box
only one of them, say the last one. How does one do this? I want all
three equations aligned (at, say the = sign). Fancybox.sty wasn't of
much help in this regard. I can put the first two eqns in an align, and
the third eqn in an fbox in the equation environment, but the alignment
is disturbed. 

I'd appreciate any suggestions. Thanks.


Sebastian Canagaratna
Department of Chemistry
Ohio Northern University
Ada, OH 45810

From philip.ratcliffe at uninsubria.it  Mon Jun 15 10:29:06 2009
From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe)
Date: Mon, 15 Jun 2009 10:29:06 +0200
Subject: [texhax] fbox in align environment
In-Reply-To: <20090615013837.GA13441@localhost>
Message-ID: <2925BAFC99AA4C3D942514379263B6D0@PGR1>

> Say you have three equations in an align environment. You 
> want to box only one of them, say the last one. How does one 
> do this? I want all three equations aligned (at, say the = 
> sign). Fancybox.sty wasn't of much help in this regard. I can 
> put the first two eqns in an align, and the third eqn in an 
> fbox in the equation environment, but the alignment is disturbed. 

If you haven't found anything better, here's a not very elegant solution:

\documentclass{article}
\usepackage{amsmath}
\newcommand\alignboxed[2]{\rlap{\boxed{#1#2}}\hphantom{#1\mkern6mu}}
\begin{document}
\begin{align}
  f_1(x) &= a+bx, \\
  f_2(x) &= a+bx+cx?, \\
  \alignboxed{f_3(x)}{= a+bx+cx?+dx?.}
\end{align}
\end{document}

This works similarly:

\documentclass{article}
\usepackage{amsmath}
\def\alignboxed#1\endalignboxed{\rlap{\boxed{#1#2}}\hphantom{#1\mkern6mu}
}
\begin{document}
\begin{align}
  f_1(x) &= a+bx, \\
  f_2(x) &= a+bx+cx?, \\
  \alignboxed
  f_3(x) &= a+bx+cx?+dx?.
  \endalignboxed
\end{align}
\end{document}

Cheers,  Phil


From rodolfo.medina at gmail.com  Mon Jun 15 14:30:10 2009
From: rodolfo.medina at gmail.com (Rodolfo Medina)
Date: Mon, 15 Jun 2009 13:30:10 +0100
Subject: [texhax] Text vertical shifting
References: <87fxf8el1w.fsf@gmail.com> <4A0B3773.5040708@Rhul.Ac.Uk>
	<877i0kgfel.fsf@gmail.com> <4A0BEA07.7010801@Rhul.Ac.Uk>
	<87ws8i36n8.fsf_-_@gmail.com> <4A0D55F1.1090606@Rhul.Ac.Uk>
Message-ID: <87vdmxvfvx.fsf@gmail.com>

Rodolfo Medina  writes:

>>> Suppose that I put here:
>>> 
>>>  
>>> 
>>> , but I want that in the output it is shifted a few lines vertically down,
>>> i.e. in the output it should not appear where I put it in the source tex
>>> file but a few lines below.
>>> 
>>> Is it possible, and how?
>>>
>>> [...]
>>>
>>> only  should be shifted down, but not the text following it.  In
>>> other words,  should be output by TeX n lines forward respect to
>>> where it is in the source, but not the rest of the text.



"Philip TAYLOR (Ret'd)"  writes:

>>
>> OK, try this :
>>
>> 
>>
>> \vtop to 0 pt
>> \bgroup
>> \strut
>> \vskip n-1\baselineskip
>> 
>> \vss
>> \egroup
>>
>> 


> Thanks, this seems to work!
> Rodolfo


...but with some undesired side effect: I'm attaching test.tex, to be processed
simply with: `tex test'.  If you uncomment the lines 5,6,7,8,9,10 the whole
text is shifted down.

How can that be avoided?

Thanks for any help
Rodolfo


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: text/x-tex
Size: 6775 bytes
Desc: not available
URL: 

From s-canagaratna at onu.edu  Mon Jun 15 15:43:04 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Mon, 15 Jun 2009 09:43:04 -0400
Subject: [texhax] fbox in align environment
In-Reply-To: <2925BAFC99AA4C3D942514379263B6D0@PGR1>
References: <20090615013837.GA13441@localhost>
	<2925BAFC99AA4C3D942514379263B6D0@PGR1>
Message-ID: <20090615134304.GA7099@localhost>


Thanks, Phil. The first example works fine, but the second fails:

ERROR: Illegal unit of measure (mu inserted).

--- TeX said ---
 
                   =
l.13 \end{align}
                
--- HELP ---
If you just got a

      ! Missing number, treated as zero.

error, then this is part of the same problem.

Perhaps I did something wrong, I'll investigate it and let you know.

Thanks again.

Sebastian

On Mon, Jun 15, 2009 at 10:29:06AM +0200, Philip G. Ratcliffe wrote:
> > Say you have three equations in an align environment. You 
> > want to box only one of them, say the last one. How does one 
> > do this? I want all three equations aligned (at, say the = 
> > sign). Fancybox.sty wasn't of much help in this regard. I can 
> > put the first two eqns in an align, and the third eqn in an 
> > fbox in the equation environment, but the alignment is disturbed. 
> 
> If you haven't found anything better, here's a not very elegant solution:
> 
> \documentclass{article}
> \usepackage{amsmath}
> \newcommand\alignboxed[2]{\rlap{\boxed{#1#2}}\hphantom{#1\mkern6mu}}
> \begin{document}
> \begin{align}
>   f_1(x) &= a+bx, \\
>   f_2(x) &= a+bx+cx?, \\
>   \alignboxed{f_3(x)}{= a+bx+cx?+dx?.}
> \end{align}
> \end{document}
> 
> This works similarly:
> 
> \documentclass{article}
> \usepackage{amsmath}
> \def\alignboxed#1\endalignboxed{\rlap{\boxed{#1#2}}\hphantom{#1\mkern6mu}
> }
> \begin{document}
> \begin{align}
>   f_1(x) &= a+bx, \\
>   f_2(x) &= a+bx+cx?, \\
>   \alignboxed
>   f_3(x) &= a+bx+cx?+dx?.
>   \endalignboxed
> \end{align}
> \end{document}
> 
> Cheers,  Phil
> 

From s-canagaratna at onu.edu  Mon Jun 15 15:50:22 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Mon, 15 Jun 2009 09:50:22 -0400
Subject: [texhax] fbox in align environment
Message-ID: <20090615135022.GA7815@localhost>

Further to my note to Phil's suggestions, I reported that the 2nd
example failed. I discovered that in the definition there was
\mkern6=mu. I don't know whether mutt introduced the equal sign between
6 and mu. Removal of the equal sign makes the 2nd example also work.

Thanks.

Sebastian

From rodolfo.medina at gmail.com  Mon Jun 15 21:18:36 2009
From: rodolfo.medina at gmail.com (Rodolfo Medina)
Date: Mon, 15 Jun 2009 20:18:36 +0100
Subject: [texhax] A question about stretchability and shrinkability
Message-ID: <87ws7duwz7.fsf@gmail.com>

Hi all.

Suppose that in a certain place of my text I say something like, e.g.:

 \vskip 25 pt

and I mean exactly 25 pt with no stretchability neither shrinkability.  Will it
be enough to say:

 \vskip 25 pt plus 0 pt minus 0 pt

?  Am I sure this way that plain TeX will shift what follows by exactly 25 pt,
nothing more, nothing less?  Or should I achieve that by some other commands?

Thanks for any help
Rodolfo


From rodolfo.medina at gmail.com  Mon Jun 15 21:26:39 2009
From: rodolfo.medina at gmail.com (Rodolfo Medina)
Date: Mon, 15 Jun 2009 20:26:39 +0100
Subject: [texhax] A question about stretchability and shrinkability
References: <87ws7duwz7.fsf@gmail.com>
Message-ID: <87prd5ti1c.fsf@gmail.com>

Rodolfo Medina  writes:

> Suppose that in a certain place of my text I say something like, e.g.:
>
>  \vskip 25 pt
>
> and I mean exactly 25 pt with no stretchability neither shrinkability.  Will
> it be enough to say:
>
>  \vskip 25 pt plus 0 pt minus 0 pt
>
> ?  Am I sure this way that plain TeX will shift what follows by exactly 25
> pt, nothing more, nothing less?  Or should I achieve that by some other
> commands?


...and, more important, will 25 pt be just the same wherever I am in the text?
I mean, 25 pt on page (say) 9 are the same as 25 pt on page (say) 113?

Rodolfo


From rodolfo.medina at gmail.com  Mon Jun 15 22:38:13 2009
From: rodolfo.medina at gmail.com (Rodolfo Medina)
Date: Mon, 15 Jun 2009 21:38:13 +0100
Subject: [texhax] A question about stretchability and shrinkability
References: <87ws7duwz7.fsf@gmail.com> <87prd5ti1c.fsf@gmail.com>
Message-ID: <87vdmxp70q.fsf@gmail.com>

Hi all.

Suppose that in a certain place of my text I say something like, e.g.:

 \vskip 25 pt

and that I mean exactly 25 pt with no stretchability neither shrinkability.
Will it be enough to say:

 \vskip 25 pt plus 0 pt minus 0 pt

?  Am I sure this way that plain TeX will shift what follows by exactly 25 pt,
nothing more, nothing less?  Or should I achieve that by some other commands?

Thanks for any help
Rodolfo


From philip.ratcliffe at fastwebnet.it  Mon Jun 15 23:52:47 2009
From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe)
Date: Mon, 15 Jun 2009 23:52:47 +0200
Subject: [texhax] fbox in align environment
In-Reply-To: <20090615135022.GA7815@localhost>
Message-ID: 

> Further to my note to Phil's suggestions, I reported that the 
> 2nd example failed. I discovered that in the definition there 
> was \mkern6=mu. I don't know whether mutt introduced the 
> equal sign between 6 and mu. Removal of the equal sign makes 
> the 2nd example also work.

Well, use a dog for email and what do you expect?  Why not try homing
pigeons?
Sorry, couldn't resist it!  No flames please - for all I know it may well be
man's best friend.

Anyway, my original posting did indeed NOT contain the = sign (it's probably
a sort of continuation symbol used by that mongrel of yours).

Cheers,  Phil

P.S.  unless otherwise indicated, I do always test any code I post.


From ivan.pagnossin at gmail.com  Tue Jun 16 00:14:54 2009
From: ivan.pagnossin at gmail.com (Ivan Ramos Pagnossin)
Date: Mon, 15 Jun 2009 19:14:54 -0300
Subject: [texhax] A question about stretchability and shrinkability
In-Reply-To: <87ws7duwz7.fsf@gmail.com>
References: <87ws7duwz7.fsf@gmail.com>
Message-ID: 

Rodolfo, 25 pt is indeed 25 pt whatever the place, but there are some
notices: if this vertical space lies on a page break, it will be completely
dismissed. Other thing you must take into account is that you may have more
vertical space than that you declared: \parskip and \baselineskip, for
example, usually are rubber lengths (or glues, if you prefer). Another:
plain TeX allows you to set a magnification for your entire document. So, if
you define a magnification 2, you will get 50 pt instead. Ah, "25 pt" is
exactly the same as "25pt plus 0pt minus 0pt". Did I forget something?
[]s
Ivan

On Mon, Jun 15, 2009 at 16:18, Rodolfo Medina wrote:

> Hi all.
>
> Suppose that in a certain place of my text I say something like, e.g.:
>
>  \vskip 25 pt
>
> and I mean exactly 25 pt with no stretchability neither shrinkability.
>  Will it
> be enough to say:
>
>  \vskip 25 pt plus 0 pt minus 0 pt
>
> ?  Am I sure this way that plain TeX will shift what follows by exactly 25
> pt,
> nothing more, nothing less?  Or should I achieve that by some other
> commands?
>
> Thanks for any help
> Rodolfo
>
> _______________________________________________
> 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 pierre.mackay at comcast.net  Tue Jun 16 00:17:29 2009
From: pierre.mackay at comcast.net (Pierre MacKay)
Date: Mon, 15 Jun 2009 15:17:29 -0700
Subject: [texhax] A question about stretchability and shrinkability
In-Reply-To: <87vdmxp70q.fsf@gmail.com>
References: <87ws7duwz7.fsf@gmail.com> <87prd5ti1c.fsf@gmail.com>
	<87vdmxp70q.fsf@gmail.com>
Message-ID: <4A36C879.7000905@comcast.net>

Rodolfo Medina wrote:

>Hi all.
>
>Suppose that in a certain place of my text I say something like, e.g.:
>
> \vskip 25 pt
>
>and that I mean exactly 25 pt with no stretchability neither shrinkability.
>Will it be enough to say:
>
> \vskip 25 pt plus 0 pt minus 0 pt
>  
>
It will be too much.  \vskip will not insert stretchable glue unless you 
tell it to. 

But you can get some surprises if you do not take account of interline 
glue values.  If you want a strict baseline to baseline 25 points, you 
also have to make sure that there is no descender depth counted before 
the transition from hmode into vmode.  My own crude but effective way of 
handling this is to insert a vrule of specific depth greater than any 
glyph depth possible, and then either cancel it or  subtract that amount 
from the following \vskip.  Inelegant, perhaps, but it has saved a lot 
of trouble for the past ten years.  It is one way to get \vadjust 
material on the same baseline as the preceding hmode text.  

You can usually check out the accuracy of the \vskip by turning on 
\tracingpages and looking at the log file, although the log sometimes 
unaccountably skips reporting on one or more lines. 

Pierre MacKay

From s.romanski at datos.pl  Tue Jun 16 00:54:09 2009
From: s.romanski at datos.pl (Stanislaw Romanski)
Date: Tue, 16 Jun 2009 00:54:09 +0200
Subject: [texhax] A question about stretchability and shrinkability
References: <87ws7duwz7.fsf@gmail.com>
Message-ID: <670E91CFA592487B9961B5B3102CB5AC@datos57604fe5b>

Hello,

Maybe
    \vglue 25 pt
is what you are looking for.
This is "definite" vertical space; it will never disappear.
\vskip is removed in certain contexts,
e.g. in the begin or end of page.

HTH

Stanislaw Romanski

----- Original Message ----- 
From: "Rodolfo Medina" 
To: 
Sent: Monday, June 15, 2009 9:18 PM
Subject: [texhax] A question about stretchability and shrinkability


> Hi all.
>
> Suppose that in a certain place of my text I say something like, e.g.:
>
> \vskip 25 pt
>
> and I mean exactly 25 pt with no stretchability neither shrinkability. 
> Will it
> be enough to say:
>
> \vskip 25 pt plus 0 pt minus 0 pt
>
> ?  Am I sure this way that plain TeX will shift what follows by exactly 25 
> pt,
> nothing more, nothing less?  Or should I achieve that by some other 
> commands?
>
> Thanks for any help
> Rodolfo
>
> _______________________________________________
> 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 ekmath at asianetindia.com  Tue Jun 16 02:18:25 2009
From: ekmath at asianetindia.com (E. Krishnan)
Date: Tue, 16 Jun 2009 05:48:25 +0530 (IST)
Subject: [texhax] fbox in align environment
In-Reply-To: <20090615013837.GA13441@localhost>
References: <20090615013837.GA13441@localhost>
Message-ID: 

On Sun, 14 Jun 2009, Sebastian Canagaratna wrote:

> Say you have three equations in an align environment. You want to box
> only one of them, say the last one. How does one do this?


Please check whether this meets your needs:

   \usepackage{amsmath}

   \begin{equation*}
     \setlength{\arraycolsep}{0pt}
     \renewcommand{\arraystretch}{1.25}
     \begin{array}{r@{\;}c@{\;}r@{\;}}
       x+y+2    & = & 1\\
       2x+3y-4z & = & 2\\
       \hline
       \multicolumn{1}{|r@{\;}}{3x-2y+z}
       & \multicolumn{1}{c@{\;}}{=}
       & \multicolumn{1}{r@{\;}|}{3}\\
       \hline
     \end{array}
   \end{equation*}





-- 
Krishnan

From s-canagaratna at onu.edu  Tue Jun 16 04:06:21 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Mon, 15 Jun 2009 22:06:21 -0400
Subject: [texhax] fbox in align environment
In-Reply-To: 
References: <20090615013837.GA13441@localhost>
	
Message-ID: <20090616020621.GA7744@localhost>

Thanks, Krishnan. Your solution meets all the needs. Thanks.

Sebastian

On Tue, Jun 16, 2009 at 05:48:25AM +0530, E. Krishnan wrote:
> On Sun, 14 Jun 2009, Sebastian Canagaratna wrote:
>
>> Say you have three equations in an align environment. You want to box
>> only one of them, say the last one. How does one do this?
>
>
> Please check whether this meets your needs:
>
>   \usepackage{amsmath}
>
>   \begin{equation*}
>     \setlength{\arraycolsep}{0pt}
>     \renewcommand{\arraystretch}{1.25}
>     \begin{array}{r@{\;}c@{\;}r@{\;}}
>       x+y+2    & = & 1\\
>       2x+3y-4z & = & 2\\
>       \hline
>       \multicolumn{1}{|r@{\;}}{3x-2y+z}
>       & \multicolumn{1}{c@{\;}}{=}
>       & \multicolumn{1}{r@{\;}|}{3}\\
>       \hline
>     \end{array}
>   \end{equation*}
>
>
>
>
>
> -- 
> Krishnan

From philip.ratcliffe at uninsubria.it  Tue Jun 16 10:10:30 2009
From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe)
Date: Tue, 16 Jun 2009 10:10:30 +0200
Subject: [texhax] fbox in align environment
In-Reply-To: 
Message-ID: 

>    \usepackage{amsmath}
> 
>    \begin{equation*}
>      \setlength{\arraycolsep}{0pt}
>      \renewcommand{\arraystretch}{1.25}
>      \begin{array}{r@{\;}c@{\;}r@{\;}}
>        x+y+2    & = & 1\\
>        2x+3y-4z & = & 2\\
>        \hline
>        \multicolumn{1}{|r@{\;}}{3x-2y+z}
>        & \multicolumn{1}{c@{\;}}{=}
>        & \multicolumn{1}{r@{\;}|}{3}\\
>        \hline
>      \end{array}
>    \end{equation*}

A couple of comments:

1. the alignment of the third column ought to be with "l" (not "r");
2. if, e.g., the r.h.s. of one of the first two equations is longer (say,
1+p) then the output looks a little odd since the box is always as wide as
the table and not a given entry (the same is also true w.r.t. the l.h.s.).

Cheers,  Phil


From rodolfo.medina at gmail.com  Tue Jun 16 12:36:21 2009
From: rodolfo.medina at gmail.com (Rodolfo Medina)
Date: Tue, 16 Jun 2009 11:36:21 +0100
Subject: [texhax] A question about stretchability and shrinkability
References: <87ws7duwz7.fsf@gmail.com>
	<670E91CFA592487B9961B5B3102CB5AC@datos57604fe5b>
Message-ID: <8763ew8nyy.fsf@gmail.com>

Rodolfo Medina wrote:

>> Suppose that in a certain place of my text I say something like, e.g.:
>>
>> \vskip 25 pt
>>
>> and I mean exactly 25 pt with no stretchability neither shrinkability. Will
>> it be enough to say:
>>
>> \vskip 25 pt plus 0 pt minus 0 pt
>>
>> ?  Am I sure this way that plain TeX will shift what follows by exactly 25
>> pt, nothing more, nothing less?  Or should I achieve that by some other
>> commands?


Pierre MacKay  writes:

> It will be too much.  \vskip will not insert stretchable glue unless you tell
> it to.
>
> But you can get some surprises if you do not take account of interline glue
> values.  If you want a strict baseline to baseline 25 points, you also have
> to make sure that there is no descender depth counted before the transition
> from hmode into vmode.  My own crude but effective way of handling this is to
> insert a vrule of specific depth greater than any glyph depth possible, and
> then either cancel it or subtract that amount from the following \vskip.
> Inelegant, perhaps, but it has saved a lot of trouble for the past ten years.
> It is one way to get \vadjust material on the same baseline as the preceding
> hmode text.
>
> You can usually check out the accuracy of the \vskip by turning on
> \tracingpages and looking at the log file, although the log sometimes
> unaccountably skips reporting on one or more lines. 


Ivan Ramos Pagnossin  writes:

> Rodolfo, 25 pt is indeed 25 pt whatever the place, but there are some
> notices: if this vertical space lies on a page break, it will be completely
> dismissed. Other thing you must take into account is that you may have more
> vertical space than that you declared: \parskip and \baselineskip, for
> example, usually are rubber lengths (or glues, if you prefer). Another: plain
> TeX allows you to set a magnification for your entire document. So, if you
> define a magnification 2, you will get 50 pt instead. Ah, "25 pt" is exactly
> the same as "25pt plus 0pt minus 0pt". Did I forget something?


"Stanislaw Romanski"  writes:

> Maybe
>    \vglue 25 pt
> is what you are looking for.
> This is "definite" vertical space; it will never disappear.
> \vskip is removed in certain contexts,
> e.g. in the begin or end of page.



Thanks for your help.  I'll explain my problem: I have the following macro:


\def\subchapter#1{%
  \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize
  \bigskip\bigskip\vskip\parskip
  \leftline{#1}
  \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize
  \bigskip\vskip\parskip
  \par\nobreak\noindent\ignorespaces
     \vtop to 0pt
     \bgroup
     \vskip -25pt
     
     \vss
     \egroup
  \ignorespaces
}


Now, what I noticed is that the \vskip that I set to -25pt slightly varies, in
the output, from place to place.

Why does this happen, and what should put instead to prevent that lenght to
change?

Thanks again
Rodolfo


From P.Taylor at Rhul.Ac.Uk  Tue Jun 16 12:03:45 2009
From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd))
Date: Tue, 16 Jun 2009 11:03:45 +0100
Subject: [texhax] A question about stretchability and shrinkability
In-Reply-To: <670E91CFA592487B9961B5B3102CB5AC@datos57604fe5b>
References: <87ws7duwz7.fsf@gmail.com>
	<670E91CFA592487B9961B5B3102CB5AC@datos57604fe5b>
Message-ID: <4A376E01.8090309@Rhul.Ac.Uk>

But of course DEK realised after the birth
of TeX that \vglue at top-of-page did not
contribute the desired amount and was therefore
forced to include \topglue ...

	http://www.tex-tipografia.com/archive/ttltips.pdf

** Phil.
--------
Stanislaw Romanski wrote:
 > Hello,
 >
 > Maybe
 >    \vglue 25 pt
 > is what you are looking for.
 > This is "definite" vertical space; it will never disappear.
 > \vskip is removed in certain contexts,
 > e.g. in the begin or end of page.
 >
 > HTH
 >
 > Stanislaw Romanski

From madduck at madduck.net  Tue Jun 16 17:41:49 2009
From: madduck at madduck.net (martin f krafft)
Date: Tue, 16 Jun 2009 17:41:49 +0200
Subject: [texhax] listings.sty question: how to implement single-spacing
Message-ID: <20090616154149.GA20719@lapse.rw.madduck.net>

Hey folks,

I am using the wonderful listings.sty to typeset my code listings
for my thesis. Since I am using (have to use) double-spacing for the
flow text, I'd like to ensure single-spacing for listings to
conserve space, and because it actually increases the readability.

My attempts thus far have been foiled. The following does not work,
even though I can happily define the new environment with with
\lstnewenvironment if I don't try to use the singlespace environment
in its "constructor" and "destructor":

  \documentclass{article}
  \usepackage{listings,setspace}
  \lstnewenvironment{mylisting}
  {\begin{singlespace}\lstset{language=pascal}}
  {\end{singlespace}}
  \begin{document}
  \begin{mylisting}
  for i:=maxint to 0 do
  begin
  { do nothing }
  end;
  \end{mylisting}
  \end{document}

This gives me:

  % latex l.tex
  This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
  [...]
  Package: `setspace' 6.7 <2000/12/01>
  ) (./l.aux) (/usr/share/texmf-texlive/tex/latex/listings/lstlang1.sty)
  (/usr/share/texmf-texlive/tex/latex/base/omscmr.fd))
  *
   ^--- cursor just stays here and I am in TeX command mode

Do you have any idea how to make it do what I want? How can
I typeset visually-appealing listings (with frames across multiple
pages, labels and captions, I don't care so much about syntax
highlighting) in singly-spaced?

Thanks,

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"wickedness is a myth
 invented by good people
 to account for the curious attraction of others."
                                                        -- 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 ekmath at asianetindia.com  Wed Jun 17 02:50:25 2009
From: ekmath at asianetindia.com (E. Krishnan)
Date: Wed, 17 Jun 2009 06:20:25 +0530 (IST)
Subject: [texhax] fbox in align environment
In-Reply-To: 
References: 
Message-ID: 

On Tue, 16 Jun 2009, Philip G. Ratcliffe wrote:

>>    \usepackage{amsmath}
>>
>>    \begin{equation*}
>>      \setlength{\arraycolsep}{0pt}
>>      \renewcommand{\arraystretch}{1.25}
>>      \begin{array}{r@{\;}c@{\;}r@{\;}}
>>        x+y+2    & = & 1\\
>>        2x+3y-4z & = & 2\\
>>        \hline
>>        \multicolumn{1}{|r@{\;}}{3x-2y+z}
>>        & \multicolumn{1}{c@{\;}}{=}
>>        & \multicolumn{1}{r@{\;}|}{3}\\
>>        \hline
>>      \end{array}
>>    \end{equation*}
>
> A couple of comments:
>
> 1. the alignment of the third column ought to be with "l" (not "r");
> 2. if, e.g., the r.h.s. of one of the first two equations is longer (say,
> 1+p) then the output looks a little odd since the box is always as wide as
> the table and not a given entry (the same is also true w.r.t. the l.h.s.).

Thank you. Didn't think of these contingencies when I shot off the first 
solution that came to my mind. Anyway here's an entirely new attempt, this 
time using PostScript:

\usepackage{pstricks}

\newlength{\eqwd}
\newlength{\eqht}
\newlength{\eqdp}

\newcommand{\mkeqbx}[1]{%
   \settowidth{\eqwd}{$#1$}
   \settoheight{\eqht}{$#1$}
   \settodepth{\eqdp}{$#1$}
    \addtolength{\eqwd}{2pt}
    \addtolength{\eqht}{2pt}
    \addtolength{\eqdp}{2pt}
    \psframe(-2pt,-\eqdp)(\eqwd,\eqht)}


  \begin{align*}
     x+y+2    & = 1\\
     2x+3y-4z & = 2\\
     \mkeqbx{3x-2y+z=3}%
     3x-2y+z  & =3\\
     \mkeqbx{a=b+c+d}%
     a & = b+c+d\\
   \end{align*}



-- 
Krishnan

From ctz001 at email.mot.com  Wed Jun 17 02:42:40 2009
From: ctz001 at email.mot.com (T Ziomek)
Date: Tue, 16 Jun 2009 19:42:40 -0500
Subject: [texhax] 'verbatim' inside 'raisebox'?
In-Reply-To: <1150002926@web.de>
References: <1150002926@web.de>
Message-ID: <20090617004240.GA25422@email.mot.com>

Finally getting back to this after other distractions; sorry for the
delay in replying...


On Thu, Jun 11, 2009 at 08:39:46AM +0200, Uwe Lueck wrote:
> It is well known that verbatim environments are difficult ... 
> 
>     http://mirror.ctan.org/macros/latex/contrib/fancybox/fancybox.pdf
> 
> discusses this on pp. 18ff. and offers some solutions. 

Yes, thanks.  E. Krishnan referred to the same thing and that's what I
ended up using.

It is also referred to in the relevant FAQ entry,
, as Martin
Schroder referred to with "RTFAQ, please."  I unfortunately lost that
email and can't reply directly to it but, "Ack, yes, sorry".  I searched
but didn't find that, probably a/c of looking for for LaTeX FAQs but not
TeX FAQs.

> However, for \raisebox with only *short* (part of line) verbatim text
> the problem may be much easier than with listings that verbatim etc.
> are made for: 
> 
>     \newsavebox{\mybox}
>     \begin{lrbox}{\mybox}
>     \verb|\stuff|
>     \end{lrbox}
>     A\raisebox{1ex}{\usebox{\mybox}} B

I saw \verb before posting but since I'm doing multiline code listings
it wouldn't handle my needs.

Thanks all for the help,
Tom


P.S.  Are you aware your email client is not maintaining threading when
replying?  It causes your replies to appear "out of thread" in the ar-
chive.  For example this thread is at
 and the
replies from Tom S, Martin S and E. Krishnan appear threaded but yours
appears as a new, separate thread.  My MUA (mutt) handles it better but
still indicates a break in the thread (that doesn't really exist).
    Just FYI...not a big deal but maybe worth fixing if practical.
-- 
A: Because it breaks the logical        |
    flow of the message.                |   Email to user 'CTZ001'
                                        |             at 'email.mot.com'
Q: Why is top posting frowned upon?     |

From s-canagaratna at onu.edu  Tue Jun 16 17:52:15 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Tue, 16 Jun 2009 11:52:15 -0400
Subject: [texhax] fbox in align environment
In-Reply-To: 
References: 
	
Message-ID: <20090616155215.GA5962@localhost>

Phil: 
   Thanks for the note. Shortly after I posted my comments about
Krishnan's
code, I tried to add a further boxed equation of different length, a = b
+ c + d. The boxes, and the other unboxed equations don't behave well at
all. Even with your suggestion, the behavior is not good.

   Your code is robust, even when more then one boxed equation is used.
I noticed though, that trying to change the size of the box with
\fboxsep created some problems. It would be nice the have some option to
be able to change the size of the box, without interfering with the
alignment.

Sebastian.


On Tue, Jun 16, 2009 at 10:10:30AM +0200, Philip G. Ratcliffe wrote:
> >    \usepackage{amsmath}
> > 
> >    \begin{equation*}
> >      \setlength{\arraycolsep}{0pt}
> >      \renewcommand{\arraystretch}{1.25}
> >      \begin{array}{r@{\;}c@{\;}r@{\;}}
> >        x+y+2    & = & 1\\
> >        2x+3y-4z & = & 2\\
> >        \hline
> >        \multicolumn{1}{|r@{\;}}{3x-2y+z}
> >        & \multicolumn{1}{c@{\;}}{=}
> >        & \multicolumn{1}{r@{\;}|}{3}\\
> >        \hline
> >      \end{array}
> >    \end{equation*}
> 
> A couple of comments:
> 
> 1. the alignment of the third column ought to be with "l" (not "r");
> 2. if, e.g., the r.h.s. of one of the first two equations is longer (say,
> 1+p) then the output looks a little odd since the box is always as wide as
> the table and not a given entry (the same is also true w.r.t. the l.h.s.).
> 
> Cheers,  Phil
> 

From s-canagaratna at onu.edu  Wed Jun 17 03:47:32 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Tue, 16 Jun 2009 21:47:32 -0400
Subject: [texhax] fbox in align environment
In-Reply-To: 
References: <20090615013837.GA13441@localhost>
	
	<20090616021303.GB7744@localhost>
	
Message-ID: <20090617014732.GA7970@localhost>

Thanks, Krishnan, it works fine. Can it be made to work directly with
pdflatex? Right now, we'll have to get the .ps and then convert to pdf.
Not a big problem, but it would be nice, especially if one is using tikz
and pgf.


Sebastian

On Wed, Jun 17, 2009 at 06:24:06AM +0530, E. Krishnan wrote:
> On Mon, 15 Jun 2009, Sebastian Canagaratna wrote:
>
>>  Though I replied to texhax that your solution was OK, I tried the
>> following addition. I added the boxed equation a = b + c+ d, the boxing
>> being done exactly the way you did it. It turns out the start of the
>> hline is dependent on where the previous equation started, so the boxing
>> is not quite OK. Perhaps some modification is required, unless I am
>> doing it wrong.
>
> Sorry. Didn't think of these possibilities. Here's another try, this time 
> using the "pstricks" package:
>
> \newlength{\eqwd}
> \newlength{\eqht}
> \newlength{\eqdp}
>
> \newcommand{\mkeqbx}[1]{%
>   \settowidth{\eqwd}{$#1$}
>   \settoheight{\eqht}{$#1$}
>   \settodepth{\eqdp}{$#1$}
>    \addtolength{\eqwd}{2pt}
>    \addtolength{\eqht}{2pt}
>    \addtolength{\eqdp}{2pt}
>    \psframe(-2pt,-\eqdp)(\eqwd,\eqht)}
>
>
>  \begin{align*}
>     x+y+2    & = 1\\
>     2x+3y-4z & = 2\\
>     \mkeqbx{3x-2y+z=3}%
>     3x-2y+z  & =3\\
>     \mkeqbx{a=b+c+d}%
>     a & = b+c+d\\
>   \end{align*}
>
>
> Pleae check and see if I missed anything
>
>
> -- 
> Krishnan

From pstricks at tug.org  Tue Jun 16 08:44:59 2009
From: pstricks at tug.org (Hubert Lam)
Date: Tue, 16 Jun 2009 16:44:59 +1000
Subject: [texhax] Typing out nPr (permutations)
Message-ID: <1245134699.29198.1320589419@webmail.messagingengine.com>

Does anyone know of a macro in (AMS)LaTeX that has the symbol for nPr?

I understand that \binom{n}{r} and its variants, but there seems to be 
nothing for nPr.

The manual (and perhaps clumsy) way I've been using is

$^n P_r$

Many thanks,

Hubert

From davidebond at yahoo.it  Tue Jun 16 12:14:05 2009
From: davidebond at yahoo.it (davide bondoni)
Date: Tue, 16 Jun 2009 10:14:05 +0000 (GMT)
Subject: [texhax] wrong font
Message-ID: <184403.976.qm@web27702.mail.ukl.yahoo.com>


Good day,
   I want to signal an error with latex. Using the documentclass 'article' the Greek letter '\chi' in a mathematical environment results wrong, too high over the orizontal line. This error is corrected with the documentclass 'amsart'.

Best regards,

                         davide bondoni


      

From arvindmer at gmail.com  Tue Jun 16 16:13:27 2009
From: arvindmer at gmail.com (arvind mer)
Date: Tue, 16 Jun 2009 19:43:27 +0530
Subject: [texhax] font size and line space
Message-ID: <9e7ec6310906160713m3124f9a2h10362adc4cf62279@mail.gmail.com>

Hi

Its my first time with Latex, and everything is great about Latex.

I am writing my thesis using a thesis template.

But I have problem in two issues

First how to increase font of the thesis text and line spacing  ?????

The other is I would like to use nice fonts like Times New Roman for
my thesis.

How can I do that ??


Many thanks for your help.

-
Regards

Arvind Singh Mer
M.Tech (Computational & Systems Biology)
Centre for Computational Biology and Bioinformatics
School of Information Technology
Jawaharlal Nehru University
New Delhi, INDIA -110067

"Just because I don't care, doesn't mean I don't understand."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From philip.ratcliffe at fastwebnet.it  Wed Jun 17 09:21:40 2009
From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe)
Date: Wed, 17 Jun 2009 09:21:40 +0200
Subject: [texhax] Typing out nPr (permutations)
In-Reply-To: <1245134699.29198.1320589419@webmail.messagingengine.com>
Message-ID: 

> Does anyone know of a macro in (AMS)LaTeX that has the symbol for nPr?

No, I don't think there is such a macro.

> I understand that \binom{n}{r} and its variants, but there 
> seems to be nothing for nPr.
> 
> The manual (and perhaps clumsy) way I've been using is
> 
> $^n P_r$

You can use the tensor package to get better spacing and alignment:

\documentclass{article}
\usepackage{tensor}
\newcommand\Perms[2]{\tensor[^{#2}]P{_{#1}}}
\begin{document}
$\Perms{n}{r}$
\end{document}

Cheers,  Phil


From axel.retif at mac.com  Wed Jun 17 09:39:03 2009
From: axel.retif at mac.com (Axel E. Retif)
Date: Wed, 17 Jun 2009 02:39:03 -0500
Subject: [texhax] font size and line space
In-Reply-To: <9e7ec6310906160713m3124f9a2h10362adc4cf62279@mail.gmail.com>
References: <9e7ec6310906160713m3124f9a2h10362adc4cf62279@mail.gmail.com>
Message-ID: <2B78D291-FF80-4EE9-AC46-2A703B63071B@mac.com>

On  16 Jun, 2009, at 09:13, arvind mer wrote:

> Hi
>
> Its my first time with Latex, and everything is great about Latex.
>
> I am writing my thesis using a thesis template.
>
> But I have problem in two issues
>
>
> First how to increase font of the thesis text and line spacing  ?????
See the lshort.pdf in

http://ctan.tug.org/tex-archive/info/lshort/english/

Probably you already have it in your distribution. Also, some of the  
best tutorials you can find are from India's TeX User Group:

http://www.tug.org.in/tutorials.html

> The other is I would like to use nice fonts like Times New Roman for  
> my thesis.

I like the txfonts, but others use mathptmx; so,

\usepackage{mathptmx}   or   \usepackage{txfonts}

You'll see that in lshort.pdf.

Best,

Axel



From uwe.lueck at web.de  Wed Jun 17 10:16:51 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Wed, 17 Jun 2009 10:16:51 +0200
Subject: [texhax] 'verbatim' inside 'raisebox'?
Message-ID: <1153525552@web.de>

T Ziomek  schrieb am 17.06.2009 02:43:07:
> P.S.  Are you aware your email client is not maintaining threading when
> replying?  It causes your replies to appear "out of thread" in the ar-
> chive.  For example this thread is at
>  and the
> replies from Tom S, Martin S and E. Krishnan appear threaded but yours
> appears as a new, separate thread.  My MUA (mutt) handles it better but
> still indicates a break in the thread (that doesn't really exist).
>     Just FYI...not a big deal but maybe worth fixing if practical.
> -- 
> A: Because it breaks the logical        |
>     flow of the message.                |   Email to user 'CTZ001'
>                                         |             at 'email.mot.com'
> Q: Why is top posting frowned upon?     |

Thanks for the information -- what can I do about it? 

Until last year I used Eudora on a PC, now I prefer using the online mail program from web.de. Don't other posters here use it as well? 

Curious, 

    Uwe. 


From uwe.lueck at web.de  Wed Jun 17 10:49:02 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Wed, 17 Jun 2009 10:49:02 +0200
Subject: [texhax] 'verbatim' inside 'raisebox'?
Message-ID: <1153550941@web.de>

T Ziomek  schrieb am 17.06.2009 02:43:07:
> Finally getting back to this after other distractions; sorry for the
> delay in replying...
> 
> 
> On Thu, Jun 11, 2009 at 08:39:46AM +0200, Uwe Lueck wrote:
> > It is well known that verbatim environments are difficult ... 
> > 
> >     http://mirror.ctan.org/macros/latex/contrib/fancybox/fancybox.pdf
> > 
> > discusses this on pp. 18ff. and offers some solutions. 
> 
> Yes, thanks.  E. Krishnan referred to the same thing and that's what I
> ended up using.

Actually, he referred to fancyvrb. I suggested \savebox/\usebox instead because I reasoned that \raisebox is not reasonable with multiline content.

> I saw \verb before posting but since I'm doing multiline code listings
> it wouldn't handle my needs.

> It is also referred to in the relevant FAQ entry,
> , as Martin
> Schroder referred to with "RTFAQ, please."  I unfortunately lost that
> email and can't reply directly to it but, "Ack, yes, sorry".  I searched
> but didn't find that, probably a/c of looking for for LaTeX FAQs but not
> TeX FAQs.

I wonder whether posters really should be asked to RTFAQ. 
The UK FAQ is often nice to read, but finding something specific may be difficult. 
I have no better idea to enter "verbatim box" in this case, but you will not find "label=verwithin" this way soon. 
And in this special case you then still have to read a lot about the varieties of the problem until you find the solution for your special problem. 

Cheers, 

    Uwe. 


From news3 at nililand.de  Wed Jun 17 12:03:15 2009
From: news3 at nililand.de (Ulrike Fischer)
Date: Wed, 17 Jun 2009 12:03:15 +0200
Subject: [texhax] listings.sty question: how to implement single-spacing
References: <20090616154149.GA20719@lapse.rw.madduck.net>
Message-ID: <6c678vlfzvtp.dlg@nililand.de>

Am Tue, 16 Jun 2009 17:41:49 +0200 schrieb martin f krafft:

> Hey folks,
> 
> I am using the wonderful listings.sty to typeset my code listings
> for my thesis. Since I am using (have to use) double-spacing for the
> flow text, I'd like to ensure single-spacing for listings to
> conserve space, and because it actually increases the readability.
> 
> My attempts thus far have been foiled. The following does not work,
> even though I can happily define the new environment with with
> \lstnewenvironment if I don't try to use the singlespace environment
> in its "constructor" and "destructor":
> 
>   \documentclass{article}
>   \usepackage{listings,setspace}
>   \lstnewenvironment{mylisting}
>   {\begin{singlespace}\lstset{language=pascal}}
>   {\end{singlespace}}
>   \begin{document}
>   \begin{mylisting}
>   for i:=maxint to 0 do
>   begin
>   { do nothing }
>   end;
>   \end{mylisting}
>   \end{document}
> 
> This gives me:
> 
>   % latex l.tex
>   This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
>   [...]
>   Package: `setspace' 6.7 <2000/12/01>
>   ) (./l.aux) (/usr/share/texmf-texlive/tex/latex/listings/lstlang1.sty)
>   (/usr/share/texmf-texlive/tex/latex/base/omscmr.fd))
>   *
>    ^--- cursor just stays here and I am in TeX command mode
> 
> Do you have any idea how to make it do what I want?

There is no need to use an environment. Use the command:

\documentclass{article}
  \usepackage{listings,setspace}
  \doublespacing %for test
  \lstnewenvironment{mylisting}
  {\singlespacing\lstset{language=pascal}}
  {}
  \begin{document}
  \begin{mylisting}
  for i:=maxint to 0 do
  begin
  { do nothing }
  end;
  \end{mylisting}
  
  a\\b
  \end{document}



-- 
Ulrike Fischer 


From sleep_well at web.de  Wed Jun 17 07:16:07 2009
From: sleep_well at web.de (Marcel Knie)
Date: Wed, 17 Jun 2009 07:16:07 +0200
Subject: [texhax] typesetting of a critical text editiom
Message-ID: <1123360534@web.de>

hi, 

it is me again with the same problem and another one. The publisher want to have this special paired footnotes and facing pages here is on the one side the source and on the other side the translation. I thought I can manage these problems with the bigfoot.sty and parallel.sty but and the author of the bigfoot.sty said to he will add the solution of this problem to the documentation. But the parallel.sty do not work together with bigfoot.sty, so I have to find another way to solve the problems. 

So now my questions: 

Is anybody there how answered questions to ledpar?
Respectivly is it possible to make paired footnotes with ledpar?
Or another idea. Is it possible to define a footnotecounter, which looks like this in the footnoteapparatus a-a, b-b, c-c, and so on but which looks in the text like a normal footnote and i count the normal footnotecounter and this defined footnotecounter manually.

The odd page have  to look like this:
----------------------------
|
|
|
| te'[xt text text]' text
| text'' text text text
| text [te'''xt text text'''
| text]
|
| footnoteapparatus
| '-' explanation
| '' explanation
| '''-''' explanation
|
----------------------------
': stands for a letter or number

The even page have  to look like this:
----------------------------
|
|
|
| tra*[nslation ]* trans
| lation** translation tra
| nslation [***translation***
| tran] slation
|
| footnoteapparatus
| *-* explanation
| ** explanation
| ***-*** explanation
|
----------------------------

* another footnoteapparatus

Thanks again for your help


____________________________________________________________
Text: GRATIS f?r alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


From nar at soton.ac.uk  Wed Jun 17 11:08:53 2009
From: nar at soton.ac.uk (Nucleic Acids Research)
Date: Wed, 17 Jun 2009 10:08:53 +0100
Subject: [texhax] error with the crop package saying the 'b4center' is not
	provided
Message-ID: <88DC65E79083C1449216401AB663D2CA5667DA9966@UOS-CL-EX7-L2.soton.ac.uk>

Hello,

We have created LaTeX templates for our journal. These were posted on our website a couple of days ago but an author has already spotted a problem. I do not understand LaTeX, would you be able to tell me how to fix the problem? I add the message below and the templates can be downloaded from here
http://www.oxfordjournals.org/our_journals/nar/for_authors/msprep_submission.html under the first heading.

Author message: I have downloaded your latex template from your webpage, tried to compile it but it does not work. It gives an error with the crop package saying the 'b4center' is not provided. I have downloaded the crop package but it does not fix it. I am working under Windows XP. Would you know how to fix this?

Any help will be greatly appreciated. Thank you!

Best wishes,
Martine

_______________________

Martine Bernardes Silva | Editorial Manager | Nucleic Acids Research

Oxford Journals | Oxford University Press

School of Biological Sciences | University of Southampton
Boldrewood Campus | Southampton | SO15 1GT

T: +44 (0)2380 597748
E: nar at soton.ac.uk
F: +44 (0)2380 597748
W: http://nar.oxfordjournals.org/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From news3 at nililand.de  Wed Jun 17 16:11:06 2009
From: news3 at nililand.de (Ulrike Fischer)
Date: Wed, 17 Jun 2009 16:11:06 +0200
Subject: [texhax] error with the crop package saying the 'b4center' is
	not provided
References: <88DC65E79083C1449216401AB663D2CA5667DA9966@UOS-CL-EX7-L2.soton.ac.uk>
Message-ID: <23m2fdh4ci8b.dlg@nililand.de>

Am Wed, 17 Jun 2009 10:08:53 +0100 schrieb Nucleic Acids Research:

> Hello,
> 
> We have created LaTeX templates for our journal.
...

> Author message: I have downloaded your latex template from your
> webpage, tried to compile it but it does not work. It gives an
> error with the crop package saying the 'b4center' is not
> provided. I have downloaded the crop package but it does not fix
> it. I am working under Windows XP. Would you know how to fix
> this?
> 
> Any help will be greatly appreciated. Thank you!

Your code contains the lines 

\DeclareOption{b4center}{\PassOptionsToPackage{b4center}{crop}}
\DeclareOption{a4center}{\PassOptionsToPackage{a4center}{crop}}

But crop doesn't know this options. But it knows a4 and center so
you probably meant (untested):

\DeclareOption{b4center}{\PassOptionsToPackage{b4,center}{crop}}
\DeclareOption{a4center}{\PassOptionsToPackage{a4,center}{crop}}


-- 
Ulrike Fischer 


From philip.ratcliffe at fastwebnet.it  Wed Jun 17 16:13:59 2009
From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe)
Date: Wed, 17 Jun 2009 16:13:59 +0200
Subject: [texhax] fbox in align environment
In-Reply-To: <20090617014732.GA7970@localhost>
Message-ID: 

Here's a more self-contained version, which should handling alignmnet better
and allows for changing of \fboxsep via \alignboxedsep:

\documentclass{article}
\usepackage{amsmath}
\def\alignboxed#1\endalignboxed{%
  \bgroup
  \fboxsep=\alignboxedsep
  \rlap{\boxed{#1#2}}\hphantom{#1\kern\fboxsep}
  \egroup
}
\newlength{\alignboxedsep}
\alignboxedsep=1pt
\begin{document}
\begin{align}
  f_1(x) &= a+bx,
\\
  \alignboxed
  f_2(x) &= a+bx+cx?,
  \endalignboxed
\\
  \alignboxed
  f_3(x) &= a+bx+cx?+dx?.
  \endalignboxed
\end{align}
\begin{align*}
  x+y+2    & = 1
\\
  2x+3y-4z & = 2
\\
  \alignboxed
  3x-2y+z  & =3
  \endalignboxed
\\
  \alignboxed
  a & = b+c+d
  \endalignboxed
\end{align*}
\end{document}

Cheers,  Phil


From janert at ieee.org  Wed Jun 17 17:32:50 2009
From: janert at ieee.org (Philipp K. Janert)
Date: Wed, 17 Jun 2009 08:32:50 -0700
Subject: [texhax] Extract equations as EPS from larger doc?
In-Reply-To: 
References: <200906102009.48743.janert@ieee.org>
	
Message-ID: <200906170832.50813.janert@ieee.org>


Thanks for all replies, although I actually did not
get a suitable answer.

To restate: I don't want to extract LaTeX commands
from a text/html/tex file for post-processing. I want to 
extract EPS of individual equations from a multipage 
EPS. 

For reference, here is what I found:

The dvips tool has a useful -pp option, which allows
the user to specify a page (or range of pages) to 
convert. Together with -E (for EPS), this will do what
I need, as long as I put each equation onto a separate
page.

It seems to me that there is a gap here for a package
that handles all of this in one fell swoop, ideally in such
a way that I can specify the filenames of the resulting
single-equation EPS files right there in the LaTeX file.

The rationale for all of this is that I am writing a 
manuscript for PRINT publishing in DocBook, which
means that I have to submit all serious math as 
scalable graphics. I would guess others have been
through the same loop before. (Isn't it wonderful how 
publishing technology has progressed in the last
30 years.)

Thanks again.

Best,

		Ph.

From ctz001 at email.mot.com  Wed Jun 17 17:43:38 2009
From: ctz001 at email.mot.com (T Ziomek)
Date: Wed, 17 Jun 2009 10:43:38 -0500
Subject: [texhax] 'verbatim' inside 'raisebox'?
In-Reply-To: <1153525552@web.de>
References: <1153525552@web.de>
Message-ID: <20090617154338.GC6095@email.mot.com>

On Wed, Jun 17, 2009 at 10:16:51AM +0200, Uwe Lueck wrote:
> T Ziomek  schrieb am 17.06.2009 02:43:07:
> > P.S.  Are you aware your email client is not maintaining threading when
> > replying?  It causes your replies to appear "out of thread" in the ar-
> > chive.  For example this thread is at
> >  and the
> > replies from Tom S, Martin S and E. Krishnan appear threaded but yours
> > appears as a new, separate thread.  My MUA (mutt) handles it better but
> > still indicates a break in the thread (that doesn't really exist).
> >     Just FYI...not a big deal but maybe worth fixing if practical.
> 
> Thanks for the information -- what can I do about it? 
> 
> Until last year I used Eudora on a PC, now I prefer using the online
> mail program from web.de. Don't other posters here use it as well? 

[If we're to discuss this any further we should probably take it private
 a/c it's off-topic for the TeX maillists...]

I'm no email expert, but looking at the headers from the replies I re-
ceived the others contain "References:" and "In-reply-to:" headers (see
) but yours does not, and I think
that's the problem.  The normal answer would probably to change your MUA
(email client) configuration, or change MUAs if your current one is
incapable of generating the proper headers.  I'm not familiar w/ web.de
but assuming it's a web-based email service like GMail then probably all
you can do is ask them to change (I'd argue, "fix") its behavior.

Tom
-- 
A: Because it breaks the logical        |
    flow of the message.                |   Email to user 'CTZ001'
                                        |             at 'email.mot.com'
Q: Why is top posting frowned upon?     |

From uwe.lueck at web.de  Wed Jun 17 17:54:13 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Wed, 17 Jun 2009 17:54:13 +0200
Subject: [texhax] Extract equations as EPS from larger doc?
Message-ID: <1153850615@web.de>

"Philipp K. Janert"  schrieb am 17.06.2009 17:35:23:
> 
> I want to extract EPS of individual equations from a multipage EPS. 

Funny, unlike the English Wikipedia, the German Wikipedia on 
"Encapsulated PostScript" tells that "multipage EPS" is a contradiction. 

Cheers, 

    Uwe. 


From janert at ieee.org  Wed Jun 17 18:03:40 2009
From: janert at ieee.org (Philipp K. Janert)
Date: Wed, 17 Jun 2009 09:03:40 -0700
Subject: [texhax] Extract equations as EPS from larger doc?
In-Reply-To: <1153850615@web.de>
References: <1153850615@web.de>
Message-ID: <200906170903.40295.janert@ieee.org>

On Wednesday 17 June 2009 08:54:13 am Uwe Lueck wrote:
> "Philipp K. Janert"  schrieb am 17.06.2009 17:35:23:
> > I want to extract EPS of individual equations from a multipage EPS.
>
> Funny, unlike the English Wikipedia, the German Wikipedia on
> "Encapsulated PostScript" tells that "multipage EPS" is a contradiction.

That's probably right. Let me rephrase:

"I want to extract EPS of individual equations from
a multipage PostScript document."

>
> Cheers,
>
>     Uwe.



From ekmath at asianetindia.com  Wed Jun 17 19:45:54 2009
From: ekmath at asianetindia.com (E. Krishnan)
Date: Wed, 17 Jun 2009 23:15:54 +0530 (IST)
Subject: [texhax] fbox in align environment
In-Reply-To: <20090617014732.GA7970@localhost>
References: <20090615013837.GA13441@localhost>
	
	<20090616021303.GB7744@localhost>
	
	<20090617014732.GA7970@localhost>
Message-ID: 

On Tue, 16 Jun 2009, Sebastian Canagaratna wrote:

> Can it be made to work directly with pdflatex?

How about this?

   \usepackage{calc}

   \newlength{\eqwd}
   \newlength{\eqht}
   \newlength{\eqdp}
   \newlength{\shift}

   \newcommand{\mkeqbx}[1]{%
   \settowidth{\eqwd}{$#1$}%
   \settoheight{\eqht}{$#1$}%
   \settodepth{\eqdp}{$#1$}%
   \setlength{\shift}{\eqwd+3pt}
   \hspace{-\shift}%
   \framebox{\rule[-\eqdp]{0pt}{\eqht+\eqdp}\hphantom{$#1$}}}


   \begin{align*}
     x+y+2    & = 1\\
     2x+3y-4z & = 2\\
     3x-2y+z  & =3%
     \mkeqbx{3x-2y+z=3}\\
     a        & = b+c+d%
     \mkeqbx{a=b+c+d}\\
   \end{align*}





-- 
Krishnan

From ekmath at asianetindia.com  Wed Jun 17 20:15:35 2009
From: ekmath at asianetindia.com (E. Krishnan)
Date: Wed, 17 Jun 2009 23:45:35 +0530 (IST)
Subject: [texhax] fbox in align environment
In-Reply-To: 
References: <20090615013837.GA13441@localhost>
	
	<20090616021303.GB7744@localhost>
	
	<20090617014732.GA7970@localhost>
	
Message-ID: 

On Wed, 17 Jun 2009, E. Krishnan wrote:

> On Tue, 16 Jun 2009, Sebastian Canagaratna wrote:
>
>> Can it be made to work directly with pdflatex?
>
> How about this?
>
>  \usepackage{calc}
>
>  \newlength{\eqwd}
>  \newlength{\eqht}
>  \newlength{\eqdp}
>  \newlength{\shift}
>
>  \newcommand{\mkeqbx}[1]{%
>  \settowidth{\eqwd}{$#1$}%
>  \settoheight{\eqht}{$#1$}%
>  \settodepth{\eqdp}{$#1$}%
>  \setlength{\shift}{\eqwd+3pt}
>  \hspace{-\shift}%
>  \framebox{\rule[-\eqdp]{0pt}{\eqht+\eqdp}\hphantom{$#1$}}}


It is slightly better to have

\newcommand{\mkeqbx}[1]{%
   \settowidth{\eqwd}{$#1$}%
   \settoheight{\eqht}{$#1$}%
   \settodepth{\eqdp}{$#1$}%
   \setlength{\shift}{-\eqwd-\fboxsep}   %%%%%%% default \fboxsep=3pt
   \hspace{\shift}%
   \framebox{\rule[-\eqdp]{0pt}{\eqht+\eqdp}\hphantom{$#1$}}}



-- 
Krishnan

From arvindmer at gmail.com  Thu Jun 18 13:32:48 2009
From: arvindmer at gmail.com (arvind mer)
Date: Thu, 18 Jun 2009 17:02:48 +0530
Subject: [texhax] How to install (Calligraphic) font
Message-ID: <9e7ec6310906180432o26139780od5dd022bf1c2a082@mail.gmail.com>

I want to write document using different fonts like Calligraphic font.

A font package is available at
http://www.ctan.org/tex-archive/help/Catalogue/entries/fundus.html

But How can I install and use it ??

Can anybody please tell me the step by step method to install and use these
(and other new fonts)

Thanks.....

-- 
Regards

Arvind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From res at math.brown.edu  Thu Jun 18 16:53:34 2009
From: res at math.brown.edu (res at math.brown.edu)
Date: Thu, 18 Jun 2009 10:53:34 -0400
Subject: [texhax] a LaTeX question
Message-ID: <20090618105334.urxm35xsqsocs4cg@newton.math.brown.edu>

Dear texhax,

I learned about your email address from Gerree Pecht, who is an
avid TeX user and probably a member of the TeX User's Group.  I
have a TeX problem that I can't solve.

I have written a math research monograph for Princeton Press.
The monograph has 1 appendix.  This appendix is called

Appendix A

The various statements in Appendix A appear as

Section A.1
Theorem A.2
Figure A.5
etc.

The header (across the right hand pages) reads
Appendix A.

All of this works perfectly, except for one problem.  The
editor does not want us to call the appendix Appendix A
because there is no Appendix B and "Appendix A" might look
like an error to some observers.

The editor would like to switch this to the following:
The appendix should be called

Appendix    (I know how to fix this)

The statements within the appendix should remain

Section A.1
etc.

The header should change to

Appendix

That is, the A should be removed.  This is the problem I do
not know how to fix.   I have two questions, one that is important
and one that is just for my own curiousity.

1. How do you fix my problem?

2. Why would LaTeX arrange things so that a book with just one
appendix would have that appendix be called "Appendix A"?  Or,
do the writers of LaTeX think that a single appendix called
"Appendix A" is actually the most correct setup?  (I don't mind
"Appendix A" personally.)

Thanks for any help you can give.

Best,
Rich Schwartz
http://www.math.brown.edu/~res



From tomfool at as220.org  Thu Jun 18 17:52:08 2009
From: tomfool at as220.org (tom sgouros)
Date: Thu, 18 Jun 2009 11:52:08 -0400
Subject: [texhax] a LaTeX question
In-Reply-To: <20090618105334.urxm35xsqsocs4cg@newton.math.brown.edu> 
References: <20090618105334.urxm35xsqsocs4cg@newton.math.brown.edu>
Message-ID: <10676.1245340328@as220.org>


It sounds like you only need to fix the header.  Look up the
documentation about the \leftmark and \rightmark and just set them
appropriately.  I'd be more specific, but it kind of depends on which
packages you're using, which you didn't mention.

 -tom

-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net

From bnb at ams.org  Thu Jun 18 18:45:33 2009
From: bnb at ams.org (Barbara Beeton)
Date: Thu, 18 Jun 2009 12:45:33 -0400 (EDT)
Subject: [texhax] a LaTeX question
In-Reply-To: <20090618105334.urxm35xsqsocs4cg@newton.math.brown.edu>
References: <20090618105334.urxm35xsqsocs4cg@newton.math.brown.edu>
Message-ID: 

rich,

    I have written a math research monograph for Princeton Press.
    The monograph has 1 appendix.  This appendix is called

    Appendix A

    The various statements in Appendix A appear as

    Section A.1
    Theorem A.2
    Figure A.5
    etc.

    [...]

    1. How do you fix my problem?

you don't say what document class you're
using, but if it happens to be based on
amsbook, the answer is described in detail
in the ams author faq:

  http://www.ams.org/authors/author-faq.html#oneappendix

if you're using some other document class,
it's likely that at least some of this
information will be helpful.
    
    2. Why would LaTeX arrange things so that a book with just one
    appendix would have that appendix be called "Appendix A"?  Or,
    do the writers of LaTeX think that a single appendix called
    "Appendix A" is actually the most correct setup?  (I don't mind
    "Appendix A" personally.)

not being a member of the latex team, i
can't give an authoritative answer, but
conjecture that it's much easier to reset
what's necessary when only one appendix
is involved than it is to construct the
mechanism for multiple indexes.

good luck.
							-- bb

From robstafarian at verizon.net  Thu Jun 18 18:37:36 2009
From: robstafarian at verizon.net (Robert Haener IV)
Date: Thu, 18 Jun 2009 12:37:36 -0400
Subject: [texhax] How to install (Calligraphic) font
In-Reply-To: <9e7ec6310906180432o26139780od5dd022bf1c2a082@mail.gmail.com>
References: <9e7ec6310906180432o26139780od5dd022bf1c2a082@mail.gmail.com>
Message-ID: <4A3A6D50.8050608@verizon.net>

Almost five years ago I printed the following page, and I have never needed another LaTeX reference since (apart from "The LaTeX Companion, Second Edition"):

http://www.ctan.org/pub/tex-archive/installationadvice/


I hope this helps you; please do post again if you still have difficulty after reading this document.


Best regards,
Robert Haener IV

From s-canagaratna at onu.edu  Wed Jun 17 18:20:15 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Wed, 17 Jun 2009 12:20:15 -0400
Subject: [texhax] fbox in align environment
In-Reply-To: 
References: <20090617014732.GA7970@localhost>
	
Message-ID: <20090617162015.GB6222@localhost>

Phil:

   I have solved the problem. My mailer seems to have introduced the
characters 3D in lots of places. I removed them and the code works.

   It works like a charm. It works under pdflatex as well. I tried
alignedboxsep as 10 pt, and it works fine.

   Thanks very much.

   Sebastian

On Wed, Jun 17, 2009 at 04:13:59PM +0200, Philip G. Ratcliffe wrote:
> Here's a more self-contained version, which should handling alignmnet better
> and allows for changing of \fboxsep via \alignboxedsep:
> 
> \documentclass{article}
> \usepackage{amsmath}
> \def\alignboxed#1\endalignboxed{%
>   \bgroup
>   \fboxsep=\alignboxedsep
>   \rlap{\boxed{#1#2}}\hphantom{#1\kern\fboxsep}
>   \egroup
> }
> \newlength{\alignboxedsep}
> \alignboxedsep=1pt
> \begin{document}
> \begin{align}
>   f_1(x) &= a+bx,
> \\
>   \alignboxed
>   f_2(x) &= a+bx+cx?,
>   \endalignboxed
> \\
>   \alignboxed
>   f_3(x) &= a+bx+cx?+dx?.
>   \endalignboxed
> \end{align}
> \begin{align*}
>   x+y+2    & = 1
> \\
>   2x+3y-4z & = 2
> \\
>   \alignboxed
>   3x-2y+z  & =3
>   \endalignboxed
> \\
>   \alignboxed
>   a & = b+c+d
>   \endalignboxed
> \end{align*}
> \end{document}
> 
> Cheers,  Phil
> 

From s-canagaratna at onu.edu  Thu Jun 18 03:42:46 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Wed, 17 Jun 2009 21:42:46 -0400
Subject: [texhax] fbox in align environment
In-Reply-To: 
References: <20090615013837.GA13441@localhost>
	
	<20090616021303.GB7744@localhost>
	
	<20090617014732.GA7970@localhost>
	
	
Message-ID: <20090618014246.GA6075@localhost>

Krishnan:

    Thank you very much. It works beautifully. I changed fboxsep and the
alignment is maintained. And, it works with pdflatex.

Sebastian

On Wed, Jun 17, 2009 at 11:45:35PM +0530, E. Krishnan wrote:
> On Wed, 17 Jun 2009, E. Krishnan wrote:
>
>> On Tue, 16 Jun 2009, Sebastian Canagaratna wrote:
>>
>>> Can it be made to work directly with pdflatex?
>>
>> How about this?
>>
>>  \usepackage{calc}
>>
>>  \newlength{\eqwd}
>>  \newlength{\eqht}
>>  \newlength{\eqdp}
>>  \newlength{\shift}
>>
>>  \newcommand{\mkeqbx}[1]{%
>>  \settowidth{\eqwd}{$#1$}%
>>  \settoheight{\eqht}{$#1$}%
>>  \settodepth{\eqdp}{$#1$}%
>>  \setlength{\shift}{\eqwd+3pt}
>>  \hspace{-\shift}%
>>  \framebox{\rule[-\eqdp]{0pt}{\eqht+\eqdp}\hphantom{$#1$}}}
>
>
> It is slightly better to have
>
> \newcommand{\mkeqbx}[1]{%
>   \settowidth{\eqwd}{$#1$}%
>   \settoheight{\eqht}{$#1$}%
>   \settodepth{\eqdp}{$#1$}%
>   \setlength{\shift}{-\eqwd-\fboxsep}   %%%%%%% default \fboxsep=3pt
>   \hspace{\shift}%
>   \framebox{\rule[-\eqdp]{0pt}{\eqht+\eqdp}\hphantom{$#1$}}}
>
>
>
> -- 
> Krishnan

From s-canagaratna at onu.edu  Wed Jun 17 18:12:06 2009
From: s-canagaratna at onu.edu (Sebastian Canagaratna)
Date: Wed, 17 Jun 2009 12:12:06 -0400
Subject: [texhax] fbox in align environment
In-Reply-To: 
References: <20090617014732.GA7970@localhost>
	
Message-ID: <20090617161206.GA6222@localhost>

Phil: 

  I am having some problem getting your code to work. i am using
texlive, the latest version. I am unfamiliar with the 3D format you are
using for lengths. I presume this stands for the space occupied by "3D"?
Whatever it is, here is the error message I get:

ERROR: Illegal unit of measure (pt inserted).

--- TeX said ---
 
                   D
l.13 \alignboxedsep=3D1
                       pt
--- HELP ---
If you just got a

      ! Missing number, treated as zero.

error, then this is part of the same problem.  If not, it means that
LaTeX was expecting a length as an argument and found a number
instead.  The most common cause of this error is writing 0 instead of
something like 0in for a length of zero, in which case typing return
should result in correct output. However, the error can also be caused
by omitting a command argument.

Just in case my mailer mangled the code, here is what I am using:

\documentclass{article}
\usepackage{amsmath}
\def\alignboxed#1\endalignboxed{%
  \bgroup
  \fboxsep=3D\alignboxedsep
  \rlap{\boxed{#1#2}}\hphantom{#1\kern\fboxsep}
  \egroup
}
\newlength{\alignboxedsep}
\alignboxedsep=3D1pt
\begin{document}
\begin{align}
  f_1(x) &=3D a+bx,
\\
  \alignboxed
  f_2(x) &=3D a+bx+cx=B2,
  \endalignboxed
\\
  \alignboxed
  f_3(x) &=3D a+bx+cx=B2+dx=B3.
  \endalignboxed
\end{align}
\begin{align*}
  x+y+2    & =3D 1
\\
  2x+3y-4z & =3D 2
\\
  \alignboxed
  3x-2y+z  & =3D3
  \endalignboxed
\\
  \alignboxed
  a & =3D b+c+d
  \endalignboxed
\end{align*}
\end{document}
I will experiment to see whether I can solve it on my own. Since you
have tested it, I presume my mailer introduced some character. I'll try
and track it down. Thanks.

Sebastian

On Wed, Jun 17, 2009 at 04:13:59PM +0200, Philip G. Ratcliffe wrote:
> Here's a more self-contained version, which should handling alignmnet better
> and allows for changing of \fboxsep via \alignboxedsep:
> 
> \documentclass{article}
> \usepackage{amsmath}
> \def\alignboxed#1\endalignboxed{%
>   \bgroup
>   \fboxsep=\alignboxedsep
>   \rlap{\boxed{#1#2}}\hphantom{#1\kern\fboxsep}
>   \egroup
> }
> \newlength{\alignboxedsep}
> \alignboxedsep=1pt
> \begin{document}
> \begin{align}
>   f_1(x) &= a+bx,
> \\
>   \alignboxed
>   f_2(x) &= a+bx+cx?,
>   \endalignboxed
> \\
>   \alignboxed
>   f_3(x) &= a+bx+cx?+dx?.
>   \endalignboxed
> \end{align}
> \begin{align*}
>   x+y+2    & = 1
> \\
>   2x+3y-4z & = 2
> \\
>   \alignboxed
>   3x-2y+z  & =3
>   \endalignboxed
> \\
>   \alignboxed
>   a & = b+c+d
>   \endalignboxed
> \end{align*}
> \end{document}
> 
> Cheers,  Phil
> 

From joelcsalomon at gmail.com  Fri Jun 19 01:16:58 2009
From: joelcsalomon at gmail.com (Joel C. Salomon)
Date: Thu, 18 Jun 2009 19:16:58 -0400
Subject: [texhax] LaTeX equivalent of Paul Taylor's abbrevs.sty?
Message-ID: <4A3ACAEA.5010506@gmail.com>

I just fount Paul Taylor?s abbrev.sty, at
, which provides macros for things
like e.g., i.e., etc.  There seems to be a fair amount of TeXnique so
that one can write \etc without escaping the space and get {\it etc}.\?

Is there a LaTeX package that can do a similar thing?  Or is there
someone willing to hold my hand while I LaTeXify it?

?Joel Salomon

From madduck at madduck.net  Thu Jun 18 17:08:56 2009
From: madduck at madduck.net (martin f krafft)
Date: Thu, 18 Jun 2009 17:08:56 +0200
Subject: [texhax] listings.sty question: how to implement single-spacing
In-Reply-To: <6c678vlfzvtp.dlg@nililand.de>
References: <20090616154149.GA20719@lapse.rw.madduck.net>
	<6c678vlfzvtp.dlg@nililand.de>
Message-ID: <20090618150856.GA21776@lapse.rw.madduck.net>

also sprach Ulrike Fischer  [2009.06.17.1203 +0200]:
> There is no need to use an environment. Use the command:
> 
> \documentclass{article}
>   \usepackage{listings,setspace}
>   \doublespacing %for test
>   \lstnewenvironment{mylisting}
>   {\singlespacing\lstset{language=pascal}}

Grand! This worked. Danke!

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"time flies like an arrow. fruit flies like a banana."
                                                       -- groucho marx
 
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 philip.ratcliffe at fastwebnet.it  Fri Jun 19 11:00:23 2009
From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe)
Date: Fri, 19 Jun 2009 11:00:23 +0200
Subject: [texhax] LaTeX equivalent of Paul Taylor's abbrevs.sty?
In-Reply-To: <4A3ACAEA.5010506@gmail.com>
Message-ID: <1A8C6C094A1F492E83D9BDE38D80105C@PGR1>

> I just fount Paul Taylor?s abbrev.sty, at 
> , which provides macros 
> for things like e.g., i.e., etc.  There seems to be a fair 
> amount of TeXnique so that one can write \etc without 
> escaping the space and get {\it etc}.\?
> 
> Is there a LaTeX package that can do a similar thing?  Or is 
> there someone willing to hold my hand while I LaTeXify it?

Does it not work "as is" under LaTeX?

Anyway, here are a couple of packages that I've developed over the years (and do actually use pretty regularly), which I could upload to CTAN (and maintain properly) if there were sufficient interest.

As the name suggests, foreign.sty  does rather more than just define abbreviations and it's  xpuncuate.sty that actually handles the following periods, commas etc.

Cheers,  Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xpunctuate.sty
Type: application/octet-stream
Size: 1978 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foreign.sty
Type: application/octet-stream
Size: 3784 bytes
Desc: not available
URL: 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foreign.cfg
Type: application/octet-stream
Size: 4149 bytes
Desc: not available
URL: 

From mahi2308 at rediffmail.com  Fri Jun 19 12:32:15 2009
From: mahi2308 at rediffmail.com (mahi)
Date: 19 Jun 2009 10:32:15 -0000
Subject: [texhax] multirow
Message-ID: <20090619103215.9941.qmail@f4mail-235-239.rediffmail.com>

Hi

I am miktex user and i am using a multirow package, is there any option to give a vertical alignment for multirows (e.g. top bottom center)


Thanks




Maheshwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From axel.retif at mac.com  Fri Jun 19 14:17:23 2009
From: axel.retif at mac.com (Axel E. Retif)
Date: Fri, 19 Jun 2009 07:17:23 -0500
Subject: [texhax] multirow
In-Reply-To: <20090619103215.9941.qmail@f4mail-235-239.rediffmail.com>
References: <20090619103215.9941.qmail@f4mail-235-239.rediffmail.com>
Message-ID: <696CD7E0-090E-47B8-A7BE-5ECC15140F11@mac.com>

On  19 Jun, 2009, at 05:32, mahi wrote:

> Hi
>
> I am miktex user and i am using a multirow package, is there any  
> option to give a vertical alignment for multirows (e.g. top bottom  
> center)

I think what you want is provided by the array package; see the LaTeX  
Primer by India's TUG:

http://sarovar.org/frs/?group_id=48&release_id=105

especially p. 70 (but read the whole section VII.2 Tables: it covers  
multirow as well).


Best,

Axel



From uwe.lueck at web.de  Fri Jun 19 15:19:17 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Fri, 19 Jun 2009 15:19:17 +0200
Subject: [texhax] Extract equations as EPS from larger doc?
Message-ID: <1155191631@web.de>

[sorry if loosing thread again due to web.de]

"Philipp K. Janert"  schrieb am 17.06.2009 18:05:51:
> "I want to extract EPS of individual equations from
> a multipage PostScript document."

I don't know much of these things, only were busy with parsing .eps with TeX as in the graphics package ... 

.. but this looks like throwing the logical information away and then trying to retrieve it from the glyph placement information, so seems not so sound ... 

The `extract' package -- www.ctan.org/pkg/extract -- seems to address extracting information directly from the LaTeX commands. I cannot judge right now whether it is developped enough right now to handle your task immediately. 

HTH -- Uwe. 


From uwe.lueck at web.de  Fri Jun 19 20:32:53 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Fri, 19 Jun 2009 20:32:53 +0200
Subject: [texhax] Extract equations as EPS from larger doc?
Message-ID: <1155419185@web.de>

My previous idea more specific, without regarding actual facilities of the extract package: 

redefine the equation environment (resp. others) so it: 

1. writes a file whose  contains the equation number (ususually just expansion of \theequation) and whose content is 

    \documentclass ... \begin{document}
    $$\eqno$$
    \end{document}

2. adds `latex ' to a batch file (or/plus something producing the .eps version if you really need it)

... clearer? 

HTH ... Uwe. 

-----Urspr?ngliche Nachricht-----
Von: "Uwe Lueck" 
Gesendet: 19.06.09 15:19:17

"Philipp K. Janert"  schrieb am 17.06.2009 18:05:51:
> "I want to extract EPS of individual equations from
> a multipage PostScript document."

I don't know much of these things, only were busy with parsing .eps with TeX as in the graphics package ... 

.. but this looks like throwing the logical information away and then trying to retrieve it from the glyph placement information, so seems not so sound ... 

The `extract' package -- www.ctan.org/pkg/extract -- seems to address extracting information directly from the LaTeX commands. I cannot judge right now whether it is developped enough right now to handle your task immediately. 

HTH -- Uwe. 




From joelcsalomon at gmail.com  Fri Jun 19 20:40:19 2009
From: joelcsalomon at gmail.com (Joel C. Salomon)
Date: Fri, 19 Jun 2009 14:40:19 -0400
Subject: [texhax] LaTeX equivalent of Paul Taylor's abbrevs.sty?
In-Reply-To: <1A8C6C094A1F492E83D9BDE38D80105C@PGR1>
References: <1A8C6C094A1F492E83D9BDE38D80105C@PGR1>
Message-ID: <4A3BDB93.7010105@gmail.com>

Philip G. Ratcliffe wrote:
> Anyway, here are a couple of packages that I've developed over the years (and do actually use pretty regularly), which I could upload to CTAN (and maintain properly) if there were sufficient interest.
> 
> As the name suggests, foreign.sty  does rather more than just define abbreviations and it's  xpuncuate.sty that actually handles the following periods, commas etc.

I?d like to see these on CTAN.  Meantime, are the options documented?
(\Ie, can I get the .dtx files?)

Thanks,
?Joel Salomon

From uwe.lueck at web.de  Fri Jun 19 21:45:04 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Fri, 19 Jun 2009 21:45:04 +0200
Subject: [texhax]
 =?iso-8859-15?q?typesetting_of_a_critical_text_editiom_?=
 =?iso-8859-15?q?=5Bparallel=2C_=22paired=22_fn=5D?=
Message-ID: <1155437756@web.de>

1. Regarding ledpar, enter `ledpar' on http://tug.org/pipermail/texhax/.

2. "Paired footnotes" have been implemented with bigfoot, not with ledmac/ledpar. However, this may not be so difficult. Along the previous item, you find the ledmac/ledpar developpers/maintainers. 

3. For "original" even pages, "translation" odd pages, there is always the "brute" method: typeset original and translation as different LaTeX documents, augmenting the page number by 2 each, print them, sort the pages at a table using your hands, eyes, brain ... Roy Flechner told me that the fancyhdr package is helpful for this. 

4. I would like to improve "parallel" functionality with manyfoot, bigfoot, lineno, ednotes on this, but this needs funding ... and I even cannot afford organizing this right now. 

... Uwe.


Marcel Knie  schrieb am 17.06.2009 15:40:48:
> hi, 
> 
> it is me again with the same problem and another one. The publisher want to have this special paired footnotes and facing pages here is on the one side the source and on the other side the translation. I thought I can manage these problems with the bigfoot.sty and parallel.sty but and the author of the bigfoot.sty said to he will add the solution of this problem to the documentation. But the parallel.sty do not work together with bigfoot.sty, so I have to find another way to solve the problems. 
> 
> So now my questions: 
> 
> Is anybody there how answered questions to ledpar?
> Respectivly is it possible to make paired footnotes with ledpar?
> Or another idea. Is it possible to define a footnotecounter, which looks like this in the footnoteapparatus a-a, b-b, c-c, and so on but which looks in the text like a normal footnote and i count the normal footnotecounter and this defined footnotecounter manually.
> 
> The odd page have  to look like this:
> ----------------------------
> |
> |
> |
> | te'[xt text text]' text
> | text'' text text text
> | text [te'''xt text text'''
> | text]
> |
> | footnoteapparatus
> | '-' explanation
> | '' explanation
> | '''-''' explanation
> |
> ----------------------------
> ': stands for a letter or number
> 
> The even page have  to look like this:
> ----------------------------
> |
> |
> |
> | tra*[nslation ]* trans
> | lation** translation tra
> | nslation [***translation***
> | tran] slation
> |
> | footnoteapparatus
> | *-* explanation
> | ** explanation
> | ***-*** explanation
> |
> ----------------------------
> 
> * another footnoteapparatus
> 
> Thanks again for your help
> 
> 
> ____________________________________________________________
> Text: GRATIS f?r alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
> 
> _______________________________________________
> 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 pierre.mackay at comcast.net  Sat Jun 20 01:41:46 2009
From: pierre.mackay at comcast.net (Pierre MacKay)
Date: Fri, 19 Jun 2009 16:41:46 -0700
Subject: [texhax] typesetting of a critical text editiom [parallel,
 "paired" fn]
In-Reply-To: <1155437756@web.de>
References: <1155437756@web.de>
Message-ID: <4A3C223A.1040901@comcast.net>

Uwe Lueck wrote:

>1. Regarding ledpar, enter `ledpar' on http://tug.org/pipermail/texhax/.
>
>2. "Paired footnotes" have been implemented with bigfoot, not with ledmac/ledpar. However, this may not be so difficult. Along the previous item, you find the ledmac/ledpar developpers/maintainers. 
>
>3. For "original" even pages, "translation" odd pages, there is always the "brute" method: typeset original and translation as different LaTeX documents, augmenting the page number by 2 each, print them, sort the pages at a table using your hands, eyes, brain ... Roy Flechner told me that the fancyhdr package is helpful for this. 
>
>4. I would like to improve "parallel" functionality with manyfoot, bigfoot, lineno, ednotes on this, but this needs funding ... and I even cannot afford organizing this right now. 
>
>... Uwe.
>
>
>  
>
Another way of looking at it ( perhaps an all-too-obvious Unix way) is 
to avoid forcing system A to do what is much better done by system B.  
When I have something that is an obvious case for emacs, I use emacs.  I 
do not try to get TeX macros to simulate emacs.  When Perl seems the 
right choice, I use Perl.  For facing translations, I set  verso pages 
in one file, using an increment of 2 for pagination, and recto pages in 
a separate file.  I can then do fine control of page ends with two 
instances of xdvi.  To blend the two files, I use dviselect and 
dviconcat, driven by a fairly simple bash script. 

The argument against this chain of programs is the one that Microsoft 
constantly blares, that every utility should do everything, including 
combing one's hair, in one massively complex slushy effort, no matter 
how inappropriate or incompatible various parts of the  the task are. 

The argument for the chain of programs is that each utility is doing 
what it does best, cleanly, and in a way that can easily be traced if 
anything goes wrong.  The Microsoft black-box solution, cramming every 
task into the same gargantuan utility, no matter how inappropriate, 
produces constant frustration, because the resultant programs become so 
complex that even their authors can't trace the errors.  I just don't 
think that it is a wise use of resources to try to make TeX pretend that 
it is Bash, or Perl, or emacs.  Someone once did a passable Basic 
interpreter with TeX macros, but I don't think he ever claimed that it 
should be used in place of Basic, if that was what you needed.

Pierre MacKay

From janert at ieee.org  Sat Jun 20 04:36:42 2009
From: janert at ieee.org (Philipp K. Janert)
Date: Fri, 19 Jun 2009 19:36:42 -0700
Subject: [texhax] Extract equations as EPS from larger doc?
In-Reply-To: <1155419185@web.de>
References: <1155419185@web.de>
Message-ID: <200906191936.42620.janert@ieee.org>


Thanks for your answer, but it is entirely missing 
the point.

I don't want to extract "information", because there is
no receiver for this "information". I am trying to extract
a PICTURE (a "blob"), so that I can give that to a real,
dead-trees and ink publisher, who can then glue that
picture into the printed book without interpreting it any
further, so that (hopefully) my READERS can extract 
information from it.

In other words, it is crucial to me that LaTeX has already
done its magic and processed the commands into 
something that no longer needs to be interpreted by a
machine (only by a human reader). 

What I was looking for were some creature comforts
managing the potentially hundreds of files that this
will require. (And here we get into finer points, whether
it is simpler to have one large LaTeX file, which then
needs to be split to get the individual equation images,
or should there be a separate LaTeX document for
each equation, etc. THAT'S what my original question 
was all about.)

This may all be very hard to understand if you are
very used to LaTeX. Most other publishing environments
are still (2009) absolutely and unbelievably brain-dead 
compared to LaTeX, but that's the world we live in.

In any case, I suggest we end this thread. I think it
has exhausted its usefulness.

Best,

		Ph.



On Friday 19 June 2009 11:32:53 am you wrote:
> My previous idea more specific, without regarding actual facilities of the
> extract package:
>
> redefine the equation environment (resp. others) so it:
>
> 1. writes a file whose  contains the equation number (ususually
> just expansion of \theequation) and whose content is
>
>     \documentclass ... \begin{document}
>     $$\eqno$$
>     \end{document}
>
> 2. adds `latex ' to a batch file (or/plus something producing the
> .eps version if you really need it)
>
> ... clearer?
>
> HTH ... Uwe.
>
> -----Urspr?ngliche Nachricht-----
> Von: "Uwe Lueck" 
> Gesendet: 19.06.09 15:19:17
>
> "Philipp K. Janert"  schrieb am 17.06.2009 18:05:51:
> > "I want to extract EPS of individual equations from
> > a multipage PostScript document."
>
> I don't know much of these things, only were busy with parsing .eps with
> TeX as in the graphics package ...
>
> .. but this looks like throwing the logical information away and then
> trying to retrieve it from the glyph placement information, so seems not so
> sound ...
>
> The `extract' package -- www.ctan.org/pkg/extract -- seems to address
> extracting information directly from the LaTeX commands. I cannot judge
> right now whether it is developped enough right now to handle your task
> immediately.
>
> HTH -- Uwe.



From arvindmer at gmail.com  Sat Jun 20 09:40:44 2009
From: arvindmer at gmail.com (arvind mer)
Date: Sat, 20 Jun 2009 13:10:44 +0530
Subject: [texhax] Chemical reactions in Latex
Message-ID: <9e7ec6310906200040q8c8a9c0mbe4bc1c782227540@mail.gmail.com>

Hi to all,

I am writing my thesis in Latex, and I have lot of equation.

But along with this I have several chemical reactions and I want to use
different numbering system for the chemical reactions.

For an example my first equation is

\begin{subequations}
\label{1st_equ}
\begin{align}
\dot{X} &= P+Q \\
\dot{Y} &= Q^2 \\
\end{align}
\end{subequations}

After that I am writing the chemical reactions

\begin{subequations}
\label{1st_reaction}
\begin{align}
  A+B &\rightarrow  C \\
  C+D &\rightarrow  A+E \\
\end{align}
\end{subequations}

In the output the reactions are numbered as continuation of equation, But I
want to give reactions a different numbering.

I have tried to use   \tag{number} and he  mhchem Bundle for chemical
reactions too. In case of \tag{number} I have to keep track of all reaction
numbers and give reaction number manually and in mhchem bundle have no such
function.

Is there any way out ??

Thanks

-- 
Regards

Arvind Singh Mer


"Just because I don't care, doesn't mean I don't understand."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From uwe.lueck at web.de  Sat Jun 20 12:06:48 2009
From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=)
Date: Sat, 20 Jun 2009 12:06:48 +0200
Subject: [texhax] typesetting a critical text edition [parallel]
Message-ID: <5.1.0.14.0.20090620120053.00a7aa40@pop3.web.de>

I know some people who worried about parallel typesetting for translations 
and am distributing Pierre MacKay's[1] advice among them. I am focussing 
here on the practical aspect of how you could obtain the "parallel" feature.

At 01:41 20.06.09, Pierre MacKay wrote:
>Uwe Lueck wrote:
>
>>3. For "original" even pages, "translation" odd pages, there is always 
>>the "brute" method: typeset original and translation as different LaTeX 
>>documents, augmenting the page number by 2 each, print them, sort the 
>>pages at a table using your hands, eyes, brain ... Roy Flechner told me 
>>that the fancyhdr package is helpful for this.
[...]
>For facing translations, I set  verso pages in one file, using an 
>increment of 2 for pagination, and recto pages in a separate file.  I can 
>then do fine control of page ends with two instances of xdvi.  To blend 
>the two files, I use dviselect and dviconcat, driven by a fairly simple 
>bash script.

Apart from dviselect[2] dviconcat[3] There also is dvitodvi.[4] Some may 
need to know that xdvi is a UNIX previewer and that the same can be done 
with YAP etc.

After some thinking it seems to me that this method isn't just a 
workaround, but the preferable way. This way you move manual page breaks, 
otherwise you must move text around in the file.

An aspect somewhat intermediate between the practical and philosophical one 
is that some workers *do not know* how to use dviselect and dviconcat and 
bash -- e.g., sitting at their PC or notebook equipped with Windows.

However, they could ask an IT group for the humanities or at the math or 
physics department of their university. Either somebody skilled does the 
dvi things, or you can get Windows versions of these utilities. (?)

I even know some who stick to DOS -- not so bad! -- they might learn that 
Linux -- bash! -- is smarter -- and you get better support for utilities 
and programs for Linux! This is about what Pierre MacKay indicates in the 
more philosophical passages of his posting:

>The argument for the chain of programs is that each utility is doing what 
>it does best, cleanly, and in a way that can easily be traced if anything 
>goes wrong.  The Microsoft black-box solution, cramming every task into 
>the same gargantuan utility, no matter how inappropriate, produces 
>constant frustration, because the resultant programs become so complex 
>that even their authors can't trace the errors.

I go on in a second posting, because some people who get the present one 
certainly don't want to see the rest.

-- Uwe Lueck.

[1] 

[2] http://www.ebs-euchner.com/Portals/0/alphadidact/alphadidact_DVI.pdf

?? -- or rather:

     http://www.ctan.org/tex-archive/dviware/dvibook/Dviselect/

[3] http://www.ctan.org/tex-archive/dviware/dvibook/Dviconcat/

[4] See README at

     http://www.ctan.org/tex-archive/dviware/dvibook/



From uwe.lueck at web.de  Sat Jun 20 13:02:53 2009
From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=)
Date: Sat, 20 Jun 2009 13:02:53 +0200
Subject: [texhax] TeX for anything [was "... critical text edition]
In-Reply-To: <4A3C223A.1040901@comcast.net>
References: <1155437756@web.de>
 <1155437756@web.de>
Message-ID: <5.1.0.14.0.20090620121144.028dee50@pop3.web.de>

... continuing on the "philosophical" aspect of Pierre MacKay's posting for 
"typesetting of a critical text edition" (nothing new, rather fun):

At 01:41 20.06.09, Pierre MacKay wrote:
>Another way of looking at it ( perhaps an all-too-obvious Unix way) is to 
>avoid forcing system A to do what is much better done by system B.
>When I have something that is an obvious case for emacs, I use emacs.  I 
>do not try to get TeX macros to simulate emacs.  When Perl seems the right 
>choice, I use Perl.
[...]
>The argument against this chain of programs is the one that Microsoft 
>constantly blares, that every utility should do everything, including 
>combing one's hair, in one massively complex slushy effort, no matter how 
>inappropriate or incompatible various parts of the  the task are.

Indeed Uwe Lueck constantly blares that TeX should do everything! 
"Microsoft" may (like, e.g., "the poster") be a polite expression for 
people like me who hope that everything could be done with TeX, cf.:

>I just don't think that it is a wise use of resources to try to make TeX 
>pretend that it is Bash, or Perl, or emacs.

In a different thread I already posted

     http://sdh33b.blogspot.com/2008/07/icfp-contest-2008.html

on programming a Mars rover controller with TeX.

>Someone once did a passable Basic interpreter with TeX macros, but I don't 
>think he ever claimed that it should be used in place of Basic, if that 
>was what you needed.

This refers to

     BaSiX (with the emphasis on SICK!) by Andrew Marc Greene

in basix.tex on

     http://ctan.tug.org/tex-archive/macros/generic/basix/

TeX forever!

     Uwe Lueck.

P.S.: To contribute something serious, I am trying to summarize arguments 
held elsewhere: The philosophy of the docstrip program: A TeX user may have 
difficulties with some variety of software, either with installing or with 
understanding, or both. And especially a student working at a thesis that 
is a critical text edition may know little on UNIX tools. We can assume 
that she has a working TeX installation, so just use this program, not 
another one. And she has to learn something about TeX and LaTeX anyway, so 
build on this knowledge and practice in reading LaTeX instructions.

Even portability may be better this way since some other utilities are 
called by the same command but work very differently on different 
installations.

But Pierre MacKay is quite right if

>The Microsoft black-box solution, cramming every task into the same 
>gargantuan utility, no matter how inappropriate, produces constant 
>frustration, because the resultant programs become so complex that even 
>their authors can't trace the errors.

is interpreted to address implementing features of UNIX utilities in TeX.

On the other hand, a TeX user must learn to live with constant frustration 
regarding some TeX packages anyway ...

Cheers,

     Uwe.


From uwe.lueck at web.de  Sat Jun 20 16:39:31 2009
From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=)
Date: Sat, 20 Jun 2009 16:39:31 +0200
Subject: [texhax] Extract equations as EPS from larger doc?
In-Reply-To: <200906191936.42620.janert@ieee.org>
References: <1155419185@web.de>
 <1155419185@web.de>
Message-ID: <5.1.0.14.0.20090620130442.028e9c50@pop3.web.de>

At 04:36 20.06.09, Philipp K. Janert wrote:
>In any case, I suggest we end this thread. I think it
>has exhausted its usefulness.

I think I suggested something useful, but it may not be useful for you if 
you don't think properly about it.

>Thanks for your answer, but it is entirely missing
>the point.

I think *you* are.

>I don't want to extract "information", because there is
>no receiver for this "information". I am trying to extract
>a PICTURE (a "blob"), so that I can give that to a real,
>dead-trees and ink publisher, who can then glue that
>picture into the printed book without interpreting it any
>further, so that (hopefully) my READERS can extract
>information from it.

If you "don't want" extract information, you though *must* (I think), namely:

At 15:19 19.06.09, Uwe Lueck wrote:
>"Philipp K. Janert"  schrieb am 17.06.2009 18:05:51:
> > "I want to extract EPS of individual equations from
> > a multipage PostScript document."
[...]
>... but this looks like throwing the logical information away and then 
>trying to retrieve it from the glyph placement information, so seems not 
>so sound ...

I did not refer to the information an *equation contains*, but the 
information on *what is an equation.* A human reader can easily discern 
equations on the paper or on screen, but you certainly want to have 
*software* that discerns equations. In your .tex files, you clearly mark 
equations, but this "information" gets "blurred" in the output.

>In other words, it is crucial to me that LaTeX has already
>done its magic and processed the commands into
>something that no longer needs to be interpreted by a
>machine (only by a human reader).

If you are saying that LaTeX should not be involved in producing another 
instance of one equation, you shouldn't (cf. TeXbook p. 228). And it seems 
you *do* want that after typesetting a *machine* should generate the single 
equation files, not a human reader.

>What I was looking for were some creature comforts
>managing the potentially hundreds of files that this
>will require. (And here we get into finer points, whether
>it is simpler to have one large LaTeX file, which then
>needs to be split to get the individual equation images,
>or should there be a separate LaTeX document for
>each equation, etc. THAT'S what my original question
>was all about.)

At 20:32 19.06.09, Uwe Lueck wrote:
>redefine the equation environment (resp. others) so it:
>
>1. writes a file whose  contains the equation number (ususually 
>just expansion of \theequation) and whose content is
>
>     \documentclass ... \begin{document}
>     $$\eqno$$
>     \end{document}
>
>2. adds `latex ' to a batch file (or/plus something producing 
>the .eps version if you really need it)

So you have these hundreds of files and a single batch file that continues 
processing all of them.

But meanwhile I think that a single "extract" file produced by LaTeX may 
suffice. It may just *typeset* something like

     STARTEQUATIONBOUNDINGBOX
     `
     ENDEQUATION

so the "information" for discerning equations is in the PostScript file and 
another utility can reliably put  into a separate file with head 
and end as needed for .eps and the BOUNDINGBOX line made from  ...

... however, this was one idea, and now I think it suffices to have *one* 
second output file with *one* equation on each (otherwise blank) page.

Cheers,

     Uwe.


From whiteviz at gmail.com  Sat Jun 20 16:46:05 2009
From: whiteviz at gmail.com (Ryan Van Wagoner)
Date: Sat, 20 Jun 2009 10:46:05 -0400
Subject: [texhax] Chemical reactions in Latex
In-Reply-To: <9e7ec6310906200040q8c8a9c0mbe4bc1c782227540@mail.gmail.com>
	(arvind mer's message of "Sat, 20 Jun 2009 13:10:44 +0530")
References: <9e7ec6310906200040q8c8a9c0mbe4bc1c782227540@mail.gmail.com>
Message-ID: <877hz7ynde.fsf@gmail.com>

Hello Arvind,

>>>>> "arvindmer" == arvind mer  writes:

 arvindmer> But along with this I have several chemical reactions and I want to use
 arvindmer> different numbering system for the chemical reactions.


 arvindmer> \begin{subequations}
 arvindmer> \label{1st_reaction}
 arvindmer> \begin{align}
 arvindmer>   A+B &\rightarrow  C \\
 arvindmer>   C+D &\rightarrow  A+E \\
 arvindmer> \end{align}
 arvindmer> \end{subequations}

 arvindmer> In the output the reactions are numbered as continuation of equation, But I
 arvindmer> want to give reactions a different numbering.

Check the following url for a discussion on this topic:

http://www.latex-community.org/forum/viewtopic.php?f=5&t=1860&view=previous

Good luck with your thesis.

Regards,

-- 

Ryan Van Wagoner

From sergei.mariev at lrz.uni-muenchen.de  Sat Jun 20 21:55:03 2009
From: sergei.mariev at lrz.uni-muenchen.de (Sergei Mariev)
Date: Sat, 20 Jun 2009 21:55:03 +0200
Subject: [texhax] typesetting a critical text edition [parallel]
In-Reply-To: <5.1.0.14.0.20090620120053.00a7aa40@pop3.web.de>
References: <5.1.0.14.0.20090620120053.00a7aa40@pop3.web.de>
Message-ID: 

It seems to me an excellent solution. I wish I implemented it in my  
recent two critical editions... (Instead I was combining the source  
code fromt two latex files into one single .tex file with a very  
simple perl script... which means typsetting the whole document at  
least ten times for every single page break... months of sitting in  
front of the computer...)

Does anyone know of a terminal utility for Mac that splits pdfs into  
single pages and then recombines the files again to a single  
document? This way typestting synoptical critical  editions with  
ednotes would become really an enjoyable task!



Dr. Sergei Mariev
Akademischer Rat a. Z.
Institut f?r Byzantinistik der
Ludwig-Maximilians-Universit?t M?nchen
Tel.: +49 (0) 89 2180 5475
Mob.: +49 (0) 163 846 6200
Fax: +49 (0) 89 2180 16520




Am 20.06.2009 um 12:06 schrieb Uwe L?ck:

> I know some people who worried about parallel typesetting for  
> translations and am distributing Pierre MacKay's[1] advice among  
> them. I am focussing here on the practical aspect of how you could  
> obtain the "parallel" feature.
>
> At 01:41 20.06.09, Pierre MacKay wrote:
>> Uwe Lueck wrote:
>>
>>> 3. For "original" even pages, "translation" odd pages, there is  
>>> always the "brute" method: typeset original and translation as  
>>> different LaTeX documents, augmenting the page number by 2 each,  
>>> print them, sort the pages at a table using your hands, eyes,  
>>> brain ... Roy Flechner told me that the fancyhdr package is  
>>> helpful for this.
> [...]
>> For facing translations, I set  verso pages in one file, using an  
>> increment of 2 for pagination, and recto pages in a separate  
>> file.  I can then do fine control of page ends with two instances  
>> of xdvi.  To blend the two files, I use dviselect and dviconcat,  
>> driven by a fairly simple bash script.
>
> Apart from dviselect[2] dviconcat[3] There also is dvitodvi.[4]  
> Some may need to know that xdvi is a UNIX previewer and that the  
> same can be done with YAP etc.
>
> After some thinking it seems to me that this method isn't just a  
> workaround, but the preferable way. This way you move manual page  
> breaks, otherwise you must move text around in the file.
>
> An aspect somewhat intermediate between the practical and  
> philosophical one is that some workers *do not know* how to use  
> dviselect and dviconcat and bash -- e.g., sitting at their PC or  
> notebook equipped with Windows.
>
> However, they could ask an IT group for the humanities or at the  
> math or physics department of their university. Either somebody  
> skilled does the dvi things, or you can get Windows versions of  
> these utilities. (?)
>
> I even know some who stick to DOS -- not so bad! -- they might  
> learn that Linux -- bash! -- is smarter -- and you get better  
> support for utilities and programs for Linux! This is about what  
> Pierre MacKay indicates in the more philosophical passages of his  
> posting:
>
>> The argument for the chain of programs is that each utility is  
>> doing what it does best, cleanly, and in a way that can easily be  
>> traced if anything goes wrong.  The Microsoft black-box solution,  
>> cramming every task into the same gargantuan utility, no matter  
>> how inappropriate, produces constant frustration, because the  
>> resultant programs become so complex that even their authors can't  
>> trace the errors.
>
> I go on in a second posting, because some people who get the  
> present one certainly don't want to see the rest.
>
> -- Uwe Lueck.
>
> [1] 
>
> [2] http://www.ebs-euchner.com/Portals/0/alphadidact/ 
> alphadidact_DVI.pdf
>
> ?? -- or rather:
>
>     http://www.ctan.org/tex-archive/dviware/dvibook/Dviselect/
>
> [3] http://www.ctan.org/tex-archive/dviware/dvibook/Dviconcat/
>
> [4] See README at
>
>     http://www.ctan.org/tex-archive/dviware/dvibook/
>
>


From jherrman at zoominternet.net  Sat Jun 20 23:30:44 2009
From: jherrman at zoominternet.net (jherrman at zoominternet.net)
Date: Sat, 20 Jun 2009 21:30:44 +0000 (UTC)
Subject: [texhax] typesetting a critical text edition [parallel]
References: <5.1.0.14.0.20090620120053.00a7aa40@pop3.web.de>
	
Message-ID: 

On Sat, 20 Jun 2009 21:55:03 +0200, Sergei Mariev
 wrote:

> Does anyone know of a terminal utility for Mac that splits pdfs into  
> single pages and then recombines the files again to a single  
> document?


I've just published a critical edition with facing translation (using
plain xetex with edmac and eplain). As Pierre suggested, I used a
separate file for my translation, and manually split up my translation
pages and interleaved them as individual PDF pages. It was a fast and
painless process. I used pdftk (on the command line with Mac OS X) to
split the files into individual pdf pages, and I used the built in Mac
system utility (/System/Library/Automator/Combine PDF
Pages.action/Contents/Resources/join.py) to reconcatenate after
inserting the translation pages.

Jud Herrman


From tomfool at as220.org  Sun Jun 21 06:31:11 2009
From: tomfool at as220.org (Tom Sgouros)
Date: Sun, 21 Jun 2009 00:31:11 -0400
Subject: [texhax] latex command
Message-ID: <8190.1245558671@as220.org>


Hello all:

I'm all but done with preparing a book manuscript, and when I try to put
\LaTeX on the credits page, it gives me an error: "Use of \@ doesn't
match its definition."

Apart from helping me appreciate the irony of the situation, I wonder if
anyone has some advice.  I'm using the memoir class, and the preamble
looks like this:

\documentclass[10pt,twoside,openright]{memoir}
\usepackage{pifont}
\usepackage{palatino}
\usepackage{lettrine}
\usepackage{xspace}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage{url}

Any thoughts?

Thanks,

 -tom

-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net

From wa2n at nrar.net  Sun Jun 21 07:03:03 2009
From: wa2n at nrar.net (wawan)
Date: Sun, 21 Jun 2009 12:03:03 +0700
Subject: [texhax] How can I renewcommand \the
Message-ID: 

Hi all
Why  I can renewcomman {\the} is there any way to do renewcomman \the ?
I want \the do my new command

-- 
=====================
http://wa2n.nrar.net
http://artikelit.com
http://kamusgaul.com
=====================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From axel.retif at mac.com  Sun Jun 21 08:30:16 2009
From: axel.retif at mac.com (Axel E. Retif)
Date: Sun, 21 Jun 2009 01:30:16 -0500
Subject: [texhax] latex command
In-Reply-To: <8190.1245558671@as220.org>
References: <8190.1245558671@as220.org>
Message-ID: <805F5DD6-9834-4098-ABCF-E3B165F54515@mac.com>

On  20 Jun, 2009, at 23:31, Tom Sgouros wrote:

> Hello all:
>
> I'm all but done with preparing a book manuscript, and when I try to  
> put
> \LaTeX on the credits page, it gives me an error: "Use of \@ doesn't
> match its definition."
>
> Apart from helping me appreciate the irony of the situation, I  
> wonder if
> anyone has some advice.  I'm using the memoir class, and the preamble
> looks like this:

That's weird. Something must come after that part of your preamble and  
your use of the command \LaTeX, because I have no problems with this:

\documentclass[10pt,twoside,openright]{memoir}
\usepackage{pifont}
\usepackage{palatino}
\usepackage{lettrine}
\usepackage{xspace}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage{url}
\begin{document}
Thanks to \LaTeX\ I could typeset this ---well, it was really \LaTeXe,  
but you already know that.
\end{document}

Best,

Axel



From asnd at triumf.ca  Sun Jun 21 10:42:05 2009
From: asnd at triumf.ca (Donald Arseneau)
Date: 21 Jun 2009 01:42:05 -0700
Subject: [texhax] Extract equations as EPS from larger doc?
In-Reply-To: <5.1.0.14.0.20090620130442.028e9c50@pop3.web.de>
References: <1155419185@web.de> <1155419185@web.de>
	<5.1.0.14.0.20090620130442.028e9c50@pop3.web.de>
Message-ID: 

> >I don't want to extract "information", because there is
> >no receiver for this "information". I am trying to extract
> >a PICTURE (a "blob"), 

There were suggestions for this, because lots of perple have
had the need to extract equations as graphics images.  I mentioned 
the preview package; I don't know if it is easy to make it 
stop with eps files.

It is really easy to cook up yet another solution if need be, but
there are alreasy many solutions for this faq.

Try a google groups search like 
extract equations as eps group:comp.text.tex


-- 
Donald Arseneau                          asnd at triumf.ca

From john.simmie at nuigalway.ie  Sun Jun 21 12:02:25 2009
From: john.simmie at nuigalway.ie (Simmie, John)
Date: Sun, 21 Jun 2009 11:02:25 +0100
Subject: [texhax] Chemical equations in LaTeX
In-Reply-To: 
References: 
Message-ID: <5987A522AEAB7548B380D086C85CD2410177B4AD@EVS1.ac.nuigalway.ie>

Arvind
Yes, there is.  Simply hack the equation environment and define a new
chemeqn environment ...
Normally in a thesis you want to refer to reaction (x) and you rarely
need chapter reference as in equation (3.2), that is,  the second eqn in
chapter 2 .... that is one big advantage of separating mathematical and
chemical equations 

Emeritus Professor John Simmie::Combustion Chemistry Centre::National
University of Ireland, Galway


-----Original Message-----
From: texhax-bounces at tug.org [mailto:texhax-bounces at tug.org] On Behalf
Of texhax-request at tug.org
Sent: 20 June 2009 11:00
To: texhax at tug.org
Subject: texhax Digest, Vol 2009, Issue 241

Send texhax mailing list submissions to
	texhax at tug.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://tug.org/mailman/listinfo/texhax
or, via email, send a message with subject or body 'help' to
	texhax-request at tug.org

You can reach the person managing the list at
	texhax-owner at tug.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of texhax digest..."


Today's Topics:

   1. Chemical reactions in Latex (arvind mer)


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

Message: 1
Date: Sat, 20 Jun 2009 13:10:44 +0530
From: arvind mer 
To: texhax at tug.org
Subject: [texhax] Chemical reactions in Latex
Message-ID:
	<9e7ec6310906200040q8c8a9c0mbe4bc1c782227540 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi to all,

I am writing my thesis in Latex, and I have lot of equation.

But along with this I have several chemical reactions and I want to use
different numbering system for the chemical reactions.

For an example my first equation is

\begin{subequations}
\label{1st_equ}
\begin{align}
\dot{X} &= P+Q \\
\dot{Y} &= Q^2 \\
\end{align}
\end{subequations}

After that I am writing the chemical reactions

\begin{subequations}
\label{1st_reaction}
\begin{align}
  A+B &\rightarrow  C \\
  C+D &\rightarrow  A+E \\
\end{align}
\end{subequations}

In the output the reactions are numbered as continuation of equation,
But I
want to give reactions a different numbering.

I have tried to use   \tag{number} and he  mhchem Bundle for chemical
reactions too. In case of \tag{number} I have to keep track of all
reaction
numbers and give reaction number manually and in mhchem bundle have no
such
function.

Is there any way out ??

Thanks

-- 
Regards

Arvind Singh Mer


"Just because I don't care, doesn't mean I don't understand."
-------------- next part --------------
An HTML attachment was scrubbed...
URL:


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

_______________________________________________
texhax mailing list
texhax at tug.org
http://tug.org/mailman/listinfo/texhax

End of texhax Digest, Vol 2009, Issue 241
*****************************************

From news3 at nililand.de  Sun Jun 21 13:51:42 2009
From: news3 at nililand.de (Ulrike Fischer)
Date: Sun, 21 Jun 2009 13:51:42 +0200
Subject: [texhax] How can I renewcommand \the
References: 
Message-ID: <1wkysy7o7ea3o$.dlg@nililand.de>

Am Sun, 21 Jun 2009 12:03:03 +0700 schrieb wawan:

> Hi all
> Why  I can renewcomman {\the} is there any way to do renewcomman \the ?
> I want \the do my new command

Don't do it. Use another name for your command. 


-- 
Ulrike Fischer 


From philip.ratcliffe at fastwebnet.it  Sun Jun 21 15:21:50 2009
From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe)
Date: Sun, 21 Jun 2009 15:21:50 +0200
Subject: [texhax] How can I renewcommand \the
In-Reply-To: <1wkysy7o7ea3o$.dlg@nililand.de>
Message-ID: 

> > Why  I can renewcomman {\the} is there any way to do 
> renewcomman \the 
> > ? I want \the do my new command
> 
> Don't do it. Use another name for your command. 

Just to explain the point: \the is part and parcel of TeX and will certainly
be used by many packages and even by LaTeX itself,
Here's an example:

\edef\today{%
  \the\year/\two at digits{\the\month}/\two at digits{\the\day}:%
    \two at digits{\the\count@}:\two at digits{\the\count2}}

It's always much much safer to use new and different names unless you really
want to interfere with LaTeX's workings and then only if you really really
know what you're doing.

Cheers,  Phil


From uwe.lueck at web.de  Sun Jun 21 16:08:32 2009
From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=)
Date: Sun, 21 Jun 2009 16:08:32 +0200
Subject: [texhax] latex command
In-Reply-To: <805F5DD6-9834-4098-ABCF-E3B165F54515@mac.com>
References: <8190.1245558671@as220.org>
 <8190.1245558671@as220.org>
Message-ID: <5.1.0.14.0.20090621160519.028cf960@pop3.web.de>

At 08:30 21.06.09, Axel E. Retif wrote:
>On  20 Jun, 2009, at 23:31, Tom Sgouros wrote:
>
>>when I try to put \LaTeX on the credits page, it gives me an error: "Use 
>>of \@ doesn't
>>match its definition."
>
>That's weird. Something must come after that part of your preamble and
>your use of the command \LaTeX, because I have no problems with this:
>
>\documentclass[10pt,twoside,openright]{memoir}
>\usepackage{pifont}
>\usepackage{palatino}
>\usepackage{lettrine}
>\usepackage{xspace}
>\usepackage{graphicx}
>\usepackage{wrapfig}
>\usepackage{rotating}
>\usepackage{url}
>\begin{document}
>Thanks to \LaTeX\ I could typeset this ---well, it was really \LaTeXe,
>but you already know that.
>\end{document}

The situation is typical for trying to redefine a LaTeX internal outside a 
package or class without \makeatletter. E.g., "\def\@tempa..." renders \@ a 
macro expecting "tempa".

-- Uwe.


From uwe.lueck at web.de  Sun Jun 21 16:13:18 2009
From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=)
Date: Sun, 21 Jun 2009 16:13:18 +0200
Subject: [texhax] How can I renewcommand \the
In-Reply-To: 
References: <1wkysy7o7ea3o$.dlg@nililand.de>
Message-ID: <5.1.0.14.0.20090621160847.028e13c0@pop3.web.de>

At 15:21 21.06.09, Philip G. Ratcliffe wrote:
> > > Why  I can renewcomman {\the} is there any way to do
> > renewcomman \the
> > > ? I want \the do my new command
> >
> > Don't do it. Use another name for your command.
>
>Just to explain the point: \the is part and parcel of TeX and will certainly
>be used by many packages and even by LaTeX itself,
>Here's an example:
>
>\edef\today{%
>   \the\year/\two at digits{\the\month}/\two at digits{\the\day}:%
>     \two at digits{\the\count@}:\two at digits{\the\count2}}
>
>It's always much much safer to use new and different names unless you really
>want to interfere with LaTeX's workings and then only if you really really
>know what you're doing.

I started working with LaTeX by creating a "definition" environment called 
"def" ... (almost)

Apart from this, it seems to me that Wawan is asking for an explanation of 
\renewcommand ... !?

-- Uwe.


From rodolfo.medina at gmail.com  Sun Jun 21 17:54:43 2009
From: rodolfo.medina at gmail.com (Rodolfo Medina)
Date: Sun, 21 Jun 2009 16:54:43 +0100
Subject: [texhax] `\vtop to 0pt' produces a vertical shift: is that normal?
Message-ID: <87zlc1oa4c.fsf@gmail.com>

With plain TeX: if I put a `\vtop to 0pt{}' after a `\par' command, that
produces a vertical shift, whereas one would expect a vertical box of height
zero to not produce any visible vertical effect at all.

Why does this happen, and how to work it out?

Thanks for any help
Rodolfo


From tomfool at as220.org  Sun Jun 21 19:13:23 2009
From: tomfool at as220.org (tom sgouros)
Date: Sun, 21 Jun 2009 13:13:23 -0400
Subject: [texhax] latex command
In-Reply-To: <20090621062948.GA18072@fi.muni.cz> 
References: 
	<20090621062948.GA18072@fi.muni.cz>
Message-ID: <6581.1245604403@as220.org>


Petr Sojka  wrote:

> Dear Tom,
> 
> check your use of \makeatletter and \makeatother
> and other means of setting \catcode of @.
> The error apears when category code of @
> during use mismatches the category code 
> set/fixed in the time of definition.
> It is usually changed only \AtBeginDocument.

That's funny.  It turned out that I had an errant @ not enclosed by
\makeatletter and \makeatother a dozen lines above the apparent source
of the problem.  It had been working fine until I added the \LaTeX
command.  Curious, but it works now.  Are you suggesting I was
inadvertently redefining \@?

Thank you for the advice.

 -tom

> 
> Hope that helps you to localize the problem.
> Petr Sojka
>  
> > Date: Sun, 21 Jun 2009 00:31:11 -0400
> > From: "Tom Sgouros" 
> > To: texhax at tug.org
> > Subject: [texhax] latex command
> > Message-ID: <8190.1245558671 at as220.org>
> > 
> > Hello all:
> > 
> > I'm all but done with preparing a book manuscript, and when I try to put
> > \LaTeX on the credits page, it gives me an error: "Use of \@ doesn't
> > match its definition."
> > 
> > Apart from helping me appreciate the irony of the situation, I wonder if
> > anyone has some advice.  I'm using the memoir class, and the preamble
> > looks like this:
> > 
> > \documentclass[10pt,twoside,openright]{memoir}
> > \usepackage{pifont}
> > \usepackage{palatino}
> > \usepackage{lettrine}
> > \usepackage{xspace}
> > \usepackage{graphicx}
> > \usepackage{wrapfig}
> > \usepackage{rotating}
> > \usepackage{url}
> > 
> > Any thoughts?
> > 
> > Thanks,
> > 
> >  -tom
> > 
> > -- 
> >  ------------------------
> >  tomfool at as220 dot org
> >  http://sgouros.com  
> >  http://whatcheer.net
> > 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > texhax mailing list
> > texhax at tug.org
> > http://tug.org/mailman/listinfo/texhax
> > 
> > End of texhax Digest, Vol 2009, Issue 242
> > *****************************************
> 



-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net

From asnd at triumf.ca  Mon Jun 22 03:08:25 2009
From: asnd at triumf.ca (Donald Arseneau)
Date: 21 Jun 2009 18:08:25 -0700
Subject: [texhax] How can I renewcommand \the
In-Reply-To: 
References: 
Message-ID: 

wawan  writes:

> Why  I can renewcomman {\the} is there any way to do renewcomman \the ?
> I want \the do my new command

No, there is no practical way.  You would have to go through all of LaTeX
and any packages you use and change every use of "\the" to some
replacement name.  (Another prime example of a raw TeX command name
interference is "\box".)


-- 
Donald Arseneau                          asnd at triumf.ca

From chandru.mcc at gmail.com  Mon Jun 22 04:23:29 2009
From: chandru.mcc at gmail.com (chandrasekhar s)
Date: Mon, 22 Jun 2009 07:53:29 +0530
Subject: [texhax] Chess Typesetting
Message-ID: 

Hi--
Everyone! Could you please help me with the starting commands needed for
typing chess in LaTex.


thanks
Chandrasekhar
-- 
"Every action has a past which leads up to it; every action has a future
which proceeds
from it."- Swami Sivananda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From udvzsolt at gmail.com  Mon Jun 22 09:12:54 2009
From: udvzsolt at gmail.com (Zsolt Udvari)
Date: Mon, 22 Jun 2009 09:12:54 +0200
Subject: [texhax] Chess Typesetting
In-Reply-To: 
References: 
Message-ID: <20090622091254.58b03be9@gmail.com>

> Hi--
> Everyone! Could you please help me with the starting commands needed
> for typing chess in LaTex.
Imho you should check this packages:
http://ctan.org/cgi-bin/search.py?metadataSearch=chess&metadataSearchSubmit=Search

Zsolt

From morten.hoegholm at gmail.com  Mon Jun 22 09:22:54 2009
From: morten.hoegholm at gmail.com (=?ISO-8859-1?Q?Morten_H=F8gholm?=)
Date: Mon, 22 Jun 2009 09:22:54 +0200
Subject: [texhax] latex command
In-Reply-To: <6581.1245604403@as220.org>
References: 
	<20090621062948.GA18072@fi.muni.cz> <6581.1245604403@as220.org>
Message-ID: <859ec5630906220022l6ec8154ax3e1f4e25b1178c19@mail.gmail.com>

On Sun, Jun 21, 2009 at 7:13 PM, tom sgouros wrote:
>
> Petr Sojka  wrote:
>
>> Dear Tom,
>>
>> check your use of \makeatletter and \makeatother
>> and other means of setting \catcode of @.
>> The error apears when category code of @
>> during use mismatches the category code
>> set/fixed in the time of definition.
>> It is usually changed only \AtBeginDocument.
>
> That's funny. ?It turned out that I had an errant @ not enclosed by
> \makeatletter and \makeatother a dozen lines above the apparent source
> of the problem. ?It had been working fine until I added the \LaTeX
> command. ?Curious, but it works now. ?Are you suggesting I was
> inadvertently redefining \@?

Yup. It is very easy to do. Without \makeatletter before it, the definition
  \def\@whatever #1{foo bar #1}
will then define \@ as a control symbol which must be followed by the
letters "whatever" before reading its single argument. Since that is
rarely the case, you get the error message that
  "Use of \@ doesn't match its definition."
as soon you execute something using \@ such as \LaTeX (well, the \TeX
command at its end).
-- 
Morten

From joelcsalomon at gmail.com  Tue Jun 23 02:54:34 2009
From: joelcsalomon at gmail.com (Joel C. Salomon)
Date: Mon, 22 Jun 2009 20:54:34 -0400
Subject: [texhax] Inter-sentence space with amsthm
Message-ID: <4A4027CA.4080000@gmail.com>

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 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?

?Joel Salomon

From joelcsalomon at gmail.com  Tue Jun 23 05:53:44 2009
From: joelcsalomon at gmail.com (Joel C. Salomon)
Date: Mon, 22 Jun 2009 23:53:44 -0400
Subject: [texhax] Space factor as dimen?
In-Reply-To: <4A4027CA.4080000@gmail.com>
References: <4A4027CA.4080000@gmail.com>
Message-ID: <4A4051C8.8010307@gmail.com>

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 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?

I found the word I needed---space factor.  To rephrase the question
above: can I supply a space factor to a macro expecting a dimen?
(Passing {\spacefactor3000} as the argument does not work.)

Failing that, how can I determine the default width of an inter-sentence
space?

?Joel Salomon

From maloney1 at cox.net  Mon Jun 22 22:50:54 2009
From: maloney1 at cox.net (John Maloney)
Date: Mon, 22 Jun 2009 15:50:54 -0500
Subject: [texhax] Questions
Message-ID: <007201c9f37b$22ee2850$68ca78f0$@net>

I am interested in purchasing the 2008 edition of the CD Rom containing
TeXLive. I do have some questions concerning this purchase. They are:

1). I recently purchased a Dell desktop computer with a 64 bit processor
running 64 bit Vista. Will TeXLive install and work on it?

2). I have a Toshiba laptop with a 32 bit processor and a 32 bit version of
XP Home edition. Will TeXLive install and run on this computer also.

3). Will 2008 TeXLive install directly over the top of my current 2003
installation or will I have to delete my 2003 installation first?

   I would like to install the software on both computers. I am using WinEDt
version 5.5 as my editor.

John Maloney

maloney1 at cox.net  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From alan at alphabyte.co.nz  Tue Jun 23 21:22:33 2009
From: alan at alphabyte.co.nz (Alan T Litchfield)
Date: Wed, 24 Jun 2009 07:22:33 +1200
Subject: [texhax] Questions
In-Reply-To: <007201c9f37b$22ee2850$68ca78f0$@net>
References: <007201c9f37b$22ee2850$68ca78f0$@net>
Message-ID: 

John,

On 23/06/2009, at 8:50 AM, John Maloney wrote:

> I am interested in purchasing the 2008 edition of the CD Rom  
> containing TeXLive. I do have some questions concerning this  
> purchase. They are:
>
> 1). I recently purchased a Dell desktop computer with a 64 bit  
> processor running 64 bit Vista. Will TeXLive install and work on it?
>

Yes
> 2). I have a Toshiba laptop with a 32 bit processor and a 32 bit  
> version of XP Home edition. Will TeXLive install and run on this  
> computer also.
>

Yes
> 3). Will 2008 TeXLive install directly over the top of my current  
> 2003 installation or will I have to delete my 2003 installation first?
>

Remove the older version but keep any special files you may have  
accumulated. You can still use those in most cases.
>    I would like to install the software on both computers. I am  
> using WinEDt version 5.5 as my editor.
>
Shouldn't be a problem.

Alan



Alan T Litchfield
AlphaByte
PO Box 141, Auckland, 1140
New Zealand
http://www.alphabyte.co.nz


From asnd at triumf.ca  Tue Jun 23 22:45:25 2009
From: asnd at triumf.ca (Donald Arseneau)
Date: 23 Jun 2009 13:45:25 -0700
Subject: [texhax] Space factor as dimen?
In-Reply-To: <4A4051C8.8010307@gmail.com>
References: <4A4027CA.4080000@gmail.com> <4A4051C8.8010307@gmail.com>
Message-ID: 

"Joel C. Salomon"  writes:

> I found the word I needed---space factor.  To rephrase the question
> above: can I supply a space factor to a macro expecting a dimen?

No.  

You probably have to do something like 

\newlength\myspc
\settowidth\myspc{\spacefactor3000{ }}

and then use \myspc as the dimension argument.  That won't track 
font size changes though.

Other avenues are dirty hacking into the internals of the 
amsthm macros.

-- 
Donald Arseneau                          asnd at triumf.ca

From doakley5 at aol.com  Tue Jun 23 19:19:48 2009
From: doakley5 at aol.com (doakley5 at aol.com)
Date: Tue, 23 Jun 2009 13:19:48 -0400
Subject: [texhax] LaTex Software
Message-ID: <8CBC23DF1DDC216-888-104@webmail-dh19.sysops.aol.com>

I became a member and wanted to install the software in my PC.? I downloaded the files but I need some help getting the actual software installed.? Can you give me some guidance or direct me to some website/book that will guide me on the actual installation of the software?

James Oakley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From tonightsthenight at gmail.com  Tue Jun 23 23:20:35 2009
From: tonightsthenight at gmail.com (Sam Albers)
Date: Tue, 23 Jun 2009 14:20:35 -0700
Subject: [texhax] LaTex Software
In-Reply-To: <8CBC23DF1DDC216-888-104@webmail-dh19.sysops.aol.com>
References: <8CBC23DF1DDC216-888-104@webmail-dh19.sysops.aol.com>
Message-ID: 

> I became a member and wanted to install the software in my PC.  I
> downloaded the files but I need some help getting the actual software
> installed.  Can you give me some guidance or direct me to some website/book
> that will guide me on the actual installation of the software?


What OS are you using? Just do a internet search for that OS and add the
word LaTeX or TeX (whichever you are using). This should give you some links
to some extremely throughout instructions. It is usually easier to bring a
specific problem to this list. Try installing it first then if you run into
problems ask a question related to that specific problem.


Sam


>
>
> James Oakley
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From karl at freefriends.org  Tue Jun 23 23:23:05 2009
From: karl at freefriends.org (Karl Berry)
Date: Tue, 23 Jun 2009 16:23:05 -0500
Subject: [texhax] LaTex Software
In-Reply-To: <8CBC23DF1DDC216-888-104@webmail-dh19.sysops.aol.com>
Message-ID: <200906232123.n5NLN5h32127@f7.net>

    I became a member and wanted to install the software in my PC.? I
    downloaded the files but I need some help getting the actual
    software installed.? Can you give me some guidance or direct me to
    some website/book that will guide me on the actual installation of
    the software?

There are links on http://tug.org/begin.html.  Hope it helps.

From joelcsalomon at gmail.com  Tue Jun 23 23:51:43 2009
From: joelcsalomon at gmail.com (Joel C. Salomon)
Date: Tue, 23 Jun 2009 17:51:43 -0400
Subject: [texhax] Space factor as dimen?
In-Reply-To: 
References: <4A4027CA.4080000@gmail.com> <4A4051C8.8010307@gmail.com>
	
Message-ID: <4A414E6F.3000104@gmail.com>

Donald Arseneau wrote:
>> I found the word I needed---space factor.  To rephrase the question
>> above: can I supply a space factor to a macro expecting a dimen?
> 
> No.  
> 
> You probably have to do something like 
> 
> \newlength\myspc
> \settowidth\myspc{\spacefactor3000{ }}
> 
> and then use \myspc as the dimension argument.  That won't track 
> font size changes though.

I found most of what I was looking for, except for the bit doesn?t work:

\newlength{\issp}	% default inter-sentence space
\setlength{\issp}{\fontdimen2\font}	% inter-word space
\addtolength{\issp}{\fontdimen7\font}	% extra space

\newlength{\isst}	% inter-sentence stretch
\setlength{\isst}{\fontdimen3\font}	% inter-word stretch
\multiply\isst3		% mimic \spacefactor 3000

\newlength{\issh}	% inter-sentence shrink
\setlength{\issh}{\fontdimen4\font}	% inter-word shrink
\divide\isst3		% mimic \spacefactor 3000

\newlength{\intersentencespace}
%\setlength{\intersentencespace}{\issp plus \isst minus \issh}

The funny thing is, this /does/ work:

\newlength{\iwp}
\setlength{\iwp}{\fontdimen2\font %
	plus \fontdimen3\font minus \fontdimen4\font}

(In fact I could see the difference between using ?{\iwp}? as an
argument to \newtheoremstyle and using ?{ }?, because the stretch was
applied.)

How can I set a rubber length the way I?m trying to?

?Joel Salomon

From joelcsalomon at gmail.com  Wed Jun 24 01:14:37 2009
From: joelcsalomon at gmail.com (Joel C. Salomon)
Date: Tue, 23 Jun 2009 19:14:37 -0400
Subject: [texhax] Space factor as dimen?
In-Reply-To: <4A414E6F.3000104@gmail.com>
References: <4A4027CA.4080000@gmail.com> <4A4051C8.8010307@gmail.com>
	 <4A414E6F.3000104@gmail.com>
Message-ID: <4A4161DD.40503@gmail.com>

Joel C. Salomon wrote:
> %\setlength{\intersentencespace}{\issp plus \isst minus \issh}

> How can I set a rubber length the way I?m trying to?

Answered on comp.text.tex:  Coerce the  values to  values,
i.e.:
	\setlength{\intersentencespace}{1\issp plus 1\isst minus 1\issh}
or use scratch  registers.

?Joel Salomon

From olegkat at gmail.com  Wed Jun 24 06:40:56 2009
From: olegkat at gmail.com (Oleg Katsitadze)
Date: Wed, 24 Jun 2009 07:40:56 +0300
Subject: [texhax] `\vtop to 0pt' produces a vertical shift: is
	that	normal?
In-Reply-To: <87zlc1oa4c.fsf@gmail.com>
References: <87zlc1oa4c.fsf@gmail.com>
Message-ID: <20090624044056.GA7911@thor>

On Sun, Jun 21, 2009 at 04:54:43PM +0100, Rodolfo Medina wrote:
> With plain TeX: if I put a `\vtop to 0pt{}' after a `\par' command, that
> produces a vertical shift, whereas one would expect a vertical box of height
> zero to not produce any visible vertical effect at all.
>
> Why does this happen

TeX inserts glue between boxes in vertical list to keep the baselines
equal distance apart.  So your zero-height vbox actually adds non-zero
baseline skip.  You can see this for yourself by running the following
input through TeX and examining the log:

---------------->%----------------
1

\vtop to 0pt{}

2

3

\tracingonline=1
\showboxbreadth=10000
\showlists

\bye
----------------%<----------------

Notice that the baselines are exactly 12pt apart.

> and how to work it out?

You can try this:

---------------->%----------------
\newdimen\savedepth

y

\savedepth=\prevdepth
\nointerlineskip
\vtop to 0pt{}
\prevdepth=\savedepth

2

3

\tracingonline=1
\showboxbreadth=10000
\showlists

\bye
----------------%<----------------

However this kind of trickery is very troublesome.  There will be
issues with spacing/penalties when page break falls around the
injected material.

Best,
Oleg

From wa2n at nrar.net  Wed Jun 24 13:26:21 2009
From: wa2n at nrar.net (wawan)
Date: Wed, 24 Jun 2009 18:26:21 +0700
Subject: [texhax] Can I do it more simple (building .sty)?
Message-ID: 

I build .sty having a lot of newcommand like below, can I do it more simple

\newcommand{\ha}{{\char10}}
\newcommand{\hE}{{\char17}{\ha}}
\newcommand{\he}{{\ha}{\char15}}
\newcommand{\ho}{{\char17}{\ha}{\char20}}
\newcommand{\hu}{{\ha}{\char23}}
\newcommand{\hi}{{\ha}{\char25}}


-- 
=====================
http://wa2n.nrar.net
http://artikelit.com
http://kamusgaul.com
=====================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From arvindmer at gmail.com  Wed Jun 24 16:14:54 2009
From: arvindmer at gmail.com (arvind mer)
Date: Wed, 24 Jun 2009 19:44:54 +0530
Subject: [texhax] references in tex
Message-ID: <9e7ec6310906240714r32350985k55c36533b16e8479@mail.gmail.com>

Thanks to all texhax members for help, I have almost complete my thesis
.....

But 2 issues are still there ...

1. I have complied my tex files many time but it is not including
references? My reference are in .bib format. Why it is not adding the
references ??

2. Can I add a pdf document in my latex ? I don't want to include it as
image file. Is that possible

Thanks....

-- 
Regards

Arvind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From daleif at imf.au.dk  Wed Jun 24 16:49:50 2009
From: daleif at imf.au.dk (Lars Madsen)
Date: Wed, 24 Jun 2009 16:49:50 +0200
Subject: [texhax] references in tex
In-Reply-To: <9e7ec6310906240714r32350985k55c36533b16e8479@mail.gmail.com>
References: <9e7ec6310906240714r32350985k55c36533b16e8479@mail.gmail.com>
Message-ID: <4A423D0E.6000607@imf.au.dk>

arvind mer wrote:
> Thanks to all texhax members for help, I have almost complete my thesis
> .....
> 
> But 2 issues are still there ...
> 
> 1. I have complied my tex files many time but it is not including
> references? My reference are in .bib format. Why it is not adding the
> references ??
> 

have you actually cited something?
have you run bibtex?
have you specified bibstyle and bibtex db file in the document?



> 2. Can I add a pdf document in my latex ? I don't want to include it as
> image file. Is that possible
> 

there is no other way to include it other than as 'pictures', the 
pdfpages package provide a nice interface to include pages from PDF 
files as the background for pages in our document.

> Thanks....
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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 uwe.lueck at web.de  Wed Jun 24 17:58:04 2009
From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=)
Date: Wed, 24 Jun 2009 17:58:04 +0200
Subject: [texhax] typesetting a critical text edition [parallel]
In-Reply-To: 
References: <5.1.0.14.0.20090620120053.00a7aa40@pop3.web.de>
	
Message-ID: <5.1.0.14.0.20090624174750.028e5840@pop3.web.de>

Sergei may not have received this answer to his question.
+ another hint/question mixture concerning PDF interleaving:

At 23:30 20.06.09, jherrman at zoominternet.net wrote:
>On Sat, 20 Jun 2009 21:55:03 +0200, Sergei Mariev
> wrote:
>
> > Does anyone know of a terminal utility for Mac that splits pdfs into
> > single pages and then recombines the files again to a single
> > document?
>
>
>I've just published a critical edition with facing translation (using
>plain xetex with edmac and eplain). As Pierre suggested, I used a
>separate file for my translation, and manually split up my translation
>pages and interleaved them as individual PDF pages. It was a fast and
>painless process. I used pdftk (on the command line with Mac OS X) to
>split the files into individual pdf pages, and I used the built in Mac
>system utility (/System/Library/Automator/Combine PDF
>Pages.action/Contents/Resources/join.py) to reconcatenate after
>inserting the translation pages.
>
>Jud Herrman

A hint from Lars Madsen on "references in tex" makes me guess that the 
pdfpages package,

     http://www.ctan.org/pkg/pdfpages

could be used as well for combining facing pages from different LaTeX runs. 
But I haven't had a closer look at the package, I may be very wrong, or it 
needs an additional trick, sorry ...

-- Uwe.


From uwe.lueck at web.de  Wed Jun 24 18:32:36 2009
From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=)
Date: Wed, 24 Jun 2009 18:32:36 +0200
Subject: [texhax] Can I do it more simple (building .sty)?
In-Reply-To: 
Message-ID: <5.1.0.14.0.20090624175817.028ebec0@pop3.web.de>

(answer/question mix:)

At 13:26 24.06.09, wawan wrote:
>I build .sty having a lot of newcommand like below, can I do it more simple
>
>\newcommand{\ha}{{\char10}}
>\newcommand{\hE}{{\char17}{\ha}}
>\newcommand{\he}{{\ha}{\char15}}
>\newcommand{\ho}{{\char17}{\ha}{\char20}}
>\newcommand{\hu}{{\ha}{\char23}}
>\newcommand{\hi}{{\ha}{\char25}}

This looks fine, congratulations!

You asked about \def earlier, by which you could replace the former with

     \def\ha{{\char10}}

This is shorter, but \newcommand saves you from mistakes -- just to answer 
your earlier question.
You might do

     \newcommand{\NC}{\newcommand}
     \NC{\ha}{{\char}}

etc. to save space, then you could type several definitions in one code line.

I wonder about the extra *braces* in the definitions, this is not my field 
of expertise.
(Hope *real wizards* see this!)
The braces are useful here when another number follows.
But you could use octal or hexadecimal notation,

     \newcommand{\ha}{\char'012}

or

     \newcommand{\ha}{\char"0A}

would overcome the parsing problem I alluded to; it may even be more 
helpful with font tables.

Another possibility is

     \chardef\ha="0F

which, however, doesn't do the check that \newcommand does.
(It is more efficient regarding memory.)

On p. 356 of the TeXbook there are some things with \chardef, some with 
\def, some with extra braces, I don't know why. I find it somewhat 
difficult to find the corresponding things in LaTeX.

What language are you implementing? This might be really interesting.

Best,

     Uwe.


From cabalerho at yahoo.com  Wed Jun 24 18:08:18 2009
From: cabalerho at yahoo.com (Alejandro Munoz)
Date: Wed, 24 Jun 2009 09:08:18 -0700 (PDT)
Subject: [texhax] Suport with pstree
Message-ID: <861841.52931.qm@web52009.mail.re2.yahoo.com>

Hi,

I have a tree to big, that tree no fit into my pdf, what can i do to put entire this tree in mi pdf.

Thanks

Alex



      ____________________________________________________________________________________
?Obt?n la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8. 
http://downloads.yahoo.com/ieak8/?l=e1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From billdean at 550access.com  Wed Jun 24 18:28:02 2009
From: billdean at 550access.com (billdean at 550access.com)
Date: Wed, 24 Jun 2009 11:28:02 -0500
Subject: [texhax] topmargin is broken
Message-ID: <1245860882.4a425412667d5@webmail.550access.com>


dear tex user's group help,

please help me.
i cannot alter topmargin!
i am using the 2005 protext installation.

any suggestion would be appreciated.

thanks!

bill dean






From daleif at imf.au.dk  Thu Jun 25 10:49:35 2009
From: daleif at imf.au.dk (Lars Madsen)
Date: Thu, 25 Jun 2009 10:49:35 +0200
Subject: [texhax] topmargin is broken
In-Reply-To: <1245860882.4a425412667d5@webmail.550access.com>
References: <1245860882.4a425412667d5@webmail.550access.com>
Message-ID: <4A433A1F.7030103@imf.au.dk>

billdean at 550access.com wrote:
> dear tex user's group help,
> 
> please help me.
> i cannot alter topmargin!
> i am using the 2005 protext installation.
> 
> any suggestion would be appreciated.
> 
> thanks!
> 
> bill dean
> 
> 

minimal example of what you have tried please? Might also be handy to 
know what class you are using etc.

other than than try using the geometry package, read the doc


-- 

/daleif

From mahi2308 at rediffmail.com  Thu Jun 25 14:39:09 2009
From: mahi2308 at rediffmail.com (mahi)
Date: 25 Jun 2009 12:39:09 -0000
Subject: [texhax] vietnam characters
Message-ID: <20090625123909.1864.qmail@f4mail-235-148.rediffmail.com>

Hi

For one article customer required vietnam characters, if i use vietnam.sty the whole article  font is getting change as "vnr" font, how can i avoid this problem.

Thanks


Maheshwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From vafa at users.berlios.de  Thu Jun 25 10:25:12 2009
From: vafa at users.berlios.de (Vafa Khalighi)
Date: Thu, 25 Jun 2009 18:25:12 +1000
Subject: [texhax] Suport with pstree
In-Reply-To: <861841.52931.qm@web52009.mail.re2.yahoo.com>
References: <861841.52931.qm@web52009.mail.re2.yahoo.com>
Message-ID: <7ac5ed450906250125j48427b96j17705a84f42d8483@mail.gmail.com>

Unless, we do not see your TeX file, we can not say much. But as a general
advice try to scale your tree to fit the page size or if desired try to use
landscape page layout for that specific tree.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From vafa at users.berlios.de  Thu Jun 25 10:26:08 2009
From: vafa at users.berlios.de (Vafa Khalighi)
Date: Thu, 25 Jun 2009 18:26:08 +1000
Subject: [texhax] topmargin is broken
In-Reply-To: <1245860882.4a425412667d5@webmail.550access.com>
References: <1245860882.4a425412667d5@webmail.550access.com>
Message-ID: <7ac5ed450906250126ief0b353xf25af1f1217e6326@mail.gmail.com>

Can you please perhaps send a test .tex file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reinhard.kotucha at web.de  Thu Jun 25 21:34:39 2009
From: reinhard.kotucha at web.de (Reinhard Kotucha)
Date: Thu, 25 Jun 2009 21:34:39 +0200
Subject: [texhax] vietnam characters
In-Reply-To: <20090625123909.1864.qmail@f4mail-235-148.rediffmail.com>
References: <20090625123909.1864.qmail@f4mail-235-148.rediffmail.com>
Message-ID: <19011.53583.422608.191727@zaphod.ms25.net>

On 25 June 2009 mahi wrote:

 > For one article customer required vietnam characters, if i use
 > vietnam.sty the whole article font is getting change as "vnr" font,
 > how can i avoid this problem.

vietnam.sty only provides an easy way to typeset Vietnamese and no
attempt had been made to support anything else.

For multilingual documents you should better use babel.sty instead of
vietnam.sty.  There is a new document in the VnTeX distribution which
provides an example.  It's not yet in any TeX distribution but on CTAN.

  http://ctan.org/tex-archive/language/vietnamese/vntex/doc/generic/vntex/vntex.pdf

See section 3.1.2 on page 4.  There is also a brief introduction to
encodings on page 2.  I hope that you are using UTF-8 as input
encoding already.

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 Bryan.Lepore at umassmed.edu  Fri Jun 26 19:48:48 2009
From: Bryan.Lepore at umassmed.edu (Bryan W. Lepore)
Date: Fri, 26 Jun 2009 13:48:48 -0400 (EDT)
Subject: [texhax] pdflatex : multi figure + one table : \\, aligning figures
Message-ID: 

[abbrev. pdflatex code below]

i'd like to get a long figure aligned left, then three small figures 
stacked on the right, then table on the bottom.

+--------+---------+
| long   | short 1 |
|        |---------+
| figure | short 2 |
|        |---------+
|        | short 3 |
+--------+---------+
|     table        |
+------------------+

the table position is ok.  i am trying \\ after the figures, but have 
inconsistent results : seems dependent on figure scaling, maybe rotation.


i can keep hammering away, but : is this even possible given the code 
below, or am i hoping for too much with the figure env?

-bryan



%%------------------------------------------------------------------------------------------%% 
\documentclass[12pt]{article}
\usepackage{graphicx}
%%-------------------------------------------------------------------------%%
\usepackage{rotating}%for rotating figures
%%-------------------------------------------------------------------------%%

\usepackage{hyperref}
\begin{document}

\begin{figure}
\scriptsize
%-------------------------
\fbox{\includegraphics[scale=0.6,angle=0]{ghanem_2008_bchm_47_3202_figure_2}}
\fbox{\includegraphics[scale=0.4,angle=86]{cantor_and_schimmel_1980_p444_figure_8-15_fluorescence_BSA_Trp_etc}}
\fbox{\includegraphics[scale=0.4,angle=0]{chen_2009_bchm_45_11552_graphic_abstract}}
\fbox{\includegraphics[scale=0.4,angle=0]{10nov08_lakowicz-1999_figure_16_11_p453}}
\begin{tabular}{|l|l|l|l|l|l|l|}\hline
%----------------------------------------------------------------------------------------------------
compound &\multicolumn{2}{|c|}{absorption}            &\multicolumn{3}{|c|}{fluorescence}                          & sensitivity \\ \cline{2-7}
          & $\lambda_{\rm max}$ & $\epsilon_{\rm max}$ & $\lambda_{\rm max}$ & $\phi_{\rm F}$ & $\tau_0$ (ns) & $\epsilon_{\rm max}\phi_{\rm F}$ \\ \cline{2-7}
%----------------------------------------------------------------------------------------------------
Trp      & 280                 & 5600                 & 348                 & 0.20           & 2.6                 & 11.    \\ \hline
Tyr      & 274                 & 1400                 & 303                 & 0.14           & 3.6                 &  2.0   \\ \hline
Phe      & 257                 &  200                 & 282                 & 0.04           & 6.4                 &  0.08  \\ \hline\hline
%----------------------------------------------------------------------------------------------------
\end{tabular}
\caption[test]{test}
\label{table:test}
\end{figure}

\end{document}


From mahi2308 at rediffmail.com  Sat Jun 27 13:07:02 2009
From: mahi2308 at rediffmail.com (mahi)
Date: 27 Jun 2009 11:07:02 -0000
Subject: [texhax] box around eqnarray
Message-ID: <20090627110702.13886.qmail@f4mail-235-139.rediffmail.com>

Hi

How can i create box around multiple line equation with equation no for both the lines using eqnarray.

Thanks
Maheshwari

Maheshwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From daleif at imf.au.dk  Sat Jun 27 18:55:54 2009
From: daleif at imf.au.dk (Lars Madsen)
Date: Sat, 27 Jun 2009 18:55:54 +0200
Subject: [texhax] box around eqnarray
In-Reply-To: <20090627110702.13886.qmail@f4mail-235-139.rediffmail.com>
References: <20090627110702.13886.qmail@f4mail-235-139.rediffmail.com>
Message-ID: <4A464F1A.9040408@imf.au.dk>

mahi wrote:
> Hi
> 
> How can i create box around multiple line equation with equation no for 
> both the lines using eqnarray.
> 
> Thanks
> Maheshwari
> 

first forget you ever heard of eqnarray, reason see PracTeX Journal 
2006-4 (tug.org)

Next learn to use the amsmath envs instead, and then use empheq to frame 
the equations

From arvindmer at gmail.com  Sat Jun 27 21:44:50 2009
From: arvindmer at gmail.com (arvind mer)
Date: Sun, 28 Jun 2009 01:14:50 +0530
Subject: [texhax] () instead of [] in bibliography
Message-ID: <9e7ec6310906271244l726ace18wda65f77371ff0dd@mail.gmail.com>

Hi,

Whenever I am citing anything in my tex file, in output I am getting number
inside the *round brackets *() instead of *square brackets* [] .

Is this a problem with the bibliography style that I am using (
\bibliographystyle{plain} )   or the problem is with the style (.cls) file.

For example in my tex document I am citing the research papers as

Some text and then \cite{my_key}

And in the final PDF I am getting

Some text and then (1)

So the problem is that, in the final PDF file the citation number is inside
the (1) but I want as [1] .

What should I do ??

-- 
Regards
Arvind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From rodolfo.medina at gmail.com  Sun Jun 28 21:14:18 2009
From: rodolfo.medina at gmail.com (Rodolfo Medina)
Date: Sun, 28 Jun 2009 20:14:18 +0100
Subject: [texhax] plain TeX home made symbols for the numbers sets
Message-ID: <87tz20tblh.fsf@gmail.com>

In the TeXbook, the symbol for the real numbers set is something like:

 ${\rm I\!R}$

Then , the symbol for the natural numbers set can be:

 ${\rm I\!N}$

Can anybody suggest how to get something similar for the integers and rational
numbers sets?

Thanks for any help
Rodolfo


From olegkat at gmail.com  Sun Jun 28 20:52:32 2009
From: olegkat at gmail.com (Oleg Katsitadze)
Date: Sun, 28 Jun 2009 21:52:32 +0300
Subject: [texhax] plain TeX home made symbols for the numbers sets
In-Reply-To: <87tz20tblh.fsf@gmail.com>
References: <87tz20tblh.fsf@gmail.com>
Message-ID: <20090628185232.GA28276@thor>

On Sun, Jun 28, 2009 at 08:14:18PM +0100, Rodolfo Medina wrote:
> Can anybody suggest how to get something similar for the integers and rational
> numbers sets?

\newfam\bbfam
\font\tenbb=msbm10
\textfont\bbfam=\tenbb
\def\bb{\fam\bbfam\tenbb}

$${\bb C} \supset {\bb R} \supset {\bb Q} \supset {\bb Z} \supset {\bb N}$$

\bye

Best,
Oleg

From philip.ratcliffe at fastwebnet.it  Sun Jun 28 22:13:57 2009
From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe)
Date: Sun, 28 Jun 2009 22:13:57 +0200
Subject: [texhax] () instead of [] in bibliography
In-Reply-To: <9e7ec6310906271244l726ace18wda65f77371ff0dd@mail.gmail.com>
Message-ID: 

> Whenever I am citing anything in my tex file, in output I am 
> getting number inside the round brackets () instead of square 
> brackets [] . 
> 
> Is this a problem with the bibliography style that I am using 
> (  \bibliographystyle{plain} )   or the problem is with the 
> style (.cls) file.
> 
> [snip]
> 
> What should I do ??

Well, you might start by telling us exactly what .cls you're using together
with any other packages.  Otherwise. we just have to guess.

Cheers,  Phil


From Jerzy.Ludwichowski at uni.torun.pl  Sun Jun 28 22:33:58 2009
From: Jerzy.Ludwichowski at uni.torun.pl (Jerzy Ludwichowski)
Date: Sun, 28 Jun 2009 22:33:58 +0200
Subject: [texhax] URW++ original 35 fonts available under LPPL
Message-ID: <4A47D3B6.8020801@uni.torun.pl>

I am forwarding the message below on behalf of Peter Rosenfeld, Managing
Director of URW++, who has kindly agreed to make the basic 35 PostScript
fonts also available under the LPPL.  At his request, I'll be
disseminating the information throughout the TeX community.

Many thanks to Dr. Rosenfeld!

Many thanks are also due to Karl Berry, TUG President, for his unswerving
support and advice and Bogus\{}aw Jackowski, lead TeX Gyre developer,
for pushing the issue.

Best,
Jerzy B. Ludwichowski
GUST, president


From: Peter Rosenfeld
Date: Mon, 22 Jun 2009 11:33:29 +0200
Subject: URW++ original 35 fonts available under LPPL

To whom it may concern,

Many years ago, URW++ Design and Development Inc. released their
Type 1 implementations of the basic 35 PostScript fonts under the
GNU General Public License and the Aladdin Ghostscript Free Public
License.

We now additionally release them under the LaTeX Project Public License
(http://www.latex-project.org/lppl), either version 1 or (at your
option) any later version.

Of course, this additional licensing applies to the original URW++
material, not any subsequent changes and additions made by other
parties.

The original font files are widely available, for instance as part of
the Ghostscript 4.00 release, and therefore we are not releasing any new
font files.  Those interested can replace the license terms in those
original files accordingly.  Responsibility for ensuring that no
material is incorrectly licensed remains with the distributor, as
always.

We hope this additional licensing will make our fonts even more widely
available and usable in the free software community, such as the TeX
Gyre Project.

Sincerely,
Peter Rosenfeld (Managing Director, URW++)



From bettyjeanharmsen at yahoo.com  Sat Jun 27 22:38:47 2009
From: bettyjeanharmsen at yahoo.com (Betty Harmsen)
Date: Sat, 27 Jun 2009 13:38:47 -0700 (PDT)
Subject: [texhax] can't install tex
Message-ID: <192136.59789.qm@web55905.mail.re3.yahoo.com>

I have the 2008 DVD for Tex Live.  I installed it on my Macintosh and it a was simple one-step process.  But I cannot figure out how to install it on a PC.  It seems extremely complicated and reading the pdf file only confuses me more.  Is it supposed to be that much harder to put in on a PC?

Thanks.

 _____________________________________________________________________

Love the truth; live the truth; speak the truth; write the truth.
Betty Jean Harmsen
http://www.bettyjeanharmsen.com
bettyjeanharmsen at yahoo.com



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From reinhard.kotucha at web.de  Sun Jun 28 23:16:08 2009
From: reinhard.kotucha at web.de (Reinhard Kotucha)
Date: Sun, 28 Jun 2009 23:16:08 +0200
Subject: [texhax] can't install tex
In-Reply-To: <192136.59789.qm@web55905.mail.re3.yahoo.com>
References: <192136.59789.qm@web55905.mail.re3.yahoo.com>
Message-ID: <19015.56728.59682.747855@zaphod.ms25.net>

On 27 June 2009 Betty Harmsen wrote:

 > I have the 2008 DVD for Tex Live.  I installed it on my Macintosh
 > and it a was simple one-step process.  But I cannot figure out how
 > to install it on a PC.  It seems extremely complicated and reading
 > the pdf file only confuses me more.  Is it supposed to be that much
 > harder to put in on a PC?

Hi Betty,
no, it's quite easy too.  You have to run install-tl.bat.  And then
click on the [Install TeX Live] button.  If this doesn't work, please
provide more information.  Don't be confused about the many options
which allows you to configure the system.  The default values are fine
and you don't have to change anything (except if you prefer letter
size to A4).

But you can ignore this, you can use the "TeX Live Manager" in order
to configure these things later.  It's sufficient to run the installer
and click on the [Install TeX Live] button.

Please explain what you've done and what happened.

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 mahi2308 at rediffmail.com  Mon Jun 29 06:22:05 2009
From: mahi2308 at rediffmail.com (mahi)
Date: 29 Jun 2009 04:22:05 -0000
Subject: [texhax] box around eqnarray
Message-ID: <1246121660.S.1961.35421.f4mail-234-220.rediffmail.com.1246249325.29819@webmail.rediffmail.com>


Thanks for suggestion, it's working fine

Maheshwari


On Sat, 27 Jun 2009 22:24:20 +0530  wrote
>mahi wrote:
>> Hi
>> 
>> How can i create box around multiple line equation with equation no for 
>> both the lines using eqnarray.
>> 
>> Thanks
>> Maheshwari
>> 
>
>first forget you ever heard of eqnarray, reason see PracTeX Journal 
>2006-4 (tug.org)
>
>Next learn to use the amsmath envs instead, and then use empheq to frame 
>the equations
>

Maheshwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From dml2009 at easychair.org  Tue Jun 30 02:35:01 2009
From: dml2009 at easychair.org (dml2009 at easychair.org)
Date: Tue, 30 Jun 2009 02:35:01 +0200 (CEST)
Subject: [texhax] CFPart: DML 2009--Towards a Digital Mathematics Library,
	Ontario, CA, Jul 8-9th
Message-ID: <20090630003501.5DD95493EFF@anxur.fi.muni.cz>

Call for participation: Towards a Digital Mathematics Library (DML 2009)
July 8-9th, 2009, Grand Bend, Ontario, Canada

Workshop webpage: http://www.fi.muni.cz/~sojka/dml-2009.html
Registration: http://www.orcca.on.ca/conferences/cicm09/cicm09/registration.html
Travel: http://www.orcca.on.ca/conferences/cicm09/cicm09/travel.html
Accomodation: http://www.orcca.on.ca/conferences/cicm09/cicm09/accommodation.html

Overview:
Mathematicians dream of a digital archive containing all peer-reviewed 
mathematical literature ever published, properly linked and 
validated/verified. It is estimated that the entire corpus of mathematical 
knowledge published over the centuries does not exceed 100,000,000 
pages, an amount easily manageable by current information technologies.

The workshop's objectives are to formulate the strategy and goals of 
a global mathematical digital library and to summarize the current 
successes and failures of ongoing technologies and related projects, 
asking such questions as:
# What technologies, standards, algorithms and formats should be used
  and what metadata should be shared?
# What business models are suitable for publishers of mathematical
  literature, authors and funders of their projects and institutions?
# Is there a model of sustainable, interoperable, and extensible 
  mathematical library that mathematicians can use in their everyday work?
# What is the best practice for
    * retrodigitized mathematics (from images via OCR to MathML and/or TeX);
    * retro-born-digital mathematics (from existing electronic copy in
      DVI, PS or PDF to MathML and/or TeX);
    * born-digital mathematics (how to make needed metadata and file formats
      available as a side effect of publishing workflow [CEDRAM model/Euclid])?

Proceedings:
has been published by Masaryk University Press and will be available on site.  


Papers and Posters selected for presentation at the workshop:

Part I Towards Digital Mathematics Library

* The Evolving Digital Mathematics Network (invited talk)
     David Ruddy (Cornell University Library, USA)
* Community Curation and Management of Mathematical Literature
     John Burns and Nigel Kerr (Ithaka/JSTOR, USA)

Part II Towards Mathematical OCR and Search

* An Approach to Similarity Search for Mathematical Expressions using MathML
     Keisuke Yokoi (University of Tokyo, Japan) and 
     Akiko Aizawa (University of Tokyo, National Institute of Informatics, Japan)
* Improving Mathematics Retrieval
     Shahab Kamali and Frank Wm.~Tompa (University of Waterloo, Canada)
* An Online Repository of Mathematical Samples
     Josef B. Baker, Alan P. Sexton, and Volker Sorge (University of Birmingham, UK)

Part III Digitization Reports

* Report on the Current State of the French DMLs
     Thierry Bouche (Universit\'e de Grenoble~I & CNRS, France)
* Experimental DML over Digital Repositories in Japan
     Takao Namiki, Hiraku Kuroda, and Shunsuke Naruse (Hokkaido University, Sapporo, Japan)

Part IV Digitization Technologies and Platforms

* Document Interlinking in a Digital Math Library
     Claude Goutorbe (Cellule Mathdoc, Universit\'e Joseph Fourier and Centre 
     National de la recherche Scientifique, Grenoble, France)
* I2Geo: a Web-Library of Interactive Geometry
     Paul Libbrecht (DFKI GmbH, Saarbr\"ucken, Germany), 
     Ulrich Kortenkamp (University of Education Karlsruhe, Germany) and 
     Christian Mercat (I3M, Universit\'e Montpellier 2, France)

Part V Tools and Techniques

* MathML-aware Article Conversion from LaTeX 
     Heinrich Stamerjohanns, Deyan Ginev, Catalin David, Dimitar Misev, Vladimir 
     Zamdzhiev, Michael Kohlhase (Jacobs University Bremen, Germany)
* Conversion of TeX Documents to PDF
     Aleksandar Pejovi\'c and \v{Z}arko Mijajlovi\'c 
     (Mathematical Institute SANU, Belgarde, Serbia)

Panel/round table discussion: Towards a Digital Mathematics Library: the Next Steps
Panelists to be confirmed: 
Thierry Bouche (EuDML/EVLM/NUMDAM and CEDRAM), 
John Burns and/or Nigel Kerr (Ithaka/JSTOR, USA),
Michael Doob (Canada), Patrick Ion (AMS, USA),
David Ruddy (Cornell University Library, USA),
Masakazu Suzuki (Japanese digitization projects), 
Petr Sojka (DML-CZ),
Enrique Macias-Virgos (Spanish DML)

Workshop topics: 
(include, but are not limited to)
  o search, indexing and retrieval of mathematical documents
  o ranking of mathematical papers, similarity of mathematical documents
  o math OCR with MathML/TeX output
  o document conversions from/to MathML, OpenMath, LaTeX,
    PostScript and [tagged] PDF
  o conversions between various mathematical formalisms
  o mathematical document compression
  o processing of scanned images
  o algorithms for crosslinking of bibliographical items, 
    intext citations search
  o mathematical document classification, MSC 2010
  o mathematical text mining
  o mathematical documents metadata exchange via OAI-PMH and/or OAI-ORE
  o long term archiving, data migration
  o reports and experience from math digitization projects
  o math publishing with long term archival goal
  o software engineering aspects of creating, handling MathML, 
    OMDoc, OpenMath documents, and displaying them in web browsers

Programme Committee:
  Jose Borbinha (Technical University of Lisbon, IST, PT)
  Thierry Bouche (University Grenoble, Cellule Mathdoc, FR)
  Michael Doob (University of Manitoba, Winnipeg, CA)
  Thomas Fischer (Goettingen University, Digitization Center, DE)
  Yannis Haralambous (T?l?com Bretagne, FR) 
  Vaclav Hlavac (Czech Technical University, Faculty of Engineering, Prague, CZ)
  Janka Chlebikova (Comenius University, MFF, Bratislava, SK)
  Enrique Macias-Virgos (University of Santiago de Compostella, ES)
  Jiri Rakosnik (Academy of Sciences, Mathematical Institute, Prague, CZ)
  Eugenio Rocha (University of Aveiro, Dept. of Mathematics, PT)
  David Ruddy (Cornell University, Library, US) 
  Petr Sojka (Masaryk University, Faculty of Informatics, Brno, CZ) [chair]
  Volker Sorge (University of Birmingham, UK)
  Masakazu Suzuki (Kyushu University, Faculty of Mathematics, JP)
  Bernd Wegner (Technical University & Zentralblatt MATH, Berlin, DE)

Organizing Committee:
  Michael Doob, Michal Ruzicka, Petr Sojka

Questions/inquiries:
mail to dml2009 at easychair dot org

CFP distribution:
Please, distribute at your place. And apologies for multiple postings!

From morten.hoegholm at gmail.com  Tue Jun 30 10:03:01 2009
From: morten.hoegholm at gmail.com (=?ISO-8859-1?Q?Morten_H=F8gholm?=)
Date: Tue, 30 Jun 2009 01:03:01 -0700 (PDT)
Subject: [texhax] Fwd: sad news about Eitan Gurari
In-Reply-To: 
References: 
Message-ID: <93e965c0-b368-4bc2-a77e-2fee2e8daca3@k8g2000yqn.googlegroups.com>


---------- Forwarded message ----------
From: William F Hammond 
Date: Jun 29, 10:26?pm
Subject: sad news about Eitan Gurari
To: comp.text.tex


I'm sorry to have found the following post of this date on the W3C
MathML discussion list:

? ?http://lists.w3.org/Archives/Public/www-math/2009Jun/0040.html

which points to this announcement

? ?http://www.cse.ohio-state.edu/news/news102.shtml

from the Department of Computer Science and Engineering at The
Ohio State University of the sudden death of Eitan Gurari on
June 22.

Gurari was known in the discussion here as the author of tex4ht,
a widely used tool for the translation of LaTeX to HTML and
various XML document types.

I always found him to be most helpful. ?We shall miss him.

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Bill

----------------------------------------------------------------------
William F. Hammond ? ? ? ? ? ? ? ? ? Dept. of Mathematics & Statistics
518-442-4625 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?The University at Albany
hamm... at math.albany.edu ? ? ? ? ? ? ? ? ? ? ?Albany, NY 12222 (U.S.A.)
http://www.albany.edu/~hammond/? ? ? ? ? ? ? ?Dept. FAX: 518-442-4731
----------------------------------------------------------------------

From epubbala at yahoo.com  Tue Jun 30 16:34:38 2009
From: epubbala at yahoo.com (bala)
Date: Tue, 30 Jun 2009 07:34:38 -0700 (PDT)
Subject: [texhax] Left and Right Linenumber alignment
Message-ID: <652463.32829.qm@web110316.mail.gq1.yahoo.com>

Dear All,
?
I have using article.cls file in twocolumn. I need Line Number priting in Left and Right Column (outer margin). 
?
I have tried lineno.sty file and unable align right alignment. 
?
Please help.
?
Regards,
bala


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

From gray.calhoun at gmail.com  Tue Jun 30 07:05:15 2009
From: gray.calhoun at gmail.com (Gray Calhoun)
Date: Mon, 29 Jun 2009 22:05:15 -0700
Subject: [texhax] Is there a way to change how LaTeX handles undefined
	commands?
Message-ID: 

Hi everyone,
  I'd like to be able to change the way LaTeX hanldes undefined
commands in a particular document, preferably from within the document
itself but something that works as a command line argument would be
fine too.  In particular, I hope to do the following: suppress the
error that comes from the undefined command, print the command
verbatim in the output document (ie \badcommand would be printed in
the dvi file with a leading backslash as "\badcommand"), and put an
additional mark in the margin on the same line as the undefined
command.  I realize that this would be pretty strange, but I'm hoping
that it will speed things up when I'm composing the initial drafts of
a paper.  Is it possible to change the error/exception handling within
TeX and LaTeX like this and, if it is, what would be a good source of
documentation to start with?

I'm using TeX Live on Debian, if that makes a difference to the
answer.  My apologies if this is not the correct mailing list for this
question.  Thanks in advance!

--Gray

From crebecca at uchicago.edu  Tue Jun 30 14:03:38 2009
From: crebecca at uchicago.edu (crebecca at uchicago.edu)
Date: Tue, 30 Jun 2009 07:03:38 -0500 (CDT)
Subject: [texhax] fatal errors with footnote italics for critical edition
In-Reply-To: <93e965c0-b368-4bc2-a77e-2fee2e8daca3@k8g2000yqn.googlegroups.com>
References: 
	<93e965c0-b368-4bc2-a77e-2fee2e8daca3@k8g2000yqn.googlegroups.com>
Message-ID: <20090630070338.BQM18805@m4500-03.uchicago.edu>

For a critical edition (Mac OS, ledmac, TeXShop, all latest versions) with double 
footnotes, my B footnotes are vulnerable to random "fatal errors" when text is 
italicized.  These fatal errors tend to happen when B footnotes follow A 
footnotes, or when B footnotes reach some kind of length or formatting limit.  
The error disappears when the italicization is removed.

Error first, preamble next.  Both \textit and my macro \I generate the same 
error.    Other macros: \edt = \edtext  \A = Afootnote  \B = Bfootnote

\edt{ananas}{\A{\I{Ananasses} F; Anana's H}}{\B{pineapples (Fr. \I{ananas})}}, 
\edt{which to my taste}{\A{\sout{I} to H; which, to my taste, F}}

(./Letter19final.aux)
(/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/ot1ptm.fd) Section 1
(./Letter19final.1)
! TeX capacity exceeded, sorry [input stack size=5000].
\@nomath ...e \@font at warning {Command \noexpand #1
                                                  invalid in math mode}\fi 
l.43 ...nana's H}}{\B{pineapples (Fr. \I{ananas})}
                                                  }, \edt{which to my taste}...

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on Letter19final.log.

\documentclass[12pt]{article}
\title{Turkish Embassy Letters}
\author{ed. Rebecca Chung}   
 \renewcommand{\rmdefault}{ptm} 
 
\newcommand{\A}{\Afootnote}
\newcommand{\B}{\Bfootnote} 
\newcommand{\edt}{\edtext}
\newcommand{\I}{\textit}
\newcommand{\U}{\uline}
\newcommand{\OED}{(\I{OED})}  
\newcommand{\CL}{\I{Complete Letters}} 
                             
\usepackage{ledmac}
\usepackage{ulem}
\setcounter{page}{55}
\setcounter{firstlinenum}{0}
\setlength\parindent{0.25 in}
\renewcommand*{\thefootnoteB}{\alph{footnoteB}}
\renewcommand{\notenumfont}{\bfseries\footnotesize}
\footparagraph{A}
\footparagraphX{B}
\noendnotes   

Some workarounds seem to help - pasting in B footnotes first, nesting B 
footnotes within the lemma, adding \newcommands that embed the italics in 
the text.  But no workaround works around consistently, or helps me 
understand why italics create fatal errors at all.

Grateful in advance for any help, and for patience with a learning user in 
humanities.

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 uwe.lueck at web.de  Tue Jun 30 17:31:40 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Tue, 30 Jun 2009 17:31:40 +0200
Subject: [texhax] Left and Right Linenumber alignment
Message-ID: <1161828924@web.de>

bala  schrieb am 30.06.2009 16:37:58:
 
> I have using article.cls file in twocolumn. I need Line Number 
> priting in Left and Right Column (outer margin). 
> 
> I have tried lineno.sty file and unable align right alignment. 

You want to have line numbers on the left of the lefthand column and on the right of the righthand column, right? This is achieved by package option `switch'. What is the problem? 

-- Uwe. 


From vivrii at gmail.com  Tue Jun 30 18:09:45 2009
From: vivrii at gmail.com (Victor Ivrii)
Date: Tue, 30 Jun 2009 12:09:45 -0400
Subject: [texhax] Fwd: sad news about Eitan Gurari
In-Reply-To: <93e965c0-b368-4bc2-a77e-2fee2e8daca3@k8g2000yqn.googlegroups.com>
References: 
	<93e965c0-b368-4bc2-a77e-2fee2e8daca3@k8g2000yqn.googlegroups.com>
Message-ID: <19af81400906300909g532cd5b6o8464e1c7c3dbcab@mail.gmail.com>

On Tue, Jun 30, 2009 at 4:03 AM, Morten
H?gholm wrote:
>
> ---------- Forwarded message ----------
> From: William F Hammond 
> Date: Jun 29, 10:26?pm
> Subject: sad news about Eitan Gurari
> To: comp.text.tex
>
>
> I'm sorry to have found the following post of this date on the W3C
> MathML discussion list:
>
> ? ?http://lists.w3.org/Archives/Public/www-math/2009Jun/0040.html
>
> which points to this announcement
>
> ? ?http://www.cse.ohio-state.edu/news/news102.shtml
>
> from the Department of Computer Science and Engineering at The
> Ohio State University of the sudden death of Eitan Gurari on
> June 22.
>
> Gurari was known in the discussion here as the author of tex4ht,
> a widely used tool for the translation of LaTeX to HTML and
> various XML document types.
>
> I always found him to be most helpful. ?We shall miss him.
>
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Bill
>

> _______________________________________________
> 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
>

Eitan was really very helpful person and nice person who always
answered to cry for help.

 I hope that TeXLive 2009 will include the latest releases of tex4ht

http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html


Victor

-- 
========================
Victor Ivrii, Professor, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii

From uwe.lueck at web.de  Tue Jun 30 21:41:12 2009
From: uwe.lueck at web.de (Uwe Lueck)
Date: Tue, 30 Jun 2009 21:41:12 +0200
Subject: [texhax]
 =?iso-8859-15?q?fatal_errors_with_footnote_italics_for_c?=
 =?iso-8859-15?q?ritical_edition?=
Message-ID: <1161961754@web.de>

 schrieb am 30.06.2009 16:51:08:
> 
> Other macros: \edt = \edtext  \A = Afootnote  \B = Bfootnote
> 
> \edt{ananas}{\A{\I{Ananasses} F; Anana's H}}{\B{pineapples (Fr. \I{ananas})}}, 

I cannot afford analyzing this in detail right now, but the footnote commands must be in the second argument of \edtext=\edt, while here it ends before \B, it looks as if \B were in a third argument of \edt, but it simply is a footnote command in some braces group somewhere in the main text. You may avoid a "fatal error" dropping italicization, but I expect that something strange will happen even then, as long as you don't obey the proper syntax. 

HTH -- Uwe. 
 

From joelcsalomon at gmail.com  Tue Jun 30 22:14:32 2009
From: joelcsalomon at gmail.com (Joel C. Salomon)
Date: Tue, 30 Jun 2009 16:14:32 -0400
Subject: [texhax] Cleveref bug with primed equations
Message-ID: <4A4A7228.1080607@gmail.com>

Here?s a simple example of what I?m trying to do:

\documentclass{article}

\usepackage{amsmath}
\usepackage{cleveref}

\begin{document}
\section*{Demonstrate Bug}
Here is an equation:
\begin{equation}
	\label{eq:pyth}
	a^2 + b^2 = c^2.
\end{equation}

Here is the equation, solved for $c$:
\begin{equation}
	\label{eq:pythsolve}
	\tag{\ref{eq:pyth}${}'$}
	c=\sqrt{a^2 + b^2}.
\end{equation}

This reference works: \cref{eq:pyth},
as does this one: \eqref{eq:pyth}.

%This reference fails: \cref{eq:pythsolve}.
%This one too: \eqref{eq:pythsolve}.
%Even this one: (\ref{eq:pythsolve}).
\end{document}

Uncommenting the \cref line leads to an error of the sort:

	! Argument of \cref at refstar has an extra }.
	
	                \par
	l.27 This reference fails: \cref{eq:pythsolve}

Uncommenting either of the other lines yields this error:

	! TeX capacity exceeded, sorry [input stack size=5000].
	\reserved at a ->\def \reserved at a
	                               *{\cref at refstar }\reserved at a
	l.29 Even this one: (\ref{eq:pythsolve}
                                       ).
	If you really absolutely need more capacity,
	you can ask a wizard to enlarge me.

According to my .log, I?m using ?cleveref 2009/17/04 v0.13?, the latest
on CTAN.

?Joel Salomon