From millstadtf at gmail.com Tue Dec 1 03:03:39 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Mon, 30 Nov 2009 18:03:39 -0800 Subject: [texhax] Printing address on envelope In-Reply-To: <678441.92519.qm@web63006.mail.re1.yahoo.com> References: <678441.92519.qm@web63006.mail.re1.yahoo.com> Message-ID: <44ff02430911301803h432f42fajed070d679ed559d6@mail.gmail.com> Request for clarification: is this something you would do one time, with one envelope? Or are you looking for a procedure for bulk mailing (that is, you'll be sending many envelopes, each having a different address)? In either case, I'm not convinced LaTeX is the appropriate solution. It might be easier/more efficient to use an awk or perl script to generate the ps files to be printed on the envelope, but of course LaTeX will also do the job. The only thing to do is choose your paper size appropriately (based on the envelope size) and place the address correctly on the page. Other people certainly have more experience with the latter task than do I. Cheers, Bob Wilson On Mon, Nov 30, 2009 at 1:57 PM, when harry met sally < whenharry_metsally at yahoo.com> wrote: > Hi, > > I have an already-folded envelope with my work address on it. I want to > print the address of the addressee on the envelope. Is that possible? I > guess my question is more a printing question than a latex question, though > I would need a latex file to create the ps file to be printed on the > envelope. I am on a linux machine. > > Thanks, > Sally > > > _______________________________________________ > 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 whenharry_metsally at yahoo.com Tue Dec 1 03:21:02 2009 From: whenharry_metsally at yahoo.com (when harry met sally) Date: Mon, 30 Nov 2009 18:21:02 -0800 (PST) Subject: [texhax] Printing address on envelope In-Reply-To: <44ff02430911301803h432f42fajed070d679ed559d6@mail.gmail.com> Message-ID: <249898.71098.qm@web63005.mail.re1.yahoo.com> It's just a one-time thing. I wanted to print the address on the envelope to make it look more professional, but I don' think I can put an envelope in the printer. I think writing the address by hand is the simplest solution for a one time thing. Thanks for the answers, Sally --- On Mon, 11/30/09, Robert Wilson wrote: From: Robert Wilson Subject: Re: [texhax] Printing address on envelope To: "when harry met sally" Cc: support at tug.org Date: Monday, November 30, 2009, 6:03 PM Request for clarification: is this something you would do one time, with one envelope? Or are you looking for a procedure for bulk mailing (that is, you'll be sending many envelopes, each having a different address)? In either case, I'm not convinced LaTeX is the appropriate solution. It might be easier/more efficient to use an awk or perl script to generate the ps files to be printed on the envelope, but of course LaTeX will also do the job. The only thing to do is choose your paper size appropriately (based on the envelope size) and place the address correctly on the page. Other people certainly have more experience with the latter task than do I. Cheers, Bob Wilson On Mon, Nov 30, 2009 at 1:57 PM, when harry met sally wrote: Hi, I have an already-folded envelope with my work address on it. I want to print the address of the addressee on the envelope. Is that possible? I guess my question is more a printing question than a latex question, though I would need a latex file to create the ps file to be printed on the envelope. I am on a linux machine. Thanks, Sally _______________________________________________ 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 -----Inline Attachment Follows----- _______________________________________________ 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 wagner at ecei.tohoku.ac.jp Tue Dec 1 04:00:30 2009 From: wagner at ecei.tohoku.ac.jp (Torsten Wagner) Date: Tue, 1 Dec 2009 12:00:30 +0900 Subject: [texhax] Printing address on envelope In-Reply-To: <249898.71098.qm@web63005.mail.re1.yahoo.com> References: <249898.71098.qm@web63005.mail.re1.yahoo.com> Message-ID: <200912011200.30525.wagner@ecei.tohoku.ac.jp> Hi Sally, If it is a one time thing... don't bother with it much If you like to have it "pro" take one of those address stickers (normally they come in a set aranged on a sheet, cut one out and leave some boarder space), Print the address (created by LaTeX or anything else) on a regular paper sheet, Place the single sticker above the printed address on the sheet (without removing the rear-side film) and tape the boarders of the rear-side film with some scotch tape to the paper sheet (without taping the sticker itself), Put the paper again in the printer (carefully check for the right side) and reprint, Remove the sticker from the rear-side film, Place it on the envelope, Enjoy and have a coffee. That method will work fastetst for a single print. Don't need to bother around with right margin settings, etc. Grettings Torsten > It's just a one-time thing. I wanted to print the address on the envelope to make it look more professional, but I don' think I can put an envelope in the printer. I think writing the address by hand is the simplest solution for a one time thing. > > Thanks for the answers, > Sally > > --- On Mon, 11/30/09, Robert Wilson wrote: > > From: Robert Wilson > Subject: Re: [texhax] Printing address on envelope > To: "when harry met sally" > Cc: support at tug.org > Date: Monday, November 30, 2009, 6:03 PM > > Request for clarification: is this something you would do one time, with one envelope? Or are you looking for a procedure for bulk mailing (that is, you'll be sending many envelopes, each having a different address)? In either case, I'm not convinced LaTeX is the appropriate solution. It might be easier/more efficient to use an awk or perl script to generate the ps files to be printed on the envelope, but of course LaTeX will also do the job. The only thing to do is choose your paper size appropriately (based on the envelope size) and place the address correctly on the page. Other people certainly have more experience with the latter task than do I. > > > Cheers, > Bob Wilson > > > On Mon, Nov 30, 2009 at 1:57 PM, when harry met sally wrote: > > > Hi, > > I have an already-folded envelope with my work address on it. I want to print the address of the addressee on the envelope. Is that possible? I guess my question is more a printing question than a latex question, though I would need a latex file to create the ps file to be printed on the envelope. I am on a linux machine. > > > Thanks, > Sally > > > > > _______________________________________________ > > 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 > > > > -----Inline Attachment Follows----- > > _______________________________________________ > 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 > > > -- ---------------------------------------------------------------- ?980-8579 ???????????6-6-05 Tel/Fax : 022-795-7076 E-mail : wagner at ecei.tohoku.ac.jp Web: http://www.bme.ecei.tohoku.ac.jp/ ---------------------------------------------------------------- From news3 at nililand.de Tue Dec 1 16:05:16 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Tue, 1 Dec 2009 16:05:16 +0100 Subject: [texhax] Printing address on envelope References: <44ff02430911301803h432f42fajed070d679ed559d6@mail.gmail.com> <249898.71098.qm@web63005.mail.re1.yahoo.com> Message-ID: Am Mon, 30 Nov 2009 18:21:02 -0800 (PST) schrieb when harry met sally: > It's just a one-time thing. I wanted to print the address on the > envelope to make it look more professional, but I don' think I > can put an envelope in the printer. Well it depends on the printer. Quite a lot have a manual feed slot for unusual papers and you can use it for envelopes. But the envelopes shouldn't be to small, they can get "lost" or slip around in the printer. On the whole I think it is easier (and even more professional looking) if you use envolopes with a window and put the address on the letter. -- Ulrike Fischer From pierre.mackay at comcast.net Tue Dec 1 16:49:14 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Tue, 01 Dec 2009 07:49:14 -0800 Subject: [texhax] Printing address on envelope In-Reply-To: <44ff02430911301803h432f42fajed070d679ed559d6@mail.gmail.com> References: <678441.92519.qm@web63006.mail.re1.yahoo.com> <44ff02430911301803h432f42fajed070d679ed559d6@mail.gmail.com> Message-ID: <4B153AFA.20703@comcast.net> If you make the conversion to PDF, and have a good printer interface for the PDF, it is pretty easy. (CUPS does it just fine.) I assume you have sliding guides in the MANUAL slot for the printer. Set up a second page for the address, and make a couple of runs to get the addressing parts for the envelope down toward the middle of the page. The final position will seem a bit counterintuitive on most printers, but once you have done it it is a model for the future. Waste an envelope or so (use really cheap thin ones) seeing whether you have the following correct. Portrait or Landscape Paper size for the printer. If you get this right, the image on the print menu will show it right. Auto Rotate and Scale for the printer. (This is the real trick) Now print it on a test envelope. On most desktop printers, the envelope goes in printable side up with the flap to the right, but you can find that out by inserting a blank sheet of paper, with a mark on one side so that you really know which side was printed. Adjust the position of the address text as needed. One or two adjustments whould do. Once it works, save the address sheet details as part of a letter.sty (or whatever LaTeX calls it) file. You can do really elegant things with the return address that way. I use Goudy Hand-Tooled for one return address, because it is relevant to the typesetting I do at that address. (But it is wise not to get too inventive.) Pi From Bryan.Lepore at umassmed.edu Tue Dec 1 17:06:47 2009 From: Bryan.Lepore at umassmed.edu (Bryan W. Lepore) Date: Tue, 1 Dec 2009 11:06:47 -0500 (EST) Subject: [texhax] Printing address on envelope In-Reply-To: <4B153AFA.20703@comcast.net> References: <678441.92519.qm@web63006.mail.re1.yahoo.com> <44ff02430911301803h432f42fajed070d679ed559d6@mail.gmail.com> <4B153AFA.20703@comcast.net> Message-ID: sorry if someone mentioned this : Avery (or other brand) has labels on 8.5X11 inch paper - you print on the *labels*, then peel off and stick on the envelope. very handy. HTH -bryan From stevechapin at earthlink.net Wed Dec 2 21:06:59 2009 From: stevechapin at earthlink.net (Steven Chapin) Date: Wed, 2 Dec 2009 15:06:59 -0500 Subject: [texhax] Using "see also" in an index Message-ID: Hi, I've been using the package makeindex to create an index for a book and I would like to use "see also". For example, something like: path, 76, see also curve. I found a macro for this, but I couldn't get it to work properly. Thanks! From axel.retif at mac.com Thu Dec 3 02:44:10 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 02 Dec 2009 19:44:10 -0600 Subject: [texhax] Using "see also" in an index In-Reply-To: References: Message-ID: <76CD097D-82C8-4445-9BE0-AC974893E268@mac.com> On 2 Dec, 2009, at 14:06, Steven Chapin wrote: > Hi, > > I've been using the package makeindex to create an index for a book and I would like to use "see also". For example, something like: path, 76, see also curve. I found a macro for this, but I couldn't get it to work properly. The *package* is makeidx (7 characters); the *program* or application LaTeX calls is makeindex (9 characters). The package makeidx already has the macro for see also, the command |seealso (with |, not \). So in your preamble put \usepackage{makeidx} \makeindex and where the word ``path'' appears use ...path\index{path} and almost at the end of your text, when no more \index calls are made, you can put all you seealso commands: \index{path|seealso{curve}}% Best, Axel From axel.retif at mac.com Thu Dec 3 04:00:29 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 02 Dec 2009 21:00:29 -0600 Subject: [texhax] Using "see also" in an index In-Reply-To: <76CD097D-82C8-4445-9BE0-AC974893E268@mac.com> References: <76CD097D-82C8-4445-9BE0-AC974893E268@mac.com> Message-ID: On 2 Dec, 2009, at 19:44, Axel E. Retif wrote: > On 2 Dec, 2009, at 14:06, Steven Chapin wrote: > >> Hi, >> >> I've been using the package makeindex to create an index for a book and I would like to use "see also". For example, something like: path, 76, see also curve. I found a macro for this, but I couldn't get it to work properly. > > The *package* is makeidx (7 characters); the *program* or application LaTeX calls is > makeindex (9 characters). I regret my oversimplification ---it isn't LaTeX that calls the makeindex program, but your LaTeX editor when you ask it to run Makeindex. Best, Axel > The package makeidx already has the macro for see also, the command |seealso (with |, not \). So in your preamble put > > \usepackage{makeidx} > \makeindex > > and where the word ``path'' appears use > > ...path\index{path} > > and almost at the end of your text, when no more \index calls are made, you can put all you seealso commands: > > \index{path|seealso{curve}}% > > Best, > > Axel From klists at saphor.net Thu Dec 3 08:33:47 2009 From: klists at saphor.net (=?UTF-8?Q?Marc_Wilhelm_K=C3=BCster?=) Date: Thu, 3 Dec 2009 08:33:47 +0100 Subject: [texhax] Job postings: Development of typesetting system for scholarly texts Message-ID: <302238700912022333x4f8383b8qa577142bdf2d2b06@mail.gmail.com> Dear Colleagues, The Deutsche Forschungsgemeinschaft (DFG) funds a joint project of the University of Applied Sciences Worms (Germany) and the University Trier (Germany) for the development of a typesetting module for (primarily) scholarly texts. We will jointly develop a typesetting system for XML-based texts with complex layout requirements that meets the stringent requirements for the typesetting of (potentially heavily multilingual) academic texts (e.g. critical editions). The end user will work directly with semantically annotated data, without having to use explicit layouting instructions. In this the system will build on the TeX experience (not code!) and apply it to new requirements. Based on a WYSIWYG user interface (to be integrated into the TextGrid Lab, cf. http://www.textgrid.de) the system will support end users in the development of style-sheets for the rule-based formatting of their texts and will master the production of PDF (including PDF-A for longterm archiving). For this work we look for two motivated research assistants with a strong skill set in software architecture and development, one primarily focussing on the design and development of the core typesetting system itself (based in Worms) and one primarily looking at the end user interface (based in Trier). Applications should be in by December 31st. You can find the full details of the call under http://www.budabe.eu/print_stellenausschreibung.pdf (in German) and http://www.budabe.de/print_stellenausschreibung_en.pdf (in English) We are looking forward to your applications! Best regards, Marc K?ster P. S.: Please feel free to forward this application to any interested party P. P. S.: I realize that this topic is slightly off-topic for the texhax list, but expect that it might nevertheless be of interest for TeX-users -- ------ FH Worms - University of Applied Sciences Fachbereich Informatik/Telekommunikation Erenburgerstra?e 19 * D-67549 Worms From reinaldo.opus at gmail.com Sat Dec 5 16:40:51 2009 From: reinaldo.opus at gmail.com (Reinaldo) Date: Sat, 5 Dec 2009 13:40:51 -0200 Subject: [texhax] PracTeX 2010-1: Call For Papers Message-ID: <88e1f4d00912050740y6fcdbcd9wa3caadd8c2ed0662@mail.gmail.com> ************************************************************************* We apologise if you receive this Call for Papers more than once ************************************************************************* Call for Papers/Abstracts PracTeX Journal: Issue 2010-1 Issue theme: "LaTeX Academic Work Bench" http://www.tug.org/pracjourn/ Submissions due December 31, 2009 (extended) Dear LaTeX and TeX Users, Since its first edition in 2005, the PracTeX Journal has presented a wide range of articles on the practical use of LaTeX and TeX. Among these articles are ones that describe tools and techniques that can be used in teaching. The PracTeX Journal 2010-1 issue has the theme "LaTeX Academic Work Bench". The goal of this issue is to present ideas on the use of LaTeX tools for education, teaching, and classroom purposes. We are looking for articles that can discuss the development of the tools, and their use and effectiveness. Actual examples and LaTeX sources are encouraged. ** Scope The scope of the issue includes, but is not limited to : - tools that assist the students/authors in preparing graphics, indexes, bibliographies, and other parts of documents; - text manipulation tools; - tutorials; - short videos; - free or almost free tools; - teaching texts; - homework styles; - cross-platform tools. We encourage you to submit original papers describing your experiences using LaTeX and TeX tools in an academic setting, and also papers on tool development work in progress or completed. ** Submission Guidelines: If you would like to submit an article or technical note for publication please contact the editors pracjourn at tug.org. We will work with you to prepare the article. Also see http://tug.org/pracjourn/submit.html for the Journal's guidelines. ** Important Dates: Paper submission deadline: December 31, 2009 Publication date: February 10, 2010 ** News Submissions in any language are acceptable. Since its beginning in 2005, the PracTeX Journal has accepted papers not only in English but also Portuguese, Spanish, Dutch, German, Norwegian, Chinese, Korean, Romanian, and Italian. However, please contact the editors in English, and submit an English abstract. Best Regards, Francisco Reinaldo Paul Blaga 2010-1 Issue Editors Lance Carnes Main Editor -------------- next part -------------- An HTML attachment was scrubbed... URL: From frisk.h at gmail.com Sun Dec 6 17:08:51 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Sun, 6 Dec 2009 17:08:51 +0100 Subject: [texhax] biblatex package and Bibliography problems Message-ID: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> Hi, I'm close to the end of a long process of proofreading and making corrections to may manuscript, and suddenly biblatex, which I use for my references, prints references with crossrefs in the following way: Bateson, Gregory. 'Cybernetic Explanation'. in: Steps to an Ecology of Mind. 2nd ed. University of Chicago Press, 1972. pp. 405-16. The 'in:' should be capitalized here (and was before, when I sent it off to the proofreader a month ago). It's the same with 'internal' bibtex fields such as 'translator': Attali, Jacques. Noise: The Political Economy of Music. trans. by B. Massumi After the full stop, clearly 'trans.' should be capitalized. I have no idea how to resolve this or what I did to produce it. *Any* hints or suggestions would be most welcome! best, /Henrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From frisk.h at gmail.com Sun Dec 6 23:27:59 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Sun, 6 Dec 2009 23:27:59 +0100 Subject: [texhax] biblatex package and Bibliography problems In-Reply-To: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> References: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> Message-ID: <311224200912061427k67e0fa4h9405f83a735b931d@mail.gmail.com> On Sun, Dec 6, 2009 at 5:08 PM, Henrik Frisk wrote: > Hi, > > I'm close to the end of a long process of proofreading and making > corrections to may manuscript, and suddenly biblatex, which I use for my > references, prints references with crossrefs in the following way: > > Bateson, Gregory. 'Cybernetic Explanation'. in: Steps to an Ecology of > Mind. 2nd ed. University > of Chicago Press, 1972. pp. 405-16. > > The 'in:' should be capitalized here (and was before, when I sent it off to > the proofreader a month ago). It's the same with 'internal' bibtex fields > such as 'translator': > > Attali, Jacques. Noise: The Political Economy of Music. trans. by B. > Massumi > > After the full stop, clearly 'trans.' should be capitalized. I have no idea > how to resolve this or what I did to produce it. *Any* hints or suggestions > would be most welcome! > > I tried to update csquotes and biblatex and now I can't get latex to compile the document at all... Meanwhile, I moved the files over to my old computer and when running latex on it there, The "In:"s are capitalized as they should. Right now I don't understand anything... I may just do the job on my old machine for now, time is running out. Again, if someone recognizes this or has any ideas as to why this would happen, I'd be most interested to hear. -------------- next part -------------- An HTML attachment was scrubbed... URL: From torsten.wagner at gmail.com Mon Dec 7 02:02:43 2009 From: torsten.wagner at gmail.com (Torsten Wagner) Date: Mon, 7 Dec 2009 10:02:43 +0900 Subject: [texhax] biblatex package and Bibliography problems In-Reply-To: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> References: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> Message-ID: <200912071002.43062.torsten.wagner@googlemail.com> Hi Henrik > After the full stop, clearly 'trans.' should be capitalized. I have no idea > how to resolve this or what I did to produce it. *Any* hints or suggestions > would be most welcome! First thing I would always try if something like this happens is to delete ALL temporary files. Sometimes for some reasons things went wrong and LaTeX will not update this files if there is no need e.g., no change of the source-files. For a standard document only the .tex and .bib file are important. Make sure you keep the figures if you store them in the same directory and if you use an own stylefile for bibtex you have to save this as well (.bst). Some TeX-editors can delete all temp-files for you. I do not know what kind of editor you use. If this doesn't work you can check whether you still use the same bibtex style file. Within this file it the formating is defined. Maybe you can try to copy the bst file from your old machine to the other computer and make a diff. You could also try to copy the bst-file from your old machine to your new computer within the folder of the tex file rename it into something else and call explicit this stylefile by \bibliographystyle{mybibstyle} within the tex-file. In addtion it is also worth to check the message output of latex and bibtex. Often warinings can be ignored but maybe in that case they give you some idea what is going wrong. If your editor does not allow to read the output of latex and bibtex try to call them from the command line. Hope that helps a bit Regards, Torsten From news3 at nililand.de Mon Dec 7 09:50:26 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Mon, 7 Dec 2009 09:50:26 +0100 Subject: [texhax] biblatex package and Bibliography problems References: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> <311224200912061427k67e0fa4h9405f83a735b931d@mail.gmail.com> Message-ID: Am Sun, 6 Dec 2009 23:27:59 +0100 schrieb Henrik Frisk: >> I'm close to the end of a long process of proofreading and making >> corrections to may manuscript, and suddenly biblatex, which I use for my >> references, prints references with crossrefs in the following way: >> >> Bateson, Gregory. 'Cybernetic Explanation'. in: Steps to an Ecology of >> Mind. 2nd ed. University >> of Chicago Press, 1972. pp. 405-16. >> >> The 'in:' should be capitalized here (and was before, when I sent it off to >> the proofreader a month ago). It's the same with 'internal' bibtex fields >> such as 'translator': >> >> Attali, Jacques. Noise: The Political Economy of Music. trans. by B. >> Massumi >> >> After the full stop, clearly 'trans.' should be capitalized. I have no idea >> how to resolve this or what I did to produce it. *Any* hints or suggestions >> would be most welcome! >> >> I tried to update csquotes and biblatex and now I can't get latex to > compile the document at all... Meanwhile, I moved the files over to my old > computer and when running latex on it there, The "In:"s are capitalized as > they should. Right now I don't understand anything... I may just do the job > on my old machine for now, time is running out. > > Again, if someone recognizes this or has any ideas as to why this would > happen, I'd be most interested to hear. Well obviously something changed. That can happen. But as you didn't give any useful informations (versions of biblatex on both computers, complete small example which demonstrates the problem and would show what style and language you are using, log-file) it is rather difficult to tell you more. -- Ulrike Fischer From frisk.h at gmail.com Mon Dec 7 11:39:21 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Mon, 7 Dec 2009 11:39:21 +0100 Subject: [texhax] biblatex package and Bibliography problems In-Reply-To: References: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> <311224200912061427k67e0fa4h9405f83a735b931d@mail.gmail.com> Message-ID: <311224200912070239y394ba03dwb67d32876bb948c8@mail.gmail.com> On Mon, Dec 7, 2009 at 9:50 AM, Ulrike Fischer wrote: > Am Sun, 6 Dec 2009 23:27:59 +0100 schrieb Henrik Frisk: > > > >> I'm close to the end of a long process of proofreading and making > >> corrections to may manuscript, and suddenly biblatex, which I use for my > >> references, prints references with crossrefs in the following way: > >> > >> Bateson, Gregory. 'Cybernetic Explanation'. in: Steps to an Ecology of > >> Mind. 2nd ed. University > >> of Chicago Press, 1972. pp. 405-16. > >> > >> The 'in:' should be capitalized here (and was before, when I sent it off > to > >> the proofreader a month ago). It's the same with 'internal' bibtex > fields > >> such as 'translator': > >> > >> Attali, Jacques. Noise: The Political Economy of Music. trans. by B. > >> Massumi > >> > >> After the full stop, clearly 'trans.' should be capitalized. I have no > idea > >> how to resolve this or what I did to produce it. *Any* hints or > suggestions > >> would be most welcome! > >> > >> I tried to update csquotes and biblatex and now I can't get latex to > > compile the document at all... Meanwhile, I moved the files over to my > old > > computer and when running latex on it there, The "In:"s are capitalized > as > > they should. Right now I don't understand anything... I may just do the > job > > on my old machine for now, time is running out. > > > > Again, if someone recognizes this or has any ideas as to why this would > > happen, I'd be most interested to hear. > > Well obviously something changed. That can happen. But as you didn't > give any useful informations (versions of biblatex on both > computers, complete small example which demonstrates the problem and > would show what style and language you are using, log-file) it is > rather difficult to tell you more. > > Yes, I realize the information was limited, partly so because I felt so stupid... Thing is, I can't reproduce it with a small example so (I was thinking) the most likely reason is something's gone wrong in my sources (this is a 150 page manuscript). I was running biblatex 0.7 on both machines and I couldn't see any errors in the pdflatex output and bibtex did not complain. Now, I've tried upgrading to biblatex 0.8 but I can't get that to work at all (so now I can't get a maningful logfile from my own source). Trying to run one of the biblatex examples (01--introduction.tex) results in: ! Undefined control sequence. \biburlsetup ->\Urlmuskip =0mu plus 2mu\relax \mathchardef \UrlBreakPenalty ... l.40 \cite{companion} Maybe a dependency problem? Not sure if it's meaningful but the attached small example works (!) but a similar citation command in my manuscript does not work correctly. Thanks again for any suggestions, /Henrik -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bib-test.tex Type: application/x-tex Size: 922 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bib.bib Type: application/octet-stream Size: 461 bytes Desc: not available URL: From frisk.h at gmail.com Mon Dec 7 12:08:16 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Mon, 7 Dec 2009 12:08:16 +0100 Subject: [texhax] biblatex package and Bibliography problems In-Reply-To: <200912071002.43062.torsten.wagner@googlemail.com> References: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> <200912071002.43062.torsten.wagner@googlemail.com> Message-ID: <311224200912070308v6edc2c70ra18f180e5549aa73@mail.gmail.com> On Mon, Dec 7, 2009 at 2:02 AM, Torsten Wagner wrote: > Hi Henrik > > > > After the full stop, clearly 'trans.' should be capitalized. I have no > idea > > how to resolve this or what I did to produce it. *Any* hints or > suggestions > > would be most welcome! > > First thing I would always try if something like this happens is to delete > ALL > temporary files. Sometimes for some reasons things went wrong and LaTeX > will > not update this files if there is no need e.g., no change of the > source-files. > For a standard document only the .tex and .bib file are important. Make > sure > you keep the figures if you store them in the same directory and if you use > an > own stylefile for bibtex you have to save this as well (.bst). > Some TeX-editors can delete all temp-files for you. I do not know what kind > of > editor you use. > > If this doesn't work you can check whether you still use the same bibtex > style > file. Within this file it the formating is defined. Maybe you can try to > copy the > bst file from your old machine to the other computer and make a diff. > You could also try to copy the bst-file from your old machine to your new > computer within the folder of the tex file rename it into something else > and > call explicit this stylefile by > \bibliographystyle{mybibstyle} within 'v tex-file. > > In addtion it is also worth to check the message output of latex and > bibtex. > Often warinings can be ignored but maybe in that case they give you some > idea > what is going wrong. If your editor does not allow to read the output of > latex > and bibtex try to call them from the command line. > > Thanks for these suggestions. I had tried most of it already, but I should check the style-file I'm using. I haven't done that. Unfortunately I've already tried upgrading my biblatex and broke it altogether (see my other reply in the thread). Right now I should either try to get biblatex 0.8 to work or roll back to 0.7. thanks, /h -------------- next part -------------- An HTML attachment was scrubbed... URL: From news3 at nililand.de Mon Dec 7 12:29:39 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Mon, 7 Dec 2009 12:29:39 +0100 Subject: [texhax] biblatex package and Bibliography problems References: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> <311224200912061427k67e0fa4h9405f83a735b931d@mail.gmail.com> <311224200912070239y394ba03dwb67d32876bb948c8@mail.gmail.com> Message-ID: <1ddzjj6npsf99$.dlg@nililand.de> Am Mon, 7 Dec 2009 11:39:21 +0100 schrieb Henrik Frisk: >>>> I'm close to the end of a long process of proofreading and making >>>> corrections to may manuscript, and suddenly biblatex, which I use for my >>>> references, prints references with crossrefs in the following way: ... >>>> The 'in:' should be capitalized here (and was before, when I >>>> sent it off to the proofreader a month ago). >>> Again, if someone recognizes this or has any ideas as to why this would >>> happen, I'd be most interested to hear. >> Well obviously something changed. That can happen. But as you didn't >> give any useful informations (versions of biblatex on both >> computers, complete small example which demonstrates the problem and >> would show what style and language you are using, log-file) it is >> rather difficult to tell you more. > Yes, I realize the information was limited, partly so because I felt so > stupid... Thing is, I can't reproduce it with a small example so (I was > thinking) the most likely reason is something's gone wrong in my sources > (this is a 150 page manuscript). I was running biblatex 0.7 on both machines > and I couldn't see any errors in the pdflatex output and bibtex did not > complain. Make a copy of all your files in a new folder. Then move the \printbibliography and the \cite command directly behind \begin{document} and put a \end{document after \printbibliography. Then compile. If the problem persists something in your preamble is responsible. Start to remove things until you find the source of the problem. If the problem disappear in the short document start to move the \end{document} until you find the point where the problem start. Make sure to remove auxiliary files between the different tests and to run the complete compilation circle (latex + bibtex etc). > > Now, I've tried upgrading to biblatex 0.8 but I can't get that to work at > all (so now I can't get a maningful logfile from my own source). Updating a large package like biblatex when you are approaching a deadline and when you don't actually know that your problem will be resolved by an update is asking for trouble. Are you sure that you did install the new version correctly and that is now used? Did you put all the file in the correct places and did you remove all files from the older version? > Trying to > run one of the biblatex examples (01--introduction.tex) results in: > > ! Undefined control sequence. > \biburlsetup ->\Urlmuskip > =0mu plus 2mu\relax \mathchardef \UrlBreakPenalty > ... > l.40 \cite{companion} > > Maybe a dependency problem? \Urlmuskip is defined in url.sty which is loaded by biblatex. The following works fine for me \listfiles \documentclass{article} \usepackage{biblatex} \begin{document} \the\Urlmuskip \end{document} with versions: article.cls 2007/10/19 v1.4h Standard LaTeX document class size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) biblatex.sty 2009/07/04 v0.8e programmable bibliographies etoolbox.sty 2009/08/06 v1.8 e-TeX tools for LaTeX etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB) keyval.sty 1999/03/16 v1.13 key=value parser (DPC) ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc. biblatex.def 2009/07/04 v0.8e biblatex generic definitions standard.bbx 2009/07/04 v0.8e biblatex bibliography style numeric.bbx 2009/07/04 v0.8e biblatex bibliography style numeric.cbx 2009/07/04 v0.8e biblatex citation style biblatex.cfg english.lbx 2009/07/04 v0.8e biblatex localization > > Not sure if it's meaningful but the attached small example works (!) Well working example are in general not really useful to find problems in non-working documents. -- Ulrike Fischer From vivrii at gmail.com Mon Dec 7 16:27:24 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Mon, 7 Dec 2009 10:27:24 -0500 Subject: [texhax] amsmath: discouraging breaking inline math Message-ID: <19af81400912070727g6c935da5i2bf411e9b2f5aa20@mail.gmail.com> Is there general command which discourages breaking inline math between lines? I am definitely not interested in hacks like \hbox{} or \newline Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From Herbert.Voss at FU-Berlin.DE Mon Dec 7 16:37:10 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 07 Dec 2009 16:37:10 +0100 Subject: [texhax] amsmath: discouraging breaking inline math In-Reply-To: <19af81400912070727g6c935da5i2bf411e9b2f5aa20@mail.gmail.com> References: <19af81400912070727g6c935da5i2bf411e9b2f5aa20@mail.gmail.com> Message-ID: <4B1D2126.7030907@FU-Berlin.DE> Am 07.12.2009 16:27, schrieb Victor Ivrii: > Is there general command which discourages breaking inline math between lines? > > I am definitely not interested in hacks like \hbox{} or \newline ${ ... }$ http://mirror.ctan.org/info/math/voss/mathmode/Mathmode.pdf page 11 Herbert From P.Taylor at Rhul.Ac.Uk Mon Dec 7 16:41:50 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Mon, 07 Dec 2009 15:41:50 +0000 Subject: [texhax] amsmath: discouraging breaking inline math In-Reply-To: <19af81400912070727g6c935da5i2bf411e9b2f5aa20@mail.gmail.com> References: <19af81400912070727g6c935da5i2bf411e9b2f5aa20@mail.gmail.com> Message-ID: <4B1D223E.1080308@Rhul.Ac.Uk> What does "between lines" mean in this context ? Can you give an example of a maths source and the place(s) at which you would prefer breaking not to occur ? Philip Taylor -------- Victor Ivrii wrote: > Is there general command which discourages breaking inline math between lines? From vivrii at gmail.com Mon Dec 7 17:02:57 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Mon, 7 Dec 2009 11:02:57 -0500 Subject: [texhax] amsmath: discouraging breaking inline math In-Reply-To: <4B1D2126.7030907@FU-Berlin.DE> References: <19af81400912070727g6c935da5i2bf411e9b2f5aa20@mail.gmail.com> <4B1D2126.7030907@FU-Berlin.DE> Message-ID: <19af81400912070802y14596ae3lf931fbc2d5e831de@mail.gmail.com> 2009/12/7 Herbert Voss : > Am 07.12.2009 16:27, schrieb Victor Ivrii: >> Is there general command which discourages breaking inline math between lines? >> >> I am definitely not interested in hacks like \hbox{} or \newline > > ${ ... }$ > > http://mirror.ctan.org/info/math/voss/mathmode/Mathmode.pdf > page 11 > Thanks! Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From frisk.h at gmail.com Mon Dec 7 22:55:08 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Mon, 7 Dec 2009 22:55:08 +0100 Subject: [texhax] biblatex package and Bibliography problems In-Reply-To: <1ddzjj6npsf99$.dlg@nililand.de> References: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> <311224200912061427k67e0fa4h9405f83a735b931d@mail.gmail.com> <311224200912070239y394ba03dwb67d32876bb948c8@mail.gmail.com> <1ddzjj6npsf99$.dlg@nililand.de> Message-ID: <311224200912071355t5edec09fre60a422949d75a89@mail.gmail.com> On Mon, Dec 7, 2009 at 12:29 PM, Ulrike Fischer wrote: > > Make a copy of all your files in a new folder. Then move the > \printbibliography and the \cite command directly behind > \begin{document} and put a \end{document after \printbibliography. > Then compile. If the problem persists something in your preamble is > responsible. Start to remove things until you find the source of the > problem. > > If the problem disappear in the short document start to move the > \end{document} until you find the point where the problem start. > > Make sure to remove auxiliary files between the different tests and > to run the complete compilation circle (latex + bibtex etc). > > That sounds like a good method. I'll roll back to the previous version (0.7) of biblatex and try to figure out what caused this error. > > > > > Now, I've tried upgrading to biblatex 0.8 but I can't get that to work at > > all (so now I can't get a maningful logfile from my own source). > > Updating a large package like biblatex when you are approaching a > deadline and when you don't actually know that your problem will be > resolved by an update is asking for trouble. Well, it isn't a decision I'm very proud of; I was panicking... > Are you sure that you > did install the new version correctly and that is now used? Did you > put all the file in the correct places and did you remove all files > from the older version? > > As far as I can tell, yes, but I haven't had any time today to dig in to it. I will probably just go back to where I was (0.7) and deal with this issue later. > > Trying to > > run one of the biblatex examples (01--introduction.tex) results in: > > > > ! Undefined control sequence. > > \biburlsetup ->\Urlmuskip > > =0mu plus 2mu\relax \mathchardef > \UrlBreakPenalty > > ... > > l.40 \cite{companion} > > > > Maybe a dependency problem? > > \Urlmuskip is defined in url.sty which is loaded by biblatex. The > following works fine for me > > \listfiles > \documentclass{article} > \usepackage{biblatex} > > \begin{document} > \the\Urlmuskip > \end{document} > > with versions: > > article.cls 2007/10/19 v1.4h Standard LaTeX document class > size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) > biblatex.sty 2009/07/04 v0.8e programmable bibliographies > etoolbox.sty 2009/08/06 v1.8 e-TeX tools for LaTeX > etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB) > keyval.sty 1999/03/16 v1.13 key=value parser (DPC) > ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) > url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc. > biblatex.def 2009/07/04 v0.8e biblatex generic definitions > standard.bbx 2009/07/04 v0.8e biblatex bibliography style > numeric.bbx 2009/07/04 v0.8e biblatex bibliography style > numeric.cbx 2009/07/04 v0.8e biblatex citation style > biblatex.cfg > english.lbx 2009/07/04 v0.8e biblatex localization > > > Thanks, this will be useful! > > > > > Not sure if it's meaningful but the attached small example works (!) > > Well working example are in general not really useful to find > problems in non-working documents. > > I guess the reason I submitted the example was to show what kind of citations that don't work in my document... Anyways, thanks for the useful input. When (if) I find what caused the problems I'll post it here. best, /h -------------- next part -------------- An HTML attachment was scrubbed... URL: From aksr.1111 at gmail.com Mon Dec 7 08:18:13 2009 From: aksr.1111 at gmail.com (Sanaranalek Darmor) Date: Mon, 7 Dec 2009 08:18:13 +0100 Subject: [texhax] hello "support"... Message-ID: <7fbe8eb60912062318v7a1bfc6cn65ac67165de6a024@mail.gmail.com> i'm working on the project for my job and...i don't know why this part of the code won't compile: [*] userinput @ 0x80498d0: testing\\ [*] outputfile @ 0x80498e8: /tmp/notes\\ [*] distance between: 24\\ tex help is telling me to find in the texbook(part weird errors)..: ----------------------------------------------------------------------- ! Missing number, treated as zero. * l.1045 [*] userinput @ 0x80498d0: testing\\ ------------------------------------------------------------------- my question is how can i write the code, that it appers like this: ---DEBUG-- [*] userinput @ 0x80498d0: testing [*] outputfile @ 0x80498e8: /tmp/notes [*] distance between: 24 ---------- THANK YOU..!!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From daleif at imf.au.dk Tue Dec 8 10:07:15 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 08 Dec 2009 10:07:15 +0100 Subject: [texhax] hello "support"... In-Reply-To: <7fbe8eb60912062318v7a1bfc6cn65ac67165de6a024@mail.gmail.com> References: <7fbe8eb60912062318v7a1bfc6cn65ac67165de6a024@mail.gmail.com> Message-ID: <4B1E1743.70904@imf.au.dk> Sanaranalek Darmor wrote: > i'm working on the project for my job and...i don't know why this part of > the code won't compile: > > [*] userinput @ 0x80498d0: testing\\ > [*] outputfile @ 0x80498e8: /tmp/notes\\ > [*] distance between: 24\\ > tex help is telling me to find in the texbook(part weird errors)..: > ----------------------------------------------------------------------- > ! Missing number, treated as zero. > > > > * > > l.1045 [*] > > userinput @ 0x80498d0: testing\\ > ------------------------------------------------------------------- > my question is how can i write the code, that it appers like this: > > ---DEBUG-- > [*] userinput @ 0x80498d0: testing > [*] outputfile @ 0x80498e8: /tmp/notes > [*] distance between: 24 > ---------- > > THANK YOU..!!!! > > hmm, without a minimal example, i.e. a full minimal compilable document, that shows the error it is a bit hard to help -- /daleif From Susan.Dittmar at gmx.de Tue Dec 8 11:03:08 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Tue, 8 Dec 2009 11:03:08 +0100 Subject: [texhax] hello "support"... In-Reply-To: <7fbe8eb60912062318v7a1bfc6cn65ac67165de6a024@mail.gmail.com> References: <7fbe8eb60912062318v7a1bfc6cn65ac67165de6a024@mail.gmail.com> Message-ID: <20091208100308.GA20112@eureca.de> Hi, Quoting Sanaranalek Darmor (aksr.1111 at gmail.com): > i'm working on the project for my job and...i don't know why this part of > the code won't compile: > > [*] userinput @ 0x80498d0: testing\\ > [*] outputfile @ 0x80498e8: /tmp/notes\\ > [*] distance between: 24\\ > tex help is telling me to find in the texbook(part weird errors)..: > ----------------------------------------------------------------------- > ! Missing number, treated as zero. > > > > * > > l.1045 [*] > > userinput @ 0x80498d0: testing\\ > ------------------------------------------------------------------- > my question is how can i write the code, that it appers like this: > > ---DEBUG-- > [*] userinput @ 0x80498d0: testing > [*] outputfile @ 0x80498e8: /tmp/notes > [*] distance between: 24 > ---------- perhaps my crystal ball works today... I guess the problem is the brackets ([..]) after a manual linebreak (\\) They are interpreted as part of the linebreaking command, giving some (I think additional) distance between lines. Try one of the following workarounds - use \\[0pt] instead of \\, giving the optional argument. I do not know if 0pt is the correct value though. But I am sure someone on this list can provide the correct value. - use {[*]} instead of [*]. It does not change the output, but (La)TeX will know the angular brackets are not this optional argument to \\ - use \\ {} instead of \\ This introduces an empty token and might -- I do not know (La)TeX's internalls well enough to know this -- introduce additional white space, but it might look better to human eyes in the source code. Hope this helps, Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From murrayth at ihug.co.nz Tue Dec 8 21:26:00 2009 From: murrayth at ihug.co.nz (Murray Thompson) Date: Wed, 9 Dec 2009 09:26:00 +1300 Subject: [texhax] Does TimeMachine miss most .tex files? Message-ID: <186B30BA-5872-423C-AC57-C832130B0786@ihug.co.nz> To support at tug.org Help please, On my Mac with OS Snow Leopard, TimeMachine works nicely but I have found FEW of my .tex files are recorded, yet my .pdf, .log, .idx, .aux and all other LaTeX files are recorded. Is there any reason for TimeMachine to miss the essential .tex files ? Can I change my use of TimeMachine to catch and hold every.tex file ? Perhaps TimeMachine records only the files which are on the screen when TimeMachine looks for files to back up. Thanks Professor Murray Thompson From andree at unm.edu Tue Dec 8 21:48:11 2009 From: andree at unm.edu (Andree Jacobson) Date: Tue, 08 Dec 2009 13:48:11 -0700 Subject: [texhax] Does TimeMachine miss most .tex files? In-Reply-To: <186B30BA-5872-423C-AC57-C832130B0786@ihug.co.nz> References: <186B30BA-5872-423C-AC57-C832130B0786@ihug.co.nz> Message-ID: <4B1EBB8B.8000400@unm.edu> All my .tex files are present in my TimeMachine backups. Did you exclude some directory from your backup? /Andree Murray Thompson wrote: > To support at tug.org > > Help please, > > On my Mac with OS Snow Leopard, TimeMachine works nicely but > I have found FEW of my .tex files are recorded, > yet my .pdf, .log, .idx, .aux and all other LaTeX files are recorded. > > Is there any reason for TimeMachine to miss the essential .tex files ? > Can I change my use of TimeMachine to catch and hold every.tex file ? > Perhaps TimeMachine records only the files which are on the screen > when TimeMachine looks for files to back up. > > Thanks > Professor Murray Thompson > > _______________________________________________ > 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 frisk.h at gmail.com Tue Dec 8 23:09:12 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Tue, 8 Dec 2009 23:09:12 +0100 Subject: [texhax] biblatex package and Bibliography problems In-Reply-To: <1ddzjj6npsf99$.dlg@nililand.de> References: <311224200912060808kecf2924nd77673cc412f5221@mail.gmail.com> <311224200912061427k67e0fa4h9405f83a735b931d@mail.gmail.com> <311224200912070239y394ba03dwb67d32876bb948c8@mail.gmail.com> <1ddzjj6npsf99$.dlg@nililand.de> Message-ID: <311224200912081409l15388a2ao3e26b69b41a2d040@mail.gmail.com> On Mon, Dec 7, 2009 at 12:29 PM, Ulrike Fischer wrote: > > Updating a large package like biblatex when you are approaching a > deadline and when you don't actually know that your problem will be > resolved by an update is asking for trouble. Are you sure that you > did install the new version correctly and that is now used? Did you > put all the file in the correct places and did you remove all files > from the older version? > > In the end upgrading turned out to help after all. I'm using Texlive2007 on Fedora11 (I haven't quite gotten used to Texlive) and it turned out to have an hopelessly dated version of url.sty. Updating that made biblatex 0.8 to work and processing my document with it rendered the correct bibliography. Now the fact that the document worked on another machine under biblatex 0.7 and under my current machine with biblatex 0.8 makes me suspect it had something to do with a corrupt style file as Torsten suggested. Well, I'm not going to experiment more with it now that it works! > > > > Not sure if it's meaningful but the attached small example works (!) > > Well working example are in general not really useful to find > problems in non-working documents. > > Furthermore, the document I submitted had *nothing* to do with the problem as it didn't even contain a citation command. I'm sorry about the noise... Thanks for all the help! best, /h -------------- next part -------------- An HTML attachment was scrubbed... URL: From toms at ncifcrf.gov Wed Dec 9 02:59:44 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 8 Dec 2009 20:59:44 -0500 (EST) Subject: [texhax] epsilon problem Message-ID: <200912090159.nB91xiIZ019371@strawberry.ncifcrf.gov> Hi: I have been using \epsilon in LaTeX (looks like a set membership) but it turns into a backwards 3 when I switch to \usepackage{pslatex} See: http://en.wikipedia.org/wiki/Epsilon (the 'lunate epsilon' is what I want but the 'open e epsilon' is given by pslatex.) Also: http://www.physicsforums.com/showthread.php?t=291211 Is there a way to use pslatex (since it displays much more cleanly) but force the epsilon to be the original LaTeX form? Something like: \renewcommand{\epsilon}{ ...} Thanks, Tom Dr. Thomas D. Schneider National Institutes of Health 240-367-4179 (cell) schneidt at mail.nih.gov toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms (permanent) From axel.retif at mac.com Wed Dec 9 06:26:44 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 08 Dec 2009 23:26:44 -0600 Subject: [texhax] epsilon problem In-Reply-To: <200912090159.nB91xiIZ019371@strawberry.ncifcrf.gov> References: <200912090159.nB91xiIZ019371@strawberry.ncifcrf.gov> Message-ID: <68616B1C-691A-4072-92EC-93B747819C57@mac.com> On 8 Dec, 2009, at 19:59, Tom Schneider wrote: > I have been using \epsilon in LaTeX (looks like a set membership) > but it turns into a backwards 3 when I switch to > > \usepackage{pslatex} > > See: > > http://en.wikipedia.org/wiki/Epsilon > (the 'lunate epsilon' is what I want but the 'open e epsilon' > is given by pslatex.) You can try this \documentclass{article} \usepackage[T1]{fontenc} \usepackage{pslatex} \usepackage{txfonts} % comment un-comment this \renewcommand{\sfdefault}{phv}% 4 lines to see you get the \renewcommand{\rmdefault}{ptm}% same text result with and w/o \renewcommand{\ttdefault}{pcr}% them, but \epsilon is right \begin{document} abc {\sf abc} {\tt abc} \quad $\epsilon$ \quad $\varepsilon$ \end{document} Best, Axel From toms at ncifcrf.gov Wed Dec 9 08:35:23 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 9 Dec 2009 02:35:23 -0500 (EST) Subject: [texhax] epsilon problem In-Reply-To: <68616B1C-691A-4072-92EC-93B747819C57@mac.com> from "Axel E. Retif" at "Dec 9, 2009 00:26:44 am" Message-ID: <200912090735.nB97ZN6a000698@strawberry.ncifcrf.gov> Axel: > \usepackage[T1]{fontenc} > \usepackage{pslatex} > \usepackage{txfonts} % comment un-comment this > \renewcommand{\sfdefault}{phv}% 4 lines to see you get the > \renewcommand{\rmdefault}{ptm}% same text result with and w/o > \renewcommand{\ttdefault}{pcr}% them, but \epsilon is right Thanks!! Tom Dr. Thomas D. Schneider National Institutes of Health schneidt at mail.nih.gov toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms (permanent) From frisk.h at gmail.com Wed Dec 9 23:41:34 2009 From: frisk.h at gmail.com (Henrik Frisk) Date: Wed, 9 Dec 2009 23:41:34 +0100 Subject: [texhax] Biblatex and indexing Message-ID: <311224200912091441w21e1cf45l283401d2cf013ea4@mail.gmail.com> Hi, In a book project I'm using biblatex with the option 'indexing=cite' to generate index entries for author and title for the works cited. However, I would like to remove certain entries from the index. Although I can do this manually (or by writing a simple script), by editing the .ind file (might just be the simplest option) I can't help but thinking I should be able to define an alternate citation command for entries that should appear in the bibliography but not in the index. The command \citeauthor is declared in biblatex.def as: \DeclareCiteCommand{\citeauthor} {\boolfalse{citetracker}% \boolfalse{pagetracker}% \usebibmacro{prenote}} {\indexnames{labelname}% \printnames{labelname}} {\multicitedelim} {\usebibmacro{postnote}} and redeclaring that without the \indexnames command successfully removes the name of the work cited using \citeauthor. What I would like to be able to do, however, is to define a command that is equal to \footcite but which doesn't but the author and title fields in the index, but from looking at biblatex.def I just can't figure out how to do it. Any suggestions? best, /Henrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabrielle_araj at yahoo.com Thu Dec 10 00:45:59 2009 From: gabrielle_araj at yahoo.com (Gabrielle Araj) Date: Wed, 9 Dec 2009 15:45:59 -0800 (PST) Subject: [texhax] full bleed Message-ID: <914356.81294.qm@web113202.mail.gq1.yahoo.com> I would like to put color on the border of my document. Can you help me with that. Thanks __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at skwc.com Wed Dec 9 13:47:45 2009 From: scott at skwc.com (Scott McMahan) Date: Wed, 09 Dec 2009 07:47:45 -0500 Subject: [texhax] Fedora 12: cmr12 font shrunk? Message-ID: <4B1F9C71.705@skwc.com> I used LaTeX to write two books and am working on a third. I just upgraded to Fedora 12, and thought something looked really wrong with my draft printouts, which looked smaller. I couldn't belive my eyes and actually printed a page I'd already printed (back under F11) and compared them side by side. CMR12 has shrunk! I thought at first something had gone wrong in the printing, but there are no errors, and the scale factor is 100%. LaTeX is not substituting a smaller font, because the lines on the page are indentical and if a smaller font was being used, there would be more text per page. Has CMR12 changed? If so, how do I get my old CMR12 back so all three books look the same? I'm baffled as to what to do about this. I'm not even sure where or how to ask about this. Scott From ultimatedjz at comcast.net Thu Dec 10 06:44:45 2009 From: ultimatedjz at comcast.net (Alex) Date: Wed, 9 Dec 2009 22:44:45 -0700 Subject: [texhax] Possible error in mla-paper package Message-ID: <000001ca795b$e36bad30$aa430790$@net> TUG Support, I would first like to commend your team for providing a vast website of resources for the Tex community. I recently downloaded the mla-paper package(Directory: CTAN home / tex-archive/ macros/ latex/ contrib/ mla-paper) in order to format my latex document for MLA. After package installation, the complier produced several errors each involving \ifpdf, specifically: " ! undefined control sequence \ifpdf ". After opening mla.sty, I noticed mla.sty was missing \usepackage{ifpdf} from the code, the reason for the output errors. As a side note, currently I am running TeXnicCenter and MiKTeX on windows. If this truly an error in the code, then this email is simply here to inform the TUG team of it and have it corrected so other users do not have complications. However, this may not be an error in the code, but a situational error for my Tex setup. Either way, my code is working and I want everyone else's to work. Thank you for your time, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From news3 at nililand.de Thu Dec 10 12:10:54 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Thu, 10 Dec 2009 12:10:54 +0100 Subject: [texhax] Fedora 12: cmr12 font shrunk? References: <4B1F9C71.705@skwc.com> Message-ID: Am Wed, 09 Dec 2009 07:47:45 -0500 schrieb Scott McMahan: > I used LaTeX to write two books and am working on a third. I just > upgraded to Fedora 12, and thought something looked really wrong with my > draft printouts, which looked smaller. I couldn't belive my eyes and > actually printed a page I'd already printed (back under F11) and > compared them side by side. CMR12 has shrunk! I thought at first > something had gone wrong in the printing, but there are no errors, and > the scale factor is 100%. LaTeX is not substituting a smaller font, > because the lines on the page are indentical and if a smaller font was > being used, there would be more text per page. > > Has CMR12 changed? If so, how do I get my old CMR12 back so all three > books look the same? I'm baffled as to what to do about this. I'm not > even sure where or how to ask about this. *If* cmr12 had changed then you would get more text on a line as it quite improbable that your class changed \linewidth at the same time. You are not saying how you are compiling and printing but the most probable cause of your problem is the setting "fit to page" in the adobe reader printer dialog. -- Ulrike Fischer From karl at freefriends.org Thu Dec 10 20:46:46 2009 From: karl at freefriends.org (Karl Berry) Date: Thu, 10 Dec 2009 19:46:46 GMT Subject: [texhax] Fedora 12: cmr12 font shrunk? In-Reply-To: <4B1F9C71.705@skwc.com> Message-ID: <200912101946.nBAJkkCX013745@f7.net> Hi Scott, cmr12 hasn't changed. Really. Absolutely not. I'm as sure as I can be that it is something in the printing mechanism. I experienced many things myself (and long since gave up on using the system spoolers). Well, actually the above is a lie. The metrics haven't changed and never will, but in TeX Live 2009, cmr12.pfb was changed wrt hinting and a few glyph shape changes from Knuth. There was no shrinking, though. (Also I doubt you are using TL 2009 since it was only released a few weeks ago.) Attached is one PDF made with the TL'09 cmr12.pfb and another with a much older (web2c 7.4.5, some ancient tetex) cmr12.pfb. Maybe it will help you debug the printing problem which I am 99.99% sure is the culprit :). Best, Karl -------------- next part -------------- A non-text attachment was scrubbed... Name: cmr12-new.pdf Type: application/pdf Size: 39258 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cmr12-old.pdf Type: application/pdf Size: 27159 bytes Desc: not available URL: From will.adams at frycomm.com Thu Dec 10 20:53:08 2009 From: will.adams at frycomm.com (William Adams) Date: Thu, 10 Dec 2009 14:53:08 -0500 Subject: [texhax] a 1 inch .pdf == 4.30554pts? Message-ID: I'm measuring boxes again, and getting some odd dimensions. First, create a .pdf using the following logo.tex file: \documentclass{article} \usepackage{calc} \usepackage{geometry} \geometry{ paperwidth=1in, paperheight=1in, margin=0mm} \begin{document} \noindent\begin{picture}(0,0)\put(0,0){\rule[\baselineskip-1in]{1in} {1in}}\end{picture} \end{document} Then pull it into a second .tex file, and the measured size varies according to whether or no it's been pulled into a \savebox?: \documentclass{article} \usepackage{calc,graphicx} \usepackage{geometry} \geometry{ paperwidth=3in, paperheight=3in, margin=0mm} \begin{document} \newsavebox{\scaledLogo} \newlength{\LogoVSize} \sbox{\scaledLogo}{\includegraphics{logo.pdf}}% \settoheight{\LogoVSize}{\scaledLogo}% \usebox{\scaledLogo} \the\LogoVSize \settoheight{\LogoVSize}{\includegraphics{logo.pdf}} \the\LogoVSize \includegraphics{logo.pdf} \end{document} For some reason \LogoVSize == 4.30554pt when measuring the \savebox, but 72.2698pt when measuring the graphic directly --- why is that? William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From ng.eching at gmail.com Thu Dec 10 22:24:01 2009 From: ng.eching at gmail.com (Ng E-Ching) Date: Thu, 10 Dec 2009 16:24:01 -0500 Subject: [texhax] texhax Digest, Vol 2009, Issue 480 In-Reply-To: References: Message-ID: <4B2166F1.3030008@gmail.com> Apologies if this is a silly question. I am making a header using the fancyhdr package, and I would like to automatically use the information from \title, \author and \date. The short title used by the table of contents would be especially helpful. But I haven't been able to figure out what the commands would be ... does anyone know? \title{My test document} \author{E-Ching Ng} \date{4 Dec 2009} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{0.5pt} \lhead{AUTHOR}\chead{TITLE}\rhead{DATE} % Code needed here \lfoot{}\cfoot{\thepage}\rfoot{} Hopefully, E-Ching From gabrielle_araj at yahoo.com Thu Dec 10 23:58:51 2009 From: gabrielle_araj at yahoo.com (Gabrielle Araj) Date: Thu, 10 Dec 2009 14:58:51 -0800 (PST) Subject: [texhax] full bleed In-Reply-To: <4B215204.2010603@comcast.net> References: <914356.81294.qm@web113202.mail.gq1.yahoo.com> <4B215204.2010603@comcast.net> Message-ID: <221573.82770.qm@web113205.mail.gq1.yahoo.com> Thanks for your response. Do you have a *.tex example so I can adapt it to my situation.I use geometry. \documentclass[12pt,twoside]{book} \usepackage[paperheight=21.0cm,paperwidth=21.0cm,nomarginpar,hmargin=1in]{geometry} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} I found this example but unable to understand what to do to have color on the edge of my paper. EXAMPLE: \documentclass[11pt,a4paper]{memoir} \setstocksize{52mm}{90mm} \setpagecc{49mm}{87mm}{*} \settypeblocksize{43mm}{81mm}{*} \setulmargins{3mm}{*}{*} \setlrmargins{3mm}{*}{*} \setheadfoot{0.1pt}{0.1pt} \setheaderspaces{1pt}{*}{*} \checkandfixthelayout[fixed] \pagestyle{empty} \usepackage{color} \begin{document} \pagecolor[cmyk]{...} ... \end{document} ________________________________ From: Pierre MacKay To: Gabrielle Araj Sent: Thu, December 10, 2009 2:54:44 PM Subject: Re: [texhax] full bleed On 12/09/2009 03:45 PM, Gabrielle Araj wrote: > >I >would like to put color on the border of my document. Can you help me >with that. > >>Thanks > > It may depend on whether you are doing your own printing from a desktop printer or using a commercial printer. If you are using a commercial printer, you need to take account of the recently developed standards for PDF, such as PDF/X-3 (I have not yet explored PDF/X-5). The Adobe Acrobat Pro distiller seems at this time to be the only tool you can use to set the four page-wide levels of boxing, of which you will need three. They run MediaBox, CropBox, BleedBox, and TrimBox, with the defaults being to have the borders of all four the same. If you use dvips with the -O and the -T options, you will effectively be setting the MediaBox to match the CropBox. Then distiller will give you the (Advanced Options) option to set the Bleed Box to the CropBox, and to specify the offset of the TrimBox boundaries, which must lie inside the Bleed Box. (The amount favored by the presses I use is 9 Adobe points inside all four boundaries of the Bleed box. Unfortunately, Ghostscript seems to be still at an experimental roll-your-own stage in offering these details. This means that your basic colored underlay must be 18 pt wider and 18 pt deeper than your desired trim size, and must be moved into position so that it extends outside the trim size in all four directions. I find it best to size the color underlay as needed and then immediately declare that it has 0pt width and 0pt depth, so that it will not complicate the positioning of other elements on the page. Sorry if this sounds complicated. It is complicated the first time through, and you will probably spend some time looking at the PDFs and fudging dimensions until things come right. I use a framework of \vrules that can be turned on and off with an \if \fi construction so that I can really see where the TrimBox will be aligned. (The rules are set into named boxes, and the boxes are given a declared 0pt width so that they will not affect the spacing of other elements. The effect is a sort of visible \strut.) If you can get hold of a PDF that has BleedBox and TrimBox set, look at it in something like emacs, and you will get a good idea of how and where the values are set in PDF/X-3. Good luck. It works very well once you get the hang of it. Pierre MacKay __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sheltraw at berkeley.edu Thu Dec 10 21:42:08 2009 From: sheltraw at berkeley.edu (sheltraw at berkeley.edu) Date: Thu, 10 Dec 2009 12:42:08 -0800 Subject: [texhax] calcualtions witihn newcommand Message-ID: <001f22caf997564e2c6a33a85101b59c.squirrel@calmail.berkeley.edu> Good day LaTex users I am writing a new command that takes as an argument a number. I would like to perform a simple multiplication of that number by 10 and then use its numeric result as an argument to the \put command (used in the picture environment). How can I do this? Thanks for your help! From gabrielle_araj at yahoo.com Fri Dec 11 01:09:03 2009 From: gabrielle_araj at yahoo.com (Gabrielle Araj) Date: Thu, 10 Dec 2009 16:09:03 -0800 (PST) Subject: [texhax] full bleed In-Reply-To: <6FE08CFF-716D-463A-81C7-55745ED81F0A@alphabyte.co.nz> References: <914356.81294.qm@web113202.mail.gq1.yahoo.com> <6FE08CFF-716D-463A-81C7-55745ED81F0A@alphabyte.co.nz> Message-ID: <585590.23241.qm@web113205.mail.gq1.yahoo.com> Thanks for your help {zwpagelayout} is the package that can color the edge of my document. Is anyone has an example ?? ________________________________ From: Alan T Litchfield To: Gabrielle Araj Sent: Wed, December 9, 2009 7:27:56 PM Subject: Re: [texhax] full bleed This help? http://www.ctan.org/tex-archive/macros/latex/contrib/zwpagelayout/doc/latex/zwpagelayout/zwpagelayout.pdf Alan On 10/12/2009, at 12:45 PM, Gabrielle Araj wrote: > I would like to put color on the border of my document. Can you help me with that. > > Thanks > > > Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now! > > _______________________________________________ > 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 -- Alan T Litchfield AlphaByte PO Box 141, Auckland, 1140 New Zealand http://www.alphabyte.co.nz http://www.alphabyte.co.nz/beatrice __________________________________________________________________ Make your browsing faster, safer, and easier with the new Internet Explorer? 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From news3 at nililand.de Fri Dec 11 10:03:22 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Fri, 11 Dec 2009 10:03:22 +0100 Subject: [texhax] a 1 inch .pdf == 4.30554pts? References: Message-ID: Am Thu, 10 Dec 2009 14:53:08 -0500 schrieb William Adams: > I'm measuring boxes again, and getting some odd dimensions. > > First, create a .pdf using the following logo.tex file: > > \documentclass{article} > \usepackage{calc} > \usepackage{geometry} > \geometry{ > paperwidth=1in, > paperheight=1in, > margin=0mm} > \begin{document} > \noindent\begin{picture}(0,0)\put(0,0){\rule[\baselineskip-1in]{1in} > {1in}}\end{picture} > \end{document} > > Then pull it into a second .tex file, and the measured size varies > according to whether or no it's been pulled into a \savebox?: > > \documentclass{article} > \usepackage{calc,graphicx} > \usepackage{geometry} > \geometry{ > paperwidth=3in, > paperheight=3in, > margin=0mm} > \begin{document} > \newsavebox{\scaledLogo} > \newlength{\LogoVSize} > \sbox{\scaledLogo}{\includegraphics{logo.pdf}}% > \settoheight{\LogoVSize}{\scaledLogo}% > \usebox{\scaledLogo} > > \the\LogoVSize > > \settoheight{\LogoVSize}{\includegraphics{logo.pdf}} > > \the\LogoVSize > > \includegraphics{logo.pdf} > > \end{document} > > For some reason \LogoVSize == 4.30554pt when measuring the \savebox, > but 72.2698pt when measuring the graphic directly --- why is that? Because you are not measuring the height of the box (\usebox{\scaledLogo}) but of the command \scaledLogo: \documentclass{article} \begin{document} \newsavebox{\scaledLogo} \newlength{\LogoVSize} \sbox{\scaledLogo}{\rule{1in}{1in}}% \scaledLogo, \settoheight{\LogoVSize}{\scaledLogo}% \the\LogoVSize \bigskip \usebox{\scaledLogo} \settoheight{\LogoVSize}{\usebox{\scaledLogo}}% \the\LogoVSize \end{document} -- Ulrike Fischer From will.adams at frycomm.com Fri Dec 11 13:21:49 2009 From: will.adams at frycomm.com (William Adams) Date: Fri, 11 Dec 2009 07:21:49 -0500 Subject: [texhax] a 1 inch .pdf == 4.30554pts? In-Reply-To: References: Message-ID: <70BC3668-6909-4958-BB4F-42B22E1615E1@frycomm.com> On Dec 11, 2009, at 4:03 AM, Ulrike Fischer wrote: > Because you are not measuring the height of the box > (\usebox{\scaledLogo}) but of the command \scaledLogo: OIC. Thank you. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From touildiden at yahoo.fr Fri Dec 11 14:36:13 2009 From: touildiden at yahoo.fr (Boumediene TOUIL) Date: Fri, 11 Dec 2009 13:36:13 +0000 (GMT) Subject: [texhax] Help Please: need Tex Live 2009 Message-ID: <500383.4891.qm@web28605.mail.ukl.yahoo.com> Dear Sir, I am PhD student in Physics in Algeria and I'd like to type the manuscript of my thesis in LaTeX format. It's really top. Unfortunately, here at home, this software is unobtainable. Please Sir, can you send me the DVD TeX Collection which includes the latest french version of Tex Live 2009for Linux. I wish to inform you, Sir, that my reasons do not allow me to buy it. Thank you in advance, Best regards, Boumediene TOUIL ************************************** Boumediene TOUIL N15, Hai Commandant Ferradj 2 Ain El-Turck 31014 Oran ALGERIEEmail: touildiden at yahoo.fr ************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From news at lawshouse.org Fri Dec 11 16:07:54 2009 From: news at lawshouse.org (Henry Law) Date: Fri, 11 Dec 2009 15:07:54 +0000 Subject: [texhax] Help Please: need Tex Live 2009 In-Reply-To: <500383.4891.qm@web28605.mail.ukl.yahoo.com> References: <500383.4891.qm@web28605.mail.ukl.yahoo.com> Message-ID: <4B22604A.8050901@lawshouse.org> Boumediene TOUIL wrote: > I am PhD student in Physics in Algeria and I'd like to type the > manuscript of my thesis in LaTeX format. It's really top. > Unfortunately, here at home, this software is unobtainable. Touil, can you not download it (or install it directly) from one of the links at http://www.tug.org/texlive/acquire.html ? It's free. -- Henry Law Manchester, England From scott at skwc.com Fri Dec 11 18:34:57 2009 From: scott at skwc.com (Scott McMahan) Date: Fri, 11 Dec 2009 12:34:57 -0500 Subject: [texhax] More on Fedora 12/cmr12 font shrinking Message-ID: <4B2282C1.5070607@skwc.com> Thanks to the folks who have given me assistance on this baffling issue. I have ruled out that it is not a change in LaTeX itself, but have not found the cause of the shrunk font. I upgraded to Fedora 12 last week, and printed a draft chapter of a book I was working on. I immediately noticed that the page had smaller print than the other draft chapters I had printed. Because I had changed nothing in my print settings, I thought at first that the font cmr12 had changed. I couldn't find any explanation for what happened. Someone sent me an "old" LaTeX test page and a "new" one from the versions before and after the Fedora 12 upgrade, and both printed the same way. This has ruled out LaTeX itself as the source of the shrinking font. I am using pdflatex to generate a PDF from my source files. I use Evince to print this file. I have written two fairly involved books this way, and this is the third. The only change in anything has been from Fedora 11 to Fedora 12. I have not changed printers, the LaTeX source, etc. I looked at the print settings in Evince's print dialog, the printer defaults, and the printer driver defaults. None of these have changed. They are set to American letter size paper, the correct orientation, etc. Plus they are set to the correct scale factor. There is not any "best fit" or "fit to page" setting active. If it was something as trivial as this, I'd have found it by now. There are no errors in CUPS' error log to indicate anything at all. Whatever the Evince -> CUPS -> printer driver system is doing, it doesn't think anything has gone wrong. I used the scale factor to scale the document to 105% and printed a test page. I held the new page up along with an old page to a strong light, and the individual letters are the same size, but the space between each letter and word, plus the space between lines, is not the same, so this can't be a scale issue. I'm baffled by what has happened to cause the font to shrink. I know that what's printing out is not a 12-point font. Whatever is going on is below the level of user control, either deep inside CUPS, or in the latest version of the printer driver. I do not have the expertise with print systems to debug this sort of thing. Nor the time, because I have to finish this by the end of the year, so I don't have time to debug it. I mainly wanted all three books to have a uniform look on the printed page. Scott From office at tug.org Fri Dec 11 19:29:24 2009 From: office at tug.org (TUG office) Date: Fri, 11 Dec 2009 10:29:24 -0800 Subject: [texhax] Help Please: need Tex Live 2009 In-Reply-To: <500383.4891.qm@web28605.mail.ukl.yahoo.com> References: <500383.4891.qm@web28605.mail.ukl.yahoo.com> Message-ID: <4b228f87.9613f30a.1252.ffffb69a@mx.google.com> Dear Boumediene, The quickest way for you to obtain the software would be to download it. See: http://www.tug.org/texlive/ Is that possible for you? Currently we have last year's version available on DVD. (We haven't received the 2009 DVD's yet.) So if we send a copy, it would be the 2008 TeX Collection, fyi. Sincerely, Robin Laakso TUG office *** At 05:36 AM 12/11/2009, Boumediene TOUIL wrote: >I am PhD student in Physics in Algeria and I'd like to type the >manuscript of my thesis in LaTeX format. It's really top. >Unfortunately, here at home, this software is unobtainable. >Please Sir, can you send me the DVD TeX Collection which includes >the latest french version of Tex Live 2009 for Linux. >I wish to inform you, Sir, that my reasons do not allow me to buy it. >Thank you in advance, >Best regards, > >Boumediene TOUIL > > > >************************************** > >Boumediene TOUIL > >N15, Hai Commandant Ferradj 2 > >Ain El-Turck > >31014 Oran > >ALGERIE >Email: touildiden at yahoo.fr > >************************************** From elijah at chalmers.se Fri Dec 11 15:54:46 2009 From: elijah at chalmers.se (Johan Bengtsson) Date: Fri, 11 Dec 2009 15:54:46 +0100 Subject: [texhax] Problem with local font map files Message-ID: Hi, I'm a sysadmin trying to solve some problems with a local texmf tree. Please note that I'm a very inexperienced latex user, just a sysadmin trying to solve a problem... The problem was that the font map files were in the wrong (old) place, and users were getting errors like these: ewers:elijah:[~/docs/astolin_prob]$ dvips -d 4 KASHIWARA.dvi This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2009.11.18:1551' -> |lpr Checking for fonts in 'ChalmGUtextsvEng.eps' Defining font () pttr7t at 12.0pt Loading virtual font pttr7t.vf at 12.0pt Defining font () pttr8r at 12.0pt kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+120/600 --dpi 720 pttr8r mktexpk: don't know how to create bitmap font for pttr8r. kpathsea: Appending font creation commands to missfont.log. dvips: Font pttr8r not found, characters will be left blank. Defining font () pazr7t at 6.0pt Loading virtual font pazr7t.vf at 6.0pt Defining font () pazr8r at 6.0pt kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 0+360/600 --dpi 360 pazr8r mktexpk: don't know how to create bitmap font for pazr8r. dvips: Font pazr8r not found, characters will be left blank. Defining font () pazro7t at 6.0pt Loading virtual font pazro7t.vf at 6.0pt Defining font () pazro8r at 6.0pt kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 0+360/600 --dpi 360 pazro8r mktexpk: don't know how to create bitmap font for pazro8r. dvips: Font pazro8r not found, characters will be left blank. Checking for fonts in 'ChalmGUmarke.eps' . [1] So I read the faq and found this: 33) Font map files and enc files from my local texmf tree are not found by dvips / pdftex etc. With version 1.1 of the TeX Directory Structure, the location for these files was changed. These files are font files and are now stored in fonts/{map,enc}//. So, the solution to your problem is to rearrange these files in your tree and then call the command texhash. More help is given in the release notes section of the teTeX manual (run the command "texdoc TETEXDOC" to read it) and on the web page http://www.tug.org/texlive/mapenc.html. I found that there was four map files stored in the wrong place in our /usr/local/share/texmf tree and I moved to what I believe is a correct location: ewers:elijah:[~/docs/astolin_prob/new_test]$ ls /usr/local/share/texmf/fonts/map/ dvipdf dvips init misc pdftex ewers:elijah:[~/docs/astolin_prob/new_test]$ ls /usr/local/share/texmf/fonts/map/misc/ paz.map psfonts.map ptt.map ewers:elijah:[~/docs/astolin_prob/new_test]$ ls /usr/local/share/texmf/fonts/map/init/ mma.map ewers:elijah:[~/docs/astolin_prob/new_test]$ If I just do that and then run texhash I get much less errors, but there is still one fatal error left: vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ dvips -o KASHIWARA.ps KASHIWARA.dvi This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2009.12.11:1441' -> KASHIWARA.ps kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+120/600 --dpi 720 pttr8r mktexpk: don't know how to create bitmap font for pttr8r. kpathsea: Appending font creation commands to missfont.log. dvips: Font pttr8r not found, characters will be left blank. <8r.enc>. [1 ] Then if I copy the system updmap.cfg to my working directory and add the following lines to it: # Chalmers Map paz.map Map psfonts.map Map ptt.map Map mma.map Then I run the following command: updmap --cnffile ./updmap.cfg After that it will work perfectly for my account. But of course I want it to work globally for everybody using the local tree, so I tried this: updmap-sys --cnffile updmap.cfg --dvipsoutputdir=/usr/local/share/texmf/fonts/map/dvips/updmap --pdftexoutputdir=/usr/local/share/texmf/fonts/map/pdftex/updmap --dvipdfmoutputdir=/usr/local/share/texmf/fonts/map/dvipdf/updmap updmap: This is updmap, version 1107552857 updmap: no permissions for writing /usr/share/texmf-var/web2c/updmap.log', so no transcript updmap is creating new map files using the following configuration: config file: `updmap.cfg' dvips output directory: `/usr/local/share/texmf/fonts/map/dvips/updmap' pdftex output directory: `/usr/local/share/texmf/fonts/map/pdftex/updmap' dvipdfm output directory: `/usr/local/share/texmf/fonts/map/dvipdf/updmap' prefer outlines: `true' texhash enabled: `false' download standard fonts (dvips): `false' download standard fonts (pdftex): `true' download standard fonts (dvipdfm): `true' updmap: Scanning for LW35 support files updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/dvips35.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/pdftex35.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/dvipdfm35.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/ps2pk35.map' updmap: Scanning for MixedMap entries: updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/bsr-interpolated.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/bsr.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/cc-pl/ccpl.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/cs.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/eurosym.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/hoekwater.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/pl/pl.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/ttcmex.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/vntex/vnr.map' updmap: Scanning for Map entries: updmap: using map file `/usr/share/texmf/fonts/map/dvips/antp/antp.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/psnfss/charter.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/cmcyr.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/contnav.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/cork-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/cork-lm.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/cs-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/dstroke.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/exp-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/psnfss/fpls.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/greek-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/marvosym.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/mathpple.map' updmap: using map file `/usr/local/share/texmf/fonts/map/init/mma.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/mt-belleek.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/omega/omega.map' updmap: using map file `/usr/local/share/texmf/fonts/map/misc/paz.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/psnfss/pazo.map' updmap: using map file `/usr/share/texmf-var/fonts/map/dvips/updmap/psfonts.map' updmap: using map file `/usr/local/share/texmf/fonts/map/misc/ptt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/pxfonts.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qbk.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qcr.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qhv.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qpl.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qtm.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/qx-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/qx-lm.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qzc.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/t2a-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/t2b-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/t2c-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/t5-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/texnansi-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/texnansi-lm.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/ts1-lm.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/txfonts.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/urwvn/urwvn.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/wncy-antt.map' updmap: using map file `/usr/share/texmf/fonts/map/dvips/xypic/xypic.map' updmap: Generating output for ps2pk... updmap: Generating output for dvips... updmap: Generating output for pdftex... updmap: Generating output for dvipdfm... updmap: All output generated! updmap: Files generated: -rw-r--r-- 1 elijah elijah 30897 Dec 11 15:44 /usr/local/share/texmf/fonts/map/dvipdf/updmap/dvipdfm_dl14.map -rw-r--r-- 1 elijah elijah 29483 Dec 11 15:44 /usr/local/share/texmf/fonts/map/dvipdf/updmap/dvipdfm_ndl14.map -rw-r--r-- 1 elijah elijah 8233 Dec 11 15:44 /usr/local/share/texmf/fonts/map/dvips/updmap/builtin35.map -rw-r--r-- 1 elijah elijah 12130 Dec 11 15:44 /usr/local/share/texmf/fonts/map/dvips/updmap/download35.map -rw-r--r-- 1 elijah elijah 93324 Dec 11 15:44 /usr/local/share/texmf/fonts/map/dvips/updmap/ps2pk.map -rw-r--r-- 1 elijah elijah 81403 Dec 11 15:44 /usr/local/share/texmf/fonts/map/dvips/updmap/psfonts_pk.map -rw-r--r-- 1 elijah elijah 81403 Dec 11 15:44 /usr/local/share/texmf/fonts/map/dvips/updmap/psfonts_t1.map -rw-r--r-- 1 elijah elijah 93331 Dec 11 15:44 /usr/local/share/texmf/fonts/map/pdftex/updmap/pdftex_dl14.map -rw-r--r-- 1 elijah elijah 88814 Dec 11 15:44 /usr/local/share/texmf/fonts/map/pdftex/updmap/pdftex_ndl14.map updmap: Map file links: psfonts.map -> psfonts_t1.map pdftex.map -> pdftex_dl14.map dvipdfm.map -> dvipdfm_dl14.map It seems to work but I still get same error: vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ dvips KASHIWARA.dvi This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2009.12.11:1547' -> |lpr kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+120/600 --dpi 720 pttr8r mktexpk: don't know how to create bitmap font for pttr8r. kpathsea: Appending font creation commands to missfont.log. dvips: Font pttr8r not found, characters will be left blank. <8r.enc>. [1 ] Could this be a problem with the ptt.map? kpathsea seems to find it: vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ kpsewhich --format=map ptt.map /usr/local/share/texmf/fonts/map/misc/ptt.map vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ kpsewhich --format=dvips ptt.map /usr/local/share/texmf/fonts/map/misc/ptt.map I really have no idea what to do, would be very grateful for any help! Some info about our systems: vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ latex --version pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea version 3.5.4 Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc. There is NO warranty. Redistribution of this software is covered by the terms of both the pdfeTeX copyright and the GNU General Public License. For more information about these matters, see the files named COPYING and the pdfeTeX source. Primary author of pdfeTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Kpathsea written by Karl Berry and others. vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ rpm -q latex package latex is not installed vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ rpm -q tetex tetex-3.0-33.2.el5_1.2 -Johan Bengtsson http://www.dd.chalmers.se/~elijah/ From frank at shute.org.uk Fri Dec 11 22:13:53 2009 From: frank at shute.org.uk (Frank Shute) Date: Fri, 11 Dec 2009 21:13:53 +0000 Subject: [texhax] More on Fedora 12/cmr12 font shrinking In-Reply-To: <4B2282C1.5070607@skwc.com> References: <4B2282C1.5070607@skwc.com> Message-ID: <20091211211353.GA1813@orange.esperance-linux.co.uk> On Fri, Dec 11, 2009 at 12:34:57PM -0500, Scott McMahan wrote: > > Thanks to the folks who have given me assistance on this baffling issue. > I have ruled out that it is not a change in LaTeX itself, but have not > found the cause of the shrunk font. > > I upgraded to Fedora 12 last week, and printed a draft chapter of a book > I was working on. I immediately noticed that the page had smaller print > than the other draft chapters I had printed. > > Because I had changed nothing in my print settings, I thought at first > that the font cmr12 had changed. I couldn't find any explanation for > what happened. Someone sent me an "old" LaTeX test page and a "new" one > from the versions before and after the Fedora 12 upgrade, and both > printed the same way. This has ruled out LaTeX itself as the source of > the shrinking font. > > I am using pdflatex to generate a PDF from my source files. I use Evince > to print this file. I have written two fairly involved books this way, > and this is the third. The only change in anything has been from Fedora > 11 to Fedora 12. I have not changed printers, the LaTeX source, etc. > > I looked at the print settings in Evince's print dialog, the printer > defaults, and the printer driver defaults. None of these have changed. > They are set to American letter size paper, the correct orientation, > etc. Plus they are set to the correct scale factor. There is not any > "best fit" or "fit to page" setting active. If it was something as > trivial as this, I'd have found it by now. > > There are no errors in CUPS' error log to indicate anything at all. > Whatever the Evince -> CUPS -> printer driver system is doing, it > doesn't think anything has gone wrong. > > I used the scale factor to scale the document to 105% and printed a test > page. I held the new page up along with an old page to a strong light, > and the individual letters are the same size, but the space between each > letter and word, plus the space between lines, is not the same, so this > can't be a scale issue. > > I'm baffled by what has happened to cause the font to shrink. I know > that what's printing out is not a 12-point font. Whatever is going on is > below the level of user control, either deep inside CUPS, or in the > latest version of the printer driver. I do not have the expertise with > print systems to debug this sort of thing. Nor the time, because I have > to finish this by the end of the year, so I don't have time to debug it. > I mainly wanted all three books to have a uniform look on the printed page. > > Scott CUPS will probably use Ghostscript to change the PDF to postscript if you're using a PS printer. Have you tried using dvips to produce a postscript version and then examine it with gv or print a page? If your printer supports postscript then that would avoid using Ghostscript (or Evince?) to do the pdf->ps conversion. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From rokicki at gmail.com Sat Dec 12 02:20:06 2009 From: rokicki at gmail.com (Tom Rokicki) Date: Fri, 11 Dec 2009 17:20:06 -0800 Subject: [texhax] More on Fedora 12/cmr12 font shrinking In-Reply-To: <20091211211353.GA1813@orange.esperance-linux.co.uk> References: <4B2282C1.5070607@skwc.com> <20091211211353.GA1813@orange.esperance-linux.co.uk> Message-ID: <2b80cd370912111720n41fd0ccdod196c5cb9344649c@mail.gmail.com> Right, I'd start by using plain old latex and dvips to generate two different PS files (one sample page). If they are different I can help figure out why from those files. If that's too difficult, why not just put up two sample pages, one from 11 and one from 12, in PDF format somewhere, and we can take a look on our systems. If you print the -12 generated PDF using the -11 system, do you still see the same problem? How about the -11 generated PDF using the -12 system? -tom On Fri, Dec 11, 2009 at 1:13 PM, Frank Shute wrote: > On Fri, Dec 11, 2009 at 12:34:57PM -0500, Scott McMahan wrote: >> >> Thanks to the folks who have given me assistance on this baffling issue. >> I have ruled out that it is not a change in LaTeX itself, but have not >> found the cause of the shrunk font. >> >> I upgraded to Fedora 12 last week, and printed a draft chapter of a book >> I was working on. I immediately noticed that the page had smaller print >> than the other draft chapters I had printed. >> >> Because I had changed nothing in my print settings, I thought at first >> that the font cmr12 had changed. I couldn't find any explanation for >> what happened. Someone sent me an "old" LaTeX test page and a "new" one >> from the versions before and after the Fedora 12 upgrade, and both >> printed the same way. This has ruled out LaTeX itself as the source of >> the shrinking font. >> >> I am using pdflatex to generate a PDF from my source files. I use Evince >> to print this file. I have written two fairly involved books this way, >> and this is the third. The only change in anything has been from Fedora >> 11 to Fedora 12. I have not changed printers, the LaTeX source, etc. >> >> I looked at the print settings in Evince's print dialog, the printer >> defaults, and the printer driver defaults. None of these have changed. >> They are set to American letter size paper, the correct orientation, >> etc. Plus they are set to the correct scale factor. There is not any >> "best fit" or "fit to page" setting active. If it was something as >> trivial as this, I'd have found it by now. >> >> There are no errors in CUPS' error log to indicate anything at all. >> Whatever the Evince -> CUPS -> printer driver system is doing, it >> doesn't think anything has gone wrong. >> >> I used the scale factor to scale the document to 105% and printed a test >> page. I held the new page up along with an old page to a strong light, >> and the individual letters are the same size, but the space between each >> letter and word, plus the space between lines, is not the same, so this >> can't be a scale issue. >> >> I'm baffled by what has happened to cause the font to shrink. I know >> that what's printing out is not a 12-point font. Whatever is going on is >> below the level of user control, either deep inside CUPS, or in the >> latest version of the printer driver. I do not have the expertise with >> print systems to debug this sort of thing. Nor the time, because I have >> to finish this by the end of the year, so I don't have time to debug it. >> I mainly wanted all three books to have a uniform look on the printed page. >> >> Scott > > CUPS will probably use Ghostscript to change the PDF to postscript if > you're using a PS printer. > > Have you tried using dvips to produce a postscript version and then > examine it with gv or print a page? If your printer supports > postscript then that would avoid using Ghostscript (or Evince?) to do > the pdf->ps conversion. > > Regards, > > -- > > ?Frank > > ?Contact info: http://www.shute.org.uk/misc/contact.html > > > _______________________________________________ > 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 > -- Check out Golly at http://golly.sf.net/ From news3 at nililand.de Sat Dec 12 10:30:05 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Sat, 12 Dec 2009 10:30:05 +0100 Subject: [texhax] More on Fedora 12/cmr12 font shrinking References: <4B2282C1.5070607@skwc.com> Message-ID: <1fdci26xaqo1k.dlg@nililand.de> Am Fri, 11 Dec 2009 12:34:57 -0500 schrieb Scott McMahan: > Thanks to the folks who have given me assistance on this baffling issue. > I have ruled out that it is not a change in LaTeX itself, but have not > found the cause of the shrunk font. > I am using pdflatex to generate a PDF from my source files. What fonts and font types are used? (With adobe reader you can check them in the properties dialog, pdflatex shows the fonts at the end of the log-file). -- Ulrike Fischer From zappathustra at free.fr Sun Dec 13 00:04:07 2009 From: zappathustra at free.fr (Paul Isambert) Date: Sun, 13 Dec 2009 00:04:07 +0100 Subject: [texhax] calcualtions witihn newcommand In-Reply-To: <001f22caf997564e2c6a33a85101b59c.squirrel@calmail.berkeley.edu> References: <001f22caf997564e2c6a33a85101b59c.squirrel@calmail.berkeley.edu> Message-ID: <1260659047.4b24216732497@imp.free.fr> You can do this: \newcount\tempnumber \newcommand\mycommand[1]{% \tempnumber=#1% \multiply\tempnumber by10 % Then somewhere in your code, for instance: \put(\tempnumber,5){...}% } Paul Selon sheltraw at berkeley.edu: > Good day LaTex users > > I am writing a new command that takes as an argument a number. I would like > to perform a simple multiplication of that number by 10 and then use its > numeric result as an argument to the \put command (used in the picture > environment). How can I do this? > > Thanks for your help! > > _______________________________________________ > 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 hofri at WPI.EDU Sun Dec 13 05:29:59 2009 From: hofri at WPI.EDU (Micha Hofri) Date: Sat, 12 Dec 2009 23:29:59 -0500 (EST) Subject: [texhax] marginpar with \documentclass[11pt,twoside]{article} Message-ID: Dear TeXers, using margin par with the twoside argument in article class, I find they are only typeset on the right-hand side page, not on the left (odd numbered pages yes, even numbered - no). Why? The Latex Companion shows nothing useful; the FAQ says on page http://tinyurl.com/ycj9kd8 that you can use with the twoside argument the following format, \marginpar[left text]{right text}, but when I tried it the [left text] was inserted in the middle of the line! Looking at my preamble suggests nothing sinister, other than it is too long. Removing the twoside option resolves the problem. For the current needs this will do, but I got to appreciate this layout device, and would like to use it more -- but almost all that I typeset needs the twoside option. Any suggestions? Thanks, --Micha Hofri From christopherolah.co at gmail.com Sun Dec 13 18:01:43 2009 From: christopherolah.co at gmail.com (Christopher Olah) Date: Sun, 13 Dec 2009 12:01:43 -0500 Subject: [texhax] calcualtions witihn newcommand In-Reply-To: <1260659047.4b24216732497@imp.free.fr> References: <001f22caf997564e2c6a33a85101b59c.squirrel@calmail.berkeley.edu> <1260659047.4b24216732497@imp.free.fr> Message-ID: If, in the future, you need something more powerful and easier to use, you may wish to look into pgf and tikz... On Sat, Dec 12, 2009 at 6:04 PM, Paul Isambert wrote: > You can do this: > > \newcount\tempnumber > \newcommand\mycommand[1]{% > ?\tempnumber=#1% > ?\multiply\tempnumber by10 > % Then somewhere in your code, for instance: > ?\put(\tempnumber,5){...}% > ?} > > Paul > > Selon sheltraw at berkeley.edu: > >> Good day LaTex users >> >> I am writing a new command that takes as an argument a number. I would like >> to perform a simple multiplication of that number by 10 and then use its >> numeric result as an argument to the \put command (used in the picture >> environment). How can I do this? >> >> Thanks for your help! >> >> _______________________________________________ >> 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 > -- Christopher Olah Email: christopherolah.co at gmail.com From backer at psych.uib.no Sun Dec 13 20:34:31 2009 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sun, 13 Dec 2009 20:34:31 +0100 Subject: [texhax] Migrating from Windows to Mac Message-ID: <4B2541C7.3030807@psych.uib.no> Gentlepersons: I am in the process of migrating from Windows XP to a MacBook Pro (Snow Leopard), and have simply copied a number of files from the Windows XP machine to the Mac Via an external hard disk and a memory stick. I then find that files which compile (to PDF) perfectly OK on the Windows machine give me an error message on the very first line, the \documentclass one gives me an error message: undefined control sequence. On the next line: \documentclass etc. This is when using TeXworks on the Mac, and probably TeXLive. Tom From olegkat at gmail.com Mon Dec 14 02:53:52 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Sun, 13 Dec 2009 17:53:52 -0800 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B2541C7.3030807@psych.uib.no> (Tom Backer Johnsen's message of "Sun, 13 Dec 2009 20:34:31 +0100") References: <4B2541C7.3030807@psych.uib.no> Message-ID: Hi Tom, On Sun, 13 Dec 2009 20:34:31 +0100, Tom Backer Johnsen said: > I am in the process of migrating from Windows XP to a MacBook Pro > (Snow Leopard), and have simply copied a number of files from the > Windows XP machine to the Mac Via an external hard disk and a memory > stick. I then find that files which compile (to PDF) perfectly OK on > the Windows machine give me an error message on the very first line, > the \documentclass one gives me an error message: undefined control > sequence. This is probably a line endings problem. There must be a program on your system which converts the line endings, try fromdos, dos2unix, flip, toix. HTH, Oleg From reinhard.kotucha at web.de Mon Dec 14 09:32:54 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 14 Dec 2009 09:32:54 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B2541C7.3030807@psych.uib.no> References: <4B2541C7.3030807@psych.uib.no> Message-ID: <19237.63542.509185.333455@zaphod.ms25.net> On 13 December 2009 Tom Backer Johnsen wrote: > Gentlepersons: > > I am in the process of migrating from Windows XP to a MacBook Pro (Snow > Leopard), and have simply copied a number of files from the Windows XP > machine to the Mac Via an external hard disk and a memory stick. I then > find that files which compile (to PDF) perfectly OK on the Windows > machine give me an error message on the very first line, the > \documentclass one gives me an error message: undefined control > sequence. On the next line: \documentclass etc. Did you run tex instead of latex? 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 backer at psych.uib.no Mon Dec 14 14:31:13 2009 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Mon, 14 Dec 2009 14:31:13 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <19237.63542.509185.333455@zaphod.ms25.net> References: <4B2541C7.3030807@psych.uib.no> <19237.63542.509185.333455@zaphod.ms25.net> Message-ID: <4B263E21.6020905@psych.uib.no> Reinhard Kotucha wrote: > On 13 December 2009 Tom Backer Johnsen wrote: > > > Gentlepersons: > > > > I am in the process of migrating from Windows XP to a MacBook Pro (Snow > > Leopard), and have simply copied a number of files from the Windows XP > > machine to the Mac Via an external hard disk and a memory stick. I then > > find that files which compile (to PDF) perfectly OK on the Windows > > machine give me an error message on the very first line, the > > \documentclass one gives me an error message: undefined control > > sequence. On the next line: \documentclass etc. > > Did you run tex instead of latex? > > Regards, > Reinhard > No, not as far as I know. I installed the TexShop package, and that is supposed to include LaTex. Tom From m_sh83 at yahoo.com Mon Dec 14 07:25:52 2009 From: m_sh83 at yahoo.com (Mohammad Abu Shariah) Date: Sun, 13 Dec 2009 22:25:52 -0800 (PST) Subject: [texhax] Display of Arabic Text!!! Message-ID: <597687.12222.qm@web50805.mail.re2.yahoo.com> Dear All; I hope you are all fine and doing well. I am totally a new user of Latex and honsetly speaking I am in a rush to submit a journal paper as soon as possible. I have problem getting Arabic text written in the ".tex" file displayed in the ".pdf" file. My Arabic text appears fine inside the ".tex" file since i set the I set the encoding into "UTF-8" format, but the moment I run the ".tex" file to produce the ".pdf" file the Arabic text is missing. Everything seems fine just that Arabic text will be missing from the ".pdf" file. I really need assistance on this matter as soon as possible. Thanks alot for your kind cooperation. Mohammad Abu Shariah From backer at psych.uib.no Mon Dec 14 14:53:22 2009 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Mon, 14 Dec 2009 14:53:22 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: References: <4B2541C7.3030807@psych.uib.no> Message-ID: <4B264352.6090701@psych.uib.no> Oleg Katsitadze wrote: > Hi Tom, > > On Sun, 13 Dec 2009 20:34:31 +0100, Tom Backer Johnsen said: > >> I am in the process of migrating from Windows XP to a MacBook Pro >> (Snow Leopard), and have simply copied a number of files from the >> Windows XP machine to the Mac Via an external hard disk and a memory >> stick. I then find that files which compile (to PDF) perfectly OK on >> the Windows machine give me an error message on the very first line, >> the \documentclass one gives me an error message: undefined control >> sequence. >> > > This is probably a line endings problem. There must be a program on > your system which converts the line endings, try fromdos, dos2unix, > flip, toix. > > HTH, > Oleg > Yes, it is some conversion issue. If I enter a trivial document using the keyboard, it compiles all right, but it does not work with files coming from the Windows machine. Tom From herbs at wideopenwest.com Mon Dec 14 15:17:07 2009 From: herbs at wideopenwest.com (Herbert Schulz) Date: Mon, 14 Dec 2009 08:17:07 -0600 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <466C8B44-19B6-4AD6-BB81-9E1B3324F751@wideopenwest.com> References: <4B2541C7.3030807@psych.uib.no> <19237.63542.509185.333455@zaphod.ms25.net> <4B263E21.6020905@psych.uib.no> <466C8B44-19B6-4AD6-BB81-9E1B3324F751@wideopenwest.com> Message-ID: <040E8586-1AAF-423C-8E72-D84BB760560E@wideopenwest.com> On Dec 14, 2009, at 7:56 AM, Herbert Schulz wrote: > > On Dec 14, 2009, at 7:31 AM, Tom Backer Johnsen wrote: > >> Reinhard Kotucha wrote: >>> On 13 December 2009 Tom Backer Johnsen wrote: >>> >>>> Gentlepersons: >>>>> I am in the process of migrating from Windows XP to a MacBook Pro (Snow > Leopard), and have simply copied a number of files from the Windows XP > machine to the Mac Via an external hard disk and a memory stick. I then > find that files which compile (to PDF) perfectly OK on the Windows > machine give me an error message on the very first line, the > \documentclass one gives me an error message: undefined control > sequence. On the next line: \documentclass etc. >>> >>> Did you run tex instead of latex? >>> >>> Regards, >>> Reinhard >>> >> No, not as far as I know. I installed the TexShop package, and that is supposed to include LaTex. >> >> Tom > > Howdy, > > Can we see the contents of the log file? > > Put the line > > % !TEX TS-program = pdflatex > > and then try to compile the file. > > Where did you get the TeXShop package? TeXShop alone is a front end for a TeX Distribution (where the (La)TeX programs and other files reside) and from what you say it appears that you have a TeX distribution or the pdf(la)tex program wouldn't be found at all. I'm just wondering what distribution you have. Do you have a System Preference Pane called TeX Distribution? If so, what distribution does it ``say '' is active? > > Good Luck, > > Herb Schulz > (herbs at wideopenwest dot com) > > > Good Luck, Herb Schulz (herbs at wideopenwest dot com) From herbs at wideopenwest.com Mon Dec 14 15:23:17 2009 From: herbs at wideopenwest.com (Herbert Schulz) Date: Mon, 14 Dec 2009 08:23:17 -0600 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B2541C7.3030807@psych.uib.no> References: <4B2541C7.3030807@psych.uib.no> Message-ID: <220272F3-6EBE-4DA4-B8C2-288DA465CCC9@wideopenwest.com> On Dec 13, 2009, at 1:34 PM, Tom Backer Johnsen wrote: > Gentlepersons: > > I am in the process of migrating from Windows XP to a MacBook Pro (Snow Leopard), and have simply copied a number of files from the Windows XP machine to the Mac Via an external hard disk and a memory stick. I then find that files which compile (to PDF) perfectly OK on the Windows machine give me an error message on the very first line, the \documentclass one gives me an error message: undefined control sequence. On the next line: \documentclass etc. > > This is when using TeXworks on the Mac, and probably TeXLive. > > Tom Howdy, Do you have a %& line at the top of the file? If so, what is it? What is the contents of the log file when you attempt to process that file? Good Luck, Herb Schulz (herbs at wideopenwest dot com) From vafa at users.berlios.de Mon Dec 14 15:07:20 2009 From: vafa at users.berlios.de (Vafa Khalighi) Date: Tue, 15 Dec 2009 01:07:20 +1100 Subject: [texhax] Display of Arabic Text!!! In-Reply-To: <597687.12222.qm@web50805.mail.re2.yahoo.com> References: <597687.12222.qm@web50805.mail.re2.yahoo.com> Message-ID: What do you use for Arabi typesetting? Arabi, arabtex, polyglossia, bidi? You would need to send a minimal tex file. Best wishes, Vafa Khalighi -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank at shute.org.uk Mon Dec 14 16:45:58 2009 From: frank at shute.org.uk (Frank Shute) Date: Mon, 14 Dec 2009 15:45:58 +0000 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B264352.6090701@psych.uib.no> References: <4B2541C7.3030807@psych.uib.no> <4B264352.6090701@psych.uib.no> Message-ID: <20091214154558.GA11605@orange.esperance-linux.co.uk> On Mon, Dec 14, 2009 at 02:53:22PM +0100, Tom Backer Johnsen wrote: > > Oleg Katsitadze wrote: > >Hi Tom, > > > >On Sun, 13 Dec 2009 20:34:31 +0100, Tom Backer Johnsen > > said: > > > >>I am in the process of migrating from Windows XP to a MacBook Pro > >>(Snow Leopard), and have simply copied a number of files from the > >>Windows XP machine to the Mac Via an external hard disk and a memory > >>stick. I then find that files which compile (to PDF) perfectly OK on > >>the Windows machine give me an error message on the very first line, > >>the \documentclass one gives me an error message: undefined control > >>sequence. > >> > > > >This is probably a line endings problem. There must be a program on > >your system which converts the line endings, try fromdos, dos2unix, > >flip, toix. > > > >HTH, > >Oleg > > > Yes, it is some conversion issue. If I enter a trivial document using > the keyboard, it compiles all right, but it does not work with files > coming from the Windows machine. > You can convert your files by opening a terminal in OSX and doing: $ tr -d '\r' < inputfile > outputfile which removes the return present at the end of each line in a Windows file. (Windows has linefeed + return, unix has just linefeed). I'm pretty sure OSX has tr. If you want to convert a whole load of tex files: $ cd $ mkdir unix $ for file in $(ls | grep 'tex');do tr -d '\r' < $file > ./unix/$file done Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From news3 at nililand.de Mon Dec 14 16:57:19 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Mon, 14 Dec 2009 16:57:19 +0100 Subject: [texhax] Migrating from Windows to Mac References: <4B2541C7.3030807@psych.uib.no> <19237.63542.509185.333455@zaphod.ms25.net> <4B263E21.6020905@psych.uib.no> Message-ID: Am Mon, 14 Dec 2009 14:31:13 +0100 schrieb Tom Backer Johnsen: >> > I then >> > find that files which compile (to PDF) perfectly OK on the Windows >> > machine give me an error message on the very first line, the >> > \documentclass one gives me an error message: undefined control >> > sequence. On the next line: \documentclass etc. >> Did you run tex instead of latex? > No, not as far as I know. I installed the TexShop package, and that is > supposed to include LaTex. The fact that it includes latex doesn't mean that you actually used it. You description sounds like this error message which is the typical message you get when you call tex instead of (pdf)latex: ! Undefined control sequence. l.1 \documentclass [11pt,a4paper,twoside]{report} -- Ulrike Fischer From P.Taylor at Rhul.Ac.Uk Mon Dec 14 17:43:00 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Mon, 14 Dec 2009 16:43:00 +0000 Subject: [texhax] Smilies in TeX Message-ID: <4B266B14.9010502@Rhul.Ac.Uk> Typesetting my annual Christmas letter, there are one or two places where I would like to insert a smiley [the graphical version, as displayed by (say) Seamonkey, not just ":-)"]. I can find nothing in the UK TeX FAQ, and TeX Live 2009 doesn't seem to have a "Smilies" font, so I wonder whether others have accomplished this, and if so, how ? A Plain TeX solution would be preferred. Philip Taylor From rjf2 at CDC.GOV Mon Dec 14 17:53:31 2009 From: rjf2 at CDC.GOV (Fehd, Ronald J. (CDC/CCHIS/NCPHI)) Date: Mon, 14 Dec 2009 11:53:31 -0500 Subject: [texhax] Smilies in TeX In-Reply-To: References: Message-ID: <4A65BFB28FC42A4B81AAA01C69E9903701173072@LTA3VS023.ees.hhs.gov> > Date: Mon, 14 Dec 2009 16:43:00 +0000 > From: Philip TAYLOR > Typesetting my annual Christmas letter, there are one or > two places where I would like to insert a smiley [the > graphical version, as displayed by (say) Seamonkey, not > just ":-)"]. I can find nothing in the UK TeX FAQ, and > TeX Live 2009 doesn't seem to have a "Smilies" font, so > I wonder whether others have accomplished this, and if > so, how ? A Plain TeX solution would be preferred. > > Philip Taylor that would be the Comprehensive Symbol List http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pd f which has more dingbats that you could ever imagine! Ron Fehd the {SAS} macro maven CDC Atlanta GA USA RJF2 at cdc dot gov From vivrii at gmail.com Mon Dec 14 18:02:36 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Mon, 14 Dec 2009 12:02:36 -0500 Subject: [texhax] Smilies in TeX In-Reply-To: <4B266B14.9010502@Rhul.Ac.Uk> References: <4B266B14.9010502@Rhul.Ac.Uk> Message-ID: <19af81400912140902i6b22ff88l745a45bb4e13699e@mail.gmail.com> I usually use {wasysym} and \smiley and \frownie there is also \blacksmiley but no matching frownie Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From P.Taylor at Rhul.Ac.Uk Mon Dec 14 18:12:36 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Mon, 14 Dec 2009 17:12:36 +0000 Subject: [texhax] Smilies in TeX In-Reply-To: <4A65BFB28FC42A4B81AAA01C69E9903701173072@LTA3VS023.ees.hhs.gov> References: <4A65BFB28FC42A4B81AAA01C69E9903701173072@LTA3VS023.ees.hhs.gov> Message-ID: <4B267204.2050203@Rhul.Ac.Uk> Fehd, Ronald J. (CDC/CCHIS/NCPHI) wrote: > that would be the Comprehensive Symbol List > http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf > which has more dingbats that you could ever imagine! Herbert Schulz wrote: > \font\wasy=wasy10 at 10pt > \def\smiley{{\wasy\char44}} > \smiley > Good Luck, Thank you both : my Christmas letter now has Smilies :-))) ** Phil. From backer at psych.uib.no Mon Dec 14 19:33:19 2009 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Mon, 14 Dec 2009 19:33:19 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <20091214154558.GA11605@orange.esperance-linux.co.uk> References: <4B2541C7.3030807@psych.uib.no> <4B264352.6090701@psych.uib.no> <20091214154558.GA11605@orange.esperance-linux.co.uk> Message-ID: <4B2684EF.8080208@psych.uib.no> Frank Shute wrote: > On Mon, Dec 14, 2009 at 02:53:22PM +0100, Tom Backer Johnsen wrote: > >> Oleg Katsitadze wrote: >> >>> Hi Tom, >>> >>> On Sun, 13 Dec 2009 20:34:31 +0100, Tom Backer Johnsen >>> said: >>> >>> >>>> I am in the process of migrating from Windows XP to a MacBook Pro >>>> (Snow Leopard), and have simply copied a number of files from the >>>> Windows XP machine to the Mac Via an external hard disk and a memory >>>> stick. I then find that files which compile (to PDF) perfectly OK on >>>> the Windows machine give me an error message on the very first line, >>>> the \documentclass one gives me an error message: undefined control >>>> sequence. >>>> >>>> >>> This is probably a line endings problem. There must be a program on >>> your system which converts the line endings, try fromdos, dos2unix, >>> flip, toix. >>> >>> HTH, >>> Oleg >>> >>> >> Yes, it is some conversion issue. If I enter a trivial document using >> the keyboard, it compiles all right, but it does not work with files >> coming from the Windows machine. >> >> > > You can convert your files by opening a terminal in OSX and doing: > > $ tr -d '\r' < inputfile > outputfile > > which removes the return present at the end of each line in a Windows file. > (Windows has linefeed + return, unix has just linefeed). > > I'm pretty sure OSX has tr. > > If you want to convert a whole load of tex files: > > $ cd > $ mkdir unix > > $ for file in $(ls | grep 'tex');do > tr -d '\r' < $file > ./unix/$file > done > > Regards, > Yes 'tr' is there on OS X, i've checked. But when I tried the command in a terminal, I only got a feedback on usage for the command rather than a converted file. Tom Tom From pierre.mackay at comcast.net Mon Dec 14 20:13:33 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Mon, 14 Dec 2009 11:13:33 -0800 Subject: [texhax] Display of Arabic Text!!! In-Reply-To: <597687.12222.qm@web50805.mail.re2.yahoo.com> References: <597687.12222.qm@web50805.mail.re2.yahoo.com> Message-ID: <4B268E5D.8030705@comcast.net> On 12/13/2009 10:25 PM, Mohammad Abu Shariah wrote: > Dear All; > > I hope you are all fine and doing well. > > I am totally a new user of Latex and honsetly speaking I am in a rush to submit a journal paper as soon as possible. > > I have problem getting Arabic text written in the ".tex" file displayed in the ".pdf" file. My Arabic text appears fine inside the ".tex" file since i set the I set the encoding into "UTF-8" format, but the moment I run the ".tex" file to produce the ".pdf" file the Arabic text is missing. Everything seems fine just that Arabic text will be missing from the ".pdf" file. > > It sounds to me as if you have set your word-processor input to accept UTF-8, but have not included any UTF-8 capabilities in your TeX or LaTeX package. Do you even have a Unicode font(set) suitable for DVI or PDFTeX output? Pierre MacKay From toms at ncifcrf.gov Mon Dec 14 20:15:22 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Mon, 14 Dec 2009 14:15:22 -0500 (EST) Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B2684EF.8080208@psych.uib.no> from Tom Backer Johnsen at "Dec 14, 2009 01:33:19 pm" Message-ID: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> > > You can convert your files by opening a terminal in OSX and doing: > > > > $ tr -d '\r' < inputfile > outputfile > > > > which removes the return present at the end of each line in a Windows file. > > (Windows has linefeed + return, unix has just linefeed). > > > > I'm pretty sure OSX has tr. > > > > If you want to convert a whole load of tex files: > > > > $ cd > > $ mkdir unix > > > > $ for file in $(ls | grep 'tex');do > > tr -d '\r' < $file > ./unix/$file > > done > > > > Regards, > > > Yes 'tr' is there on OS X, i've checked. But when I tried the command > in a terminal, I only got a feedback on usage for the command rather > than a converted file. I use this script: ******************************************************************************** #!/bin/csh -f #(ie run the cshell on this but don't read the .cshrc) # nom: no ^M: remove control M's from a file! # version = 1.01 of nom 2009 nov 21 # 2009 nov 21, 1.01: avoid illegal byte sequence problem # 2009 Jul 11 origin # avoid Illegal byte problem on Macs: setenv LC_ALL en_US.ISO8859-1 tr -d '^M' < $1 > $2 ******************************************************************************** where the ^M is a control-M. You will have to do this in vi or vim by replacing the two characters with a control M. One types: /\^M[return]c2l[control-v][control-m]:wq \r should work too though. Note the setenv that makes tr on a Mac happy with unicode characters that would otherwise crash it. This should not be an issue for tex files but can be for others. Tom (yet another!) Dr. Thomas D. Schneider National Institutes of Health schneidt at mail.nih.gov toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms (permanent) From backer at psych.uib.no Mon Dec 14 20:36:27 2009 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Mon, 14 Dec 2009 20:36:27 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> Message-ID: <4B2693BB.3020306@psych.uib.no> Tom Schneider wrote: >>> You can convert your files by opening a terminal in OSX and doing: >>> >>> $ tr -d '\r' < inputfile > outputfile >>> >>> which removes the return present at the end of each line in a Windows file. >>> (Windows has linefeed + return, unix has just linefeed). >>> >>> I'm pretty sure OSX has tr. >>> >>> If you want to convert a whole load of tex files: >>> >>> $ cd >>> $ mkdir unix >>> >>> $ for file in $(ls | grep 'tex');do >>> tr -d '\r' < $file > ./unix/$file >>> done >>> >>> Regards, >>> >>> >> Yes 'tr' is there on OS X, i've checked. But when I tried the command >> in a terminal, I only got a feedback on usage for the command rather >> than a converted file. >> > > I use this script: > ******************************************************************************** > #!/bin/csh -f > #(ie run the cshell on this but don't read the .cshrc) > > # nom: no ^M: remove control M's from a file! > > # version = 1.01 of nom 2009 nov 21 > # 2009 nov 21, 1.01: avoid illegal byte sequence problem > # 2009 Jul 11 origin > > # avoid Illegal byte problem on Macs: > setenv LC_ALL en_US.ISO8859-1 > > tr -d '^M' < $1 > $2 > > ******************************************************************************** > > where the ^M is a control-M. You will have to do this in vi or vim > by replacing the two characters with a control M. One types: > /\^M[return]c2l[control-v][control-m]:wq > \r should work too though. > > Note the setenv that makes tr on a Mac happy with unicode characters > that would otherwise crash it. This should not be an issue for tex > files but can be for others. > > Tom (yet another!) > > Dr. Thomas D. Schneider > National Institutes of Health > schneidt at mail.nih.gov > toms at alum.mit.edu (permanent) > http://alum.mit.edu/www/toms (permanent) > Thank you for the information. The command you recommended worked, or at least without yielding an error message. However, I had the same error message as before: This is pdfTex, Version 3 ... entering extended mode (.second.tex ! Undefined control sequence. 1.5 \documentclass [10pt,a4paper]{article} So, assuming that your command worked, it cannot be the line endings. Tom From bnb at ams.org Mon Dec 14 20:45:50 2009 From: bnb at ams.org (Barbara Beeton) Date: Mon, 14 Dec 2009 14:45:50 -0500 (EST) Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B2693BB.3020306@psych.uib.no> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> Message-ID: tom backer johnsen replying to tom schneider: Thank you for the information. The command you recommended worked, or at least without yielding an error message. However, I had the same error message as before: here's the problem: This is pdfTex, Version 3 ... what you want to see there is pdfLaTeX entering extended mode (.second.tex ! Undefined control sequence. 1.5 \documentclass [10pt,a4paper]{article} So, assuming that your command worked, it cannot be the line endings. the line endings probably needed to be changed anyhow, but the real problem is that you are using *plain* tex, not latex. i can't tell you how to launch latex, but there should be some documentation that will point you in the right direction. -- bb From P.Taylor at Rhul.Ac.Uk Mon Dec 14 20:54:09 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Mon, 14 Dec 2009 19:54:09 +0000 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B2693BB.3020306@psych.uib.no> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> Message-ID: <4B2697E1.6050107@Rhul.Ac.Uk> Tom Backer Johnsen wrote: > Thank you for the information. The command you recommended worked, or at > least without yielding an error message. However, I had the same error > message as before: > > This is pdfTex, Version 3 ... > entering extended mode > (.second.tex > ! Undefined control sequence. > 1.5 \documentclass > [10pt,a4paper]{article} > > So, assuming that your command worked, it cannot be the line endings. Could you try the same thing on a file containing just \relax \end and see if the log file matches the following : This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) **\relax entering extended mode LaTeX2e <2009/09/24> where "LaTeX2e" is the all-important bit ? Philip Taylor From herbs at wideopenwest.com Mon Dec 14 21:04:11 2009 From: herbs at wideopenwest.com (Herbert Schulz) Date: Mon, 14 Dec 2009 14:04:11 -0600 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B2693BB.3020306@psych.uib.no> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> Message-ID: <7985BF81-0C66-4B8E-B450-B569D3D4D146@wideopenwest.com> On Dec 14, 2009, at 1:36 PM, Tom Backer Johnsen wrote: > Tom Schneider wrote: >>>> You can convert your files by opening a terminal in OSX and doing: >>>> >>>> $ tr -d '\r' < inputfile > outputfile >>>> >>>> which removes the return present at the end of each line in a Windows file. >>>> (Windows has linefeed + return, unix has just linefeed). >>>> >>>> I'm pretty sure OSX has tr. >>>> >>>> If you want to convert a whole load of tex files: >>>> >>>> $ cd >>>> $ mkdir unix >>>> >>>> $ for file in $(ls | grep 'tex');do >>>> tr -d '\r' < $file > ./unix/$file >>>> done >>>> >>>> Regards, >>>> >>> Yes 'tr' is there on OS X, i've checked. But when I tried the command in a terminal, I only got a feedback on usage for the command rather than a converted file. >>> >> >> I use this script: >> ******************************************************************************** >> #!/bin/csh -f >> #(ie run the cshell on this but don't read the .cshrc) >> >> # nom: no ^M: remove control M's from a file! >> >> # version = 1.01 of nom 2009 nov 21 >> # 2009 nov 21, 1.01: avoid illegal byte sequence problem >> # 2009 Jul 11 origin >> >> # avoid Illegal byte problem on Macs: >> setenv LC_ALL en_US.ISO8859-1 >> >> tr -d '^M' < $1 > $2 >> >> ******************************************************************************** >> >> where the ^M is a control-M. You will have to do this in vi or vim >> by replacing the two characters with a control M. One types: >> /\^M[return]c2l[control-v][control-m]:wq >> \r should work too though. >> >> Note the setenv that makes tr on a Mac happy with unicode characters >> that would otherwise crash it. This should not be an issue for tex >> files but can be for others. >> >> Tom (yet another!) >> >> Dr. Thomas D. Schneider >> National Institutes of Health >> schneidt at mail.nih.gov >> toms at alum.mit.edu (permanent) >> http://alum.mit.edu/www/toms (permanent) >> > Thank you for the information. The command you recommended worked, or at least without yielding an error message. However, I had the same error message as before: > > This is pdfTex, Version 3 ... > entering extended mode > (.second.tex > ! Undefined control sequence. > 1.5 \documentclass > [10pt,a4paper]{article} > > So, assuming that your command worked, it cannot be the line endings. > > Tom Howdy, It is clear that you are trying to process the file using pdftex rather than pdflatex! No... not because of the This is pdfTex, Version 3 ... line because you'd see that with pdflatex also but there are clearly no packages being loaded, etc. Good Luck, Herb Schulz (herbs at wideopenwest dot com) From reinhard.kotucha at web.de Mon Dec 14 21:14:25 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 14 Dec 2009 21:14:25 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B264352.6090701@psych.uib.no> References: <4B2541C7.3030807@psych.uib.no> <4B264352.6090701@psych.uib.no> Message-ID: <19238.40097.791641.114827@zaphod.ms25.net> On 14 December 2009 Tom Backer Johnsen wrote: > Oleg Katsitadze wrote: > > Hi Tom, > > > > On Sun, 13 Dec 2009 20:34:31 +0100, Tom Backer Johnsen said: > > > >> I am in the process of migrating from Windows XP to a MacBook Pro > >> (Snow Leopard), and have simply copied a number of files from the > >> Windows XP machine to the Mac Via an external hard disk and a memory > >> stick. I then find that files which compile (to PDF) perfectly OK on > >> the Windows machine give me an error message on the very first line, > >> the \documentclass one gives me an error message: undefined control > >> sequence. > >> > > > > This is probably a line endings problem. There must be a program on > > your system which converts the line endings, try fromdos, dos2unix, > > flip, toix. > > > > HTH, > > Oleg > > > Yes, it is some conversion issue. If I enter a trivial document using > the keyboard, it compiles all right, but it does not work with files > coming from the Windows machine. If it's a line-endings problem you shouldn't get an "undefined control sequence" error message if the \documentclass command is the very first thing LaTeX reads. Please send us your .log file. I can't believe that there is a line-endings problem. It's the first time I hear that pure ASCII files are not portable among different ports of TeX. 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 senthil.debian at gmail.com Mon Dec 14 21:16:31 2009 From: senthil.debian at gmail.com (Senthil Kumar M) Date: Mon, 14 Dec 2009 15:16:31 -0500 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B2693BB.3020306@psych.uib.no> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> Message-ID: <56b822010912141216o579ef5b5gc5af4b8d710d162e@mail.gmail.com> On Mon, Dec 14, 2009 at 2:36 PM, Tom Backer Johnsen wrote: > Thank you for the information. ?The command you recommended worked, or at > least without yielding an error message. ?However, I had the same error > message as before: > > This is pdfTex, Version 3 ... > entering extended mode > (.second.tex > ! Undefined control sequence. > 1.5 \documentclass > ? [10pt,a4paper]{article} > > So, assuming that your command worked, it cannot be the line endings. > > Tom The error message says "This is pdfTex...." As mentioned by Ulrike Fischer earlier in the thread, you are probably using Plain TeX option in TeXShop to parse a LaTeX file. Have you tried changing the option from Plain TeX to LaTeX in TeXShop and running the file? I also feel that you are using Plain TeX because, on my OS X command prompt if I do the following, I get the same error with pdftex, but not with pdflatex (sentences starting with ** or * are those that I typed on the prompts of pdftex/pdflatex): comb0d1:~ senthil$ pdftex This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) **\documentclass[10pt,a4paper]{article} entering extended mode ! Undefined control sequence. <*> \documentclass [10pt,a4paper]{article} ? x No pages of output. comb0d1:~ senthil$ pdflatex This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) **\documentclass[10pt,a4paper]{article} entering extended mode LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded. *\begin{document} Hello World \end{document} (/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo)) No file texput.aux. [1{/usr/local/texlive/2009/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./texput.aux) Output written on texput.pdf (1 page, 12019 bytes). Transcript written on texput.log. Hope this helps, Senthil From backer at psych.uib.no Mon Dec 14 21:31:39 2009 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Mon, 14 Dec 2009 21:31:39 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> Message-ID: <4B26A0AB.4040502@psych.uib.no> Barbara Beeton wrote: > tom backer johnsen replying to tom schneider: > > Thank you for the information. The command you recommended worked, or at > least without yielding an error message. However, I had the same error > message as before: > > here's the problem: > > This is pdfTex, Version 3 ... > > what you want to see there is pdfLaTeX > > entering extended mode > (.second.tex > ! Undefined control sequence. > 1.5 \documentclass > [10pt,a4paper]{article} > > So, assuming that your command worked, it cannot be the line endings. > > the line endings probably needed to be > changed anyhow, but the real problem is > that you are using *plain* tex, not latex. > i can't tell you how to launch latex, but > there should be some documentation that > will point you in the right direction. > -- bb > Dear me. Others have suggested that, but I had difficulties in believing that. Why should one not want to use LaTeX? I have made the assumption that when some Tex editor is downloaded (like TexShop), it would install Latex and use by default. As a matter of course. At least, that is the case for any of the Windows editors I have tried and used for several years, like WinEdt and TeXnicCenter. Nevertheless it is obvious that you are right. But at least I have come one step further. I have tried TextMate, ands at least that one lets me beyond the first line. Evidently it does not install packages on the fly, but at least that is one less serious problem than I have had with TexShop and the like. Thanks for the assistance. Apart from having owned an Apple IIe in the early eighties, I am in my second week of learning how to use a Mac. It is obvious that there is a lot to learn and unlearn. Tom From herbs at wideopenwest.com Mon Dec 14 21:39:55 2009 From: herbs at wideopenwest.com (Herbert Schulz) Date: Mon, 14 Dec 2009 14:39:55 -0600 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <19238.40097.791641.114827@zaphod.ms25.net> References: <4B2541C7.3030807@psych.uib.no> <4B264352.6090701@psych.uib.no> <19238.40097.791641.114827@zaphod.ms25.net> Message-ID: <80FEC70F-DBED-416A-9B97-AF7611E8A5CC@wideopenwest.com> On Dec 14, 2009, at 2:14 PM, Reinhard Kotucha wrote: > On 14 December 2009 Tom Backer Johnsen wrote: > >> Oleg Katsitadze wrote: >>> Hi Tom, >>> >>> On Sun, 13 Dec 2009 20:34:31 +0100, Tom Backer Johnsen said: >>> >>>> I am in the process of migrating from Windows XP to a MacBook Pro >>>> (Snow Leopard), and have simply copied a number of files from the >>>> Windows XP machine to the Mac Via an external hard disk and a memory >>>> stick. I then find that files which compile (to PDF) perfectly OK on >>>> the Windows machine give me an error message on the very first line, >>>> the \documentclass one gives me an error message: undefined control >>>> sequence. >>>> >>> >>> This is probably a line endings problem. There must be a program on >>> your system which converts the line endings, try fromdos, dos2unix, >>> flip, toix. >>> >>> HTH, >>> Oleg >>> >> Yes, it is some conversion issue. If I enter a trivial document using >> the keyboard, it compiles all right, but it does not work with files >> coming from the Windows machine. > > If it's a line-endings problem you shouldn't get an "undefined control > sequence" error message if the \documentclass command is the very first > thing LaTeX reads. > > Please send us your .log file. > > I can't believe that there is a line-endings problem. It's the first > time I hear that pure ASCII files are not portable among different > ports of TeX. > > Regards, > Reinhard > Howdy, I doubt it's a line ending problem. I taken files generated on a PC and even OLD files from my old TeXtures distribution on Mac OS 8--9, which used \r for newlines, and compiled them directly under Mac OS X which uses *nix line endings. Good Luck, Herb Schulz (herbs at wideopenwest dot com) From alan at alphabyte.co.nz Mon Dec 14 21:55:48 2009 From: alan at alphabyte.co.nz (Alan T Litchfield) Date: Tue, 15 Dec 2009 09:55:48 +1300 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B26A0AB.4040502@psych.uib.no> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> <4B26A0AB.4040502@psych.uib.no> Message-ID: <9CC19FB0-FE04-4F3D-B9BE-ABA25C6292EE@alphabyte.co.nz> On 15/12/2009, at 9:31 AM, Tom Backer Johnsen wrote: >> > Dear me. Others have suggested that, but I had difficulties in > believing that. Why should one not want to use LaTeX? I have made > the assumption that when some Tex editor is downloaded (like > TexShop), it would install Latex and use by default. As a matter of > course. At least, that is the case for any of the Windows editors I > have tried and used for several years, like WinEdt and > TeXnicCenter. Nevertheless it is obvious that you are right. > > But at least I have come one step further. I have tried TextMate, > ands at least that one lets me beyond the first line. Evidently it > does not install packages on the fly, but at least that is one less > serious problem than I have had with TexShop and the like. > > Thanks for the assistance. Apart from having owned an Apple IIe in > the early eighties, I am in my second week of learning how to use a > Mac. It is obvious that there is a lot to learn and unlearn. > > Tom > > You need to check what you have defined in the applications' preferences. TeXShop does tend to make use of PDFLaTeX by default, I think. I have no idea about TextMate. There are a range of options available to you, whatever is your choice of operation. Those options are also available in WinEdt and TeXNicCenter, but likely in different places. In TeXShop choose TeXShop > Preferences. In there, click on the Typesetting and Engine tabs to make certain you are using LaTeX and that your path is correctly defined. Alan -- Alan T Litchfield AlphaByte PO Box 141, Auckland, 1140 New Zealand http://www.alphabyte.co.nz http://www.alphabyte.co.nz/beatrice From backer at psych.uib.no Mon Dec 14 22:05:22 2009 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Mon, 14 Dec 2009 22:05:22 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <80FEC70F-DBED-416A-9B97-AF7611E8A5CC@wideopenwest.com> References: <4B2541C7.3030807@psych.uib.no> <4B264352.6090701@psych.uib.no> <19238.40097.791641.114827@zaphod.ms25.net> <80FEC70F-DBED-416A-9B97-AF7611E8A5CC@wideopenwest.com> Message-ID: <4B26A892.3090504@psych.uib.no> Herbert Schulz wrote: > On Dec 14, 2009, at 2:14 PM, Reinhard Kotucha wrote: > > >> On 14 December 2009 Tom Backer Johnsen wrote: >> >> >>> Oleg Katsitadze wrote: >>> >>>> Hi Tom, >>>> >>>> On Sun, 13 Dec 2009 20:34:31 +0100, Tom Backer Johnsen said: >>>> >>>> >>>>> I am in the process of migrating from Windows XP to a MacBook Pro >>>>> (Snow Leopard), and have simply copied a number of files from the >>>>> Windows XP machine to the Mac Via an external hard disk and a memory >>>>> stick. I then find that files which compile (to PDF) perfectly OK on >>>>> the Windows machine give me an error message on the very first line, >>>>> the \documentclass one gives me an error message: undefined control >>>>> sequence. >>>>> >>>>> >>>> This is probably a line endings problem. There must be a program on >>>> your system which converts the line endings, try fromdos, dos2unix, >>>> flip, toix. >>>> >>>> HTH, >>>> Oleg >>>> >>>> >>> Yes, it is some conversion issue. If I enter a trivial document using >>> the keyboard, it compiles all right, but it does not work with files >>> coming from the Windows machine. >>> >> If it's a line-endings problem you shouldn't get an "undefined control >> sequence" error message if the \documentclass command is the very first >> thing LaTeX reads. >> >> Please send us your .log file. >> >> I can't believe that there is a line-endings problem. It's the first >> time I hear that pure ASCII files are not portable among different >> ports of TeX. >> >> Regards, >> Reinhard >> >> > > Howdy, > > I doubt it's a line ending problem. I taken files generated on a PC and even OLD files from my old TeXtures distribution on Mac OS 8--9, which used \r for newlines, and compiled them directly under Mac OS X which uses *nix line endings. > > Good Luck, > > Herb Schulz > (herbs at wideopenwest dot com) > That is what others have suggested as well. Barbara Beeton suggested that I used TeX rather than LaTex, which is probably the case. See my response to her. In any case, it is getting quite late here in Norway and we are having guests as well, so I'll quit for tonight. Thank you all for useful suggestions. I am in any case getting closer to what I want to achieve, establishing myself in a more stable and predictable world than Windows. So thanks so far. Tom > > > _______________________________________________ > 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 herbs at wideopenwest.com Mon Dec 14 22:26:57 2009 From: herbs at wideopenwest.com (Herbert Schulz) Date: Mon, 14 Dec 2009 15:26:57 -0600 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <9CC19FB0-FE04-4F3D-B9BE-ABA25C6292EE@alphabyte.co.nz> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> <4B26A0AB.4040502@psych.uib.no> <9CC19FB0-FE04-4F3D-B9BE-ABA25C6292EE@alphabyte.co.nz> Message-ID: On Dec 14, 2009, at 2:55 PM, Alan T Litchfield wrote: > > On 15/12/2009, at 9:31 AM, Tom Backer Johnsen wrote: >>> >> Dear me. Others have suggested that, but I had difficulties in believing that. Why should one not want to use LaTeX? I have made the assumption that when some Tex editor is downloaded (like TexShop), it would install Latex and use by default. As a matter of course. At least, that is the case for any of the Windows editors I have tried and used for several years, like WinEdt and TeXnicCenter. Nevertheless it is obvious that you are right. >> >> But at least I have come one step further. I have tried TextMate, ands at least that one lets me beyond the first line. Evidently it does not install packages on the fly, but at least that is one less serious problem than I have had with TexShop and the like. >> >> Thanks for the assistance. Apart from having owned an Apple IIe in the early eighties, I am in my second week of learning how to use a Mac. It is obvious that there is a lot to learn and unlearn. >> >> Tom >> >> > > > You need to check what you have defined in the applications' preferences. TeXShop does tend to make use of PDFLaTeX by default, I think. I have no idea about TextMate. > > There are a range of options available to you, whatever is your choice of operation. Those options are also available in WinEdt and TeXNicCenter, but likely in different places. > > In TeXShop choose TeXShop > Preferences. In there, click on the Typesetting and Engine tabs to make certain you are using LaTeX and that your path is correctly defined. > > Alan > Howdy, The default compile with TeXShop (and TeXworks too) is pdflatex so you may have something in your file that tells TeXShop to use something else, e.g., %& xxxxxx tells TeXShop (and TeXworks too I believe) to execute the xxxxxx ``engine'' to compile the file. If the xxxxxx engine does not exits for that editor (TeXworks doesn't know about latex->dvips->ps2pdf processing by default, neither of them will understand something exotic that existed under MikTeX) I'm not sure what gets executed. In TeXShop check TeXShop-Preferences->Typesetting; the Default Command should be LaTeX and the Default Script should be Pdftex. By the way, I'd send you all of this off-list but my e-mails directly to you were bounced. Good Luck, Herb Schulz (herbs at wideopenwest dot com) From reinhard.kotucha at web.de Mon Dec 14 23:50:03 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 14 Dec 2009 23:50:03 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B26A0AB.4040502@psych.uib.no> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> <4B26A0AB.4040502@psych.uib.no> Message-ID: <19238.49435.93313.115646@zaphod.ms25.net> On 14 December 2009 Tom Backer Johnsen wrote: > Why should one not want to use LaTeX? Because every TeX incarnation has it's pros and cons. Context is more advanced then LaTeX. Why should one want to use LaTeX, then? Plain TeX users often have to write code while LaTeX users just have to load a package which already provides this code. But plain TeX is much faster than LaTeX. This doesn't matter if you write a book. But railway companies generate customized time tables on-the-fly on their web-sites using pdftex, banks in Germany are using TeX in order to create statements of account (sometimes 400,000 per day), I got telephone bills from the German Telekom created by pdftex... In most cases LaTeX is a good choice. But in general, if you ask what is most appropriate, plain TeX, LaTeX, or Context, the definite answer is "it depends". 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 chrisptex at googlemail.com Mon Dec 14 23:42:07 2009 From: chrisptex at googlemail.com (Christian Pleul) Date: Mon, 14 Dec 2009 23:42:07 +0100 Subject: [texhax] Migrating from Windows to Mac In-Reply-To: <4B26A0AB.4040502@psych.uib.no> References: <200912141915.nBEJFMct013951@strawberry.ncifcrf.gov> <4B2693BB.3020306@psych.uib.no> <4B26A0AB.4040502@psych.uib.no> Message-ID: <2606C270-B46A-460D-BC84-690A7A30BA2A@googlemail.com> Am 14.12.2009 um 21:31 schrieb Tom Backer Johnsen: [?] > But at least I have come one step further. I have tried TextMate, ands at least that one lets me beyond the first line. Evidently it does not install packages on the fly, but at least that is one less serious problem than I have had with TexShop and the like. [?] According to update, well not really on the fly but also very convenient, check out the TeX Live Utility. http://code.google.com/p/mactlmgr/ Best -- Christian -Click. Boom. Amazing!- Steve Jobs, 2006 From tug-news at tug.org Tue Dec 15 02:40:09 2009 From: tug-news at tug.org (TeX Users Group) Date: Tue, 15 Dec 2009 01:40:09 GMT Subject: [texhax] Dec 2009 TUG news: TeX Collection DVD, TUGboat, interviews Message-ID: <200912150140.nBF1e9Ba026523@f7.net> Dear TeX users, - Upcoming TeX conferences in 2010: Apr 30-May 4 - BachoTeX 2010 (Bachotek, Poland) http://www.gust.org.pl/bachotex/ Jun 28-30 - TUG 2010 (San Francisco, USA) http://tug.org/tug2010/ Aug 25-29 - EuroTeX 2010 (Pisa, Italy) http://www.guit.sssup.it/eurotex2010/ Sep 13-18 - Fourth ConTeXt User Meeting (Brejlov, Czech Republic) http://meeting.contextgarden.net/2010/ - We are soliciting proposals to host the TUG 2011 conference. If you are interested, please see http://tug.org/tug2011. The deadline for proposals is February 1. - The TeX Collection 2009 DVD is in production. Due to the winter holidays, manufacturing and mailing will probably not be complete until January. Its components (TeX Live, MacTeX, proTeXt, CTAN) are available online now. http://tug.org/texcollection/ - TUGboat 30:3, the EuroTeX 2009 proceedings (a joint issue with MAPS), will go to the printer shortly. Again due to the winter holidays, we don't yet have an estimate on delivery. The deadline for the first TUGboat issue in 2010 is March 31. http://tug.org/TUGboat/ - Recent subjects in the Interview Corner: Ulrike Fischer, Idris Hamid, Joseph Wright, and Raph Levien. These have been posted since the publication of the book of interviews from the first several years of the Corner, also available from the web site. http://tug.org/interviews/ Karl Berry (President) on behalf of the TUG Board http://www.tug.org/ From ecordy75 at comcast.net Tue Dec 15 07:22:35 2009 From: ecordy75 at comcast.net (ecordy75) Date: Tue, 15 Dec 2009 01:22:35 -0500 Subject: [texhax] Impossibly slow Message-ID: <040AB7CB2A4E4B7FAF4C32A2800E0B4B@JohnNahay> Dear TeX, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ComputingRootsPseudopolynomial.txt URL: From ecordy75 at comcast.net Tue Dec 15 07:28:45 2009 From: ecordy75 at comcast.net (ecordy75) Date: Tue, 15 Dec 2009 01:28:45 -0500 Subject: [texhax] Need a faster typesetting system Message-ID: <0AD48529CDE34E5BA6615A81323CCD06@JohnNahay> Dear TeX, My Mathtype Version 6.0 with MS Word 2000 has become impossibly slow. It takes 5 minutes for a 5-page document to load with all the Mathtype images. Fast easy typesetting is necessary for me to DO the math. The formulae I manipulate are SO big that I have no way of organizing them practically on paper. I have attached the conversion from Mathtype to TeX or LaTeX (I don't know which) which Mathtype allows me. I use a home personal computer, VAIO Sony RZ56G, Windows XP Home Media Edition 2004. I have no money to pay anyone to typeset for me, because no one has paid me for over 8 years for anything. (There are no jobs anywhere. I have been unemployed for 8 years.) Please turn my attached file (which is a very incomplete version of my paper) into a document with the proper math symbols displayed. Mathtype 6.0 and MS Word 2000 crash about every 7 minutes. That amounts to about 30 times a day for me. I need to use a WYSIWYG typesetting program only. Thank you. Sincerely, Dr. John Nahay -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ComputingRootsPseudopolynomial.txt URL: From will.adams at frycomm.com Tue Dec 15 16:20:58 2009 From: will.adams at frycomm.com (William Adams) Date: Tue, 15 Dec 2009 10:20:58 -0500 Subject: [texhax] Need a faster typesetting system In-Reply-To: <0AD48529CDE34E5BA6615A81323CCD06@JohnNahay> References: <0AD48529CDE34E5BA6615A81323CCD06@JohnNahay> Message-ID: <63A562F7-5CF9-487B-9B80-0B95C3BA0F8E@frycomm.com> On Dec 15, 2009, at 1:28 AM, ecordy75 wrote: > I need to use a WYSIWYG typesetting program only. My suggestion would be to try either LyX (What You See Is What You Mean) http://www.lyx.org or TeXMacs (what you see is what you want). http://www.texmacs.org/ Either of these should be better able to handle large equations and complex documents than Word (I wonder if you don't have some physical problem w/ your PC or other difficulty w/ your Windows installation --- that's an awful lot of crashing --- I'd suggest doing a hardware diagnostic to at least test your memory). To typeset the file which you provided in LaTeX you simply need to add: \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \begin{document} to the beginning of the document (called the preamble) and then close out the document w/: \end{document} You'll also need to indicate the ampersand in the title should appear as an ampersand --- set it as for instance: Mishkov, Rumen L. Generalization of the Formula of Faa Di Bruno for a Composite Function with a Vector Argument Internat. \emph{J. Math. \& Math. Sci.} Vol 24, No. 7 (2000) 481-491. Once you've made the above changes, the file you provided should import into LyX just fine, then you could continue editing in that. Here's a tutorial which should be of help: http://heather.cs.ucdavis.edu/~matloff/lyx.html William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From pierre.mackay at comcast.net Tue Dec 15 16:24:44 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Tue, 15 Dec 2009 07:24:44 -0800 Subject: [texhax] Need a faster typesetting system In-Reply-To: <0AD48529CDE34E5BA6615A81323CCD06@JohnNahay> References: <0AD48529CDE34E5BA6615A81323CCD06@JohnNahay> Message-ID: <4B27AA3C.7040904@comcast.net> On 12/14/2009 10:28 PM, ecordy75 wrote: > Dear TeX, > My Mathtype Version 6.0 with MS Word 2000 has become impossibly slow. > It takes 5 minutes for a 5-page document to load with all the Mathtype > images. > Fast easy typesetting is necessary for me to DO the math. > The formulae I manipulate are SO big that I have no way of organizing > them practically on paper. > > I need to use a WYSIWYG typesetting program only. > TeX (LaTeX, and just about any other form of TeX) is not a WYSIWYG system. Decades ago, Blue Sky managed a quasi-WYSIWYG system that flipped back and forth between TeX operations and display, but that would not get you anything like the speed you ask for. Further, TeX does all its calculations in long integers, for reasons that are explained in /TeX, the Program. / If speed of calculation is your primary need, TeX is not for you. / /I doubt that even luatex would meet your criteria. Massive mathematical calculations more or less have to be done in programs designed to get maximum efficiency in performing mathematical calculations. That is not what typesetting is all about. Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.adams at frycomm.com Tue Dec 15 16:28:00 2009 From: will.adams at frycomm.com (William Adams) Date: Tue, 15 Dec 2009 10:28:00 -0500 Subject: [texhax] Need a faster typesetting system In-Reply-To: <63A562F7-5CF9-487B-9B80-0B95C3BA0F8E@frycomm.com> References: <0AD48529CDE34E5BA6615A81323CCD06@JohnNahay> <63A562F7-5CF9-487B-9B80-0B95C3BA0F8E@frycomm.com> Message-ID: On Dec 15, 2009, at 10:20 AM, William Adams wrote: > Once you've made the above changes, the file you provided should > import into LyX just fine One issue. \[...\] is used to indicate display math, which I don't believe you'd want to use as much as you are. Changing all (most?) of them to \(...\) will make the math in-line which is more like what you want I believe. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From texjunky at gmail.com Tue Dec 15 21:45:19 2009 From: texjunky at gmail.com (david allen) Date: Tue, 15 Dec 2009 15:45:19 -0500 Subject: [texhax] finding files Message-ID: I just switched from windows to linux (ubuntu) and have installed texlive 2009. I have a ~/texmf directory where I have put some bib and sty files. I have a directory ~/book that contains master.tex. master.tex has things like \include{chapter1} \include{chaper2} etc. Now, chapter1.tex resides in the directory ~/book/chapter1 along with perhaps included graphics files and related R programs. I would like to cd to book and have latex find the files in its subsidiary directories. I am not keen on moving book to be subsidiary to texmf because there is a lot of non-tex stuff there. I am overwhelmed with the Kpathsea documentation and the FAQs weren't enough help either. Can someone give explicit direction on how to do this? I would greatly appreciate it. Sincerely, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From xkyanh at gmail.com Wed Dec 16 02:19:28 2009 From: xkyanh at gmail.com (Anh Ky Huynh) Date: Wed, 16 Dec 2009 08:19:28 +0700 Subject: [texhax] finding files In-Reply-To: References: Message-ID: <20091216081928.62bdae12@icy.localdomain> On Tue, 15 Dec 2009 15:45:19 -0500 david allen wrote: > I just switched from windows to linux (ubuntu) and have installed > texlive 2009. > > I have a ~/texmf directory where I have put some bib and sty files. > > I have a directory ~/book that contains master.tex. master.tex has > things like > \include{chapter1} \include{chaper2} etc. Now, chapter1.tex resides > in the directory ~/book/chapter1 along with perhaps included > graphics files and related R programs. > > I would like to cd to book and have latex find the files in its > subsidiary directories. > I am not keen on moving book to be subsidiary to texmf because > there is a lot of non-tex stuff there. > I think that you should use relative paths when including files: If your document are in ~/book/chapter1/, you may use \include{../chapter2/foobar.tex} \includegraphics{../images/foobar.jpg} \include{../chapter2/section/foobar.tex} You needn't to use TDS with your non-tex files. > I am overwhelmed with the Kpathsea documentation and the FAQs > weren't enough help either. Can someone give explicit direction on > how to do this? I would greatly appreciate it. > > Sincerely, Regards, -- Anh Ky Huynh From lomov.vl at gmail.com Wed Dec 16 03:05:31 2009 From: lomov.vl at gmail.com (Vladimir Lomov) Date: Wed, 16 Dec 2009 10:05:31 +0800 Subject: [texhax] finding files In-Reply-To: References: Message-ID: <20091216020531.GA30039@smoon2> On Tue, Dec 15, 2009 at 15:45:19 -0500, david allen wrote: > I just switched from windows to linux (ubuntu) and have installed texlive > 2009. > I have a ~/texmf directory where I have put some bib and sty files. > I have a directory ~/book that contains master.tex. master.tex has things > like > \include{chapter1} \include{chaper2} etc. Now, chapter1.tex resides in > the directory ~/book/chapter1 along with perhaps included graphics files > and related R programs. > I would like to cd to book and have latex find the files in its subsidiary > directories. > I am not keen on moving book to be subsidiary to texmf because there is a > lot of non-tex stuff there. > I am overwhelmed with the Kpathsea documentation and the FAQs weren't > enough help either. Can someone give explicit direction on how to do this? > I would greatly appreciate it. > Sincerely, > David Layout: ~/book/ master.tex ~/book/chapter1/ chapter1.tex fig1-1.eps fig1-1.pdf ... ~book/chapter2/ chapter2.tex fig2-1.eps fig2-1.pdf ... ... Your master.tex file contains: \include{chapter1/chapter1.tex} \include{chapter2/chapter2.tex} Go into directory and run bash:[~/book]$ pdflatex master.tex ... If you use bibtex/makeindex/... then run instead of pdflatex bash:[~/book]$ latexmk -pdf master.tex This should work. Note: if you insert images into your document you should use relative paths, e.g. in chapter1.tex: \includegraphics{fig1-1} %%% without extension provided that there are %%% fig1-1.eps _and_ fig1-1.pdf files -- Uncle Ed's Rule of Thumb: Never use your thumb for a rule. You'll either hit it with a hammer or get a splinter in it. From narkewoody at gmail.com Wed Dec 16 08:48:44 2009 From: narkewoody at gmail.com (Steven Woody) Date: Wed, 16 Dec 2009 15:48:44 +0800 Subject: [texhax] Create standalone graphics using TikZ Message-ID: Hi, I am learning TikZ language and will mainly use it in latex documents. But I still think about a question: Beside of creating graphics for latex documents, can I also use TikZ to create standalone graphics in other format, e.g, eps, so that I can use the graphics in documents with other formats? Thanks a lot. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com) From narkewoody at gmail.com Wed Dec 16 08:51:01 2009 From: narkewoody at gmail.com (Steven Woody) Date: Wed, 16 Dec 2009 15:51:01 +0800 Subject: [texhax] Source of TikZ manual Message-ID: Hi, I am reading the TikZ manual in PDF format. I feel the format and graphics in the document is so much beautiful so I desire to check out its latex source. Is it public accessible and how can I get it? Thanks in advance. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com) From news3 at nililand.de Wed Dec 16 10:59:46 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Wed, 16 Dec 2009 10:59:46 +0100 Subject: [texhax] finding files References: Message-ID: <19xjro5qptjyb$.dlg@nililand.de> Am Tue, 15 Dec 2009 15:45:19 -0500 schrieb david allen: > I just switched from windows to linux (ubuntu) and have installed texlive > 2009. > > I have a ~/texmf directory where I have put some bib and sty files. > > I have a directory ~/book that contains master.tex. master.tex has things > like > \include{chapter1} \include{chaper2} etc. Now, chapter1.tex resides in > the directory ~/book/chapter1 along with perhaps included graphics files > and related R programs. > > I would like to cd to book and have latex find the files in its subsidiary > directories. > I am not keen on moving book to be subsidiary to texmf because there is a > lot of non-tex stuff there. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=docotherdir -- Ulrike Fischer From axel.retif at mac.com Wed Dec 16 12:06:31 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 16 Dec 2009 05:06:31 -0600 Subject: [texhax] Source of TikZ manual In-Reply-To: References: Message-ID: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> On 16 Dec, 2009, at 01:51, Steven Woody wrote: > Hi, > > I am reading the TikZ manual in PDF format. I feel the format and graphics in the document is so much beautiful so I desire to check out its latex source. Is it public accessible and how can I get it? If you're using TeXLive 2009, it's here: /usr/local/texlive/2009/texmf-dist/doc/generic/pgf The chapters are in the subdirectory ``text-en''. As for your previous question, > Beside of creating graphics for latex documents, can I also use TikZ to create standalone graphics in other format, e.g, eps, so that I can use the graphics in documents with other formats? Yes to both ---see the chapter ``Externalization Library'', where it says ``The purpose of this library is to provide a way to export any TikZ-picture to separate pdf (or eps) images...''. There is a very helpful pgf/TikZ mailing list: https://lists.sourceforge.net/lists/listinfo/pgf-users See the archives ---a question like yours has just been answered there. Best, Axel From texjunky at gmail.com Wed Dec 16 15:30:42 2009 From: texjunky at gmail.com (david allen) Date: Wed, 16 Dec 2009 09:30:42 -0500 Subject: [texhax] finding files In-Reply-To: <20091216020531.GA30039@smoon2> References: <20091216020531.GA30039@smoon2> Message-ID: Thanks. Also, your graphic display of my layout is much better than my description. Another question: In c/c++ and html, if you have a path in an include statement the path is relative to the current file. In LaTeX the path is relative to the master file. Are these correct observations? On Tue, Dec 15, 2009 at 9:05 PM, Vladimir Lomov wrote: > On Tue, Dec 15, 2009 at 15:45:19 -0500, david allen wrote: > > I just switched from windows to linux (ubuntu) and have installed texlive > > 2009. > > > I have a ~/texmf directory where I have put some bib and sty files. > > > I have a directory ~/book that contains master.tex. master.tex has things > > like > > \include{chapter1} \include{chaper2} etc. Now, chapter1.tex resides in > > the directory ~/book/chapter1 along with perhaps included graphics files > > and related R programs. > > > I would like to cd to book and have latex find the files in its > subsidiary > > directories. > > I am not keen on moving book to be subsidiary to texmf because there is a > > lot of non-tex stuff there. > > > I am overwhelmed with the Kpathsea documentation and the FAQs weren't > > enough help either. Can someone give explicit direction on how to do > this? > > I would greatly appreciate it. > > > Sincerely, > > David > > Layout: > ~/book/ > master.tex > ~/book/chapter1/ > chapter1.tex > fig1-1.eps > fig1-1.pdf > ... > ~book/chapter2/ > chapter2.tex > fig2-1.eps > fig2-1.pdf > ... > ... > > Your master.tex file contains: > > \include{chapter1/chapter1.tex} > \include{chapter2/chapter2.tex} > > Go into directory and run > bash:[~/book]$ pdflatex master.tex > ... > > If you use bibtex/makeindex/... then run instead of pdflatex > bash:[~/book]$ latexmk -pdf master.tex > > This should work. > > Note: if you insert images into your document you should use relative > paths, e.g. in chapter1.tex: > > \includegraphics{fig1-1} %%% without extension provided that there are > %%% fig1-1.eps _and_ fig1-1.pdf files > > > -- > Uncle Ed's Rule of Thumb: > Never use your thumb for a rule. > You'll either hit it with a hammer or get a splinter in it. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From narkewoody at gmail.com Wed Dec 16 15:42:32 2009 From: narkewoody at gmail.com (Steven Woody) Date: Wed, 16 Dec 2009 22:42:32 +0800 Subject: [texhax] Source of TikZ manual In-Reply-To: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> References: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> Message-ID: On Wed, Dec 16, 2009 at 7:06 PM, Axel E. Retif wrote: > On ?16 Dec, 2009, at 01:51, Steven Woody wrote: > >> Hi, >> >> I am reading the TikZ manual in PDF format. ?I feel the format and graphics in the document is so much beautiful so I desire to check out its latex source. ?Is it public accessible and how can I get it? > > If you're using TeXLive 2009, it's here: > > /usr/local/texlive/2009/texmf-dist/doc/generic/pgf > > The chapters are in the subdirectory ``text-en''. > > As for your previous question, > Thanks. But did you every try to build the pdf from the sources? There is a Makefile under the directory and when I run 'make' in it, I got an error: "can not open pgfmanual.tex", but the file does exist in the directory. I then checked the Makefile, there is a TEXTINPUTS definition, but I did not see any problem. It's strange ... >> Beside of creating graphics for latex documents, can I also use TikZ to create standalone graphics in other format, e.g, eps, so that I can use the graphics in documents with other formats? > > > Yes to both ---see the chapter ``Externalization Library'', where it says ``The purpose of this library is to provide a way to export any TikZ-picture to separate pdf (or eps) images...''. > > There is a very helpful pgf/TikZ mailing list: > > https://lists.sourceforge.net/lists/listinfo/pgf-users Thank you for letting me know the list. I will post questions there next time. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com) From axel.retif at mac.com Wed Dec 16 15:50:24 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 16 Dec 2009 08:50:24 -0600 Subject: [texhax] Source of TikZ manual In-Reply-To: References: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> Message-ID: On 16 Dec, 2009, at 08:42, Steven Woody wrote: > On Wed, Dec 16, 2009 at 7:06 PM, Axel E. Retif wrote: >> On 16 Dec, 2009, at 01:51, Steven Woody wrote: >> >>> Hi, >>> >>> I am reading the TikZ manual in PDF format. I feel the format and graphics in the document is so much beautiful so I desire to check out its latex source. Is it public accessible and how can I get it? >> >> If you're using TeXLive 2009, it's here: >> >> /usr/local/texlive/2009/texmf-dist/doc/generic/pgf >> >> The chapters are in the subdirectory ``text-en''. >> >> As for your previous question, >> > > Thanks. But did you every try to build the pdf from the sources? There > is a Makefile under the directory and when I run 'make' in it, I got > an error: "can not open pgfmanual.tex", but the file does exist in > the directory. I guess you have to copy the whole pgf directory to a place you have write permissions. Best, Axel From P.Taylor at Rhul.Ac.Uk Tue Dec 15 17:05:31 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Tue, 15 Dec 2009 16:05:31 +0000 Subject: [texhax] Need a faster typesetting system In-Reply-To: References: <0AD48529CDE34E5BA6615A81323CCD06@JohnNahay> <63A562F7-5CF9-487B-9B80-0B95C3BA0F8E@frycomm.com> Message-ID: <4B27B3CB.2090802@Rhul.Ac.Uk> With William's suggestions, and a little alias-hackery (see below), it processess in just a couple of seconds on a fairly old 1,7GHz 1Gb P4 machine to produce the attached PDF. Philip Taylor -------- \documentclass {minimal} \usepackage{amsmath} \usepackage{amsfonts} \let \[ = $ \let \] = $ \begin {document} Mishkov, Rumen L. Generalization of the Formula of Faa Di Bruno for a Composite Function with a Vector Argument Internat. J. Math. \& Math. Sci. Vol 24, No. 7 (2000) 481-491. \end {document} -------------- next part -------------- A non-text attachment was scrubbed... Name: 1.pdf Type: application/pdf Size: 143591 bytes Desc: not available URL: From joseph.wright at uea.ac.uk Wed Dec 16 09:10:04 2009 From: joseph.wright at uea.ac.uk (Joseph Wright) Date: Wed, 16 Dec 2009 08:10:04 +0000 Subject: [texhax] Create standalone graphics using TikZ In-Reply-To: References: Message-ID: <4B2895DC.3010301@uea.ac.uk> On 16/12/2009 07:48, Steven Woody wrote: > Hi, > > I am learning TikZ language and will mainly use it in latex documents. > But I still think about a question: Beside of creating graphics for > latex documents, can I also use TikZ to create standalone graphics in > other format, e.g, eps, so that I can use the graphics in documents > with other formats? > > Thanks a lot. > As long as you using LaTeX to make them, yes. I've just written quite a large paper which has to be submitted in Word, in which all of my graphs are done using pgfplots (which is built on pgf/Tikz). Look at the "externalisation" part of Tikz. This lets you extract out EPS images, which you can then use for whatever. -- Joseph Wright From joseph.wright at uea.ac.uk Wed Dec 16 09:09:58 2009 From: joseph.wright at uea.ac.uk (Joseph Wright) Date: Wed, 16 Dec 2009 08:09:58 +0000 Subject: [texhax] Source of TikZ manual In-Reply-To: References: Message-ID: <4B2895D6.8000702@uea.ac.uk> On 16/12/2009 07:51, Steven Woody wrote: > Hi, > > I am reading the TikZ manual in PDF format. I feel the format and > graphics in the document is so much beautiful so I desire to check out > its latex source. Is it public accessible and how can I get it? > > Thanks in advance. > Of course: TeX Live won't accept packages without sources, after all. Look in the /doc/generic/pgf/text-en. Be warned there are lots of files! -- Joseph Wright From Kasper.Masschaele at biw.kuleuven.be Wed Dec 16 14:13:36 2009 From: Kasper.Masschaele at biw.kuleuven.be (Kasper Masschaele) Date: Wed, 16 Dec 2009 14:13:36 +0100 Subject: [texhax] Error Message Message-ID: hello, i installed texshop today from the mactex 2009 bundle, but when i start a simple example, i have the same error message: /Users/kaspermasschaeler/Library/TeXShop/bin/platex2pdf-euc: line 12: ptex: > command not found can you please tell me how can i solve this problem? Because I donot understand your answer : Indeed, /Users//Library/TeXShop/bin/platex2pdf-euc has export PATH=$PATH:/usr/local/bin:/usr/local/teTeX/bin and /usr/local/teTeX doesn't exist any more in MacTeX; this was used in gwTeX, which indeed had pTeX. Many many thanks! Kasper -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph.wright at morningstar2.co.uk Wed Dec 16 16:04:44 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Wed, 16 Dec 2009 15:04:44 +0000 Subject: [texhax] Source of TikZ manual In-Reply-To: References: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> Message-ID: <4B28F70C.8050909@morningstar2.co.uk> On 16/12/2009 14:42, Steven Woody wrote: > On Wed, Dec 16, 2009 at 7:06 PM, Axel E. Retif wrote: >> On 16 Dec, 2009, at 01:51, Steven Woody wrote: >> >>> Hi, >>> >>> I am reading the TikZ manual in PDF format. I feel the format and graphics in the document is so much beautiful so I desire to check out its latex source. Is it public accessible and how can I get it? >> >> If you're using TeXLive 2009, it's here: >> >> /usr/local/texlive/2009/texmf-dist/doc/generic/pgf >> >> The chapters are in the subdirectory ``text-en''. >> >> As for your previous question, >> > > Thanks. But did you every try to build the pdf from the sources? There > is a Makefile under the directory and when I run 'make' in it, I got > an error: "can not open pgfmanual.tex", but the file does exist in > the directory. I then checked the Makefile, there is a TEXTINPUTS > definition, but I did not see any problem. It's strange ... I suspect the Makefile is mainly for Till, etc. Using a copy of the CVS source of pgf, I got things to compile by moving pgfmanual.tex and the config file into the same place as all the .tex sources, doing a bit of hand editing and then letting things run. (I'm on Windows anyway, so the Makefile is no use here!) -- Joseph Wright From axel.retif at mac.com Wed Dec 16 22:24:47 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 16 Dec 2009 15:24:47 -0600 Subject: [texhax] Error Message In-Reply-To: References: Message-ID: <85C6EF9C-7908-4389-9F78-2B654F9509AA@mac.com> Kasper, If by ``simple example'' you mean something with Latin and math characters, I don't understand why pLaTeX is getting in the way. Maybe you have some old ~/Library/TeXShop (directory) and ~/Library/Preferences/TeXShop.plist If you move them out of your Library, TeXShop will rebuild them the next time you launch it. Anyway, I'm forwarding your message to Richard Koch. Best, Axel ---------------------------------------------------- On 16 Dec, 2009, at 07:13, Kasper Masschaele wrote: > hello, > > i installed texshop today from the mactex 2009 bundle, but when i start a simple example, i have the same error message: > > /Users/kaspermasschaeler/Library/TeXShop/bin/platex2pdf-euc: line 12: ptex: > > command not found > can you please tell me how can i solve this problem? Because I donot understand your answer : > > Indeed, /Users//Library/TeXShop/bin/platex2pdf-euc has > > export PATH=$PATH:/usr/local/bin:/usr/local/teTeX/bin > > and /usr/local/teTeX doesn't exist any more in MacTeX; this was used > in gwTeX, which indeed had pTeX. > > > > Many many thanks! > > Kasper > > > > _______________________________________________ > 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 herbs at wideopenwest.com Wed Dec 16 22:40:21 2009 From: herbs at wideopenwest.com (Herbert Schulz) Date: Wed, 16 Dec 2009 15:40:21 -0600 Subject: [texhax] Error Message In-Reply-To: <85C6EF9C-7908-4389-9F78-2B654F9509AA@mac.com> References: <85C6EF9C-7908-4389-9F78-2B654F9509AA@mac.com> Message-ID: On Dec 16, 2009, at 3:24 PM, Axel E. Retif wrote: > Kasper, > > If by ``simple example'' you mean something with Latin and math characters, I don't understand why pLaTeX is getting in the way. Maybe you have some old > > ~/Library/TeXShop (directory) > > and > > ~/Library/Preferences/TeXShop.plist > > If you move them out of your Library, TeXShop will rebuild them the next time you launch it. Anyway, I'm forwarding your message to Richard Koch. > > Best, > > Axel > ---------------------------------------------------- > On 16 Dec, 2009, at 07:13, Kasper Masschaele wrote: > >> hello, >> >> i installed texshop today from the mactex 2009 bundle, but when i start a simple example, i have the same error message: >> >> /Users/kaspermasschaeler/Library/TeXShop/bin/platex2pdf-euc: line 12: ptex: >>> command not found >> can you please tell me how can i solve this problem? Because I donot understand your answer : >> >> Indeed, /Users//Library/TeXShop/bin/platex2pdf-euc has >> >> export PATH=$PATH:/usr/local/bin:/usr/local/teTeX/bin >> >> and /usr/local/teTeX doesn't exist any more in MacTeX; this was used >> in gwTeX, which indeed had pTeX. >> >> >> >> Many many thanks! >> >> Kasper >> Howdy, 1)I don't think p(la)tex is part of TeX Live. 2)That script in ~/TeXShop/bin/ is very old and the PATH it sets is for an old tetex (older gwTeX?) distribution. Good Luck, Herb Schulz (herbs at wideopenwest dot com) From narkewoody at gmail.com Thu Dec 17 03:54:30 2009 From: narkewoody at gmail.com (Steven Woody) Date: Thu, 17 Dec 2009 10:54:30 +0800 Subject: [texhax] Source of TikZ manual In-Reply-To: References: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> Message-ID: On Wed, Dec 16, 2009 at 10:50 PM, Axel E. Retif wrote: > On ?16 Dec, 2009, at 08:42, Steven Woody wrote: > >> On Wed, Dec 16, 2009 at 7:06 PM, Axel E. Retif wrote: >>> On ?16 Dec, 2009, at 01:51, Steven Woody wrote: >>> >>>> Hi, >>>> >>>> I am reading the TikZ manual in PDF format. ?I feel the format and graphics in the document is so much beautiful so I desire to check out its latex source. ?Is it public accessible and how can I get it? >>> >>> If you're using TeXLive 2009, it's here: >>> >>> /usr/local/texlive/2009/texmf-dist/doc/generic/pgf >>> >>> The chapters are in the subdirectory ``text-en''. >>> >>> As for your previous question, >>> >> >> Thanks. But did you every try to build the pdf from the sources? There >> is a Makefile under the directory and when I run 'make' in it, ?I got >> an error: ?"can not open pgfmanual.tex", but the file does exist in >> the directory. > > I guess you have to copy the whole pgf directory to a place you have write permissions. > Yes. But still failed. I think this is a directory layout problem. The Make file set the TEXINPUTS=../../text-en for me, it amounts to: $ TEXINPUTS=../../text-en pdflatex pgfmanual.tex but this result in: kpathsea: Running mktextex pgfmanual.tex ! I can't find file `pgfmanual.tex'. <*> pgfmanual.tex But if without TEXINPUTS setting and do it directly: $ pdflatex pgfmanual.tex I will get another error: ... (./pgfmanual.toc) [3] No file pgfmanual-en-introduction.tex. [4] No file pgfmanual-en-tutorial.tex. No file pgfmanual-en-tutorial-nodes.tex. No file pgfmanual-en-tutorial-Euclid.tex. No file pgfmanual-en-tutorial-chains.tex. No file pgfmanual-en-guidelines.tex. .... ..... l.685 \end{codeexample} (Press Enter to retry, or Control-Z to exit; default file extension is `.tex') Please type another output file name: ! I can't write on file `plots/pgf-asymptotic-example.gnuplot'. \pgf at plotgnuplot ...ut \pgf at plotwrite =#1.gnuplot \immediate \write \pgf at plo... l.685 \end{codeexample} Do you have a clue? -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com) From lomov.vl at gmail.com Thu Dec 17 10:22:48 2009 From: lomov.vl at gmail.com (Vladimir Lomov) Date: Thu, 17 Dec 2009 17:22:48 +0800 Subject: [texhax] finding files In-Reply-To: References: <20091216020531.GA30039@smoon2> Message-ID: <20091217092248.GB30039@smoon2> On Wed, Dec 16, 2009 at 09:30:42 -0500, david allen wrote: David Allen => DA Ulrike Fischer => UF DA> Thanks. Also, your graphic display of my layout is much better than my DA> description. DA> Another question: In c/c++ and html, if you have a path in an include DA> statement DA> the path is relative to the current file. In LaTeX the path is relative to DA> the master file. DA> Are these correct observations? Do you read Ulrike's reply? DA>> I just switched from windows to linux (ubuntu) and have installed texlive DA>> 2009. DA>> I have a ~/texmf directory where I have put some bib and sty files. DA>> I have a directory ~/book that contains master.tex. master.tex has things DA>> like DA>> \include{chapter1} \include{chaper2} etc. Now, chapter1.tex resides in DA>> the directory ~/book/chapter1 along with perhaps included graphics files DA>> and related R programs. DA>> I would like to cd to book and have latex find the files in its subsidiary DA>> directories. DA>> I am not keen on moving book to be subsidiary to texmf because there is a DA>> lot of non-tex stuff there. UF> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=docotherdir In short: Yes, 'TeX doesn't have a changable "current directory", so that all files you refer to have to be specified relative to the same directory as the main file.' Just tested: ~/works/tex/test/paths master.tex \include{chapter1/chap1} ~/works/tex/test/paths/chapter1 chap1.tex \include{sec1-1} \include{sec1-2} sec1-1.tex ~/works/tex/test/paths/chapter1/sec sec1-2.tex [~/works/tex/test/paths] $ pdflatex master.tex .......... (./chapter1/chap1.tex ! LaTeX Error: \include cannot be nested. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.5 \include{sec1-1} .......... -- Time-sharing is the junk-mail part of the computer business. -- H.R.J. Grosch (attributed) From mpg at elzevir.fr Thu Dec 17 13:10:00 2009 From: mpg at elzevir.fr (=?ISO-8859-1?Q?Manuel_P=E9gouri=E9-Gonnard?=) Date: Thu, 17 Dec 2009 13:10:00 +0100 Subject: [texhax] [tex-live] Source of TikZ manual In-Reply-To: References: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> Message-ID: <4B2A1F98.3020709@elzevir.fr> Steven Woody a ?crit : > Yes. But still failed. I think this is a directory layout problem. > The Make file set the TEXINPUTS=../../text-en for me, it amounts to: > > $ TEXINPUTS=../../text-en pdflatex pgfmanual.tex > Really? Are you sure it's not 'TEXINPUTS=../../text-en:' with a trailing colon? Without a trailing colon, the default search paths are not used any more... Manuel. From Susan.Dittmar at gmx.de Thu Dec 17 14:08:37 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Thu, 17 Dec 2009 14:08:37 +0100 Subject: [texhax] [tex-live] Source of TikZ manual In-Reply-To: <4B2A1F98.3020709@elzevir.fr> References: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> <4B2A1F98.3020709@elzevir.fr> Message-ID: <20091217130837.GC25575@eureca.de> Quoting Manuel P?gouri?-Gonnard (mpg at elzevir.fr): > Steven Woody a ?crit : > > Yes. But still failed. I think this is a directory layout problem. > > The Make file set the TEXINPUTS=../../text-en for me, it amounts to: > > > > $ TEXINPUTS=../../text-en pdflatex pgfmanual.tex > > > Really? Are you sure it's not 'TEXINPUTS=../../text-en:' with a trailing colon? > Without a trailing colon, the default search paths are not used any more... OK, I admit to only having tested the Makefile. There the command line expands to (syntax for shell/bash): TEXINPUTS="../../text-en:${TEXINPUTS}" pdflatex pgfmanual.tex Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Susan.Dittmar at gmx.de Thu Dec 17 16:17:28 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Thu, 17 Dec 2009 16:17:28 +0100 Subject: [texhax] finding files In-Reply-To: References: <20091216020531.GA30039@smoon2> <20091216155757.GG6286@eureca.de> Message-ID: <20091217151728.GD25575@eureca.de> > > > Another question: In c/c++ and html, if you have a path in an include > > > statement the path is relative to the current file. In LaTeX the path is > > > relative to the master file. Are these correct observations? > > > > This is correct. > > Thanks, though I wish TeX did it the other way. Well, there are ways... You already were told one version. I use a rather easy approach for a project with several main files (choosing different parts of the overall project), sometimes creating quite a deep nesting of \input'ed files and subdirectories. Here it is. Use it like \INPUT{filename} to input a file in the current directory, and \INPUT[directory]{filename} to input a file in a different directory, giving relative path from the current directory. One possible problem is the macro \g at addto@macro. I do not remember out of the top of my head where it comes from -- maybe it is rather low level TeX, but maybe it is from one of the many packages I usually load. If you can't find it, I'll search for you if you want. It appends something to an existing macro (in a global definition). I never worked with \graphicspath (something from the graphics/graphicx package), so I just added a hint for it here. I really should get to testing this part ;-) % needs package ifthen; load it if not yet loaded: \RequirePackage{ifthen} % this is the current path: \newcommand{\DIR}{.} % save current path in this internal macro: \newcommand{\@SAVEDIR}{}\let\@SAVEDIR\DIR % Call to \input, with an optional argument giving the (relative) % directory: \newcommand{\INPUT}[2][]{% \begingroup% \let\@SAVEDIR\DIR% must not be \global\let ! \ifthenelse{\equal{#1}{}}{}{\g at addto@macro{\DIR}{/#1}}% % \graphicspath{{\DIR}}% \expandafter\input{\DIR/#2}% \global\let\DIR\@SAVEDIR% \endgroup% } Perhaps this helps... Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From uwe.lueck at web.de Fri Dec 18 17:02:34 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Fri, 18 Dec 2009 17:02:34 +0100 Subject: [texhax] finding files Message-ID: <1266121409@web.de> Susan Dittmar schrieb am 17.12.2009 18:35:34: [...] > One possible problem is the macro \g at addto@macro. I do not remember out of > the top of my head where it comes from -- maybe it is rather low level TeX, > but maybe it is from one of the many packages I usually load. If you can't > find it, I'll search for you if you want. It is in latex.ltx/ltclass.dtx, used for \At... hooks. Cheers, Uwe > It appends something to an > existing macro (in a global definition). > > I never worked with \graphicspath (something from the graphics/graphicx > package), so I just added a hint for it here. I really should get to > testing this part ;-) > > % needs package ifthen; load it if not yet loaded: > \RequirePackage{ifthen} > % this is the current path: > \newcommand{\DIR}{.} > % save current path in this internal macro: > \newcommand{\@SAVEDIR}{}\let\@SAVEDIR\DIR > % Call to \input, with an optional argument giving the (relative) > % directory: > \newcommand{\INPUT}[2][]{% > \begingroup% > \let\@SAVEDIR\DIR% must not be \global\let ! > \ifthenelse{\equal{#1}{}}{}{\g at addto@macro{\DIR}{/#1}}% > % \graphicspath{{\DIR}}% > \expandafter\input{\DIR/#2}% > \global\let\DIR\@SAVEDIR% > \endgroup% > } > > Perhaps this helps... > > Susan From asnd at triumf.ca Fri Dec 18 23:51:46 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 18 Dec 2009 14:51:46 -0800 Subject: [texhax] finding files In-Reply-To: <20091217151728.GD25575@eureca.de> References: <20091216020531.GA30039@smoon2> <20091216155757.GG6286@eureca.de> <20091217151728.GD25575@eureca.de> Message-ID: Susan Dittmar writes: > > > > Another question: In c/c++ and html, if you have a path in an include > > > > statement the path is relative to the current file. In LaTeX the path is > > > > relative to the master file. Are these correct observations? > > > > > > This is correct. > > > > Thanks, though I wish TeX did it the other way. > > Well, there are ways... Look at import.sty, and see if it is suitable. -- Donald Arseneau asnd at triumf.ca From neven.jovanovic at ffzg.hr Sat Dec 19 19:49:40 2009 From: neven.jovanovic at ffzg.hr (Neven =?iso-8859-2?Q?Jovanovi=E6?=) Date: Sat, 19 Dec 2009 19:49:40 +0100 (CET) Subject: [texhax] LaTeX in the papers Message-ID: <343ccb54885a41ec0a3582123b39570b.squirrel@webmail.ffzg.hr> Hi everyone, in the Times Literary Supplement for Dec 11, 2009, on p. 17, in the review "Here is the world elsewhere" by Eric Griffiths (review of Shakespeare's Roman tragedies as performed by the Toneelgroep, Amsterdam in the Barbican Theatre), I read the following: "the text which, via a LaTeX Beamer and Powerpoint, steered English speakers through the Dutch they were hearing in performance." It is the first time that I encountered a mention of LaTeX in "general" (i. e. non-specialist) press. Yours, Neven Neven Jovanovic Zagreb, Hrvatska / Croatia From chrisptex at googlemail.com Sun Dec 20 15:33:28 2009 From: chrisptex at googlemail.com (Christian Pleul) Date: Sun, 20 Dec 2009 15:33:28 +0100 Subject: [texhax] LaTeX in the papers In-Reply-To: <343ccb54885a41ec0a3582123b39570b.squirrel@webmail.ffzg.hr> References: <343ccb54885a41ec0a3582123b39570b.squirrel@webmail.ffzg.hr> Message-ID: <1153F7AE-0AF4-4EB1-8E16-A786751CD7CB@googlemail.com> Am 19.12.2009 um 19:49 schrieb Neven Jovanovi?: > Hi everyone, > > in the Times Literary Supplement for Dec 11, 2009, on p. 17, in the review > "Here is the world elsewhere" by Eric Griffiths (review of Shakespeare's > Roman tragedies as performed by the Toneelgroep, Amsterdam in the Barbican > Theatre), I read the following: > > "the text which, via a LaTeX Beamer and Powerpoint, steered English > speakers through the Dutch they were hearing in performance." > > It is the first time that I encountered a mention of LaTeX in "general" > (i. e. non-specialist) press. Thanks for the info. This is quite interesting... -- Christian -Your time is limited, so don't waste it living someone else's life.- Steve Jobs, 2005 From joseph.wright at morningstar2.co.uk Sun Dec 20 16:27:09 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Sun, 20 Dec 2009 15:27:09 +0000 Subject: [texhax] LaTeX in the papers In-Reply-To: <343ccb54885a41ec0a3582123b39570b.squirrel@webmail.ffzg.hr> References: <343ccb54885a41ec0a3582123b39570b.squirrel@webmail.ffzg.hr> Message-ID: <4B2E424D.4020405@morningstar2.co.uk> On 19/12/2009 18:49, Neven Jovanovi? wrote: > Hi everyone, > > in the Times Literary Supplement for Dec 11, 2009, on p. 17, in the review > "Here is the world elsewhere" by Eric Griffiths (review of Shakespeare's > Roman tragedies as performed by the Toneelgroep, Amsterdam in the Barbican > Theatre), I read the following: > > "the text which, via a LaTeX Beamer and Powerpoint, steered English > speakers through the Dutch they were hearing in performance." > > It is the first time that I encountered a mention of LaTeX in "general" > (i. e. non-specialist) press. > > Yours, > > Neven > > Neven Jovanovic > Zagreb, Hrvatska / Croatia If only we could read the article on-line without paying! -- Joseph Wright From pierre.mackay at comcast.net Sun Dec 20 23:05:27 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Sun, 20 Dec 2009 14:05:27 -0800 Subject: [texhax] LaTeX in the papers In-Reply-To: <1153F7AE-0AF4-4EB1-8E16-A786751CD7CB@googlemail.com> References: <343ccb54885a41ec0a3582123b39570b.squirrel@webmail.ffzg.hr> <1153F7AE-0AF4-4EB1-8E16-A786751CD7CB@googlemail.com> Message-ID: <4B2E9FA7.8000206@comcast.net> The journals /Classical Antiquity/ (for 16 years) and /Rhetorica/ (for 11 years) have been set in TeX for the University of California Press. In addition there have been about 20 monographs, including one in Arabic, English, Greek and Latin, and the recent translation of Coarelli's /Rome/. Almost the entire corpus of the works of Erasmus is set using TeX. There are numerous Greek studies set using TeX in Europe, along with others in mediaeval Italian history and literature. A massive study of surgical instruments found in the Pompeii excavations was done in TeX and the associated map of Pompeii (often complimented by derivative imitations) was done using Metafont in a fairly unusual way. I guess this amounts to a sort of humanist specialization, but it is one in which math mode hardly ever appears. That may be one of the reasons why, to quote your response: It is the first time that I encountered a mention of LaTeX in "general" (i. e. non-specialist) press. An associated reason may be the all too general sense that derived forms of TeX, most specifically LaTeX, are of interest exclusively as vehicles for the swift production of technical papers, which LaTeX, to do it justice, seems to be very good at. All the major examples of humanist publication I am directly aware of avoid LaTeX. We do lots of non-technical typesetting, but we see so little interest in anything that is not primarily in math mode that we don't find the occasion to say much about it. Pierre MacKay Humanist Typesetting& Graphics www.angiolello.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From narkewoody at gmail.com Mon Dec 21 04:42:48 2009 From: narkewoody at gmail.com (Steven Woody) Date: Mon, 21 Dec 2009 11:42:48 +0800 Subject: [texhax] [tex-live] Source of TikZ manual In-Reply-To: <20091217130837.GC25575@eureca.de> References: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> <4B2A1F98.3020709@elzevir.fr> <20091217130837.GC25575@eureca.de> Message-ID: 2009/12/17 Susan Dittmar : > Quoting Manuel P?gouri?-Gonnard (mpg at elzevir.fr): >> Steven Woody a ?crit : >> > Yes. But still failed. ?I think this is a directory layout problem. >> > The Make file set the TEXINPUTS=../../text-en for me, it amounts to: >> > >> > $ TEXINPUTS=../../text-en pdflatex pgfmanual.tex >> > >> Really? Are you sure it's not 'TEXINPUTS=../../text-en:' with a trailing colon? >> Without a trailing colon, the default search paths are not used any more... > > OK, I admit to only having tested the Makefile. There the command line > expands to (syntax for shell/bash): > > TEXINPUTS="../../text-en:${TEXINPUTS}" pdflatex pgfmanual.tex > > ? ? ? ?Susan > Any TEXINPUTS method does not work. Even I added '.' to the TEXINPUTS list, pdflatex still cannot find pgfmanual.tex under the current directory. So I have to cp pgfmanual.tex to the ../../text-en and modify some file references by \input{...}, and this works. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com) From narkewoody at gmail.com Mon Dec 21 04:44:06 2009 From: narkewoody at gmail.com (Steven Woody) Date: Mon, 21 Dec 2009 11:44:06 +0800 Subject: [texhax] [tex-live] Source of TikZ manual In-Reply-To: <20091217130837.GC25575@eureca.de> References: <893FCD45-490C-4BB2-B2B6-7EAF7C2016F0@mac.com> <4B2A1F98.3020709@elzevir.fr> <20091217130837.GC25575@eureca.de> Message-ID: 2009/12/17 Susan Dittmar : > Quoting Manuel P?gouri?-Gonnard (mpg at elzevir.fr): >> Steven Woody a ?crit : >> > Yes. But still failed. ?I think this is a directory layout problem. >> > The Make file set the TEXINPUTS=../../text-en for me, it amounts to: >> > >> > $ TEXINPUTS=../../text-en pdflatex pgfmanual.tex >> > >> Really? Are you sure it's not 'TEXINPUTS=../../text-en:' with a trailing colon? >> Without a trailing colon, the default search paths are not used any more... > > OK, I admit to only having tested the Makefile. There the command line > expands to (syntax for shell/bash): > > TEXINPUTS="../../text-en:${TEXINPUTS}" pdflatex pgfmanual.tex > > ? ? ? ?Susan > > _______________________________________________ > 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 > Any TEXINPUTS method does not work. Even I added '.' to the TEXINPUTS list, pdflatex still cannot find pgfmanual.tex under the current directory. So I have to cp pgfmanual.tex to the ../../text-en and modify some file references by \input{...}, and this works. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com) From neven.jovanovic at ffzg.hr Mon Dec 21 10:52:23 2009 From: neven.jovanovic at ffzg.hr (Neven =?iso-8859-2?Q?Jovanovi=E6?=) Date: Mon, 21 Dec 2009 10:52:23 +0100 (CET) Subject: [texhax] LaTeX in the papers In-Reply-To: <4B2E9FA7.8000206@comcast.net> References: <343ccb54885a41ec0a3582123b39570b.squirrel@webmail.ffzg.hr> <1153F7AE-0AF4-4EB1-8E16-A786751CD7CB@googlemail.com> <4B2E9FA7.8000206@comcast.net> Message-ID: Pierre, thanks for information of which I have not been aware (is TeX mentioned anywhere in the impressum of those publications?). My point was that it is nice to see LaTeX mentioned casually and al pari with the more "household" --- or office? --- name of PowerPoint (the review where Beamer is mentioned discusses mainly performances of Shakespeare, though author muses a bit on esthetics of surtitles in theatre). > > An associated reason may be the all too general sense that derived forms > of TeX, most specifically LaTeX, are of interest exclusively as vehicles > for the swift production of technical papers, which LaTeX, to do it > justice, seems to be very good at. All the major examples of humanist > publication I am directly aware of avoid LaTeX. We do lots of > non-technical typesetting, but we see so little interest in anything > that is not primarily in math mode that we don't find the occasion to > say much about it. > I can only confirm what you wrote about LaTeX and humanist publication, though. When I first thought about trying out TeX / LaTeX, I too was a bit put off by characterizations such as "LaTeX, a typesetting tool and language designed specifically for technical document preparation". Then I found that it is possible to typeset classical Greek with it... Yours, Neven Neven Jovanovic Zagreb / Croatia From amphoras at chass.utoronto.ca Sun Dec 20 23:50:20 2009 From: amphoras at chass.utoronto.ca (PMW Matheson) Date: Sun, 20 Dec 2009 17:50:20 -0500 Subject: [texhax] LaTeX in the papers In-Reply-To: <4B2E9FA7.8000206@comcast.net> References: <343ccb54885a41ec0a3582123b39570b.squirrel@webmail.ffzg.hr> <1153F7AE-0AF4-4EB1-8E16-A786751CD7CB@googlemail.com> <4B2E9FA7.8000206@comcast.net> Message-ID: <1261349420.1134.17.camel@owner-desktop> I can add _Phoenix_ (for 20 years, University of Toronto Press) to the list of Classics journals being set in plain Tex. Also most of the _Phoenix_ Supp vols (also UTP) and now the Toronto Mediaeval Latin Text series vols -- the first TeX'd one is coming out this spring. Greek, Hebrew, Arabic all used in these. -- Philippa Matheson On Sun, 2009-12-20 at 14:05 -0800, Pierre MacKay wrote: > The journals Classical Antiquity (for 16 years) and Rhetorica (for 11 > years) have been set in TeX for the University of California Press. > In addition there have been about 20 monographs, including one in > Arabic, English, Greek and Latin, and the recent translation of > Coarelli's Rome. Almost the entire corpus of the works of Erasmus is > set using TeX. There are numerous Greek studies set using TeX in > Europe, along with others in mediaeval Italian history and literature. > A massive study of surgical instruments found in the Pompeii > excavations was done in TeX and the associated map of Pompeii (often > complimented by derivative imitations) was done using Metafont in a > fairly unusual way. > > I guess this amounts to a sort of humanist specialization, but it is > one in which math mode hardly ever appears. That may be one of the > reasons why, to quote your response: > > It is the first time that I encountered a mention of LaTeX in "general" > (i. e. non-specialist) press. > > An associated reason may be the all too general sense that derived > forms of TeX, most specifically LaTeX, are of interest exclusively as > vehicles for the swift production of technical papers, which LaTeX, to > do it justice, seems to be very good at. All the major examples of > humanist publication I am directly aware of avoid LaTeX. We do lots > of non-technical typesetting, but we see so little interest in > anything that is not primarily in math mode that we don't find the > occasion to say much about it. > > Pierre MacKay > Humanist Typesetting & Graphics > www.angiolello.net > From rutski89 at gmail.com Wed Dec 23 04:16:42 2009 From: rutski89 at gmail.com (Patrick M. Rutkowski) Date: Tue, 22 Dec 2009 22:16:42 -0500 Subject: [texhax] Large Project Message-ID: My project has gotten large enough that when I run "!tex" in my bash shell it takes quite a while before I'm looking at the resulting PDF. This gets rather annoying, since I'm new enough to TeX that I really do have to be constantly looking at the output of every line as I type it, line by line (for fear of accruing too many syntax mistakes). How the heck do people go about writing 20+ page projects in TeX? Another issue is that I'm using epsf.tex from CTAN to include postscript figures in my document, and that really slows things down even more. Any advice? -Patrick From lomov.vl at gmail.com Wed Dec 23 04:56:26 2009 From: lomov.vl at gmail.com (Vladimir Lomov) Date: Wed, 23 Dec 2009 11:56:26 +0800 Subject: [texhax] Large Project In-Reply-To: References: Message-ID: <20091223035626.GA25118@smoon2> On Tue, Dec 22, 2009 at 22:16:42 -0500, Patrick M. Rutkowski wrote: > My project has gotten large enough that when I run "!tex" in my bash > shell it takes quite a while before I'm looking at the resulting PDF. > This gets rather annoying, since I'm new enough to TeX that I really > do have to be constantly looking at the output of every line as I type > it, line by line (for fear of accruing too many syntax mistakes). I assume that you use latex instead of tex. Also I advise you to use pdflatex which will produce pdf while latex gives dvi. > How the heck do people go about writing 20+ page projects in TeX? Focus on content of a document not on the syntax. The set of neccessary commands are small enough (text emphasizing, formatting environment, greek letters access and maths evironments). So just type and if you do an error in syntax latex will complain when it will be run on document. Check the document syntax go on. After some time you will do less errors than in beginning. See, fo example "Not So Short Introduction into LaTeX". > Another issue is that I'm using epsf.tex from CTAN to include > postscript figures in my document, and that really slows things down > even more. Don't use it. Just don't use it at all. There is graphics bundle and graphicx package for (pdf)latex. Use only it. See http://www.tex.ac.uk/cgi-bin/texfaq2html?label=impgraph -- Factorials were someone's attempt to make math LOOK exciting. From zappathustra at free.fr Wed Dec 23 10:43:22 2009 From: zappathustra at free.fr (Paul Isambert) Date: Wed, 23 Dec 2009 10:43:22 +0100 Subject: [texhax] Large Project In-Reply-To: References: Message-ID: <4B31E63A.2050505@free.fr> Divide your project into several smaller files. Suppose you have main.tex with all your macro definitions (your preamble if you're in LaTeX), then you can dispatch parts of your document in partA.tex, partB.tex, partC.tex... And then in main.tex you \input them: \input partA.tex \input partB.tex \input partC.tex The interesting thing is that when you're working on, say, part C, you don't need to input the previous parts, so: %\input partA.tex %\input partB.tex \input partC.tex Page numbering and cross-references will go wrong but if you're only interested in not doing syntax errors at this stage of the process, you don't mind. Paul Patrick M. Rutkowski a ?crit : > My project has gotten large enough that when I run "!tex" in my bash > shell it takes quite a while before I'm looking at the resulting PDF. > This gets rather annoying, since I'm new enough to TeX that I really > do have to be constantly looking at the output of every line as I type > it, line by line (for fear of accruing too many syntax mistakes). > > How the heck do people go about writing 20+ page projects in TeX? > > Another issue is that I'm using epsf.tex from CTAN to include > postscript figures in my document, and that really slows things down > even more. > > Any advice? > -Patrick > _______________________________________________ > 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 s.schwartz at imperial.ac.uk Wed Dec 23 11:14:22 2009 From: s.schwartz at imperial.ac.uk (Schwartz, Steven J) Date: Wed, 23 Dec 2009 10:14:22 +0000 Subject: [texhax] Large Project In-Reply-To: References: Message-ID: <3291910C-C695-4A33-8E66-B7BF2D767AD6@imperial.ac.uk> Patrick Here are some ideas that may help: 1. Split your tex source into pieces in separate files. Then use latex's \include and \includeonly commands to only typeset portions of your document. Each piece will start in a new page but that may be ok - and at the end when you're ready you can change thr \include to \input to noon it all up 2 split into separate file pieces and \input them. For testing segments comment out the \input s you don't want to see. This may give some undefined references butaybe that doesn't matter 3. Define a new command to temporarily skip segments of text eg \newcommamd\skiptext[1]{} then take the text you want to skip and surround it with braces ie \skiptext{ ...... text to skip } When you want to see it either remove this or \renewcommand[1]\skiptext{#1} Again cross-references will be unresolved. I use this often especially when generating presentations using Beamer which can slow things down 4 do a one-time conversion of all your figs to PDF and use pdflatex with the graphicx package. If you include the graphics without it's suffix pdflatex will find the PDF versions so they can live in the same directory. There are lots of ways to do this depending on your operating system. I would use epstopdf if you start from eps files or ps2pdf or pstopdf from ps files. Pdfcrop will trim off any White space borders although epstopdf does a good job most of the time. Other tools can do this operation. If all else fails write a tiny latex file that will do it in the way you currently do ie using epsi or whatever then trim the whitespace using pdfcrop or the trim options in the \includegraphics[trim .....]{myfig} command. (note myfig and NOT myfig.pdf) HTH Best Wishes for the new year Steve ----------- Steve Schwartz Space and Atmospheric Physics Imperial College London Tel 020 7594 7660 On 23 Dec 2009, at 03:26, "Patrick M. Rutkowski" wrote: > My project has gotten large enough that when I run "!tex" in my bash > shell it takes quite a while before I'm looking at the resulting PDF. > This gets rather annoying, since I'm new enough to TeX that I really > do have to be constantly looking at the output of every line as I type > it, line by line (for fear of accruing too many syntax mistakes). > > How the heck do people go about writing 20+ page projects in TeX? > > Another issue is that I'm using epsf.tex from CTAN to include > postscript figures in my document, and that really slows things down > even more. > > Any advice? > -Patrick > _______________________________________________ > 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 news at lawshouse.org Wed Dec 23 11:16:16 2009 From: news at lawshouse.org (Henry Law) Date: Wed, 23 Dec 2009 10:16:16 +0000 Subject: [texhax] Large Project In-Reply-To: References: Message-ID: <4B31EDF0.9090305@lawshouse.org> Patrick M. Rutkowski wrote: > How the heck do people go about writing 20+ page projects in TeX? Patrick, I'm currently "managing editor" for a geology book which tops out at about 160 graphics-heavy pages, the chapters of which format in seconds (we don't do the whole book at the moment), so be reassured that there is an answer to your problem! Along the lines of what others have posted, I suggest you create a "driver file" which contains package includes, command definitions and other common stuff. Have it include a separate file for the front matter (title page, list of figures, ... all the stuff that typically has roman numerals for page numbers), and then one for each chapter (or other major section). If you have back matter (bibliography, acknowledgements, index ...) then make each of those separate files as well. Call your "driver" file something that makes sense for your document, and then give the other files names that start with the same string and have "-1", "-2", "-glossary", suffixes. Now the best bit. Look up the \includeonly command. It will allow you to format just one chapter (actually more than one if you wish), but in such a way that page numbers are maintained, references come out and so on. So if your project is called "foo", your driver file is foo.tex and looks like this: % all your definitions and \usepackage statements not shown \includeonly{foo-1} % format only chapter 1, in this instance \begin{document} \include{foo-0} % front matter \pagenumbering{arabic} \include{foo-1} % Chapter 1 \include{foo-2} % Chapter 2 ... etc \include{foo-3} \backmatter \include{foo-gloss} % glossary \include{foo-ack} % acknowledgements \end{document} Using pdflatex, find out about the "-jobname" parameter, which allows you to output into "foo-chapter1.pdf" (for example) when you're formatting just chapter 1, and so on. -- Henry Law Manchester, England From burt at brandeis.edu Wed Dec 23 15:33:27 2009 From: burt at brandeis.edu (John Burt) Date: Wed, 23 Dec 2009 09:33:27 -0500 Subject: [texhax] Large project In-Reply-To: References: Message-ID: <02BC628C-B308-4A2A-AC75-12BC95A9A2EA@brandeis.edu> The problem may be in the nonstandard way you are handling graphics. I have a 600 page book in the works. With TeXshop it compiles in nine seconds. (Of course, I broke it up into separate files, with one chapter per file, and have a driver file to call them all. When I'm writing, I use a different driver file which calls up only the chapter I'm working on. Those files compile quickly enough that it is possible to compile the file after every edit if I wanted to. TeXshop, like a lot of other implementations, has a feature which enables you to command-click on a word in your output and go to that point in your source, and it will trace the source back to the separate file for the chapters.) John From mdoob at ccu.umanitoba.ca Wed Dec 23 16:55:19 2009 From: mdoob at ccu.umanitoba.ca (Michael Doob) Date: Wed, 23 Dec 2009 09:55:19 -0600 Subject: [texhax] interactive tex Message-ID: <200912230955.19677.mdoob@ccu.umanitoba.ca> I recently built a web page for interactive tex: html input of type=text is used to enter the TeX source and a page is generated with the corresponding TeX output. In my case I am working in a LAMP environment (P=php), so there were a number of options available: I used dvipng to generate the TeX output to be displayed. I wasn't totally happy with my results, so I'm asking the following question: what's your favourite way to implement this type of interactive TeX? I guess there are actually two slightly different answers: one for trusted users and one where the input has to be scrubbed (with something like the php escapeshellcommand function). Cheers, Michael -- ------------------------------------------------------------------ Michael Doob ? ? ? ? ? ? ? ? ? ?Telephone: (204) 474-9796 Department of Mathematics ? ? ? Fax: (204) 474-7606 University of Manitoba ? ? ? ? ?email: Michael_Doob at umanitoba.ca Winnipeg, MB, Canada R3T 2N2 ------------------------------------------------------------------ From Arno.Trautmann at gmx.de Wed Dec 23 17:52:26 2009 From: Arno.Trautmann at gmx.de (Arno Trautmann) Date: Wed, 23 Dec 2009 17:52:26 +0100 Subject: [texhax] book of poems Message-ID: <4B324ACA.90900@gmx.de> Hi! I want to typeset a book of poems. There is one problem I don?t have any clue how to solve ? If a line of type is too wide, it must be broken. But as the lines in poems are fixed, it mostly is set like (monospaced font!): This is a very short poem to show the And this is the next line! [problem] So the last word (or two, maybe), is set in the next line if that is short enough. Has anyone an idea how this could be implemented? Maybe a first step would be an implementation like This is a very short poem to show the [problem] And this is the next line! That already would help me much! cheers Arno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From padawan12 at obiwannabe.co.uk Wed Dec 23 18:18:40 2009 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Wed, 23 Dec 2009 17:18:40 +0000 Subject: [texhax] book of poems In-Reply-To: <4B324ACA.90900@gmx.de> References: <4B324ACA.90900@gmx.de> Message-ID: <20091223171839.GA23628@fluffy> Have a look at the Memoir package, IIRC that has plenty of support for poems, quotes and suchlike. On Wed, Dec 23, 2009 at 05:52:26PM +0100, Arno Trautmann wrote: > Hi! > > I want to typeset a book of poems. There is one problem I don?t have any > clue how to solve ? > If a line of type is too wide, it must be broken. But as the lines in > poems are fixed, it mostly is set like (monospaced font!): > > This is a very short poem to show the > And this is the next line! [problem] > > So the last word (or two, maybe), is set in the next line if that is > short enough. > Has anyone an idea how this could be implemented? Maybe a first step > would be an implementation like > > This is a very short poem to show the > [problem] > And this is the next line! > > That already would help me much! > > cheers > Arno > > _______________________________________________ > 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 frainj at gmail.com Wed Dec 23 18:26:36 2009 From: frainj at gmail.com (John C Frain) Date: Wed, 23 Dec 2009 17:26:36 +0000 Subject: [texhax] Large Project In-Reply-To: References: Message-ID: Patrick This sounds like a description of working with LaTeX on a PC 20 to 25 years ago. Currently I work in Windows XP (32-bit) or Ubuntu (64-bit). When I am preparing a document I use the tex to dvi to postscript to pdf rout. I include my graphics in eps format. At the drafting stage I stop at the dvi stage. I use specials to enable me to move back and fore between the tes source and the dvi file. tex to dvi for a moderate sized document (< 100 pages) is almost instantaneous. My main source editor at the moment is Emacs although I do use Kyle in Ubuntu and Texmaker and TeXniCenter in Windows and still get the same throughput. The production of the dvi file is slowed on occasion is some new fonts have to be generated but this is rare. The dvi to ps step can take a few seconds and the ps to pdf is not quite instantaneous. Judging on my experience you might consider using the kind of process that I use. If it does not work then there is something wrong with your computer or your setup. Best Wishes for Christmas. John 2009/12/23 Patrick M. Rutkowski : > My project has gotten large enough that when I run "!tex" in my bash > shell it takes quite a while before I'm looking at the resulting PDF. > This gets rather annoying, since I'm new enough to TeX that I really > do have to be constantly looking at the output of every line as I type > it, line by line (for fear of accruing too many syntax mistakes). > > How the heck do people go about writing 20+ page projects in TeX? > > Another issue is that I'm using epsf.tex from CTAN to include > postscript figures in my document, and that really slows things down > even more. > > Any advice? > -Patrick > _______________________________________________ > 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 > -- 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 robstafarian at verizon.net Wed Dec 23 18:56:56 2009 From: robstafarian at verizon.net (Robert Haener IV) Date: Wed, 23 Dec 2009 12:56:56 -0500 Subject: [texhax] Large Project In-Reply-To: References: Message-ID: <4B3259E8.7090500@verizon.net> Patrick, I will keep this message short as you have already gotten plenty of good advice. The LaTeX source editor to which John referred is properly written as "Kile," and the address of the project's homepage is below: http://kile.sourceforge.net/ While Kile 2.1 is currently listed as unstable, I haven't had any major problems running it in Ubuntu 9.04 (32-bit). -Robert From rutski89 at gmail.com Wed Dec 23 19:09:06 2009 From: rutski89 at gmail.com (Patrick M. Rutkowski) Date: Wed, 23 Dec 2009 13:09:06 -0500 Subject: [texhax] Large Project In-Reply-To: <4B3259E8.7090500@verizon.net> References: <4B3259E8.7090500@verizon.net> Message-ID: I should note that I'm using Plain TeX. (I expect some of you might have picked up on that from my use of epsf.tex). I'm going to try the \input method, where you keep separate chapters in separate files; sounds like it'll work :-) Good to know that LaTeX has plenty of ways to do this too, \includeonly looks especially interesting. Thanks for all the advice, -Patrick P.S. I really was pleasantly surprised to see this many responses, when I only just posted the question 14 hours ago :-) On Wed, Dec 23, 2009 at 12:56 PM, Robert Haener IV wrote: > Patrick, > > I will keep this message short as you have already gotten plenty of good > advice. > > The LaTeX source editor to which John referred is properly written as > "Kile," and the address of the project's homepage is below: > > http://kile.sourceforge.net/ > > While Kile 2.1 is currently listed as unstable, I haven't had any major > problems running it in Ubuntu 9.04 (32-bit). > > > -Robert > _______________________________________________ > 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 adityam at umich.edu Wed Dec 23 19:42:52 2009 From: adityam at umich.edu (Aditya Mahajan) Date: Wed, 23 Dec 2009 13:42:52 -0500 (EST) Subject: [texhax] Large Project In-Reply-To: References: <4B3259E8.7090500@verizon.net> Message-ID: On Wed, 23 Dec 2009, Patrick M. Rutkowski wrote: > I should note that I'm using Plain TeX. (I expect some of you might > have picked up on that from my use of epsf.tex). > > I'm going to try the \input method, where you keep separate chapters > in separate files; sounds like it'll work :-) Another option with plain TeX is that, in addition to having a separate tex file for each chapter, also more all your macros to a separate file, say preamble.tex. Then, in preamble.tex define a macro \def\mypreambleloaded{\relax} and start the individual chapter files by \ifx\undefined\mypreambleloaded \input preamble \fi Then you can compile each file individually without making any changes in the sources. Aditya From neven.jovanovic at ffzg.hr Wed Dec 23 22:13:10 2009 From: neven.jovanovic at ffzg.hr (Neven =?iso-8859-2?Q?Jovanovi=E6?=) Date: Wed, 23 Dec 2009 22:13:10 +0100 (CET) Subject: [texhax] book of poems In-Reply-To: <4B324ACA.90900@gmx.de> References: <4B324ACA.90900@gmx.de> Message-ID: <3ed1f01758b2d07d5d80ccf7a84afb47.squirrel@webmail.ffzg.hr> Arno, as I recall, the poemscol package () also has a lot of useful solutions for typesetting poetry. Neven Neven Jovanovic Zagreb, Hrvatska / Croatia From P.Taylor at Rhul.Ac.Uk Wed Dec 23 22:31:42 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Wed, 23 Dec 2009 21:31:42 +0000 Subject: [texhax] Large Project In-Reply-To: References: <4B3259E8.7090500@verizon.net> Message-ID: <4B328C3E.8010205@Rhul.Ac.Uk> Aditya Mahajan wrote: > Another option with plain TeX is that, in addition to having a separate > tex file for each chapter, also more all your macros to a separate file, > say preamble.tex. Then, in preamble.tex define a macro > > \def\mypreambleloaded{\relax} > > and start the individual chapter files by > > \ifx\undefined\mypreambleloaded \input preamble \fi > > Then you can compile each file individually without making any changes > in the sources. Well, if you're going that route, you could put the intelligence into the preamble itself : % Preamble.TeX \expandafter \ifx \csname preamble already loaded\endcsname \relax \message {Preamble loading ...} \edef \next {\let \csname preamble already loaded\endcsname = \noexpand \empty } \else \message {Preamble already loaded.} \let \next = \endinput \fi \next and then each chapter file need simply \input Preamble Philip TAYLOR From burt at brandeis.edu Thu Dec 24 05:46:07 2009 From: burt at brandeis.edu (John Burt) Date: Wed, 23 Dec 2009 23:46:07 -0500 Subject: [texhax] book of poems In-Reply-To: References: Message-ID: Arno, Poemscol is designed to produce books of poems, and at least three books made with it are in print. If you need any help with it, don't hesitate to get in contact with me (I'm the author). John Burt From reinaldo.opus at gmail.com Thu Dec 24 00:19:08 2009 From: reinaldo.opus at gmail.com (Reinaldo) Date: Wed, 23 Dec 2009 21:19:08 -0200 Subject: [texhax] PracTeX 2010-1: Call For Papers. Dec 31, 2009 Message-ID: <88e1f4d00912231519l6fce2ea8lc19cace9fe4a1207@mail.gmail.com> ************************************************************************* We apologise if you receive this Call for Papers more than once ************************************************************************* Call for Papers/Abstracts PracTeX Journal: Issue 2010-1 Issue theme: "LaTeX Academic Work Bench" http://www.tug.org/pracjourn/ Submissions due *December 31, 2009* (extended) Dear LaTeX and TeX Users, Since its first edition in 2005, the PracTeX Journal has presented a wide range of articles on the practical use of LaTeX and TeX. Among these articles are ones that describe tools and techniques that can be used in teaching. The PracTeX Journal 2010-1 issue has the theme "LaTeX Academic Work Bench". The goal of this issue is to present ideas on the use of LaTeX tools for education, teaching, and classroom purposes. We are looking for articles that can discuss the development of the tools, and their use and effectiveness. Actual examples and LaTeX sources are encouraged. ** Scope The scope of the issue includes, but is not limited to : - tools that assist the students/authors in preparing graphics, indexes, bibliographies, and other parts of documents; - text manipulation tools; - tutorials; - short videos; - free or almost free tools; - teaching texts; - homework styles; - cross-platform tools. We encourage you to submit original papers describing your experiences using LaTeX and TeX tools in an academic setting, and also papers on tool development work in progress or completed. ** Submission Guidelines: If you would like to submit an article or technical note for publication please contact the editors pracjourn at tug.org. We will work with you to prepare the article. Also see http://tug.org/pracjourn/submit.html for the Journal's guidelines. ** Important Dates: Paper submission deadline: *December 31, 2009 *Publication date: February 10, 2010 ** News Submissions in any language are acceptable. Since its beginning in 2005, the PracTeX Journal has accepted papers not only in English but also Portuguese, Spanish, Dutch, German, Norwegian, Chinese, Korean, Romanian, and Italian. However, please contact the editors in English, and submit an English abstract. Best Regards, Francisco Reinaldo Paul Blaga 2010-1 Issue Editors Lance Carnes Main Editor -------------- next part -------------- An HTML attachment was scrubbed... URL: From Arno.Trautmann at gmx.de Fri Dec 25 12:17:38 2009 From: Arno.Trautmann at gmx.de (Arno Trautmann) Date: Fri, 25 Dec 2009 12:17:38 +0100 Subject: [texhax] book of poems In-Reply-To: <4B324ACA.90900@gmx.de> References: <4B324ACA.90900@gmx.de> Message-ID: <4B349F52.1060902@gmx.de> Hi all! Thank you very much for the answers, I will try to consult the regarding documentations. Poemscol looks good ? and if the author offers direct support, I?m very confident ;) cheers Arno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From Arno.Trautmann at gmx.de Fri Dec 25 12:19:51 2009 From: Arno.Trautmann at gmx.de (Arno Trautmann) Date: Fri, 25 Dec 2009 12:19:51 +0100 Subject: [texhax] latex < 2.09 Message-ID: <4B349FD7.6000609@gmx.de> Hi! For my project of a small overview of the development of (La)TeX? I am looking for information about LaTeX before the release of 2.09. So has anybody an idea where I could find information about LaTeX 1, 2.01 ? 2.08 etc.? If there is something at all? ? I?d be very happy about any hints, cheers Arno ?http://github.com/alt/tex-overview -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: From sdl.web at gmail.com Fri Dec 25 13:57:25 2009 From: sdl.web at gmail.com (Leo) Date: Fri, 25 Dec 2009 12:57:25 +0000 Subject: [texhax] latex < 2.09 References: <4B349FD7.6000609@gmx.de> Message-ID: On 2009-12-25 11:19 +0000, Arno Trautmann wrote: > Hi! > > For my project of a small overview of the development of (La)TeX? I am > looking for information about LaTeX before the release of 2.09. So has > anybody an idea where I could find information about LaTeX 1, 2.01 ? > 2.08 etc.? If there is something at all? ? > I?d be very happy about any hints, > > cheers > Arno > > > ?http://github.com/alt/tex-overview > Check out tugboat archive. Best, Leo -- H A P P Y H O L I D A Y S! From punosevac72 at gmail.com Fri Dec 25 09:33:08 2009 From: punosevac72 at gmail.com (Predrag Punosevac) Date: Fri, 25 Dec 2009 03:33:08 -0500 Subject: [texhax] Calendar Message-ID: <4b3478c4.8zQmDSbbtOkDSuA3%punosevac72@gmail.com> Dear All, Even though I am a TeX/LaTeX user of almost 20 years this is my first message to this mailing list. I am curious what is recommended way for creating various Calendars. Namely, I have been using for a while a simple template found at http://www.math.duke.edu/computing/tex/templates.html for creating monthly calendar with the lessons plan for courses that I teach. Couple nights ago I tried to dig dipper into the subject and to my big surprise I found only two credible references to for packages related to calendars. One is http://www.ctan.org/tex-archive/macros/latex/contrib/calendar/ http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-calendar/ What I am really looking for is a templet in the style of AMS cover sheet i.e. a TeX file which will interactively ask me a few questions (like a range of the Calendar) and then create a file a calendar.dvi and a file calendar.dat which might be then further edited by hand. Also it seems to me that in term of graphics even by a very simple use of colortbl package I could create quite fancy Monthly calendar. Most Kind Regards, Predrag Punosevac P.S. I should mention that I am using TeXLive 2009 on OpenBSD. I should also mention that I use 85% of time LaTeX and the rest of the time plan TeX as well as that I have strong preference for PSTricks over other graphics tools. From sdl.web at gmail.com Fri Dec 25 16:21:19 2009 From: sdl.web at gmail.com (Leo) Date: Fri, 25 Dec 2009 15:21:19 +0000 Subject: [texhax] Calendar References: <4b3478c4.8zQmDSbbtOkDSuA3%punosevac72@gmail.com> Message-ID: On 2009-12-25 08:33 +0000, Predrag Punosevac wrote: > I am curious what is recommended way for creating various Calendars. > Namely, I have been using for a while a simple template found at > > http://www.math.duke.edu/computing/tex/templates.html TikZ? has an excellent calendar library. By looking at the manual, it seems to be pretty powerful and flexible. Best wishes, Leo Footnotes: ? http://sourceforge.net/projects/pgf/ -- H A P P Y H O L I D A Y S! From punosevac72 at gmail.com Fri Dec 25 16:38:09 2009 From: punosevac72 at gmail.com (Predrag Punosevac) Date: Fri, 25 Dec 2009 10:38:09 -0500 Subject: [texhax] Calendar with TeX Message-ID: <4b34dc61.mXUcpApRYAz+xA8k%punosevac72@gmail.com> Dear All, Even though I am a TeX/LaTeX user of almost 20 years this is my first message to this mailing list. I am curious what is recommended way for creating various Calendars. Namely, I have been using for a while a simple template found at http://www.math.duke.edu/computing/tex/templates.html for creating monthly calendar with the lessons plan for courses that I teach. Couple nights ago I tried to dig dipper into the subject and to my big surprise I found only two credible references to for packages related to calendars. One is http://www.ctan.org/tex-archive/macros/latex/contrib/calendar/ http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-calendar/ What I am really looking for is a templet in the style of AMS cover sheet i.e. a TeX file which will interactively ask me a few questions (like a range of the Calendar) and then create a file a calendar.dvi and a file calendar.dat which might be then further edited by hand. Also it seems to me that in term of graphics even by a very simple use of colortbl package I could create quite fancy Monthly calendar. Most Kind Regards, Predrag Punosevac P.S. I should mention that I am using TeXLive 2009 on OpenBSD. I should also mention that I use 85% of time LaTeX and the rest of the time plan TeX as well as that I have strong preference for PSTricks over other graphics tools. From chrisptex at googlemail.com Sat Dec 26 11:45:02 2009 From: chrisptex at googlemail.com (Christian Pleul) Date: Sat, 26 Dec 2009 11:45:02 +0100 Subject: [texhax] raisebox in longtable Message-ID: <941B7D15-8BA3-497E-8203-5B4D12F0C3A7@googlemail.com> Hi, To properly align images and text within a longtable, I use raisebox like the following: --------- \latexhtml{\begin{longtable}{p{0,5\textwidth}p{0,45\textwidth}}}{\begin{longtable}{lp{20cm}}} \latex{\multicolumn{2}{r}{\footnotesize{Fortsetzung folgt auf der n?chsten Seite\dots}}\\} \latex{\endfoot} \latex{\endlastfoot} \raisebox{-0.8\height}{\includegraphics[scale=0.5]{foo}} & some text goes here\\ \raisebox{-0.8\height}{\includegraphics[scale=0.5]{boom}} & some text goes here too\\ \end{longtable} --------- Unfortunately, the images nearly stick together vertically. So there is no space between the first and the second row and therefore between the images. How could I create a little space between the rows? Thanks in advance -- Christian -The next generation of interesting software will be done on the Macintosh, not the IBM PC.- Bill Gates, Nov 1984 From news3 at nililand.de Sat Dec 26 14:24:01 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Sat, 26 Dec 2009 14:24:01 +0100 Subject: [texhax] raisebox in longtable References: <941B7D15-8BA3-497E-8203-5B4D12F0C3A7@googlemail.com> Message-ID: <1381ch7hzso5h.dlg@nililand.de> Am Sat, 26 Dec 2009 11:45:02 +0100 schrieb Christian Pleul: > Hi, > > To properly align images and text within a longtable, I use raisebox like the following: > > --------- > \latexhtml{\begin{longtable}{p{0,5\textwidth}p{0,45\textwidth}}}{\begin{longtable}{lp{20cm}}} > \latex{\multicolumn{2}{r}{\footnotesize{Fortsetzung folgt auf der n?chsten Seite\dots}}\\} > \latex{\endfoot} > \latex{\endlastfoot} > \raisebox{-0.8\height}{\includegraphics[scale=0.5]{foo}} & some text goes here\\ > \raisebox{-0.8\height}{\includegraphics[scale=0.5]{boom}} & some text goes here too\\ > \end{longtable} > --------- > Unfortunately, the images nearly stick together vertically. So > there is no space between the first and the second row and > therefore between the images. > How could I create a little space between the rows? You set the height of the second image to a bit more than the "natural" 0.2\height it has after you moved it down: \listfiles \documentclass{article} \begin{document} \begin{tabular}{ll} \raisebox{-0.8\height}{\rule{1cm}{4cm}}&text\\ \raisebox{-0.8\height}[0.25\height]{\rule{1cm}{4cm}}&text\\ \end{tabular} \end{document} -- Ulrike Fischer From asnd at triumf.ca Sun Dec 27 02:13:38 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 26 Dec 2009 17:13:38 -0800 Subject: [texhax] raisebox in longtable In-Reply-To: <941B7D15-8BA3-497E-8203-5B4D12F0C3A7@googlemail.com> References: <941B7D15-8BA3-497E-8203-5B4D12F0C3A7@googlemail.com> Message-ID: Christian Pleul writes: > To properly align images and text within a longtable, I use raisebox > \raisebox{-0.8\height}{\includegraphics[scale=0.5]{foo}} Use one of the suggestions in the FAQ http://www.tex.ac.uk/cgi-bin/texfaq2html?label=topgraph -- Donald Arseneau asnd at triumf.ca From chrisptex at googlemail.com Sun Dec 27 07:44:27 2009 From: chrisptex at googlemail.com (Christian Pleul) Date: Sun, 27 Dec 2009 07:44:27 +0100 Subject: [texhax] raisebox in longtable In-Reply-To: <1381ch7hzso5h.dlg@nililand.de> References: <941B7D15-8BA3-497E-8203-5B4D12F0C3A7@googlemail.com> <1381ch7hzso5h.dlg@nililand.de> Message-ID: <62F90D34-4A6A-4D7E-A11E-28246F2A5744@googlemail.com> Am 26.12.2009 um 14:24 schrieb Ulrike Fischer: > Am Sat, 26 Dec 2009 11:45:02 +0100 schrieb Christian Pleul: > >> Hi, >> >> To properly align images and text within a longtable, I use raisebox like the following: >> >> --------- >> \latexhtml{\begin{longtable}{p{0,5\textwidth}p{0,45\textwidth}}}{\begin{longtable}{lp{20cm}}} >> \latex{\multicolumn{2}{r}{\footnotesize{Fortsetzung folgt auf der n?chsten Seite\dots}}\\} >> \latex{\endfoot} >> \latex{\endlastfoot} >> \raisebox{-0.8\height}{\includegraphics[scale=0.5]{foo}} & some text goes here\\ >> \raisebox{-0.8\height}{\includegraphics[scale=0.5]{boom}} & some text goes here too\\ >> \end{longtable} >> --------- > >> Unfortunately, the images nearly stick together vertically. So >> there is no space between the first and the second row and >> therefore between the images. > >> How could I create a little space between the rows? > > You set the height of the second image to a bit more than the > "natural" 0.2\height it has after you moved it down: > > \listfiles > \documentclass{article} > \begin{document} > \begin{tabular}{ll} > \raisebox{-0.8\height}{\rule{1cm}{4cm}}&text\\ > \raisebox{-0.8\height}[0.25\height]{\rule{1cm}{4cm}}&text\\ > \end{tabular} > \end{document} Thanks a lot. This did the trick. -- Christian -Because I'm the CEO, and I think it can be done.- Steve Jobs, 2005 From garces at math.admu.edu.ph Mon Dec 28 20:30:57 2009 From: garces at math.admu.edu.ph (I.J.L. Garces) Date: Tue, 29 Dec 2009 03:30:57 +0800 Subject: [texhax] bad printout of large brackets Message-ID: <20091229033057.14272oxox93aw1wk@mail.ateneo.net> Hello, everybody! I have a problem on my latex printout. I am using WinEdt to typeset my LaTeX file. I have two examples below. \[ f(x)=\left\{ \begin{array}{lcl} \dfrac{2}{2-x} & & \mbox{if $0 \le x < 2$} \\ \\ 0 & & \mbox{if $x \ge 2$,} \end{array} \right. \] \[ \left\{ \begin{array}{lcl} 2x & \equiv & 11 \pmod{13} \\ 3x & \equiv & 7 \pmod{9} \\ 7x & \equiv & 5 \pmod{8} \end{array} \right. \] After I compile it using pdflatex, in the paper printout, the big bracket turns out not a solid curly bracket, but a broken one. There are some breaks near the middle of the curl in the printout. Only on the printed copy on the paper, but the pdf copy I see onscreen is perfect. I use pdflatex compilation because I have figures in pdf format. Can you please help me again? Thank you very much... and happy new year to everyone! Best regards, Ian June ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From daleif at imf.au.dk Mon Dec 28 20:53:31 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Mon, 28 Dec 2009 20:53:31 +0100 Subject: [texhax] bad printout of large brackets In-Reply-To: <20091229033057.14272oxox93aw1wk@mail.ateneo.net> References: <20091229033057.14272oxox93aw1wk@mail.ateneo.net> Message-ID: <4B390CBB.5090803@imf.au.dk> I.J.L. Garces wrote: > Hello, everybody! > > I have a problem on my latex printout. > > I am using WinEdt to typeset my LaTeX file. I have two examples below. > > \[ f(x)=\left\{ > \begin{array}{lcl} > \dfrac{2}{2-x} & & \mbox{if $0 \le x < 2$} \\ > \\ > 0 & & \mbox{if $x \ge 2$,} > \end{array} > \right. \] > > \[ \left\{ > \begin{array}{lcl} > 2x & \equiv & 11 \pmod{13} \\ > 3x & \equiv & 7 \pmod{9} \\ > 7x & \equiv & 5 \pmod{8} > \end{array} > \right. \] > > After I compile it using pdflatex, in the paper printout, the big > bracket turns out not a solid curly bracket, but a broken one. There are > some breaks near the middle of the curl in the printout. Only on the > printed copy on the paper, but the pdf copy I see onscreen is perfect. > use pdflatex compilation because I have figures in pdf format. > > Can you please help me again? > > Thank you very much... and happy new year to everyone! > > Best regards, > Ian June > it might help with a full minimal example and some information about your LaTeX distribution (the editor has nogthing to do with it) /daleif From reinhard.kotucha at web.de Mon Dec 28 22:58:39 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 28 Dec 2009 22:58:39 +0100 Subject: [texhax] bad printout of large brackets In-Reply-To: <20091229033057.14272oxox93aw1wk@mail.ateneo.net> References: <20091229033057.14272oxox93aw1wk@mail.ateneo.net> Message-ID: <19257.10767.895715.749581@zaphod.ms25.net> On 29 December 2009 I.J.L. Garces wrote: > Hello, everybody! > > I have a problem on my latex printout. > > I am using WinEdt to typeset my LaTeX file. I have two examples below. > > \[ f(x)=\left\{ > \begin{array}{lcl} > \dfrac{2}{2-x} & & \mbox{if $0 \le x < 2$} \\ > \\ > 0 & & \mbox{if $x \ge 2$,} > \end{array} > \right. \] > > \[ \left\{ > \begin{array}{lcl} > 2x & \equiv & 11 \pmod{13} \\ > 3x & \equiv & 7 \pmod{9} \\ > 7x & \equiv & 5 \pmod{8} > \end{array} > \right. \] > > After I compile it using pdflatex, in the paper printout, the big > bracket turns out not a solid curly bracket, but a broken one. There > are some breaks near the middle of the curl in the printout. Only on > the printed copy on the paper, but the pdf copy I see onscreen is > perfect. I use pdflatex compilation because I have figures in pdf > format. If what you see on screen looks good, it seems to be a bug in your printer or in the printer driver. There is no reason to avoid pdflatex. I can't provide a solution but there are several things you can try. Many printers understand more than one graphic format, I've never seen a PostScript printer which doesn't understand at least PCL5 or PCL6 too. First, find out what you actually send to the printer. Then look into the manual in order to find out what else your printer understands. Ghostscript can translate PostScript and PDF to many other formats which printers understand. You can circumvent bugs in the PostScript interpreter if you convert the file to PCL5, for instance, and send the PCL5 file to the printer. Remote diagnosis is very difficult, but it's easier to provide help if you tell us which operating system you are using, which printer you have, and, if you are on Windows, whether the TeX distribution you are using provides a program "pdftops". 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 beratn at gmail.com Tue Dec 29 02:37:06 2009 From: beratn at gmail.com (=?UTF-8?Q?emre_berat_nebio=C4=9Flu?=) Date: Tue, 29 Dec 2009 03:37:06 +0200 Subject: [texhax] =?utf-8?q?quotatiotation_mark_in_latex=2E_How_can_i?= =?utf-8?q?=C5=9F_do_that_=3Fon_mark?= Message-ID: i need qu From reinhard.kotucha at web.de Tue Dec 29 04:05:30 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 29 Dec 2009 04:05:30 +0100 Subject: [texhax] =?utf-8?q?quotatiotation_mark_in_latex=2E_How_can_i?= =?utf-8?q?=C5=9F_do_that_=3Fon_mark?= In-Reply-To: References: Message-ID: <19257.29178.36632.27786@zaphod.ms25.net> On 29 December 2009 emre berat nebio?lu wrote: > i need qu Could you be a bit more verbose, please? If you say > i need qu I'm wondering whether you ask for help or you just want to kid us. Please describe your problem properly. 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 tonightsthenight at gmail.com Tue Dec 29 06:38:41 2009 From: tonightsthenight at gmail.com (Sam Albers) Date: Mon, 28 Dec 2009 21:38:41 -0800 Subject: [texhax] =?utf-8?q?quotatiotation_mark_in_latex=2E_How_can_i?= =?utf-8?q?=C5=9F_do_that_=3Fon_mark?= In-Reply-To: <19257.29178.36632.27786@zaphod.ms25.net> References: <19257.29178.36632.27786@zaphod.ms25.net> Message-ID: A stab at mind reading? Maybe you are looking for something like this? http://latex.mschroeder.net/index_en.php#anfuehrung On Mon, Dec 28, 2009 at 7:05 PM, Reinhard Kotucha wrote: > On 29 December 2009 emre berat nebio?lu wrote: > > > i need qu > > Could you be a bit more verbose, please? > > If you say > > > i need qu > > I'm wondering whether you ask for help or you just want to kid us. > > Please describe your problem properly. > > 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 > -- ***************************************************** 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 vivrii at gmail.com Tue Dec 29 10:06:15 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Tue, 29 Dec 2009 04:06:15 -0500 Subject: [texhax] tikzpicture of predefined width and subfig Message-ID: <19af81400912290106k1cdc20a7l907ab53b31c549c1@mail.gmail.com> Assume that I know how to create tikz-graphics \begin{tikzpicture} \draw[thin,->] (-2.3,0)--(2.5,0) node[below]{$x$}; \draw[thin,->] (0,-1)--(0,1.3) node[right]{$f(x)$}; \draw[ultra thick, domain=-2.3:2.3, smooth] plot function {x^2}; \end{tikzpicture} So far so good. Now I want to embed it in my article through figure or subfloat. To do it properly I need to predefine width or scale. Usually I create graphics externally (using pgf/tikz and then embed, but scaling leads to inconsistency in font sizes and line widths. So, how I create the same graph albeit 0.5\linewidth in its width? Sure, I can play with [x=0.09\linewidth] where I 0.1\linewidth would come from allocating 0.5\linewidth to this picture and noting that its x-span is 5: \begin{tikzpicture}[x=0.09\linewidth] \draw[thin,->] (-2.5,0)--(2.5,0) node[below]{$x$}; \draw[thin,->] (0,-1)--(0,1.3) node[right]{$f(x)$}; \draw[ultra thick, domain=-2.3:2.3, smooth] plot function {x^2}; \end{tikzpicture} However I would like something more automatic Thank you in advance Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From karl at freefriends.org Thu Dec 31 02:16:17 2009 From: karl at freefriends.org (Karl Berry) Date: Thu, 31 Dec 2009 01:16:17 GMT Subject: [texhax] latex < 2.09 In-Reply-To: <4B349FD7.6000609@gmx.de> Message-ID: <200912310116.nBV1GHXv004624@f7.net> For my project of a small overview of the development of (La)TeX Perhaps some of the files at ftp://tug.org/historic/macros/latex-saildart would be of interest. From eo at rhyhann.net Thu Dec 31 13:53:27 2009 From: eo at rhyhann.net (Othmane Benkirane) Date: Thu, 31 Dec 2009 12:53:27 +0000 Subject: [texhax] Reverse page numbering (begin with the last page number and end with 0) Message-ID: <376F062B-8092-47A4-8BCE-0223DF517C5D@rhyhann.net> Hello, The subject explains everything: I want to start the page numbering from the last page number and decrement it until it's 0 (for the last page). A mathematical operation for this would be: \thepage - \pageref{LastPage}, but how to include it in fancyhdr (for a book class) ? Happy new year, Othmane Benkirane.