From karl at freefriends.org Wed Apr 1 01:45:44 2009 From: karl at freefriends.org (Karl Berry) Date: Tue, 31 Mar 2009 18:45:44 -0500 Subject: [texhax] TeXLive2008 for Kubuntu In-Reply-To: <49D1D394.9050804@imf.au.dk> Message-ID: <200903312345.n2VNjiH25432@f7.net> you do not want to have both TeXLive 2007 (from Ubuntu) and TeX Live 2008 (from TUG) installed at the same time Why not have them both installed at the same time? What does it hurt? That'd my advice, in general. Unless there's a disk space issue. The Ubuntu packages can have Ubuntu LaTeX to satisfy their dependencies, and you can have TL installed (in /usr/local) for real work. The TL install does not interact with the system stuff in any way, unless you go out of your way to make it do so. Lars, I'm sure you know this, though, so I'm confused about what you're saying. Not knowing anywhere near enough French or Danish to read either article, I guess I remain ignorant :). karl From karl at freefriends.org Wed Apr 1 02:58:35 2009 From: karl at freefriends.org (Karl Berry) Date: Tue, 31 Mar 2009 19:58:35 -0500 Subject: [texhax] MikTeX and web2c (was: Problem with chapterbib) In-Reply-To: <18897.13524.714602.63488@zaphod.ms25.net> Message-ID: <200904010058.n310wZ715356@f7.net> MikTeX is _not_ based on web2c Christian wrote his own web-to-c conversion programs, likewise his own kpathsea-equivalent. He talks about it (in his usual extremely laconic fashion) in his interview, http://tug.org/interviews/interview-files/christian-schenk.html. From news3 at nililand.de Wed Apr 1 09:27:34 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Wed, 1 Apr 2009 09:27:34 +0200 Subject: [texhax] MikTeX and web2c References: <2607D6712A384A6BB77D21CA7698333E@PGR1> <55257B1A-B5BC-4F34-9A8B-F74798F8C9DC@mac.com> <18897.13524.714602.63488@zaphod.ms25.net> <18897.24553.173703.114430@zaphod.ms25.net> <2ir8re7pztu6.dlg@nililand.de> <18898.30394.725141.550713@zaphod.ms25.net> Message-ID: Am Tue, 31 Mar 2009 22:02:02 +0200 schrieb Reinhard Kotucha: > > Miktex provides an application _called_ kpsewhich, but it is an > > alias of findtexmf: > > > > I:>kpsewhich -version > > MiKTeX Finder 2.7.2824 (MiKTeX 2.7) > > > > I:>findtexmf -version > > MiKTeX Finder 2.7.2824 (MiKTeX 2.7) > > Hi Ulrike, > many thanks. I assume that if it can be invoked as "kpsewhich", it's > actually the same thing. No it is not. E.g. it doesn't use ls-R files and texmf.cnf. The kpsewich is really only there so that people that read somewhere about it get some similar results in miktex. > Another question: Does MikTeX's updmap > supports the --enable option now? No. Maps have to be added manually to updmap.cfg (which you get by initemxf --edit-config-file updmap). -- Ulrike Fischer From daleif at imf.au.dk Wed Apr 1 10:19:13 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 01 Apr 2009 10:19:13 +0200 Subject: [texhax] TeXLive2008 for Kubuntu In-Reply-To: <200903312345.n2VNjiH25432@f7.net> References: <200903312345.n2VNjiH25432@f7.net> Message-ID: <49D32381.4000203@imf.au.dk> Karl Berry wrote: > you do not want to have both TeXLive 2007 (from Ubuntu) and TeX Live > 2008 (from TUG) installed at the same time > > Why not have them both installed at the same time? What does it hurt? > That'd my advice, in general. Unless there's a disk space issue. > > The Ubuntu packages can have Ubuntu LaTeX to satisfy their dependencies, > and you can have TL installed (in /usr/local) for real work. The TL > install does not interact with the system stuff in any way, unless you > go out of your way to make it do so. > that is true, but on many older laptops people do not have enough space for two LaTeX dists. And it you don't set the paths right you end up with the wrong LaTeX dist. also, most people do not know about kpsewhich, so they will search their systems in a regular way to look for the existence of a specific package. And they don't know the difference between the two. It is both to save space, but also not to confuse. We see more and more users (bith Windows, MAC and Linux) that know absolutely nothing about computers, so in my opinion, the less confusion (after installation) the better. > Lars, I'm sure you know this, though, so I'm confused about what you're > saying. > > Not knowing anywhere near enough French or Danish to read either > article, I guess I remain ignorant :). > > karl I asked the original poster to translate it into english. -- /daleif From P.Taylor at Rhul.Ac.Uk Wed Apr 1 10:37:20 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Wed, 01 Apr 2009 09:37:20 +0100 Subject: [texhax] Floatrow In-Reply-To: References: Message-ID: <49D327C0.5030807@Rhul.Ac.Uk> Hmmm, well, looking at fr-sample.tex, I see the following : \input {BlackCat.picture} Searching for BlackCat.picture in \TeX\Live\2008 fails to find anything, so I cannot really advise what (if anything) you should use to view BlackCat.picture (and its friends) if indeed you have such a file ... However, on searching the web, I can find a BlackCat.picture at : http://blogninja.com/doc/texlive-doc/latex/floatrow/ and /it/ contains TeX ! It reads as follows : > \ifx\pspicture\undefined \begingroup \def\mycircle#1#2#3#4{% \qbezier[#4](0,#1)(#3,#1)(#2,#2)\qbezier[#4](#2,#2)(#1,#3)(#1,0) \qbezier[#4](0,-#1)(#3,-#1)(#2,-#2)\qbezier[#4](#2,-#2)(#1,-#3)(#1,0)} \def\Mycircle#1#2#3#4{\mycircle{#1}{#2}{#3}{#4} \qbezier[#4](0,#1)(-#3,#1)(-#2,#2)\qbezier[#4](-#2,#2)(-#1,#3)(-#1,0) \qbezier[#4](0,-#1)(-#3,-#1)(-#2,-#2)\qbezier[#4](-#2,-#2)(-#1,-#3)(-#1,0)} \begin{picture}(61,103)(0,-15) \put(20,72){\Mycircle{12}{8.485}{4.969}{30}} \put(20,46){\Mycircle{14}{9.898}{5.797}{32}} \put(20,16){\Mycircle{16}{11.313}{6.625}{35}} \put(54,0){ \qbezier[120](0,-8)(-24,-8)(-29.5,0.5) \qbezier[160](0,-14)(-32,-14)(-38.5,0.5)} \put(54,-11){\mycircle{3}{2.121}{1.242}{6}} \put(32,72){\line(0,1){16}}\put(8,72){\line(0,1){16}} \put(32,88){\qbezier[20](0,0)(-2.877,-2.877)(-5.754,-5.754)} \put(8,88){\qbezier[20](0,0)(2.877,-2.877)(5.754,-5.754)} \end{picture}% \endgroup \else \begin{pspicture}(0,0)(61,103) \psset{linewidth=.125,linestyle=none,fillstyle=solid,fill color=black} \psellipse(20,85)(14,14) \psellipse(20,61)(17,16) \psellipse(20,32)(22.8,20) \pspolygon(6,102.25)(6,85)(15,92) \pspolygon(34,102.25)(34,85)(25,92) \psbezier[linewidth=5.125,linestyle=solid,linecolor=black,fillstyle=none](16,19.5)(16,7.35)(25,2.5)(56,2.5) \psbezier[linewidth=5.125,linestyle=solid,linecolor=black,fillstyle=none](20,19.5)(20,7.35)(25,2.5)(56,2.5) \psellipse(56,2.5)(5,2.5) \end{pspicture}% \fi \endinput and therefore looks as if it is using LaTeX commands to /draw/ a picture rather than being a picture per se. Let me know if this helps, and in the meantime I will copy the TeX-Live team to see if I can find out where BlackCat.Picture has gone from TeX Live 2008. Philip TAYLOR -------- Jean-Guy Murray wrote: > Hi, > > Search on the Internet for information regarding "floatrow" which could > allow me to deal with my problem of Long Caption resulted in the following: > > Index of /texlive/Contents/live/texmf-dist/doc/latex/floatrow > > However, I am unable to open frsample04 to frsample12 as well as > pictures.tex > > The error message is that the file picture cannot be found. > > Am I in need of a particular package to open the picture files. I tried > to open them with GSView but it does not work. > > Thanks for your help. > > Jean-Guy Murray From daleif at imf.au.dk Wed Apr 1 11:22:32 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 01 Apr 2009 11:22:32 +0200 Subject: [texhax] TeXLive2008 for Kubuntu In-Reply-To: <49D32381.4000203@imf.au.dk> References: <200903312345.n2VNjiH25432@f7.net> <49D32381.4000203@imf.au.dk> Message-ID: <49D33258.5090400@imf.au.dk> Lars Madsen wrote: > Karl Berry wrote: >> you do not want to have both TeXLive 2007 (from Ubuntu) and TeX Live >> 2008 (from TUG) installed at the same time >> >> Why not have them both installed at the same time? What does it hurt? >> That'd my advice, in general. Unless there's a disk space issue. >> >> The Ubuntu packages can have Ubuntu LaTeX to satisfy their dependencies, >> and you can have TL installed (in /usr/local) for real work. The TL >> install does not interact with the system stuff in any way, unless you >> go out of your way to make it do so. >> > > that is true, but on many older laptops people do not have enough space > for two LaTeX dists. And it you don't set the paths right you end up > with the wrong LaTeX dist. > > also, most people do not know about kpsewhich, so they will search their > systems in a regular way to look for the existence of a specific > package. And they don't know the difference between the two. > > It is both to save space, but also not to confuse. We see more and more > users (bith Windows, MAC and Linux) that know absolutely nothing about > computers, so in my opinion, the less confusion (after installation) the > better. > >> Lars, I'm sure you know this, though, so I'm confused about what you're >> saying. >> >> Not knowing anywhere near enough French or Danish to read either >> article, I guess I remain ignorant :). >> >> karl > > I asked the original poster to translate it into english. > another reason that comes to mind: A users is a TUG member that have therefore installed TeX Lvie 2008, perhaps using the DVD. Now this user would like to use the TeXMaker editor, but ubuntu also want to install LaTeX in order for you to install TeXMaker, which might increase the download to several hundred Mb, that does not make sense. In any case I wonder a bit why the ubuntu packages is packaged they way they are. Yes, you need LaTeX for TeXMaker to make sense, but not to just start the program. -- /daleif From axel.retif at mac.com Wed Apr 1 11:39:07 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 01 Apr 2009 03:39:07 -0600 Subject: [texhax] [tex-live] Floatrow In-Reply-To: <8758.1238577811@cl.cam.ac.uk> References: <8758.1238577811@cl.cam.ac.uk> Message-ID: <614DB028-E829-4770-AC7E-4BBA1901FE26@mac.com> On 1 Apr, 2009, at 03:23, Robin Fairbairns wrote: > Axel E. Retif wrote: > >>> the author apparently failed to upload it with her latest version of >>> floatrow; it's not on ctan ... and tex live takes its input from >>> ctan. >> >> No, the file pictures.tex produces the pictures files. The whole >> thing >> should be run first with latex -> dvips, not with pdflatex. The files >> needed are in >> >> /usr/local/texlive/2008/texmf-dist/doc/latex/floatrow >> >> Not all typeset fine for me, but some do. > > ah, thanks. floatrow is one of those things on my "get to know this > thing some time" list, but i'm always either ill or too busy to get > into > it. > > r Actually, I didn't know about floatrow until Philip Ratcliffe mentioned it in TeXhax ---I think it's quite impressive, but unfortunately I don't have the time right now to learn it. Best, Axel From rodolfo.medina at gmail.com Wed Apr 1 12:42:54 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Wed, 01 Apr 2009 11:42:54 +0100 Subject: [texhax] \nobreaks shrinks following text References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> <49CF83FE.4050804@Rhul.Ac.Uk> <87ocvk6rzq.fsf@gmail.com> <49CFDDFA.4040300@Rhul.Ac.Uk> <87wsa8gdyt.fsf@gmail.com> <49D08699.20601@Royal-Tunbridge-Wells.Org> Message-ID: <874ox8r6xd.fsf@gmail.com> Rodolfo Medina wrote: >> [...] \nobreaks [...] shrinks the text that follows in the current >> paragraph. Can anybody explain why? >>>> Do: `tex test', and: if you comment out the line `\nobreak' in the >>>> definition of \myparagraph, then page 1 will contain less text: this means >>>> that the presence there of \nobreak shrinks the page. Philip & Le Khanh writes: > That seems perfectly reasonable to me. By removing \nobreak, you > are allowing TeX to break the page following > > Insieme aperto e chiuso. > > and TeX says "Fine, that looks like a good place to break the > page to me" (in fact, "the best place"), and breaks there. > Why does this behaviour puzzle you ? > > And if this is not the behaviour you are seeking, then perhaps > you should described exactly what it is you are trying to achieve, > because at the moment your code appears to do exactly what one > would expect it to ... Yes, I was not considering that \llap{\kern1em} in the definition of \myparagraph added glue before the beginning of every \myparagraph, so the presence of \nobreak just there would make TeX choose different page breakings. I modified that definition eliminating \llap{\kern1em} and putting some \vskip instead. This way, the presence of \nobreak does not change TeX choice of where to break the page. I need \nobreak in order to use the pdftex \pdfdest command: without \nobreak there are troubles. Thanks for help Rodolfo From dicle.ertan at opsiyonmerkezi.com Wed Apr 1 18:00:14 2009 From: dicle.ertan at opsiyonmerkezi.com (Dicle Ertan) Date: Wed, 1 Apr 2009 09:00:14 -0700 (PDT) Subject: [texhax] Please, Can You Help with Installation ? Message-ID: <499474.58741.qm@web1213.biz.mail.gq1.yahoo.com> ? ? Dear TUG Support, ? I am trying to install and then hopefully use LATEX. ? I initially went through the document created by Thomas Feuerstack named "The Quickest Way to a TEX System". It is a very carefully prepared document and installation seems very straight-forward when reading the document. I realized that I need a "ProText Distribution" which should be available in the "Tex Collection DVD". I became a TUG Member recently and I do not have a "Tex Collection DVD" . ? In the Members Site (https://www.tug.org/members/) I read the following: ? CTAN is updated constantly with new uploads. However, it's not simple to extract the CTAN subset which is on the TeX Collection DVD. So here is the snapshot of CTAN as a tar file (2.9gb). ? I downloaded the snapshot which took me 7hours and 45 minutes... and unzipped it. ? Reading through Thomas Feuerstack's "The Quickest Way to a TEX System", I see that I have to install MIKTEX, TEXNIC CENTER, GHOSTSCRIPT AND GSVIEW in order. However, when I unzipped the above snapshot, I saw that there are hundreds of zipped and unzipped files and I do not know where to start. ? I would like to install Latex and start using it as soon as possible. I would most appreciate if you can help me. May be I needed to download something else... ? I have been in the software business using the Oracle Database, SQL and PL/SQL for nearly twenty-years. I am familiar with software and installation. In this case, I do not know where to start, and which files to use. I am hoping that I will get help? from TUG Support to start me off. Thanks very much for your help in advance. ? Best Regards, ? Dicle Ertan TUG USERNAME: ?dertan8491 ? ? ? ? ? ? ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090401/8b10c4e1/attachment.html From dorothy.jammins at yahoo.com Wed Apr 1 18:42:32 2009 From: dorothy.jammins at yahoo.com (Dorothy Jammins) Date: Wed, 1 Apr 2009 09:42:32 -0700 (PDT) Subject: [texhax] Margins and spaces Message-ID: <710167.67280.qm@web43411.mail.sp1.yahoo.com> Hi all, I am writing a class for my dissertation and I have a couple of questions: I am using the geometry package for the margins and I've noticed that the top margin is with respect to the midline (http://en.wikipedia.org/wiki/Mean_line). Is this the correct behavior or have I done something wrong? This is what I have: \RequirePackage[letterpaper,vmargin=1in,hmargin=1in,bindingoffset=0.5in, includeheadfoot,nohead,foot=3\baselineskip]{geometry} The other problem is that chapter headings need to be 1in below the top margin. I've redefined the \makechapterhead to add a \vspace*{1in} but the space that is added is more than that, specifically 1 3/16" and goes to 1 1/4" if I use the setspace package and doublespace the document. I'd like to make the class file in a way that others can use and avoid hacks and arbitrary lengths to fit my document. I am using pdflatex and the latest texlive (updated with tlmgr) in Debian. Thanks d From axel.retif at mac.com Thu Apr 2 08:57:30 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 02 Apr 2009 00:57:30 -0600 Subject: [texhax] Please, Can You Help with Installation ? In-Reply-To: <499474.58741.qm@web1213.biz.mail.gq1.yahoo.com> References: <499474.58741.qm@web1213.biz.mail.gq1.yahoo.com> Message-ID: <50F8B56D-80FA-4917-AC1B-E43768C7AE1B@mac.com> On 1 Apr, 2009, at 10:00, Dicle Ertan wrote: > Dear TUG Support, > > I am trying to install and then hopefully use LATEX. You will, believe me. And you won't regret the time spent. I'm, like you, a TUG member. But let me tell you that you don't have to be a TUG member to ask for support, and neither have to give your TUG user name. Being a TUG member has many benefits, but support is for everyone. > I initially went through the document created by Thomas Feuerstack > named "The Quickest Way to a TEX System". [...] > I realized that I need a "ProText Distribution" [...] > > In the Members Site (https://www.tug.org/members/) I read the > following: > > CTAN is updated constantly with new uploads. [...] So here is the > snapshot of CTAN as a tar file (2.9gb). > > I downloaded the snapshot which took me 7hours and 45 minutes... I don't use proTeXt (MiKTeX et al.), nor Windows ---so, please, Windows TeXers, correct me if I'm wrong---, but I'm afraid you didn't have to download the whole CTAN snapshot; here http://www.tug.org/protext/ you can download just proTeXt. Maybe you already have it ---I don't know what's in the CTAN snapshot; so check your download first. Also, I don't know how it is now, but a few years ago I saw a proTeXt installation and it was really simple. Please post to this list any further question you have ---many people will be glad to help you. Best regards, Axel From axel.retif at mac.com Thu Apr 2 09:31:26 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 02 Apr 2009 01:31:26 -0600 Subject: [texhax] Margins and spaces In-Reply-To: <710167.67280.qm@web43411.mail.sp1.yahoo.com> References: <710167.67280.qm@web43411.mail.sp1.yahoo.com> Message-ID: <6D18ADE3-DA9B-4F7E-B2D4-E5257958C7C1@mac.com> On 1 Apr, 2009, at 10:42, Dorothy Jammins wrote: > Hi all, > > I am writing a class for my dissertation and I have a couple of > questions: > > I am using the geometry package for the margins and I've noticed > that the top margin is with respect to the midline (http://en.wikipedia.org/wiki/Mean_line > ). > Is this the correct behavior or have I done something wrong? No, I don't think that's wrong per se, but you won't find universal agreement on that either. Just take a look at the really amazing memoir class manual ---in your terminal or Command Prompt, texdoc memoir The first part is one of the best works on the art of typography one can read. Building a class yourself I think requires an extraordinary amount of time and effort you can avoid using a pre-configured class that closely suits your needs and adapting it with packages like geometry, fancyhdrs, titlesec, etc.; or maybe you would like to use the memoir class itself, which, though I've never used it, I understand is very configurable. Best, Axel From dicle.ertan at opsiyonmerkezi.com Thu Apr 2 11:24:18 2009 From: dicle.ertan at opsiyonmerkezi.com (Dicle Ertan) Date: Thu, 2 Apr 2009 02:24:18 -0700 (PDT) Subject: [texhax] Please, Can You Help with Installation ? Message-ID: <806033.4136.qm@web1203.biz.mail.gq1.yahoo.com> ? Dear Axel, ? Thanks very much for your help and comments. ? I will try to download proTeXt only and see what happens this time. ? Thanks a lot again. ? Best Regards, ? Dicle Ertan ? --- On Thu, 4/2/09, Axel E. Retif wrote: From: Axel E. Retif Subject: Re: [texhax] Please, Can You Help with Installation ? To: "Dicle Ertan" Cc: support at tug.org Date: Thursday, April 2, 2009, 9:57 AM On? 1 Apr, 2009, at 10:00, Dicle Ertan wrote: > Dear TUG Support, > > I am trying to install and then hopefully use LATEX. You will, believe me. And you won't regret the time spent. I'm, like you, a TUG member. But let me tell you that you don't have to be a TUG member to ask for support, and neither have to give your TUG user name. Being a TUG member has many benefits, but support is for everyone. > I initially went through the document created by Thomas Feuerstack named "The Quickest Way to a TEX System". [...] > I realized that I need a "ProText Distribution" [...] > > In the Members Site (https://www.tug.org/members/) I read the following: > > CTAN is updated constantly with new uploads. [...] So here is the snapshot of CTAN as a tar file (2.9gb). > > I downloaded the snapshot which took me 7hours and 45 minutes... I don't use proTeXt (MiKTeX et al.), nor Windows ---so, please, Windows TeXers, correct me if I'm wrong---, but I'm afraid you didn't have to download the whole CTAN snapshot; here http://www.tug.org/protext/ you can download just proTeXt. Maybe you already have it ---I don't know what's in the CTAN snapshot; so check your download first. Also, I don't know how it is now, but a few years ago I saw a proTeXt installation and it was really simple. Please post to this list any further question you have ---many people will be glad to help you. Best regards, Axel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090402/f39af30d/attachment.html From news3 at nililand.de Thu Apr 2 11:47:52 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Thu, 2 Apr 2009 11:47:52 +0200 Subject: [texhax] Please, Can You Help with Installation ? References: <499474.58741.qm@web1213.biz.mail.gq1.yahoo.com> Message-ID: <15jzsitjzotjp.dlg@nililand.de> Am Wed, 1 Apr 2009 09:00:14 -0700 (PDT) schrieb Dicle Ertan: > ? > ? > Dear TUG Support, > ? > I am trying to install and then hopefully use LATEX. > Reading through Thomas Feuerstack's "The Quickest Way to a TEX > System", I see that I have to install MIKTEX, TEXNIC CENTER, > GHOSTSCRIPT AND GSVIEW in order. However, when I unzipped the > above snapshot, I saw that there are hundreds of zipped and > unzipped files and I do not know where to start. To install miktex http://docs.miktex.org/manual/installing.html (I always use the basic installer, I install miktex on my account as single user, then get the cm-super fonts with the package manager and get the rest of the packages I need on-the-fly). I don't have texniccenter (I'm using winedt), but I would simply follow the instructions on http://www.texniccenter.org/ to install it. Ghostscript isn't really necessary as a start, but if you want it: http://pages.cs.wisc.edu/~ghost/gsview/ Install ghostscript first, then gsview. It is a simple, standard windows installation. -- Ulrike Fischer From joseph.wright at morningstar2.co.uk Thu Apr 2 12:16:24 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Thu, 02 Apr 2009 11:16:24 +0100 Subject: [texhax] Please, Can You Help with Installation ? In-Reply-To: <806033.4136.qm@web1203.biz.mail.gq1.yahoo.com> References: <806033.4136.qm@web1203.biz.mail.gq1.yahoo.com> Message-ID: <49D49078.9050805@morningstar2.co.uk> Dicle Ertan wrote: > > Dear Axel, > > Thanks very much for your help and comments. > > I will try to download proTeXt only and see what happens this time. > > Thanks a lot again. > > Best Regards, > > Dicle Ertan Hello Dicle, Although proTeXt does have various bits and pieces "pre-bundled", I would suggest getting MiKTeX directly (http://www.miktex.org). MiKTeX is the standard TeX distribution on Windows, and the bits that proTeXt adds are not necessarily that useful. For editing LaTeX files, I would suggest TeXworks (http://www.texworks.org) as the easiest editor to use, although it does not yet have an installation program. -- Joseph Wright From dorothy.jammins at yahoo.com Thu Apr 2 14:58:54 2009 From: dorothy.jammins at yahoo.com (Dorothy Jammins) Date: Thu, 2 Apr 2009 05:58:54 -0700 (PDT) Subject: [texhax] Margins and spaces In-Reply-To: <6D18ADE3-DA9B-4F7E-B2D4-E5257958C7C1@mac.com> References: <710167.67280.qm@web43411.mail.sp1.yahoo.com> <6D18ADE3-DA9B-4F7E-B2D4-E5257958C7C1@mac.com> Message-ID: <554331.92153.qm@web43414.mail.sp1.yahoo.com> I actually based my class on the report one using 7-8 other packages. I've implemented everything in 400 lines of code more or less and about half of that is new environments (for the frontmatter). I should have checked the margins more closely earlier. I took a quick look at the memoir class before starting but the documentation for it was huge and I would still need to do under the hood changes because of some weird formatting rules. I will take a second look nonentheless to see what they've done. Thanks d ----- Original Message ---- From: Axel E. Retif To: Dorothy Jammins Cc: texhax at tug.org Sent: Thursday, April 2, 2009 3:31:26 AM Subject: Re: [texhax] Margins and spaces On 1 Apr, 2009, at 10:42, Dorothy Jammins wrote: > Hi all, > > I am writing a class for my dissertation and I have a couple of > questions: > > I am using the geometry package for the margins and I've noticed > that the top margin is with respect to the midline (http://en.wikipedia.org/wiki/Mean_line > ). > Is this the correct behavior or have I done something wrong? No, I don't think that's wrong per se, but you won't find universal agreement on that either. Just take a look at the really amazing memoir class manual ---in your terminal or Command Prompt, texdoc memoir The first part is one of the best works on the art of typography one can read. Building a class yourself I think requires an extraordinary amount of time and effort you can avoid using a pre-configured class that closely suits your needs and adapting it with packages like geometry, fancyhdrs, titlesec, etc.; or maybe you would like to use the memoir class itself, which, though I've never used it, I understand is very configurable. Best, Axel _______________________________________________ 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 daleif at imf.au.dk Thu Apr 2 15:57:09 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 02 Apr 2009 15:57:09 +0200 Subject: [texhax] Margins and spaces In-Reply-To: <554331.92153.qm@web43414.mail.sp1.yahoo.com> References: <710167.67280.qm@web43411.mail.sp1.yahoo.com> <6D18ADE3-DA9B-4F7E-B2D4-E5257958C7C1@mac.com> <554331.92153.qm@web43414.mail.sp1.yahoo.com> Message-ID: <49D4C435.7060209@imf.au.dk> Dorothy Jammins wrote: > I actually based my class on the report one using 7-8 other packages. I've > implemented everything in 400 lines of code more or less and about half of > that is new environments (for the frontmatter). I should have checked the > margins more closely earlier. I took a quick look at the memoir class before > starting but the documentation for it was huge and I would still need to do > under the hood changes because of some weird formatting rules. I will take > a second look nonentheless to see what they've done. > > Thanks > > d > memoir is fairly easy to use and base other classes uppon, when one get a hang of it. If there are any problems just ask (and yes I know the manual may be a little hard to comprehend at times) -- /daleif From apostolicbible at gmail.com Thu Apr 2 08:00:58 2009 From: apostolicbible at gmail.com (charles vanderpool) Date: Wed, 1 Apr 2009 23:00:58 -0700 Subject: [texhax] Textures Message-ID: <4CCA692F-1A9C-40A6-9535-8D0E4E7CF78C@gmail.com> Years ago I was a member of TUG and was running Blue Sky Textures. I recently have wanted to use Textures but my 2.0 only ran on OS 8. I see that Blue Sky has upgraded to OS X with version 2.1 but I can't find any information on how well it runs, as Blue Sky is sort of evasive in the info. I loved the flash mode and would love to have it on my MacBook. If you can supply any information on Texture I would be most grateful Charles VanderPool clv at apostolicbible.com From signups2 at norvelle.org Thu Apr 2 11:40:31 2009 From: signups2 at norvelle.org (Erik Norvelle) Date: Thu, 2 Apr 2009 11:40:31 +0200 Subject: [texhax] A LaTeX interpreter to turn LaTeX into more LaTeX/TeX ? Message-ID: <27C8DC2F-4442-4290-84CD-8D6D7E6D9215@norvelle.org> Greetings all, I am currently looking at ways of integrating the functionality of the Biblatex package (a natbib/jurabib replacement) into the latex2rtf project. Specifically, I would like to take advantage of the powerful bibliography and citation formatting capacities that Biblatex offers, without re-implementing the entire Biblatex package in C (which is how latex2rtf currently emulates natbib and jurabib capabilities). What I would like to do is be able to run a LaTeX interpreter on my TeX file, but instead of producing a PDF/DVI output, it would produce another LaTeX output, which I can then capture in order to extract the formatted citations and the bibliography. As things currently stand, Biblatex does not produce a file with a formatted bibliography or citations, but produces all of these on the fly, during the process of producing the PDF/DVI output. As a result, there are no left over aux- type files that contain the information that I need. Basically, what I need is some way to complete "expand" a typical LaTeX file into something more basic, even raw TeX, if that were the only option. So far, however, I have not found anything. All of the engines I am familiar with produce some other kind of output (PDF, DVI, HTML, etc.). I've spend a good amount of time search online and reading manuals, and so far have come up empty-handed. Is what I am looking for possible? Thanks for any help you can offer. -Erik Norvelle From signups2 at norvelle.org Thu Apr 2 16:28:15 2009 From: signups2 at norvelle.org (signups2 at norvelle.org) Date: Thu, 2 Apr 2009 09:28:15 -0500 Subject: [texhax] A LaTeX interpreter to turn LaTeX into more LaTeX/TeX ? In-Reply-To: <710167.67280.qm@web43411.mail.sp1.yahoo.com> References: <710167.67280.qm@web43411.mail.sp1.yahoo.com> Message-ID: <20090402092815.gnh5pepemf0g844w@webmail.opentransfer.com> Greetings all (apologies if double-posted), I am currently looking at ways of integrating the functionality of the Biblatex package (a natbib/jurabib replacement) into the latex2rtf project. Specifically, I would like to take advantage of the powerful bibliography and citation formatting capacities that Biblatex offers, without re-implementing the entire Biblatex package in C (which is how latex2rtf currently emulates natbib and jurabib capabilities). What I would like to do is be able to run a LaTeX interpreter on my TeX file, but instead of producing a PDF/DVI output, it would produce another LaTeX output, which I can then capture in order to extract the formatted citations and the bibliography. As things currently stand, Biblatex does not produce a file with a formatted bibliography or citations, but produces all of these on the fly, during the process of producing the PDF/DVI output. As a result, there are no left over aux-type files that contain the information that I need. Basically, what I need is some way to complete "expand" a typical LaTeX file into something more basic, even raw TeX, if that were the only option. So far, however, I have not found anything. All of the engines I am familiar with produce some other kind of output (PDF, DVI, HTML, etc.). I've spend a good amount of time search online and reading manuals, and so far have come up empty-handed. Is what I am looking for possible? Thanks for any help you can offer. -Erik Norvelle From joseph.wright at morningstar2.co.uk Thu Apr 2 17:41:07 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Thu, 02 Apr 2009 16:41:07 +0100 Subject: [texhax] Textures In-Reply-To: <4CCA692F-1A9C-40A6-9535-8D0E4E7CF78C@gmail.com> References: <4CCA692F-1A9C-40A6-9535-8D0E4E7CF78C@gmail.com> Message-ID: <49D4DC93.30301@morningstar2.co.uk> charles vanderpool wrote: > Years ago I was a member of TUG and was running Blue Sky Textures. I > recently have wanted to use Textures but my 2.0 only ran on OS 8. I > see that Blue Sky has upgraded to OS X with version 2.1 but I can't > find any information on how well it runs, as Blue Sky is sort of > evasive in the info. I loved the flash mode and would love to have it > on my MacBook. If you can supply any information on Texture I would > be most grateful I suspect the reason for the lack of information is that TeX has moved on a lot since the hey-day of Textures. Modern TeX distributions tend to work very well, and I suspect most people don't see that paying money gains them much. -- Joseph Wright From prasad at ece.neu.edu Thu Apr 2 19:41:56 2009 From: prasad at ece.neu.edu (Prof. Sheila Prasad) Date: Thu, 2 Apr 2009 12:41:56 -0500 (EST) Subject: [texhax] Mailing list Message-ID: I would like to be removed from the texhax mailing list as I do not want to get all the e-mail queries. They fill up my mailbox. Thank you. Sheila Prasad ------------------------------------------------------------ Professor Sheila Prasad Emeritus Professor, ECE Dept. Northeastern University e-mail: prasad at ece.neu.edu From drl at vuse.vanderbilt.edu Thu Apr 2 18:59:41 2009 From: drl at vuse.vanderbilt.edu (David R. Linn) Date: Thu, 2 Apr 2009 11:59:41 -0500 (CDT) Subject: [texhax] Mailing list Message-ID: <200904021659.n32Gxfp3013691@mailhost2.vuse.vanderbilt.edu> >> I would like to be removed from the texhax mailing list as I do not want to >> get all the e-mail queries. They fill up my mailbox. For those unable to easily see the full headers of the messages from this mailing list, I offer this extract: List-Id: General TeX discussion and questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , In particular, I'd like to highlight the List-Unsubscribe header value which offers two different methods for unsubscribing from the list. From juergen.fenn at GMX.DE Thu Apr 2 19:07:02 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Thu, 02 Apr 2009 19:07:02 +0200 Subject: [texhax] Mailing list In-Reply-To: <200904021659.n32Gxfp3013691@mailhost2.vuse.vanderbilt.edu> References: <200904021659.n32Gxfp3013691@mailhost2.vuse.vanderbilt.edu> Message-ID: <49D4F0B6.9040602@GMX.DE> David R. Linn schrieb: > For those unable to easily see the full headers of the messages from > this mailing list, ... there is a footer to each mail delivered over this list that contains all the information you need to unsubscribe, including ... > ... the List-Unsubscribe header > >> Automated subscription management: http://tug.org/mailman/listinfo/texhax J?rgen. From reinhard.kotucha at web.de Thu Apr 2 20:14:55 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 2 Apr 2009 20:14:55 +0200 Subject: [texhax] MikTeX and web2c In-Reply-To: References: <2607D6712A384A6BB77D21CA7698333E@PGR1> <55257B1A-B5BC-4F34-9A8B-F74798F8C9DC@mac.com> <18897.13524.714602.63488@zaphod.ms25.net> <18897.24553.173703.114430@zaphod.ms25.net> <2ir8re7pztu6.dlg@nililand.de> <18898.30394.725141.550713@zaphod.ms25.net> Message-ID: <18901.159.510184.599776@zaphod.ms25.net> On 1 April 2009 Ulrike Fischer wrote: > Am Tue, 31 Mar 2009 22:02:02 +0200 schrieb Reinhard Kotucha: > > > > Miktex provides an application _called_ kpsewhich, but it is an > > > alias of findtexmf: > > > > > > I:>kpsewhich -version > > > MiKTeX Finder 2.7.2824 (MiKTeX 2.7) > > > > > > I:>findtexmf -version > > > MiKTeX Finder 2.7.2824 (MiKTeX 2.7) > > > > Hi Ulrike, > > many thanks. I assume that if it can be invoked as "kpsewhich", it's > > actually the same thing. > > No it is not. E.g. it doesn't use ls-R files and texmf.cnf. The > kpsewich is really only there so that people that read somewhere > about it get some similar results in miktex. I suppose that if LuaTeX's kpse primitives should work on MikTeX as on other systems, then Christian has mo make sure that his library does exactly the same as Karl's, one way or another. > > Another question: Does MikTeX's updmap > > supports the --enable option now? > > No. Maps have to be added manually to updmap.cfg (which you get by > initemxf --edit-config-file updmap). Good to know too. At the moment I'm revising the VnTeX documentation. Seems that I don't have to change this section. 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 asnd at triumf.ca Thu Apr 2 20:52:08 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 02 Apr 2009 11:52:08 -0700 Subject: [texhax] Please, Can You Help with Installation ? In-Reply-To: <806033.4136.qm@web1203.biz.mail.gq1.yahoo.com> References: <806033.4136.qm@web1203.biz.mail.gq1.yahoo.com> Message-ID: Dicle Ertan writes: > I will try to download proTeXt only and see what happens this time. When other people commented that you could have downloaded protext or miktex alone, they were of course right, but you shouldn't need to download them separately now that you have downloaded a whole ctan snapshot. > I see that I have to install MIKTEX, TEXNIC CENTER, GHOSTSCRIPT > AND GSVIEW in order. How ever, when I unzipped the above snapshot, > I saw that there are hundreds of zipped and unzipped files and I > do not know where to start. (CTAN home)\tex-archive\systems\win32\protext\ProTeXt-2.2-071608.exe That is a big self-extracting zip file that you can run as an installer (or burn to a CD). I suspect (but am not sure) that what comes out after unzipping is the distribution CD contents, and you need to then run Setup.exe as the *real* installer. Look for protext-install-en.pdf within the unzipped contents, or get it separately: ftp://tug.org/tex/protext/Install/protext-install-en.pdf anf let that guide you through the installation. Good luck. -- Donald Arseneau asnd at triumf.ca From reinhard.kotucha at web.de Thu Apr 2 21:20:07 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 2 Apr 2009 21:20:07 +0200 Subject: [texhax] Please, Can You Help with Installation ? In-Reply-To: <50F8B56D-80FA-4917-AC1B-E43768C7AE1B@mac.com> References: <499474.58741.qm@web1213.biz.mail.gq1.yahoo.com> <50F8B56D-80FA-4917-AC1B-E43768C7AE1B@mac.com> Message-ID: <18901.4071.104208.731570@zaphod.ms25.net> On 2 April 2009 Axel E. Retif wrote: > ---I don't know what's in the CTAN snapshot; The "CTAN snapshot" is the content of CTAN, with most files which are in TeX Live already, removed. This snapshot is shipped along with some TeX distributions on the TeX Collection DVD. It doesn't contain any TeX distributions itself. 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 uwe.lueck at web.de Thu Apr 2 22:10:02 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Thu, 02 Apr 2009 22:10:02 +0200 Subject: [texhax] Mailing list [QUIZ TIME] In-Reply-To: Message-ID: <5.1.0.14.0.20090402215628.02eec8b0@pop3.web.de> At 19:41 02.04.09, Prof. Sheila Prasad wrote: >I would like to be removed from the texhax mailing list as I do not want to >get all the e-mail queries. They fill up my mailbox. At 18:59 02.04.09, David R. Linn wrote: >For those unable to easily see the full headers of the messages from >this mailing list, I offer this extract: [snip] List-Unsubscribe: [snip] At 19:07 02.04.09, Juergen Fenn wrote: >... there is a footer to each mail delivered over this list that >contains all the information you need to unsubscribe, including ... [snip] Automated subscription management: [snip] But what if the unsubscriber is not willing to read messages that don't answer her question? ... read next issue of QUIZ TIME! Enjoy! Uwe. From tug-news at tug.org Fri Apr 3 00:04:56 2009 From: tug-news at tug.org (tug-news at tug.org) Date: Thu, 2 Apr 2009 17:04:56 -0500 Subject: [texhax] TUG logo competition: invitation to participate Message-ID: <200904022204.n32M4uU26191@f7.net> A reminder that TUG is holding a competition to design a new logo; the deadline for submissions is April 30, 2009. Several have already been received, and we thank the contributors. Full details at: http://tug.org/logo/competition/ Best, Karl (on behalf of the TUG board) From john.simmie at nuigalway.ie Fri Apr 3 14:17:52 2009 From: john.simmie at nuigalway.ie (Simmie, John) Date: Fri, 3 Apr 2009 13:17:52 +0100 Subject: [texhax] Long version of \rightsquigarrow Message-ID: <5987A522AEAB7548B380D086C85CD2410143B005@EVS1.ac.nuigalway.ie> I cannot find a longer version of \rightsquigarrow out there including Scott Pakin's comprehensive symbols list The combination --- squiggle arrow head would be just right, that is a linear extension of the left hand side of the symbol would be perfect for my requirements, eg: \begin{equation*} \mathrm{HCCH \stackrel{\dot{O}H}{\rightsquigarrow} \dot{C}CH(OH) \stackrel{\dot{H}}{\rightsquigarrow} H_2CH(OH)} \end{equation*} Any help appreciated ... Emeritus Professor John Simmie::Combustion Chemistry Centre::National University of Ireland, Galway From joseph.wright at morningstar2.co.uk Fri Apr 3 14:52:32 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Fri, 03 Apr 2009 13:52:32 +0100 Subject: [texhax] Long version of \rightsquigarrow In-Reply-To: <5987A522AEAB7548B380D086C85CD2410143B005@EVS1.ac.nuigalway.ie> References: <5987A522AEAB7548B380D086C85CD2410143B005@EVS1.ac.nuigalway.ie> Message-ID: <49D60690.8090802@morningstar2.co.uk> Simmie, John wrote: > I cannot find a longer version of \rightsquigarrow out there including > Scott Pakin's comprehensive symbols list > The combination --- squiggle arrow head would be just right, that is a > linear extension of the left hand side of the symbol would be perfect > for my requirements, eg: > > \begin{equation*} > \mathrm{HCCH \stackrel{\dot{O}H}{\rightsquigarrow} \dot{C}CH(OH) > \stackrel{\dot{H}}{\rightsquigarrow} H_2CH(OH)} > \end{equation*} > > Any help appreciated ... I would suggest looking at the mhchem package. It has a lot of "chemical sense" and handles this type of thing easily: \documentclass{article} \usepackage[version=3]{mhchem} \begin{document} \ce{HCCH ->[\ce{$\dot{\mathrm{O}}$H}] $\dot{\mathrm{C}}$CH(OH) ->[\ce{$\dot{\mathrm{H}}$}] H2CH(OH)} \end{document} -- Joseph Wright From daleif at imf.au.dk Fri Apr 3 16:56:37 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 03 Apr 2009 16:56:37 +0200 Subject: [texhax] TeXLive2008 for Kubuntu In-Reply-To: <20090403142104.GB3658@debian.b2j> References: <200903312345.n2VNjiH25432@f7.net> <49D32381.4000203@imf.au.dk> <49D33258.5090400@imf.au.dk> <20090403142104.GB3658@debian.b2j> Message-ID: <49D623A5.8010500@imf.au.dk> bill lam wrote: > Hello, I know very little about latex and try to learn more now. Please > correct me if I'm wrong. > > On Wed, 01 Apr 2009, Lars Madsen wrote: >>> I asked the original poster to translate it into english. > > I am waiting for that translation. > >> Now this user would like to use the TeXMaker editor, but ubuntu also >> want to install LaTeX in order for you to install TeXMaker, which might >> increase the download to several hundred Mb, that does not make sense. > > In debian you can tell apt not to install automatically recommended or > suggested dependencies by adding lines to apt.conf > > $sudo -e /etc/apt/apt.conf > > // Disable Recommended and suggested packages > APT::Install-Recommends "0"; > APT::Install-Suggests "0"; > > Then texmaker will be installed without texlive from repository. That > should also applied to ubuntu too. > that was nice to know you should be able to figure out what to do from my danish page, by looking at the code sniplets (those with blue background) and the pictures. -- /daleif From mohamed.houssni at e-press.co.ma Fri Apr 3 17:46:44 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Fri, 03 Apr 2009 15:46:44 +0000 Subject: [texhax] footnote with url Message-ID: <49D62F64.5030509@e-press.co.ma> Dear list, Please can you help to solve a problem with an \url inserting in a footnte command which contains some special characters. For example : \footnote{\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf}} The compilation stops at this footnote. I will be very gratfull to you. Best regards, ------------------ Dr. Mohamed Houssni From borisv at lk.net Fri Apr 3 18:38:33 2009 From: borisv at lk.net (Boris Veytsman) Date: Fri, 3 Apr 2009 12:38:33 -0400 Subject: [texhax] footnote with url In-Reply-To: <49D62F64.5030509@e-press.co.ma> (message from Mohamed HOUSSNI on Fri, 03 Apr 2009 15:46:44 +0000) References: <49D62F64.5030509@e-press.co.ma> Message-ID: <200904031638.n33GcXsg030739@bilbo.localnet> MH> Date: Fri, 03 Apr 2009 15:46:44 +0000 MH> From: Mohamed HOUSSNI MH> Dear list, MH> Please can you help to solve a problem with an \url inserting in a MH> footnte command which contains some special characters. For example : MH> \footnote{\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf}} \urldef\fancy\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf} aaa\footnote{\fancy} -- Good luck -Boris Let others praise ancient times; I am glad I was born in these. -- Ovid (43 B.C. - A.D. 18) From mohamed.houssni at e-press.co.ma Fri Apr 3 19:18:34 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Fri, 03 Apr 2009 17:18:34 +0000 Subject: [texhax] footnote with url In-Reply-To: <200904031638.n33GcXsg030739@bilbo.localnet> References: <49D62F64.5030509@e-press.co.ma> <200904031638.n33GcXsg030739@bilbo.localnet> Message-ID: <49D644EA.7090300@e-press.co.ma> Boris Veytsman a ?crit : >MH> Date: Fri, 03 Apr 2009 15:46:44 +0000 >MH> From: Mohamed HOUSSNI > >MH> Dear list, > >MH> Please can you help to solve a problem with an \url inserting in a >MH> footnte command which contains some special characters. For example : > >MH> \footnote{\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf}} > >\urldef\fancy\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf} > > >aaa\footnote{\fancy} > > > Thanks for your response. I try this but it does not compile. It gives me the following error %%%%%%%%%%%%%%%%%%%%%%%%%%%% ! Extra }, or forgotten \endgroup. \sbox ...hbox {\color at setgroup #2\color at endgroup } l.181 ...0Infrared%20SPIE%20Paper%20_7021-20_.pdf} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Thanks a lot -- ------------------- Dr. Mohamed Houssni Responsable d'Edition e-Press, 34, Rue Mustapha El Manfalouti Quartier Gauthier Casablanca - Maroc Phone : 212 (0)22 26 23 21 Fax : 212 (0)22 26 80 84 From millstadtf at gmail.com Fri Apr 3 19:26:18 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Fri, 3 Apr 2009 10:26:18 -0700 Subject: [texhax] footnote with url In-Reply-To: <49D644EA.7090300@e-press.co.ma> References: <49D62F64.5030509@e-press.co.ma> <200904031638.n33GcXsg030739@bilbo.localnet> <49D644EA.7090300@e-press.co.ma> Message-ID: <44ff02430904031026p74b8a91au2a9548d7e3729c0c@mail.gmail.com> Hello Sir, Firstly, be sure you are using the url package or equivalent. Secondly, be sure to escape all special characters: % in this case, which is LaTeX's comment character. Try this: This is a test.\footnote{\url{ http://www.teledyne-si.com/infrared_visible_fpas/Teledyne \%20Imaging\%20Sensor\%20-\%20Infrared\%20SPIE\%20Paper\%20_7021-20_.pdf}} where you will note I preceded each % with a backslash. Happy TeXing! -Bob Wilson On Fri, Apr 3, 2009 at 10:18 AM, Mohamed HOUSSNI < mohamed.houssni at e-press.co.ma> wrote: > Boris Veytsman a ?crit : > > >MH> Date: Fri, 03 Apr 2009 15:46:44 +0000 > >MH> From: Mohamed HOUSSNI > > > >MH> Dear list, > > > >MH> Please can you help to solve a problem with an \url inserting in a > >MH> footnte command which contains some special characters. For example : > > > >MH> \footnote{\url{ > http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf > }} > > > >\urldef\fancy\url{ > http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf > } > > > > > >aaa\footnote{\fancy} > > > > > > > Thanks for your response. > > I try this but it does not compile. It gives me the following error > > %%%%%%%%%%%%%%%%%%%%%%%%%%%% > > ! Extra }, or forgotten \endgroup. > \sbox ...hbox {\color at setgroup #2\color at endgroup } > > l.181 ...0Infrared%20SPIE%20Paper%20_7021-20_.pdf} > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > Thanks a lot > > -- > ------------------- > Dr. Mohamed Houssni > Responsable d'Edition > e-Press, > 34, Rue Mustapha El Manfalouti > Quartier Gauthier > Casablanca - Maroc > Phone : 212 (0)22 26 23 21 > Fax : 212 (0)22 26 80 84 > > _______________________________________________ > 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: http://tug.org/pipermail/texhax/attachments/20090403/004d9126/attachment.html From asnd at triumf.ca Fri Apr 3 19:27:41 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 03 Apr 2009 10:27:41 -0700 Subject: [texhax] Please, Can You Help with Installation ? In-Reply-To: <18901.4071.104208.731570@zaphod.ms25.net> References: <499474.58741.qm@web1213.biz.mail.gq1.yahoo.com> <50F8B56D-80FA-4917-AC1B-E43768C7AE1B@mac.com> <18901.4071.104208.731570@zaphod.ms25.net> Message-ID: Reinhard Kotucha writes: > On 2 April 2009 Axel E. Retif wrote: > > > ---I don't know what's in the CTAN snapshot; > > The "CTAN snapshot" is the content of CTAN, with most files which are > in TeX Live already, removed. This snapshot is shipped along with > some TeX distributions on the TeX Collection DVD. It doesn't contain > any TeX distributions itself. OK, sorry for my answer yesterday. It seems that protext is not included in the snapshot already. -- Donald Arseneau asnd at triumf.ca From borisv at lk.net Fri Apr 3 19:28:34 2009 From: borisv at lk.net (Boris Veytsman) Date: Fri, 3 Apr 2009 13:28:34 -0400 Subject: [texhax] footnote with url In-Reply-To: <49D644EA.7090300@e-press.co.ma> (message from Mohamed HOUSSNI on Fri, 03 Apr 2009 17:18:34 +0000) References: <49D62F64.5030509@e-press.co.ma> <200904031638.n33GcXsg030739@bilbo.localnet> <49D644EA.7090300@e-press.co.ma> Message-ID: <200904031728.n33HSY3Z032040@bilbo.localnet> MH> Date: Fri, 03 Apr 2009 17:18:34 +0000 MH> From: Mohamed HOUSSNI MH> I try this but it does not compile. It gives me the following error MH> %%%%%%%%%%%%%%%%%%%%%%%%%%%% MH> ! Extra }, or forgotten \endgroup. MH> \sbox ...hbox {\color at setgroup #2\color at endgroup } MH> l.181 ...0Infrared%20SPIE%20Paper%20_7021-20_.pdf} MH> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Let me don my mind-reading helmet. You are using hyperref, right? Then you need to put \urldef in the preamble BETWEEN loading url and hyperref: \usepackage{url} \urldef\fancy\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf} \usepackage{hyperref} \begin{document} ..... -- Good luck -Boris Does the same as the system call of that name. If you don't know what it does, don't worry about it. -- Larry Wall in the perl man page regarding chroot(2) From senthil.debian at gmail.com Fri Apr 3 19:49:30 2009 From: senthil.debian at gmail.com (Senthil Kumar M) Date: Fri, 3 Apr 2009 13:49:30 -0400 Subject: [texhax] footnote with url In-Reply-To: <44ff02430904031026p74b8a91au2a9548d7e3729c0c@mail.gmail.com> References: <49D62F64.5030509@e-press.co.ma> <200904031638.n33GcXsg030739@bilbo.localnet> <49D644EA.7090300@e-press.co.ma> <44ff02430904031026p74b8a91au2a9548d7e3729c0c@mail.gmail.com> Message-ID: <56b822010904031049g1e8b80b6g9588ad5264de2d52@mail.gmail.com> On Fri, Apr 3, 2009 at 1:26 PM, Robert Wilson wrote: > Hello Sir, > Firstly, be sure you are using the url package or equivalent. Secondly, > be sure to escape all special characters: % in this case, which is LaTeX's > comment character. Try this: > > This is a > test.\footnote{\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne\%20Imaging\%20Sensor\%20-\%20Infrared\%20SPIE\%20Paper\%20_7021-20_.pdf}} > > where you will note I preceded each % with a backslash. > The compilation stops at this footnote. Both _ and % in the url link need to be escaped with a \ Try: \footnote{\url{http://www.teledyne-si.com/infrared\_visible\_fpas/Teledyne\%20Imaging\%20Sensor\%20-\%20Infrared\%20SPIE\%20Paper\%20\_7021-20\_.pdf}} HTH, Senthil From dicle.ertan at opsiyonmerkezi.com Fri Apr 3 19:51:39 2009 From: dicle.ertan at opsiyonmerkezi.com (Dicle Ertan) Date: Fri, 3 Apr 2009 10:51:39 -0700 (PDT) Subject: [texhax] ! LaTeX Error: File `tcilatex.tex' not found. Message-ID: <84886.38936.qm@web1209.biz.mail.gq1.yahoo.com> ? ? Hello ProTeXt and TUG SUPPORT,? ? I managed to install MiKTeX and TeXnicCenter and tested it with some sample documents which came with the Beginners Guide. They worked fine with no errors and a nice PDF output. ? ? ?I then opened an existing document written in Scientific Word with a tex extension. When I tried to "Build" the document, I got the following error: ? ! LaTeX Error: File `tcilatex.tex' not found. ? Is this a file/package ?that I should have included within the MiKTeX installation ? ? Thanks very much for your help in advance. ? Best Regards, ? Dicle Ertan ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090403/6f2a1416/attachment.html From frainj at gmail.com Fri Apr 3 21:17:54 2009 From: frainj at gmail.com (John C Frain) Date: Fri, 3 Apr 2009 19:17:54 +0000 Subject: [texhax] Fwd: ! LaTeX Error: File `tcilatex.tex' not found. In-Reply-To: References: <84886.38936.qm@web1209.biz.mail.gq1.yahoo.com> Message-ID: ---------- Forwarded message ---------- From: John C Frain Date: 2009/4/3 Subject: Re: [texhax] ! LaTeX Error: File `tcilatex.tex' not found. To: Dicle Ertan The file tcilatex.tex is part od the Scientific Word distribution and is not included in any TeX distribution. ?There are two possibilities. 1) Ask the Scientific Word user to export (or save) the file as portable LaTeX. ? You may need to install some unusual LaTeX packages but this should work. 2) Alternatively simply comment out the instruction to include the file. ?This has worked for me in some simpler documents. John 2009/4/3 Dicle Ertan : > > > > > Hello ProTeXt and TUG SUPPORT, > > > > I managed to install MiKTeX and TeXnicCenter and tested it with some sample > documents which came with the Beginners Guide. They worked fine with no > errors and a nice PDF output. > > > > ?I then opened an existing document written in Scientific Word with a tex > extension. > > When I tried to "Build" the document, I got the following error: > > > > ! LaTeX Error: File `tcilatex.tex' not found. > > > > Is this a file/package ?that I should have included within the MiKTeX > installation ? > > > > Thanks very much for your help in advance. > > > > Best Regards, > > > > Dicle Ertan > > > > > > > > _______________________________________________ > 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 -- 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 asnd at triumf.ca Fri Apr 3 23:14:23 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 03 Apr 2009 14:14:23 -0700 Subject: [texhax] footnote with url In-Reply-To: <200904031728.n33HSY3Z032040@bilbo.localnet> References: <49D62F64.5030509@e-press.co.ma> <200904031638.n33GcXsg030739@bilbo.localnet> <49D644EA.7090300@e-press.co.ma> <200904031728.n33HSY3Z032040@bilbo.localnet> Message-ID: Boris Veytsman writes: > Then you need to put \urldef in the preamble BETWEEN loading url and > hyperref: Is that really a requirement? If so, it needs fixing! Check the version of url.sty! The applicability of \urldef to hyperref was supposed to be fixed in version 3.2 June 2005. -- Donald Arseneau asnd at triumf.ca From borisv at lk.net Fri Apr 3 23:30:48 2009 From: borisv at lk.net (Boris Veytsman) Date: Fri, 3 Apr 2009 17:30:48 -0400 Subject: [texhax] footnote with url In-Reply-To: (message from Donald Arseneau on 03 Apr 2009 14:14:23 -0700) References: <49D62F64.5030509@e-press.co.ma> <200904031638.n33GcXsg030739@bilbo.localnet> <49D644EA.7090300@e-press.co.ma> <200904031728.n33HSY3Z032040@bilbo.localnet> Message-ID: <200904032130.n33LUmEr005095@bilbo.localnet> DA> From: Donald Arseneau DA> Date: 03 Apr 2009 14:14:23 -0700 DA> Is that really a requirement? If so, it needs fixing! DA> Check the version of url.sty! The applicability of DA> \urldef to hyperref was supposed to be fixed in version DA> 3.2 June 2005. You are right: a newer version of url.sty allows to put \urldef anywhere. -- Good luck -Boris "Even if you're on the right track, you'll get run over if you just sit there." -- Will Rogers From cbill.lam at gmail.com Fri Apr 3 16:21:04 2009 From: cbill.lam at gmail.com (bill lam) Date: Fri, 3 Apr 2009 22:21:04 +0800 Subject: [texhax] TeXLive2008 for Kubuntu In-Reply-To: <49D33258.5090400@imf.au.dk> References: <200903312345.n2VNjiH25432@f7.net> <49D32381.4000203@imf.au.dk> <49D33258.5090400@imf.au.dk> Message-ID: <20090403142104.GB3658@debian.b2j> Hello, I know very little about latex and try to learn more now. Please correct me if I'm wrong. On Wed, 01 Apr 2009, Lars Madsen wrote: > > I asked the original poster to translate it into english. I am waiting for that translation. > Now this user would like to use the TeXMaker editor, but ubuntu also > want to install LaTeX in order for you to install TeXMaker, which might > increase the download to several hundred Mb, that does not make sense. In debian you can tell apt not to install automatically recommended or suggested dependencies by adding lines to apt.conf $sudo -e /etc/apt/apt.conf // Disable Recommended and suggested packages APT::Install-Recommends "0"; APT::Install-Suggests "0"; Then texmaker will be installed without texlive from repository. That should also applied to ubuntu too. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ??313 ?? ??? ??????? ??????? ??????? ??????? From sharon_baker at asu.edu Sat Apr 4 04:38:24 2009 From: sharon_baker at asu.edu (Sharon Baker) Date: Fri, 3 Apr 2009 19:38:24 -0700 Subject: [texhax] ASU Thesis/Dissertation Style File Message-ID: <39BF1F21-9A26-4C50-884E-A2A1311D5F13@asu.edu> Hi guys, I'm completing my thesis for a Masters at ASU (Arizona State University) and I'm using LaTeX. I am using an old style file asthesis.sty that John Jones wrote in 1998. The version I have is April 2001 (version 1.11). Unfortunately, some ignoramus at ASU posted the following (below) in May of 2005 so I haven't heard of anyone updating that style file since. ASU's complete ignorance about LaTeX baffles me, though. Anyway, I'm obviously ignoring them hoping I can get the format correct and not have to use crappy WORD!! So if anyone has a recent version of this style file (that will follow the latest Format Manual from ASU), I'd love it if you shared it :D But if no one replies, I will have to send requests to texhax for help to fix format errors the graduate college will whine about. -------------------- Due to continued formatting errors associated with the style-file LaTeX, the Format Advising Service does not recommend that students continue to use it as a style guide. LaTeX, developed by a former ASU student, is available only on his personal website and is based on an outdated version of the Format Manual. The format of theses and dissertations has changed since its development, and LaTeX no longer meets the basic requirements of a recommended style guide. The check-box option for LaTeX has been removed from the Format Approval Sheet, and students are encouraged to use other style guides such as APA, MLA, Chicago, Turabian, or a field-specific journal article. -------------------- Thanks so much! Sharon From sharon_baker at asu.edu Sat Apr 4 20:27:58 2009 From: sharon_baker at asu.edu (Sharon Baker) Date: Sat, 4 Apr 2009 11:27:58 -0700 Subject: [texhax] ASU Thesis/Dissertation Style File In-Reply-To: <49D6CE2B.4030104@gmail.com> References: <39BF1F21-9A26-4C50-884E-A2A1311D5F13@asu.edu> <49D6CE2B.4030104@gmail.com> Message-ID: <8708F863-B978-4490-A75C-CABB4E2D9702@asu.edu> >>> Due to continued formatting errors associated with the style-file >>> LaTeX, the Format Advising Service does not recommend that students >>> continue to use it as a style guide. >>> >>> LaTeX, developed by a former ASU student, is available only on his >>> personal website and is based on an outdated version of the Format >>> Manual. The format of theses and dissertations has changed since its >>> development, and LaTeX no longer meets the basic requirements of a >>> recommended style guide. The check-box option for LaTeX has been >>> removed from the Format Approval Sheet, and students are encouraged >>> to use other style guides such as APA, MLA, Chicago, Turabian, or a >>> field-specific journal article. >> >> As near as I can comprehend that drivel, it *seems* to say that >> you can use >> a style that's associated with a journal in your field. >> >> Assuming that your field is reasonably technical, there's an >> excellent >> chance that one or more of the main journals will have a LaTeX >> style of >> their own, and it seems to me that you can use that. >> >> Unless, of course, I'm completely misunderstanding the >> incomprehensible drivel. >> >> Doc Evans The problem with the statement they made is that they think that LaTeX is a ``style guide" (like APA or MLA http://en.wikipedia.org/ wiki/Style_guide) when it is a typesetting language, a completely different thing. As an example, let's say Microsoft Word was not the popular software that it is (and it was not well-known), and let's say someone wrote a Word template (following some of ASU's Thesis formatting requests, but not all because it was outdated), and let's say many people were beginning to submit their thesis using this outdated Word template. Of course their formatting was wrong, but it is not Word's fault their formatting is wrong, it's the template that needs to be changed to accommodate the new format requirements. However, in this case, ASU would say you can no longer use Word because it doesn't meet the requirements of a style guide. That makes no sense because Word is not a style guide. In the case of the LaTeX style file, the asthesis.sty file was not continuously maintained to allow for changes in ASU's ever-changing format requirements, but that is not LaTeX's fault, it's the style-file that needs to be updated to accommodate ASU's format requirements. I hope that made sense. Anyway, I am currently using the asthesis.sty file (with hopes I can get help from texhax to make the necessary changes to fix any formatting issues), and I'm also using the apacite package which allows me to use the APA style. I am in the Linguistics field so I'm also using several other packages for printing IPA (International Phonetic Alphabet) characters. Sharon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090404/b9f8f4ce/attachment.html From dorothy.jammins at yahoo.com Sat Apr 4 21:45:16 2009 From: dorothy.jammins at yahoo.com (Dorothy Jammins) Date: Sat, 4 Apr 2009 12:45:16 -0700 (PDT) Subject: [texhax] ASU Thesis/Dissertation Style File In-Reply-To: <8708F863-B978-4490-A75C-CABB4E2D9702@asu.edu> References: <39BF1F21-9A26-4C50-884E-A2A1311D5F13@asu.edu> <49D6CE2B.4030104@gmail.com> <8708F863-B978-4490-A75C-CABB4E2D9702@asu.edu> Message-ID: <629673.61107.qm@web43412.mail.sp1.yahoo.com> >> LaTeX, developed by a former ASU student, So according to them LaTeX was developed in ASU! Anyway many universities are clueless when it comes to preparing a document. I'm in engineering and we were told to avoid latex because it creates many problems and it is difficult to consistently follow the formatting requirements! Of course when the requirement is to *put a 1" space between the top margin and the header by pressing enter 5 times* it goes to show that the formatting guide was prepared by clueless people for clueless people. Similarly doublespacing, left aligned text or one font size for all headers and body text seem to be leftovers from the age of typewriters. >> Anyway, I am currently using the asthesis.sty file (with hopes I can get >> help from texhax to make the necessary changes to fix any formatting issues), If the formatting hasn't changed significantly then this is the best course of action. Otherwise I've found that it is difficult to edit old class files. In my case I found 3 that were 6 to 12 years old but with no comments and a lot of hacks it was really difficult to bring them up to date. An alternative is to use a class that allows heavy customization like memoir. Personally I picked the report class, made some environments for the frontmatter and used some packages like geometry, tocloft, fancyref to finetune formatting. d From millstadtf at gmail.com Sat Apr 4 21:55:40 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Sat, 4 Apr 2009 12:55:40 -0700 Subject: [texhax] ASU Thesis/Dissertation Style File In-Reply-To: <629673.61107.qm@web43412.mail.sp1.yahoo.com> References: <39BF1F21-9A26-4C50-884E-A2A1311D5F13@asu.edu> <49D6CE2B.4030104@gmail.com> <8708F863-B978-4490-A75C-CABB4E2D9702@asu.edu> <629673.61107.qm@web43412.mail.sp1.yahoo.com> Message-ID: <44ff02430904041255i535df739yee0e6e807ee26aee@mail.gmail.com> Purely in the interest of airing grievances, I had a similar problem in my college senior design course. Our papers had to adhere to the AIAA formatting guidelines. Naturally, I looked for (and found) an AIAA LaTeX class on their website and used it in typesetting my first paper. And then my professor complained that my paper was formatted incorrectly. As it turns out, the style file on the AIAA website was out of date, but if you can't trust the Official style file on the Official website, what can you trust? More relevantly, I was able to edit the LaTeX and BibTeX files to get the formatting I wanted, but it wasn't easy (and required a lot of help from this mailing list!), so if you do happen to get it working, please donate it to the school or post it somewhere so that society may benefit. Good Luck! -Bob Wilson On Sat, Apr 4, 2009 at 12:45 PM, Dorothy Jammins wrote: > > >> LaTeX, developed by a former ASU student, > > So according to them LaTeX was developed in ASU! > > Anyway many universities are clueless when it comes to preparing a > document. I'm in engineering and we were told to avoid latex because it > creates many problems and it is difficult to consistently follow the > formatting requirements! Of course when the requirement is to *put a 1" > space between the top margin and the header by pressing enter 5 times* it > goes to show that the formatting guide was prepared by clueless people for > clueless people. Similarly doublespacing, left aligned text or one font size > for all headers and body text seem to be leftovers from the age of > typewriters. > > >> Anyway, I am currently using the asthesis.sty file (with hopes I can get > >> help from texhax to make the necessary changes to fix any formatting > issues), > > If the formatting hasn't changed significantly then this is the best course > of action. Otherwise I've found that it is difficult to edit old class > files. In my case I found 3 that were 6 to 12 years old but with no comments > and a lot of hacks it was really difficult to bring them up to date. An > alternative is to use a class that allows heavy customization like memoir. > Personally I picked the report class, made some environments for the > frontmatter and used some packages like geometry, tocloft, fancyref to > finetune formatting. > > d > > > > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090404/f6e4877a/attachment.html From Thomas.Feuerstack at fernuni-hagen.de Sat Apr 4 10:12:20 2009 From: Thomas.Feuerstack at fernuni-hagen.de (Thomas Feuerstack) Date: Sat, 04 Apr 2009 10:12:20 +0200 Subject: [texhax] [protext] ! LaTeX Error: File `tcilatex.tex' not found. In-Reply-To: <84886.38936.qm@web1209.biz.mail.gq1.yahoo.com> References: <84886.38936.qm@web1209.biz.mail.gq1.yahoo.com> Message-ID: <49D71664.7040708@fernuni-hagen.de> Hi, Dicle Ertan schrieb: > I managed to install MiKTeX and TeXnicCenter > and tested it with some sample documents > which came with the Beginners Guide. They worked fine with no errors and > a nice PDF output. > > I then opened an existing document written in Scientific Word with a > tex extension. > > When I tried to "Build" the document, I got the following error: > > *! LaTeX Error: File `tcilatex.tex' not found.* > > * * > > Is this a file/package that I should have included within the MiKTeX > installation ? AFAIR tcilatex.tex is some special code included in Scientific Word. I'm not quite sure if LaTeX-Code produced bei Scientific Word is compatible with MiKTeX (and every other "normal" TeX-distribution). Regards - Thomas From sam at perseus.hcc.hawaii.edu Sat Apr 4 23:22:18 2009 From: sam at perseus.hcc.hawaii.edu (Sam Rhoads) Date: Sat, 4 Apr 2009 11:22:18 -1000 (HST) Subject: [texhax] ASU Thesis/Dissertation Style File Message-ID: <200904042122.n34LMIgC009043@perseus.hcc.hawaii.edu> Back in the dark ages my school had a policy prohibiting theses done with dot-matrix printers. Then someone told someone on the committee how laser printers worked, and then laser printers were prohibited as well since they used lots of tiny dots. Sam Rhoads > Date: Sat, 4 Apr 2009 12:55:40 -0700 > From: Robert Wilson > To: Dorothy Jammins > Cc: texhax at tug.org, Sharon Baker > Subject: Re: [texhax] ASU Thesis/Dissertation Style File > > Purely in the interest of airing grievances, > I had a similar problem in my college senior design course. Our papers had > to adhere to the AIAA formatting guidelines. Naturally, I looked for (and > found) an AIAA LaTeX class on their website and used it in typesetting my > first paper. And then my professor complained that my paper was formatted > incorrectly. As it turns out, the style file on the AIAA website was out of > date, but if you can't trust the Official style file on the Official > website, what can you trust? > > More relevantly, I was able to edit the LaTeX and BibTeX files to get the > formatting I wanted, but it wasn't easy (and required a lot of help from > this mailing list!), so if you do happen to get it working, please donate it > to the school or post it somewhere so that society may benefit. > > Good Luck! > -Bob Wilson > > > On Sat, Apr 4, 2009 at 12:45 PM, Dorothy Jammins > wrote: > > > > > >> LaTeX, developed by a former ASU student, > > > > So according to them LaTeX was developed in ASU! > > > > Anyway many universities are clueless when it comes to preparing a > > document. I'm in engineering and we were told to avoid latex because it > > creates many problems and it is difficult to consistently follow the > > formatting requirements! Of course when the requirement is to *put a 1" > > space between the top margin and the header by pressing enter 5 times* it > > goes to show that the formatting guide was prepared by clueless people for > > clueless people. Similarly doublespacing, left aligned text or one font size > > for all headers and body text seem to be leftovers from the age of > > typewriters. > > > > >> Anyway, I am currently using the asthesis.sty file (with hopes I can get > > >> help from texhax to make the necessary changes to fix any formatting > > issues), > > > > If the formatting hasn't changed significantly then this is the best course > > of action. Otherwise I've found that it is difficult to edit old class > > files. In my case I found 3 that were 6 to 12 years old but with no comments > > and a lot of hacks it was really difficult to bring them up to date. An > > alternative is to use a class that allows heavy customization like memoir. > > Personally I picked the report class, made some environments for the > > frontmatter and used some packages like geometry, tocloft, fancyref to > > finetune formatting. > > > > d > > From chandru.mcc at gmail.com Sun Apr 5 10:00:15 2009 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Sun, 5 Apr 2009 13:30:15 +0530 Subject: [texhax] Latex2html Message-ID: Hi--- Everyone i have been trying to convert latex2html but i am not able to do that. I have read the guarari file but the .toc file is being produced but when i open it the file doesnt get opened. Please help me to conver this .tex to .html format. I have also tried using the TTH but that isnt good. Chandrasekhar -- "Every action has a past which leads up to it; every action has a future which proceeds from it."- Swami Sivananda -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090405/b50d44b0/attachment.html From karl at freefriends.org Sun Apr 5 19:37:40 2009 From: karl at freefriends.org (Karl Berry) Date: Sun, 5 Apr 2009 12:37:40 -0500 Subject: [texhax] tug2009 call for papers, bursary, early bird registration Message-ID: <200904051737.n35Hbeq02700@f7.net> TUG 2009 will take place in Notre Dame, Indiana, from July 28-31. See http://tug.org/tug2009 for the registration form, maps, the proposals already accepted, and more. April has several deadlines related to the conference: - April 13: deadline for abstract submissions; see http://tug.org/tug2009/cfp.html for the call for papers. Although we may be able to accept proposals after the deadline, of course potential attendees would like to know what they'll be seeing :). So if you'd like to give a talk, please try to submit an abstract by the 13th. - April 17: deadline for bursary applications; see http://tug.org/bursary for information and the application form. No late applications will be accepted. - April 27: deadline for the early bird registration discount. After this, the registration fee will be increased. Register for the conference at http://tug.org/tug2009/register.html (it will redirect you to Notre Dame's web site). Hope to see you there! Karl (on behalf of the conference committee) From RChilling at comcast.net Sun Apr 5 21:53:49 2009 From: RChilling at comcast.net (Randy Schilling) Date: Sun, 5 Apr 2009 14:53:49 -0500 Subject: [texhax] YAP vs. Printing Message-ID: Hello Sir - As an example I am trying to make an 8" by 4" rectangular box centered horizontally in an 8.5'' by 11'' paper using TEX To do this I set horizontal borders of 0'' and vertical borders of /5" then I use the command, \centerline{\bx{\vtop to4in{\hsize=8in\parindent=0pt}\vrule width8in height0pt depth0pt}}, where \bx simply places a box around its argument. Though this is not the main point of my question, if you have any suggestions with regard to my code them please advise. What appears on my YAP previewer is different from what I get when I print the document. When I print the document it comes back with the correct dimensions and is perfectly horizontally centered. What YAP shows is a rectangle of slightly bigger dimensions and, instead of being centered, the rectangle is shifted completely to the right.edge of my paper. Somehow YAP is not configured to be perfectly synchronized. How can I correct this? If this is not your area of expertise then please help me by suggesting who might better be able to answer my question, Randy Schilling 8217 Brimer Road Mabelvale, AR 72103. rchilling at comcast.net (Please note that the S in Schilling is dropped in my email address') (501)565-4010 (501)443-1699 From Jerzy.Ludwichowski at uni.torun.pl Mon Apr 6 13:03:42 2009 From: Jerzy.Ludwichowski at uni.torun.pl (Jerzy Ludwichowski) Date: Mon, 06 Apr 2009 13:03:42 +0200 Subject: [texhax] BachoTeX 2009: the final invitation! Message-ID: <49D9E18E.5070802@uni.torun.pl> Dear GUST and BachoTeX Friends! BachoTeX 2009 is mercilessly coming (http://gust.org.pl/bachotex/2009) :-) We were able to negotiate an extension of the deadline to give the final numbers of the participants with the net effect to have the (well, not so) early-bird-registrations date to become now April 13th, Easter Monday, until midnight. From the conference page the following links are available: -- payments info (behind the "Fees" link), -- the registration form, -- the current list of presentations (there are some abstracts translations missing; work is under way), -- the schedule framework (behind "Schedule"). Please note the following interesting events: -- typography counseling (typographers present at the conference will look at your works and will give invaluable advice -- please use the chance!), -- the already traditional TeX Clinic (http://gust.org.pl/projects/klinika), -- the opportunity to present your small works or samples at poster session stands; time will be allocated to discuss them informally with other attendees, -- BoF sessions on topics which surely will emerge during the conference, -- a series of panel discussions: * TeX: Strengths, Weaknesses, Opportunities, Threats (i.e., SWOT analysis), * TeX: at a turning point, or at the crossroads?, * TeX distributions, -- the 2009 TeX Pearls session (http://www.gust.org.pl/projects/pearls), -- and, of course, singing and having some merry time at the bonfires or inside the huts. I also remind GUST members of the 2009 GUST Annual General meeting (April 30th, Thursday, http://www.gust.org.pl/bachotex/2009/agm.html). Please come, bring your families with you, and enjoy the perhaps last chance to experience BachoTeX at Bachotek, as the Nicolas Copernicus University seems to be trying to sell the place, as today's (April 6th, 2009) local papers have it in their headlines :-( Waiting for you! Jerzy Ludwichowski (on behalf of the Organizing Committee) From mohamed.houssni at e-press.co.ma Mon Apr 6 18:57:27 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Mon, 06 Apr 2009 16:57:27 +0000 Subject: [texhax] footnote with url In-Reply-To: <44ff02430904031026p74b8a91au2a9548d7e3729c0c@mail.gmail.com> References: <49D62F64.5030509@e-press.co.ma> <200904031638.n33GcXsg030739@bilbo.localnet> <49D644EA.7090300@e-press.co.ma> <44ff02430904031026p74b8a91au2a9548d7e3729c0c@mail.gmail.com> Message-ID: <49DA3477.3030205@e-press.co.ma> it works perfectly, thanks for all. Robert Wilson a ?crit : > Hello Sir, > Firstly, be sure you are using the url package or equivalent. > Secondly, be sure to escape all special characters: % in this case, > which is LaTeX's comment character. Try this: > > This is a > test.\footnote{\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne\%20Imaging\%20Sensor\%20-\%20Infrared\%20SPIE\%20Paper\%20_7021-20_.pdf}} > > where you will note I preceded each % with a backslash. > > Happy TeXing! > -Bob Wilson > > On Fri, Apr 3, 2009 at 10:18 AM, Mohamed HOUSSNI > > > wrote: > > Boris Veytsman a ?crit : > > >MH> Date: Fri, 03 Apr 2009 15:46:44 +0000 > >MH> From: Mohamed HOUSSNI > > > > >MH> Dear list, > > > >MH> Please can you help to solve a problem with an \url inserting > in a > >MH> footnte command which contains some special characters. For > example : > > > >MH> > \footnote{\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf}} > > > >\urldef\fancy\url{http://www.teledyne-si.com/infrared_visible_fpas/Teledyne%20Imaging%20Sensor%20-%20Infrared%20SPIE%20Paper%20_7021-20_.pdf} > > > > > >aaa\footnote{\fancy} > > > > > > > Thanks for your response. > > I try this but it does not compile. It gives me the following error > > %%%%%%%%%%%%%%%%%%%%%%%%%%%% > > ! Extra }, or forgotten \endgroup. > \sbox ...hbox {\color at setgroup #2\color at endgroup } > > l.181 ...0Infrared%20SPIE%20Paper%20_7021-20_.pdf} > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > Thanks a lot > > -- > ------------------- > Dr. Mohamed Houssni > Responsable d'Edition > e-Press, > 34, Rue Mustapha El Manfalouti > Quartier Gauthier > Casablanca - Maroc > Phone : 212 (0)22 26 23 21 > Fax : 212 (0)22 26 80 84 > > _______________________________________________ > 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 > > > -- ------------------- Dr. Mohamed Houssni Responsable d'Edition e-Press, 34, Rue Mustapha El Manfalouti Quartier Gauthier Casablanca - Maroc Phone : 212 (0)22 26 23 21 Fax : 212 (0)22 26 80 84 From asnd at triumf.ca Mon Apr 6 19:10:53 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 06 Apr 2009 10:10:53 -0700 Subject: [texhax] YAP vs. Printing In-Reply-To: References: Message-ID: "Randy Schilling" writes: > What appears on my YAP previewer is different from what I get when I print > the document. Check YAP's configuration to select the proper paper size -- the same size as you use in your printer. -- Donald Arseneau asnd at triumf.ca From cbill.lam at gmail.com Tue Apr 7 12:55:48 2009 From: cbill.lam at gmail.com (bill lam) Date: Tue, 7 Apr 2009 18:55:48 +0800 Subject: [texhax] how to set search path of sty Message-ID: <20090407105548.GA3622@debian.b2j> (resend, apologise if duplicated) I installed texlive 2008 from tug and then installed dblatex. When trying to convert a file from docbook to pdf, it complained, Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2008/texmf-dist/tex/latex/base/t1enc.def)) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/inputenc.sty (/usr/local/texlive/2008/texmf-dist/tex/latex/base/latin1.def)) (/usr/local/texlive/2008/texmf-dist/tex/latex/fancybox/fancybox.sty Style option: `fancybox' v1.3 <2000/09/19> (tvz) ) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/makeidx.sty) ! LaTeX Error: File `docbook.sty' not found. Actually that docbook.sty is located inside another place /usr/local/share/dblatex/latex/style/docbook.sty How to configure so that it also use sty outside /usr/local/texlive/2008 ? Thanks in advance. From mohamed.houssni at e-press.co.ma Tue Apr 7 14:26:54 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Tue, 07 Apr 2009 12:26:54 +0000 Subject: [texhax] figures point by point Message-ID: <49DB468E.5060600@e-press.co.ma> Hello, Please is there a technical way to know the figures which displayed point by point ? Thanks a lot for your help. best regards ------------------- Dr. Mohamed Houssni From stolfi at ic.unicamp.br Mon Apr 6 23:44:41 2009 From: stolfi at ic.unicamp.br (Jorge Stolfi) Date: Mon, 6 Apr 2009 18:44:41 -0300 Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? Message-ID: <200904062144.n36Lifgn011948@manaus.ic.unicamp.br> Hello, I need to create a LaTeX style for technical report covers. The cover is to show the institution's logo, which exists only in bitmap form. Normally I would provide the user with two files, the "report.sty" and a "logo.eps" file. However, life would be simpler for users if they had only one file to download. So, is there a way to include the image pixel data (or the contents of the "logo.eps" file) in the "report.sty" file itself? Say, within a largish "\special" command? Thanks, and all the best, --stolfi Jorge Stolfi Institute of Computing State University of Campinas (UNICAMP) From sharon_baker at asu.edu Mon Apr 6 18:16:17 2009 From: sharon_baker at asu.edu (Sharon Baker) Date: Mon, 6 Apr 2009 09:16:17 -0700 Subject: [texhax] URGENT: Will Pay for Written Style File Message-ID: <200904071334.n37DYMc20428@tug.org> Hello All, I really need help because I don't know the first thing about writing a style file. I am willing to pay for someone to write a style file from scratch to meet format guidelines of ASU's Thesis/Dissertation. (Can send a PDF of the format rules). I need a rough draft of the style file to use by Wednesday and then a final maybe week later. I can provide the old asthesis.sty for reference and I can provide the draft of my thesis for checking if the format is correct. Please email me if you are able to help me. I don't have a lot of time... This Thursday I have to submit the draft for format approval which will likely need revisions of format resubmitted a couple of weeks later. If no one responds, I will have to convert my thesis to Word, *aaahhh* and that will not be good... My appreciation, Sharon From yannis.haralambous at telecom-bretagne.eu Tue Apr 7 16:04:54 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Tue, 7 Apr 2009 16:04:54 +0200 Subject: [texhax] Anyone using ledpar? Message-ID: <5E976FB1-267A-4942-B797-63AEC9EA6EA8@telecom-bretagne.eu> I need to typeset parallel texts with critical apparatus. The package parallel works fine for parallel texts but it processes footnotes at then end of each paragraph, and that will often be the wrong page. The package ledpar is advertizing exactly this: parallel texts with critical apparati and footnotes. When I tried it, nothing worked... EIther the documentation is wrong, or ledpar is vaporware. I wrote: \begin{pairs} \begin{Leftside} ... left side text ... \end{Leftside} \begin{Rightside} ... right side text ... \end{Rightside} \Columns \end{pairs} as written in the manual, and I got both texts in a *single* column (instead of two columns). Only when I inserted the command \stanza (taken from ledmac and normally used only for poetry, which is not my case) in the (Left|Right)side environments I got two columns (but also a bunch of error messages). Up to that point the result is satisfying. But footnotes do *not work at all*, they remain inside the text. Has anyone used ledpar with parallel texts *and* footnotes and critical apparatus? I would be very curious to see an example that works. Any other idea about how to solve that problem? It is quite tricky since vertical material is added on both columns as well as from the bottom (footnotes etc.). Thanks in advance Yannis PS. I attach a small test file, illustrating the error messages and the failure of footnote. -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tex Type: application/octet-stream Size: 5533 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090407/8e923c6f/attachment.obj From philip.ratcliffe at uninsubria.it Tue Apr 7 16:07:21 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Tue, 7 Apr 2009 16:07:21 +0200 Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? In-Reply-To: <200904062144.n36Lifgn011948@manaus.ic.unicamp.br> Message-ID: > I need to create a LaTeX style for technical report covers. > The cover is to show the institution's logo, which exists > only in bitmap form. > > Normally I would provide the user with two files, the > "report.sty" and a "logo.eps" file. However, life would be > simpler for users if they had only one file to download. > > So, is there a way to include the image pixel data (or the > contents of the "logo.eps" file) in the "report.sty" file > itself? Say, within a largish "\special" command? You might try lookng at the "filecontents" package. Cheers, Phil From tomfool at as220.org Tue Apr 7 16:30:40 2009 From: tomfool at as220.org (tom sgouros) Date: Tue, 07 Apr 2009 10:30:40 -0400 Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? In-Reply-To: References: Message-ID: <24119.1239114640@as220.org> > > I need to create a LaTeX style for technical report covers. > > The cover is to show the institution's logo, which exists > > only in bitmap form. > > > > Normally I would provide the user with two files, the > > "report.sty" and a "logo.eps" file. However, life would be > > simpler for users if they had only one file to download. > > > > So, is there a way to include the image pixel data (or the > > contents of the "logo.eps" file) in the "report.sty" file > > itself? Say, within a largish "\special" command? > Yes, you can do this. Make a postscript version of the logo, and then you can use a \special command to encapsulate it. I got a file like this from kluwer a few years ago, and have also used the same trick for clients since for exactly the reason you suggest, to make it easier on them. The kluwer file I think you can find by googling kluwer.cls. The beginning of the relevant section looks like this: \logotoks={\special{" 4 4 translate 989 1138 1 [60 0 0 -60 210 930] currentfile /ASCII85Decode filter << /K -1 /Columns 989 >> /CCITTFaxDecode filter image Q>'H49/K0rjdMhW-(A!cb;A.`/DC9EH"NLrmTGB3G`p9Q"2Q+cbR4Nj7'd7dn1Os5 \string$DPm^#D5dp.Sq0)HOI.%W!@rm_0-3j?%po`_0-3j?%VDq_0-W'Fr+S1(LXi_Ye(:I ]*kjT\string$a at 6KL"blG_X2L_CTtEVL"blG_X2L_CTtEVY/9RL]*l%#ln6muG.V%6g?j&" The downside is you are stuck with the tex->dvips->ps2pdf route. (I think -- someone else will correct me if I'm wrong.) I imagine there is some similar trick for pdftex->pdf, but I haven't messed with that. -tom > You might try lookng at the "filecontents" package. > > Cheers, Phil > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net From tonightsthenight at gmail.com Tue Apr 7 17:59:21 2009 From: tonightsthenight at gmail.com (Sam Albers) Date: Tue, 7 Apr 2009 08:59:21 -0700 Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? In-Reply-To: <200904062144.n36Lifgn011948@manaus.ic.unicamp.br> References: <200904062144.n36Lifgn011948@manaus.ic.unicamp.br> Message-ID: This is just an idea and maybe I have misunderstood your request but I know you can use Inkscape to export an .EPS file using the PS tricks macros. So instead of having to send both files, you can send one .tex file with the Inkscape output... Just an idea. On Mon, Apr 6, 2009 at 2:44 PM, Jorge Stolfi wrote: > > Hello, > > I need to create a LaTeX style for technical report covers. The cover > is to show the institution's logo, which exists only in bitmap form. > > Normally I would provide the user with two files, the "report.sty" and > a "logo.eps" file. However, life would be simpler for users if they > had only one file to download. > > So, is there a way to include the image pixel data (or the contents of > the "logo.eps" file) in the "report.sty" file itself? Say, within a > largish "\special" command? > > Thanks, and all the best, > > --stolfi > > Jorge Stolfi > Institute of Computing > State University of Campinas (UNICAMP) > _______________________________________________ > 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: http://tug.org/pipermail/texhax/attachments/20090407/dd2867ac/attachment-0001.html From s.schwartz at imperial.ac.uk Tue Apr 7 19:00:30 2009 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Tue, 07 Apr 2009 18:00:30 +0100 Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? In-Reply-To: References: <200904062144.n36Lifgn011948@manaus.ic.unicamp.br> Message-ID: <1239123630.4665.115.camel@sony-sjs.sp.ph.ic.ac.uk> As another random idea, perhaps there's a way to embed a metapost image within a latex file. I don't use metapost, but I know that it is used mainly to generate separate .mbs files that get included with includegraphics, but perhaps there is a trick to use them in the same way inside a special. The potential advantage is that .mbs files are "purified" eps that can be understood by pdflatex as well as dvips. [I don't know if it is possible to use \special at all in pdflatex, though.] I mention this because the flowchart software Dia, freely available, multi-platform ..., will import a bitmap image and export it as an mbs. The one example I tried it looks like it simply has a draw command for each pixel in the bitmap. This will require a metapost guru and pdflatex guru, but I thought it sufficiently off-the-wall that it might point to something useable. Steve On Tue, 2009-04-07 at 16:59 +0100, Sam Albers wrote: > This is just an idea and maybe I have misunderstood your request but I > know you can use Inkscape to export an .EPS file using the PS tricks > macros. > > So instead of having to send both files, you can send one .tex file > with the Inkscape output... > > Just an idea. > > On Mon, Apr 6, 2009 at 2:44 PM, Jorge Stolfi > wrote: > > Hello, > > I need to create a LaTeX style for technical report covers. > The cover > is to show the institution's logo, which exists only in bitmap > form. > > Normally I would provide the user with two files, the > "report.sty" and > a "logo.eps" file. However, life would be simpler for users if > they > had only one file to download. > > So, is there a way to include the image pixel data (or the > contents of > the "logo.eps" file) in the "report.sty" file itself? Say, > within a > largish "\special" command? > > Thanks, and all the best, > > --stolfi > > Jorge Stolfi > Institute of Computing > State University of Campinas (UNICAMP) > _______________________________________________ > 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 > ***************************************************** -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Head, Space & Atmospheric Physics Fax: +44-(0)20-7594-7900 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 711A London SW7 2AZ, U.K. Web: www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From alan at alphabyte.co.nz Tue Apr 7 21:15:10 2009 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Wed, 8 Apr 2009 07:15:10 +1200 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: <200904071334.n37DYMc20428@tug.org> References: <200904071334.n37DYMc20428@tug.org> Message-ID: Sharon, First thing, stop panicking. Second thing, creating a style file "from scratch" is not trivial and it is very unlikely anyone could do it in that time. Third thing, what's wrong with the current thesis style? What needs changing? There are those on this list that could assist with various changes if required I am sure, but... Fourth thing, you need to be more specific about what you want done. Don't people to respond because you are jumping up and down. Fifth thing, why not post a link to the pdf so others can assist, if they can? So far you have made it difficult for others to help you. Sixth and final thing, umm do you really think threatening to convert it to Word will elicit more urgency in peoples' responses? Alan On 7/04/2009, at 4:16 AM, Sharon Baker wrote: > Hello All, > > I really need help because I don't know the first thing about writing > a style file. > > I am willing to pay for someone to write a style file from scratch to > meet format guidelines of ASU's Thesis/Dissertation. (Can send a PDF > of the format rules). > > I need a rough draft of the style file to use by Wednesday and then a > final maybe week later. > > I can provide the old asthesis.sty for reference and I can provide > the draft of my thesis for checking if the format is correct. > > Please email me if you are able to help me. I don't have a lot of > time... This Thursday I have to submit the draft for format approval > which will likely need revisions of format resubmitted a couple of > weeks later. > > If no one responds, I will have to convert my thesis to Word, > *aaahhh* and that will not be good... > > My appreciation, > > Sharon > _______________________________________________ > 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 Litchfield MBus(Hons), MNZCS AlphaByte PO Box 1941, Auckland, NZ. 1140 http://www.alphabyte.co.nz From toms at ncifcrf.gov Tue Apr 7 21:54:21 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 7 Apr 2009 15:54:21 -0400 (EDT) Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? In-Reply-To: <1239123630.4665.115.camel@sony-sjs.sp.ph.ic.ac.uk> from Steve Schwartz at "Apr 7, 2009 06:00:30 pm" Message-ID: <200904071954.n37JsLO0024787@strawberry.ncifcrf.gov> Jorge: > > Normally I would provide the user with two files, the > > "report.sty" and > > a "logo.eps" file. However, life would be simpler for users if > > they > > had only one file to download. > > > > So, is there a way to include the image pixel data (or the > > contents of > > the "logo.eps" file) in the "report.sty" file itself? Say, > > within a > > largish "\special" command? Normally I would just make a directory and zip that up. But there is an interesting feature of LaTeX described on page 77 of Lamport's book. Before the \documentclass command you can put these things: \begin{filecontents}{name.tex} contents of file \end{filecontents} The file name.tex gets written out! I tried it: \begin{filecontents}{name.tex} contents of file \end{filecontents} \documentclass[12pt]{article} \begin{document} Test of filecontents \input{name.tex} \end{document} LaTeX says: LaTeX Warning: Writing file `./name.tex'. 8-O it worked!! 8^D This is the file written: %% LaTeX2e file `name.tex' %% generated by the `filecontents' environment %% from source `paper' on 2009/04/07. %% contents of file This really appeared in the LaTeX output! The second time it says: LaTeX Warning: File `name.tex' already exists on the system. Not generating it from this source. I was then able to create an eps from the LaTeX source and read it in. to create a graphic. Unfortunately the file created has to be in the current directory, if I write to /tmp/filename it tries to put it in ./tmp/filename. So there is a residue left wherever one runs the LaTeX. I've attached the example. I have not tried to put it in a style file. Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ -------------- next part -------------- \begin{filecontents}{tree.eps} %!PS-Adobe-2.0 EPSF-2.0 %%Title: Fractal Arrow %%Creator: Tom Schneider %%BoundingBox: 60 290 540 670 %%DocumentFonts: %%EndComments %%EndProlog % from the Blue Book, page 74 % variables and procedures /depth 0 def /maxdepth 12 def /down {/depth depth 1 add def} def /up {/depth depth 1 sub def} def /DoLine % print a vertical line {0 144 rlineto currentpoint stroke translate 0 0 moveto} def /FractArrow {gsave .6 .6 scale % reduce scale 20 setlinewidth % set line width down DoLine % print line depth maxdepth le % depth < max depth? { 60 rotate FractArrow -120 rotate FractArrow} if up grestore } def 300 300 moveto 2 2 scale FractArrow stroke %%Trailer %%Pages: 1 \end{filecontents} \documentclass[12pt]{article} \usepackage{graphics} \usepackage{color} \begin{document} 2009 Apr 07 Test of creating and reading tree.eps graphic. See LaTeX, A Document Preparation System, by Leslie Lamport, page 77. \begin{center} {\scalebox{0.50}{\includegraphics*{tree.eps}}} \end{center} \begin{verbatim} Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 schneidt at mail.nih.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ \end{verbatim} \end{document} From elrond at phoe.frmug.org Tue Apr 7 19:34:57 2009 From: elrond at phoe.frmug.org (Bertrand Petit) Date: Tue, 7 Apr 2009 19:34:57 +0200 Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? In-Reply-To: <1239123630.4665.115.camel@sony-sjs.sp.ph.ic.ac.uk> References: <200904062144.n36Lifgn011948@manaus.ic.unicamp.br> <1239123630.4665.115.camel@sony-sjs.sp.ph.ic.ac.uk> Message-ID: <20090407173457.GV392@memo.frmug.org> On Tue, Apr 07, 2009 at 06:00:30PM +0100, Steve Schwartz wrote: > > This will require a metapost guru and pdflatex guru, but I thought it > sufficiently off-the-wall that it might point to something useable. I recommend to use docstrip to ship the class and the associated class within a unique file that can be used to reconstruct the original files (including an eps version of the logotype) on the user computer. See [1] if this solution fits you. [1] -- %!PS 297.6 420.9 translate 90 rotate 0 setgray gsave 0 1 1{pop 0 180 moveto 100 180 170 100 170 -10 curveto 180 -9 180 -9 190 -10 curveto 190 100 100 180 0 180 curveto fill 180 rotate}for grestore/Bookman-LightItalic findfont 240 scalefont setfont -151.536392 -63.7998886 moveto (bp)show showpage From christopherolah.co at gmail.com Wed Apr 8 01:35:53 2009 From: christopherolah.co at gmail.com (Christopher Olah) Date: Tue, 7 Apr 2009 19:35:53 -0400 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: References: <200904071334.n37DYMc20428@tug.org> Message-ID: Greetings Sharon! Extending off what Alan said, it may help if you can include the existing style file (mentioned in your previous email). In fact I just dug out your previous email: >Due to continued formatting errors associated with the style-file >LaTeX, the Format Advising Service does not recommend that students >continue to use it as a style guide. >LaTeX, developed by a former ASU student, is available only on his >personal website and is based on an outdated version of the Format >Manual. The format of theses and dissertations has changed since its >development, and LaTeX no longer meets the basic requirements of a >recommended style guide. The check-box option for LaTeX has been >removed from the Format Approval Sheet, and students are encouraged >to use other style guides such as APA, MLA, Chicago, Turabian, or a >field-specific journal article. Now, the above is clearly written by a person ignorant about LaTeX, however it does say that you can use styles such as APA, MLA, etc which I know there are style files for... Why don't you use those? You may also want to get in contact with this ``Format Advising Service'' and explain LaTeX to them. Also, if you're worried about deadlines, you should probably try to get in contact with the relevant faculty members at your university and explain that your having technical difficulties. I'm not in Academia, but I'd hope that they'd be understanding.... It seems likely that someone will help you, but it may take some time. Best of luck! Christopher PS. Sharon, Allon, I can't seem to remember to respond to the list today... Sorry about duplicates! From stolfi at ic.unicamp.br Wed Apr 8 02:14:22 2009 From: stolfi at ic.unicamp.br (Jorge Stolfi) Date: Tue, 7 Apr 2009 21:14:22 -0300 (BRT) Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? In-Reply-To: <200904071954.n37JsLO0024787@strawberry.ncifcrf.gov> References: <200904071954.n37JsLO0024787@strawberry.ncifcrf.gov> Message-ID: <8a70c4b847197ce869a3fc59c0252364.squirrel@webmail.ic.unicamp.br> To all who gave solutions for my style-and-logo-in-a-single-file problem: many thanks! (Now I have another problem: choosing the best solution. But I should be able to handle that one... 8-) All the best, --stolfi -- Jorge Stolfi Instituto de Computa??o/Institute of Computing UNICAMP From sharon_baker at asu.edu Wed Apr 8 05:15:07 2009 From: sharon_baker at asu.edu (Sharon Baker) Date: Tue, 7 Apr 2009 20:15:07 -0700 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: References: <200904071334.n37DYMc20428@tug.org> Message-ID: I have attached the original style file -------------- next part -------------- A non-text attachment was scrubbed... Name: asthesis.zip Type: application/zip Size: 171733 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090407/7d52dd63/attachment-0001.zip -------------- next part -------------- Sharon On Apr 7, 2009, at 4:35 PM, Christopher Olah wrote: > Greetings Sharon! > > Extending off what Alan said, it may help if you can include the > existing style file (mentioned in your previous email). > > In fact I just dug out your previous email: > >> Due to continued formatting errors associated with the style-file >> LaTeX, the Format Advising Service does not recommend that students >> continue to use it as a style guide. > >> LaTeX, developed by a former ASU student, is available only on his >> personal website and is based on an outdated version of the Format >> Manual. The format of theses and dissertations has changed since its >> development, and LaTeX no longer meets the basic requirements of a >> recommended style guide. The check-box option for LaTeX has been >> removed from the Format Approval Sheet, and students are encouraged >> to use other style guides such as APA, MLA, Chicago, Turabian, or a >> field-specific journal article. > > Now, the above is clearly written by a person ignorant about LaTeX, > however it does say that you can use styles such as APA, MLA, etc > which I know there are style files for... Why don't you use those? > > You may also want to get in contact with this ``Format Advising > Service'' and explain LaTeX to them. > > Also, if you're worried about deadlines, you should probably try to > get in contact with the relevant faculty members at your university > and explain that your having technical difficulties. I'm not in > Academia, but I'd hope that they'd be understanding.... > > It seems likely that someone will help you, but it may take some time. > > Best of luck! > > Christopher > > PS. Sharon, Allon, I can't seem to remember to respond to the list > today... Sorry about duplicates! From uwe.lueck at web.de Wed Apr 8 09:25:05 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 08 Apr 2009 09:25:05 +0200 Subject: [texhax] Anyone using ledpar? In-Reply-To: <5E976FB1-267A-4942-B797-63AEC9EA6EA8@telecom-bretagne.eu> Message-ID: <5.1.0.14.0.20090408090843.0274c9e0@pop3.web.de> Sorry, I cannot go deep into the matter right now (like analysing the sample). I know ledpar only from discussion with Peter Wilson, and I believe that it works. Unfortunately, Peter Wilson has quit maintenance of the package, but perhaps he is willing to send you his test file that convinced him that it worked. There might be an alternative with *ednotes* instead of ledmac ... (I could write a "ledmac-style interface" for ednotes ...) One ednotes user managed to use parallel.sty at the same time, but complained that it was hard work with Perl. And I saw a forum discussion about using parallel.sty with lineno.sty (again, it was not straightforward), which gives some hope for ednotes as well ... I am looking for sponsors so I could clear up the matter ... Good luck, Uwe. At 16:04 07.04.09, Yannis Haralambous wrote: >I need to typeset parallel texts with critical apparatus. The package >parallel works fine for parallel texts but it processes footnotes at >then end of each paragraph, and that will often be the wrong page. The >package ledpar is advertizing exactly this: parallel texts with >critical apparati and footnotes. > >When I tried it, nothing worked... EIther the documentation is wrong, >or ledpar is vaporware. I wrote: > >\begin{pairs} >\begin{Leftside} ... left side text ... \end{Leftside} >\begin{Rightside} ... right side text ... \end{Rightside} >\Columns >\end{pairs} > >as written in the manual, and I got both texts in a *single* column >(instead of two columns). Only when I inserted the command \stanza >(taken from ledmac and normally used only for poetry, which is not my >case) in the (Left|Right)side environments I got two columns (but also >a bunch of error messages). Up to that point the result is satisfying. >But footnotes do *not work at all*, they remain inside the text. > >Has anyone used ledpar with parallel texts *and* footnotes and >critical apparatus? I would be very curious to see an example that >works. > >Any other idea about how to solve that problem? It is quite tricky >since vertical material is added on both columns as well as from the >bottom (footnotes etc.). > >Thanks in advance > >Yannis > >PS. I attach a small test file, illustrating the error messages and >the failure of footnote. > > >_______________________________________________ >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 mohamed.houssni at e-press.co.ma Wed Apr 8 11:50:52 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed, 08 Apr 2009 09:50:52 +0000 Subject: [texhax] hyperlink in PDF Message-ID: <49DC737C.3020700@e-press.co.ma> Hello, I am using the hyperref package to insert hyperlinks in my pdf file produced by latex ------> dvips -------> ps2pdf or distiller but I would like to suppress the hyperlink of footnote. Is there any one have any idea to how to do that ? Thanks a lot for your help. Best regards ------------------- Dr. Mohamed Houssni From vi5u0-texhax at yahoo.co.uk Wed Apr 8 13:03:29 2009 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Wed, 8 Apr 2009 12:03:29 +0100 (BST) Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: References: <200904071334.n37DYMc20428@tug.org> Message-ID: On Tue, 7 Apr 2009, Sharon Baker wrote: > I have attached the original style file One more thought: are any of the people who passed the relevant degree programme last year still around? It could be that one of them has already solved your problem, particularly if you're in (or have contacts in) a department where it's common to have a lot of mathematical content in dissertations. -- HTH, Dan From daleif at imf.au.dk Wed Apr 8 13:19:48 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 08 Apr 2009 13:19:48 +0200 Subject: [texhax] [IC/Admin] Putting image *data* inside a TeX/LaTeX file? In-Reply-To: <200904062144.n36Lifgn011948@manaus.ic.unicamp.br> References: <200904062144.n36Lifgn011948@manaus.ic.unicamp.br> Message-ID: <49DC8854.8040509@imf.au.dk> Jorge Stolfi wrote: > Hello, > > I need to create a LaTeX style for technical report covers. The cover > is to show the institution's logo, which exists only in bitmap form. > > Normally I would provide the user with two files, the "report.sty" and > a "logo.eps" file. However, life would be simpler for users if they > had only one file to download. > > So, is there a way to include the image pixel data (or the contents of > the "logo.eps" file) in the "report.sty" file itself? Say, within a > largish "\special" command? > > Thanks, and all the best, > > --stolfi > > Jorge Stolfi > Institute of Computing > State University of Campinas (UNICAMP) at our University we just got a new logo made of two letters from a special 'graphical' font. Instead of installing a font just to use two letters I just traced it using tikz, no-one can see the difference, so now I don't have to distribute an extra font or some graphics containing the logo in all needed colors. /daleif From will.adams at frycomm.com Wed Apr 8 13:54:03 2009 From: will.adams at frycomm.com (William Adams) Date: Wed, 8 Apr 2009 07:54:03 -0400 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: <200904071334.n37DYMc20428@tug.org> References: <200904071334.n37DYMc20428@tug.org> Message-ID: <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> On Apr 6, 2009, at 12:16 PM, Sharon Baker wrote: > I am willing to pay for someone to write a style file from scratch to > meet format guidelines of ASU's Thesis/Dissertation. (Can send a PDF > of the format rules). > > I need a rough draft of the style file to use by Wednesday and then a > final maybe week later. > > I can provide the old asthesis.sty for reference and I can provide > the draft of my thesis for checking if the format is correct. I'd be interested in seeing the PDF of the format rules (couldn't find it by searching on-line). Have you tried to look over and compare them to the style file to see what the discrepancies are? William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From sharon_baker at asu.edu Wed Apr 8 18:30:04 2009 From: sharon_baker at asu.edu (Sharon Baker) Date: Wed, 8 Apr 2009 09:30:04 -0700 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: References: <200904071334.n37DYMc20428@tug.org> Message-ID: <275D60A8-B135-41CC-BD97-CF080B53D4F0@asu.edu> Unfortunately, I don't know of anyone who has graduated and has used LaTeX for their thesis/dissertation, and in the Linguistics department, I'll bet most people use Word. On Apr 8, 2009, at 4:03 AM, Dan Hatton wrote: > On Tue, 7 Apr 2009, Sharon Baker wrote: > >> I have attached the original style file > > One more thought: are any of the people who passed the relevant degree > programme last year still around? It could be that one of them has > already solved your problem, particularly if you're in (or have > contacts in) a department where it's common to have a lot of > mathematical content in dissertations. > > -- > > HTH, > > Dan > _______________________________________________ > 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 sharon_baker at asu.edu Wed Apr 8 18:33:49 2009 From: sharon_baker at asu.edu (Sharon Baker) Date: Wed, 8 Apr 2009 09:33:49 -0700 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> References: <200904071334.n37DYMc20428@tug.org> <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> Message-ID: You can find it here. I had attached it to the very first email, but the admin had to delete it because he thought it might be too large and might not get to some of your inboxes. My apologies for that. I realized later I should have included the link. http://graduate.asu.edu/formatmanual.html Sharon On Apr 8, 2009, at 4:54 AM, William Adams wrote: > On Apr 6, 2009, at 12:16 PM, Sharon Baker wrote: > >> I am willing to pay for someone to write a style file from scratch to >> meet format guidelines of ASU's Thesis/Dissertation. (Can send a PDF >> of the format rules). >> >> I need a rough draft of the style file to use by Wednesday and then a >> final maybe week later. >> >> I can provide the old asthesis.sty for reference and I can provide >> the draft of my thesis for checking if the format is correct. > > > I'd be interested in seeing the PDF of the format rules (couldn't > find it by searching on-line). > > Have you tried to look over and compare them to the style file to > see what the discrepancies are? > > William > > -- > William Adams > senior graphic designer > Fry Communications > Sphinx of black quartz, judge my vow. > From will.adams at frycomm.com Wed Apr 8 19:13:23 2009 From: will.adams at frycomm.com (William Adams) Date: Wed, 8 Apr 2009 13:13:23 -0400 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: References: <200904071334.n37DYMc20428@tug.org> <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> Message-ID: <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> On Apr 8, 2009, at 12:33 PM, Sharon Baker wrote: > You can find it here. I had attached it to the very first email, but > the admin had to delete it because he thought it might be too large > and might not get to some of your inboxes. My apologies for that. I > realized later I should have included the link. > > http://graduate.asu.edu/formatmanual.html Thanks. Looking at it, it's kind of hard to take seriously given that it includes bad links like: http://graduate.asu.edu/format/UsingStlGds.html (apparently that should be http://graduate.asu.edu/recstyleguides.html ) Which begs the question of what your major of study is. especially when one of the bad links is to: http://graduate.asu.edu/format/FMchanges.html Rather seems important for that to be up-to-date. Also when it has contradictions like: ``You cannot rely on other theses and dissertations?whether library or departmental copies?to format your document. Someone else?s document is not an acceptable style guide.'' Yet they suggest when using a style guide from a journal to sample an article and provide that as an example. I suspect that just adding \usepackage{mathptmx} will get one most of the way there --- certainly it'll change the look sufficiently that they won't realize that it was done using LaTeX. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From sharon_baker at asu.edu Wed Apr 8 19:30:58 2009 From: sharon_baker at asu.edu (Sharon Baker) Date: Wed, 8 Apr 2009 10:30:58 -0700 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> References: <200904071334.n37DYMc20428@tug.org> <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> Message-ID: Well there you have it. I didn't mind the whole thesis writing process (I'm in the Applied Linguistics Masters program), but I really do loathe that I have to go through this stupid, idiotic format approval. This has been the worst part of my ASU experience, knowing that I have to follow guidelines that are completely absurd. On Wed, Apr 8, 2009 at 10:13 AM, William Adams wrote: > On Apr 8, 2009, at 12:33 PM, Sharon Baker wrote: > > You can find it here. I had attached it to the very first email, but >> the admin had to delete it because he thought it might be too large >> and might not get to some of your inboxes. My apologies for that. I >> realized later I should have included the link. >> >> http://graduate.asu.edu/formatmanual.html >> > > Thanks. > > Looking at it, it's kind of hard to take seriously given that it includes > bad links like: > > http://graduate.asu.edu/format/UsingStlGds.html > > (apparently that should be http://graduate.asu.edu/recstyleguides.html ) > > > Which begs the question of what your major of study is. > > especially when one of the bad links is to: > > http://graduate.asu.edu/format/FMchanges.html > > Rather seems important for that to be up-to-date. > > Also when it has contradictions like: > > ``You cannot rely on other theses and dissertations?whether > library or departmental copies?to format your document. > Someone else?s document is not an acceptable style guide.'' > > Yet they suggest when using a style guide from a journal to sample an > article and provide that as an example. > > I suspect that just adding \usepackage{mathptmx} will get one most of the > way there --- certainly it'll change the look sufficiently that they won't > realize that it was done using LaTeX. > > > William > > -- > William Adams > senior graphic designer > Fry Communications > Sphinx of black quartz, judge my vow. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090408/c016c751/attachment.html From will.adams at frycomm.com Wed Apr 8 20:37:58 2009 From: will.adams at frycomm.com (William Adams) Date: Wed, 8 Apr 2009 14:37:58 -0400 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: References: <200904071334.n37DYMc20428@tug.org> <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> Message-ID: On Apr 8, 2009, at 1:30 PM, Sharon Baker wrote: > Well there you have it. I didn't mind the whole thesis writing > process (I'm in the Applied Linguistics Masters program), Well you should be able to use the APA style then: http://www.ctan.org/tex-archive/macros/latex/contrib/apa/ or MLA: http://www.ctan.org/tex-archive/macros/latex/contrib/mla-paper/ I'm sure that if you just use whichever of the above is the best fit and add \usepackage{mathptmx} and tell them it was formatted in the appropriate size of ``Times New Roman'' you'll at least get far enough for them to give you specific feedback on what needs to be changed. (Seems to me if they're going to say other styles are acceptable, but the ASU formatting rules over-ride then they should have a list of what the exceptions are for each style) > but I really do loathe that I have to go through this stupid, > idiotic format approval. 's what happens when one regulates things by committee. > This has been the worst part of my ASU experience, knowing that I > have to follow guidelines that are completely absurd. At one time, each of them had a meaning and purpose, and probably they intend for them still to have a purpose, but it's lost in ignorant tradition. Good luck! William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From reinhard.kotucha at web.de Thu Apr 9 00:40:48 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 9 Apr 2009 00:40:48 +0200 Subject: [texhax] how to set search path of sty In-Reply-To: <20090407105548.GA3622@debian.b2j> References: <20090407105548.GA3622@debian.b2j> Message-ID: <18909.10224.534266.797750@zaphod.ms25.net> On 7 April 2009 bill lam wrote: > (resend, apologise if duplicated) > > I installed texlive 2008 from tug and then installed dblatex. When > trying to convert a file from docbook to pdf, it complained, > > Document Class: article 2005/09/16 v1.4f Standard LaTeX document class > (/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo)) > (/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty > (/usr/local/texlive/2008/texmf-dist/tex/latex/base/t1enc.def)) > (/usr/local/texlive/2008/texmf-dist/tex/latex/base/inputenc.sty > (/usr/local/texlive/2008/texmf-dist/tex/latex/base/latin1.def)) > (/usr/local/texlive/2008/texmf-dist/tex/latex/fancybox/fancybox.sty > Style option: `fancybox' v1.3 <2000/09/19> (tvz) > ) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/makeidx.sty) > > ! LaTeX Error: File `docbook.sty' not found. > > > Actually that docbook.sty is located inside another place > > /usr/local/share/dblatex/latex/style/docbook.sty > > How to configure so that it also use sty outside /usr/local/texlive/2008 ? Please look into "texmf/web2c/texmf.cnf". The comments in this file are quite useful. You probably have to add the path to docbook.sty there. However, the TeX Live manaul provides some useful information too. And if you type "info kpathsea" on the command line, you'll get some invaluable information about how this quite complex TeX system works. Whenever you add a new file, you also have to run "texhash" in order to update the file database. 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 yannis.haralambous at telecom-bretagne.eu Thu Apr 9 13:42:33 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Thu, 9 Apr 2009 13:42:33 +0200 Subject: [texhax] Anyone using ledpar? In-Reply-To: <5.1.0.14.0.20090408090843.0274c9e0@pop3.web.de> References: <5.1.0.14.0.20090408090843.0274c9e0@pop3.web.de> Message-ID: thanks for your answer. The question is: if I use parallel.sty together with ednotes.sty, will footnotes be processed at environment end or when the footnotes actually appear? That's the only problem I have with parallel, otherwise it works just fine. Le 8 avr. 09 ? 09:25, Uwe L?ck a ?crit : > Sorry, I cannot go deep into the matter right now (like analysing > the sample). > > I know ledpar only from discussion with Peter Wilson, and I believe > that it works. > > Unfortunately, Peter Wilson has quit maintenance of the package, but > perhaps he is willing to send you his test file that convinced him > that it worked. > > There might be an alternative with *ednotes* instead of ledmac ... > (I could write a "ledmac-style interface" for ednotes ...) One > ednotes user managed to use parallel.sty at the same time, but > complained that it was hard work with Perl. And I saw a forum > discussion about using parallel.sty with lineno.sty (again, it was > not straightforward), which gives some hope for ednotes as well ... > I am looking for sponsors so I could clear up the matter ... > > Good luck, > > Uwe. > > At 16:04 07.04.09, Yannis Haralambous wrote: >> I need to typeset parallel texts with critical apparatus. The package >> parallel works fine for parallel texts but it processes footnotes at >> then end of each paragraph, and that will often be the wrong page. >> The >> package ledpar is advertizing exactly this: parallel texts with >> critical apparati and footnotes. >> >> When I tried it, nothing worked... EIther the documentation is wrong, >> or ledpar is vaporware. I wrote: >> >> \begin{pairs} >> \begin{Leftside} ... left side text ... \end{Leftside} >> \begin{Rightside} ... right side text ... \end{Rightside} >> \Columns >> \end{pairs} >> >> as written in the manual, and I got both texts in a *single* column >> (instead of two columns). Only when I inserted the command \stanza >> (taken from ledmac and normally used only for poetry, which is not my >> case) in the (Left|Right)side environments I got two columns (but >> also >> a bunch of error messages). Up to that point the result is >> satisfying. >> But footnotes do *not work at all*, they remain inside the text. >> >> Has anyone used ledpar with parallel texts *and* footnotes and >> critical apparatus? I would be very curious to see an example that >> works. >> >> Any other idea about how to solve that problem? It is quite tricky >> since vertical material is added on both columns as well as from the >> bottom (footnotes etc.). >> >> Thanks in advance >> >> Yannis >> >> PS. I attach a small test file, illustrating the error messages and >> the failure of footnote. >> >> >> _______________________________________________ >> TeX FAQ: http://www.tex.ac.uk/faq >> Mailing list archives: http://tug.org/pipermail/texhax/ >> More links: http://tug.org/begin.html >> >> Automated subscription management: http://tug.org/mailman/listinfo/texhax >> Human mailing list managers: postmaster at tug.org > -- + -----------------------------------------------------------------------+ | Yannis Haralambous, Ph.D. yannis.haralambous at telecom- bretagne.eu | | Directeur d'?tudes http://omega.enstb.org/ yannis | | Tel. +33 (0)2.29.00.14.27 | | Fax +33 (0)2.29.00.12.82 | | D?partement Informatique | | T?l?com Bretagne | | Technop?le de Brest Iroise, CS 83818, 29238 Brest Cedex 3, France | | Coordonn?es Google-Earth : 48?21'31.57"N 4?34'16.76"W | + -----------------------------------------------------------------------+ ...pour distinguer l'ext?rieur d'un aquarium, mieux vaut n'?tre pas poisson ...the ball I threw while playing in the park has not yet reached the ground Es gab eine Zeit, wo ich nur ungern ?ber Schubert sprechen, nur N?chtens den B?umen und Sternen von ihm vorerz?hlen m?gen. -------------- next part -------------- A non-text attachment was scrubbed... Name: Yannis Haralambous.vcf Type: text/directory Size: 508 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090409/d9a53d20/attachment.bin -------------- next part -------------- From brown_emu at yahoo.com Thu Apr 9 09:47:26 2009 From: brown_emu at yahoo.com (Stephen Tucker) Date: Thu, 9 Apr 2009 00:47:26 -0700 (PDT) Subject: [texhax] using align, array, eqnarry within tabular environment Message-ID: <101422.19804.qm@web39703.mail.mud.yahoo.com> Hi list, I have a question regarding the use of align, array, or eqnarray within a table created by tabular. Align works fine by itself, or within a minipage. For example: =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} x \protect & = y+1 \\ z \protect & = 2 x \end{align*} \end{document} =================================== However, the following (- align nested within tabular -) gives ! LaTeX Error: \begin{document} ended by \end{tabular}. ! Missing $ inserted. and so on... =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{cc} \begin{minipage}{2in} \flushleft text \end{minipage} & \begin{align*} x & = y+1 \\ z & = 2 x \end{align*} \end{tabular} \end{document} ================================== Even if I try to put \protect in front of & and \\, it still has problems, and putting \protect{\begin{align*}...\end{align*}} will put the statement on the next line rather than in the second column of the table, as I desire. Does anyone know how to get around this behavior? Thanks very much in advance, Stephen From uwe.lueck at web.de Thu Apr 9 16:36:14 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Thu, 09 Apr 2009 16:36:14 +0200 Subject: [texhax] Anyone using ledpar? In-Reply-To: References: <5.1.0.14.0.20090408090843.0274c9e0@pop3.web.de> <5.1.0.14.0.20090408090843.0274c9e0@pop3.web.de> Message-ID: <5.1.0.14.0.20090409162052.0313c1d0@pop3.web.de> At 13:42 09.04.09, Yannis Haralambous wrote: >thanks for your answer. The question is: if I use parallel.sty >together with ednotes.sty, will footnotes be processed at environment >end or when the footnotes actually appear? That's the only problem I >have with parallel, otherwise it works just fine. 1. Try parallel with ordinary footnotes. ednotes uses manyfoot for the critical apparatus, and manyfoot's footnotes go just to where ordinary footnotes go. Does anybody else know from experience? 2. Google for `Quod nihil scitur forsan', you find a page of a parallel Latin-German edition of Franciscus Sanchez' text. Scroll to the bottom of the page: There are critical footnotes. As I understood Sergei Mariev who made the Latin text this was made with ednotes and parallel. But I am asking him for confirmation. I am also suggesting this googling because I find the design interesting. The book is the last item of www.webdesign-bu.de/uwe_lueck/ednworks.html where you find additional information (in English) about it. All the best, Uwe. From cbill.lam at gmail.com Thu Apr 9 16:40:24 2009 From: cbill.lam at gmail.com (bill lam) Date: Thu, 9 Apr 2009 22:40:24 +0800 Subject: [texhax] how to set search path of sty In-Reply-To: <18909.10224.534266.797750@zaphod.ms25.net> References: <20090407105548.GA3622@debian.b2j> <18909.10224.534266.797750@zaphod.ms25.net> Message-ID: <20090409144024.GA3637@debian.b2j> On Thu, 09 Apr 2009, Reinhard Kotucha wrote: > Please look into "texmf/web2c/texmf.cnf". The comments in this file > are quite useful. You probably have to add the path to docbook.sty > there. However, the TeX Live manaul provides some useful > information too. And if you type "info kpathsea" on the command line, > you'll get some invaluable information about how this quite complex > TeX system works. Thank you for the pointer. That info kpathsea needs some time to digest. -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ??256 ?? ??????? ????? ????? ????? ????? From mohamed.houssni at e-press.co.ma Thu Apr 9 17:11:34 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Thu, 09 Apr 2009 15:11:34 +0000 Subject: [texhax] cuted package Message-ID: <49DE1026.4080806@e-press.co.ma> Hello, I am using "cuted" style to generate my one column maketitle in a two column file but I have problems with footnote inside maketitle. Anyone have an idea ? Thanks a lot Best regards -- ------------------- Dr. Mohamed Houssni Responsable d'Edition e-Press, 34, Rue Mustapha El Manfalouti Quartier Gauthier Casablanca - Maroc Phone : 212 (0)22 26 23 21 Fax : 212 (0)22 26 80 84 From bnb at ams.org Thu Apr 9 17:25:26 2009 From: bnb at ams.org (Barbara Beeton) Date: Thu, 9 Apr 2009 11:25:26 -0400 (EDT) Subject: [texhax] using align, array, eqnarry within tabular environment In-Reply-To: <101422.19804.qm@web39703.mail.mud.yahoo.com> References: <101422.19804.qm@web39703.mail.mud.yahoo.com> Message-ID: On Thu, 9 Apr 2009, Stephen Tucker wrote: I have a question regarding the use of align, array, or eqnarray within a table created by tabular. Align works fine by itself, or within a minipage. For example: =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} x \protect & = y+1 \\ z \protect & = 2 x \end{align*} \end{document} =================================== However, the following (- align nested within tabular -) gives ! LaTeX Error: \begin{document} ended by \end{tabular}. ! Missing $ inserted. and so on... =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{cc} \begin{minipage}{2in} \flushleft text \end{minipage} & \begin{align*} x & = y+1 \\ z & = 2 x \end{align*} \end{tabular} \end{document} ================================== Even if I try to put \protect in front of & and \\, it still has problems, and putting \protect{\begin{align*}...\end{align*}} will put the statement on the next line rather than in the second column of the table, as I desire. Does anyone know how to get around this behavior? Thanks very much in advance, the align environment works only at "outer" level (which can be directly within a minipage); it cannot be used within any other environment, particularly within another display environment. instead, use the aligned environment: =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{cc} \begin{minipage}{2in} \flushleft text \end{minipage} & $\begin{aligned} x & = y+1 \\ z & = 2 x \end{aligned}$ \end{tabular} \end{document} ================================== see the section on "alignment building blocks" in the amsmath user's guide (amsldoc.pdf), p.7. any of these subsidiary environments must be in math mode. -- bb From herries.press at earthlink.net Thu Apr 9 15:11:13 2009 From: herries.press at earthlink.net (peter wilson) Date: Thu, 09 Apr 2009 09:11:13 -0400 Subject: [texhax] Anyone using ledpar? In-Reply-To: <5E976FB1-267A-4942-B797-63AEC9EA6EA8@telecom-bretagne.eu> References: <5E976FB1-267A-4942-B797-63AEC9EA6EA8@telecom-bretagne.eu> Message-ID: <49DDF3F1.7020106@earthlink.net> Yannis Haralambous wrote: > I need to typeset parallel texts with critical apparatus. The package > parallel works fine for parallel texts but it processes footnotes at > then end of each paragraph, and that will often be the wrong page. The > package ledpar is advertizing exactly this: parallel texts with > critical apparati and footnotes. > > When I tried it, nothing worked... EIther the documentation is wrong, > or ledpar is vaporware. I wrote: > > \begin{pairs} > \begin{Leftside} ... left side text ... \end{Leftside} > \begin{Rightside} ... right side text ... \end{Rightside} > \Columns > \end{pairs} > > as written in the manual, and I got both texts in a *single* column > (instead of two columns). Only when I inserted the command \stanza > (taken from ledmac and normally used only for poetry, which is not my > case) in the (Left|Right)side environments I got two columns (but also > a bunch of error messages). Up to that point the result is satisfying. > But footnotes do *not work at all*, they remain inside the text. > > Has anyone used ledpar with parallel texts *and* footnotes and critical > apparatus? I would be very curious to see an example that works. > > Any other idea about how to solve that problem? It is quite tricky > since vertical material is added on both columns as well as from the > bottom (footnotes etc.). > > Thanks in advance > > Yannis > > PS. I attach a small test file, illustrating the error messages and the > failure of footnote. > > Vaporware? The documentation includes three complete examples, two of which were provided by a user. I have attached a corrected and extended version of your test file. I don't see how you expect things to work if you can't spell macro names correctly and miss out some required macros, like \beginnumbering. It's a pity that you did not read the documentation more carefully, examine the examples and attempt to understand the error messages. In the future consider that the fault might lie with you. Goodbye Peter W. -------------- next part -------------- A non-text attachment was scrubbed... Name: test_ledpar.tex Type: text/x-tex Size: 11161 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090409/5eeea782/attachment-0001.bin From yannis.haralambous at telecom-bretagne.eu Thu Apr 9 19:53:04 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Thu, 9 Apr 2009 19:53:04 +0200 Subject: [texhax] Anyone using ledpar? In-Reply-To: <49DDF3F1.7020106@earthlink.net> References: <5E976FB1-267A-4942-B797-63AEC9EA6EA8@telecom-bretagne.eu> <49DDF3F1.7020106@earthlink.net> Message-ID: I sincerely (and publicly) apolodgidze for the term "vaporware", it was impolite and stupid of me. In your documentation (of ledpar) you say that it suffices to write \begin{Leftside} ... \end{Leftside} \begin{Rightside} ... \end{Rightside} \Columns to obtain two columns. This is *not* the case, since I obtain only one column, and this time I'm sure that there is no error in the environment and macro names. I obtained two columns by adding the \stanza command, and this one is not mentioned in the ledpar documentation but in the one of ledmac. And this command also produces a bunch of error messages (and this is the reason why I didn't detected the error in the footnote macro name). Mea culpa for the error in the footnote macro name. But you must admit that something is missing in the ledpar documentation, however carefully I read it. Sorry again for offending you, it wasn't my intention. Le 9 avr. 09 ? 15:11, peter wilson a ?crit : > Yannis Haralambous wrote: >> I need to typeset parallel texts with critical apparatus. The >> package parallel works fine for parallel texts but it processes >> footnotes at then end of each paragraph, and that will often be >> the wrong page. The package ledpar is advertizing exactly this: >> parallel texts with critical apparati and footnotes. >> When I tried it, nothing worked... EIther the documentation is >> wrong, or ledpar is vaporware. I wrote: >> \begin{pairs} >> \begin{Leftside} ... left side text ... \end{Leftside} >> \begin{Rightside} ... right side text ... \end{Rightside} >> \Columns >> \end{pairs} >> as written in the manual, and I got both texts in a *single* >> column (instead of two columns). Only when I inserted the command >> \stanza (taken from ledmac and normally used only for poetry, >> which is not my case) in the (Left|Right)side environments I got >> two columns (but also a bunch of error messages). Up to that point >> the result is satisfying. But footnotes do *not work at all*, they >> remain inside the text. >> Has anyone used ledpar with parallel texts *and* footnotes and >> critical apparatus? I would be very curious to see an example that >> works. >> Any other idea about how to solve that problem? It is quite tricky >> since vertical material is added on both columns as well as from >> the bottom (footnotes etc.). >> Thanks in advance >> Yannis >> PS. I attach a small test file, illustrating the error messages >> and the failure of footnote. > > Vaporware? The documentation includes three complete examples, > two of which were provided by a user. > > I have attached a corrected and extended version of your test > file. I don't see how you expect things to work if you can't spell > macro names correctly and miss out some required macros, like > \beginnumbering. It's a pity that you did not read the documentation > more carefully, examine the examples and attempt to understand the > error messages. > > In the future consider that the fault might lie with you. > > Goodbye > Peter W. > > > > \documentclass{article} > \usepackage{ledmac,ledpar} > %%\footparagraphX{A} % PW deleted > \footparagraph{A} % PW added > \begin{document} > > features it differs from any compilation that has yet been made. Its > main purpose is to present to American households a mass of good > reading. But it goes much beyond this. For in selecting this reading > it > draws upon all literatures of all time and of every race, and thus > becomes a conspectus of the thought and intellectual evolution of man > from the beginning. Another and scarcely less important purpose is the > interpretation of this literature in essays by scholars and authors > competent to speak with authority. > > \begin{pairs} > \setstanzaindents{0,0,0,0,0,0,0,0,0} > \setlength{\columnrulewidth}{0pt} > \setlength{\Lcolwidth}{0.485\textwidth} > \setlength{\Rcolwidth}{\Lcolwidth} > > \begin{Leftside} > \beginnumbering \pstart % PW added > %\stanza > The title, "A Library of the World's Best Literature," is strictly > descriptive. It means that what is offered to the reader is taken from > the best authors, and is fairly representative of the best literature > and of all literatures. It may be important historically, or because > at > one time it expressed the thought and feeling of a nation, or > because it > has the character of universality, or because the readers of to-day > will > find it instructive, entertaining, or amusing. The Work aims to suit a > great variety of tastes, and thus to commend itself as a household > companion for any mood and any hour. There is no intention of > presenting > \pend \endnumbering % PW added > \end{Leftside} > > \begin{Rightside} > \beginnumbering \pstart % PW added > %\stanza > merely a mass of historical material, however important it is in its > place, which is commonly of the sort that people recommend others to > read and do not read themselves. It is not a library of reference > only, > but a library to be read. The selections do not represent the > partialities and prejudices and cultivation of any one person, or of a > group of editors even; but, under the necessary editorial supervision, > the sober judgment of almost as many minds as have assisted in the > preparation of these volumes. By this method, breadth of appreciation > has been sought. > \pend \endnumbering % PW added > \end{Rightside} > > \Columns > > \begin{Leftside} > \beginnumbering \pstart % PW added > %\stanza > The arrangement is not chronological, but alphabetical, under the > names > of the authors, and, in some cases, of literatures and special > subjects. Thus, in each volume a certain variety is secured, the > heaviness or sameness of a mass of antique, classical, or mediaeval > material is avoided, and the reader obtains a sense of the varieties > and > contrasts of different periods. But the work is not an > encyclopaedia, or > merely a dictionary of authors. Comprehensive information as to all > writers of importance may be included in a supplementary reference > volume; but the attempt to quote from all would destroy the Work for > reading purposes, and reduce it to a herbarium of specimens. > \pend \endnumbering % PW added > \end{Leftside} > > \begin{Rightside} > \beginnumbering \pstart % PW added > %\stanza > In order to present a view\edtext{blabla}{\lemma{blibli}% > %%\Afoonote{oui oui oui.}} % PW fixed typo > \Afootnote{oui oui oui.}} > of the entire literary field, and to make > these volumes especially useful to persons who have not access to > large > libraries, as well as to treat certain literatures or subjects when > the > names of writers are unknown or would have no significance to the > reader, it has been found necessary to make groups of certain > nationalities, periods, and special topics. For instance, if the > reader > would like to know something of ancient and remote literatures which > cannot well be treated under the alphabetical list of authors, he will > find special essays by competent scholars on the Accadian-Babylonian > literature, on the Egyptian, the Hindu, the Chinese, the Japanese, the > Icelandic, the Celtic, and others, followed by selections many of > which > have been specially translated for this Work. In these literatures > names > of ascertained authors are given in the Index. The intention of the > essays is to acquaint the reader with the spirit, purpose, and > tendency > of these writings, in order that he may have a comparative view of the > continuity of thought and the value of tradition in the world. Some > subjects, like the Arthurian Legends, the Nibelungen Lied, the Holy > Grail, Provenal Poetry, the Chansons and Romances, and the Gesta > Romanorum, receive a similar treatment. Single poems upon which the > authors' title to fame mainly rests, familiar and dear hymns, and > occasional and modern verse of value, are also grouped together > under an > appropriate heading, with reference in the Index whenever the poet > is known. > \pend \endnumbering % PW added > \end{Rightside} > > \Columns > > \end{pairs} > > It will thus be evident to the reader that the Library is fairly > comprehensive and representative, and that it has an educational > value, > while offering constant and varied entertainment. This comprehensive > feature, which gives the Work distinction, is, however, supplemented > by > another of scarcely less importance; namely, the critical interpretive > and biographical comments upon the authors and their writings and > their > place in literature, not by one mind, or by a small editorial staff, > but > by a great number of writers and scholars, specialists and literary > critics, who are able to speak from knowledge and with authority. Thus > the Library becomes in a way representative of the scholarship and > wide > judgment of our own time. But the essays have another value. They give > information for the guidance of the reader. If he becomes interested > in > any selections here given, and would like a fuller knowledge of the > author's works, he can turn to the essay and find brief observations > and > characterizations which will assist him in making his choice of books > from a library. > > > \begin{pairs} > \setstanzaindents{0,0,0,0,0,0,0,0,0} > \setlength{\columnrulewidth}{0pt} > %\setlength{\Lcolwidth}{0.485\textwidth} > \setlength{\Lcolwidth}{\textwidth} > \setlength{\Rcolwidth}{\Lcolwidth} > > \begin{Leftside} > \beginnumbering \pstart % PW added > %\stanza > The title, "A Library of the World's Best Literature," is strictly > descriptive. It means that what is offered to the reader is taken from > the best authors, and is fairly representative of the best literature > and of all literatures. It may be important historically, or because > at > one time it expressed the thought and feeling of a nation, or > because it > has the character of universality, or because the readers of to-day > will > find it instructive, entertaining, or amusing. The Work aims to suit a > great variety of tastes, and thus to commend itself as a household > companion for any mood and any hour. There is no intention of > presenting > \pend \endnumbering % PW added > \end{Leftside} > > \begin{Rightside} > \beginnumbering \pstart % PW added > %\stanza > merely a mass of historical material, however important it is in its > place, which is commonly of the sort that people recommend others to > read and do not read themselves. It is not a library of reference > only, > but a library to be read. The selections do not represent the > partialities and prejudices and cultivation of any one person, or of a > group of editors even; but, under the necessary editorial supervision, > the sober judgment of almost as many minds as have assisted in the > preparation of these volumes. By this method, breadth of appreciation > has been sought. > \pend \endnumbering % PW added > \end{Rightside} > > \Pages > > \begin{Leftside} > \beginnumbering \pstart % PW added > %\stanza > The arrangement is not chronological, but alphabetical, under the > names > of the authors, and, in some cases, of literatures and special > subjects. Thus, in each volume a certain variety is secured, the > heaviness or sameness of a mass of antique, classical, or mediaeval > material is avoided, and the reader obtains a sense of the varieties > and > contrasts of different periods. But the work is not an > encyclopaedia, or > merely a dictionary of authors. Comprehensive information as to all > writers of importance may be included in a supplementary reference > volume; but the attempt to quote from all would destroy the Work for > reading purposes, and reduce it to a herbarium of specimens. > \pend \endnumbering % PW added > \end{Leftside} > > \begin{Rightside} > \beginnumbering \pstart % PW added > %\stanza > In order to present a view\edtext{blabla}{\lemma{blibli}% > %%\Afoonote{oui oui oui.}} % PW fixed typo > \Afootnote{oui oui oui.}} > of the entire literary field, and to make > these volumes especially useful to persons who have not access to > large > libraries, as well as to treat certain literatures or subjects when > the > names of writers are unknown or would have no significance to the > reader, it has been found necessary to make groups of certain > nationalities, periods, and special topics. For instance, if the > reader > would like to know something of ancient and remote literatures which > cannot well be treated under the alphabetical list of authors, he will > find special essays by competent scholars on the Accadian-Babylonian > literature, on the Egyptian, the Hindu, the Chinese, the Japanese, the > Icelandic, the Celtic, and others, followed by selections many of > which > have been specially translated for this Work. In these literatures > names > of ascertained authors are given in the Index. The intention of the > essays is to acquaint the reader with the spirit, purpose, and > tendency > of these writings, in order that he may have a comparative view of the > continuity of thought and the value of tradition in the world. Some > subjects, like the Arthurian Legends, the Nibelungen Lied, the Holy > Grail, Provenal Poetry, the Chansons and Romances, and the Gesta > Romanorum, receive a similar treatment. Single poems upon which the > authors' title to fame mainly rests, familiar and dear hymns, and > occasional and modern verse of value, are also grouped together > under an > appropriate heading, with reference in the Index whenever the poet > is known. > \pend \endnumbering % PW added > \end{Rightside} > > \Pages > > \end{pairs} > > It will thus be evident to the reader that the Library is fairly > comprehensive and representative, and that it has an educational > value, > while offering constant and varied entertainment. This comprehensive > feature, which gives the Work distinction, is, however, supplemented > by > another of scarcely less importance; namely, the critical interpretive > and biographical comments upon the authors and their writings and > their > place in literature, not by one mind, or by a small editorial staff, > but > by a great number of writers and scholars, specialists and literary > critics, who are able to speak from knowledge and with authority. Thus > the Library becomes in a way representative of the scholarship and > wide > judgment of our own time. But the essays have another value. They give > information for the guidance of the reader. If he becomes interested > in > any selections here given, and would like a fuller knowledge of the > author's works, he can turn to the essay and find brief observations > and > characterizations which will assist him in making his choice of books > from a library. > > \end{document} > > > > -- + -----------------------------------------------------------------------+ | Yannis Haralambous, Ph.D. yannis.haralambous at telecom- bretagne.eu | | Directeur d'?tudes http://omega.enstb.org/ yannis | | Tel. +33 (0)2.29.00.14.27 | | Fax +33 (0)2.29.00.12.82 | | D?partement Informatique | | T?l?com Bretagne | | Technop?le de Brest Iroise, CS 83818, 29238 Brest Cedex 3, France | | Coordonn?es Google-Earth : 48?21'31.57"N 4?34'16.76"W | + -----------------------------------------------------------------------+ ...pour distinguer l'ext?rieur d'un aquarium, mieux vaut n'?tre pas poisson ...the ball I threw while playing in the park has not yet reached the ground Es gab eine Zeit, wo ich nur ungern ?ber Schubert sprechen, nur N?chtens den B?umen und Sternen von ihm vorerz?hlen m?gen. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090409/4dd4d4f9/attachment-0002.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Yannis Haralambous.vcf Type: text/directory Size: 508 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090409/4dd4d4f9/attachment-0001.bin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090409/4dd4d4f9/attachment-0003.html From philip.ratcliffe at fastwebnet.it Thu Apr 9 21:21:33 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Thu, 9 Apr 2009 21:21:33 +0200 Subject: [texhax] using align, array, eqnarry within tabular environment In-Reply-To: <101422.19804.qm@web39703.mail.mud.yahoo.com> Message-ID: <4D08C2E634484260AC223D63D9E917E1@PGR1> > I have a question regarding the use of align, array, or > eqnarray within a table created by tabular. Align works fine > by itself, or within a minipage. For example: > > [snip] > > However, the following (- align nested within tabular -) > gives ! LaTeX Error: \begin{document} ended by \end{tabular}. > ! Missing $ inserted. and so on... > > [snip] This "behaviour" is, I believe, by design: align and co are display environments and are not meant to be put inside boxes (as are used in constructing tabes and arrays). You might try either normal math blocks and \displaystyle, as in $\displaystyle x=1$ or put the align environment inside a minipage. Cheers, Phil From brown_emu at yahoo.com Fri Apr 10 00:21:08 2009 From: brown_emu at yahoo.com (Stephen Tucker) Date: Thu, 9 Apr 2009 15:21:08 -0700 (PDT) Subject: [texhax] using align, array, eqnarry within tabular environment In-Reply-To: <4D08C2E634484260AC223D63D9E917E1@PGR1> References: <4D08C2E634484260AC223D63D9E917E1@PGR1> Message-ID: <81919.95912.qm@web39708.mail.mud.yahoo.com> Hi Phil, thank you for the response! Yes, so it is not of my doing... But align within minipage still does not work for me - I get too many } or & error in that case. Since yesterday I have found that I can get it to work with a series of equations with $$ within tabular \begin{tabular}{c} $eqn1$ \\ $eqn2$ \end{tabular} or even with an array environment within an equation environment within minipage with \tabularnewline, within tabular. Is there perhaps an equivalent replacement for & as there is for \\ with \tabularnewline that you (or the list) know of? Thanks again, Stephen ----- Original Message ---- From: Philip G. Ratcliffe To: Stephen Tucker ; texhax at tug.org Sent: Thursday, April 9, 2009 12:21:33 PM Subject: RE: [texhax] using align, array, eqnarry within tabular environment > I have a question regarding the use of align, array, or > eqnarray within a table created by tabular. Align works fine > by itself, or within a minipage. For example: > > [snip] > > However, the following (- align nested within tabular -) > gives ! LaTeX Error: \begin{document} ended by \end{tabular}. > ! Missing $ inserted. and so on... > > [snip] This "behaviour" is, I believe, by design: align and co are display environments and are not meant to be put inside boxes (as are used in constructing tabes and arrays). You might try either normal math blocks and \displaystyle, as in $\displaystyle x=1$ or put the align environment inside a minipage. Cheers, Phil From martin at oneiros.de Fri Apr 10 00:46:49 2009 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Fri, 10 Apr 2009 00:46:49 +0200 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> References: <200904071334.n37DYMc20428@tug.org> <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> Message-ID: <68c491a60904091546u7a97760fkf955ad41d031d1b8@mail.gmail.com> 2009/4/8, William Adams : > Looking at it, it's kind of hard to take seriously given that it > includes bad links like: Of course you can't take this seriously. ASU is (IMHO) a company with 3000 employes and a budget of 500 Million US$, serving 67000 students. The main work these 70000 people do is writing texts (homework, articles, thesis, books, ...). And this company doesn't care about the tools these people use for that, since - the format manual is written in Illustrator(!) with Helvetica. Obviously no money is spend for CI. And the College of Design is either run by idiots ("reputedly rigorous and highly ranked") or has been ignored - it seems no money is spend supporting the tools used mostly in the university (be it Word, OO or LaTeX). I expect a company as this to have at least a dozen full time (La)TeX supporters and at least one full time (La)TeX programmer. Btw: I count three Colleges of Teacher Education and Leadership and one School of Journalism and Mass Communication in the wikipedia article (http://en.wikipedia.org/wiki/Arizona_State_University). I shudder when I think what these graduates learn about text writing tools. Sorry for the rant. Sharon, please check this manual with someone from the Design college. Best Martin From sharon_baker at asu.edu Fri Apr 10 01:05:59 2009 From: sharon_baker at asu.edu (Sharon Baker) Date: Thu, 9 Apr 2009 16:05:59 -0700 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: <68c491a60904091546u7a97760fkf955ad41d031d1b8@mail.gmail.com> References: <200904071334.n37DYMc20428@tug.org> <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> <68c491a60904091546u7a97760fkf955ad41d031d1b8@mail.gmail.com> Message-ID: I contacted a student in the math department to find out if any graduates in the math department had successfully used LaTeX and had a valid style file and he is in my same boat along with his colleagues. They are trying to use LaTeX for their dissertations. They are now waiting for format approval from the Graduate College.... but he is not sure their style file is right. This goes to show that ASU's ignorance about LaTeX is stifling its own graduates. About checking with someone from the design college, I'm not sure I understand... On Thu, Apr 9, 2009 at 3:46 PM, Martin Schr?der wrote: > 2009/4/8, William Adams : > > Looking at it, it's kind of hard to take seriously given that it > > includes bad links like: > > Of course you can't take this seriously. > > ASU is (IMHO) a company with 3000 employes and a budget of 500 Million > US$, serving 67000 students. The main work these 70000 people do is > writing texts (homework, articles, thesis, books, ...). > > And this company doesn't care about the tools these people use for > that, since > - the format manual is written in Illustrator(!) with Helvetica. > Obviously no money is spend for CI. And the College of Design is > either run by idiots ("reputedly rigorous and highly ranked") or has > been ignored > - it seems no money is spend supporting the tools used mostly in the > university (be it Word, OO or LaTeX). I expect a company as this to > have at least a dozen full time (La)TeX supporters and at least one > full time (La)TeX programmer. > > Btw: I count three Colleges of Teacher Education and Leadership and > one School of Journalism and Mass Communication in the wikipedia > article (http://en.wikipedia.org/wiki/Arizona_State_University). I > shudder when I think what these graduates learn about text writing > tools. > > Sorry for the rant. > > Sharon, please check this manual with someone from the Design college. > > Best > Martin > _______________________________________________ > 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: http://tug.org/pipermail/texhax/attachments/20090409/0a33b4c0/attachment.html From martin at oneiros.de Fri Apr 10 01:27:38 2009 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Fri, 10 Apr 2009 01:27:38 +0200 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: References: <200904071334.n37DYMc20428@tug.org> <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> <68c491a60904091546u7a97760fkf955ad41d031d1b8@mail.gmail.com> Message-ID: <68c491a60904091627j5280bf34t4aade1e704c747b4@mail.gmail.com> 2009/4/10, Sharon Baker : > About checking with someone from the design college, I'm not sure I > understand... Well, the design college seems mostly to be architecture, but still: The design of the manual (and the design it promotes) should make anybody who teaches design angry. And I just hope that the college has somebody who knows something about typography. Check with the chair for Graphic Design. Sorry, forget that college: This http://design.asu.edu/msd/documents/FlowThesis.pdf is the documentation of their MSc(!) in Design. :-( Btw: I really wonder what students of the School of Human Communication learn - apparently NOT basic Typography (i.e. communication your ideas effectively in writing). Good luck Martin From will.adams at frycomm.com Fri Apr 10 13:12:40 2009 From: will.adams at frycomm.com (William Adams) Date: Fri, 10 Apr 2009 07:12:40 -0400 Subject: [texhax] URGENT: Will Pay for Written Style File In-Reply-To: <68c491a60904091546u7a97760fkf955ad41d031d1b8@mail.gmail.com> References: <200904071334.n37DYMc20428@tug.org> <1FB54111-928F-40AF-BDA4-2495523D9080@frycomm.com> <2D1C003E-3DF4-462B-91F2-F4555B01FEB5@frycomm.com> <68c491a60904091546u7a97760fkf955ad41d031d1b8@mail.gmail.com> Message-ID: <9F61E060-2E5C-4545-97C8-95F2B82219D1@frycomm.com> On Apr 9, 2009, at 6:46 PM, Martin Schr?der wrote: > - the format manual is written in Illustrator(!) with Helvetica. I believe that's only the title page --- the balance of the document looks to've been written w/ MS Word, but it was assembled from multiple pieces, so the metadata for the document is that of the title page. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From rodolfo.medina at gmail.com Fri Apr 10 15:34:39 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Fri, 10 Apr 2009 14:34:39 +0100 Subject: [texhax] European quotation marks Message-ID: <87fxggr5sg.fsf@gmail.com> I wish to use the quotation marks ? and ?. Is it possible with TeX, and how? Thanks for any reply Rodolfo From eduardo at kalinowski.com.br Fri Apr 10 15:32:48 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Fri, 10 Apr 2009 10:32:48 -0300 Subject: [texhax] European quotation marks In-Reply-To: <87fxggr5sg.fsf@gmail.com> References: <87fxggr5sg.fsf@gmail.com> Message-ID: <49DF4A80.2070705@kalinowski.com.br> Rodolfo Medina wrote: > I wish to use the quotation marks ? and ?. > > Is it possible with TeX, and how? > > Thanks for any reply > Rodolfo > You need the T1 font encoding, activated with \usepackage[T1]{fontenc}. Then just type them, if you are using a character coding that includes them. latin1 does, and I guess several others. There is also \guillemotleft and \guillemotright -- What orators lack in depth they make up in length. Eduardo M KALINOWSKI eduardo at kalinowski.com.br From bnb at ams.org Fri Apr 10 16:03:53 2009 From: bnb at ams.org (Barbara Beeton) Date: Fri, 10 Apr 2009 10:03:53 -0400 (EDT) Subject: [texhax] using align, array, eqnarry within tabular environment In-Reply-To: <81919.95912.qm@web39708.mail.mud.yahoo.com> References: <4D08C2E634484260AC223D63D9E917E1@PGR1> <81919.95912.qm@web39708.mail.mud.yahoo.com> Message-ID: stephen, this morning you answered phil ratcliffe regarding the re-use of align; But align within minipage still does not work for me - I get too many } or & error in that case. Since yesterday I have found that I can get it to work with a series of equations with $$ within tabular \begin{tabular}{c} $eqn1$ \\ $eqn2$ \end{tabular} or even with an array environment within an equation environment within minipage with \tabularnewline, within tabular. Is there perhaps an equivalent replacement for & as there is for \\ with \tabularnewline that you (or the list) know of? this really isn't the proper approach. perhaps you missed the message i sent in response to your initial query: the align environment works only at "outer" level (which can be directly within a minipage); it cannot be used within any other environment, particularly within another display environment. instead, use the aligned environment: =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{cc} \begin{minipage}{2in} \flushleft text \end{minipage} & $\begin{aligned} x & = y+1 \\ z & = 2 x \end{aligned}$ \end{tabular} \end{document} ================================== see the section on "alignment building blocks" in the amsmath user's guide (amsldoc.pdf), p.7. any of these subsidiary environments must be in math mode. since i'm at least partly in charge of the official documentation for amsmath, i'm quite sure this is the proper approach. -- bb From rodolfo.medina at gmail.com Fri Apr 10 17:08:33 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Fri, 10 Apr 2009 16:08:33 +0100 Subject: [texhax] European quotation marks References: <87fxggr5sg.fsf@gmail.com> <49DF4A80.2070705@kalinowski.com.br> Message-ID: <87eiw0pmvi.fsf@gmail.com> Rodolfo Medina wrote: >> I wish to use the quotation marks ? and ?. >> >> Is it possible with TeX, and how? Eduardo M KALINOWSKI writes: > You need the T1 font encoding, activated with \usepackage[T1]{fontenc}. > > Then just type them, if you are using a character coding that includes > them. latin1 does, and I guess several others. > > There is also \guillemotleft and \guillemotright Thanks for your help. But I'm a plain TeX users. Does anybody know how to do that with plain TeX? Thanks again Rodolfo From bnb at ams.org Fri Apr 10 17:06:24 2009 From: bnb at ams.org (Barbara Beeton) Date: Fri, 10 Apr 2009 11:06:24 -0400 (EDT) Subject: [texhax] using align, array, eqnarry within tabular environment In-Reply-To: <727639.22137.qm@web39703.mail.mud.yahoo.com> References: <101422.19804.qm@web39703.mail.mud.yahoo.com> <727639.22137.qm@web39703.mail.mud.yahoo.com> Message-ID: Thanks very much for your response! (again). I did indeed miss your post earlier... I would not have deliberately ignored such useful advice as this totally solved my problem! glad to hear it. So regarding your statement: the align environment works only at "outer" level (which can be directly within a minipage) So align can be used within minipage but not if the minipage is within tabular? I had thought minipage provided its own [outer-level-like] environment... align *can* be used within minipage, regardless of where the minipage appears. you are correct that minipage provides an "outer-level-like" environment. In the AMS doc though I never would have guessed aligned could be the solution (so thanks for being so kind as to even pointing out the exact page number) - its main usage is suggested to be for controlling the spacing around the contents, in my interpretation of that section, unless I am missing something. Is it a width limitation which causes align to be picky about which environment it's in? the multi-line environments are of two kinds: - outer-level only, with the mechanism to apply display labels in appropriate locations; - subsidiary environments, meant to be nested as self-contained elements within other environments; these mostly end with "ed", but split can also be considered part of this group. measurement *is* involved in processing both kinds of environments, but it's the label attachment mechanism that complicates the outer-level environments and forces them to be set to the full text width. the documentation is scheduled to undergo an update later this year. it looks like some clarification is in order for that section; it's already on our list. if you have any specific, concrete suggestions, please send them (off list) to tech-support at ams.org. -- bb From rodolfo.medina at gmail.com Fri Apr 10 18:13:31 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Fri, 10 Apr 2009 17:13:31 +0100 Subject: [texhax] European quotation marks References: <87fxggr5sg.fsf@gmail.com> <49DF4A80.2070705@kalinowski.com.br> <87eiw0pmvi.fsf@gmail.com> <7A1C4DB5-19FB-48D0-AD30-63E6C7F11573@gmail.com> Message-ID: <87ab6omqqc.fsf@gmail.com> Rodolfo Medina wrote: >> I wish to use the quotation marks ? and ?. >> >> Is it possible with TeX, and how? >> But I'm a plain TeX users. Does anybody know how to do that with plain TeX? Wolfgang Schuster writes: > Something like this: > > \pdfmapfile{+lm-texnansi.map} > > \chardef\guillemotleft =171 > \chardef\guillemotright=187 > > \catcode`?=13 \def?{\guillemotleft } > \catcode`?=13 \def?{\guillemotright} > > \font\test=texnansi-lmr10\test > > ?text? > > \bye Thanks. But when I porcess the file with `tex', it says: $ tex test This is TeX, Version 3.141592 (Web2C 7.5.5) (./test.tex ! Undefined control sequence. l.1 \pdfmapfile {+lm-texnansi.map} ; if I process it with pdftex, I get: $ pdftex test This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) entering extended mode (./test.tex ! Missing number, treated as zero. ? l.6 \catcode`? =13 \def?{\guillemotleft } Rodolfo From news3 at nililand.de Fri Apr 10 17:39:06 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Fri, 10 Apr 2009 17:39:06 +0200 Subject: [texhax] European quotation marks References: <87fxggr5sg.fsf@gmail.com> <49DF4A80.2070705@kalinowski.com.br> <87eiw0pmvi.fsf@gmail.com> <7A1C4DB5-19FB-48D0-AD30-63E6C7F11573@gmail.com> <87ab6omqqc.fsf@gmail.com> Message-ID: Am Fri, 10 Apr 2009 17:13:31 +0100 schrieb Rodolfo Medina: >>> I wish to use the quotation marks ? and ?. >> Something like this: >> >> \pdfmapfile{+lm-texnansi.map} >> >> \chardef\guillemotleft =171 >> \chardef\guillemotright=187 >> >> \catcode`?=13 \def?{\guillemotleft } >> \catcode`?=13 \def?{\guillemotright} >> >> \font\test=texnansi-lmr10\test > ; if I process it with pdftex, I get: > > $ pdftex test > This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) > entering extended mode > (./test.tex > ! Missing number, treated as zero. > > ? > l.6 \catcode`? > =13 \def?{\guillemotleft } You have saved the file as utf-8. This will not work, in utf-8 ? is encoded with more than 8 bits and so is not a char for pdftex. But you can use the ligatures << and >>: \font\test=texnansi-lmr10\test << abc >> \bye -- Ulrike Fischer From P.Taylor at Rhul.Ac.Uk Fri Apr 10 18:07:25 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Fri, 10 Apr 2009 17:07:25 +0100 Subject: [texhax] European quotation marks In-Reply-To: <87ab6omqqc.fsf@gmail.com> References: <87fxggr5sg.fsf@gmail.com> <49DF4A80.2070705@kalinowski.com.br> <87eiw0pmvi.fsf@gmail.com> <7A1C4DB5-19FB-48D0-AD30-63E6C7F11573@gmail.com> <87ab6omqqc.fsf@gmail.com> Message-ID: <49DF6EBD.6060108@Rhul.Ac.Uk> Wolfgang Schuster writes: > > Something like this: > > > > \pdfmapfile{+lm-texnansi.map} > > > > \chardef\guillemotleft =171 > > \chardef\guillemotright=187 > > > > \catcode`?=13 \def?{\guillemotleft } > > \catcode`?=13 \def?{\guillemotright} > > > > \font\test=texnansi-lmr10\test > > > > ?text? > > > > \bye Just a suggestion (and not necessary), but why not give the glyphs their correct name ? They are guillemets (glyphs), not guillemots (birds) ! ** Phil. From brown_emu at yahoo.com Fri Apr 10 16:30:51 2009 From: brown_emu at yahoo.com (Stephen Tucker) Date: Fri, 10 Apr 2009 07:30:51 -0700 (PDT) Subject: [texhax] using align, array, eqnarry within tabular environment In-Reply-To: References: <101422.19804.qm@web39703.mail.mud.yahoo.com> Message-ID: <727639.22137.qm@web39703.mail.mud.yahoo.com> Hi Barbara, Thanks very much for your response! (again). I did indeed miss your post earlier... I would not have deliberately ignored such useful advice as this totally solved my problem! So regarding your statement: the align environment works only at "outer" level (which can be directly within a minipage) So align can be used within minipage but not if the minipage is within tabular? I had thought minipage provided its own [outer-level-like] environment... In the AMS doc though I never would have guessed aligned could be the solution (so thanks for being so kind as to even pointing out the exact page number) - its main usage is suggested to be for controlling the spacing around the contents, in my interpretation of that section, unless I am missing something. Is it a width limitation which causes align to be picky about which environment it's in? But in any case, thanks again very much! I am very grateful for your solution. Stephen ----- Original Message ---- From: Barbara Beeton To: Stephen Tucker Cc: texhax at tug.org Sent: Thursday, April 9, 2009 8:25:26 AM Subject: Re: [texhax] using align, array, eqnarry within tabular environment On Thu, 9 Apr 2009, Stephen Tucker wrote: I have a question regarding the use of align, array, or eqnarray within a table created by tabular. Align works fine by itself, or within a minipage. For example: =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} x \protect & = y+1 \\ z \protect & = 2 x \end{align*} \end{document} =================================== However, the following (- align nested within tabular -) gives ! LaTeX Error: \begin{document} ended by \end{tabular}. ! Missing $ inserted. and so on... =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{cc} \begin{minipage}{2in} \flushleft text \end{minipage} & \begin{align*} x & = y+1 \\ z & = 2 x \end{align*} \end{tabular} \end{document} ================================== Even if I try to put \protect in front of & and \\, it still has problems, and putting \protect{\begin{align*}...\end{align*}} will put the statement on the next line rather than in the second column of the table, as I desire. Does anyone know how to get around this behavior? Thanks very much in advance, the align environment works only at "outer" level (which can be directly within a minipage); it cannot be used within any other environment, particularly within another display environment. instead, use the aligned environment: =================================== \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{cc} \begin{minipage}{2in} \flushleft text \end{minipage} & $\begin{aligned} x & = y+1 \\ z & = 2 x \end{aligned}$ \end{tabular} \end{document} ================================== see the section on "alignment building blocks" in the amsmath user's guide (amsldoc.pdf), p.7. any of these subsidiary environments must be in math mode. -- bb From rodolfo.medina at gmail.com Sat Apr 11 12:58:45 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sat, 11 Apr 2009 11:58:45 +0100 Subject: [texhax] European quotation marks References: <87fxggr5sg.fsf@gmail.com> <49DF4A80.2070705@kalinowski.com.br> <87eiw0pmvi.fsf@gmail.com> <7A1C4DB5-19FB-48D0-AD30-63E6C7F11573@gmail.com> <87ab6omqqc.fsf@gmail.com> Message-ID: <87tz4ve9sq.fsf@gmail.com> Rodolfo Medina wrote: >>>> I wish to use the quotation marks ? and ?. Ulrike Fischer writes: > [...] you can use the ligatures << and >>: > > \font\test=texnansi-lmr10\test > > << abc >> > \bye First I got the following: ! Font \test=texnansi-lmr10 not loadable: Metric (TFM) file not found. , then I fetched somewhere the file texnansi-lmr10.tfm and put it in the present directoy, and now this seems to work: \pdfmapfile{+lm-texnansi.map} \font\test=texnansi-lmr10\test <> \bye , but only with pdftex. No way to have it also with `tex'? Another question: how do you input ? and ?? I have no such character on my italian keyboard, I input it with copy and paste. Thanks Rodolfo From yannis.haralambous at telecom-bretagne.eu Sat Apr 11 12:16:02 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Sat, 11 Apr 2009 12:16:02 +0200 Subject: [texhax] European quotation marks In-Reply-To: <87tz4ve9sq.fsf@gmail.com> References: <87fxggr5sg.fsf@gmail.com> <49DF4A80.2070705@kalinowski.com.br> <87eiw0pmvi.fsf@gmail.com> <7A1C4DB5-19FB-48D0-AD30-63E6C7F11573@gmail.com> <87ab6omqqc.fsf@gmail.com> <87tz4ve9sq.fsf@gmail.com> Message-ID: you can create a custom keyboard layout, on what operating system are you? Le 11 avr. 09 ? 12:58, Rodolfo Medina a ?crit : > Another question: how do you input ? and ?? I have no such > character on my > italian keyboard, I input it with copy and paste. -- + -----------------------------------------------------------------------+ | Yannis Haralambous, Ph.D. yannis.haralambous at telecom- bretagne.eu | | Directeur d'?tudes http://omega.enstb.org/ yannis | | Tel. +33 (0)2.29.00.14.27 | | Fax +33 (0)2.29.00.12.82 | | D?partement Informatique | | T?l?com Bretagne | | Technop?le de Brest Iroise, CS 83818, 29238 Brest Cedex 3, France | | Coordonn?es Google-Earth : 48?21'31.57"N 4?34'16.76"W | + -----------------------------------------------------------------------+ ...pour distinguer l'ext?rieur d'un aquarium, mieux vaut n'?tre pas poisson ...the ball I threw while playing in the park has not yet reached the ground Es gab eine Zeit, wo ich nur ungern ?ber Schubert sprechen, nur N?chtens den B?umen und Sternen von ihm vorerz?hlen m?gen. -------------- next part -------------- A non-text attachment was scrubbed... Name: Yannis Haralambous.vcf Type: text/directory Size: 508 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090411/179994e6/attachment.bin -------------- next part -------------- From news3 at nililand.de Sat Apr 11 12:30:28 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Sat, 11 Apr 2009 12:30:28 +0200 Subject: [texhax] European quotation marks References: <87fxggr5sg.fsf@gmail.com> <49DF4A80.2070705@kalinowski.com.br> <87eiw0pmvi.fsf@gmail.com> <7A1C4DB5-19FB-48D0-AD30-63E6C7F11573@gmail.com> <87ab6omqqc.fsf@gmail.com> <87tz4ve9sq.fsf@gmail.com> Message-ID: Am Sat, 11 Apr 2009 11:58:45 +0100 schrieb Rodolfo Medina: >> [...] you can use the ligatures << and >>: >> >> \font\test=texnansi-lmr10\test >> >> << abc >> >> \bye > > > First I got the following: > > ! Font \test=texnansi-lmr10 not loadable: Metric (TFM) file not found. > > , then I fetched somewhere the file texnansi-lmr10.tfm and put it in the > present directoy, and now this seems to work: > > > \pdfmapfile{+lm-texnansi.map} > > \font\test=texnansi-lmr10\test > > <> > > \bye > > > , but only with pdftex. No way to have it also with `tex'? Sure, tex itself needs only the tfm. But the postprocessor (dvips?) needs to know the which real font it should use. So you should install the map for this postprocessor. How depends on your system (I already have the latin modern fonts installed so I even don't need the \pdfmapfile command). Modern systems use updmap for the installation of map-files. You can also use e.g. the ec fonts: \font\test=ecrm1000\test << abc >> \bye \endinput > Another question: how do you input ? and ?? I have no such character on my > italian keyboard, I input it with copy and paste. On windows I can input it by activating the "num" key and then ALT+0171 on the numeric keyboard. But in general I use a short cut I have defined in my editor (winedt). -- Ulrike Fischer From rodolfo.medina at gmail.com Sat Apr 11 15:52:02 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sat, 11 Apr 2009 14:52:02 +0100 Subject: [texhax] [solved] Re: European quotation marks References: <87fxggr5sg.fsf@gmail.com> <49DF4A80.2070705@kalinowski.com.br> <87eiw0pmvi.fsf@gmail.com> <7A1C4DB5-19FB-48D0-AD30-63E6C7F11573@gmail.com> <87ab6omqqc.fsf@gmail.com> <87tz4ve9sq.fsf@gmail.com> Message-ID: <8763hb9u2l.fsf_-_@gmail.com> Rodolfo Medina wrote: >>>> I wish to use the quotation marks ? and ?. Ulrike Fischer writes: > You can also use e.g. the ec fonts: > > \font\test=ecrm1000\test > > << abc >> > \bye > \endinput Thanks, this works with both tex and pdftex! Rodolfo: >> Another question: how do you input ? and ?? I have no such character on my >> italian keyboard, I input it with copy and paste. Wolfgang Schuster writes: > http://en.wikipedia.org/wiki/Guillemets#Typing_.22.C2.AB.22_and_.22.C2.BB.22_on_computers Thanks. On my keyboard, it is as easy as `Alt Gr z' and `Alt Gr x'. Bye Rodolfo From demyan.p at usask.ca Sun Apr 12 09:12:57 2009 From: demyan.p at usask.ca (Demyan Prokopchuk) Date: Sun, 12 Apr 2009 01:12:57 -0600 Subject: [texhax] Beamer bullet colors Message-ID: <7AED638C-E245-414A-AD37-FDE21E6DEDCE@usask.ca> Does anyone know how to customize the color(s) used for bullets when itemizing in the beamer class? Thanks, Demyan From yosato16 at gmail.com Sun Apr 12 12:35:21 2009 From: yosato16 at gmail.com (Yo Sato) Date: Sun, 12 Apr 2009 11:35:21 +0100 Subject: [texhax] passing arguments as a delimited list Message-ID: Hi all, I wonder if any of you knows how to implement (if this is possible) a TeX or LaTeX macro that passes multiple (optional) arguments as a single list (with delimiters), i.e. as executable as below \somecommand[item1, item2, item3,...]{...} As I see this style a lot for class specification (e.g. \documentclass[a4paper,draft]{article}), I shouldn't think why this is not possible for macros. So far however I can't find how to do this in a documentation, although there are discussions on how to 'increase' the number of arguments with keyval package etc. What I'd rather is a listed single argument, whether optional or obligatory, as it is cleaner and structurable. Any advice??? Yo From joseph.wright at morningstar2.co.uk Sun Apr 12 15:05:41 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Sun, 12 Apr 2009 14:05:41 +0100 Subject: [texhax] passing arguments as a delimited list In-Reply-To: References: Message-ID: <49E1E725.6020808@morningstar2.co.uk> Yo Sato wrote: > Hi all, > > I wonder if any of you knows how to implement (if this is possible) a > TeX or LaTeX macro that passes multiple (optional) arguments as a > single list (with delimiters), i.e. as executable as below > > \somecommand[item1, item2, item3,...]{...} > > As I see this style a lot for class specification (e.g. > \documentclass[a4paper,draft]{article}), I shouldn't think why this is > not possible for macros. So far however I can't find how to do this in > a documentation, although there are discussions on how to 'increase' > the number of arguments with keyval package etc. What I'd rather is a > listed single argument, whether optional or obligatory, as it is > cleaner and structurable. > > Any advice??? Hello Yo, If you simply want to parse a comma-separated list then the internal macro \@for should help. \documentclass{article} \makeatletter \newcommand*{\MyMacro}[2][]{% \@for\my at temp:=#1\do{% Option seen: \my at temp \\ }% Main argument: #2 } \makeatother \begin{document} \MyMacro[option1,option2,option3]{Content} \end{document} You can of course do what you like with the temporary variable (in this case \my at temp). -- Joseph Wright From james.smith at aleph-one.com Sun Apr 12 16:55:25 2009 From: james.smith at aleph-one.com (James Smith) Date: Sun, 12 Apr 2009 15:55:25 +0100 Subject: [texhax] Latin Modern Condensed Bold font? Message-ID: <20090412145529.160DE2C0F7@mail.djalbat.com> Hi, I finished typesetting my book some time ago and I'm happy with the interior, but the cover text still bothers me. I'd initially used Latin Modern Bold and, as I recall, asked for alternatives on this mailing list. Latin Modern Condensed was suggested and I duly swapped over: \sffamily\fontseries{sbc} I'm not entirely happy with the results, however, I think the text weight is far too light and the result looks amateurish: http://www.aleph-one.com/php/coverimage.php?name=cover.jpg >From my (admittedly rather vague) understanding of font selection, 'Latin Modern Condensed Bold' would be something of a misnomer since both 'Bold' and 'Condensed' both pertain to the selection's series and therefore cannot be combined in the way that, say 'Italic' and 'Bold' can. Nonetheless, I've definitely seen bolder condensed fonts around. Can anyone suggest one? It will only be used for the cover and title pages so it doesn't really matter if it's not part of the Latin Modern collection (indeed I'm pretty sure Latin Modern doesn't provide anything suitable). Obviously something that is in keeping with Latin Modern is required, however. Many thanks in advance. Kind regards, James -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090412/945e15ae/attachment.html From kathryn at cs.umb.edu Mon Apr 13 18:14:59 2009 From: kathryn at cs.umb.edu (Kathryn Hargreaves) Date: Mon, 13 Apr 2009 09:14:59 -0700 Subject: [texhax] Latin Modern Condensed Bold font? Message-ID: <598918a00904130914r752c49c4vb8c0ef159808dc9e@mail.gmail.com> James, You may be detecting a problem in the underlying design. You have centered (title/author) text on a "background" that is left-justified. One typographical rule of thumb is to not mix centered design with left/right-justified elements. If you do try out a right-justified (which would probably work better than left-justified) title and author text, you'll also have to fool around with the positioning, to get it to look good. For instance, the author text may need to be indented from the right-hand margin (but not so much that it's centered). Also note that if you use all caps, you want to add some tracking, as it's harder to read all-caps words vs. u/lc. Regards, Kathy typesetting at dangerouscurve.org > ------------------------------ > > Message: 3 > Date: Sun, 12 Apr 2009 15:55:25 +0100 > From: "James Smith" > Subject: [texhax] Latin Modern Condensed Bold font? > To: > Message-ID: <20090412145529.160DE2C0F7 at mail.djalbat.com> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > > > I finished typesetting my book some time ago and I'm happy with the > interior, but the cover text still bothers me. I'd initially used Latin > Modern Bold and, as I recall, asked for alternatives on this mailing list. > Latin Modern Condensed was suggested and I duly swapped over: > > > > \sffamily\fontseries{sbc} > > > > I'm not entirely happy with the results, however, I think the text weight is > far too light and the result looks amateurish: > > > > http://www.aleph-one.com/php/coverimage.php?name=cover.jpg > > > > >From my (admittedly rather vague) understanding of font selection, 'Latin > Modern Condensed Bold' would be something of a misnomer since both 'Bold' > and 'Condensed' both pertain to the selection's series and therefore cannot > be combined in the way that, say 'Italic' and 'Bold' can. > > > > Nonetheless, I've definitely seen bolder condensed fonts around. Can anyone > suggest one? It will only be used for the cover and title pages so it > doesn't really matter if it's not part of the Latin Modern collection > (indeed I'm pretty sure Latin Modern doesn't provide anything suitable). > Obviously something that is in keeping with Latin Modern is required, > however. > > > > Many thanks in advance. > > > > Kind regards, > > > > James > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://tug.org/pipermail/texhax/attachments/20090412/945e15ae/attachment-0001.html > > ------------------------------ > > _______________________________________________ > texhax mailing list > texhax at tug.org > http://tug.org/mailman/listinfo/texhax > > End of texhax Digest, Vol 2009, Issue 147 > ***************************************** > -- Kathryn Hargreaves Co-owner, Dangerous Curve Los Angeles, CA From yosato16 at gmail.com Mon Apr 13 19:19:14 2009 From: yosato16 at gmail.com (Yo Sato) Date: Mon, 13 Apr 2009 18:19:14 +0100 Subject: [texhax] passing arguments as a delimited list In-Reply-To: <49E1E725.6020808@morningstar2.co.uk> References: <49E1E725.6020808@morningstar2.co.uk> Message-ID: Hi Joseph, Thanks for your response, which is very useful. But as it happens it's not quite what I wanted. I'd rather apply different actions on the items in a list, or pass them to different commands or different arguments of a command. For example, I'd like to execute \myMacro[item1,item2,item3] which calls different commands \newcommand{\myMacros}[1][]{% parse the list argument and \command1{item1} \command2{item2} \command3{item3} } or passes them to a single command \newcommand{\myMacros}[1][]{% parse the list argument, assign item1-3 to \first, \second, \third and \somecommand{\first}{\second}{\third} } Is this a possibility? Yo \macro3{item3} } } 2009/4/12 Joseph Wright : > Yo Sato wrote: >> Hi all, >> >> I wonder if any of you knows how to implement (if this is possible) a >> TeX or LaTeX macro that passes multiple (optional) arguments as a >> single list (with delimiters), i.e. as executable as below >> >> \somecommand[item1, item2, item3,...]{...} >> >> As I see this style a lot for class specification (e.g. >> \documentclass[a4paper,draft]{article}), I shouldn't think why this is >> not possible for macros. So far however I can't find how to do this in >> a documentation, although there are discussions on how to 'increase' >> the number of arguments with keyval package etc. What I'd rather is a >> listed single argument, whether optional or obligatory, as it is >> cleaner and structurable. >> >> Any advice??? > > Hello Yo, > > If you simply want to parse a comma-separated list then the internal > macro \@for should help. > > \documentclass{article} > \makeatletter > \newcommand*{\MyMacro}[2][]{% > ?\@for\my at temp:=#1\do{% > ? ?Option seen: \my at temp \\ > ?}% > ?Main argument: #2 > } > \makeatother > \begin{document} > \MyMacro[option1,option2,option3]{Content} > \end{document} > > You can of course do what you like with the temporary variable (in this > case \my at temp). > -- > Joseph Wright > From asnd at triumf.ca Mon Apr 13 21:41:01 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 13 Apr 2009 12:41:01 -0700 Subject: [texhax] Latin Modern Condensed Bold font? In-Reply-To: <20090412145529.160DE2C0F7@mail.djalbat.com> References: <20090412145529.160DE2C0F7@mail.djalbat.com> Message-ID: "James Smith" writes: > I finished typesetting my book some time ago and I'm happy with the > interior, but the cover text still bothers me. I'd initially used Latin > Modern Bold ... Use a display font for the cover, not a book font. There are thousands of display fonts to choose from, and it doesn't have to match the font of the interior (though both xhold be chosen to be appropriate for the subject matter). -- Donald Arseneau asnd at triumf.ca From uwe.lueck at web.de Mon Apr 13 21:34:34 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 13 Apr 2009 21:34:34 +0200 Subject: [texhax] Anyone using ledpar? In-Reply-To: <5.1.0.14.0.20090408090843.0274c9e0@pop3.web.de> References: <5E976FB1-267A-4942-B797-63AEC9EA6EA8@telecom-bretagne.eu> Message-ID: <5.1.0.14.0.20090413212033.03279e00@pop3.web.de> At 09:25 08.04.09, Uwe L?ck wrote: >There might be an alternative with *ednotes* instead of ledmac [...] >One ednotes user managed to use parallel.sty at the same time, >but complained that it was hard work with Perl. No, it turns out that parallel.sty and ednotes.sty did not work on the same pages, so I cannot contribute. ledpar is well-tested. While the rest of ledmac is just a "port" from EDMAC the method of which was Peter Wilson's idea, ledpar is Peter Wilson's own work. By contrast to parallel.sty and ednotes.sty, here a package writer has studied the matter and worked it out. -- Uwe. From uwe.lueck at web.de Mon Apr 13 21:54:55 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 13 Apr 2009 21:54:55 +0200 Subject: [texhax] passing arguments as a delimited list In-Reply-To: References: <49E1E725.6020808@morningstar2.co.uk> <49E1E725.6020808@morningstar2.co.uk> Message-ID: <5.1.0.14.0.20090413213723.0327bec0@pop3.web.de> At 19:19 13.04.09, Yo Sato wrote: > Hi Joseph, Thanks for your response, which is very useful. > But as it happens it's not quite what I wanted. > I'd rather apply different actions on the items in a list, > or pass them to different commands or different arguments of a command. Just making clear that this works along Joseph's lines: \newcommand{\MyMacro}[2][]{% \@for\my at temp:=#1\do{% \@usename{MyMacroOption:\my at temp}% #2} ... with some \newcommand{\DeclareMyMacroOption}[2]{% \@namedef{MyMacroOption:#1}{#2}} \DeclareMyMacroOption{item-1}{} ... So \DeclareMyMacroOption is just like \newcommand -- without guarding, without macro parameters, without backslash, similar to the commands that \label and \ref generate. HTH -- Uwe. >2009/4/12 Joseph Wright : > > If you simply want to parse a comma-separated list then the internal > macro \@for should help. > > \documentclass{article} > \makeatletter > \newcommand*{\MyMacro}[2][]{% > \@for\my at temp:=#1\do{% > Option seen: \my at temp \\ > ? }% > Main argument: #2 > } > \makeatother > \begin{document} > \MyMacro[option1,option2,option3]{Content} > \end{document} > > You can of course do what you like with the temporary variable (in this > case \my at temp). From james.smith at aleph-one.com Tue Apr 14 14:48:14 2009 From: james.smith at aleph-one.com (James Smith) Date: Tue, 14 Apr 2009 13:48:14 +0100 Subject: [texhax] FW: Latin Modern Condensed Bold font? Message-ID: <20090414124826.BD6F62C0F7@mail.djalbat.com> -----Original Message----- From: James Smith [mailto:james.smith at aleph-one.com] Sent: Tuesday, April 14, 2009 1:47 PM To: 'Kathryn Hargreaves' Subject: RE: [texhax] Latin Modern Condensed Bold font? Kathy, hey, I think you're right. I'd stumbled across this rule of thumb when realising that a left justified title looked much better than a centered one on the book's blog, in fact. I certainly agree that the problems with the cover are not just down to the font, either, but are down to the overall design. I'll have another stab at it and even try right justified title text... Thanks for the help. Kind regards, James From james.smith at aleph-one.com Tue Apr 14 15:06:06 2009 From: james.smith at aleph-one.com (James Smith) Date: Tue, 14 Apr 2009 14:06:06 +0100 Subject: [texhax] Latin Modern Condensed Bold font? In-Reply-To: Message-ID: <20090414130618.CC3C42C0F7@mail.djalbat.com> Thanks for the reply. -----Original Message----- From: texhax-bounces at tug.org [mailto:texhax-bounces at tug.org] On Behalf Of Donald Arseneau Sent: Monday, April 13, 2009 8:41 PM To: texhax at tug.org Subject: Re: [texhax] Latin Modern Condensed Bold font? "James Smith" writes: > I finished typesetting my book some time ago and I'm happy with the > interior, but the cover text still bothers me. I'd initially used Latin > Modern Bold ... Use a display font for the cover, not a book font. There are thousands of display fonts to choose from, and it doesn't have to match the font of the interior (though both xhold be chosen to be appropriate for the subject matter). -- Donald Arseneau asnd at triumf.ca _______________________________________________ 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.56/2058 - Release Date: 04/14/09 06:17:00 From touildiden at yahoo.fr Tue Apr 14 17:08:05 2009 From: touildiden at yahoo.fr (Boumediene TOUIL) Date: Tue, 14 Apr 2009 15:08:05 +0000 (GMT) Subject: [texhax] Help please Message-ID: <813195.62917.qm@web28609.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 (http://www.tug.org/texcollection/texcollection2008..png) which includes the french version of ProTeXt and Tex Live for windows VISTA. 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: http://tug.org/pipermail/texhax/attachments/20090414/f8b5d318/attachment.html From axel.retif at mac.com Wed Apr 15 07:32:34 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 15 Apr 2009 00:32:34 -0500 Subject: [texhax] Help please In-Reply-To: <813195.62917.qm@web28609.mail.ukl.yahoo.com> References: <813195.62917.qm@web28609.mail.ukl.yahoo.com> Message-ID: <0480EE66-E8A2-4971-9448-DC42C66D9F59@mac.com> On 14 Apr, 2009, at 10:08, Boumediene TOUIL wrote: > 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 (http://www.tug.org/texcollection/texcollection2008.png > ) which includes the french version of ProTeXt and Tex Live for > windows VISTA. > I wish to inform you, Sir, that my reasons do not allow me to buy it. I'm just a TUG member, and I don't know if there is a French version of proTeXt or TeX Live, if by that you mean a French graphic user interface of the installer; if you mean support for writing LaTeX documents in French, every TeX distribution has it. And you don't need the DVD to get proTeXt or TeX Live (moreover, you don't need *both*, as both are TeX distributions); you can get either one from the Internet. TeX Live: http://www.tug.org/texlive/acquire.html (see the section TeX Live installation over the Internet); proTeXt: http://www.tug.org/protext/ For a LaTeX front-end, many people use TeXnicCenter: http://www.texniccenter.org/ But maybe you'll like TeXmaker (with by default has English, French, German and Chinese user interfaces): http://www.xm1math.net/texmaker/ Best, Axel From mohamed.houssni at e-press.co.ma Wed Apr 15 13:03:20 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed, 15 Apr 2009 11:03:20 +0000 Subject: [texhax] cuted package Message-ID: <49E5BEF8.3090000@e-press.co.ma> Hello, I am using "cuted" style to generate my one column maketitle in a two column file but I have problems with footnote inside maketitle. Anyone have an idea ? Thanks a lot Best regards ------------------- Dr. Mohamed Houssni From mohamed.houssni at e-press.co.ma Wed Apr 15 13:04:47 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed, 15 Apr 2009 11:04:47 +0000 Subject: [texhax] figures point by point Message-ID: <49E5BF4F.2040009@e-press.co.ma> Hello, I am a LaTeX user then when I compile my file and displaying the dvi some figures take many resources and much memory for display and I would like to know if there is a technical and automatical way to detect theme before ? Best regards ------------------- Dr. Mohamed Houssni From philip.ratcliffe at fastwebnet.it Wed Apr 15 15:14:47 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Wed, 15 Apr 2009 15:14:47 +0200 Subject: [texhax] cuted package In-Reply-To: <49E5BEF8.3090000@e-press.co.ma> Message-ID: > I am using "cuted" style to generate my one column maketitle in a two > column file but I have problems with footnote inside maketitle. Be a little more specific and maybe someone can help. What exactly are your "problems with footnote inside maketitle"? Cheers, Phil From gianni.maniscalco at gmail.com Wed Apr 15 08:35:00 2009 From: gianni.maniscalco at gmail.com (Gianni Maniscalco Basile) Date: Wed, 15 Apr 2009 08:35:00 +0200 Subject: [texhax] accented letters converting from PDF to Word Message-ID: <49E58014.4030707@gmail.com> Sorry to trouble you. I am a meny years TeX and LaTeX user and since a few months I have to convert pdf files built with PDFLaTeX into MWord files. Most converters do a pretty good job. But! Accented letter disappear in the Word file or in the best case they came out as `a, `e, etc. If I use the accented glyphs (?????), they just disappear. Is there something I can do? Thanks in advance. -- Avv. Prof. Giovanni Maniscalco Basile Via Reggio Emilia 29 00198 ROMA Studio Maniscalco Basile Avvocati Associati Piazza Sacro Cuore 3 90138 PALERMO tel.: 3347943734 -------------- next part -------------- A non-text attachment was scrubbed... Name: gianni_maniscalco.vcf Type: text/x-vcard Size: 246 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090415/83d333fb/attachment.vcf From reed at reedmedia.net Wed Apr 15 15:47:35 2009 From: reed at reedmedia.net (Jeremy C. Reed) Date: Wed, 15 Apr 2009 08:47:35 -0500 (CDT) Subject: [texhax] listings causing: Command invalid in math modeCommand invalid in math mode Message-ID: I am using listings package version 1.3 as available in teTeX-texmf-3.0. (pkgsrc packages teTeX-texmf-3.0nb5 and teTeX-bin-3.0nb14) My document (the final PDF) has: 11Command invalid in math modeCommand invalid in math mode Doesn't say what command. My logging has: %%%%%%%%%%%%%%%%%% LaTeX Font Info: ... okay on input line 10. ! Missing \endcsname inserted. \relax l.12 \begin{lstlisting}{basicstyle=\footnotesize} The control sequence marked should not appear between \csname and \endcsname. ! Extra \endcsname. \lst at SetFirstNumber ...no@\lst at intname \endcsname \relax \ifnum \@tempcnta =... l.12 \begin{lstlisting}{basicstyle=\footnotesize} I'm ignoring this, since I wasn't doing a \csname. ! Missing \endcsname inserted. \relax l.17 \end{lstlisting} The control sequence marked should not appear between \csname and \endcsname. ! Extra \fi. \lst at SaveFirstNumber ...@ \else @\lst at intname \fi \endcsname {\the \c at lstnum... l.17 \end{lstlisting} I'm ignoring this; it doesn't match any \if. ! Extra \endcsname. \lst at SaveFirstNumber ...st at intname \fi \endcsname {\the \c at lstnumber } l.17 \end{lstlisting} I'm ignoring this, since I wasn't doing a \csname. ! Missing \endcsname inserted. \relax l.21 \begin{lstlisting}{basicstyle=\footnotesize} The control sequence marked should not appear between \csname and \endcsname. ! Extra \endcsname. \lst at SetFirstNumber ...no@\lst at intname \endcsname \relax \ifnum \@tempcnta =... l.21 \begin{lstlisting}{basicstyle=\footnotesize} I'm ignoring this, since I wasn't doing a \csname. ! Extra \fi. \lst at SetFirstNumber ...\@tempcnta \relax }\fi \fi l.21 \begin{lstlisting}{basicstyle=\footnotesize} I'm ignoring this; it doesn't match any \if. ! Missing \endcsname inserted. \relax l.24 \end{lstlisting} The control sequence marked should not appear between \csname and \endcsname. ! Extra \fi. \lst at SaveFirstNumber ...@ \else @\lst at intname \fi \endcsname {\the \c at lstnum... l.24 \end{lstlisting} I'm ignoring this; it doesn't match any \if. ! Extra \endcsname. \lst at SaveFirstNumber ...st at intname \fi \endcsname {\the \c at lstnumber } l.24 \end{lstlisting} I'm ignoring this, since I wasn't doing a \csname. [1 %%%%%%%%%%%%%%%%%% I can reproduce this when I have two lstlisting blocks that define a custom basicstyle. So my workaround is to simply change one of them to: \begin{lstlisting}{basicstyle=\footnotesize} to: \begin{lstlisting} Here is a minimum example for me to reproduce this problem: %%%%%%%%%%%%%%%% %&LaTeX \documentclass{article} \usepackage{listings} \lstset{ columns=fixed } \begin{document} \begin{lstlisting}{basicstyle=\footnotesize} A B C 9 8 7 6 5 4 D E F \end{lstlisting} TEXT HERE \begin{lstlisting}{basicstyle=\footnotesize} this is a test ofth ee m ergency \end{lstlisting} \end{document} %%%%%%%%%%%%%%%% I assume I am using this wrong, but I have found examples like that and also I thought that is what I read in the Listings package documentation. The above generates (copy and paste from xpdf): %%%%%%%%%%%%%%%%%% A B C 9 8 7 6 5 4 D E F 5 TEXT HERE Command invalid in math modeCommand invalid in math mode this is a test ofth ee m ergency 3 %%%%%%%%%%%%%%%%%% I do not know where the "5" and "3" come from or the repeated error message. Also notice how at the "5" and later it is indented. Any suggestions? I don't want to set the smaller font size for all listings. Maybe listings package is not what I need. I want simply to have verbatim text to be in the same font as the rest of my document while keeping a fixed spacing (for formatting). Also I could accept using the default font size in the listings (no \footnotesize) if the fixed text in there didn't wrap. Thank you, Jeremy C. Reed echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \ tr '#-~' '\-.-{' From reed at reedmedia.net Wed Apr 15 16:15:51 2009 From: reed at reedmedia.net (Jeremy C. Reed) Date: Wed, 15 Apr 2009 09:15:51 -0500 (CDT) Subject: [texhax] listings causing: Command invalid in math modeCommand invalid in math mode In-Reply-To: References: Message-ID: On Wed, 15 Apr 2009, Jeremy C. Reed wrote: > \begin{lstlisting}{basicstyle=\footnotesize} Now I found my problem, that should be brackets not braces for the options: \begin{lstlisting}[basicstyle=\footnotesize] > Maybe listings package is not what I need. I want simply to have verbatim > text to be in the same font as the rest of my document while keeping a > fixed spacing (for formatting). > > Also I could accept using the default font size in the listings (no > \footnotesize) if the fixed text in there didn't wrap. From news3 at nililand.de Wed Apr 15 16:30:18 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Wed, 15 Apr 2009 16:30:18 +0200 Subject: [texhax] accented letters converting from PDF to Word References: <49E58014.4030707@gmail.com> Message-ID: Am Wed, 15 Apr 2009 08:35:00 +0200 schrieb Gianni Maniscalco Basile: > Sorry to trouble you. > I am a meny years TeX and LaTeX user and since a few months I have to > convert pdf files built with PDFLaTeX into MWord files. > Most converters do a pretty good job. But! > Accented letter disappear in the Word file or in the best case they came > out as `a, `e, etc. > If I use the accented glyphs (?????), they just disappear. > Is there something I can do? Use T1-encoding (\usepackage[T1]{fontenc}). Sometimes you also need the package cmap. And if you use accented glyphs (?????) in the input: don't forget to use inputenc. -- Ulrike Fischer From mohamed.houssni at e-press.co.ma Wed Apr 15 18:35:52 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed, 15 Apr 2009 16:35:52 +0000 Subject: [texhax] cuted package In-Reply-To: References: Message-ID: <49E60CE8.8070901@e-press.co.ma> thank you for your response. My maketitle is composed by \title{........} \author{........} \institute{..........} \date{...........} \abstract{............} \resume{............} and I have a footnote inside the author macro which correspond to the "author correspondence" but when I use the "strip" environment derived from "cuted" package to cut automaticaly one of the box (abstract or resume) which overflow on the bottom of page. In this case the footnote is put on the bottom of the second page whereas it must be on the first Anyone have an idea ? best regards Philip G. Ratcliffe a ?crit : >>I am using "cuted" style to generate my one column maketitle in a two >>column file but I have problems with footnote inside maketitle. >> >> > >Be a little more specific and maybe someone can help. What exactly are your >"problems with footnote inside maketitle"? > >Cheers, Phil > > > > -- ------------------- Dr. Mohamed Houssni Responsable d'Edition e-Press, 34, Rue Mustapha El Manfalouti Quartier Gauthier Casablanca - Maroc Phone : 212 (0)22 26 23 21 Fax : 212 (0)22 26 80 84 From mohamed.houssni at e-press.co.ma Wed Apr 15 18:38:03 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed, 15 Apr 2009 16:38:03 +0000 Subject: [texhax] cuted package In-Reply-To: References: Message-ID: <49E60D6B.2090505@e-press.co.ma> thank you for your response. My maketitle is composed by \title{........} \author{........} \institute{..........} \date{...........} \abstract{............} \resume{............} and I have a footnote inside the author macro which correspond to the "author correspondence" but when I use the "strip" environment derived from "cuted" package to cut automaticaly one of the box (abstract or resume) which overflow on the bottom of page. In this case the footnote is put on the bottom of the second page whereas it must be on the first Anyone have an idea ? best regards Philip G. Ratcliffe a ?crit : >>I am using "cuted" style to generate my one column maketitle in a two >>column file but I have problems with footnote inside maketitle. >> >> > >Be a little more specific and maybe someone can help. What exactly are your >"problems with footnote inside maketitle"? > >Cheers, Phil > > > > -- ------------------- Dr. Mohamed Houssni From jgandradev at mac.com Wed Apr 15 19:02:21 2009 From: jgandradev at mac.com (=?ISO-8859-1?Q?Jes=FAs_Guillermo_Andrade?=) Date: Wed, 15 Apr 2009 12:32:21 -0430 Subject: [texhax] Failed to convert input string to UTF16 Message-ID: Hello everyone! Im using Lyx 1.6.2 with the latest version of Texlive. Im trying to get Linux libertine font in my system to work but althoug I get results, there are some characters in the titles that are in chinese! but in fact, they are spanish accentuated chars. Why are the chinese chars appearing? This is my current preamble. Mind that all the fonts are installed and they work.... I surmise the problem is related with the encoding? But I set the encoding to UTF-8 (Xetex) % !TEX TS?program = xetex % !TEX encoding = UTF?8 Unicode %--------------------------------------------------------------- % Carga de Paquetes. %--------------------------------------------------------------- % Libertine FONT \usepackage[T1]{fontenc} \usepackage{xelibertine} \@ifundefined{XeTeXversion}{}{% \usepackage{fontspec}% \setromanfont[Mapping=tex?text]{Linux Libertine O}% \setsansfont[Mapping=tex?text]{Linux Biolinum O}% \setmonofont[Mapping=tex?text,Scale=0.9]{Courier New}% \defaultfontfeatures{Scale=MatchLowercase} }% \usepackage{xunicode} \usepackage{xltxtra} After I run xetex, I get this error ** WARNING ** Failed to convert input string to UTF16... ** WARNING ** Failed to convert input string to UTF16... What is wrong... this is supposed to work but so far... but Im stucked. Can you help me? Thanks Cualquier intento de simplificar las cosas s?lo causa mayor confusi?n. Ley de Comunicaciones. ------------------------------ Jes?s Guillermo Andrade (Abg.) Gerente de Litigios y Corporativo. EDM. AC. API. Andrade & Moreno S.C. (http://amlegal.wordpress.com/) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090415/a0d6eacb/attachment.html From asnd at triumf.ca Wed Apr 15 22:30:41 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 15 Apr 2009 13:30:41 -0700 Subject: [texhax] figures point by point In-Reply-To: <49E5BF4F.2040009@e-press.co.ma> References: <49E5BF4F.2040009@e-press.co.ma> Message-ID: Mohamed HOUSSNI writes: > I am a LaTeX user then when I compile my file and displaying the dvi some > figures take many resources and much memory for display and I would like to > know if there is a technical and automatical way to detect theme before ? It isn't really what you are asking for (I'm not sure what you are really asking for) but there is \usepackage[draft]{graphicx} (or "graphics" or whichever package declaration you use for graphic inclusing... ass "draft" to the options) That will omit all the images, placing a box in their place. Other possibilities are to produce ps or pdf files and view them. Maybe your particular dvi viewer has a setting to cache the images, but you will have to check its documentation, -- Donald Arseneau asnd at triumf.ca From dml2009 at easychair.org Wed Apr 15 23:10:06 2009 From: dml2009 at easychair.org (dml2009 at easychair.org) Date: Wed, 15 Apr 2009 23:10:06 +0200 (CEST) Subject: [texhax] 2nd CFP: DML 2009--Towards a Digital Mathematics Library, Ontario, CA, Jul 8-9th Message-ID: <20090415211006.C08FB1F6E0D@anxur.fi.muni.cz> 2nd Call for papers: Towards a Digital Mathematics Library (DML 2009) July 8-9th, 2009, Ontario, CA c/o CICM 2009 Web: http://www.fi.muni.cz/~sojka/dml-2009.html Deadlines: April 29th: abstract submissions May 4th: paper submissions May 22nd: paper acceptance/rejection decision May 29th: versions for the proceedings due Jul 8th: workshop date, proceedings on site Submissions: http://www.easychair.org/conferences?conf=dml2009 Submissions will be refereed on the basis of technical quality, novelty, potential impact for building DML, and clarity. Final paper versions should conform to the Springer LNCS (llncs class) style, preferably using LaTeX2e. Submission categories: Full paper: 4-12 LNCS pages Short paper/poster/work in progress report: 1-4 LNCS pages Overview: Mathematicians dream of a digital archive containing all peer-reviewed mathematical literature ever published, properly linked and validated/verified. It is estimated that the entire corpus of mathematical knowledge published over the centuries does not exceed 100,000,000 pages, an amount easily manageable by current information technologies. The workshop's objectives are to formulate the strategy and goals of a global mathematical digital library and to summarize the current successes and failures of ongoing technologies and related projects, asking such questions as: # What technologies, standards, algorithms and formats should be used and what metadata should be shared? # What business models are suitable for publishers of mathematical literature, authors and funders of their projects and institutions? # Is there a model of sustainable, interoperable, and extensible mathematical library that mathematicians can use in their everyday work? # What is the best practice for * retrodigitized mathematics (from images via OCR to MathML and/or TeX); * retro-born-digital mathematics (from existing electronic copy in DVI, PS or PDF to MathML and/or TeX); * born-digital mathematics (how to make needed metadata and file formats available as a side effect of publishing workflow [CEDRAM/Euclid model])? Proceedings: will be published by Masaryk University and will be available on site, with best papers chosen for postconference proceedings published by renowned publisher or for journal. Keynote (conditioned by funding approval): David Ruddy (Project Euclid, Cornell University Library, US): Getting from Here to There: Assembling the Pieces of the Digital Mathematics Library (tentative title) Topics: (include, but are not limited to) o search, indexing and retrieval of mathematical documents o ranking of mathematical papers, similarity of mathematical documents o math OCR with MathML/TeX output o document conversions from/to MathML, OpenMath, LaTeX, PostScript and [tagged] PDF o conversions between various mathematical formalisms o mathematical document compression o processing of scanned images o algorithms for crosslinking of bibliographical items, intext citations search o mathematical document classification, MSC 2010 o mathematical text mining o mathematical documents metadata exchange via OAI-PMH and/or OAI-ORE o long term archiving, data migration o reports and experience from math digitization projects o math publishing with long term archival goal o software engineering aspects of creating, handling MathML, OMDoc, OpenMath documents, and displaying them in web browsers Programme Committee (some members approval pending): Jose Borbinha (Technical University of Lisbon, IST, PT) Thierry Bouche (University Grenoble, Cellule Mathdoc, FR) Michael Doob (University of Manitoba, Winnipeg, CA) Thomas Fischer (Goettingen University, Digitization Center, DE) Yannis Haralambous (Telecom Bretagne, FR) Vaclav Hlavac (Czech Technical University, Faculty of Engineering, Prague, CZ) Janka Chlebikova (Comenius University, MFF, Bratislava, SK) Enrique Macias-Virgos (University of Santiago de Compostella, ES) Jiri Rakosnik (Academy of Sciences, Mathematical Institute, Prague, CZ) Eugenio Rocha (University of Aveiro, Dept. of Mathematics, PT) David Ruddy (Cornell University, Library, US) Volker Sorge (University of Birmingham, UK) Petr Sojka (Masaryk University, Faculty of Informatics, Brno, CZ) [chair] Masakazu Suzuki (Kyushu University, Faculty of Mathematics, JP) Bernd Wegner (Springer/Zentralblatt MATH, Berlin, DE) Organizing Committee: Michael Doob, Adam Rambousek, Michal Ruzicka, Petr Sojka Registration, Travel, Accomodation: see CICM web pages http://www.orcca.on.ca/conferences/cicm09/ Questions/inquiries: email to dml2009 at easychair dot org CFP distribution: Please, distribute at your institution. Apologies for multiple postings! This is not SPAM. If you want to be removed from this list, please tell us at the email above. From spinal1515 at gmail.com Wed Apr 15 19:23:18 2009 From: spinal1515 at gmail.com (paul) Date: Wed, 15 Apr 2009 19:23:18 +0200 Subject: [texhax] Help on style Message-ID: <540b60660904151023k2385663i807139879e3838cf@mail.gmail.com> I need your help: is there a common package to include to quickly make the page appear as in the following paper? http://rapidshare.com/files/221699666/a_generalized_attack.pdf Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090415/bf3438e3/attachment.html From alan at alphabyte.co.nz Thu Apr 16 01:53:25 2009 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Thu, 16 Apr 2009 11:53:25 +1200 Subject: [texhax] Help on style In-Reply-To: <540b60660904151023k2385663i807139879e3838cf@mail.gmail.com> References: <540b60660904151023k2385663i807139879e3838cf@mail.gmail.com> Message-ID: <0F718D1B-F765-4596-A575-21EEEBB31FA6@alphabyte.co.nz> Paul, On first glance it looks like a fairly standard article class, maybe memoir? On the other hand it may be a highly customised journal class specific to their publication, in which case they probably have the class file available for authors. Of course I have no idea what packages they might have used. Have you considered asking the editors or the publisher? Cheers Alan On 16/04/2009, at 5:23 AM, paul wrote: > I need your help: is there a common package to include to quickly > make the page appear as in the following paper? > > http://rapidshare.com/files/221699666/a_generalized_attack.pdf > -- Alan Litchfield MBus(Hons), MNZCS AlphaByte PO Box 1941, Auckland, NZ. 1140 http://www.alphabyte.co.nz From mohamed.houssni at e-press.co.ma Thu Apr 16 10:21:55 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Thu, 16 Apr 2009 08:21:55 +0000 Subject: [texhax] figures point by point In-Reply-To: References: <49E5BF4F.2040009@e-press.co.ma> Message-ID: <49E6EAA3.5040404@e-press.co.ma> Thanks you for your response. What I would like exactely is a technical way to detect theme before the use in LaTeX and to correct theme by Photoshop. Anyone have an idea ? Best regards Donald Arseneau a ?crit : >Mohamed HOUSSNI writes: > > > >>I am a LaTeX user then when I compile my file and displaying the dvi some >>figures take many resources and much memory for display and I would like to >>know if there is a technical and automatical way to detect theme before ? >> >> > >It isn't really what you are asking for (I'm not sure what you are really >asking for) but there is > >\usepackage[draft]{graphicx} > >(or "graphics" or whichever package declaration you use for >graphic inclusing... ass "draft" to the options) > >That will omit all the images, placing a box in their place. > > > >Other possibilities are to produce ps or pdf files and >view them. > > >Maybe your particular dvi viewer has a setting to cache >the images, but you will have to check its documentation, > > > > -- ------------------- Dr. Mohamed Houssni From toms at ncifcrf.gov Thu Apr 16 11:43:49 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Thu, 16 Apr 2009 05:43:49 -0400 (EDT) Subject: [texhax] figures point by point In-Reply-To: <49E6EAA3.5040404@e-press.co.ma> from Mohamed HOUSSNI at "Apr 16, 2009 08:21:55 am" Message-ID: <200904160943.n3G9hnGV015868@strawberry.ncifcrf.gov> Mohamed: > >>I am a LaTeX user then when I compile my file and displaying the dvi some > >>figures take many resources and much memory for display and I would like to > >>know if there is a technical and automatical way to detect theme before ? > What I would like exactely is a technical way to detect theme before the > use in LaTeX and to correct theme by Photoshop. Seems to me that perhaps what you want is a script. On the Mac or Linux one could write a csh (or tcsh or bash or sh or probably better yet perl) script to detect the size of your files. (On windows one can do things like this under cygwin.) Rather than calling photoshop, the script would call a program that would automatically manipulate the images (always keeping a backup and working with a copy probably!). Imagemagick (just google that) is a set of programs that is great for that and within imagemagick is the powerful 'convert' program that could be used to adjust the image. At this point I write scripts to do almost everything and only rarely use a program like photoshop. The reason is that it allows me to repeat the manipulations and to have a precise record of what I did. Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 schneidt at mail.nih.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From tchibadou at hotmail.com Thu Apr 16 10:58:06 2009 From: tchibadou at hotmail.com (Lore M) Date: Thu, 16 Apr 2009 08:58:06 +0000 Subject: [texhax] Tex problem Message-ID: Hi, I have some problems with my Latex document and I can't find any group discussion that could help me. I'm kind of desperate :) and I'm sorry to contact you. But you may be able to give me the link for a good forum or something like that ? Thanks a lot. Best regards, Lore. PS : Here is my problem => I'd like to realise an automatic repport with the combination of R and Latex (Sweave package). I create several plots with R, and then I'd like to include them in my Latex document. The thing is that I don't know how many plots I'll get before I run my program, so I can't write \includegraphics for every plots. Therefore my code is : \multido{\i=1+1}{\Sexpr{numPage}}{\includegraphics[page=\i]{image.pdf}} Each plot is on 1 page of my pdf file "image.pdf" and I include all the pages (here, there are "numPage" pages). The problem is that all the plots are on the same line and I get a "Overful box" because there are too many plots. Could you help me ? I also tried to use \includepdf[page=-]{image.pdf} but each page of the pdf file is on one page of my latex document. And I'd like to avoid empty space, thus I'd like several plots centered on the same line, just like \includegraphics does. _________________________________________________________________ D?couvrez toutes les possibilit?s de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090416/36fd0d2b/attachment.html From news3 at nililand.de Thu Apr 16 17:51:21 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Thu, 16 Apr 2009 17:51:21 +0200 Subject: [texhax] Tex problem References: Message-ID: <1bvcamc1aqor8$.dlg@nililand.de> Am Thu, 16 Apr 2009 08:58:06 +0000 schrieb Lore M: > PS : Here is my problem => > I'd like to realise an automatic repport with > the combination of R and Latex (Sweave package). I create several plots with R, and then > I'd like to include them in my Latex document. The thing is that I > don't know how many plots I'll get before I run my program, so I can't > write \includegraphics for every plots. Therefore my code is : > > > \multido{\i=1+1}{\Sexpr{numPage}}{\includegraphics[page=\i]{image.pdf}} > > > > > Each plot is on 1 page of my pdf file "image.pdf" and I include all > the pages (here, there are "numPage" pages). The problem is that all > the plots are on the same line and I get a "Overful box" because there > are too many plots. Could you help me ? Give LaTeX a chance to find a place to break the line. Add e.g. a space after the graphic. If you want a paragraph break after each graphics you should probably better use whiledo from the ifthen package \documentclass{article} \usepackage{ifthen} \newcounter{myloop} \setcounter{myloop}{1} \begin{document} \whiledo{\value{myloop}<50} {\themyloop: \rule{4cm}{3cm}\par \stepcounter{myloop}} \end{document} -- Ulrike Fischer From mohamed.houssni at e-press.co.ma Fri Apr 17 13:53:31 2009 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Fri, 17 Apr 2009 11:53:31 +0000 Subject: [texhax] footnote without links Message-ID: <49E86DBB.7060903@e-press.co.ma> Dear list, I am using hyperref package to add links in my PDF file (generated by latex--->dvips---->ps2pdf) and I would like to suppress links for footnote only. Anyone have an idea to how to do that ? Thanks a lot Best regards, ------------------- Dr. Mohamed Houssni From Susan.Dittmar at gmx.de Fri Apr 17 14:27:25 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Fri, 17 Apr 2009 14:27:25 +0200 Subject: [texhax] footnote without links In-Reply-To: <49E86DBB.7060903@e-press.co.ma> References: <49E86DBB.7060903@e-press.co.ma> Message-ID: <20090417122725.GK28106@eureca.de> Quoting Mohamed HOUSSNI (mohamed.houssni at e-press.co.ma): > I am using hyperref package to add links in my PDF file (generated by > latex--->dvips---->ps2pdf) and I would like to suppress links for > footnote only. > > Anyone have an idea to how to do that ? Without knowing the internals, and without having tested anything, I would give this a try: \newcommand{\saveOriginalFootnoteDefinition} \let\saveOriginalFootnoteDefinition\footnote \usepackage[...]{hyperref} \let\footnote\saveOriginalFootnoteDefinition It is an attempt to restore the definition of \footnote after loading the hyperref package. 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 : http://tug.org/pipermail/texhax/attachments/20090417/4088b0d2/attachment.bin From swami at mun.ca Sat Apr 18 13:05:18 2009 From: swami at mun.ca (swami at mun.ca) Date: Sat, 18 Apr 2009 08:35:18 -0230 Subject: [texhax] A macro needed for small italics shape relative to the main bodu text size Message-ID: <1240052718.49e9b3ee0508c@webmail.mun.ca> I need to write a macro, say \sit (for small italic size) so that \sit{xxxx} should put the "xxxx" in a smaller italic shape "relative to" the body text font size (and not an absolute small italics size). If I write the macro as follows \newcommand{\sit}[1]{{\footnotesize\itshape #1}} it works fine if the body font is \normalsize, but if the body text size is reduced to \small, \tiny, or \footnotesize, the \sit{xxxx} command does not produce a proportionately smaller italic font, but keeps its original size as it was using before, when working with normalsize body text. How can I change the above macro so that \sin{xxxx} puts a "smaller italic" shape "relative to the body font used, and not an "absolute small italics"? From uwe.lueck at web.de Sat Apr 18 20:42:46 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Sat, 18 Apr 2009 20:42:46 +0200 Subject: [texhax] =?iso-8859-15?q?A_macro_needed_for_small_italics_shape_r?= =?iso-8859-15?q?elative_to_the_main_bodu_text=09size?= Message-ID: <1117056688@web.de> swami at mun.ca schrieb am 18.04.2009 19:34:55: > I need to write a macro, say \sit (for small italic size) > so that \sit{xxxx} should put the "xxxx" in a smaller italic > shape "relative to" the body text font size (and not an absolute small italics > size). There is a LaTeX 2.09 package `smaller' on CTAN, dating from 1990. It has a \smaller and a \larger command. Does it help? -- Uwe. From ekmath at asianetindia.com Sun Apr 19 03:11:08 2009 From: ekmath at asianetindia.com (E. Krishnan) Date: Sun, 19 Apr 2009 06:41:08 +0530 (IST) Subject: [texhax] A macro needed for small italics shape relative to the main bodu text size In-Reply-To: <1240052718.49e9b3ee0508c@webmail.mun.ca> References: <1240052718.49e9b3ee0508c@webmail.mun.ca> Message-ID: On Sat, 18 Apr 2009, swami at mun.ca wrote: > I need to write a macro, say \sit (for small italic size) > so that \sit{xxxx} should put the "xxxx" in a smaller italic > shape "relative to" the body text font size (and not an absolute small italics > size). If I write the macro as follows > > \newcommand{\sit}[1]{{\footnotesize\itshape #1}} > > it works fine if the body font is \normalsize, but if the body > text size is reduced to \small, \tiny, or \footnotesize, > the \sit{xxxx} command does not produce a proportionately smaller > italic font, but keeps its original size as it was using before, > when working with normalsize body text. > > How can I change the above macro so that \sin{xxxx} puts > a "smaller italic" shape "relative to the body font used, and not an > "absolute small italics"? Please have a look at the "relsize" package. The documentation is in the style file itself, at the beginning and the end. -- Krishnan From swami at mun.ca Sun Apr 19 11:57:38 2009 From: swami at mun.ca (swami at mun.ca) Date: Sun, 19 Apr 2009 07:27:38 -0230 Subject: [texhax] [Tugindia] A macro needed for small italics shape relative to the main bodu text size In-Reply-To: References: <1240052718.49e9b3ee0508c@webmail.mun.ca> Message-ID: <1240135058.49eaf592a9a49@webmail.mun.ca> Thanks very muchg for the tips. Both "relsize", and CV Radhakrishnan's macro work fine and does the job (The old LaTeX 209 package "smaller" is now superceded by "relsize" package) From asnd at triumf.ca Mon Apr 20 08:44:08 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 19 Apr 2009 23:44:08 -0700 Subject: [texhax] A macro needed for small italics shape relative to the main bodu text size In-Reply-To: <1117056688@web.de> References: <1117056688@web.de> Message-ID: Uwe Lueck writes: > There is a LaTeX 2.09 package `smaller' on CTAN, dating from 1990. It has a \smaller and a \larger command. Does it help? smaller.sty was the basis for relsize.sty -- Donald Arseneau asnd at triumf.ca From uwe.lueck at web.de Tue Apr 21 15:00:32 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 21 Apr 2009 15:00:32 +0200 Subject: [texhax] Fwd: Re: enviroment/ifthen Message-ID: <5.1.0.14.0.20090421145649.02eebd00@pop3.web.de> The message below is continued under thread `Low-level TeX question: string substitution macro' -- Uwe. [that's all -- for the archive] >At 15:32 11.02.09, Toby Cubitt wrote: > >Uwe L?ck wrote: > > >> At 13:38 08.02.09, wawan wrote: > > >>> I need help how to build sty in latex ( environment ) that can replace > > >>> squences of chars with my symbols. For example if there input chars > "SU" > > >>> than replace with XY ( my symbols from metafont). > > >> [...] > > > You might reason whether your actual task is worth such efforts. If the > > > task arises all the time with new projects and with a large number of > > > different strings, this may be the case. I have made such a thing, yet I > > > can't release it as it is. This works on entire files, not environments. > > > >If you do want to embark on this foolish quest :-), perhaps the xstring > >package might help? > >In my earlier posting, I had pointed to > > http://ctan.tug.org/tex-archive/help/Catalogue/bytopic.html#parsingfiles > >-- some offers from which to choose, I choosed which worked at once; it is >especially helpful if the string to be manipulated is not addressed by an >explicit list but by a macro name. > > >Even if the task arises frequently, a simple sed script (or similar) > >will be far quicker to write, easier to maintain, more robust...and > >generally better in almost every way. In my experience, string > >substitution is just not a task that LaTeX is well suited to. It's not > >difficult to integrate running your source through a sed script into > >your LaTeX build procedure (you could even write a quick Makefile). > >I am thinking of users who don't know other program languages than TeX >and/or for whom TeX is most easily accessible, or who rather understand >documentations of (La)TeX packages than of other programs. ted (bytopic) is >a "TeX substitute" for sed. > >Cheers, > > Uwe. From uwe.lueck at web.de Tue Apr 21 15:55:06 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 21 Apr 2009 15:55:06 +0200 Subject: [texhax] Low-level TeX question: string substitution macro Message-ID: <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> [Last thread entry by Toby Cubitt, 2007-05-31, copied much below] Hi Toby, so you have based cleveref.sty on sed? Traitor !-) There have been already datatool, stringstrings, ted, xstring for string substitution using TeX. Scott Pakin's perltex moreover provides ("exported") text processing macros that work independently of the Perl installation which they were created with (right?). I have now provided basic setup of *expandable* chains of string substitutions processing (TeX) files with essentially catcodes 11 and 12 only, so you can, e.g., \immediate\write\result_file{\Transform{\InputLine}} in /macros/latex/contrib/nicetext. So far, I have just used it for replacing `...' by $\dots$, `etc. ' by `etc.\ ' etc. By the way, in (My Code Blog) http://sdh33b.blogspot.com/2008/07/icfp-contest-2008.html Steve Hicks reports about controlling a mars rover using TeX. (The discussion then considers Metafont as well.) TeX forever! Uwe. ____________________________________________________________ This was in thread `enviroment/ifthen': ____________________________________________________________ At 15:32 11.02.09, Toby Cubitt wrote: >Uwe L?ck wrote: > > You might reason whether your actual task is worth such efforts. If the > > task arises all the time with new projects and with a large number of > > different strings, this may be the case. I have made such a thing, yet I > > can't release it as it is. This works on entire files, not environments. > >If you do want to embark on this foolish quest :-), perhaps the xstring >package might help? > >Even if the task arises frequently, a simple sed script (or similar) >will be far quicker to write, easier to maintain, more robust...and >generally better in almost every way. In my experience, string >substitution is just not a task that LaTeX is well suited to. It's not >difficult to integrate running your source through a sed script into >your LaTeX build procedure (you could even write a quick Makefile). > >HTH, > >Toby ____________________________________________________________ Last thread entry by Toby Cubitt, 2007-05-31: ____________________________________________________________ Thanks to some very helpful comments from Barbara Beeton (off-list) and to the on-list replies, I've now more or less got this working. Since catcodes are fixed when the characters are first read (apart from special commands like \string and \meaning), it seems there's no way to do what I want directly. So instead, I first write the unescaped text to a temporary file, then modify the appropriate catcodes and re-read this temporary file, writing it out again to the final destination file. The modified catcodes are in effect when the file is re-read, so the characters get expanded to their escaped form when they're re-written. The only thing holding me back from dispensing with the temporary file is that I can't figure out how to write a newline character to an external file. None of the following seem to work: \write\@stream{^^M} \write\@stream{\\} {\lccode`|=13 \lowercase{\write\@stream{|}}} Is there some way to write out an explicit newline? Please don't just tell me I could do it by writing the file one line at a time. That's what I'm doing at the moment, but it requires the temporary file. I have to loop through the temporary file, reading a line from it and immediately re-writing it (with escapes expanded) to the final file. I could store the text to be written in a macro that gets added to each iteration, and write it all out to file at the very end. But then I need to insert the newlines manually into the macro so that they appear in the file when it's written out, hence my question. In answer to Donald Arseneau's comments: I realise TeX's file input/output features aren't designed for dealing with anything other than files containing TeX source. But the file I'm writing *is* mostly TeX code. The sed script contains rules for replacing one sequence of LaTeX commands with another. The LaTeX commands to be replaced aren't known until the LaTeX source file is processed, so I *have* to write out at least some of the information from within TeX. Given that I have to write something from TeX, I might as well write the entire sed script from TeX if I can. Finally, in reply to Michael Doob: I now think that writing a Perl script instead of sed would only make things slightly simpler. I would still need to escape the "\" character inside Perl strings when writing the script file from TeX, and we're back to my original problem :) By the way, awk can also be made to escape special characters in a string prior to using it as a computed regexp, though not in quite so simple a way as Perl. But I seem to have it working with sed now, anyway. Thanks for everyone's help, and I hope someone can shed similar light on my final dilemma. Toby Toby Cubitt wrote: > I'm trying to write an internal macro that does string substitution, in > order to escape certain characters in the string before writing it to a > file. (The package is supposed to be writing a sed script, so I need to > escape characters that have a special meaning in regular expressions.) > > If this was a user-level macro to be used in the LaTeX source itself, I > think can see how it could be done, by changing the catcodes of the > characters to be escaped to 13 (active character), then defining these > active characters to expand to escaped versions of themselves. (I > suppose this would be somewhat akin to LaTeX's \verb command). The > trouble is, this macro is to be used in a LaTeX package, and I need > something like the following to work: > > > \begingroup% > \catcode`|=0 > |catcode`.=13 |catcode`[=13 |catcode`]=13 > |catcode`^=13 |catcode`$=13 %$ > \catcode`\\=13 > |gdef|@escapechars#1{% > |begingroup > |catcode`|=0 > |catcode`.=13 |catcode`[=13 |catcode`]=13 > |catcode`^=13 |catcode`$=13 %$ > |catcode`\=13 > |def\{|string\|string\}% > |def^{|string\|string^}% > |def${|string\|string$}% > |def.{|string\|string.}% > |def[{|string\|string[}% > |def]{|string\|string]}% > #1|endgroup% > } > |endgroup% > \def\@tmpa{\foobar} > \expandafter\@escapechars\expandafter{\@tmpa}% > > > It seems I need those \catcode changes outside the macro definition, as > well as inside, otherwise the |endgroup and |catcode changes inside the > macro aren't recognized properly, though I don't entirely understand the > reason behind this. In reality, the \@tmpa macro is of course defined by > a much more complicated process than a simple \def (otherwise the whole > exercise becomes trivial!), but the above serves to illustrate the scenario. > > This code is supposed to change the "\foobar" into "\\foobar", but > instead it fails with an "Undefined control sequence \foobar" error. If > I understand this correctly (unlikely!), the problem is that the "\" in > "\foobar" already has catcode 0 (escape character) before it's absorbed > by \@escapechars, so TeX expands #1 into "\foobar" with the catcodes > already assigned, the catcode changes inside the \@escapechars macro > have no effect, and TeX tries to interpret "\foobar" as a command > sequence. Is this at all correct? > > Is there any way to do what I want? If my above analysis is correct, > what I guess I need is a command to change the catcodes of tokens, but > TeX's abilities in this respect seem to be limited. The \string and > \meaning commands can only change tokens to catcode 12 (letter), and the > \lowercase command changes charcodes rather than catcodes. Maybe there's > a completely different way of achieving what I want? > > I've tried to reduce this question to its bare essentials, but if it's > not clear what I'm trying to do, I can go into more detail. > > Thanks very much, > > Toby > From tsc25 at cantab.net Tue Apr 21 16:57:34 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Tue, 21 Apr 2009 16:57:34 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> References: <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> Message-ID: <49EDDEDE.6020008@dr-qubit.org> Hi Uwe, Yes, I made cleveref write out a sed script. As for the sed/awk/perl debate, I personally prefer to use the simplest tool for the job: sed if possible, awk if sed isn't up to it, and perl if the awk solution would be too complicated. (I've never yet gotten as far as perl :) I completely see why one might like to make cleveref write out a TeX script instead (the script would then need to use one of the string substitution packages you mention). The reasoning, of course, is that if someone is using cleveref, then they're guaranteed to have TeX installed and working, so by far the most portable and robust solution is to generate a TeX script to carry out the desired string substitutions. However, implementing this would be far more work than I'm prepared to put into a feature that is simply a work-around that allows me (and maybe others) to submit papers to journals that accept LaTeX but don't support cleveref (i.e. all of them :-) If someone wanted to contribute a patch that (optionally) generated a TeX (or awk or perl) script, instead of a sed script, I'd be happy to include it in cleveref... Toby PS: I read about the Mars rover project a while back. It definitely falls into the "foolish quest" category :) Uwe L?ck wrote: > [Last thread entry by Toby Cubitt, 2007-05-31, copied much below] > > Hi Toby, > > so you have based cleveref.sty on sed? Traitor !-) > > There have been already datatool, stringstrings, ted, xstring for string > substitution using TeX. Scott Pakin's perltex moreover provides > ("exported") text processing macros that work independently of the Perl > installation which they were created with (right?). > > I have now provided basic setup of *expandable* chains of string > substitutions processing (TeX) files with essentially catcodes 11 and 12 > only, so you can, e.g., > > \immediate\write\result_file{\Transform{\InputLine}} > > in /macros/latex/contrib/nicetext. So far, I have just used it for > replacing `...' by $\dots$, `etc. ' by `etc.\ ' etc. > > By the way, in (My Code Blog) > > http://sdh33b.blogspot.com/2008/07/icfp-contest-2008.html > > Steve Hicks reports about controlling a mars rover using TeX. (The > discussion then considers Metafont as well.) > > TeX forever! > > Uwe. > > ____________________________________________________________ > > This was in thread `enviroment/ifthen': > ____________________________________________________________ > At 15:32 11.02.09, Toby Cubitt wrote: >> Uwe L?ck wrote: >> > You might reason whether your actual task is worth such efforts. If the >> > task arises all the time with new projects and with a large number of >> > different strings, this may be the case. I have made such a thing, >> yet I >> > can't release it as it is. This works on entire files, not >> environments. >> >> If you do want to embark on this foolish quest :-), perhaps the xstring >> package might help? >> >> Even if the task arises frequently, a simple sed script (or similar) >> will be far quicker to write, easier to maintain, more robust...and >> generally better in almost every way. In my experience, string >> substitution is just not a task that LaTeX is well suited to. It's not >> difficult to integrate running your source through a sed script into >> your LaTeX build procedure (you could even write a quick Makefile). >> >> HTH, >> >> Toby > > > ____________________________________________________________ > > Last thread entry by Toby Cubitt, 2007-05-31: > ____________________________________________________________ > > Thanks to some very helpful comments from Barbara Beeton (off-list) and > to the on-list replies, I've now more or less got this working. > > Since catcodes are fixed when the characters are first read (apart from > special commands like \string and \meaning), it seems there's no way to > do what I want directly. So instead, I first write the unescaped text to > a temporary file, then modify the appropriate catcodes and re-read this > temporary file, writing it out again to the final destination file. The > modified catcodes are in effect when the file is re-read, so the > characters get expanded to their escaped form when they're re-written. > > The only thing holding me back from dispensing with the temporary file > is that I can't figure out how to write a newline character to an > external file. None of the following seem to work: > > \write\@stream{^^M} > \write\@stream{\\} > {\lccode`|=13 \lowercase{\write\@stream{|}}} > > Is there some way to write out an explicit newline? Please don't just > tell me I could do it by writing the file one line at a time. That's > what I'm doing at the moment, but it requires the temporary file. I have > to loop through the temporary file, reading a line from it and > immediately re-writing it (with escapes expanded) to the final file. I > could store the text to be written in a macro that gets added to each > iteration, and write it all out to file at the very end. But then I need > to insert the newlines manually into the macro so that they appear in > the file when it's written out, hence my question. > > > In answer to Donald Arseneau's comments: I realise TeX's file > input/output features aren't designed for dealing with anything other > than files containing TeX source. But the file I'm writing *is* mostly > TeX code. The sed script contains rules for replacing one sequence of > LaTeX commands with another. The LaTeX commands to be replaced aren't > known until the LaTeX source file is processed, so I *have* to write out > at least some of the information from within TeX. Given that I have to > write something from TeX, I might as well write the entire sed script > from TeX if I can. > > Finally, in reply to Michael Doob: I now think that writing a Perl > script instead of sed would only make things slightly simpler. I would > still need to escape the "\" character inside Perl strings when writing > the script file from TeX, and we're back to my original problem :) By > the way, awk can also be made to escape special characters in a string > prior to using it as a computed regexp, though not in quite so simple a > way as Perl. But I seem to have it working with sed now, anyway. > > Thanks for everyone's help, and I hope someone can shed similar light on > my final dilemma. > > Toby > > > Toby Cubitt wrote: >> I'm trying to write an internal macro that does string substitution, in >> order to escape certain characters in the string before writing it to a >> file. (The package is supposed to be writing a sed script, so I need to >> escape characters that have a special meaning in regular expressions.) >> >> If this was a user-level macro to be used in the LaTeX source itself, I >> think can see how it could be done, by changing the catcodes of the >> characters to be escaped to 13 (active character), then defining these >> active characters to expand to escaped versions of themselves. (I >> suppose this would be somewhat akin to LaTeX's \verb command). The >> trouble is, this macro is to be used in a LaTeX package, and I need >> something like the following to work: >> >> >> \begingroup% >> \catcode`|=0 >> |catcode`.=13 |catcode`[=13 |catcode`]=13 >> |catcode`^=13 |catcode`$=13 %$ >> \catcode`\\=13 >> |gdef|@escapechars#1{% >> |begingroup >> |catcode`|=0 >> |catcode`.=13 |catcode`[=13 |catcode`]=13 >> |catcode`^=13 |catcode`$=13 %$ >> |catcode`\=13 >> |def\{|string\|string\}% >> |def^{|string\|string^}% >> |def${|string\|string$}% >> |def.{|string\|string.}% >> |def[{|string\|string[}% >> |def]{|string\|string]}% >> #1|endgroup% >> } >> |endgroup% >> \def\@tmpa{\foobar} >> \expandafter\@escapechars\expandafter{\@tmpa}% >> >> >> It seems I need those \catcode changes outside the macro definition, as >> well as inside, otherwise the |endgroup and |catcode changes inside the >> macro aren't recognized properly, though I don't entirely understand the >> reason behind this. In reality, the \@tmpa macro is of course defined by >> a much more complicated process than a simple \def (otherwise the whole >> exercise becomes trivial!), but the above serves to illustrate the > scenario. >> >> This code is supposed to change the "\foobar" into "\\foobar", but >> instead it fails with an "Undefined control sequence \foobar" error. If >> I understand this correctly (unlikely!), the problem is that the "\" in >> "\foobar" already has catcode 0 (escape character) before it's absorbed >> by \@escapechars, so TeX expands #1 into "\foobar" with the catcodes >> already assigned, the catcode changes inside the \@escapechars macro >> have no effect, and TeX tries to interpret "\foobar" as a command >> sequence. Is this at all correct? >> >> Is there any way to do what I want? If my above analysis is correct, >> what I guess I need is a command to change the catcodes of tokens, but >> TeX's abilities in this respect seem to be limited. The \string and >> \meaning commands can only change tokens to catcode 12 (letter), and the >> \lowercase command changes charcodes rather than catcodes. Maybe there's >> a completely different way of achieving what I want? >> >> I've tried to reduce this question to its bare essentials, but if it's >> not clear what I'm trying to do, I can go into more detail. >> >> Thanks very much, >> >> Toby >> > From doc.evans at gmail.com Tue Apr 21 20:36:45 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Tue, 21 Apr 2009 12:36:45 -0600 Subject: [texhax] Accessing unusual Latin Modern glyphs in plain TeX Message-ID: <49EE123D.6050703@gmail.com> Is there are relatively simple way to access some of the more unusual glyphs that are present in the Latin Modern fonts, but which don't seem to appear in the standard encodings? For example (just to pick one more or less at random) LM includes glyphs for Abrevehookabove, U+1EB2, which I believe does not occur in any of the standard encodings. How would I go about getting that character to print using plain TeX (actually, pdfTeX)? Or is it so painful that I really don't want to know? Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://tug.org/pipermail/texhax/attachments/20090421/6223e6c3/attachment.bin From reinhard.kotucha at web.de Tue Apr 21 21:49:08 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 21 Apr 2009 21:49:08 +0200 Subject: [texhax] Accessing unusual Latin Modern glyphs in plain TeX In-Reply-To: <49EE123D.6050703@gmail.com> References: <49EE123D.6050703@gmail.com> Message-ID: <18926.9012.277944.620015@zaphod.ms25.net> On 21 April 2009 D. R. Evans wrote: > Is there are relatively simple way to access some of the more unusual > glyphs that are present in the Latin Modern fonts, but which don't seem to > appear in the standard encodings? > > For example (just to pick one more or less at random) LM includes glyphs > for Abrevehookabove, U+1EB2, which I believe does not occur in any of the > standard encodings. How would I go about getting that character to print > using plain TeX (actually, pdfTeX)? Hi Doc, U+1EB2 is not unusual. About 85 million people are using it several times per day. :) If you want to typeset Vietnamese, use T5 encoding. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From doc.evans at gmail.com Tue Apr 21 23:13:52 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Tue, 21 Apr 2009 15:13:52 -0600 Subject: [texhax] Accessing unusual Latin Modern glyphs in plain TeX In-Reply-To: <18926.9012.277944.620015@zaphod.ms25.net> References: <49EE123D.6050703@gmail.com> <18926.9012.277944.620015@zaphod.ms25.net> Message-ID: <49EE3710.2010201@gmail.com> Reinhard Kotucha said the following at 04/21/2009 01:49 PM : > On 21 April 2009 D. R. Evans wrote: > > > Is there are relatively simple way to access some of the more unusual > > glyphs that are present in the Latin Modern fonts, but which don't seem to > > appear in the standard encodings? > > > > For example (just to pick one more or less at random) LM includes glyphs > > for Abrevehookabove, U+1EB2, which I believe does not occur in any of the > > standard encodings. How would I go about getting that character to print > > using plain TeX (actually, pdfTeX)? > > Hi Doc, > U+1EB2 is not unusual. About 85 million people are using it several > times per day. :) > > If you want to typeset Vietnamese, use T5 encoding. OK, so my example was bad. Still, I thought I was clear that it was only an example. Instead of trying to come up with a character that isn't in any of the common encodings and risk someone else pointing out that the character I happen to choose is in one of the standard encodings, pretend that I asked the question, but using some generic character fleb, where fleb is a unicode character available in LM, but not available in the standard encodings. I looked through the common encodings and didn't immediately see "cdotaccent" (U+010B) in any of them, so I think you can regard the invented character "fleb" as being equivalent to "cdotaccent". I hope I haven't made myself hopelessly unclear. Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://tug.org/pipermail/texhax/attachments/20090421/bb53be8a/attachment.bin From r.turner at auckland.ac.nz Wed Apr 22 00:17:44 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Wed, 22 Apr 2009 10:17:44 +1200 Subject: [texhax] One author several years in citation. Message-ID: <9E55BE98-E0E8-4823-9FAC-0F4C85543A00@auckland.ac.nz> Suppose I wish to cite a number of papers by Fred Nurk, dated 2001, 2004, and 2006. I'd like the appearance of the citation in the text to look like: ... see for instance Nurk (2001, 2004, 2006) for details on this fascinating issue. Rather than: ... see for instance Nurk (2001), Nurk (2004), Nurk (2006) for details on this fascinating issue. Is there any way to effect this? Any bibliography style file that will effect this? I couldn't find any reference to this issue in a moderately extensive search. Thanks for any help. cheers, Rolf Turner ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This e-mail has been scanned and cleared by MailMarshal www.marshalsoftware.com ###################################################################### From karl at freefriends.org Wed Apr 22 00:37:29 2009 From: karl at freefriends.org (Karl Berry) Date: Tue, 21 Apr 2009 17:37:29 -0500 Subject: [texhax] Accessing unusual Latin Modern glyphs in plain TeX In-Reply-To: <49EE123D.6050703@gmail.com> Message-ID: <200904212237.n3LMbTd16721@f7.net> Is there are relatively simple way to access some of the more unusual glyphs that are present in the Latin Modern fonts, but which don't seem to appear in the standard encodings? Yes. (1) Find the TFM file with the glyph (the painful part, see below). Let's call it foo.tfm. (2) Run tex testfont, give it foo for the font name, type \table\end to the * prompt. Inspect the output to find the octal or hex location of the glyph. Let's call that number NN in hex. (3) Say \font\myfont = foo \myfont \char"NN Done. Going back to finding the TFM file, if you want to do it visually, cd /usr/local/texlive/2008/texmf-dist/fonts/tfm/public/lm # or wherever ls *-lmr10.tfm will show you all the lmr10.tfm's and you can run testfont on all of them to see the complete repertoire. Another way is to search for character names: cd /usr/local/texlive/2008/texmf-dist/fonts/map/dvips/lm/ grep -i hook * If your search is clever enough, this will show you which of the encoding files lm-ENC.enc it's in, which you can then map back to the ENC-lmr10.tfm. I think a third way would be to open up /usr/local/texmf/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.otf in (say) fontforge and look at it. (It has essentially all the available glyphs, I believe.) Somewhere in there fontforge should be able to tell you the glyph names, which you can then map back to a TFM as above. XeTeX and LuaTeX, which can read otf directly, also come to mind, but I don't have a recipe. Hope this helps, Karl From alan at alphabyte.co.nz Wed Apr 22 02:18:29 2009 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Wed, 22 Apr 2009 12:18:29 +1200 Subject: [texhax] One author several years in citation. In-Reply-To: <9E55BE98-E0E8-4823-9FAC-0F4C85543A00@auckland.ac.nz> References: <9E55BE98-E0E8-4823-9FAC-0F4C85543A00@auckland.ac.nz> Message-ID: <9A5C9871-2E99-4425-A3EC-57CFB980D6B6@alphabyte.co.nz> Hi Rolf, apacite will do this and I think it is your university's standard citation style(?). Available from the ctan mirror at elena.aut.ac.nz if you have not already got it. Cheers Alan On 22/04/2009, at 10:17 AM, Rolf Turner wrote: > > Suppose I wish to cite a number of papers by Fred Nurk, > dated 2001, 2004, and 2006. I'd like the appearance of the > citation in the text to look like: > > ... see for instance Nurk (2001, 2004, 2006) for details > on this fascinating issue. > > Rather than: > > > ... see for instance Nurk (2001), Nurk (2004), Nurk (2006) for > details > on this fascinating issue. > > Is there any way to effect this? Any bibliography style file that > will effect > this? I couldn't find any reference to this issue in a moderately > extensive > search. > > Thanks for any help. > > cheers, > > Rolf Turner > > > ###################################################################### > Attention: > This e-mail message is privileged and confidential. If you are not the > intended recipient please delete the message and notify the sender. > Any views or opinions presented are solely those of the author. > > This e-mail has been scanned and cleared by MailMarshal > www.marshalsoftware.com > ###################################################################### > _______________________________________________ > 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 Litchfield MBus(Hons), MNZCS School of Computer and Mathematical Sciences AUT University Private Bag 92006, Auckland, NZ From r.turner at auckland.ac.nz Wed Apr 22 06:06:58 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Wed, 22 Apr 2009 16:06:58 +1200 Subject: [texhax] One author several years in citation. In-Reply-To: <9A5C9871-2E99-4425-A3EC-57CFB980D6B6@alphabyte.co.nz> References: <9E55BE98-E0E8-4823-9FAC-0F4C85543A00@auckland.ac.nz> <9A5C9871-2E99-4425-A3EC-57CFB980D6B6@alphabyte.co.nz> Message-ID: On 22/04/2009, at 12:18 PM, Alan Litchfield wrote: > Hi Rolf, > > apacite will do this Thanks! It works! > and I think it is your university's standard > citation style(?). Dunno about this, but it's probably true in view of the infuriatingly dogmatic, pedantic, fussy, and inflexible nature of the APA style specifications! > Available from the ctan mirror at elena.aut.ac.nz if you have not > already got it. Already had it, didn't know about. cheers, Rolf ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This e-mail has been scanned and cleared by MailMarshal www.marshalsoftware.com ###################################################################### From johnp at palmyra.uklinux.net Wed Apr 22 09:41:40 2009 From: johnp at palmyra.uklinux.net (John Palmer) Date: Wed, 22 Apr 2009 08:41:40 +0100 Subject: [texhax] One author several years in citation. In-Reply-To: <9E55BE98-E0E8-4823-9FAC-0F4C85543A00@auckland.ac.nz> References: <9E55BE98-E0E8-4823-9FAC-0F4C85543A00@auckland.ac.nz> Message-ID: <200904220841.40765.johnp@palmyra.uklinux.net> On Tuesday 21 April 2009 23:17:44 Rolf Turner wrote: > Suppose I wish to cite a number of papers by Fred Nurk, > dated 2001, 2004, and 2006. I'd like the appearance of the > citation in the text to look like: > ... see for instance Nurk (2001, 2004, 2006) for details > on this fascinating issue. natbib also has the desired behaviour, for me at least. John -- John Palmer Preston near Weymouth, Dorset, England e-mail: johnp at bcs.org.uk (plain text preferred) website: http://www.palmyra.uklinux.net/ From uwe.lueck at web.de Wed Apr 22 10:30:18 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 22 Apr 2009 10:30:18 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <49EDDEDE.6020008@dr-qubit.org> References: <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> Message-ID: <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> Hi Toby, could you please just plainly (to a human being) tell what substitutions cleveref needs? Best, Uwe. At 16:57 21.04.09, Toby Cubitt wrote: >Yes, I made cleveref write out a sed script. As for the sed/awk/perl >debate, I personally prefer to use the simplest tool for the job: sed if >possible, awk if sed isn't up to it, and perl if the awk solution would be >too complicated. (I've never yet gotten as far as perl :) > >I completely see why one might like to make cleveref write out a TeX >script instead (the script would then need to use one of the string >substitution packages you mention). The reasoning, of course, is that if >someone is using cleveref, then they're guaranteed to have TeX installed >and working, so by far the most portable and robust solution is to >generate a TeX script to carry out the desired string substitutions. > >However, implementing this would be far more work than I'm prepared to put >into a feature that is simply a work-around that allows me (and maybe >others) to submit papers to journals that accept LaTeX but don't support >cleveref (i.e. all of them :-) > >If someone wanted to contribute a patch that (optionally) generated a TeX >(or awk or perl) script, instead of a sed script, I'd be happy to include >it in cleveref... > >Toby > >PS: I read about the Mars rover project a while back. It definitely falls >into the "foolish quest" category :) From tsc25 at cantab.net Wed Apr 22 10:39:50 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Wed, 22 Apr 2009 10:39:50 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> References: <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> Message-ID: <49EED7D6.9090002@dr-qubit.org> Hi Uwe, Firstly, I should make it clear that in normal usage cleveref doesn't need any string substitutions at all. It's only the "poorman" option that needs them, and even then it doesn't require any string substitutions to actually process the LaTeX file and generate the dvi or pdf. When the "poorman" option is supplied, in addition to the usual processing of the LaTeX document, cleveref will write a sed script for you, containing substitutions that replace all of the cleveref cross-reference commands in the document with something that's (very nearly) equivalent, but that uses just the standard LaTeX \ref command. For example, using cleveref, \cref{eq1,eq2,eq3} would be type-set as "equations~(1) to~(3)". With the "poorman" option, the following substitution would be written to the sed script: s/\\cref{eq1,eq2,eq3}/equations~(\\ref{eq1}) to~(\\ref{eq3})/g which replaces all occurences of "\cref{eq1,eq2,eq3}" with "equations~(\\ref{eq1}) to~(\\ref{eq3})". Once you've processed the document the requisite number of times to get the cross-references right, you can then run the original source file through the sed script to produce a new LaTeX source file, from which all the cleveref commands have been stripped out and replaced by equivalent standard LaTeX, suitable for submitting to a journal (or sending to a colleague) who doesn't have cleveref installed. Hope that makes it clear, Toby Uwe L?ck wrote: > Hi Toby, > > could you please just plainly (to a human being) tell what substitutions > cleveref needs? > > Best, Uwe. > > At 16:57 21.04.09, Toby Cubitt wrote: > >> Yes, I made cleveref write out a sed script. As for the sed/awk/perl >> debate, I personally prefer to use the simplest tool for the job: sed if >> possible, awk if sed isn't up to it, and perl if the awk solution >> would be >> too complicated. (I've never yet gotten as far as perl :) >> >> I completely see why one might like to make cleveref write out a TeX >> script instead (the script would then need to use one of the string >> substitution packages you mention). The reasoning, of course, is that if >> someone is using cleveref, then they're guaranteed to have TeX installed >> and working, so by far the most portable and robust solution is to >> generate a TeX script to carry out the desired string substitutions. >> >> However, implementing this would be far more work than I'm prepared to >> put >> into a feature that is simply a work-around that allows me (and maybe >> others) to submit papers to journals that accept LaTeX but don't support >> cleveref (i.e. all of them :-) >> >> If someone wanted to contribute a patch that (optionally) generated a TeX >> (or awk or perl) script, instead of a sed script, I'd be happy to include >> it in cleveref... >> >> Toby >> >> PS: I read about the Mars rover project a while back. It definitely falls >> into the "foolish quest" category :) > From toms at ncifcrf.gov Wed Apr 22 15:08:29 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 22 Apr 2009 09:08:29 -0400 (EDT) Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> from =?iso-8859-1?Q?Uwe_L=FCck?= at "Apr 22, 2009 10:30:18 am" Message-ID: <200904221308.n3MD8T3X022238@strawberry.ncifcrf.gov> Folks, please don't top post and remove all irrelevant material. Thanks. Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 schneidt at mail.nih.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From P.Taylor at Rhul.Ac.Uk Wed Apr 22 15:40:54 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Wed, 22 Apr 2009 14:40:54 +0100 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <200904221308.n3MD8T3X022238@strawberry.ncifcrf.gov> References: <200904221308.n3MD8T3X022238@strawberry.ncifcrf.gov> Message-ID: <49EF1E66.9090301@Rhul.Ac.Uk> Can we /please/ keep religious wars off this list ? The choice of whether to "top-post", "bottom-post", or interleave is entirely that of the sender. On the other hand, removing all irrelevant material is not only common sense but makes an enormous difference to ease with which messages can be assimilated. Philip TAYLOR -------- Tom Schneider wrote: > Folks, please don't top post and remove all irrelevant material. Thanks. From uwe.lueck at web.de Wed Apr 22 15:42:43 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 22 Apr 2009 15:42:43 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <49EED7D6.9090002@dr-qubit.org> References: <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> Message-ID: <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> At 10:39 22.04.09, Toby Cubitt wrote: >Firstly, I should make it clear that in normal usage cleveref doesn't need >any string substitutions at all. It's only the "poorman" option that needs >them, and even then it doesn't require any string substitutions to >actually process the LaTeX file and generate the dvi or pdf. > >When the "poorman" option is supplied, in addition to the usual processing >of the LaTeX document, cleveref will write a sed script for you, >containing substitutions that replace all of the cleveref cross-reference >commands in the document with something that's (very nearly) equivalent, >but that uses just the standard LaTeX \ref command. > >For example, using cleveref, \cref{eq1,eq2,eq3} would be type-set as >"equations~(1) to~(3)". With the "poorman" option, the following >substitution would be written to the sed script: > > s/\\cref{eq1,eq2,eq3}/equations~(\\ref{eq1}) to~(\\ref{eq3})/g > >which replaces all occurences of "\cref{eq1,eq2,eq3}" with >"equations~(\\ref{eq1}) to~(\\ref{eq3})". > >Once you've processed the document the requisite number of times to get >the cross-references right, you can then run the original source file >through the sed script to produce a new LaTeX source file, from which all >the cleveref commands have been stripped out and replaced by equivalent >standard LaTeX, suitable for submitting to a journal (or sending to a >colleague) who doesn't have cleveref installed. The last thing is quite important, I think, so "poorman" is almost inevitable. I understand all of this to the effect that cleveref does the clever thing, not sed, so cleveref determines an expansion of a \cref term . When cleveref finds *one* in "poorman" mode, it tells an external program to replace *all* occurrences of by . To replace sed by TeX, I propose writing to =\jobname.ffd as follows: {\let\ref\relax \let\cref\relax \immediate\write{\string\AddReplacement{}{}}} (Is cleveref clever enough not to do this twice for *one* ?) A fifinddo script \inputs \jobname.ffd to set up a sequence of substitution macros acting on each line of \jobname.tex. \AddReplacement would be defined by the next version of fifinddo. Currently there is only setup for replacement macros with explicit identifiers, \AddReplacement would use this with automatically generated identifiers. fifinddo is in my view better suited for reworking TeX files than those other mere string handling packages. datatool may be well too, but the documentation is so large and I don't see that it deals with backslashes (it seems to deal with "data", not TeX code). (And it currently suffers from a substr.sty bug.) Hope this will happen -- Uwe. [OK Tom? You are right. Oh, Philip, you are right as well!] From patrickthornton777 at hotmail.com Wed Apr 22 18:49:15 2009 From: patrickthornton777 at hotmail.com (Pat thornton) Date: Wed, 22 Apr 2009 11:49:15 -0500 Subject: [texhax] Obtaining Metafont and Metapost Message-ID: My name is Dr. Pat Thornton, Recently you folk helped me out by, for a small payment and donation, sending me a DVD of TexLive. This I value greatly. I believe I'm a member of TUG, but my record keeping is bad. My current need for your help is to obtain a DVD by mail (not a download, I've had very bad luck with downloads) of MetaPost, ideally coupled with MetaFont. My method of payment for this help can be one of two ways: either, a US based cheque (Merrill Lynch, I lived in the US for 34 years, 4 of my 5 offspring are US citizens); or a US based credit card (again M/L). I value your efforts in relation to generic Tex-like software. Thank you Pat Thornton -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090422/ca679d94/attachment.html From tsc25 at cantab.net Wed Apr 22 15:44:20 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Wed, 22 Apr 2009 15:44:20 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> References: <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> Message-ID: <49EF1F34.8030301@dr-qubit.org> Uwe L?ck wrote: > At 10:39 22.04.09, Toby Cubitt wrote: >> Once you've processed the document the requisite number of times to get >> the cross-references right, you can then run the original source file >> through the sed script to produce a new LaTeX source file, from which all >> the cleveref commands have been stripped out and replaced by equivalent >> standard LaTeX, suitable for submitting to a journal (or sending to a >> colleague) who doesn't have cleveref installed. > > The last thing is quite important, I think, so "poorman" is almost > inevitable. Not necessarily. As with any LaTeX package, you can easily just send cleveref.sty along with the document. If it's saved in the same directory as the LaTeX document, TeX will process the document just fine. I've submitted articles to the arXiv preprint server (which automatically produces postscript and PDF versions) in this way. The problem is mainly with publishers who don't actually use TeX to produce the final type-set version from the LaTeX source, but instead transform the LaTeX into their own in-house mark-up language before sending to press. Such publishers place restrictions on which (if any) LaTeX packages can be used, since they likely won't work unless supported explicitly by their transformation scripts. > I understand all of this to the effect that cleveref does the clever thing, > not sed, so cleveref determines an expansion of a \cref term > . Exactly. [Well, not quite exactly :) Cleveref doesn't need to expand \cref etc. in terms of \ref when the document is simply being processed by TeX (it by-passes \ref altogether), but it does generate an expansion in this way for the purposes of writing the sed script when the "poorman" option is supplied. But this isn't particularly relevant to this discussion.] > When cleveref finds *one* in "poorman" mode, it tells an external > program to replace *all* occurrences of by . > To replace sed by TeX, I propose writing to =\jobname.ffd as follows: > > {\let\ref\relax \let\cref\relax > \immediate\write{\string\AddReplacement{}{}}} > > (Is cleveref clever enough not to do this twice for *one* ?) Nope. It's not that clever :) It just writes out one substitution rule for each cross-reference, whether or not that happens to be identical to a previous one. At least for sed, it doesn't matter, because applying the first matching rule will always produce the correct results. In the latest cleveref version (not yet on CTAN), I also use sed addresses to cope with babel language changes. I don't know how easy that would be to replicate with fifinddo. > fifinddo is in my view better suited for reworking TeX files than those > other mere string handling packages. Could be. But cleveref only needs very simple substitutions, so sed is more than sufficient. The only advantage I see in using fifinddo is that some (especially Windows) users might not have sed installed, whereas if they're using cleveref they must have TeX installed. On the other hand, they'll have to install fifinddo (or whatever other TeX string substitution package), and it's not completely clear that's any easier... > Hope this will happen -- Uwe. If someone sends me a working patch against cleveref.dtx, I'd be happy to consider including it. I'm unlikely to implement it myself. Toby From uwe.lueck at web.de Wed Apr 22 16:47:52 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 22 Apr 2009 16:47:52 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> References: <49EED7D6.9090002@dr-qubit.org> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> Message-ID: <5.1.0.14.0.20090422164513.02c7b0f0@pop3.web.de> At 15:42 22.04.09, Uwe L?ck wrote: >To replace sed by TeX, I propose writing to =\jobname.ffd as follows: > > {\let\ref\relax \let\cref\relax > \immediate\write{\string\AddReplacement{}{}}} As "equation~" etc. in will be typical, there should be \let~\relax as well. -- Uwe. From P.Taylor at Rhul.Ac.Uk Wed Apr 22 17:01:41 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Wed, 22 Apr 2009 16:01:41 +0100 Subject: [texhax] Obtaining Metafont and Metapost In-Reply-To: References: Message-ID: <49EF3155.9020904@Rhul.Ac.Uk> Dear Dr Thornton -- Are you sure you don't already have them ? On my system, with a full install from TeX Live 2008, I can run the following (amongst others, of course) : > C:\Documents and Settings\Chaa006>tex > This is TeX, Version 3.1415926 (Web2C 7.5.7) > **\end > No pages of output. > Transcript written on texput.log. > > C:\Documents and Settings\Chaa006>mf > This is METAFONT, Version 2.718281 (Web2C 7.5.7) > **\end > Transcript written on mfput.log. > > C:\Documents and Settings\Chaa006>mpost > This is MetaPost, Version 1.005 (Web2C 7.5.7) > **\end > Transcript written on mpout.log. Philip TAYLOR -------- > My name is Dr. Pat Thornton, Recently you folk helped me out by, for a small payment and donation, sending me a DVD of TexLive. > This I value greatly. I believe I'm a member of TUG, but my record keeping is bad. > My current need for your help is to obtain a DVD by mail (not a download, I've had very bad luck with downloads) of MetaPost, > ideally coupled with MetaFont. From doc.evans at gmail.com Wed Apr 22 18:58:01 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Wed, 22 Apr 2009 10:58:01 -0600 Subject: [texhax] Accessing unusual Latin Modern glyphs in plain TeX In-Reply-To: <200904212237.n3LMbTd16721@f7.net> References: <200904212237.n3LMbTd16721@f7.net> Message-ID: <49EF4C99.9060806@gmail.com> Karl Berry said the following at 04/21/2009 04:37 PM : > Is there are relatively simple way to access some of the more > unusual glyphs that are present in the Latin Modern fonts, but which > don't seem to appear in the standard encodings? > > Yes. > [incredibly useful stuff elided] Thank you very much. That e-mail will be filed so I don't lose it (or at least I hope I don't lose it) :-) Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://tug.org/pipermail/texhax/attachments/20090422/3472d215/attachment-0001.bin From doc.evans at gmail.com Wed Apr 22 19:07:53 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Wed, 22 Apr 2009 11:07:53 -0600 Subject: [texhax] TeX-compatible font containing yogh? Message-ID: <49EF4EE9.3080308@gmail.com> I'm typesetting something in Latin Modern, but just this morning discovered that the LM family contains no yogh (nor even an ezh, which would do at a pinch -- odd that it's missing both, because otherwise it seems remarkably complete). Can anyone here recommend a family that might reasonably be expected to be available in plain TeX-compatible format, which would be reasonably compatible with surrounding Latin Modern text, and which contains a yogh (or, if not, an ezh)? I'm running Kubuntu 8.10 and the basic TeX system is TeXLive; I have installed essentially all the optional Kubuntu TeX-compatible fonts. So I'm hoping that someone might be able to tell me that one of them has a yogh. Doc PS Obviously, if I have to I can build a yogh in metafont -- I recall doing that many years ago, but I'm hoping that I don't need to do it again all these years later with a modern system. PPS Sorry if this is a bit OT. I couldn't think of where else to post this question. If you have a suggestion for a better place, please tell me. -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://tug.org/pipermail/texhax/attachments/20090422/2c6969f4/attachment.bin From barr at math.mcgill.ca Wed Apr 22 19:08:48 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Wed, 22 Apr 2009 13:08:48 -0400 (EDT) Subject: [texhax] Top-posting vs bottom posting In-Reply-To: References: Message-ID: Would someone kindly explain what these terms mean? From uwe.lueck at web.de Wed Apr 22 18:38:20 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 22 Apr 2009 18:38:20 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <49EF1F34.8030301@dr-qubit.org> References: <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> Message-ID: <5.1.0.14.0.20090422174617.027716f0@pop3.web.de> At 15:44 22.04.09, Toby Cubitt wrote: >Uwe L?ck wrote: > > At 10:39 22.04.09, Toby Cubitt wrote: > >> Once you've processed the document the requisite number of times to get > >> the cross-references right, you can then run the original source file > >> through the sed script to produce a new LaTeX source file, from which all > >> the cleveref commands have been stripped out and replaced by equivalent > >> standard LaTeX, suitable for submitting to a journal (or sending to a > >> colleague) who doesn't have cleveref installed. > > > > The last thing is quite important, I think, so "poorman" is almost > > inevitable. > >The problem is mainly with publishers who don't actually use TeX to >produce the final type-set version from the LaTeX source, but instead >transform the LaTeX into their own in-house mark-up language before >sending to press. Such publishers place restrictions on which (if any) >LaTeX packages can be used, since they likely won't work unless supported >explicitly by their transformation scripts. > > > When cleveref finds *one* in "poorman" mode, it tells an external > > program to replace *all* occurrences of by . > > > To replace sed by TeX, I propose writing to =\jobname.ffd as follows: > > > > {\let\ref\relax \let\cref\relax \let~\relax %% ~ added after > quoting -- UL > > \immediate\write{\string\AddReplacement{}{}}} > >In the latest cleveref version (not yet on CTAN), I also use sed addresses >to cope with babel language changes. I don't know how easy that would be >to replicate with fifinddo. It seems if cleveref is clever enough to write to files under babel, then fifinddo needn't care about babel anymore. Users are urged to do the file processing *before* any typesetting packages are loaded. It expects (currently) that the tilde is the only active character indeed. (Otherwise one could turn almost all characters ``other'' at reading.) > > fifinddo is in my view better suited for reworking TeX files than those > > other mere string handling packages. > >Could be. But cleveref only needs very simple substitutions, so sed is >more than sufficient. The only advantage I see in using fifinddo is that >some (especially Windows) users might not have sed installed, whereas if >they're using cleveref they must have TeX installed. On the other hand, >they'll have to install fifinddo (or whatever other TeX string >substitution package), and it's not completely clear that's any easier... The difference between cleveref and fifinddo concerning installing is that fifinddo really isn't needed for typesetting. It is an alternative to sed, not to cleveref, and installing a LaTeX package should be easier than installing an executable/application. Concerning string handling, fifinddo is ridiculous (at present, but there may be little need to change it), it is only a nucleus of string handling. But the other string handlers don't care about where strings come from and where they go. fifinddo acts on files and provides a script language for this (or setup for creating script languages). >If someone sends me a working patch against cleveref.dtx, I'd be happy to >consider including it. I'm unlikely to implement it myself. OK, it is clear what to do, and the rest may happen off the list. I wouldn't say "patch". cleveref should just have an additional option "poorman-tex" that writes (La)TeX-like output instead of sed output -- hoping there will be some TeX package that can make use of it. And an expansion of fifinddo should be such a TeX package. Or other string handlers are expanded to act on files. Or datatool learns to consider TeX code "data". But this won't happen today. cleveref might have an alias "poorman-sed" for "poorman", and additional options "poorman-awk" and "poorman-perl". TeX forever! Uwe. From P.Taylor at Rhul.Ac.Uk Wed Apr 22 19:39:39 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Wed, 22 Apr 2009 18:39:39 +0100 Subject: [texhax] Top-posting vs bottom posting In-Reply-To: References: Message-ID: <49EF565B.1050709@Rhul.Ac.Uk> Top-* : writing before citing; Bottom-* : citing-before-writing. This is Top-*, b.t.w. ** Phil. -------- Michael Barr wrote: > Would someone kindly explain what these terms mean? From toms at ncifcrf.gov Wed Apr 22 19:45:31 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 22 Apr 2009 13:45:31 -0400 (EDT) Subject: [texhax] Top-posting vs bottom posting In-Reply-To: from Michael Barr at "Apr 22, 2009 01:08:48 pm" Message-ID: <200904221745.n3MHjVOl004472@strawberry.ncifcrf.gov> > Would someone kindly explain what these terms mean? http://en.wikipedia.org/wiki/Posting_style http://www.caliburn.nl/topposting.html http://www.redballoon.net/~snorwood/quote-rant.shtml Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 http://www.ccrnp.ncifcrf.gov/~toms/ From doc.evans at gmail.com Wed Apr 22 19:52:54 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Wed, 22 Apr 2009 11:52:54 -0600 Subject: [texhax] TeX-compatible font containing yogh? In-Reply-To: <49EF4EE9.3080308@gmail.com> References: <49EF4EE9.3080308@gmail.com> Message-ID: <49EF5976.5030005@gmail.com> D. R. Evans said the following at 04/22/2009 11:07 AM : > I'm typesetting something in Latin Modern, but just this morning discovered > that the LM family contains no yogh (nor even an ezh, which would do at a > pinch -- odd that it's missing both, because otherwise it seems remarkably > complete). > > Can anyone here recommend a family that might reasonably be expected to be > available in plain TeX-compatible format, which would be reasonably > compatible with surrounding Latin Modern text, and which contains a yogh > (or, if not, an ezh)? I found cmoe at http://homepages.inf.ed.ac.uk/jcb/fonts/. The yogh there is good enough (albeit distinctly different from the yogh used by the OUP, which I prefer). If anyone happens to know an answer to the original question without doing any work, I'd still be interested in knowing of more modern fonts that contain a yogh glyph. But don't bother going to any effort, since my problem is sufficiently well solved now. Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://tug.org/pipermail/texhax/attachments/20090422/646fe54f/attachment.bin From tsc25 at cantab.net Wed Apr 22 19:14:33 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Wed, 22 Apr 2009 19:14:33 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <5.1.0.14.0.20090422174617.027716f0@pop3.web.de> References: <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> <5.1.0.14.0.20090422174617.027716f0@pop3.web.de> Message-ID: <49EF5079.40405@dr-qubit.org> Uwe L?ck wrote: >> In the latest cleveref version (not yet on CTAN), I also use sed >> addresses >> to cope with babel language changes. I don't know how easy that would be >> to replicate with fifinddo. > > It seems if cleveref is clever enough to write to files under babel, > then fifinddo needn't care about babel anymore. Just to clarify, the babel issue is that there might have to be one substitution for, say, "\cref{eq1}" at one location in the source file, and a *different* substitution for exactly the same string "\cref{eq1}" at a different location in the file, because the language has changed. Just consider the following fragment: ... \selectlanguage{english} \cref{eq1} \selectlanguage{german} \cref{eq1} ... Sed can easily accommodate this using line-number rule addresses. Never having used them, I have no idea how easy it would be to do using fifinddo or other (La)TeX string substitution packages. > I wouldn't say "patch". cleveref should just have an additional option > "poorman-tex" that writes (La)TeX-like output instead of sed output -- > hoping there will be some TeX package that can make use of it. Implementing this would require copying and modifying the poorman code in cleveref.dtx to create the new option, and that code involves messing around with cleveref internals. I would prefer (insist?) that any such changes are sent to me as a patch against the latest cleveref.dtx available from my web site (www.dr-qubit.org/latex.php). That way I can easily merge it with any local changes I might have made to cleveref but not yet released. (I suggest taking any further discussion off-list, as it's probably becoming uninteresting to most list subscribers.) All the best, Toby From eduardo at kalinowski.com.br Wed Apr 22 20:25:40 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Wed, 22 Apr 2009 15:25:40 -0300 Subject: [texhax] Top-posting vs bottom posting In-Reply-To: References: Message-ID: <20090422152540.10573xjotjo3q2bk@mail.kalinowski.com.br> On Qua, 22 Abr 2009, "Michael Barr" wrote: > Would someone kindly explain what these terms mean? Wikipedia is always kind: http://en.wikipedia.org/wiki/Posting_style -- Eduardo M KALINOWSKI eduardo at kalinowski.com.br From uwe.lueck at web.de Wed Apr 22 20:31:01 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 22 Apr 2009 20:31:01 +0200 Subject: [texhax] Low-level TeX question: string substitution macro Message-ID: <5.1.0.14.0.20090422202638.027a5630@pop3.web.de> ... a guess for a quite different direction ... (de-macro) At 15:44 22.04.09, Toby Cubitt wrote: > > At 10:39 22.04.09, Toby Cubitt wrote: > >> Once you've processed the document the requisite number of times to get > >> the cross-references right, you can then run the original source file > >> through the sed script to produce a new LaTeX source file, from which all > >> the cleveref commands have been stripped out and replaced by equivalent > >> standard LaTeX, suitable for submitting to a journal (or sending to a > >> colleague) who doesn't have cleveref installed. > >The problem is mainly with publishers who don't actually use TeX to >produce the final type-set version from the LaTeX source, but instead >transform the LaTeX into their own in-house mark-up language before >sending to press. Such publishers place restrictions on which (if any) >LaTeX packages can be used, since they likely won't work unless supported >explicitly by their transformation scripts. ... the Python script de-macro (ctan.tug.org/pkg/de-macro) especially and more generally addresses the problem of private macros that editors may reject. Cheers, Uwe. From stefan.bjork at gmail.com Wed Apr 22 20:48:12 2009 From: stefan.bjork at gmail.com (=?ISO-8859-1?Q?Stefan_Bj=F6rk?=) Date: Wed, 22 Apr 2009 20:48:12 +0200 Subject: [texhax] Beamer: Putting frames in minipage environment in article mode Message-ID: According to the Beamer manual, the 'frame begin' and 'frame end' templates can be used to add a minipage environment around frames in article mode. However, when I try this: \setbeamertemplate{frame begin}{\begin{minipage}{1\linewidth}} \setbeamertemplate{frame end}{\end{minipage}} I get an error: ! Extra }, or forgotten \endgroup. \endframe ->\egroup l.44 \end{frame} So, obviosly, it was not that simple. What's wrong? /S From uwe.lueck at web.de Wed Apr 22 20:48:29 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 22 Apr 2009 20:48:29 +0200 Subject: [texhax] Low-level TeX question: string substitution macro In-Reply-To: <49EF5079.40405@dr-qubit.org> References: <5.1.0.14.0.20090422174617.027716f0@pop3.web.de> <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090421144401.02f469f0@pop3.web.de> <5.1.0.14.0.20090422102528.02ef21c0@pop3.web.de> <5.1.0.14.0.20090422144544.02dc7150@pop3.web.de> <5.1.0.14.0.20090422174617.027716f0@pop3.web.de> Message-ID: <5.1.0.14.0.20090422203533.02797dc0@pop3.web.de> I agree that this should leave the list, but you just have made a very good, important, interesting point ... At 19:14 22.04.09, Toby Cubitt wrote: >Uwe L?ck wrote: > >> In the latest cleveref version (not yet on CTAN), I also use sed addresses > >> to cope with babel language changes. I don't know how easy that would be > >> to replicate with fifinddo. > > > > It seems if cleveref is clever enough to write to files under babel, > > then fifinddo needn't care about babel anymore. > >Just to clarify, the babel issue is that there might have to be one >substitution for, say, "\cref{eq1}" at one location in the source file, >and a *different* substitution for exactly the same string "\cref{eq1}" at >a different location in the file, because the language has changed. > >Just consider the following fragment: > >... >\selectlanguage{english} >\cref{eq1} >\selectlanguage{german} >\cref{eq1} >... > >Sed can easily accommodate this using line-number rule addresses. Never >having used them, I have no idea how easy it would be to do using fifinddo >or other (La)TeX string substitution packages. fifinddo provides the same functionality, see section 5.2, pp. 15f. of http://mirror.ctan.org/macros/latex/contrib/nicetext/fifinddo.pdf This is used in makedoc.sty to activate the code/comment distinction only after a certain number of lines, so the legal informations in the file header is typeset verbatim. This needs, of course, that cleveref outputs (also for "poorman-tex", as it seems to do for sed) a report of \selectlanguage. > > I wouldn't say "patch". cleveref should just have an additional option > > "poorman-tex" that writes (La)TeX-like output instead of sed output -- > > hoping there will be some TeX package that can make use of it. > >Implementing this would require copying and modifying the poorman code in >cleveref.dtx to create the new option, and that code involves messing >around with cleveref internals. I would prefer (insist?) that any such >changes are sent to me as a patch against the latest cleveref.dtx >available from my web site (www.dr-qubit.org/latex.php). That way I can >easily merge it with any local changes I might have made to cleveref but >not yet released. Fine, thanks, so long, Uwe. >(I suggest taking any further discussion off-list, as it's probably >becoming uninteresting to most list subscribers.) > >All the best, > >Toby From uwe.lueck at web.de Wed Apr 22 22:22:30 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 22 Apr 2009 22:22:30 +0200 Subject: [texhax] Low-level TeX question: string substitution macro Message-ID: <5.1.0.14.0.20090422220557.02779870@pop3.web.de> The line number feature ... >Date: Wed, 22 Apr 2009 20:48:29 +0200 >To: Toby Cubitt >From: Uwe L?ck > >>Sed can easily accommodate this using line-number rule addresses. Never >>having used them, I have no idea how easy it would be to do using fifinddo >>or other (La)TeX string substitution packages. > >fifinddo provides the same functionality, see section 5.2, pp. 15f. of > > http://mirror.ctan.org/macros/latex/contrib/nicetext/fifinddo.pdf I have also used it for debugging, setting \tracingmacros=1 at a certain line and =0 at the next one or so. This is another point on: Using TeX for filtering is only partially string substitution. I don't say that awk etc. can be replaced by a TeX algorithm for string substitution. Rather: TeX offers so much to replace other software. And for this is it doesn't suffice to choose among string handling packages. You need *file* handling as well. file-find-do! TeX Forever! Uwe. P.S./TODO: another thread to be started: advertising on texhax From karl at freefriends.org Wed Apr 22 23:45:27 2009 From: karl at freefriends.org (Karl Berry) Date: Wed, 22 Apr 2009 16:45:27 -0500 Subject: [texhax] TeX-compatible font containing yogh? In-Reply-To: <49EF4EE9.3080308@gmail.com> Message-ID: <200904222145.n3MLjR630807@f7.net> that the LM family contains no yogh (nor even an ezh, which would do at a Scott Pakin's comprehensive symbol guide (texdoc comprehensive) has some mentions of yogh, none of ezh. I don't know if they are better than what you found. available in plain TeX-compatible format, BTW, if a font can be used in TeX at all, it can be used in plain. There is no such thing as a LaTeX-only font. LaTeX is "only" TeX macros, after all. Best, k From eduardo at kalinowski.com.br Wed Apr 22 23:54:42 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Wed, 22 Apr 2009 18:54:42 -0300 Subject: [texhax] Top-posting vs bottom posting In-Reply-To: <20090422152540.10573xjotjo3q2bk@mail.kalinowski.com.br> References: <20090422152540.10573xjotjo3q2bk@mail.kalinowski.com.br> Message-ID: <49EF9222.2070908@kalinowski.com.br> Eduardo M KALINOWSKI wrote: > On Qua, 22 Abr 2009, "Michael Barr" wrote: > >> Would someone kindly explain what these terms mean? >> > > Wikipedia is always kind: http://en.wikipedia.org/wiki/Posting_style > Or, in short: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- She blinded me with science! Eduardo M KALINOWSKI eduardo at kalinowski.com.br From doc.evans at gmail.com Thu Apr 23 00:21:37 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Wed, 22 Apr 2009 16:21:37 -0600 Subject: [texhax] TeX-compatible font containing yogh? In-Reply-To: <200904222145.n3MLjR630807@f7.net> References: <200904222145.n3MLjR630807@f7.net> Message-ID: <49EF9871.4080906@gmail.com> Karl Berry said the following at 04/22/2009 03:45 PM : > that the LM family contains no yogh (nor even an ezh, which would do at a > > Scott Pakin's comprehensive symbol guide (texdoc comprehensive) has some > mentions of yogh, none of ezh. I don't know if they are better than > what you found. "texdoc comprehensive" does absolutely nothing here (well, other than return me to the shell prompt). > > available in plain TeX-compatible format, > > BTW, if a font can be used in TeX at all, it can be used in plain. > There is no such thing as a LaTeX-only font. LaTeX is "only" TeX > macros, after all. I meant "as opposed to a font intended for some completely different purpose"; i.e., basically something without .tfm files. Sorry for the ambiguity. I know that for a font wizard like you, almost anything is plain-TeX compatible. For mere mortals (in my case, very mortal) who have never mastered the intricacies of fontinst, virtual fonts, etc., basically we need a package that simply installs and works :-) Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://tug.org/pipermail/texhax/attachments/20090422/112f1400/attachment.bin From karl at freefriends.org Thu Apr 23 00:36:48 2009 From: karl at freefriends.org (Karl Berry) Date: Wed, 22 Apr 2009 17:36:48 -0500 Subject: [texhax] TeX-compatible font containing yogh? In-Reply-To: <49EF9871.4080906@gmail.com> Message-ID: <200904222236.n3MMam215897@f7.net> "texdoc comprehensive" does absolutely nothing here (well, other than return me to the shell prompt). http://www.ctan.org/tex-archive/info/symbols/comprehensive/ basically something without .tfm files. Even those (ttf or otf) can mostly be used with (plain) luatex or xetex, in principle, but I admit the practice pretty much defeats me. From jg.murray at videotron.ca Thu Apr 23 19:49:26 2009 From: jg.murray at videotron.ca (Jean-Guy Murray) Date: Thu, 23 Apr 2009 13:49:26 -0400 Subject: [texhax] Downloding and Instaling MikTex Message-ID: <666282D4332C403286913AFAA76CDA1D@Acer> Hi, I had trouble with my computer and had to re-install Window; consequently, I now have to re-install all my programs, including MikTeX. So, I went to the MiKTeX download page and selected the MikTeX 2.7 Net Installer. I was successfull in downloading the program. I then proceeded to install the program, however, this did not work. I have all the various packages of The MiKTeX program in my Program Files under MikTeX 2.7 but when I select Star, All Programs, I do not find Teknic Center among my programs. However, I have MiKTeX 2.7 with the following menu: Help, MiKTeX on the Web, Browse packages and Setting & Update. I am at a lost as to what to do next. Can anyone help with this problem. Thanks Jean-Guy Murray -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090423/f352e02c/attachment.html From news3 at nililand.de Thu Apr 23 20:01:49 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Thu, 23 Apr 2009 20:01:49 +0200 Subject: [texhax] Downloding and Instaling MikTex References: <666282D4332C403286913AFAA76CDA1D@Acer> Message-ID: <1nh5h6a5ismt3$.dlg@nililand.de> Am Thu, 23 Apr 2009 13:49:26 -0400 schrieb Jean-Guy Murray: > So, I went to the MiKTeX download page and selected the MikTeX 2.7 > Net Installer. I was successfull in downloading the program. I > then proceeded to install the program, however, this did not > work. > I have all the various packages of The MiKTeX program in my > Program Files under MikTeX 2.7 but when I select Star, All > Programs, I do not find Teknic Center among my programs. > However, I have MiKTeX 2.7 with the following menu: Help, MiKTeX > on the Web, Browse packages and Setting & Update. > I am at a lost as to what to do next. Can anyone help with this problem. Texniccenter is not a part of miktex. You have to install it on its own get it from http://www.texniccenter.org. (They are alternatives like winedt, emacs, texmaker, ... ). -- Ulrike Fischer From eduardo at kalinowski.com.br Thu Apr 23 20:53:44 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Thu, 23 Apr 2009 15:53:44 -0300 Subject: [texhax] Downloding and Instaling MikTex In-Reply-To: <666282D4332C403286913AFAA76CDA1D@Acer> References: <666282D4332C403286913AFAA76CDA1D@Acer> Message-ID: <20090423155344.19137e0ho7m4k9hc@mail.kalinowski.com.br> On Qui, 23 Abr 2009, "Jean-Guy Murray" wrote: > Hi, > > I had trouble with my computer and had to re-install Window; > consequently, I now have to re-install all my programs, including > MikTeX. > > So, I went to the MiKTeX download page and selected the > MikTeX 2.7 Net Installer. I was successfull in downloading the > program. I then proceeded to install the program, however, this did > not work. > > I have all the various packages of The MiKTeX program in my Program > Files under MikTeX 2.7 but when I select Star, All Programs, I do > not find Teknic Center among my programs. However, I have MiKTeX 2.7 > with the following menu: Help, MiKTeX on the Web, Browse packages > and Setting & Update. > > I am at a lost as to what to do next. Can anyone help with this problem. Texnic Center is a different program from Miktex. You can get it from http://www.texniccenter.org/ . -- Eduardo M KALINOWSKI eduardo at kalinowski.com.br From r.turner at auckland.ac.nz Thu Apr 23 23:00:42 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Fri, 24 Apr 2009 09:00:42 +1200 Subject: [texhax] One author several years in citation. In-Reply-To: <200904220841.40765.johnp@palmyra.uklinux.net> References: <9E55BE98-E0E8-4823-9FAC-0F4C85543A00@auckland.ac.nz> <200904220841.40765.johnp@palmyra.uklinux.net> Message-ID: <8DF2B9D7-DDF9-4C51-B624-1EFE8DA2E5FC@auckland.ac.nz> On 22/04/2009, at 7:41 PM, John Palmer wrote: > On Tuesday 21 April 2009 23:17:44 Rolf Turner wrote: > >> Suppose I wish to cite a number of papers by Fred Nurk, >> dated 2001, 2004, and 2006. I'd like the appearance of the >> citation in the text to look like: >> ... see for instance Nurk (2001, 2004, 2006) for details >> on this fascinating issue. > > natbib also has the desired behaviour, for me at least. So it does! I just wasn't going at it right. Looking for complete automation, which isn't quite there. Figured out what to do when I was pointed at apacite --- but then didn't make the connection that I could've done the same thing with natbib. Duhhhhhh! Thanks. cheers, Rolf ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This e-mail has been scanned and cleared by MailMarshal www.marshalsoftware.com ###################################################################### From daleif at imf.au.dk Thu Apr 23 23:28:27 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 23 Apr 2009 23:28:27 +0200 Subject: [texhax] Downloding and Instaling MikTex In-Reply-To: <666282D4332C403286913AFAA76CDA1D@Acer> References: <666282D4332C403286913AFAA76CDA1D@Acer> Message-ID: <49F0DD7B.7020500@imf.au.dk> Jean-Guy Murray wrote: > Hi, > > I had trouble with my computer and had to re-install Window; > consequently, I now have to re-install all my programs, including MikTeX. > > So, I went to the MiKTeX download page and selected the > MikTeX 2.7 Net Installer. I was successfull in downloading the program. > I then proceeded to install the program, however, this did not work. > > I have all the various packages of The MiKTeX program in my Program > Files under MikTeX 2.7 but when I select Star, All Programs, I do not > find Teknic Center among my programs. However, I have MiKTeX 2.7 with > the following menu: Help, MiKTeX on the Web, Browse packages and Setting > & Update. > > I am at a lost as to what to do next. Can anyone help with this problem. > > Thanks > > Jean-Guy Murray > presumably, last time you installed, you installed protext, which is miktex plus tools (including texniccenter). MiKTeX is just LaTeX and friends, no editors. /daleif From holland at ck12.org Thu Apr 23 20:09:43 2009 From: holland at ck12.org (Holland Lincoln) Date: Thu, 23 Apr 2009 11:09:43 -0700 Subject: [texhax] LaTeX and Wiki editing/typesetting job opportunity - ASAP Message-ID: <83612e8f0904231109w605aae45t892b729add3deb2a@mail.gmail.com> *LaTeX and Wiki editing/typesetting job opportunity - ASAP* The CK-12 foundation (www.ck12.org), a non-profit dedicated to creating free and open textbooks, is looking for wiki editors to edit math content (algebra, trigonometry, calculus, geometry, etc) using latex syntax on our wiki. The job entails working from two hard copy manuscripts: one that is copy edited with traditional copy editing symbols (which we can train you quickly on and/or provide reference) and one that is a technical edit with accuracy changes. Individual must be self-starter, ability to work independently, meet deadlines, proficient in LaTeX syntax, and detail oriented. Experience and interest in educational technology a plus. Proximity to the Bay Area a major plus. *Please pass this on to your colleagues, students, and friends whom you think might be interested and may have some background in latex and wiki editing/typesetting!! *If interested, please send resume to jobs at ck12.org with subject header "MATH: Wiki editing/typesetting" Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090423/389b7753/attachment.html From sara.mariam at gmail.com Thu Apr 23 23:21:10 2009 From: sara.mariam at gmail.com (sara) Date: Thu, 23 Apr 2009 17:21:10 -0400 Subject: [texhax] article formatting help? Message-ID: <855b3e390904231421p4433ddbey5789d940197c767a@mail.gmail.com> hello, i'm writing an article that needs to be 2-column, with abstract at the top going across both columns, labeled sections with the content of 'materials' and 'methods' in a smaller font size, and citations in the bottom of each page rather than all at the end. most of those elements i have already, but how do i specify a smaller font size for certain sections? and how do i get the citations to appear on each page as they show up in the text? any suggestions would be greatly appreciated! thank you, sara -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090423/179b6325/attachment.html From christopherolah.co at gmail.com Fri Apr 24 04:22:56 2009 From: christopherolah.co at gmail.com (Christopher Olah) Date: Thu, 23 Apr 2009 22:22:56 -0400 Subject: [texhax] article formatting help? In-Reply-To: <855b3e390904231421p4433ddbey5789d940197c767a@mail.gmail.com> References: <855b3e390904231421p4433ddbey5789d940197c767a@mail.gmail.com> Message-ID: > hello, Greetings! >i'm writing an article that needs to be 2-column, with abstract at > the top going across both columns, There's a way built into most document classes, but it's probably easiest to just use the package multicol: \usepackage{multicol} .... \begin{multicols}{2}%Or however many columns you want ... \end{multicols} ... The multicol package is very flexible and the appearance (eg. space between columns, lines between columns) can be automatically. > labeled sections with the content of > 'materials' and 'methods' in a smaller font size, and citations in the > bottom of each page rather than all at the end. most of those elements i > have already, but how do i specify a smaller font size for certain > sections? Just use { \small text}... For more sizes, see http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-178.html > and how do i get the citations to appear on each page as they > show up in the text? Maybe use footnotes? Sincerely, Christopher Olah PS. I need to stop forgetting to click Reply To all. Sorry about the double messages for Sara. -- Christopher Olah Email: christopherolah.co at gmail.com From r.turner at auckland.ac.nz Fri Apr 24 05:31:35 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Fri, 24 Apr 2009 15:31:35 +1200 Subject: [texhax] article formatting help? In-Reply-To: References: <855b3e390904231421p4433ddbey5789d940197c767a@mail.gmail.com> Message-ID: <142F2451-3E10-42D0-8BFA-9F1805233481@auckland.ac.nz> On 24/04/2009, at 2:22 PM, Christopher Olah wrote: >> and how do i get the citations to appear on each page as they >> show up in the text? > > Maybe use footnotes? I imagine that is indeed what Sara is currently stuck with, but it's pretty kludgy. It entails hand-formatting each citation. Some clever person, who knows how to build bibliography style files has a moral obligation [ :-) ] to put one together that would automate the process. Fortunately for me, I'm not nearly that clever. cheers, Rolf Turner ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This e-mail has been scanned and cleared by MailMarshal www.marshalsoftware.com ###################################################################### From news3 at nililand.de Fri Apr 24 09:28:15 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Fri, 24 Apr 2009 09:28:15 +0200 Subject: [texhax] article formatting help? References: <855b3e390904231421p4433ddbey5789d940197c767a@mail.gmail.com> <142F2451-3E10-42D0-8BFA-9F1805233481@auckland.ac.nz> Message-ID: <11pf95qstq57t$.dlg@nililand.de> Am Fri, 24 Apr 2009 15:31:35 +1200 schrieb Rolf Turner: >>> and how do i get the citations to appear on each page as they >>> show up in the text? >> >> Maybe use footnotes? > > I imagine that is indeed what Sara is currently stuck with, but > it's pretty kludgy. It entails hand-formatting each citation. > > Some clever person, who knows how to build bibliography style > files has a moral obligation [ :-) ] to put one together that > would automate the process. jurabib has a footcite command, and biblatex naturally too: \begin{filecontents}{test2.bib} @BOOK{test, AUTHOR="W. Tester", TITLE="A test on footcite", PUBLISHER="Tester Publications", YEAR="2009" } \end{filecontents} \documentclass[paper=a4]{scrartcl} \usepackage[citestyle=verbose]{biblatex} \bibliography{test2} \begin{document} a test\footcite{test} test\footcite{test} \end{document} -- Ulrike Fischer From lukkytoni at yahoo.com Fri Apr 24 08:34:59 2009 From: lukkytoni at yahoo.com (Toni Farley) Date: Thu, 23 Apr 2009 23:34:59 -0700 (PDT) Subject: [texhax] Overriding page layout defaults in glossaries package Message-ID: <39787.62964.qm@web31707.mail.mud.yahoo.com> I'm using glossaries.sty to create a glossary. My glossary is two pages long. Each page has a different page style (first page style is set to empty), and page layout dimensions (\topmargin, etc.) I need to format both pages to look the same, but cannot find any information in glossaries.sty, the manual, or the web, to do this. I suspect this is a common problem with packages. Is there some common way to override package layout settings and default to existing settings? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090423/b4901874/attachment.html From christopherolah.co at gmail.com Sat Apr 25 04:37:29 2009 From: christopherolah.co at gmail.com (Christopher Olah) Date: Fri, 24 Apr 2009 22:37:29 -0400 Subject: [texhax] Colorful LaTeX Terminal Output Message-ID: Greetings All! As many of you probably know, Unix-like operating systems allow output to their terminals to change color (amongst other things) by escape sequences beginning with the character . While there is some variation between Unixes on how this is done, color is reasonably consistent on most Unix-like OSes. For example,  would turn the text orange while  would make it normal again. It occurs to me that a LaTeX package that gives colorful output would be nice. However, I can't figure out how to get LaTeX to print . I've played around a little using \typeout and \message with \noexpand and \special, to no success. I was hoping other may have an idea... I'm also curious to hear what others think of this idea. Sincerely, Christopher Olah From johnjamessmith0 at yahoo.com Sat Apr 25 04:54:58 2009 From: johnjamessmith0 at yahoo.com (John Smith) Date: Fri, 24 Apr 2009 19:54:58 -0700 (PDT) Subject: [texhax] Integrating Lilypond in LaTeX documents Message-ID: <68261.38416.qm@web110211.mail.gq1.yahoo.com> Hi, I'm new here, and relatively new to LaTeX as well. I am using MikTeX and TeXnic Center. How does one integrate Lilypond (music notation program) into LaTeX documents? It appears that there is something called 'lilypond-latex', mentioned at http://lilypond.org/doc/v2.3/Documentation/user/out-www/lilypond/Invoking-lilypond_002dlatex.html, and something else (?) at http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Integrating-Texinfo-and-music#Integrating-Texinfo-and-music. It looks very nice, to be able to just have a lilypond environment. Unfortunately these pages totally confuse me... How do I get started? How can I get TeXnic Center to recognize Lilypond? I'm expecting the process to be something like using Asymptote (vector graphics language) in LaTeX, as described in http://www.artofproblemsolving.com/Wiki/index.php/Asymptote:_Advanced_Configuration#Using_Asymptote_in_LaTeX (full instructions so convenient for computer-illiterate like me)... it'd be nice if it's possible to get it to work the same way. Thanks in advance, John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090424/97af3e34/attachment.html From christopherolah.co at gmail.com Sun Apr 26 20:48:45 2009 From: christopherolah.co at gmail.com (Christopher Olah) Date: Sun, 26 Apr 2009 14:48:45 -0400 Subject: [texhax] Integrating Lilypond in LaTeX documents In-Reply-To: <68261.38416.qm@web110211.mail.gq1.yahoo.com> References: <68261.38416.qm@web110211.mail.gq1.yahoo.com> Message-ID: Greetings! I just read through the lilypond-latex documentation you linked to. It's a little confusing. A better explanation can be found here: http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Integrating-LaTeX-and-music And an example with compiling instructions can be found here: http://lilypond.org/doc/v2.9/Documentation/user/lilypond/An-example-of-a-musicological-document They're both part of this document (http://lilypond.org/doc/v2.9/Documentation/user/lilypond/An-example-of-a-musicological-document) on integrating lilypond and typesetting software. It's rather different than asymptote... And I have no clue about ``TeXnic Center''... Best wishes! Christopher PS. I really don't understand why I keep not hitting the reply to all. I even thought of it while I was reading the documentation. Sorry to John about the double emails. From olegkat at gmail.com Mon Apr 27 01:40:44 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 27 Apr 2009 02:40:44 +0300 Subject: [texhax] Colorful LaTeX Terminal Output In-Reply-To: References: Message-ID: <20090426234044.GA10743@thor> Hi Christopher, On Fri, Apr 24, 2009 at 10:37:29PM -0400, Christopher Olah wrote: > It occurs to me that a LaTeX package that gives colorful output would > be nice. However, I can't figure out how to get LaTeX to print . I've > played around a little using \typeout and \message with \noexpand and > \special, to no success. You can try processing this (test.tex, all characters are ASCII) \message{This text in ^^1b[31mred^^1b[0m.} \bye with the command tex -translate-file=./esc.tcx test.tex placing the attached file (esc.tcx) in the same directory with test.tex. > I'm also curious to hear what others think of this idea. I think that nowadays people mostly use text editors to run TeX, and those editors probably never process the color escapes in the output. So most users will just see junk in their output. But as a local hack for a specific use this seems like a cool idea :). Best, Oleg -------------- next part -------------- 0x1b 0x1b % 0x80 0x80 % 0x81 0x81 % 0x82 0x82 % 0x83 0x83 % 0x84 0x84 % 0x85 0x85 % 0x86 0x86 % 0x87 0x87 % 0x88 0x88 % 0x89 0x89 % 0x8a 0x8a % 0x8b 0x8b % 0x8c 0x8c % 0x8d 0x8d % 0x8e 0x8e % 0x8f 0x8f % 0x90 0x90 % 0x91 0x91 % 0x92 0x92 % 0x93 0x93 % 0x94 0x94 % 0x95 0x95 % 0x96 0x96 % 0x97 0x97 % 0x98 0x98 % 0x99 0x99 % 0x9a 0x9a % 0x9b 0x9b % 0x9c 0x9c % 0x9d 0x9d % 0x9e 0x9e % 0x9f 0x9f % 0xa0 0xa0 % 0xa1 0xa1 % 0xa2 0xa2 % 0xa3 0xa3 % 0xa4 0xa4 % 0xa5 0xa5 % 0xa6 0xa6 % 0xa7 0xa7 % 0xa8 0xa8 % 0xa9 0xa9 % 0xaa 0xaa % 0xab 0xab % 0xac 0xac % 0xad 0xad % 0xae 0xae % 0xaf 0xaf % 0xb0 0xb0 % 0xb1 0xb1 % 0xb2 0xb2 % 0xb3 0xb3 % 0xb4 0xb4 % 0xb5 0xb5 % 0xb6 0xb6 % 0xb7 0xb7 % 0xb8 0xb8 % 0xb9 0xb9 % 0xba 0xba % 0xbb 0xbb % 0xbc 0xbc % 0xbd 0xbd % 0xbe 0xbe % 0xbf 0xbf % 0xc0 0xc0 % 0xc1 0xc1 % 0xc2 0xc2 % 0xc3 0xc3 % 0xc4 0xc4 % 0xc5 0xc5 % 0xc6 0xc6 % 0xc7 0xc7 % 0xc8 0xc8 % 0xc9 0xc9 % 0xca 0xca % 0xcb 0xcb % 0xcc 0xcc % 0xcd 0xcd % 0xce 0xce % 0xcf 0xcf % 0xd0 0xd0 % 0xd1 0xd1 % 0xd2 0xd2 % 0xd3 0xd3 % 0xd4 0xd4 % 0xd5 0xd5 % 0xd6 0xd6 % 0xd7 0xd7 % 0xd8 0xd8 % 0xd9 0xd9 % 0xda 0xda % 0xdb 0xdb % 0xdc 0xdc % 0xdd 0xdd % 0xde 0xde % 0xdf 0xdf % 0xe0 0xe0 % 0xe1 0xe1 % 0xe2 0xe2 % 0xe3 0xe3 % 0xe4 0xe4 % 0xe5 0xe5 % 0xe6 0xe6 % 0xe7 0xe7 % 0xe8 0xe8 % 0xe9 0xe9 % 0xea 0xea % 0xeb 0xeb % 0xec 0xec % 0xed 0xed % 0xee 0xee % 0xef 0xef % 0xf0 0xf0 % 0xf1 0xf1 % 0xf2 0xf2 % 0xf3 0xf3 % 0xf4 0xf4 % 0xf5 0xf5 % 0xf6 0xf6 % 0xf7 0xf7 % 0xf8 0xf8 % 0xf9 0xf9 % 0xfa 0xfa % 0xfb 0xfb % 0xfc 0xfc % 0xfd 0xfd % 0xfe 0xfe % 0xff 0xff % From olegkat at gmail.com Mon Apr 27 01:50:02 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 27 Apr 2009 02:50:02 +0300 Subject: [texhax] Colorful LaTeX Terminal Output In-Reply-To: <20090426234044.GA10743@thor> References: <20090426234044.GA10743@thor> Message-ID: <20090426235002.GA10936@thor> On Mon, Apr 27, 2009 at 02:40:44AM +0300, Oleg Katsitadze wrote: > placing the attached file (esc.tcx) in the same directory with > test.tex. Actually, you can trim that file to just the first line: 0x1b 0x1b The rest makes 8-bit characters "printable", but you don't need that if you only use ASCII in your sources. Oleg From pierre.mackay at comcast.net Mon Apr 27 02:07:35 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Sun, 26 Apr 2009 17:07:35 -0700 Subject: [texhax] Colorful LaTeX Terminal Output In-Reply-To: <20090426234044.GA10743@thor> References: <20090426234044.GA10743@thor> Message-ID: <49F4F747.7000005@comcast.net> Oleg Katsitadze wrote: >I think that nowadays people mostly use text editors to run TeX, and >those editors probably never process the color escapes in the output. >So most users will just see junk in their output. But as a local hack >for a specific use this seems like a cool idea :). > >Best, >Oleg > > The tex-mode I use in emacs already gives me some really useful color on input, and since its default run mode is to split the screen and dump out the simplified log file in a separate window, I wonder if that output coule be searched for patterns that would produce colors. I can see some real time-saving possibilities in that, particularly in the cascading error information that quite often hides some really useful debugging hints. I am pretty well convinced that emacs lisp can do anything. Pierre MacKay From dml2009 at easychair.org Mon Apr 27 05:57:39 2009 From: dml2009 at easychair.org (dml2009 at easychair.org) Date: Mon, 27 Apr 2009 05:57:39 +0200 (CEST) Subject: [texhax] Last CFP: DML 2009--Towards a Digital Mathematics Library, Ontario, CA, Jul 8-9th Message-ID: <20090427035739.A4A5A1F6EA9@anxur.fi.muni.cz> Last Call for papers: Towards a Digital Mathematics Library (DML 2009) July 8-9th, 2009, Ontario, CA c/o CICM 2009 Web: http://www.fi.muni.cz/~sojka/dml-2009.html Deadlines: April 29th: abstract submissions May 4th: paper submissions May 22nd: paper acceptance/rejection decision May 29th: versions for the proceedings due Jul 8th: workshop date, proceedings on site Submissions: http://www.easychair.org/conferences?conf=dml2009 Submissions will be refereed on the basis of technical quality, novelty, potential impact for building DML, and clarity. Final paper versions should conform to the Springer LNCS (llncs class) style, preferably using LaTeX2e. Submission categories: Full paper: 4-12 LNCS pages Short paper/poster/work in progress report: 1-4 LNCS pages Overview: Mathematicians dream of a digital archive containing all peer-reviewed mathematical literature ever published, properly linked and validated/verified. It is estimated that the entire corpus of mathematical knowledge published over the centuries does not exceed 100,000,000 pages, an amount easily manageable by current information technologies. The workshop's objectives are to formulate the strategy and goals of a global mathematical digital library and to summarize the current successes and failures of ongoing technologies and related projects, asking such questions as: # What technologies, standards, algorithms and formats should be used and what metadata should be shared? # What business models are suitable for publishers of mathematical literature, authors and funders of their projects and institutions? # Is there a model of sustainable, interoperable, and extensible mathematical library that mathematicians can use in their everyday work? # What is the best practice for * retrodigitized mathematics (from images via OCR to MathML and/or TeX); * retro-born-digital mathematics (from existing electronic copy in DVI, PS or PDF to MathML and/or TeX); * born-digital mathematics (how to make needed metadata and file formats available as a side effect of publishing workflow [CEDRAM/Euclid model])? Proceedings: will be published by Masaryk University and will be available on site, with best papers chosen for postconference proceedings published by renowned publisher or for journal. Keynote (conditioned by funding approval): David Ruddy (Project Euclid, Cornell University Library, US): Getting from Here to There: Assembling the Pieces of the Digital Mathematics Library (tentative title) Topics: (include, but are not limited to) o search, indexing and retrieval of mathematical documents o ranking of mathematical papers, similarity of mathematical documents o math OCR with MathML/TeX output o document conversions from/to MathML, OpenMath, LaTeX, PostScript and [tagged] PDF o conversions between various mathematical formalisms o mathematical document compression o processing of scanned images o algorithms for crosslinking of bibliographical items, intext citations search o mathematical document classification, MSC 2010 o mathematical text mining o mathematical documents metadata exchange via OAI-PMH and/or OAI-ORE o long term archiving, data migration o reports and experience from math digitization projects o math publishing with long term archival goal o software engineering aspects of creating, handling MathML, OMDoc, OpenMath documents, and displaying them in web browsers Programme Committee (some members approval pending): Jose Borbinha (Technical University of Lisbon, IST, PT) Thierry Bouche (University Grenoble, Cellule Mathdoc, FR) Michael Doob (University of Manitoba, Winnipeg, CA) Thomas Fischer (Goettingen University, Digitization Center, DE) Yannis Haralambous (Telecom Bretagne, FR) Vaclav Hlavac (Czech Technical University, Faculty of Engineering, Prague, CZ) Janka Chlebikova (Comenius University, MFF, Bratislava, SK) Enrique Macias-Virgos (University of Santiago de Compostella, ES) Jiri Rakosnik (Academy of Sciences, Mathematical Institute, Prague, CZ) Eugenio Rocha (University of Aveiro, Dept. of Mathematics, PT) David Ruddy (Cornell University, Library, US) Volker Sorge (University of Birmingham, UK) Petr Sojka (Masaryk University, Faculty of Informatics, Brno, CZ) [chair] Masakazu Suzuki (Kyushu University, Faculty of Mathematics, JP) Bernd Wegner (Springer/Zentralblatt MATH, Berlin, DE) Organizing Committee: Michael Doob, Adam Rambousek, Michal Ruzicka, Petr Sojka Registration, Travel, Accomodation: see CICM web pages http://www.orcca.on.ca/conferences/cicm09/ Questions/inquiries: email to dml2009 at easychair dot org CFP distribution: Please, distribute at your institution. Apologies for multiple postings! This is not SPAM. If you want to be removed from this list, please tell us at the email above. From uwe.lueck at web.de Mon Apr 27 09:44:27 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Mon, 27 Apr 2009 09:44:27 +0200 Subject: [texhax] Colorful LaTeX Terminal Output Message-ID: <1122070308@web.de> Pierre MacKay schrieb am 27.04.2009 02:08:21: > Oleg Katsitadze wrote: > > >I think that nowadays people mostly use text editors to run TeX, and > >those editors probably never process the color escapes in the output. > >So most users will just see junk in their output. But as a local hack > >for a specific use this seems like a cool idea :). > > > >Best, > >Oleg > > > > > The tex-mode I use in emacs already gives me some really useful color on > input, and since its default run mode is to split the screen and dump > out the simplified log file in a separate window, I wonder if that > output coule be searched for patterns that would produce colors. I can > see some real time-saving possibilities in that, particularly in the > cascading error information that quite often hides some really useful > debugging hints. I am pretty well convinced that emacs lisp can do > anything. There are also packages `trace' (Frank Mittelbach) and `silence' (Paul Isambert) (and ...) for such purposes, but indeed I think of colouring parts of package informations, warnings, and error messages, or in debugging: turn red when we come to the passage where the error occurs. Best, Uwe. From uwe.lueck at web.de Mon Apr 27 10:04:13 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Mon, 27 Apr 2009 10:04:13 +0200 Subject: [texhax] Colorful LaTeX Terminal Output Message-ID: <1122076714@web.de> Oleg Katsitadze schrieb am 27.04.2009 01:42:31: > On Fri, Apr 24, 2009 at 10:37:29PM -0400, Christopher Olah wrote: > > It occurs to me that a LaTeX package that gives colorful output would > > be nice. > You can try processing this (test.tex, all characters are ASCII) > > \message{This text in ^^1b[31mred^^1b[0m.} > \bye > > with the command > > tex -translate-file=./esc.tcx test.tex > > placing the attached file (esc.tcx) in the same directory with > test.tex. It also works with my latex on my Linux with \typeout. Great, thanks! I need \catcode`\^^1b=12 to avoid "invalid character". I have found http://http://kb.iu.edu/data/adzf.html for other colours and effects. > > I'm also curious to hear what others think of this idea. > I think that nowadays people mostly use text editors to run TeX, and > those editors probably never process the color escapes in the output. I wonder about "editors" here. The screen output is generated by TeX from the input files, independent on editors. Or are you thinking of editors that suppress ^^1b in writing to the text file? Cheers, Uwe. [I wonder whether this is a HTML email] From Susan.Dittmar at gmx.de Mon Apr 27 11:27:40 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Mon, 27 Apr 2009 11:27:40 +0200 Subject: [texhax] Overriding page layout defaults in glossaries package In-Reply-To: <39787.62964.qm@web31707.mail.mud.yahoo.com> References: <39787.62964.qm@web31707.mail.mud.yahoo.com> Message-ID: <20090427092740.GM32214@eureca.de> Hi Toni, Quoting Toni Farley (lukkytoni at yahoo.com): > I'm using glossaries.sty to create a glossary. My glossary is two pages > long. Each page has a different page style (first page style is set to > empty), and page layout dimensions (\topmargin, etc.) I need to format > both pages to look the same, but cannot find any information in > glossaries.sty, the manual, or the web, to do this. > > I suspect this is a common problem with packages. Is there some common > way to override package layout settings and default to existing settings? there are several ways, but to override something, you need to know what. I guess that the differences in page style have nothing to do immediately with creating a glossary, but with this glossary being treated as another chapter of your book. I have no experience with glossaries, and no idea about the document class you are using, so I cannot help you any further. How about providing a minimal example? Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090427/6425bafe/attachment-0001.bin From Muibi.A.Salami at aero.org Mon Apr 27 23:13:48 2009 From: Muibi.A.Salami at aero.org (Muibi A Salami) Date: Mon, 27 Apr 2009 14:13:48 -0700 Subject: [texhax] Problems with pstricks Message-ID: Hi TUG support, I am trying to implement the pstricks in LaTeX, starting with the Examples on page 226 - Example 5.5.5 of the LaTeX Graphics Companion (Actually I have tried two other similar examples Example 5.5.6 & 5.5.7 on page 227) UNSUCCESSFULLY. I am using mactex TeXShop. and have not had any other problems with my installations etc. When I compile the examples one of which is coded as follows; my preamble contains \RequirePackage{pstricks} % \begin{pspicture}(2,2) \psgrid \end{pspicture}\hspace{2em} \begin{pspicture}(2,2) \psgrid[gridwidth=0.1pt] \end{pspicture} I get the same error in all of them which is; ! Undefined control sequence. \c at lor@to at ps l.943 \end {pspicture}\hspace{2em} I'll appreciate your suggestions and assistance Thank you ___________________________ Muibi Ade. Salami The Aerospace Corporation 2350 E. El Segundo Blvd M/S M1-137 El Segundo, CA. 90245 Tel: 310-336-6559 Fax: 310-563-2977 email: muibi.a.salami at aero.org _________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090427/9b4363e6/attachment.html From Herbert.Voss at FU-Berlin.DE Mon Apr 27 23:33:37 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Mon, 27 Apr 2009 23:33:37 +0200 Subject: [texhax] Problems with pstricks In-Reply-To: References: Message-ID: <49F624B1.3090201@FU-Berlin.DE> Muibi A Salami schrieb: > I am trying to implement the pstricks in LaTeX, starting with the Examples > on page 226 - Example 5.5.5 of the LaTeX Graphics Companion (Actually I > have tried two other similar examples Example 5.5.6 & 5.5.7 on page 227) > UNSUCCESSFULLY. > > I am using mactex TeXShop. and have not had any other problems with my > installations etc. http://tug.org/PSTricks/main.cgi?file=misc/MAC Herbert From christopherolah.co at gmail.com Tue Apr 28 01:16:23 2009 From: christopherolah.co at gmail.com (Christopher Olah) Date: Mon, 27 Apr 2009 19:16:23 -0400 Subject: [texhax] Colorful LaTeX Terminal Output In-Reply-To: <1122076714@web.de> References: <1122076714@web.de> Message-ID: Is it possible to do this in a way that is inputenc friendly? I've been trying to figure out how this all works, and I can understand the input mapping parts, but I can find no information on how the output is mapped except a short line in the tex manpage about -translate-file... Thanks Christopehr From stefan.bjork at gmail.com Tue Apr 28 20:08:38 2009 From: stefan.bjork at gmail.com (=?ISO-8859-1?Q?Stefan_Bj=F6rk?=) Date: Tue, 28 Apr 2009 20:08:38 +0200 Subject: [texhax] Repeating an environment Message-ID: Dear Sirs, How can I create an environment that repeats the contents in question a specified number of times? For example: \begin{repeat}{5} A lot of text over several pages. \end{repeat} And this is repeated 5 times? /S From borisv at lk.net Tue Apr 28 21:01:29 2009 From: borisv at lk.net (Boris Veytsman) Date: Tue, 28 Apr 2009 15:01:29 -0400 Subject: [texhax] Repeating an environment In-Reply-To: (message from =?ISO-8859-1?Q?Stefan_Bj=F6rk?= on Tue, 28 Apr 2009 20:08:38 +0200) References: Message-ID: <200904281901.n3SJ1T1a020167@bilbo.localnet> =B> Date: Tue, 28 Apr 2009 20:08:38 +0200 =B> From: =?ISO-8859-1?Q?Stefan_Bj=F6rk?= =B> How can I create an environment that repeats the contents in question =B> a specified number of times? For example: =B> \begin{repeat}{5} =B> A lot of text over several pages. =B> \end{repeat} =B> And this is repeated 5 times? \documentclass{article} \usepackage{multido} \begin{document} \newcommand{\textToRepeat}{A lot of text over several pages.\par This is run number \i.\par} \multido{\i=1+1}{5}{\textToRepeat} \end{document} -- Good luck -Boris Kirk to Enterprise -- beam down yeoman Rand and a six-pack. From stefan.bjork at gmail.com Wed Apr 29 00:51:14 2009 From: stefan.bjork at gmail.com (=?ISO-8859-1?Q?Stefan_Bj=F6rk?=) Date: Wed, 29 Apr 2009 00:51:14 +0200 Subject: [texhax] Repeating an environment In-Reply-To: <200904281901.n3SJ1T1a020167@bilbo.localnet> References: <200904281901.n3SJ1T1a020167@bilbo.localnet> Message-ID: > \documentclass{article} > \usepackage{multido} > \begin{document} > \newcommand{\textToRepeat}{A lot of text over several pages.\par This is > run number \i.\par} > \multido{\i=1+1}{5}{\textToRepeat} > \end{document} Thank you! -- but I would really like to implement it as an environment, not macro. Is that possible? /S From olegkat at gmail.com Wed Apr 29 06:21:37 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Wed, 29 Apr 2009 07:21:37 +0300 Subject: [texhax] Colorful LaTeX Terminal Output In-Reply-To: <1122076714@web.de> References: <1122076714@web.de> Message-ID: <20090429042137.GA11278@thor> On Mon, Apr 27, 2009 at 10:04:13AM +0200, Uwe Lueck wrote: > I wonder about "editors" here. The screen output is generated by TeX > from the input files, independent on editors. Or are you thinking of > editors that suppress ^^1b in writing to the text file? No, I was talking of editors not treating specially escape sequences upon _displaying_ of the log file (or the output of TeX). Emacs, for example, displays the 0x1b character as ^[ (of course, Emacs can be easily tweaked to do the right thing). I can imagine less graceful behaviors. Oleg From olegkat at gmail.com Wed Apr 29 06:42:24 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Wed, 29 Apr 2009 07:42:24 +0300 Subject: [texhax] Colorful LaTeX Terminal Output In-Reply-To: References: <1122076714@web.de> Message-ID: <20090429044224.GB11278@thor> On Mon, Apr 27, 2009 at 07:16:23PM -0400, Christopher Olah wrote: > Is it possible to do this in a way that is inputenc friendly? I'm not sure what you mean. I might be mistaken here, but my understanding is that -translate-file works on a lower level than inputenc; inputenc comes into play after input characters have been mapped according to the -translate-file settings. > I can find no information on how the output is mapped except a short > line in the tex manpage about -translate-file... I surmise that characters are mapped back to whatever they've been mapped from. However, in this particular case we are not actually mapping anything, we are just using a side-effect. When TeX outputs "unprintable" characters, it prints them in the ^^xx notation, where xx is a two-digit hex number. -translate-file changes TeX's notion of the set of printable characters. Also, see below an excerpt from cp227.tcx. Oleg %% cp227.tcx %% $Id: cp227.tcx 1513 2006-02-13 00:22:35Z karl $ %% Originally written 2004, Thomas Esser. %% This file is released into the public domain. %% %% This TCX file is the default in TeX Live (as of 2004) for all formats %% except ConTeXt, which doesn't directly display TeX output, and thus %% can use -8bit. %% %% This file makes all characters with code >= 128 printable for TeX. %% TeX itself makes all codes in the range of 32 to 127 printable. The %% remaining codes (0-31) are problematic, because printing them %% "verbatim" might upset your terminal. On the other hand, since HT, VT %% and FF are quite safe, we make these printable. %% %% Even these can cause confusion. For example, %% \showhyphens{$\Psi$} %% will output "[] $\tenrm $" to the terminal. That's a real tab %% character (because \Psi is \mathchardef to "..09), which is %% definitely confusing. But it's all a tradeoff. If we don't make it %% printable, then when input text is written to the terminal in error %% messages, a real tab in the input is written as ^^I. %% %% Our consensus was thus to make HT, VT, and FF printable, but not the %% others. In future releases, the situation may be improved. %% %% This tcx does not "translate" anything, it just changes %% printability. Characters are mapped 1:1. The total number of %% printable characters is 227, which gives this file the name. From gabrielle_araj at yahoo.com Tue Apr 28 15:28:10 2009 From: gabrielle_araj at yahoo.com (Gabrielle Araj) Date: Tue, 28 Apr 2009 06:28:10 -0700 (PDT) Subject: [texhax] bracket Message-ID: <244800.19634.qm@web111101.mail.gq1.yahoo.com> I would like help in coding these brackets in latex. http://img522.imageshack.us/img522/2726/46144555.png Thanks __________________________________________________________________ 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: http://tug.org/pipermail/texhax/attachments/20090428/545b9214/attachment.html From axel.retif at mac.com Wed Apr 29 08:07:41 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 29 Apr 2009 01:07:41 -0500 Subject: [texhax] bracket In-Reply-To: <244800.19634.qm@web111101.mail.gq1.yahoo.com> References: <244800.19634.qm@web111101.mail.gq1.yahoo.com> Message-ID: <49F28FC6-90DD-4CDD-B78C-32A21077871B@mac.com> On 28 Apr, 2009, at 08:28, Gabrielle Araj wrote: > I would like help in coding these brackets in latex. > > http://img522.imageshack.us/img522/2726/46144555.png \documentclass{article} \usepackage{amsmath} \begin{document} \[ \mathrm{aaa}\quad \begin{cases} \mathrm{a}\\ \mathrm{a}\\ \mathrm{a}\\ \mathrm{a} \end{cases} \hspace{3pc} \mathrm{bbb} \begin{cases} \mathrm{b}\\ \mathrm{b}\\ \mathrm{b}\\ \mathrm{b} \end{cases} \hspace{3pc} \raisebox{1ex}{$\mathrm{ccc}$\!\!} \begin{cases} \mathrm{c}\\ \mathrm{c}\\ \mathrm{c}\\ \mathrm{c} \end{cases} \] \end{document} Best, Axel From Herbert.Voss at FU-Berlin.DE Wed Apr 29 09:15:15 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 29 Apr 2009 09:15:15 +0200 Subject: [texhax] Repeating an environment In-Reply-To: References: <200904281901.n3SJ1T1a020167@bilbo.localnet> Message-ID: <49F7FE83.5000503@FU-Berlin.DE> Stefan Bj?rk schrieb: >> \documentclass{article} >> \usepackage{multido} >> \begin{document} >> \newcommand{\textToRepeat}{A lot of text over several pages.\par This is >> run number \i.\par} >> \multido{\i=1+1}{5}{\textToRepeat} >> \end{document} > > Thank you! -- but I would really like to implement it as an > environment, not macro. Is that possible? \documentclass{article} \usepackage{multido} \newsavebox\TBox \newcommand*\RepeatN{} \newenvironment{Repeat}[1][1] {\renewcommand*\RepeatN{#1}% \begin{lrbox}{\TBox} \begin{minipage}{\linewidth}} {\end{minipage}\end{lrbox}% \multido{\iA=0+1}{\RepeatN}{\usebox\TBox\endgraf}} \begin{document} foo \begin{Repeat}[3] A lot of text over several pages.\par A lot of text over several pages. \end{Repeat} \end{document} Herbert From thomasheinz at gmx.net Thu Apr 30 14:53:43 2009 From: thomasheinz at gmx.net (Thomas Heinz) Date: Thu, 30 Apr 2009 14:53:43 +0200 Subject: [texhax] Link to index in TOC points to first index entry Message-ID: <200904301453.43800.thomasheinz@gmx.net> Hi, Given the following example: \documentclass{report} \usepackage{makeidx} \usepackage[pdftex]{hyperref} \makeindex \begin{document} \tableofcontents \cleardoublepage \index{Test} 1,2,3 \cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{\indexname} \printindex \end{document} I get a pdf document where the link to the index in the table of contents points to the correct page but instead of pointing to the top of the page, the link points to the first entry in the index. For the bibliography, this works correctly. If I use tocbibind as in the following example, I get the same result. \documentclass{report} \usepackage{makeidx} \usepackage[nottoc]{tocbibind} \usepackage[pdftex,pdfpagelabels]{hyperref} \makeindex \begin{document} \tableofcontents \cleardoublepage \index{Test} 1,2,3 \cleardoublepage \phantomsection \printindex \end{document} Is this really expected behaviour? How can I get a link to the top of the index page? Thanks for your help. Best regards, Thomas From tomfool at as220.org Thu Apr 30 20:49:56 2009 From: tomfool at as220.org (Tom Sgouros) Date: Thu, 30 Apr 2009 14:49:56 -0400 Subject: [texhax] penalties Message-ID: <12601.1241117396@as220.org> Hi All: I've never really had to mess with penalties in all the time I've used TeX, but now I have to, and I don't really get how to go about it. I have a long document (~150 pages), and there are only about four places where the line-breaking isn't working right. But in those places, I don't really know what to do. The FAQ suggests changing some penalties, but the other 500 paragraphs look fine, and I don't want to make global changes. I thought I could do this: {\hyphenpenalty5000 Text of offending paragraph.} But that seems to have no effect, whatever I set the value to. The FAQ also suggests appending "\looseness=-1" to the last word of the paragraph, but that also has no apparent effect. Can I change these values locally? Am I misunderstanding how this is to be done? To be more specific, there are a couple of paragraphs with offending last lines (3-letter fragments of hyphenated words), and another couple with words that stick out into the margins. I've already fixed all the places where I could deal with the issue by rewording, so that's not an option. I'm using memoir.cls, if that makes a difference somehow. Any advice welcome, and thanks, -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net From pierre.mackay at comcast.net Thu Apr 30 23:50:20 2009 From: pierre.mackay at comcast.net (pierre.mackay at comcast.net) Date: Thu, 30 Apr 2009 21:50:20 +0000 (UTC) Subject: [texhax] penalties In-Reply-To: <12601.1241117396@as220.org> Message-ID: <233057093.1234041241128220326.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> ----- Original Message ----- From: "Tom Sgouros" To: texhax at tug.org Sent: Thursday, April 30, 2009 2:49:56 PM GMT -05:00 US/Canada Eastern Subject: [texhax] penalties Hi All: I've never really had to mess with penalties in all the time I've used TeX, but now I have to, and I don't really get how to go about it. I have a long document (~150 pages), and there are only about four places where the line-breaking isn't working right. But in those places, I don't really know what to do. The FAQ suggests changing some penalties, but the other 500 paragraphs look fine, and I don't want to make global changes. I thought I could do this: {\hyphenpenalty5000 Text of offending paragraph.} Too sophisticated. I usually \hbox{the last two or three words,} of the paragraph. I do that throughout the article, to avoid clubs. But that seems to have no effect, whatever I set the value to. The FAQ also suggests appending "\looseness=-1" to the last word of the paragraph \looseness is a great tool for page balancing, but it goes at the start of the paragraph you are loosening. I always put it after anything else, but before \noindent. If it doesn't work, that means that the linebreaking has not found any workable values. I hunt for last lines that almost fill the page as indications that \looseness=1 will work and use \looseness=1 on almost all paragraphs with short clubs. I don't see how I could do page balancing without it. Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090430/cea23794/attachment.html From uwe.lueck at web.de Wed Apr 29 23:46:37 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 29 Apr 2009 23:46:37 +0200 Subject: [texhax] Colorful LaTeX Terminal Output In-Reply-To: <20090429042137.GA11278@thor> References: <1122076714@web.de> <1122076714@web.de> Message-ID: <5.1.0.14.0.20090429234439.02a91100@pop3.web.de> At 06:21 29.04.09, Oleg Katsitadze wrote: >On Mon, Apr 27, 2009 at 10:04:13AM +0200, Uwe Lueck wrote: > > I wonder about "editors" here. The screen output is generated by TeX > > from the input files, independent on editors. Or are you thinking of > > editors that suppress ^^1b in writing to the text file? > >No, I was talking of editors not treating specially escape sequences >upon _displaying_ of the log file (or the output of TeX). Emacs, for >example, displays the 0x1b character as ^[ (of course, Emacs can be >easily tweaked to do the right thing). I can imagine less graceful >behaviors. Indeed, nice color in screen output, awful symbols in the .log file. Oh wie schade :-( Cheers :-) Uwe.