From prstanley at ntlworld.com Sun Mar 1 02:09:24 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 01:09:24 +0000 Subject: [texhax] \ldots v. \cdots Message-ID: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Hi I've come across both \ldots and \cdots in typesetting series in \sum -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? Thanks Paul From sean.sieger at gmail.com Sun Mar 1 02:08:56 2009 From: sean.sieger at gmail.com (Sean Sieger) Date: Sat, 28 Feb 2009 20:08:56 -0500 Subject: [texhax] Do not symlink when installing TeXLive 2008 on K/Ubuntu Intrepid or Debian systems References: <4135e3e50902281316p6d1753e2yb1bad7da74b4bbfb@mail.gmail.com> <20090228224902.3fed38e0.padawan12@obiwannabe.co.uk> Message-ID: <87bpsmkq1j.fsf@gmail.com> Andy Farnell writes: .profile is used when you log in, .bashrc is exectuted if another bash shell is started. Usually both are run when you login. Having paths redundantly added in both will cause no harm. Having it only in .profile may not work if you log in as someone else. Having it in .bashrc would fail if you used a different shell. So, simple answer, it doesn't hurt to use both, but technically only one will suffice. Thank you. From tjm1983 at gmail.com Sun Mar 1 02:53:47 2009 From: tjm1983 at gmail.com (Tim McKenzie) Date: Sun, 1 Mar 2009 14:53:47 +1300 Subject: [texhax] problems with circumflex In-Reply-To: <49A8F27E.8000102@gmx.de> References: <49A8F27E.8000102@gmx.de> Message-ID: <200903011453.51703.tjm1983@gmail.com> On Saturday 28 February 2009 21:14:54 Benjamin Sambale wrote: > Dear forum, > > I wonder about the difference between $^x \operatorname{N}$ and > $\operatorname{N}^x$. Here, I use \operatorname only to write it > upright. Apart from that it doesn't play a role. The problem is that the > space between ^x and N is larger than the space between N and ^x. > Another problem is that ^x in front of N lies lower than ^x after N. I > want that both ^x look exactly the same. If I use > $^x{\operatorname{N}}$, then the space reduces a bit, but it is still to > large. The space in $^x\!\operatorname{N}$ looks also better, but I > think this is not the best solution. I've heard about a package called fouridx that might help you solve this problem, but I haven't tried it. Tim <>< -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. Url : http://tug.org/pipermail/texhax/attachments/20090301/dfe780d1/attachment.bin From phil at math.wichita.edu Sun Mar 1 05:23:41 2009 From: phil at math.wichita.edu (Phil Parker) Date: Sat, 28 Feb 2009 22:23:41 -0600 Subject: [texhax] \ldots v. \cdots In-Reply-To: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <200903010427.n214RTF5011276@mfe03.daimi.au.dk> On 03/01/2009 at 01:09 AM, "P. R. Stanley" wrote: > >I've come across both \ldots and \cdots in typesetting series in \sum -- \{1 >+ 2 + 3 + ldots + n\}. What would the list recommend? > In mathematics, in the example you give, \cdots is preferred as the dots should be aligned with the operation signs (+ in this case). \ldots is usually reserved for lists, as in the components of an n-tuple (x_1, x_2, \ldots, x_n). -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: A day for firm decisions! Or is it? From pierre.mackay at comcast.net Sun Mar 1 06:02:34 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Sat, 28 Feb 2009 21:02:34 -0800 Subject: [texhax] \ldots v. \cdots In-Reply-To: <200903010427.n214RTF5011276@mfe03.daimi.au.dk> References: <200903010427.n214RTF5011276@mfe03.daimi.au.dk> Message-ID: <49AA16EA.7070305@comcast.net> Phil Parker wrote: >On 03/01/2009 at 01:09 AM, "P. R. Stanley" wrote: > > >>I've come across both \ldots and \cdots in typesetting series in \sum -- \{1 >>+ 2 + 3 + ldots + n\}. What would the list recommend? >> >> >> > >In mathematics, in the example you give, \cdots is preferred as the dots should be aligned with the operation signs (+ in this case). > >\ldots is usually reserved for lists, as in the components of an n-tuple (x_1, x_2, \ldots, x_n). > > > Perhaps the mopst important use of \ldots, for non-mathematical compositors like me, is to produce a three-dot ellipsis that harmonizes with the typeface you happen to be using. I have written a \fourdots macro to provide the same predictable ellipsis spacing at the end of a sentence. If anyone is interested I will send it on. Pierre MacKay From bsambale at gmx.de Sun Mar 1 09:14:17 2009 From: bsambale at gmx.de (Benjamin Sambale) Date: Sun, 01 Mar 2009 09:14:17 +0100 Subject: [texhax] \ldots v. \cdots In-Reply-To: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <49AA43D9.3010407@gmx.de> I think that is a matter of taste. I (mathematician) use \cdots only in matrices. P. R. Stanley schrieb: > Hi > I've come across both \ldots and \cdots in typesetting series in \sum > -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? > Thanks > Paul > > _______________________________________________ > 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 yannis.haralambous at telecom-bretagne.eu Sun Mar 1 09:26:52 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Sun, 1 Mar 2009 09:26:52 +0100 Subject: [texhax] \ldots v. \cdots In-Reply-To: <49AA43D9.3010407@gmx.de> References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> <49AA43D9.3010407@gmx.de> Message-ID: when you have binary operators centered on the mathematical axis, use \cdots when you have sequences of numbers of variables separated by commas, use \ldots $1+2+\cdots+n$ but $1,2,\ldots,n$ some other dots are specialized to multiple integrals, etc. Le 1 mars 09 ? 09:14, Benjamin Sambale a ?crit : > I think that is a matter of taste. I (mathematician) use \cdots only > in > matrices. > > P. R. Stanley schrieb: >> Hi >> I've come across both \ldots and \cdots in typesetting series in \sum >> -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? >> Thanks >> Paul >> >> _______________________________________________ >> TeX FAQ: http://www.tex.ac.uk/faq >> Mailing list archives: http://tug.org/pipermail/texhax/ >> More links: http://tug.org/begin.html >> >> Automated subscription management: http://tug.org/mailman/listinfo/texhax >> Human mailing list managers: postmaster at tug.org >> >> > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- + -----------------------------------------------------------------------+ | 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/20090301/1a53b885/attachment.bin -------------- next part -------------- From uwe.lueck at web.de Sun Mar 1 12:18:54 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 01 Mar 2009 12:18:54 +0100 Subject: [texhax] problems with circumflex In-Reply-To: <200903011453.51703.tjm1983@gmail.com> References: <49A8F27E.8000102@gmx.de> <49A8F27E.8000102@gmx.de> Message-ID: <5.1.0.14.0.20090301120254.0264bbc0@pop3.web.de> At 02:53 01.03.09, Tim McKenzie wrote: >On Saturday 28 February 2009 21:14:54 Benjamin Sambale wrote: > > The problem is that the space between ^x and N is larger > > than the space between N and ^x. > > Another problem is that ^x in front of N lies lower than ^x after N. BTW, I had overlooked this so far. This is a special point that fouridx addresses. >I've heard about a package called fouridx that might help you solve this >problem, but I haven't tried it. Very good! However, according to www.ctan.org/pkg/fouridx this just is made to improve \sideset from amsmath, in the present case $\sideset{^x}{}{\operatorname{N}}$ suffices. For comparison: $\sideset{^x}{^x}{\operatorname{N}}$). $^x\mathrm{N}^x$ also has the symmetry, but the superscripts are lower than with `N' as an operator. I was about to suggest $^x\!\operatorname{N}^x$ which repairs horizontal spacing, but the left superscript is lower than the right one ... Cheers, Uwe. From daleif at imf.au.dk Sun Mar 1 13:57:52 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sun, 01 Mar 2009 13:57:52 +0100 Subject: [texhax] \ldots v. \cdots In-Reply-To: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <49AA8650.4080506@imf.au.dk> P. R. Stanley wrote: > Hi > I've come across both \ldots and \cdots in typesetting series in \sum > -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? > Thanks > Paul > > in most cases I use \dots, not \ldots nor \cdots, \dots has the advance that it looks at the item following it, so \dots, => \ldots, and \dots+ => \cdots+, then the only thing you need to worry about the are situations where the dots come last. BTW: someone talked about a fourdots macro, doesn't four dots at the end of a sentence look odd? I usually see three dots at the end of a sentence in the same way as a dot, i.e. end of sentence, no need to an extra dot. /daleif From phil at math.wichita.edu Sun Mar 1 13:16:35 2009 From: phil at math.wichita.edu (Phil Parker) Date: Sun, 01 Mar 2009 06:16:35 -0600 Subject: [texhax] \ldots v. \cdots In-Reply-To: <49AA8650.4080506@imf.au.dk> Message-ID: <200903011220.n21CKU6R025599@mfe03.daimi.au.dk> On 03/01/2009 at 01:57 PM, Lars Madsen wrote: >BTW: someone talked about a fourdots macro, doesn't four dots at the end of >a sentence look odd? I usually see three dots at the end of a sentence in >the same way as a dot, i.e. end of sentence, no need to an extra dot. In a direct quote, if one leaves out the last part of a complete sentence, the beginning fragment should end with four dots: the first three are the ellipsis, indicating the omission, and the last is the period, indicating how much was omitted. Such are much more common in literary and philosophical works than in math or science. -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: I would try to count my blessings, but I am no good at fractions. From prstanley at ntlworld.com Sun Mar 1 14:13:09 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 13:13:09 +0000 Subject: [texhax] \ldots v. \cdots In-Reply-To: <49AA8650.4080506@imf.au.dk> References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> <49AA8650.4080506@imf.au.dk> Message-ID: <20090301131255.WCOP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> >>I've come across both \ldots and \cdots in typesetting series in >>\sum -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? >> >> >in most cases I use \dots, not \ldots nor \cdots, \dots has the >advance that it looks at the item following it, so \dots, => \ldots, >and \dots+ => \cdots+, then the only thing you need to worry about >the are situations where the dots come last. That's a good point -- what would one use in "... some text ... more text ..." Paul From prstanley at ntlworld.com Sun Mar 1 14:16:07 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 13:16:07 +0000 Subject: [texhax] \ldots v. \cdots In-Reply-To: References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> <49AA43D9.3010407@gmx.de> <20090301112405.MPJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <20090301131554.QYRW22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com> >no, they denote height: > >l=lower >c=centered Do you mean virtical alignment? Paul From prstanley at ntlworld.com Sun Mar 1 16:26:14 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 15:26:14 +0000 Subject: [texhax] Some questions on math mode Message-ID: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Hi folks 1. What effect does placing a letter [A-Za-z] in math mode produce, for example $x$ $A$? 2. The \mathcal macro displays the enclosed character in caligraph fond. According to the document at http://www.math.uiuc.edu/~hildebr/tex/course/intro2.html It says that it's used "often to denote sets". What sort of sets? Some more information on the effects of the mathcal macro on the enclosed character plus it's uses would be appreciated. 3. The same document states that the \mathbb macro can be used for displaying rationals reals and so forth. Again, What visual effects does the mathbb have on the enclosing character. I have come across quite a few of those \math macros -- mathrm, mathtt and so on. It's hard to know what they do or, more importantly, when they should be used. Any tips would be most appreciated. Thanks Paul From P.Taylor at Rhul.Ac.Uk Sun Mar 1 16:58:25 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 01 Mar 2009 15:58:25 +0000 Subject: [texhax] Some questions on math mode In-Reply-To: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <49AAB0A1.4030409@Rhul.Ac.Uk> P. R. Stanley wrote: > Hi folks > 1. What effect does placing a letter [A-Za-z] in math mode produce, > for example $x$ $A$? It sets the letter in maths italic, which is similar to (but not the same as) text italics. > 2. The \mathcal macro displays the enclosed character in caligraph > fond. According to the document at > http://www.math.uiuc.edu/~hildebr/tex/course/intro2.html > > It says that it's used "often to denote sets". What sort of sets? > Some more information on the effects of the mathcal macro on the > enclosed character plus it's uses would be appreciated. I'm no mathematician (as Chris Rowley will hasten to assure you !) but a short fragment from an LMS paper may help : > For any non-empty subset $\mathcal I$ of the natural numbers > 3. The same document states that the \mathbb macro can be used for > displaying rationals reals and so forth. Again, What visual effects > does the mathbb have on the enclosing character. It creates "blackboard bold", which looks as if the same character had been rendered twice with a small displacement (horizontal) between the two instances. > I have come across > quite a few of those \math macros -- mathrm, mathtt and so on. It's > hard to know what they do or, more importantly, when they should be > used. Any tips would be most appreciated. In general, the "math" prefix simply indicates that the macro is intended for use in maths mode; the characters that follow indicate the intended effect, such as "rm" => "roman", meaning upright; "tt" -> "teletype", meaning monospaced and highly stylised. It's a great shame that (as far as I know) no-one has yet reported a document from whence all of these things can be gleaned. Philip TAYLOR From bsambale at gmx.de Sun Mar 1 17:14:53 2009 From: bsambale at gmx.de (Benjamin Sambale) Date: Sun, 01 Mar 2009 17:14:53 +0100 Subject: [texhax] Some questions on math mode In-Reply-To: <49AAB0A1.4030409@Rhul.Ac.Uk> References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> Message-ID: <49AAB47D.8030404@gmx.de> mathcal is often used to define sets consisting of sets. A typical example is the set of equivalence classes of a equivalence relation. Philip TAYLOR schrieb: > P. R. Stanley wrote: > >> Hi folks >> 1. What effect does placing a letter [A-Za-z] in math mode produce, >> for example $x$ $A$? >> > > It sets the letter in maths italic, which is similar > to (but not the same as) text italics. > > >> 2. The \mathcal macro displays the enclosed character in caligraph >> fond. According to the document at >> http://www.math.uiuc.edu/~hildebr/tex/course/intro2.html >> >> It says that it's used "often to denote sets". What sort of sets? >> Some more information on the effects of the mathcal macro on the >> enclosed character plus it's uses would be appreciated. >> > > I'm no mathematician (as Chris Rowley will hasten to assure > you !) but a short fragment from an LMS paper may help : > > >> For any non-empty subset $\mathcal I$ of the natural numbers >> > > >> 3. The same document states that the \mathbb macro can be used for >> displaying rationals reals and so forth. Again, What visual effects >> does the mathbb have on the enclosing character. >> > > It creates "blackboard bold", which looks as if the same > character had been rendered twice with a small displacement > (horizontal) between the two instances. > > >> I have come across >> quite a few of those \math macros -- mathrm, mathtt and so on. It's >> hard to know what they do or, more importantly, when they should be >> used. Any tips would be most appreciated. >> > > In general, the "math" prefix simply indicates that the > macro is intended for use in maths mode; the characters > that follow indicate the intended effect, such as > "rm" => "roman", meaning upright; "tt" -> "teletype", > meaning monospaced and highly stylised. It's a great > shame that (as far as I know) no-one has yet reported > a document from whence all of these things can be > gleaned. > > Philip TAYLOR > _______________________________________________ > 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 prstanley at ntlworld.com Sun Mar 1 17:27:05 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 16:27:05 +0000 Subject: [texhax] Some questions on math mode In-Reply-To: <49AAB0A1.4030409@Rhul.Ac.Uk> References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> Message-ID: <20090301162652.SRXE22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com> >P. R. Stanley wrote: >>Hi folks >>1. What effect does placing a letter [A-Za-z] in math mode produce, >>for example $x$ $A$? > >It sets the letter in maths italic, which is similar >to (but not the same as) text italics. > >>Sorry to be a pain, what is the difference between math italic and >>text italic? Where would one use math italic? For examplem is it >>for something as undane as a variable -- $ xy$? >----------[snip]---------- >It's a great shame that (as far as I know) no-one has yet reported a >document from whence all of these things can be gleaned. well, with my questions and the answers from the list we may have already started creating such a document. :-) Cheers Paul From prstanley at ntlworld.com Sun Mar 1 17:52:12 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 16:52:12 +0000 Subject: [texhax] Some questions on math mode In-Reply-To: <49AAB47D.8030404@gmx.de> References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> <49AAB47D.8030404@gmx.de> Message-ID: <20090301165202.YOJD2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> >mathcal is often used to define sets consisting of sets. A typical >example is the set of equivalence classes of a equivalence relation. Would one denote a power set with mathcal too? Paul From ivan.pagnossin at gmail.com Sun Mar 1 18:09:53 2009 From: ivan.pagnossin at gmail.com (Ivan Ramos Pagnossin) Date: Sun, 1 Mar 2009 14:09:53 -0300 Subject: [texhax] Some questions on math mode In-Reply-To: <20090301162652.SRXE22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> <20090301162652.SRXE22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: The difference among \text* and \math* is a question of *meaning*, not layout. Let me copy a piece o text from The LaTeX Companion (sec 7.4 on p. 347): "...(in math formulas) individual shapes convey specific information. For example, bold upright letters may represent vectors..." So, you don't use \math* just because you are in math mode, but because you need to set a specific meaning to a symbol, and this is (or might be) done changing the font (the more appropriate one is up to you). The question is more or less the same as asking "what is the difference between \textit and \emph?" And the answer is that while \textit switch the font to an italic shape, \emph *emphasizes* the text, what can be done with bold faces, underlines, colors, italics (\textit, for instance) etc. In time: the fonts associated to the comands \text* and \math* are different, although in the Computer Modern families they are equal in series and shapes. You can check this by loading a font package that does not have support for math fonts (utopia, for example). []s Ivan I mean, using the Computer Modern font families On Sun, Mar 1, 2009 at 13:27, P. R. Stanley wrote: > > >P. R. Stanley wrote: > >>Hi folks > >>1. What effect does placing a letter [A-Za-z] in math mode produce, > >>for example $x$ $A$? > > > >It sets the letter in maths italic, which is similar > >to (but not the same as) text italics. > > > >>Sorry to be a pain, what is the difference between math italic and > >>text italic? Where would one use math italic? For examplem is it > >>for something as undane as a variable -- $ xy$? > > >----------[snip]---------- > > >It's a great shame that (as far as I know) no-one has yet reported a > >document from whence all of these things can be gleaned. > well, with my questions and the answers from the list we may have > already started creating such a document. :-) > > Cheers > Paul > > _______________________________________________ > 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/20090301/5dbdf72a/attachment.html From uwe.lueck at web.de Sun Mar 1 17:57:27 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 01 Mar 2009 17:57:27 +0100 Subject: [texhax] Some questions on math mode In-Reply-To: <49AAB47D.8030404@gmx.de> References: <49AAB0A1.4030409@Rhul.Ac.Uk> <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> Message-ID: <5.1.0.14.0.20090301174340.02657ec0@pop3.web.de> At 17:14 01.03.09, Benjamin Sambale wrote: >mathcal is often used to define sets consisting of sets. ... or of *proper classes*, consisting of sets, not being sets themselves ("too large", "contradictory"). A similar use is for *categories* in Category Theory, which often are "proper class versions" of relational structures whose underlying "sets" are proper classes indeed. In Model Theory (belonging to Mathematical Logic) caligraphic letters quite consistently refer to "relational structures"; $\mathcal{A}$ may denote a relational structure consisting of an underlying set $A$ and subsets of multiple cartesian products of $A$ with itself. I just see Paul's question on the power set: right, this may be the most common use! (besides Fraktur, somewhat like with imaginary vs. real numbers.) > > P. R. Stanley wrote: > >> 2. The \mathcal macro displays the enclosed character in caligraph > >> fond. According to the document at > >> http://www.math.uiuc.edu/~hildebr/tex/course/intro2.html > >> It says that it's used "often to denote sets". What sort of sets? > >> Some more information on the effects of the mathcal macro on the > >> enclosed character plus it's uses would be appreciated. The effect is "calligraphic" [two `l'] letters, you also say "script style" [vs. \scriptstyle!??], looking like uppercase letters painted with a brush [right?] Hope This Is True -- Uwe. From uwe.lueck at web.de Sun Mar 1 18:11:05 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 01 Mar 2009 18:11:05 +0100 Subject: [texhax] Some questions on math mode In-Reply-To: <49AAB0A1.4030409@Rhul.Ac.Uk> References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <5.1.0.14.0.20090301175733.02656170@pop3.web.de> At 16:58 01.03.09, Philip TAYLOR wrote: >P. R. Stanley wrote: > > 3. The same document states that the \mathbb macro can be used for > > displaying rationals reals and so forth. Again, What visual effects > > does the mathbb have on the enclosing character. > >It creates "blackboard bold", which looks as if the same >character had been rendered twice with a small displacement >(horizontal) between the two instances. Often it rather looks ... e.g. when the Blackboard Bold typeface was not available, one could try some "poor man's blackboard bold" by setting an uppercase `I' very tightly to the left of `R', `N' etc. (real, natural ... numbers) The proper typeface for the reals and the natural numbers is upright bold; this was imitated at blackboards by drawing some strokes twice ... and maybe especially in Germany this seems to be considered the standard canonical way of real numbers etc., it is very common in German textbooks. I.e. the blackboard version is considered correct and the original English typeface is considered misleading ... [right?] > > I have come across > > quite a few of those \math macros -- mathrm, mathtt and so on. It's > > hard to know what they do or, more importantly, when they should be > > used. Any tips would be most appreciated. > >In general, the "math" prefix simply indicates that the >macro is intended for use in maths mode; the characters >that follow indicate the intended effect, such as >"rm" => "roman", meaning upright; "tt" -> "teletype", >meaning monospaced and highly stylised. It's a great >shame that (as far as I know) no-one has yet reported >a document from whence all of these things can be >gleaned. Hey! What about the LaTeX guides from the /doc/ directory!? usrguide.pdf Sec. 3.11, fntguide.pdf pp. 11f. Hope This Is True -- Uwe. From uwe.lueck at web.de Sun Mar 1 18:16:09 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 01 Mar 2009 18:16:09 +0100 Subject: [texhax] Fwd: Re: Some questions on math mode Message-ID: <5.1.0.14.0.20090301181513.02afabe0@pop3.web.de> >Date: Sun, 01 Mar 2009 17:57:27 +0100 >To: Benjamin Sambale , TeXhax >From: Uwe L?ck >Subject: Re: [texhax] Some questions on math mode > >In Model Theory (belonging to Mathematical Logic) caligraphic letters calligraphic, sorry -- Uwe. From prstanley at ntlworld.com Sun Mar 1 18:42:59 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 17:42:59 +0000 Subject: [texhax] some questions In-Reply-To: References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> <20090301162652.SRXE22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <20090301174245.HUVH13254.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> I think that's what lies at the heart of my question. I am first and foremost interested in the semantics as denoted by the various font attributes. Of course, it would help also to have some perspective of the physical attributes as well. Paul difference among \text* and \math* is a question of meaning, not layout. Let me copy a piece o text from The LaTeX Companion (sec 7.4 on p. 347): >"...(in math formulas) individual shapes convey specific >information. For example, bold upright letters may represent vectors..." > >So, you don't use \math* just because you are in math mode, but >because you need to set a specific meaning to a symbol, and this is >(or might be) done changing the font (the more appropriate one is up to you). > >The question is more or less the same as asking "what is the >difference between \textit and \emph?" And the answer is that while >\textit switch the font to an italic shape, \emph emphasizes the >text, what can be done with bold faces, underlines, colors, italics >(\textit, for instance) etc. > >In time: the fonts associated to the comands \text* and \math* are >different, although in the Computer Modern families they are equal >in series and shapes. You can check this by loading a font package >that does not have support for math fonts (utopia, for example). > >[]s >Ivan > > >I mean, using the Computer Modern font families > >On Sun, Mar 1, 2009 at 13:27, P. R. Stanley ><prstanley at ntlworld.com> wrote: > > >P. R. Stanley wrote: > >>Hi folks > >>1. What effect does placing a letter [A-Za-z] in math mode produce, > >>for example $x$ $A$? > > > >It sets the letter in maths italic, which is similar > >to (but not the same as) text italics. > > > >>Sorry to be a pain, what is the difference between math italic and > >>text italic? Where would one use math italic? For examplem is it > >>for something as undane as a variable -- $ xy$? > > >----------[snip]---------- > > >It's a great shame that (as far as I know) no-one has yet reported a > >document from whence all of these things can be gleaned. >well, with my questions and the answers from the list we may have >already started creating such a document. :-) > >Cheers >Paul > >_______________________________________________ >TeX FAQ: http://www.tex.ac.uk/faq >Mailing list archives: >http://tug.org/pipermail/texhax/ >More links: http://tug.org/begin.html > >Automated subscription management: >http://tug.org/mailman/listinfo/texhax >Human mailing list managers: postmaster at tug.org > > >_______________________________________________ >TeX FAQ: http://www.tex.ac.uk/faq >Mailing list archives: http://tug.org/pipermail/texhax/ >More links: http://tug.org/begin.html > >Automated subscription management: http://tug.org/mailman/listinfo/texhax >Human mailing list managers: postmaster at tug.org From c.a.rowley at open.ac.uk Sun Mar 1 18:49:24 2009 From: c.a.rowley at open.ac.uk (c.a.rowley at open.ac.uk) Date: Sun, 1 Mar 2009 17:49:24 +0000 Subject: [texhax] Some questions on math mode In-Reply-To: References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> <20090301162652.SRXE22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com>, Message-ID: A mathematician writes --- >> >It's a great shame that (as far as I know) no-one has yet reported a >> >document from whence all of these things can be gleaned. >> Let me copy a piece of text from The LaTeX Companion (sec 7.4 on p. 347): ibid, Chap 8 contains a lot more information about math mode and the AMS mathematical packages. However, whilst the following is correct: "...(in math formulas) individual shapes convey specific information" there is not very much consistency about what that information is amongst mathematcians. (Physicists tend to be more consistent and concerned about the exact meanings of various typographical usages.) Thus it says 'may' here: "For example, bold upright letters may represent vectors..." This is also a nice example as, whereas in physics, vectors are vectors are vectors (maybe I exaggerate:-), in maths there are lots of uses of the term 'vectors' and these may, or may not, have different notational conventions. So, you don't use \math* just because you are in math mode, but because you need to set a specific meaning to a symbol, and this is (or might be) done changing the font (the more appropriate one is up to you). The question is more or less the same as asking "what is the difference between \textit and \emph?" And the answer is that while \textit switch the font to an italic shape, \emph emphasizes the text, what can be done with bold faces, underlines, colors, italics (\textit, for instance) etc. In time: the fonts associated to the comands \text* and \math* are different, although in the Computer Modern families they are equal in series and shapes. You can check this by loading a font package that does not have support for math fonts (utopia, for example). []s Ivan I mean, using the Computer Modern font families On Sun, Mar 1, 2009 at 13:27, P. R. Stanley < prstanley at ntlworld.com > wrote: >P. R. Stanley wrote: >>Hi folks >>1. What effect does placing a letter [A-Za-z] in math mode produce, >>for example $x$ $A$? > >It sets the letter in maths italic, which is similar >to (but not the same as) text italics. > >>Sorry to be a pain, what is the difference between math italic and >>text italic? Where would one use math italic? For examplem is it >>for something as undane as a variable -- $ xy$? >----------[snip]---------- >It's a great shame that (as far as I know) no-one has yet reported a >document from whence all of these things can be gleaned. well, with my questions and the answers from the list we may have already started creating such a document. :-) Cheers Paul _______________________________________________ TeX FAQ: http://www.tex.ac.uk/faq Mailing list archives: http://tug.org/pipermail/texhax/ More links: http://tug.org/begin.html Automated subscription management: http://tug.org/mailman/listinfo/texhax Human mailing list managers: postmaster at tug.org _______________________________________________ TeX FAQ: http://www.tex.ac.uk/faq Mailing list archives: http://tug.org/pipermail/texhax/ More links: http://tug.org/begin.html Automated subscription management: http://tug.org/mailman/listinfo/texhax Human mailing list managers: postmaster at tug.org --------------------------------------------------------------------------- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302) From P.Taylor at Rhul.Ac.Uk Sun Mar 1 18:50:08 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Sun, 01 Mar 2009 17:50:08 +0000 Subject: [texhax] Some questions on math mode In-Reply-To: <20090301162652.SRXE22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> <20090301162652.SRXE22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <49AACAD0.4030105@Rhul.Ac.Uk> P. R. Stanley wrote: >> P. R. Stanley wrote: >>> Hi folks >>> 1. What effect does placing a letter [A-Za-z] in math mode produce, >>> for example $x$ $A$? >> It sets the letter in maths italic, which is similar >> to (but not the same as) text italics. >> >>> Sorry to be a pain, what is the difference between math italic and >>> text italic? Where would one use math italic? For examplem is it >>> for something as undane as a variable -- $ xy$? Yes, certainly for variables : the problem is that one needs to be a mathematician (or at least to have more than a passing familiarity with maths notation) to know when italics are called for and when not. It is easier to differentiate between maths italic and text italic : the latter is simply for use in non-mathematical text whenever italics are called for. And in case you are uncertain exactly how italics differ from more conventional, so-called "Roman", letters, italics are slanted to the right by a few degrees, but are re-drawn so that they are more ornate that a simple slanting of the Roman text would give. ** Phil. From vivrii at gmail.com Sun Mar 1 20:13:20 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Sun, 1 Mar 2009 14:13:20 -0500 Subject: [texhax] Some questions on math mode In-Reply-To: References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <49AAB0A1.4030409@Rhul.Ac.Uk> <20090301162652.SRXE22934.aamtaout04-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <19af81400903011113m3ed0dcc8r84a78faf5459f12@mail.gmail.com> On Sun, Mar 1, 2009 at 12:49 PM, wrote: > ?"For example, bold upright letters may represent vectors..." > > This is also a nice example as, whereas in physics, vectors are vectors are > vectors (maybe I exaggerate:-), in maths there are lots of uses of the term > 'vectors' and these may, or may not, have different notational conventions. > Mathematicians are using much more mathematical objects than physicists and are always short in notations. -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From prstanley at ntlworld.com Sun Mar 1 20:25:28 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 19:25:28 +0000 Subject: [texhax] \binom Message-ID: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Hi What does it do? What do you get when you compile $\binom{3}{4}$ in a document? Thanks Paul From preining at logic.at Sun Mar 1 20:08:24 2009 From: preining at logic.at (Norbert Preining) Date: Sun, 1 Mar 2009 20:08:24 +0100 Subject: [texhax] [tex-live] Do not symlink when installing TeXLive 2008 on K/Ubuntu Intrepid or Debian systems In-Reply-To: <49A96298.50408@ee.uwa.edu.au> References: <49A96298.50408@ee.uwa.edu.au> Message-ID: <20090301190824.GV6006@gamma.logic.tuwien.ac.at> Dear Chandra, yes, that is well known problem. Debian's package of texinfo installs the GNU install-info as ginstall-info. There are some things on the horizont, but for away for now: - we on Debian are trying to replace dpkg install-info with GNU install-info in the long run - texinfo/install-info will NOT be part of TeX Live 2009 anyway. On So, 01 M?r 2009, R (Chandra) Chandrasekhar wrote: > This choice inadvertently led to problems later on when apt-get and dpkg > would not install or remove packages successfully. Can you give me examples of packages NOT working correctly? because the texinfo GNU install-info should be new enough in TL2008 to deal with many packages. Examples please ... best would be only the postinst code that calls the install-info ... Thanks Finally, if some ubuntu/debian guy wants to help me with the Debian/install-info -> GNU/install-info transition please contact me, there is URGENT need for that! Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining Vienna University of Technology Debian Developer Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- FRADDAM (n.) The small awkward-shaped piece of cheese which remains after grating a large regular-shaped piece of cheese and enables you to cut your fingers. --- Douglas Adams, The Meaning of Liff From chyavana at gmail.com Sun Mar 1 03:58:50 2009 From: chyavana at gmail.com (R (Chandra) Chandrasekhar) Date: Sun, 01 Mar 2009 11:58:50 +0900 Subject: [texhax] Do not symlink when installing TeXLive 2008 on K/Ubuntu Intrepid or Debian systems In-Reply-To: <4135e3e50902281316p6d1753e2yb1bad7da74b4bbfb@mail.gmail.com> References: <4135e3e50902281316p6d1753e2yb1bad7da74b4bbfb@mail.gmail.com> Message-ID: <49A9F9EA.1010804@gmail.com> Sean Sieger wrote: > Can you tell me what to do to remove the > symlinks? I started out with a clean /usr/local/bin directory as this was a fresh installation on a new system. The same applied to /usr/local/man/man{1|5}and to /usr/local/info. Therefore, I emptied all four directories using the dreaded sudo rm -f * and set up the environment variables in ~/.bashrc. If you have stuff in the /usr/local/{bin,man,info} trees, you might need to use file timestamps to filter out and remove only those symlinks put in by the TeXLive installation. I would suggest using find to filter the wanted files using timestamp, name, or some other criterion, and then deleting those files. For example, find . -mtime +1 -exec rm {} \; will delete all files that have a timestamp older than 24 h from now. You could use find . -mtime +1 to check that the filtered files are indeed those you wish to delete and then use rm -f to do it non-interactively. Above all, please double check before invoking rm :-) HTH. Chandra From metricspace at gmail.com Sun Mar 1 14:16:58 2009 From: metricspace at gmail.com (Metric) Date: Sun, 1 Mar 2009 18:46:58 +0530 Subject: [texhax] LaTeX Work Message-ID: Hi, My name is Arif, and like most of the LaTeX user, I've learned LaTeX myself. We all know the flexibility with which we can typeset our document in LaTeX and I'm really impressed with it as most of it's users are. *I 'm looking for getting some work to typeset in LaTeX, this would allow me to further increase my knowledge at same time earn some money which would be really helpful for me. * ** ** So can some provide me an idea to get freelancing job in LaTeX or can provide me such job(s). I understand that I've an intermediate knowledge of LaTeX and will be able to typeset most of the documents. *I'm from India, so low cost would also be an advantage for the firm that would outsource the job, rest assured quality won't be comprised.* *Please, Please assist* Desperately awaiting your reply, Thank you, Arif metricspace at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090301/f3ff5566/attachment.html From tjm1983 at gmail.com Sun Mar 1 22:40:34 2009 From: tjm1983 at gmail.com (Tim McKenzie) Date: Mon, 2 Mar 2009 10:40:34 +1300 Subject: [texhax] \binom In-Reply-To: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <200903021040.37328.tjm1983@gmail.com> On Monday 02 March 2009 08:25:28 P. R. Stanley wrote: > Hi > What does it do? What do you get when you compile $\binom{3}{4}$ in a > document? Thanks > Paul It sets a 3 above a 4 and encloses them both in a single pair of sufficiently tall parentheses. The 3 and the 4 are the same size as each other. You probably already know what it denotes, but just in case you don't, here's one way to describe it: $\binom{n}{r}$ denotes the coefficient of $x^r y^{n-r}$ in the expansion of $(x + y)^n$. Tim <>< -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. Url : http://tug.org/pipermail/texhax/attachments/20090302/73454c31/attachment.bin From reinhard.kotucha at web.de Sun Mar 1 22:43:03 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 1 Mar 2009 22:43:03 +0100 Subject: [texhax] Do not symlink when installing TeXLive 2008 on K/Ubuntu Intrepid or Debian systems In-Reply-To: <20090228224902.3fed38e0.padawan12@obiwannabe.co.uk> References: <4135e3e50902281316p6d1753e2yb1bad7da74b4bbfb@mail.gmail.com> <20090228224902.3fed38e0.padawan12@obiwannabe.co.uk> Message-ID: <18859.359.273460.270049@zaphod.ms25.net> On 28 February 2009 Andy Farnell wrote: > On Sat, 28 Feb 2009 16:16:05 -0500 > Sean Sieger wrote: > > > And do I export paths in both .profile and .bashrc? > > .profile is used when you log in, .bashrc is exectuted > if another bash shell is started. Usually both are run when > you login. Having paths redundantly added in both > will cause no harm. Having it only in .profile may > not work if you log in as someone else. Having it in > .bashrc would fail if you used a different shell. > So, simple answer, it doesn't hurt to use both, but > technically only one will suffice. On my system ~/.profile executes ~/.bashrc. This seems to be more sensible than to duplicate things. To achieve this, add a line source ~/.bashrc or . ~/.bashrc to your ~/.profile if it doesn't exist already. Both variants are equivalent. But you need "source" (or ".") because otherwise all settings done in ~/.bashrc exist only while .bashrc is running. 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 tsc25 at cantab.net Sun Mar 1 21:43:56 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Sun, 01 Mar 2009 21:43:56 +0100 Subject: [texhax] problems with circumflex In-Reply-To: <5.1.0.14.0.20090301120254.0264bbc0@pop3.web.de> References: <49A8F27E.8000102@gmx.de> <49A8F27E.8000102@gmx.de> <5.1.0.14.0.20090301120254.0264bbc0@pop3.web.de> Message-ID: <49AAF38C.7000108@dr-qubit.org> Uwe L?ck wrote: > At 02:53 01.03.09, Tim McKenzie wrote: >> On Saturday 28 February 2009 21:14:54 Benjamin Sambale wrote: >> I've heard about a package called fouridx that might help you solve this >> problem, but I haven't tried it. There's also the "tensor" package. Though it could be that it's equivalent to fouridx or \sideset. Maybe worth a look. Toby From toms at ncifcrf.gov Sun Mar 1 22:46:47 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sun, 1 Mar 2009 16:46:47 -0500 (EST) Subject: [texhax] Do not symlink when installing TeXLive 2008 on K/Ubuntu Intrepid or Debian systems In-Reply-To: <49A9F9EA.1010804@gmail.com> from R at "Mar 1, 2009 11:58:50 am" Message-ID: <200903012146.n21LkldN005272@strawberry.ncifcrf.gov> Sean: > sudo rm -f * Oh my. These days I tend to do this: sudo mv * /tmp Then if I've messed up, I can recover. If it's ok, the files get deleted at the next reboot. 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/ From prstanley at ntlworld.com Sun Mar 1 22:47:53 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 21:47:53 +0000 Subject: [texhax] \binom In-Reply-To: <200903021040.37328.tjm1983@gmail.com> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> Message-ID: <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> An excellent answer! That's exactly the sort of info I'm after! Cheers, Paul > Hi > > What does it do? What do you get when you compile $\binom{3}{4}$ in a > > document? Thanks > > Paul > >It sets a 3 above a 4 and encloses them both in a single pair of sufficiently >tall parentheses. The 3 and the 4 are the same size as each other. You >probably already know what it denotes, but just in case you don't, here's one >way to describe it: $\binom{n}{r}$ denotes the coefficient of $x^r >y^{n-r}$ in >the expansion of $(x + y)^n$. > >Tim ><>< > From prstanley at ntlworld.com Sun Mar 1 23:00:06 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Mar 2009 22:00:06 +0000 Subject: [texhax] Fwd: Re: \binom Message-ID: <20090301215952.SXGG21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> >From: >Subject: Re: [texhax] \binom >To: "P. R. Stanley" >X-Mailer: Mirapoint Webmail Direct 3.8.7a >Date: Sun, 1 Mar 2009 16:52:21 -0500 (EST) >X-Cloudmark-Analysis: v=1.0 c=1 a=NLZqzBF-AAAA:8 a=gFr3Haj0AAAA:8 >a=zGonOCTBAAAA:8 a=O3cTuNJhKD4USdkQHyUA:9 a=RJ_1JGKLZ0Ip0K50avgA:7 >a=K-oqshqWjj_SZGnm5FWqO0TlJo8A:4 a=7mayv77iRtYA:10 a=_dQi-Dcv4p4A:10 >a=aUH7cXBPaf4A:10 > >You could always try it and see . . . > >--Chris Ryan > >---- Original message ---- > >Date: Sun, 01 Mar 2009 19:25:28 +0000 > >From: "P. R. Stanley" > >Subject: [texhax] \binom > >To: texhax at tug.org > > > >Hi > >What does it do? What do you get when you compile $\binom{3}{4}$ > in a document? > >Thanks > >Paul > > > >_______________________________________________ > >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 r.turner at auckland.ac.nz Sun Mar 1 23:21:27 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Mon, 2 Mar 2009 11:21:27 +1300 Subject: [texhax] \binom In-Reply-To: <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> On 2/03/2009, at 10:47 AM, P. R. Stanley wrote: > An excellent answer! That's exactly the sort of info I'm after! > Cheers, > Paul > >> Hi >>> What does it do? What do you get when you compile $\binom{3}{4}$ >>> in a >>> document? Thanks >>> Paul >> >> It sets a 3 above a 4 and encloses them both in a single pair of >> sufficiently >> tall parentheses. The 3 and the 4 are the same size as each other. >> You >> probably already know what it denotes, but just in case you don't, >> here's one >> way to describe it: $\binom{n}{r}$ denotes the coefficient of $x^r >> y^{n-r}$ in >> the expansion of $(x + y)^n$. There's a wee problem in that \binom{3}{4} would denote the coefficient of x^4 y^{-1} in the expansion of (x + y)^3 --- and there isn't one. As far as I can discern there is no way to make \binom{3}{4} meaningful, since Gamma(0) is undefined. Now \binom{4}{3} --- that's a different story! :-) 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 c.a.rowley at open.ac.uk Sun Mar 1 23:55:54 2009 From: c.a.rowley at open.ac.uk (c.a.rowley at open.ac.uk) Date: Sun, 1 Mar 2009 22:55:54 +0000 Subject: [texhax] \binom In-Reply-To: <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com>, <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> Message-ID: >> There's a wee problem in that \binom{3}{4} would denote That rather assumes the 'standard formatting' of this bit of TeX. There is no definition of what mathematical expression any bit of TeX 'denotes'. There are some common conventions and these are built into many non-TeX applications (see last week's quiz for an example). By contrast, TeX itself allows a package-writer to make any character or macro produce any formatting she likes. It seems highly likely to me that there are LaTeX packages that make the formatted output of \binom very different from the US (AMS) standard that was described on this list. These would be needed for high school maths in many European countries (different for different traditions/countries). Note also the moral that just because a bit of maths notation looks convincing, it can easily be mathematical garbage. Summary: 1. reading the TeX (or equally the formatted output) can at best only give a hint to the knowledgable concerning its 'mathematical meaning'. 2. the power of the LaTeX approach is that reading the TeX often tells you little about the deatiled visual appearance of the formatted output. chris --------------------------------------------------------------------------- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302) From jwheeler at ucsd.edu Mon Mar 2 06:59:16 2009 From: jwheeler at ucsd.edu (John Wheeler) Date: Sun, 01 Mar 2009 21:59:16 -0800 Subject: [texhax] \binom In-Reply-To: <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> Message-ID: <49AB75B4.5070104@ucsd.edu> Actually, there's not a problem here, since 1/Gamma(0) = 0 and 1/Gamma(n) = 0 for any negative integer n. As a consequence, \binom{3}{4} = 3!/(4!(-1)!) = Gamma(4)/[Gamma(5)Gamma(0)] = 0, which is the correct answer for the coefficient of x^4y^{-1} in (x+y)^3. Alternatively, the binomial coefficient represented by \binom{n}{m} is defined as zero whenever the integer m is greater than the integer n. Admittedly, the example \binom{4}{3} would have been less likely to lead to confusion. John Wheeler Rolf Turner wrote: > On 2/03/2009, at 10:47 AM, P. R. Stanley wrote: > > >> An excellent answer! That's exactly the sort of info I'm after! >> Cheers, >> Paul >> >> >>> Hi >>> >>>> What does it do? What do you get when you compile $\binom{3}{4}$ >>>> in a >>>> document? Thanks >>>> Paul >>>> >>> It sets a 3 above a 4 and encloses them both in a single pair of >>> sufficiently >>> tall parentheses. The 3 and the 4 are the same size as each other. >>> You >>> probably already know what it denotes, but just in case you don't, >>> here's one >>> way to describe it: $\binom{n}{r}$ denotes the coefficient of $x^r >>> y^{n-r}$ in >>> the expansion of $(x + y)^n$. >>> > > There's a wee problem in that \binom{3}{4} would denote the > coefficient of > x^4 y^{-1} in the expansion of (x + y)^3 --- and there isn't one. > > As far as I can discern there is no way to make \binom{3}{4} > meaningful, since > Gamma(0) is undefined. > > Now \binom{4}{3} --- that's a different story! :-) > > 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 > From yannis.haralambous at telecom-bretagne.eu Mon Mar 2 09:09:02 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Mon, 2 Mar 2009 09:09:02 +0100 Subject: [texhax] \binom In-Reply-To: References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com>, <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> Message-ID: What puzzled me when I started using TeX in the early eighties, were the commands \cup and \cap (symbols I called "union" and "intersection"); everytime I used them I had to spend a few seconds visualizing in my mind a cup (= coupe) and a cap (= chapeau) to figure out which one I should choose. I could never use them naturally... Are they called like that in oral mathematics in the Anglosaxon world? On the other hand, I had no difficulties in learning \hat because in French we also say "chapeau" for the circumflex (in mathematics). Le 1 mars 09 ? 23:55, C.A.Rowley at open.ac.uk a ?crit : > There is no definition of what mathematical expression any bit of TeX > 'denotes'. -- + -----------------------------------------------------------------------+ | 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/20090302/5148a411/attachment.bin -------------- next part -------------- From daleif at imf.au.dk Mon Mar 2 10:02:46 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Mon, 02 Mar 2009 10:02:46 +0100 Subject: [texhax] \binom In-Reply-To: References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com>, <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> Message-ID: <49ABA0B6.7080204@imf.au.dk> Yannis Haralambous wrote: > What puzzled me when I started using TeX in the early eighties, were the > commands \cup and \cap (symbols I called "union" and "intersection"); > everytime I used them I had to spend a few seconds visualizing in my > mind a cup (= coupe) and a cap (= chapeau) to figure out which one I > should choose. I could never use them naturally... Are they called like > that in oral mathematics in the Anglosaxon world? > > On the other hand, I had no difficulties in learning \hat because in > French we also say "chapeau" for the circumflex (in mathematics). > this is one of the reasons why I recommend our users to add their own macro names for various symbols, e.g. \isomorph for \cong, if \cong is used to denote isomorphisms in their field. That way the code becomes a lot more readable. -- /daleif From yannis.haralambous at telecom-bretagne.eu Mon Mar 2 11:09:04 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Mon, 2 Mar 2009 11:09:04 +0100 Subject: [texhax] \binom In-Reply-To: <49ABA0B6.7080204@imf.au.dk> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com>, <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> <49ABA0B6.7080204@imf.au.dk> Message-ID: <4B44F3B0-B7B8-454A-B6A8-371570B30AA9@telecom-bretagne.eu> Part of my job is to process papers for a well-known Mathematical Society, and I'm talking of several thousand pages per year. In this context, personalized macros are a FELONY, a HEADACHE, a CURSE... 1) First of all, often they are bad, one has to read and correct them (for example, people will use \rm instead of \mathrm, \matrix instead of the matrix environment, eqnarray instead of align, etc. not to mention people who want to manually insert spaces about everywhere) 2) secondly, their names will often conflict with other commands I need (and we don't have namespaces yet in LaTeX), and the effects will sometimes be very subtle (this is also a bit mea culpa since I will rather use \def than \newcommand) 3) thirdly, they will always appear in places they shouldn't: abstracts, bibliographical references, section names, and the like. These pieces of information are needed when compiling data outside the scope of individual articles, and macro definitions do not accompany them... So please do not encourage people to use their own macros. I would rather appreciate institutions (LUGs, Mathematical societies, Faculties) to prepare standard styles with alternative names for macros, it will always be better than empirical impulsive "100% personal" macros... Le 2 mars 09 ? 10:02, Lars Madsen a ?crit : > this is one of the reasons why I recommend our users to add their own > macro names for various symbols, e.g. \isomorph for \cong, if \cong is > used to denote isomorphisms in their field. That way the code > becomes a > lot more readable. -- + -----------------------------------------------------------------------+ | 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/20090302/a2dab607/attachment-0001.bin -------------- next part -------------- From philip.ratcliffe at uninsubria.it Mon Mar 2 11:20:18 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Mon, 2 Mar 2009 11:20:18 +0100 Subject: [texhax] \ldots v. \cdots In-Reply-To: <49AA8650.4080506@imf.au.dk> Message-ID: > P. R. Stanley wrote: > > Hi > > I've come across both \ldots and \cdots in typesetting > series in \sum > > -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? > > Thanks > > Paul > > > > > in most cases I use \dots, not \ldots nor \cdots, \dots has > the advance > that it looks at the item following it, so \dots, => \ldots, > and \dots+ > => \cdots+, then the only thing you need to worry about the are > situations where the dots come last. > > BTW: someone talked about a fourdots macro, doesn't four dots > at the end > of a sentence look odd? I usually see three dots at the end of a > sentence in the same way as a dot, i.e. end of sentence, no > need to an > extra dot. ndeed, I think this depends on which side of the pond you happen to be writing: all American sources appear to suggest a four-dot version. However, at schoold in England I was taught never to use four dots; this page http://publications.europa.eu/code/en/en-4100100en.htm and, I believe, the Oxford Guide to Style suggest the same. Cheers, Phil From chandra at ee.uwa.edu.au Mon Mar 2 11:47:03 2009 From: chandra at ee.uwa.edu.au (R (Chandra) Chandrasekhar) Date: Mon, 02 Mar 2009 19:47:03 +0900 Subject: [texhax] [tex-live] Do not symlink when installing TeXLive 2008 on K/Ubuntu Intrepid or Debian systems In-Reply-To: <20090301190824.GV6006@gamma.logic.tuwien.ac.at> References: <49A96298.50408@ee.uwa.edu.au> <20090301190824.GV6006@gamma.logic.tuwien.ac.at> Message-ID: <49ABB927.2060001@ee.uwa.edu.au> Norbert Preining wrote: > Can you give me examples of packages NOT working correctly? because the > texinfo GNU install-info should be new enough in TL2008 to deal with > many packages. > > Examples please ... best would be only the postinst code that calls the > install-info ... Thanks The packages were related to my installation of the prevu package. Specifically, the gettext and wdiff packages were involved and the error message when I attempted removal of the not-fully installed packages was: ---- 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up gettext (0.17-3ubuntu2) ... install-info: No dir file specified; try --help for more information. dpkg: error processing gettext (--configure): subprocess post-installation script returned error exit status 1 Setting up wdiff (0.5-18) ... install-info: No dir file specified; try --help for more information. dpkg: error processing wdiff (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: gettext wdiff E: Sub-process /usr/bin/dpkg returned an error code (1) ---- There were several other packages in the list when the first error message was displayed during installation, but since they could all be removed except for these two, and I did not note their names down. Chandra From mdoob at ccu.umanitoba.ca Mon Mar 2 15:44:00 2009 From: mdoob at ccu.umanitoba.ca (Michael Doob) Date: Mon, 2 Mar 2009 08:44:00 -0600 Subject: [texhax] And whilst we're at it In-Reply-To: References: <20090301152600.XPLE2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <200903020844.23851.mdoob@ccu.umanitoba.ca> On Sunday 01 March 2009 11:49 am, c.a.rowley at open.ac.uk wrote: > However, whilst the following is correct: > between \textit and \emph?" And the answer is that while \textit switch the What is the difference between while and whilst? Cheers, Michael -- ------------------------------------------------------------------ Michael Doob ? ? ? ? ? ? ? ? ? ?Telephone: (204) 474-9796 Department of Mathematics ? ? ? Fax: (204) 474-7606 University of Manitoba ? ? ? ? ?email: Michael_Doob at umanitoba.ca Winnipeg, MB, Canada R3T 2N2 ------------------------------------------------------------------ From joseph.wright at morningstar2.co.uk Mon Mar 2 14:50:08 2009 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Mon, 02 Mar 2009 13:50:08 +0000 Subject: [texhax] \binom In-Reply-To: <4B44F3B0-B7B8-454A-B6A8-371570B30AA9@telecom-bretagne.eu> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com>, <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> <49ABA0B6.7080204@imf.au.dk> <4B44F3B0-B7B8-454A-B6A8-371570B30AA9@telecom-bretagne.eu> Message-ID: <49ABE410.5080205@morningstar2.co.uk> Yannis Haralambous wrote: > Part of my job is to process papers for a well-known Mathematical > Society, and I'm talking of several thousand pages per year. > > In this context, personalized macros are a FELONY, a HEADACHE, a CURSE... [snip] > 2) secondly, their names will often conflict with other commands I need > (and we don't have namespaces yet in LaTeX), and the effects will > sometimes be very subtle (this is also a bit mea culpa since I will > rather use \def than \newcommand) In the context of some discussions about how LaTeX3 might provide some kind of namespace protection, I wonder what you think would be useful. It's easy to make suggestions, but I'd be interested to know how people who have to deal with documents arriving from varied sources see this. -- Joseph Wright From adityam at umich.edu Mon Mar 2 17:52:29 2009 From: adityam at umich.edu (Aditya Mahajan) Date: Mon, 2 Mar 2009 11:52:29 -0500 (EST) Subject: [texhax] \binom In-Reply-To: <4B44F3B0-B7B8-454A-B6A8-371570B30AA9@telecom-bretagne.eu> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com>, <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> <49ABA0B6.7080204@imf.au.dk> <4B44F3B0-B7B8-454A-B6A8-371570B30AA9@telecom-bretagne.eu> Message-ID: On Mon, 2 Mar 2009, Yannis Haralambous wrote: > Part of my job is to process papers for a well-known Mathematical Society, > and I'm talking of several thousand pages per year. > > In this context, personalized macros are a FELONY, a HEADACHE, a CURSE... > > 1) First of all, often they are bad, one has to read and correct them (for > example, people will use \rm instead of \mathrm, \matrix instead of the > matrix environment, eqnarray instead of align, etc. not to mention people who > want to manually insert spaces about everywhere) > > 2) secondly, their names will often conflict with other commands I need (and > we don't have namespaces yet in LaTeX), and the effects will sometimes be > very subtle (this is also a bit mea culpa since I will rather use \def than > \newcommand) > > 3) thirdly, they will always appear in places they shouldn't: abstracts, > bibliographical references, section names, and the like. These pieces of > information are needed when compiling data outside the scope of individual > articles, and macro definitions do not accompany them... > > So please do not encourage people to use their own macros. I would rather > appreciate institutions (LUGs, Mathematical societies, Faculties) to prepare > standard styles with alternative names for macros, it will always be better > than empirical impulsive "100% personal" macros... As an author, I want to use logical high-level markup. This is one of the biggest advantages of TeX. I believe that we should encourage people to use logical macros. Ask them to write \EXP{\frac {1}{n} \sum_{i=1}^n X_i | Y} rather than \mathop{\mathbf{E}} \left{ \frac {1}{n} \sum_{i=1}^n X_i \,\middle|\, Y \right} Use logical macros rather than explicit font switches (mathcal, mathsrc, mathds, or mathfrak), etc. I understand your concerns, but I do not think that discouraging people to write their own macros helps. Take the case of someone using \rm instead of \mathrm in their macros. To give a concerete example, suppose someone uses \newcommand{diff}{{\rm diff}} and then types f_{\diff} in the the text. Suppose the journal style asks not to use personal macros. In that case, the author will use f_{\rm diff} in the text. That does not really solve your problem, does it? What is needed are good tutorials explaining people how to write good macros (programming in tex is hard, but most macros do not really do anything fancy). Clashes in macro names can also be easily avoided. Ask authors to use uppercase names for their macros and do not define any macro which is less than 3 letters. This elimates most potential clashes with existing classes and styles. Use editor macros to save typing; TeX macros should be verbose. As an institutional publisher, you can also use a personal namespace while defining your macros. For example, IEEEtran uses macros like \IEEEsomething for many (all?) of its macros. This helps in avoilding clashes with users' macros. Regarding not using macros in abstracts etc., the submission guidelines should state clearly what is allowed and what is not. Depending on how you want to post-process the abstract and section head information, either say that no LaTeX markup is allowed, or give a list of marcos that are allowed (or the list of classes and styles whole macros can be used). The above solutions are not perfect, but trying to avoid problems by asking people not to use logical markup is wrong. I agree that there should be packages that encourage logical markup (e.g, the mlist package by Will Robertson) and guidelines for user macros. But remeber, that such packages are written by users. If you discourage them to write macros, they will never clean up their macros and write a package. Aditya From yannis.haralambous at telecom-bretagne.eu Mon Mar 2 18:36:58 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Mon, 2 Mar 2009 18:36:58 +0100 Subject: [texhax] \binom In-Reply-To: <49ABE410.5080205@morningstar2.co.uk> References: <20090301192529.QEP2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <200903021040.37328.tjm1983@gmail.com> <20090301214746.SUGE21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com>, <1C14F9BB-693E-47FE-BD92-1C3B5464C0E6@auckland.ac.nz> <49ABA0B6.7080204@imf.au.dk> <4B44F3B0-B7B8-454A-B6A8-371570B30AA9@telecom-bretagne.eu> <49ABE410.5080205@morningstar2.co.uk> Message-ID: <899833AC-985C-45A6-8342-E0D3D96FA0BC@telecom-bretagne.eu> Le 2 mars 09 ? 14:50, Joseph Wright a ?crit : > In the context of some discussions about how LaTeX3 might provide some > kind of namespace protection, I wonder what you think would be useful. > It's easy to make suggestions, but I'd be interested to know how > people > who have to deal with documents arriving from varied sources see this. Well, beamer uses notation for layers, one could some different notation for namespace prefixes, for example : as in XML. If we use the XML paradigm, LaTeX packages would define name space strings and prefixes, and macros belonging to a given package would use that prefix. Author Dupont would use xmlns:dup="http://www.unauteurstupide.com/nicolas/dupont " (I use XML notation here) and if he defines a macro \diff, one could write \diff (ambiguous) or \dup:diff (macro \diff belonging to the namespace whose prefix is dup) As editor of papers I would then provide a name space to the author's personal macros (if they don't have one already) and this would protect my macros from his. > The above solutions are not perfect, but trying to avoid problems by > asking people not to use logical markup is wrong. Right and wrong depend on your viewpoint. From the viewpoint of having elegantly and clearly written documents, you are right. From the viewpoint of having less work to do when processing TeX code for making it to fit into a given journal, you are wrong. So all depends on what you are going to do with that code. Imagine we apply a method to convert all of our LaTeX code into something even more logical, for example XML+MathML with logically marked up formulas and RDF triples using standard ontologies. What would be easier to process? Logical LaTeX markup, but different for every user, or more presentation- oriented LaTeX code, but using only standard LaTeX macros? I think that it would be the second. But maybe I'm wrong. > If you discourage them to write macros, > they will never clean up their macros and write a package. I'm not talking about very specific stuff which would eventually result in a package. For example, when I have an author who has written code for some new system of notation of mathematics (Feynman diagrams or Petri networks or the like), I'm certainly glad if he has written as many and as complete macros as possible. I'm talking about ordinary stuff: symbols, operators, expressions which occur often in a document, etc. You can't imagine how many ways mathematicians have found to write \mathbb{R} or \mathfrak{G}... Some of them will even start by manually loading the fonts, some still use I \!\!R for \mathbb{R} ... Even if these people end up writing a package, it will probably be a bad package... ;-) My suggestion is: if \cup and \cap are unclear in a French context, let GUTenberg define \union and \intersection, and make that part of frenchb.sty, and ask people to use it. But don't necessarily encourage them to write their own macros -- + -----------------------------------------------------------------------+ | 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/20090302/fc5d485d/attachment.bin -------------- next part -------------- From pierre.mackay at comcast.net Mon Mar 2 19:30:07 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Mon, 02 Mar 2009 10:30:07 -0800 Subject: [texhax] \ldots v. \cdots In-Reply-To: References: Message-ID: <49AC25AF.9070204@comcast.net> >Indeed, I think this depends on which side of the pond you happen to be >writing: all American sources appear to suggest a four-dot version. >However, at schoold in England I was taught never to use four dots; this >page >http://publications.europa.eu/code/en/en-4100100en.htm >and, I believe, the Oxford Guide to Style suggest the same. > >Cheers, Phil > > > So that explains it. This is one instance where Unicode fonts do not usually help much, because the normal ellipsis character in the General Punctuation page looks very bad with regular type. It is much too tight. It looks even worse, of course when a three-dot ellipsis is either preceded or followed by a full stop. The house style I set for is fairly firm about the four-dot ellipsis for sentence end, and the ellipsis abuts the text immediately, with no interword space. I set a four-language journal (potentially five, since Latin is recognized, although never used) and these national considerations can be quite fascinating. Em-dash with or without interword spaces, for instance and, even more odd to a north American eye, em-dash followed by interword space and punctuation. Pierre MacKay From philip.ratcliffe at fastwebnet.it Mon Mar 2 23:26:21 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Mon, 2 Mar 2009 23:26:21 +0100 Subject: [texhax] And whilst we're at it In-Reply-To: <200903020844.23851.mdoob@ccu.umanitoba.ca> Message-ID: > > However, whilst the following is correct: > > > between \textit and \emph?" And the answer is that while \textit > > switch the > > What is the difference between while and whilst? Similarly to "amidst/amid" and "amongst/among", there is no difference as such. >From Wikipedia: Whilst is synonymous with while in standard British English and Australian English; in American English and Canadian English, it can be considered pretentious or archaic. Whilst is chiefly used in British English and Australian English. Whilst is synonymous with while in standard English, although to many it sounds slightly old-fashioned, and is rare or archaic. In their style guides, some modern publications on both sides of the Atlantic disapprove of its use (along with "amidst" and "amongst"), for example: * Times Online Style Guide: "while (not whilst)" * Guardian Style Guide: "while not whilst" * Hansard: the Canadian Parliament record: "while not whilst" Cheers, Phli From c.a.rowley at open.ac.uk Tue Mar 3 00:03:19 2009 From: c.a.rowley at open.ac.uk (c.a.rowley at open.ac.uk) Date: Mon, 2 Mar 2009 23:03:19 +0000 Subject: [texhax] And whilst we're at it In-Reply-To: References: Message-ID: >> Guardian Style An oxymoron, surely! >> pretentious or archaic. Sums me up beautifully! Cheers, chris --------------------------------------------------------------------------- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302) From r.turner at auckland.ac.nz Tue Mar 3 00:18:03 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Tue, 3 Mar 2009 12:18:03 +1300 Subject: [texhax] Wrong latex getting used. Message-ID: <61EAA861-282D-4BC3-A637-B7931E20A55A@auckland.ac.nz> This is really more a problem with Mac OS X than with latex, ... But I don't know where else to turn and this list is usually very helpful. Said he hopefully. Recently I unwisely did a re-install of LaTex on my Imac --- using, I *think* ``sudo fink install latex''. Can't even remember why I did this. :-( Ever since, things that used to work now don't. This morning I tried to process a powerdot presentation to which I had made some slight adjustments, and got errors in respect of xkeyval --- it complained that I had requested a newer version of xkeyval than was available, and then threw an error about an undefined control sequence. I can give further details if these are relevant, but I don't think so. Upon investigation I found that the xkeyval package in /sw/share/texmf-dist/tex/latex was indeed out of date, and the latex that gets used is in /sw/bin. But there is a perfectly up-to-date xkeyval in /usr/local/texlive/2008/texmf-dist/tex/latex which seems to be what is pointed to by the symbolic links inside /Library/TeX/Distributions I would have thought that this last would be what would get used by latex by default under Mac OSX (I must confess that I really don't understand the convolutions that Mac OSX superimposes upon Unix) but it seems not. As I said above, /sw/bin/latex seems to get used and this seems to draw upon the out-of-date stuff in /sw/share/texmf-dist/tex/latex. There is a /usr/texbin that appears automagically in my path, and this seems to point at the right thing. I tried setting my path explicitly in my .cshrc file, putting /usr/texbin ahead of /sw/bin. But blow me down, when I echo my path afterwards, /sw/bin and /sw/sbin are always the first two entries in the path, no matter what I tell it. (I *hate* it when computers refuse to do what you tell them!) And the wrong latex still gets used. How can I get the /sw/bin/latex out of the way? Does anyone out there understand Mac OSX enough to help me? Thanks. 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 joelcsalomon at gmail.com Tue Mar 3 00:42:39 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Mon, 02 Mar 2009 18:42:39 -0500 Subject: [texhax] \ldots v. \cdots In-Reply-To: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <49AC6EEF.9070409@gmail.com> On Sat, Feb 28, 2009 at 8:09 PM, P. R. Stanley wrote: > I've come across both \ldots and \cdots in typesetting series in \sum > -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? The effect you want is 0 + 1 + 2 + 3 + ? + n, % \cdots the partial sums of which are 0, 1, 3, 6, ?, ????????. % \ldots (Using the Unicode equivalent characters.) ?Joel Salomon From axel.retif at mac.com Tue Mar 3 03:25:48 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Mon, 02 Mar 2009 20:25:48 -0600 Subject: [texhax] Wrong latex getting used. In-Reply-To: <61EAA861-282D-4BC3-A637-B7931E20A55A@auckland.ac.nz> References: <61EAA861-282D-4BC3-A637-B7931E20A55A@auckland.ac.nz> Message-ID: <1A440C78-5DA8-4C22-B43B-E800D69617F5@mac.com> Rolf, I'm ccing your message below to Richard Koch, MacTeX maintainer. (By the way, I would advise you to subscribe to the Mac OS X TeX mailing list: http://email.esm.psu.edu/mailman/listinfo/macosx-tex ) MacTeX installs a control panel in System Preferences, called TeX distribution, that lets you shift from one TeX distribution to another with just a mouse click; for example, you can have TeXLive-2007, TeXLive-2008, gwTeX, Fink's teTeX and MacPorts TeX, and choose which one you want to use at any time. So check the control panel, and see which distribution is selected in it. If that doesn't work. You can do three things: 1) reinstall MacTeX so it again takes control of your distributions; 2) tell Fink to uninstall teTeX (but that would be a problem if you have Fink's packages that depend on it); or 3) comment out momentarily the Fink line ( . /sw/bin/init.sh in .bashrc, and something similar in .cshrc), logout ---or restart your computer--- and see if your system now recognizes TeXLive as your valid distribution. Best, Axel On 2 Mar, 2009, at 17:18, Rolf Turner wrote: > This is really more a problem with Mac OS X than with latex, ... > But I don't know where else to turn and this list is usually very > helpful. Said he hopefully. > > Recently I unwisely did a re-install of LaTex on my Imac --- using, > I *think* ``sudo fink install latex''. Can't even remember why I > did this. :-( > > Ever since, things that used to work now don't. > > This morning I tried to process a powerdot presentation to which > I had made some slight adjustments, and got errors in respect of > xkeyval --- it complained that I had requested a newer version > of xkeyval than was available, and then threw an error about > an undefined control sequence. I can give further details if > these are relevant, but I don't think so. > > Upon investigation I found that the xkeyval package in > > /sw/share/texmf-dist/tex/latex > > was indeed out of date, and the latex that gets used is in > /sw/bin. But there is a perfectly up-to-date xkeyval in > > /usr/local/texlive/2008/texmf-dist/tex/latex > > which seems to be what is pointed to by the symbolic links inside > > /Library/TeX/Distributions > > I would have thought that this last would be what would get used > by latex by default under Mac OSX (I must confess that I really > don't understand the convolutions that Mac OSX superimposes upon > Unix) but it seems not. As I said above, /sw/bin/latex seems to > get used and this seems to draw upon the out-of-date stuff in > /sw/share/texmf-dist/tex/latex. > > There is a /usr/texbin that appears automagically in my path, > and this seems to point at the right thing. I tried setting > my path explicitly in my .cshrc file, putting /usr/texbin ahead > of /sw/bin. But blow me down, when I echo my path afterwards, > /sw/bin and /sw/sbin are always the first two entries in the > path, no matter what I tell it. (I *hate* it when computers refuse > to do what you tell them!) And the wrong latex still gets > used. > > How can I get the /sw/bin/latex out of the way? Does anyone out there > understand Mac OSX enough to help me? > > Thanks. > > 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 r.turner at auckland.ac.nz Tue Mar 3 04:30:40 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Tue, 3 Mar 2009 16:30:40 +1300 Subject: [texhax] Wrong latex getting used. In-Reply-To: <1A440C78-5DA8-4C22-B43B-E800D69617F5@mac.com> References: <61EAA861-282D-4BC3-A637-B7931E20A55A@auckland.ac.nz> <1A440C78-5DA8-4C22-B43B-E800D69617F5@mac.com> Message-ID: <8B78E96D-46E7-4FAE-8FC0-F987E499A7BC@auckland.ac.nz> Thanks very much for your message. I think you've solved my problem, at least at the initial level. See below. On 3/03/2009, at 3:25 PM, Axel E. Retif wrote: > Rolf, > > I'm ccing your message below to Richard Koch, MacTeX maintainer. > > (By the way, I would advise you to subscribe to the Mac OS X TeX > mailing list: > > http://email.esm.psu.edu/mailman/listinfo/macosx-tex ) Someone else already tendered the same advice, and I have subscribed. > > MacTeX installs a control panel in System Preferences, called TeX > distribution, that lets you shift from one TeX distribution to another > with just a mouse click; for example, you can have TeXLive-2007, > TeXLive-2008, gwTeX, Fink's teTeX and MacPorts TeX, and choose which > one you want to use at any time. > > So check the control panel, and see which distribution is selected in > it. I checked the control panel; there were three choices: Fink-teTeX, TeXLive-2007, and TeXLive-2008. The TexLive-2008 seemed to be the active one, i.e. its button was ``high-lighted'' (had a black do in it). > If that doesn't work. You can do three things: 1) reinstall MacTeX so > it again takes control of your distributions; 2) tell Fink to > uninstall teTeX (but that would be a problem if you have Fink's > packages that depend on it); or 3) comment out momentarily the Fink > line ( . /sw/bin/init.sh in .bashrc, and something similar in .cshrc), Nya-ha! That's where the refusal to set my path to what I want is coming from. I should've noticed that; it was right before my eyes. Bit of a ``duhhhh'' on my part. > logout ---or restart your computer--- and see if your system now > recognizes TeXLive as your valid distribution. I commented out the ``source /sw/bin/init.sh" line in my .cshrc file sourced .cshrc, and then did ``latex junk''. Bingo! It ran; no error thrown. (And of course my path was as I had specified it.) So I've got a workaround at least. Seems a wee bit jerry-built to jigger around with the path like that, but. Am I running into any dangers that way? Thanks for your 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 chandra at ee.uwa.edu.au Tue Mar 3 06:18:52 2009 From: chandra at ee.uwa.edu.au (R (Chandra) Chandrasekhar) Date: Tue, 03 Mar 2009 14:18:52 +0900 Subject: [texhax] Do not symlink when installing TeXLive 2008 on K/Ubuntu Intrepid or Debian systems In-Reply-To: <200903012146.n21LkldN005272@strawberry.ncifcrf.gov> References: <200903012146.n21LkldN005272@strawberry.ncifcrf.gov> Message-ID: <49ACBDBC.4060109@ee.uwa.edu.au> Tom Schneider wrote: > Oh my. These days I tend to do this: > > sudo mv * /tmp > > Then if I've messed up, I can recover. > > If it's ok, the files get deleted at the next reboot. Thanks for this gem of a suggestion :-) Chandra From axel.retif at mac.com Tue Mar 3 07:20:03 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 03 Mar 2009 00:20:03 -0600 Subject: [texhax] Wrong latex getting used. In-Reply-To: <8B78E96D-46E7-4FAE-8FC0-F987E499A7BC@auckland.ac.nz> References: <61EAA861-282D-4BC3-A637-B7931E20A55A@auckland.ac.nz> <1A440C78-5DA8-4C22-B43B-E800D69617F5@mac.com> <8B78E96D-46E7-4FAE-8FC0-F987E499A7BC@auckland.ac.nz> Message-ID: <9EE72A63-5B80-47F4-940C-64513866B2C0@mac.com> On 2 Mar, 2009, at 21:30, Rolf Turner wrote: > Thanks very much for your message. I think you've solved my > problem, at least at the initial level. Good to hear that. [...] >> or 3) comment out momentarily the Fink line ( . /sw/bin/init.sh >> in .bashrc, and something similar in .cshrc), > > Nya-ha! That's where the refusal to set my path to what I want is > coming from. The purpose of that line is to *prepend* Fink's path. They say they have good reasons for that. > I commented out the ``source /sw/bin/init.sh" line in my .cshrc file > sourced .cshrc, and then did ``latex junk''. Bingo! [...] Seems > a wee bit jerry-built to jigger around with the path like that, > but. Am I running into any dangers that way? I don't think so ---you seem to know what you're doing. And you can change it if something doesn't work. When I used Fink ---years ago--- what I did was to erase it's path altogether and use the X11 application menu to call it's programs with something like source /sw/bin/init.sh ; texmacs & Best, Axel From Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org Tue Mar 3 11:26:11 2009 From: Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org (Philip TAYLOR) Date: Tue, 03 Mar 2009 10:26:11 +0000 Subject: [texhax] And whilst we're at it In-Reply-To: References: Message-ID: <49AD05C3.2050109@Royal-Tunbridge-Wells.Org> c.a.rowley at open.ac.uk wrote: > >>> Guardian Style > > An oxymoron, surely! > >>> pretentious or archaic. > > Sums me up beautifully! Surely not, Sir : "pretentious /and/ archaic", maybe :-) For myself, I use "while" to indicate a parallel or collateral passage of time, whilst I use "whilst" to indicate a contrast (as in this sentence). I do not know if this distinction is also made by others. ** Phil. From philip.ratcliffe at uninsubria.it Tue Mar 3 12:24:49 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Tue, 3 Mar 2009 12:24:49 +0100 Subject: [texhax] And whilst we're at it In-Reply-To: Message-ID: <86097873F73A4CBDA1AEDEECDB56F502@PGR1> > >> Guardian Style > > An oxymoron, surely! Quite! > >> pretentious or archaic. > > Sums me up beautifully! Put me in there too - I personally blame it all on those living on the other side of the pond! Cheers, Phil From philip.ratcliffe at uninsubria.it Tue Mar 3 12:30:06 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Tue, 3 Mar 2009 12:30:06 +0100 Subject: [texhax] And whilst we're at it In-Reply-To: <49AD05C3.2050109@Royal-Tunbridge-Wells.Org> Message-ID: > >>> Guardian Style > > > > An oxymoron, surely! > > > >>> pretentious or archaic. > > > > Sums me up beautifully! > > Surely not, Sir : "pretentious /and/ archaic", maybe :-) > > For myself, I use "while" to indicate a parallel or > collateral passage of time, whilst I use "whilst" to > indicate a contrast (as in this sentence). I do not > know if this distinction is also made by others. I believe this to be indeed common usage among those who wish to avail themselves of the richness of the English language whilst the rest are apparently quite happy to linguistically castrate themselves - a pity! From c.a.rowley at open.ac.uk Tue Mar 3 14:51:38 2009 From: c.a.rowley at open.ac.uk (c.a.rowley at open.ac.uk) Date: Tue, 3 Mar 2009 13:51:38 +0000 Subject: [texhax] And whilst we're at it In-Reply-To: <49AD05C3.2050109@Royal-Tunbridge-Wells.Org> References: , <49AD05C3.2050109@Royal-Tunbridge-Wells.Org> Message-ID: >> Surely not, Sir : "pretentious /and/ archaic", maybe :-) While this is definitely more correct, such logical precision would have necessitated my recalling the _Eurpoean_ notation for making a short change in a quote (now which manual is that in?) whilst construcing my pretentiously witty and archaic (but short) message. Boom boom!! >> For myself, --- implying not in stuff for others to read? Aha, here is another distractive activity or two (or three): 'if' or 'whether' in /such constructions/constructions such/ as this: I do not know if this distinction is also made by others. Enjoy! chris --------------------------------------------------------------------------- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302) From yannis.haralambous at telecom-bretagne.eu Tue Mar 3 15:09:22 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Tue, 3 Mar 2009 15:09:22 +0100 Subject: [texhax] And whilst we're at it In-Reply-To: References: , <49AD05C3.2050109@Royal-Tunbridge-Wells.Org> Message-ID: >>> For myself, > --- implying not in stuff for others to read? > > Aha, here is another distractive activity or two (or three): 'if' or > 'whether' in > /such constructions/constructions such/ as this: > > I do not know if this distinction is also made by others. > > Enjoy! chris ce forum serait-il devenu un forum d'investigations linguistico- ludiques ? oh la la, ces Anglophones !! ;-) -- + -----------------------------------------------------------------------+ | 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/20090303/202f89bc/attachment.bin -------------- next part -------------- From karl at huftis.org Tue Mar 3 10:31:09 2009 From: karl at huftis.org (Karl Ove Hufthammer) Date: Tue, 03 Mar 2009 10:31:09 +0100 Subject: [texhax] \ldots v. \cdots References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: P. R. Stanley: > I've come across both \ldots and \cdots in typesetting series in \sum > -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? I?m surprised nobody has mentioned the AMS recommendations. The document ?Short Math Guide for LaTeX? at http://www.ams.org/tex/amslatex.html says ? ? ? ? 4.6. Dots For preferred placement of ellipsis dots ? ? ? ? (raised or on-line) in various contexts there is no ? ? ? ? general consensus. It may therefore be considered a ? ? ? ? matter of taste. By using the semantically oriented ? ? ? ? commands ? ? ? ? * \dotsc for ?dots with commas? ? ? ? ? * \dotsb for ?dots with binary operators/relations? ? ? ? ? * \dotsm for ?multiplication dots? ? ? ? ? * \dotsi for ?dots with integrals? ? ? ? ? * \dotso for ?other dots? (none of the above) ? ? ? ? instead of \ldots and \cdots, you make it possible for ? ? ? ? your document to be adapted to different conventions on ? ? ? ? the fly, in case (for example) you have to submit it to ? ? ? ? a publisher who insists on following house tradition in ? ? ? ? this respect. The?default?treatment?for?the various?kinds follows American?Mathematical?Society?conventions: We?have?the?series?$A_1,A_2,\dotsc$, the?regional?sum?$A_1+A_2+\dotsb$, the?orthogonal?product?$A_1A_2\dotsm$, and?the?infinite?integral \[\int_{A_1}\int_{A_2}\dotsi\]. -- Karl Ove Hufthammer From daleif at imf.au.dk Tue Mar 3 20:21:08 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 03 Mar 2009 20:21:08 +0100 Subject: [texhax] \ldots v. \cdots In-Reply-To: References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <49AD8324.9060608@imf.au.dk> Karl Ove Hufthammer wrote: > P. R. Stanley: > >> I've come across both \ldots and \cdots in typesetting series in \sum >> -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? > > I?m surprised nobody has mentioned the AMS recommendations. The document > ?Short Math Guide for LaTeX? at http://www.ams.org/tex/amslatex.html says > > 4.6. Dots For preferred placement of ellipsis dots > (raised or on-line) in various contexts there is no > general consensus. It may therefore be considered a > matter of taste. By using the semantically oriented > commands > * \dotsc for ?dots with commas? > * \dotsb for ?dots with binary operators/relations? > * \dotsm for ?multiplication dots? > * \dotsi for ?dots with integrals? > * \dotso for ?other dots? (none of the above) > instead of \ldots and \cdots, you make it possible for > your document to be adapted to different conventions on > the fly, in case (for example) you have to submit it to > a publisher who insists on following house tradition in > this respect. The default treatment for the various kinds > follows American Mathematical Society conventions: > > We have the series $A_1,A_2,\dotsc$, > the regional sum $A_1+A_2+\dotsb$, > the orthogonal product $A_1A_2\dotsm$, > and the infinite integral > \[\int_{A_1}\int_{A_2}\dotsi\]. > well aware, but try teaching that to users... /daleif From Bryan.Lepore at umassmed.edu Tue Mar 3 21:22:36 2009 From: Bryan.Lepore at umassmed.edu (Bryan W. Lepore) Date: Tue, 3 Mar 2009 15:22:36 -0500 (EST) Subject: [texhax] counter _inside_ table/tabular Message-ID: i'm stuck on the problem of putting a counter *inside* a table (specifically longtable) to number each entry within the single table. seems reasonable for latex, right? here's what i tried so far - so i think it is NOT as simple as : \newcounter{myCounter} %<- in preamble \setcounter{myCounter} %<- increment=1 ..... \value{myCounter} %<- in longtable environment error is : ! Missing number, treated as zero. is that right? i may need these other packages i've been reading about? -bryan From daleif at imf.au.dk Tue Mar 3 22:08:57 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 03 Mar 2009 22:08:57 +0100 Subject: [texhax] counter _inside_ table/tabular In-Reply-To: References: Message-ID: <49AD9C69.5000304@imf.au.dk> Bryan W. Lepore wrote: > i'm stuck on the problem of putting a counter *inside* a table > (specifically longtable) to number each entry within the single table. > seems reasonable for latex, right? > > here's what i tried so far - so i think it is NOT as simple as : > > \newcounter{myCounter} %<- in preamble > \setcounter{myCounter} %<- increment=1 > ..... > \value{myCounter} %<- in longtable environment > > error is : > ! Missing number, treated as zero. > > is that right? i may need these other packages i've been reading about? > > -bryan > full minimal example please (a lot easier for us to work with) /daleif From adityam at umich.edu Tue Mar 3 22:37:13 2009 From: adityam at umich.edu (Aditya Mahajan) Date: Tue, 3 Mar 2009 16:37:13 -0500 (EST) Subject: [texhax] \ldots v. \cdots In-Reply-To: <49AD8324.9060608@imf.au.dk> References: <20090301010912.KUJU21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> <49AD8324.9060608@imf.au.dk> Message-ID: On Tue, 3 Mar 2009, Lars Madsen wrote: > Karl Ove Hufthammer wrote: >> P. R. Stanley: >> >>> I've come across both \ldots and \cdots in typesetting series in \sum >>> -- \{1 + 2 + 3 + ldots + n\}. What would the list recommend? >> >> I?m surprised nobody has mentioned the AMS recommendations. The document >> ?Short Math Guide for LaTeX? at http://www.ams.org/tex/amslatex.html says >> >> 4.6. Dots For preferred placement of ellipsis dots >> (raised or on-line) in various contexts there is no >> general consensus. It may therefore be considered a >> matter of taste. By using the semantically oriented >> commands >> * \dotsc for ?dots with commas? >> * \dotsb for ?dots with binary operators/relations? >> * \dotsm for ?multiplication dots? >> * \dotsi for ?dots with integrals? >> * \dotso for ?other dots? (none of the above) >> instead of \ldots and \cdots, you make it possible for >> your document to be adapted to different conventions on >> the fly, in case (for example) you have to submit it to >> a publisher who insists on following house tradition in >> this respect. The default treatment for the various kinds >> follows American Mathematical Society conventions: >> >> We have the series $A_1,A_2,\dotsc$, >> the regional sum $A_1+A_2+\dotsb$, >> the orthogonal product $A_1A_2\dotsm$, >> and the infinite integral >> \[\int_{A_1}\int_{A_2}\dotsi\]. >> > > well aware, but try teaching that to users... You can use \dots, which converts to one of the above behind the scenes depending on context (the change of dots depends on the next symbol). For example, We have the series $A_1,A_2,\dots,A_n$, the regional sum $A_1+A_2+\dots+A_n$, the orthogonal product $A_1 A_2 \dots A_n$, and the infinite integral \[\int_{A_1}\int_{A_2}\dots\]. Much easier than having to worry about which dots to use (but it is wrong sometimes, like in $A_1 A_2 \dots A_n$ above) Aditya From asnd at triumf.ca Wed Mar 4 03:42:20 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 03 Mar 2009 18:42:20 -0800 Subject: [texhax] counter _inside_ table/tabular In-Reply-To: References: Message-ID: "Bryan W. Lepore" writes: > i'm stuck on the problem of putting a counter *inside* a table (specifically > longtable) to number each entry within the single table. seems reasonable for > latex, right? > > here's what i tried so far - so i think it is NOT as simple as : > > \newcounter{myCounter} %<- in preamble > \setcounter{myCounter} %<- increment=1 That line is an error > ..... > \value{myCounter} %<- in longtable environment Absolutely no other context!? > error is : > ! Missing number, treated as zero. My random guess is you meant \themyCounter. -- Donald Arseneau asnd at triumf.ca From ivan.pagnossin at gmail.com Wed Mar 4 12:59:59 2009 From: ivan.pagnossin at gmail.com (Ivan Ramos Pagnossin) Date: Wed, 4 Mar 2009 08:59:59 -0300 Subject: [texhax] counter _inside_ table/tabular In-Reply-To: References: Message-ID: To increment a counter you should use \stepcounter{counter} instead of \setcounter, which, by the way, has the following sintax: \setcounter{counter}{value}.[]s Ivan On Tue, Mar 3, 2009 at 23:42, Donald Arseneau wrote: > "Bryan W. Lepore" writes: > > > i'm stuck on the problem of putting a counter *inside* a table > (specifically > > longtable) to number each entry within the single table. seems reasonable > for > > latex, right? > > > > here's what i tried so far - so i think it is NOT as simple as : > > > > \newcounter{myCounter} %<- in preamble > > \setcounter{myCounter} %<- increment=1 > > That line is an error > > > ..... > > \value{myCounter} %<- in longtable environment > > Absolutely no other context!? > > > error is : > > ! Missing number, treated as zero. > > My random guess is you meant \themyCounter. > > -- > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090304/0b50bcda/attachment.html From dgc at ns2.san.rr.com Wed Mar 4 04:10:03 2009 From: dgc at ns2.san.rr.com (David G. Cantor) Date: Tue, 03 Mar 2009 19:10:03 -0800 Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, blah Message-ID: <7639.1236136203@ns2.san.rr.com> All these are used in mathematics and related disciplines. In his TeXbook Don Knuth devotes 4 chapters (16, 17, 18, and 19) to how to typeset mathematics and the fine points of doing so. The amsmath package for LaTeX2e makes minor changes, e.g. instead of \pmatrix{ ....} it uses \begin{pmatrix}....\end{pmatrix} and provides more facilities, but the four chapters are basic and it is easy to see what happens when using amsmath. dgc David G. Cantor CCRwest Center for Communications Research, San Diego, CA dgc at ccrwest.org From john.johnknight at gmail.com Wed Mar 4 13:33:19 2009 From: john.johnknight at gmail.com (John Knight) Date: Wed, 4 Mar 2009 07:33:19 -0500 Subject: [texhax] How to TeX or LaTex up a college transcript? Message-ID: <9fdb5c4c0903040433r1691cbb2r6c0d6c5ec2543952@mail.gmail.com> I am registrar at a small PhD granting institution. We send our student's transcripts on request. Is there a set of TeX or LaTex macros to manage and produce transcripts? How would one do some math like grade point averages etc in such a system? I could not find answers to this by google or CPAN. Thx -- John Knight john at johnknight.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090304/ba4cfeb2/attachment.html From prstanley at ntlworld.com Wed Mar 4 23:29:31 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Wed, 04 Mar 2009 22:29:31 +0000 Subject: [texhax] floor and ceiling Message-ID: <20090304222928.TSEA13254.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> Hi folks what do the letters l and r mean in \lfloor \lceil and \rfloor and \rceil? would this $t ( \lfloor n/2 rfloor )$ or this $t (\left \lfloor n/2 rfloor \right)$ be more appropriate? Please feel free to make Any other changes to the code frag. many thanks Paul From millstadtf at gmail.com Wed Mar 4 23:44:46 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Wed, 4 Mar 2009 14:44:46 -0800 Subject: [texhax] Fwd: floor and ceiling In-Reply-To: <44ff02430903041444g444f55efrc1714f2fc2f7e31b@mail.gmail.com> References: <20090304222928.TSEA13254.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> <44ff02430903041444g444f55efrc1714f2fc2f7e31b@mail.gmail.com> Message-ID: <44ff02430903041444m55e1c5dbx991424d714e0e329@mail.gmail.com> Sorry; forgot to reply-all ---------- Forwarded message ---------- From: Robert Wilson Date: Wed, Mar 4, 2009 at 2:44 PM Subject: Re: [texhax] floor and ceiling To: "P. R. Stanley" \lfloor is the left side of the the floor bracket, and \rfloor the right. \lfloor looks kind of like a capital L, while \rfloor is the mirror image. If the innards of the bracket is tall (like a \frac, for example) using $\left\lfloor \frac{n}{2} \right\rfloor$ would be best. \ceil is similar. HTH, Bob On Wed, Mar 4, 2009 at 2:29 PM, P. R. Stanley wrote: > Hi folks > > what do the letters l and r mean in \lfloor \lceil and \rfloor and \rceil? > would this > $t ( \lfloor n/2 rfloor )$ > or this > $t (\left \lfloor n/2 rfloor \right)$ > be more appropriate? > Please feel free to make Any other changes to the code frag. > many thanks > Paul > > _______________________________________________ > 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/20090304/67435897/attachment.html From prstanley at ntlworld.com Wed Mar 4 23:57:59 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Wed, 04 Mar 2009 22:57:59 +0000 Subject: [texhax] floor and ceiling In-Reply-To: <44ff02430903041444g444f55efrc1714f2fc2f7e31b@mail.gmail.co m> References: <20090304222928.TSEA13254.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> <44ff02430903041444g444f55efrc1714f2fc2f7e31b@mail.gmail.com> Message-ID: <20090304225756.NYHR21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> >\lfloor is the left side of the the floor bracket, and \rfloor the >right. \lfloor looks kind of like a capital L, while \rfloor is the >mirror image. If the innards of the bracket is tall (like a \frac, >for example) using $\left\lfloor \frac{n}{2} \right\rfloor$ would be >best. \ceil is similar. > >Great! Thanks. What do lceil and rceil look like? >HTH, >Bob > >On Wed, Mar 4, 2009 at 2:29 PM, P. R. Stanley ><prstanley at ntlworld.com> wrote: >Hi folks > >what do the letters l and r mean in \lfloor \lceil and \rfloor and \rceil? >would this > $t ( \lfloor n/2 rfloor )$ > or this > $t (\left \lfloor n/2 rfloor \right)$ > be more appropriate? >Please feel free to make Any other changes to the code frag. >many thanks >Paul > >_______________________________________________ >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 millstadtf at gmail.com Thu Mar 5 00:03:22 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Wed, 4 Mar 2009 15:03:22 -0800 Subject: [texhax] floor and ceiling In-Reply-To: <20090304225756.NYHR21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090304222928.TSEA13254.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> <44ff02430903041444g444f55efrc1714f2fc2f7e31b@mail.gmail.com> <20090304225756.NYHR21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <44ff02430903041503x446163cdi375634549c68a4af@mail.gmail.com> \lceil is a vertical line with a right-facing horizontal line at the top (like the right half of a T, or an F without the middle branch), and \rceil is the mirror image, like the left half of a T, or a 7 On Wed, Mar 4, 2009 at 2:57 PM, P. R. Stanley wrote: > > >\lfloor is the left side of the the floor bracket, and \rfloor the > >right. \lfloor looks kind of like a capital L, while \rfloor is the > >mirror image. If the innards of the bracket is tall (like a \frac, > >for example) using $\left\lfloor \frac{n}{2} \right\rfloor$ would be > >best. \ceil is similar. > > > >Great! Thanks. What do lceil and rceil look like? > > > > >HTH, > >Bob > > > >On Wed, Mar 4, 2009 at 2:29 PM, P. R. Stanley > ><prstanley at ntlworld.com> wrote: > >Hi folks > > > >what do the letters l and r mean in \lfloor \lceil and \rfloor and \rceil? > >would this > > $t ( \lfloor n/2 rfloor )$ > > or this > > $t (\left \lfloor n/2 rfloor \right)$ > > be more appropriate? > >Please feel free to make Any other changes to the code frag. > >many thanks > >Paul > > > >_______________________________________________ > >TeX FAQ: http://www.tex.ac.uk/faq > >Mailing list archives: > >http://tug.org/pipermail/texhax/ > >More links: http://tug.org/begin.html > > > >Automated subscription management: > > > http://tug.org/mailman/listinfo/texhax > >Human mailing list managers: > postmaster at tug.org > > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090304/094d2329/attachment-0001.html From godbyk at gmail.com Thu Mar 5 00:04:59 2009 From: godbyk at gmail.com (Kevin Godby) Date: Wed, 4 Mar 2009 17:04:59 -0600 Subject: [texhax] floor and ceiling In-Reply-To: <20090304225756.NYHR21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090304222928.TSEA13254.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> <44ff02430903041444g444f55efrc1714f2fc2f7e31b@mail.gmail.com> <20090304225756.NYHR21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: On Wed, Mar 4, 2009 at 4:57 PM, P. R. Stanley wrote: > >>\lfloor is the left side of the the floor bracket, and \rfloor the >>right. \lfloor looks kind of like a capital L, while \rfloor is the >>mirror image. If the innards of the bracket is tall (like a \frac, >>for example) using $\left\lfloor \frac{n}{2} \right\rfloor$ would be >>best. \ceil is similar. >> >>Great! Thanks. What do lceil and rceil look like? To continue with Robert's L-based description: \lceil and \rceil look just like \lfoor and \rfloor, but they're flipped vertically (that is, reflected about their central horizontal axis). So the \lceil looks like an inverted capital L and the \rceil looks like turned capital L (i.e., an L that has been rotated 180 degrees). The floor and ceiling brackets don't have serifs -- just two perpendicular lines. To me, they look more like square brackets [ and ] with either the top or bottom horizontal strokes removed. (The bottom strokes are removed for ceiling, and the top strokes are removed for floor.) --Kevin Godby From prstanley at ntlworld.com Thu Mar 5 00:15:16 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Wed, 04 Mar 2009 23:15:16 +0000 Subject: [texhax] floor and ceiling In-Reply-To: References: <20090304222928.TSEA13254.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> <44ff02430903041444g444f55efrc1714f2fc2f7e31b@mail.gmail.com> <20090304225756.NYHR21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <20090304231513.ULRH13254.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> > >\lfloor is the left side of the the floor bracket, and \rfloor the > >>right. \lfloor looks kind of like a capital L, while \rfloor is the > >>mirror image. If the innards of the bracket is tall (like a \frac, > >>for example) using $\left\lfloor \frac{n}{2} \right\rfloor$ would be > >>best. \ceil is similar. > >> > >>Great! Thanks. What do lceil and rceil look like? > >To continue with Robert's L-based description: \lceil and \rceil look >just like \lfoor and \rfloor, but they're flipped vertically (that is, >reflected about their central horizontal axis). So the \lceil looks >like an inverted capital L and the \rceil looks like turned capital L >(i.e., an L that has been rotated 180 degrees). > >The floor and ceiling brackets don't have serifs -- just two >perpendicular lines. To me, they look more like square brackets [ and >] with either the top or bottom horizontal strokes removed. (The >bottom strokes are removed for ceiling, and the top strokes are >removed for floor.) > >11 out of 10 for a clear and precise description! Cheers! >--Kevin Godby From angela.rademeyer at opsi.co.za Wed Mar 4 21:01:07 2009 From: angela.rademeyer at opsi.co.za (Angela Rademeyer) Date: Wed, 4 Mar 2009 22:01:07 +0200 Subject: [texhax] Tex question - cases environment Message-ID: <1BAE7ED641F36C4F822F0597E83AAC18F43A22D342@HMC-EXVS1.hmc.local> Hi Could you pls tell me how to left align the output from this code: \begin{equation*} a_{ig} = \begin{cases} 1 & \text{if customer $i$ belongs to profile group $g$}\\ 0 & \text{otherwise}\\[.3cm] \end{cases} \end{equation*} Thanks, regards Angela Rademeyer OPSI SYSTEMS 082 498 9332 (011) 880 7951 ext. 225 www.opsisystems.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090304/d8d4f11f/attachment.html From axel.retif at mac.com Thu Mar 5 07:28:44 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 05 Mar 2009 00:28:44 -0600 Subject: [texhax] Tex question - cases environment In-Reply-To: <1BAE7ED641F36C4F822F0597E83AAC18F43A22D342@HMC-EXVS1.hmc.local> References: <1BAE7ED641F36C4F822F0597E83AAC18F43A22D342@HMC-EXVS1.hmc.local> Message-ID: <602D0326-7522-40B8-B053-3409A41BA379@mac.com> On 4 Mar, 2009, at 14:01, Angela Rademeyer wrote: > \begin{equation*} > a_{ig} = > \begin{cases} > 1 & \text{if customer $i$ belongs to profile group $g$}\\ > 0 & \text{otherwise}\\[.3cm] > \end{cases} > \end{equation*} First, in your preamble, \usepackage{amsmath} then, \begin{flalign*} a_{ig} = \begin{cases} 1 & \text{if customer $i$ belongs to profile group $g$}\\ 0 & \text{otherwise} \\[.3cm] \end{cases} && %% <------------------ these two && \end{flalign*} If you use TeXLive 2008 or a recent MiKTeX, I think you should have Mathmode.pdf; in your terminal or command prompt, texdoc mathmode Best, Axel From angela.rademeyer at opsi.co.za Thu Mar 5 20:48:02 2009 From: angela.rademeyer at opsi.co.za (Angela Rademeyer) Date: Thu, 5 Mar 2009 21:48:02 +0200 Subject: [texhax] Tex question - cases environment In-Reply-To: <602D0326-7522-40B8-B053-3409A41BA379@mac.com> References: <1BAE7ED641F36C4F822F0597E83AAC18F43A22D342@HMC-EXVS1.hmc.local> <602D0326-7522-40B8-B053-3409A41BA379@mac.com> Message-ID: <1BAE7ED641F36C4F822F0597E83AAC18F43A2977DF@HMC-EXVS1.hmc.local> Hi Thanks for the help. When I run the version below I get this error: [cid:image001.png at 01C99DC9.27537CE0] Regards Angela Rademeyer OPSI SYSTEMS 082 498 9332 (011) 880 7951 ext. 225 www.opsisystems.com -----Original Message----- From: Axel E. Retif [mailto:axel.retif at mac.com] Sent: 05 March 2009 08:29 AM To: Angela Rademeyer Cc: support at tug.org Subject: Re: [texhax] Tex question - cases environment On 4 Mar, 2009, at 14:01, Angela Rademeyer wrote: > \begin{equation*} > a_{ig} = > \begin{cases} > 1 & \text{if customer $i$ belongs to profile group $g$}\\ > 0 & \text{otherwise}\\[.3cm] > \end{cases} > \end{equation*} First, in your preamble, \usepackage{amsmath} then, \begin{flalign*} a_{ig} = \begin{cases} 1 & \text{if customer $i$ belongs to profile group $g$}\\ 0 & \text{otherwise} \\[.3cm] \end{cases} && %% <------------------ these two && \end{flalign*} If you use TeXLive 2008 or a recent MiKTeX, I think you should have Mathmode.pdf; in your terminal or command prompt, texdoc mathmode Best, Axel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090305/22f6a08e/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 5827 bytes Desc: image001.png Url : http://tug.org/pipermail/texhax/attachments/20090305/22f6a08e/attachment.png From P.Taylor at Rhul.Ac.Uk Thu Mar 5 22:45:08 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Thu, 05 Mar 2009 21:45:08 +0000 Subject: [texhax] Transparency or reduced saturation using Graphicx ? Message-ID: <49B047E4.6010900@Rhul.Ac.Uk> Dear Colleagues -- I am including a large number (> 4000) of graphic images in PDF format in a LaTeX document through the medium of the Graphicx interface. To achieve a nice visual balance between the images (which were scanned at different times, and processed using different technologies), I can adjust the relative size of each. But for some extremely heavy images (see attached, which are the same abbreviation in two very different scribal hands, and processed using very different technologies), reducing the size is insufficient : what I really need is to be able to make the heavier graphic less intrusive, either by rendering it partially transparent or by mapping the fully saturated black to a less saturated grey. I can find nothing in the Graphicx documentation that suggests that either of these is possible, but in the faint hope that I have overlooked something, I am asking here. Philip TAYLOR -------------- next part -------------- A non-text attachment was scrubbed... Name: abr-ekklhsias.pdf Type: application/pdf Size: 7749 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090305/60f479df/attachment-0002.pdf -------------- next part -------------- A non-text attachment was scrubbed... Name: abr-ekklhsias1.pdf Type: application/pdf Size: 3151 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090305/60f479df/attachment-0003.pdf From millstadtf at gmail.com Thu Mar 5 23:21:47 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Thu, 5 Mar 2009 14:21:47 -0800 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <49B047E4.6010900@Rhul.Ac.Uk> References: <49B047E4.6010900@Rhul.Ac.Uk> Message-ID: <44ff02430903051421p6fe27826r660f5503414c4e49@mail.gmail.com> The closest I ever got to a transparent image was actually a watermark. Check out the eso-pic package ( http://www.ctan.org/tex-archive/macros/latex/contrib/eso-pic/) Cheers, Bob On Thu, Mar 5, 2009 at 1:45 PM, Philip TAYLOR wrote: > Dear Colleagues -- I am including a large number (> 4000) > of graphic images in PDF format in a LaTeX document through > the medium of the Graphicx interface. To achieve a nice > visual balance between the images (which were scanned at > different times, and processed using different technologies), > I can adjust the relative size of each. But for some extremely > heavy images (see attached, which are the same abbreviation > in two very different scribal hands, and processed using > very different technologies), reducing the size is insufficient : > what I really need is to be able to make the heavier graphic less > intrusive, either by rendering it partially transparent or > by mapping the fully saturated black to a less saturated grey. > > I can find nothing in the Graphicx documentation that suggests > that either of these is possible, but in the faint hope that > I have overlooked something, I am asking here. > > Philip TAYLOR > > _______________________________________________ > 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/20090305/153906f8/attachment.html From pierre.mackay at comcast.net Thu Mar 5 23:34:24 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Thu, 05 Mar 2009 14:34:24 -0800 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <49B047E4.6010900@Rhul.Ac.Uk> References: <49B047E4.6010900@Rhul.Ac.Uk> Message-ID: <49B05370.8030702@comcast.net> Whatever you do is not going to be easy. What I would do (and I recently had to do it with 149 images) is take a screenshot, using import if you have it available, convert the image to TIFF, and operate on it either with GIMP or with Adobe Streamline, to get the spines of all the heavy lines. With the right Streamline settings you should be able to come to a fairly close approximation of the lighter penstrokes on the associated image. One other approach, which may be precluded because you seem to be dealing with a simple Black-White image rather than any level of grayscale, would be to convert it to indexed gray-scale (about 15 levels should do) in GIMP and then nip away at the outer edges by progressively resetting the lighter grays to white. Then harden up the remaining dark-gray to black pixels to simple black. I have found that an extremely useful way to fine down slovenly (200DPI) scans of what was originally line art, so that the result was an acceptable imitation of a 1200DPI scan. But usually you need to start with some reasonable level of gray scale, which doesn't seem to be available in your samples. If only a simple graying out is needed, GIMP layers will do it. The top layer can be set as not fully transparent. Pierre MacKay From axel.retif at mac.com Fri Mar 6 00:07:03 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 05 Mar 2009 17:07:03 -0600 Subject: [texhax] Tex question - cases environment In-Reply-To: <1BAE7ED641F36C4F822F0597E83AAC18F43A2977DF@HMC-EXVS1.hmc.local> References: <1BAE7ED641F36C4F822F0597E83AAC18F43A22D342@HMC-EXVS1.hmc.local> <602D0326-7522-40B8-B053-3409A41BA379@mac.com> <1BAE7ED641F36C4F822F0597E83AAC18F43A2977DF@HMC-EXVS1.hmc.local> Message-ID: <3320B787-C1FB-4E7E-88C7-186A77C7A52C@mac.com> On 5 Mar, 2009, at 13:48, Angela Rademeyer wrote: > Hi > > Thanks for the help. When I run the version below I get this error: > I really don't see why. Can you try with the short document below? It typesets fine for me. %%%%%%% from here %%%%%%%%% \documentclass{article} \usepackage{amsmath} \begin{document} \begin{flalign*} a_{ig} = \begin{cases} 1 & \text{if customer $i$ belongs to profile group $g$}\\ 0 & \text{otherwise} \\[.3cm] \end{cases} && %% <------------------ these two && \end{flalign*} \end{document} %%%%%% to here %%%%%%%%%%% Best, Axel From ivan.pagnossin at gmail.com Fri Mar 6 01:49:58 2009 From: ivan.pagnossin at gmail.com (Ivan Ramos Pagnossin) Date: Thu, 5 Mar 2009 21:49:58 -0300 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <49B047E4.6010900@Rhul.Ac.Uk> References: <49B047E4.6010900@Rhul.Ac.Uk> Message-ID: If I understood what you need, than the following code may help you (you need the package tikz): \begin{figure} \begin{*tikzpicture*} \node [opacity=0.15] {\includegraphics[...]{...}}; \end{*tikzpicture*} \end{figure} []s Ivan On Thu, Mar 5, 2009 at 18:45, Philip TAYLOR wrote: > Dear Colleagues -- I am including a large number (> 4000) > of graphic images in PDF format in a LaTeX document through > the medium of the Graphicx interface. To achieve a nice > visual balance between the images (which were scanned at > different times, and processed using different technologies), > I can adjust the relative size of each. But for some extremely > heavy images (see attached, which are the same abbreviation > in two very different scribal hands, and processed using > very different technologies), reducing the size is insufficient : > what I really need is to be able to make the heavier graphic less > intrusive, either by rendering it partially transparent or > by mapping the fully saturated black to a less saturated grey. > > I can find nothing in the Graphicx documentation that suggests > that either of these is possible, but in the faint hope that > I have overlooked something, I am asking here. > > Philip TAYLOR > > _______________________________________________ > 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/20090305/371e2152/attachment.html From philip.ratcliffe at fastwebnet.it Fri Mar 6 09:58:38 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Fri, 6 Mar 2009 09:58:38 +0100 Subject: [texhax] Tex question - cases environment In-Reply-To: <1BAE7ED641F36C4F822F0597E83AAC18F43A2977DF@HMC-EXVS1.hmc.local> Message-ID: <308511A371FD48E7A7EDBFD46DB8EAFB@PGR1> > Thanks for the help. When I run the version below I get this error: > > [snip] > > \begin{flalign*} > a_{ig} = > \begin{cases} > 1 & \text{if customer $i$ belongs to profile group $g$}\\ > 0 & \text{otherwise} \\[.3cm] > \end{cases} && %% <------------------ these two && \end{flalign*} Axel's mailer seems to wrap lines that it shouldn't (mine does too, which explains the indentation used below) and so, if his script is used as is, the "\end{flalign*}" in the last line will be ignored (owing to the %%). Try the version below (which does work), but make sure that it really appears as here (note also that there must be no blank lines within the "flalign*" environment): \documentclass{article} \usepackage{amsmath} \begin{document} \begin{flalign*} a_{ig} = \begin{cases} 1 & \text{if customer $i$ belongs to profile group $g$}\\ 0 & \text{otherwise} \\[.3cm] \end{cases} && %% <------------------ these two && \end{flalign*} \end{document} The output seems a little odd; maybe you don't really want the "\\[.3cm]" in the second line inside the "cases" environment. Cheers, Phil From axel.retif at mac.com Fri Mar 6 10:15:46 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 06 Mar 2009 03:15:46 -0600 Subject: [texhax] Tex question - cases environment In-Reply-To: <308511A371FD48E7A7EDBFD46DB8EAFB@PGR1> References: <308511A371FD48E7A7EDBFD46DB8EAFB@PGR1> Message-ID: On 6 Mar, 2009, at 02:58, Philip G. Ratcliffe wrote: >> Thanks for the help. When I run the version below I get this error: >> >> [snip] >> >> \begin{flalign*} >> a_{ig} = >> \begin{cases} >> 1 & \text{if customer $i$ belongs to profile group $g$}\\ >> 0 & \text{otherwise} \\[.3cm] >> \end{cases} && %% <------------------ these two && \end{flalign*} > > Axel's mailer seems to wrap lines that it shouldn't Oh! I see. I'll try to be more careful. Thank you. Axel From andree at unm.edu Fri Mar 6 07:36:18 2009 From: andree at unm.edu (Andree Jacobson) Date: Thu, 5 Mar 2009 23:36:18 -0700 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <49B05370.8030702@comcast.net> References: <49B047E4.6010900@Rhul.Ac.Uk> <49B05370.8030702@comcast.net> Message-ID: <345ABBA7-69E6-4F60-A331-E3F3AAA411CC@unm.edu> Another option is to use ImageMagick from the command line so that it can be scripted or put in a make file for processing multiple images. For example, the command: convert +level-colors gray23,white abr-ekklhsias.pdf lighterVersion.pdf replaces the color black with gray23 (r=59,g=59,b=59) and makes a linear transformation to white. And you can antialias, apply filters, etc. Convert accepts pretty much any image format you can dream up both as inputs and outputs. More info on the color mapping at: http://www.imagemagick.org/Usage/color/#gamma (Check for "Level Adjustment by Color" about 1/3 down the page) Best, Andree On Mar 5, 2009, at 3:34 pm, Pierre MacKay wrote: > Whatever you do is not going to be easy. What I would do (and I > recently had to do it with 149 images) is take a screenshot, using > import if you have it available, convert the image to TIFF, and > operate > on it either with GIMP or with Adobe Streamline, to get the spines of > all the heavy lines. With the right Streamline settings you should be > able to come to a fairly close approximation of the lighter penstrokes > on the associated image. > > One other approach, which may be precluded because you seem to be > dealing with a simple Black-White image rather than any level of > grayscale, would be to convert it to indexed gray-scale (about 15 > levels > should do) in GIMP and then nip away at the outer edges by > progressively > resetting the lighter grays to white. Then harden up the remaining > dark-gray to black pixels to simple black. I have found that an > extremely useful way to fine down slovenly (200DPI) scans of what was > originally line art, so that the result was an acceptable imitation > of a > 1200DPI scan. But usually you need to start with some reasonable > level > of gray scale, which doesn't seem to be available in your samples. > > If only a simple graying out is needed, GIMP layers will do it. The > top > layer can be set as not fully transparent. > > Pierre MacKay > _______________________________________________ > 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 P.Taylor at Rhul.Ac.Uk Fri Mar 6 17:23:09 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Fri, 06 Mar 2009 16:23:09 +0000 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: References: <49B047E4.6010900@Rhul.Ac.Uk> Message-ID: <49B14DED.8020501@Rhul.Ac.Uk> My thanks to all who made suggestions for tackling this problem. My first thought was to try Ivan Ramos Pagnossin's idea : > If I understood what you need, than the following code may help you (you > need the package tikz): > > \begin{figure} > \begin{*tikzpicture*} > \node [opacity=0.15] {\includegraphics[...]{...}}; > \end{*tikzpicture*} > \end{figure} but I failed to get it to work in the context in which I need it. I reproduce a fragment of the original (below), where it will be seen that I need the resulting image in an \hbox for further manipulation and placement : \ifdim #2 pt > 0 pt \scaledheight = #2\targetheight \scaledwidth = #2\targetwidth \fi \setbox 0 = \hbox {\includegraphics [height = \scaledheight, width=\scaledwidth, clip=true, keepaspectratio=true]{\Prefix/#3-#4.pdf}}% \setbox 0 = \hbox {\href {\Prefix/#3-#4.pdf}{\box 0 }}% \ifdim \wd 0 < \targetwidth \wd 0 = \targetwidth \fi \drop = \ht 0 \advance \drop by -2 ex \leavevmode \vrule height \baselineskip depth \dp \strutbox width 0 pt \smash {\lower \drop \hbox spread 1 pc {\box 0 \hss}}% I tried to work out from the TeXdoc documentation on TikZ/PGF what sort of an object > \begin{*tikzpicture*} > \node [opacity=0.15] {\includegraphics[...]{...}}; > \end{*tikzpicture*} should yield, but regret to say that I failed :-( I will now try some of the other suggestions (I was hoping to find one that would allow me to manipulate the image during TeX processing, which is why I started with the TikZ approach, but if that is not possible then off-line pre-processing is a viable option). ** Phil. From mailing_list at arcor.de Fri Mar 6 20:46:39 2009 From: mailing_list at arcor.de (Stephan Hennig) Date: Fri, 06 Mar 2009 20:46:39 +0100 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <49B14DED.8020501@Rhul.Ac.Uk> References: <49B047E4.6010900@Rhul.Ac.Uk> <49B14DED.8020501@Rhul.Ac.Uk> Message-ID: Philip TAYLOR schrieb: > I tried to work out from the TeXdoc documentation on TikZ/PGF > what sort of an object > > > \begin{*tikzpicture*} > > \node [opacity=0.15] {\includegraphics[...]{...}}; > > \end{*tikzpicture*} > > should yield, but regret to say that I failed :-( I will now > try some of the other suggestions (I was hoping to find one > that would allow me to manipulate the image during TeX processing, > which is why I started with the TikZ approach, but if that is > not possible then off-line pre-processing is a viable option). Perhaps the transparent package from the oberdiek bundle works: \usepackage{transparent} ... \texttransparent{0.2}{\includegraphics[...]{...}} Best regards, Stephan Hennig From DAfshartous at med.miami.edu Fri Mar 6 21:08:17 2009 From: DAfshartous at med.miami.edu (Afshartous, David) Date: Fri, 6 Mar 2009 15:08:17 -0500 Subject: [texhax] \cite command Message-ID: All, When using the \cite command for consecutive numeric references, how does one obtain output as "[1-3]" instead of "[1,2,3]"? E.g., I have \cite{Baron:1986, Bauer:2006, Smith:2009} and this produces [1,2,3]. Thanks, David From P.Taylor at Rhul.Ac.Uk Fri Mar 6 23:27:46 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Fri, 06 Mar 2009 22:27:46 +0000 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: References: <49B047E4.6010900@Rhul.Ac.Uk> <49B14DED.8020501@Rhul.Ac.Uk> Message-ID: <49B1A362.4040806@Rhul.Ac.Uk> Stephan Hennig wrote: > Perhaps the transparent package from the oberdiek bundle works: > > \usepackage{transparent} > ... > \texttransparent{0.2}{\includegraphics[...]{...}} This is very nice; my sincere thanks, both to Stephan (for the lead) and to Heiko (for the hard work behind it). A quick test suggests I need \transparent rather than \texttransparent and that I need to set and restore the transparency state just before and just after typesetting the box containing the graphic, but that apart, it worked like a dream once I realised that it was a two-pass approach, and that a change would not be visible until two successive runs with the same parameters. Philip TAYLOR From daleif at imf.au.dk Sat Mar 7 11:52:49 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 07 Mar 2009 11:52:49 +0100 Subject: [texhax] \cite command In-Reply-To: References: Message-ID: <49B25201.5050202@imf.au.dk> Afshartous, David wrote: > All, > > When using the \cite command for consecutive numeric references, how does > one obtain output as "[1-3]" instead of "[1,2,3]"? > > E.g., I have \cite{Baron:1986, Bauer:2006, Smith:2009} and this produces > [1,2,3]. > > Thanks, > David > > _______________________________________________ > 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 either the cite package or of you are using bibtex and the natbib package then the sort&compress option /daleif From barr at math.mcgill.ca Sat Mar 7 14:48:14 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Sat, 7 Mar 2009 08:48:14 -0500 (EST) Subject: [texhax] \marginpars on left Message-ID: I have been trying to get \marginpars to print all on the left (in a two-sided style). It appears to me that \newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} should do it, but it actually prints nothing on odd numbered pages. Is there an easy way of doing this? Michael Barr From uwe.lueck at web.de Fri Mar 6 21:33:58 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Fri, 06 Mar 2009 21:33:58 +0100 Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: <7639.1236136203@ns2.san.rr.com> Message-ID: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> At 04:10 04.03.09, David G. Cantor wrote: >All these are used in mathematics and related disciplines. In his >TeXbook Don Knuth devotes 4 chapters (16, 17, 18, and 19) to how to >typeset mathematics and the fine points of doing so. How can blind people access the TeXbook? All I can contribute to my question is that the copyright holder is the American Mathematical Society, so the question should be directed to *them* (I am not a member). HTH -- Uwe. From uwe.lueck at web.de Fri Mar 6 21:46:28 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Fri, 06 Mar 2009 21:46:28 +0100 Subject: [texhax] description of text in {\tt } In-Reply-To: <18815.47270.213062.432794@zaphod.ms25.net> References: <5.1.0.14.0.20090126231431.02749110@pop3.web.de> <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pi ne.ntlworld.com> <5.1.0.14.0.20090126231431.02749110@pop3.web.de> Message-ID: <5.1.0.14.0.20090306213925.0265bb90@pop3.web.de> At 02:45 28.01.09, Reinhard Kotucha wrote: > \font\vtt=cmvtt10 Indeed I am playing with this for some applications, in the "job" sense. \tt may be too painful to read, perhaps some earlier letters of mine using \tt were not understood. cmvtt may look likewise "humble" while more convienently to read. \tt may be somewhat contradictory in an application where I call myself an expert for typography. Reinhard's suggestion has also encouraged me to use the primitive font switch in place of \DeclareBlahBlah ... I need to know, however, whether cmvtt looks sufficiently serious, not funny, not like an invitation to a party or to a funeral. Thanks, Uwe. From uwe.lueck at web.de Sat Mar 7 21:42:18 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sat, 07 Mar 2009 21:42:18 +0100 Subject: [texhax] Quiz time! In-Reply-To: Message-ID: <5.1.0.14.0.20090307214030.02bc20d0@pop3.web.de> At 15:45 26.02.09, c.a.rowley at open.ac.uk wrote: > >>> >I've discovered that you can create a matrix pretty easily. For a 2x3 >matrix like the following: > > [3 4 5 > > 6 7 8] > >just type: > > [\matrix(3&4&5 at 6&7&8)] > >Hooray! This will save me a lot of time. > >>> > >Note that the at-sign is the correct synatx and has not been ditsorted by >encoding problems of any type (well, not on my system at least). > >There are supplementary questions for anyone with a correct reply to this >list. > >Enjoy! chris I give up, it hurts, will you please tell the solution!? -- Cheers, Uwe. From uwe.lueck at web.de Sat Mar 7 22:00:33 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sat, 07 Mar 2009 22:00:33 +0100 Subject: [texhax] \marginpars on left In-Reply-To: Message-ID: <5.1.0.14.0.20090307215356.02bc2a60@pop3.web.de> At 14:48 07.03.09, Michael Barr wrote: >I have been trying to get \marginpars to print all on the left (in a >two-sided style). It appears to me that >\newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} >should do it, but it actually prints nothing on odd numbered pages. The mandatory argument of \marginpar is typeset on right pages, unless \reversemarginpar. >Is there an easy way of doing this? Kernel LaTeX seems not to support this, but marginal.sty from sttools seems to do it with \onesidemarginals (not tested). You may need the feature at first lines of paragraphs only, you could then start such a paragraph with \xlabel and something like \newcommand\xlabel[1]{% \llap{#1\hspace\marginparsep}% \label{#1}\ignorespaces} Cheers, Uwe. From bob at brasko.net Sat Mar 7 21:03:27 2009 From: bob at brasko.net (Bob Rossi) Date: Sat, 07 Mar 2009 15:03:27 -0500 Subject: [texhax] automatic dependency generation for pdflatex Message-ID: <20090307200327.GA14859@brasko.net> Hi, I'm trying to integrate latex into my build system. I use autotools, along with make. I can't figure out how to have latex automatically generate the dependencies. The closest I have found is this, http://www.ams.org/tex/snapshot.html the only problem with it is, it gives relative filenames, not absolute. Shouldn't latex provide this feature? Any user using a build system to build latex would require this functionality. I've found a dozen people asking the same question over the years. Any thoughts on how I can solve this problem? Thanks, Bob Rossi From barr at math.mcgill.ca Sun Mar 8 00:23:23 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Sat, 7 Mar 2009 18:23:23 -0500 (EST) Subject: [texhax] \marginpars on left In-Reply-To: <5.1.0.14.0.20090307215356.02bc2a60@pop3.web.de> References: <5.1.0.14.0.20090307215356.02bc2a60@pop3.web.de> Message-ID: In other words, roll my own \marginpar. Obviously I need this only for draft mode, so fine typesetting not required. Michael On Sat, 7 Mar 2009, UweL?ck wrote: > At 14:48 07.03.09, Michael Barr wrote: >> I have been trying to get \marginpars to print all on the left (in a >> two-sided style). It appears to me that >> \newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} >> should do it, but it actually prints nothing on odd numbered pages. > > The mandatory argument of \marginpar is typeset on right pages, unless > \reversemarginpar. > >> Is there an easy way of doing this? > > Kernel LaTeX seems not to support this, but marginal.sty from sttools seems > to do it with \onesidemarginals (not tested). > > You may need the feature at first lines of paragraphs only, you could then > start such a paragraph with \xlabel and something like > > \newcommand\xlabel[1]{% > \llap{#1\hspace\marginparsep}% > \label{#1}\ignorespaces} > > Cheers, > > Uwe. > > From s.schwartz at imperial.ac.uk Sun Mar 8 00:59:28 2009 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Sat, 07 Mar 2009 23:59:28 +0000 Subject: [texhax] automatic dependency generation for pdflatex In-Reply-To: <20090307200327.GA14859@brasko.net> References: <20090307200327.GA14859@brasko.net> Message-ID: <1236470368.5692.7.camel@sony-sjs.sp.ph.ic.ac.uk> Bob, I'm not sure exactly what you want, but have you tried running latex with a -recorder option, i.e., latex -recorder file.tex ? This generates a .fls file that has all the input files, etc., and with full paths to the files. I attach a script I wrote around it to pack up a latex file together with the various input files, graphics files, etc., so I could ship it to someone else. Indeed, my script looks for and throws away the files related to latex packages, which I guess is what you want to keep! HTH Steve On Sat, 2009-03-07 at 15:03 -0500, Bob Rossi wrote: > Hi, > > I'm trying to integrate latex into my build system. I use autotools, > along with make. I can't figure out how to have latex automatically > generate the dependencies. The closest I have found is this, > http://www.ams.org/tex/snapshot.html > the only problem with it is, it gives relative filenames, not absolute. > > Shouldn't latex provide this feature? Any user using a build system to > build latex would require this functionality. I've found a dozen people > asking the same question over the years. Any thoughts on how I can solve > this problem? > > Thanks, > Bob Rossi > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Head, Space & Atmospheric Physics Fax: +44-(0)20-7594-7900 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 711A London SW7 2AZ, U.K. Web: www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ -------------- next part -------------- A non-text attachment was scrubbed... Name: packngotex.sh Type: application/x-csh Size: 2668 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090307/c60843ee/attachment.csh From angela.rademeyer at opsi.co.za Sun Mar 8 10:59:38 2009 From: angela.rademeyer at opsi.co.za (Angela Rademeyer) Date: Sun, 8 Mar 2009 11:59:38 +0200 Subject: [texhax] Tex question - cases environment In-Reply-To: References: <308511A371FD48E7A7EDBFD46DB8EAFB@PGR1> Message-ID: <1BAE7ED641F36C4F822F0597E83AAC18F864EB15AF@HMC-EXVS1.hmc.local> Thanks, I had made that modification but I realise now that it is failing for me as I am running the code after this command: \begin{longtable}{|p{14cm}|} Is there a way to get it to work inside a table? Thanks again, Regards Angela Rademeyer OPSI SYSTEMS 082 498 9332 (011) 880 7951 ext. 225 www.opsisystems.com -----Original Message----- From: Axel E. Retif [mailto:axel.retif at mac.com] Sent: 06 March 2009 11:16 AM To: philip.ratcliffe at uninsubria.it Cc: Angela Rademeyer; support at tug.org Subject: Re: [texhax] Tex question - cases environment On 6 Mar, 2009, at 02:58, Philip G. Ratcliffe wrote: >> Thanks for the help. When I run the version below I get this error: >> >> [snip] >> >> \begin{flalign*} >> a_{ig} = >> \begin{cases} >> 1 & \text{if customer $i$ belongs to profile group $g$}\\ >> 0 & \text{otherwise} \\[.3cm] >> \end{cases} && %% <------------------ these two && \end{flalign*} > > Axel's mailer seems to wrap lines that it shouldn't Oh! I see. I'll try to be more careful. Thank you. Axel From axel.retif at mac.com Sun Mar 8 13:14:02 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 08 Mar 2009 06:14:02 -0600 Subject: [texhax] Tex question - cases environment In-Reply-To: <1BAE7ED641F36C4F822F0597E83AAC18F864EB15AF@HMC-EXVS1.hmc.local> References: <308511A371FD48E7A7EDBFD46DB8EAFB@PGR1> <1BAE7ED641F36C4F822F0597E83AAC18F864EB15AF@HMC-EXVS1.hmc.local> Message-ID: <3A727E91-CF1C-42F0-B268-9F9CE439A23C@mac.com> On 8 Mar, 2009, at 03:59, Angela Rademeyer wrote: > Thanks, I had made that modification but I realise now that it is > failing for me as I am running the code after this command: > \begin{longtable}{|p{14cm}|} > Is there a way to get it to work inside a table? I don't know longtable, but the following works, with a ridiculous minipage of just 1pc: \documentclass{article} \usepackage{amsmath} \usepackage{longtable} \begin{document} \begin{longtable}{|p{14cm}|} \hline Hi\\ \hline \begin{minipage}{1pc} % <- ridiculous, but works. \[ a_{ig} = \begin{cases} 1 & \text{if customer $i$ belongs to profile group $g$}\\ 0 & \text{otherwise} \end{cases} \]\end{minipage}\par\\ % <- see the \par command \hline \end{longtable} \end{document} Best, Axel From axel.retif at mac.com Sun Mar 8 13:46:09 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 08 Mar 2009 06:46:09 -0600 Subject: [texhax] Tex question - cases environment In-Reply-To: <3A727E91-CF1C-42F0-B268-9F9CE439A23C@mac.com> References: <308511A371FD48E7A7EDBFD46DB8EAFB@PGR1> <1BAE7ED641F36C4F822F0597E83AAC18F864EB15AF@HMC-EXVS1.hmc.local> <3A727E91-CF1C-42F0-B268-9F9CE439A23C@mac.com> Message-ID: On 8 Mar, 2009, at 06:14, Axel E. Retif wrote: > On 8 Mar, 2009, at 03:59, Angela Rademeyer wrote: > >> Thanks, I had made that modification but I realise now that it is >> failing for me as I am running the code after this command: >> \begin{longtable}{|p{14cm}|} >> Is there a way to get it to work inside a table? > > I don't know longtable, but the following works, with a ridiculous > minipage of just 1pc: What is really ridiculous is that I didn't realize you don't need all that, but just the plain old $...$; that is, \documentclass{article} \usepackage{amsmath} \usepackage{longtable} \begin{document} \begin{longtable}{|p{14cm}|} \hline Hi\\ \hline\\[-8pt] $ a_{ig} = \begin{cases} 1 & \text{if customer $i$ belongs to profile group $g$}\\ 0 & \text{otherwise} \end{cases}$ \\[12pt] \hline \end{longtable} \end{document} Best, Axel From P.Taylor at Rhul.Ac.Uk Sun Mar 8 17:45:06 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Sun, 08 Mar 2009 16:45:06 +0000 Subject: [texhax] Twocolumn, fancyhdr, fix2col, marks and dictionaries Message-ID: <49B3F612.5020707@Rhul.Ac.Uk> Using the standard LaTeX document option "twocolumn" with Piet van Oostrum's "fancyhdr" and David Carlisle's "fix2col" styles, I have successfully generated left and right page headings corresponding to the headwords at the top of the left and the bottom of the right column of each page (Attachment 1). What I would like to be able to do, however, is to emulate Cappelli's [1] style of headings, where his left and right headers are themselves headword ranges : the left header consists of the first and last headwords in the left-hand column, separated by an en-dash, whilst the right header consists of the first and last headwords in the right-hand column, similarly punctuated. My current code reads (in part) \markboth {\unexpanded {\textgreek {#5}}}{\textgreek {\unexpanded {#5}}} ... \renewcommand {\chaptermark}[1]{} \renewcommand {\sectionmark}[1]{} \pagestyle {fancy} \lhead {\rightmark} \chead {---\tie \thepage \tie ---} \rhead {\leftmark} \lfoot {} \cfoot {} \rfoot {} where #5 contains the headword in extended Teubner notation. I would be very grateful for any advice on how I should modify this to emulate Cappelli's style of headings. Philip TAYLOR -------- [1] Adriano Cappelli, /Dizionario di Abbreviature latine ed italiane/, sesta edizione, Ulrico Hoepli Editore S.p.A., Milano, 1929. ISBNs 88-203-110-3, 97888-203-110-1 From chaa006 at gmail.com Sun Mar 8 13:54:20 2009 From: chaa006 at gmail.com (Philip TAYLOR (Ret'd)) Date: Sun, 08 Mar 2009 12:54:20 +0000 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <49B1A362.4040806@Rhul.Ac.Uk> References: <49B047E4.6010900@Rhul.Ac.Uk> <49B14DED.8020501@Rhul.Ac.Uk> <49B1A362.4040806@Rhul.Ac.Uk> Message-ID: <49B3BFFC.7000409@Gmail.Com> Interestingly, Heiko's "transparent" package is behaving differently depending as the image is raster or outline : attached are two PDF images, representing the same scribal notation, one in raster format and one in vector. Also attach is a screenshop of the result of embedding these two images using : \hbox spread 1 pc {\transparent {0.4}\box 0 \transparent {1.0}\hss} from which it will be seen that the counter of 0202 abr-ashmos-qrusos.pdf (raster) remains pure white, whilst the counter of 0203 abr-ashmos-qrusos1.pdf (vector) becomes grey during the transparency process. Heiko, are you able to cast any light on this behaviour, and to say whether it might be possible to make the two images more consistent after applying transparency ? Philip TAYLOR -------------- next part -------------- A non-text attachment was scrubbed... Name: abr-ashmos-qrusos.pdf Type: application/pdf Size: 2278 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090308/26fc5a8a/attachment-0002.pdf -------------- next part -------------- A non-text attachment was scrubbed... Name: abr-ashmos-qrusos1.pdf Type: application/pdf Size: 2949 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090308/26fc5a8a/attachment-0003.pdf -------------- next part -------------- A non-text attachment was scrubbed... Name: Transparency.png Type: image/png Size: 85359 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090308/26fc5a8a/attachment-0001.png From chaa006 at gmail.com Sun Mar 8 17:46:10 2009 From: chaa006 at gmail.com (Philip TAYLOR (ret'd)) Date: Sun, 08 Mar 2009 16:46:10 +0000 Subject: [texhax] Twocolumn, fancyhdr, fix2col, marks and dictionaries In-Reply-To: <49B3F612.5020707@Rhul.Ac.Uk> References: <49B3F612.5020707@Rhul.Ac.Uk> Message-ID: <49B3F652.9090605@Gmail.Com> Apologies, the attachment was omitted. Herewith. Philip TAYLOR (Ret'd) wrote: > Using the standard LaTeX document option "twocolumn" > with Piet van Oostrum's "fancyhdr" and David Carlisle's > "fix2col" styles, I have successfully generated > left and right page headings corresponding to the > headwords at the top of the left and the bottom of > the right column of each page (Attachment 1). -------------- next part -------------- A non-text attachment was scrubbed... Name: Page from Porphyrogenitus.pdf Type: application/pdf Size: 328501 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090308/1252ea52/attachment-0001.pdf From mailing_list at arcor.de Sun Mar 8 19:30:16 2009 From: mailing_list at arcor.de (Stephan Hennig) Date: Sun, 08 Mar 2009 19:30:16 +0100 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <20090308173448.GA27967@irwin.vpn.uni-freiburg.de> References: <49B047E4.6010900@Rhul.Ac.Uk> <49B14DED.8020501@Rhul.Ac.Uk> <49B1A362.4040806@Rhul.Ac.Uk> <49B3BFFC.7000409@Gmail.Com> <20090308173448.GA27967@irwin.vpn.uni-freiburg.de> Message-ID: <49B40EB8.4030607@arcor.de> Heiko Oberdiek schrieb: > The vector image first fills the counter^1 with black color > and then it fills the counter with white: > > [...] > > The transparency applies to both, the black and the white > color, the result is grey. In case Philip has full control over the path shapes, the usual approach to avoid "unfill" operations for drawing cut-outs is outlined in, e.g., , section 4.2. Best regards, Stephan Hennig From chaa006 at gmail.com Sun Mar 8 21:31:02 2009 From: chaa006 at gmail.com (Philip TAYLOR (ret'd)) Date: Sun, 08 Mar 2009 20:31:02 +0000 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <20090308173448.GA27967@irwin.vpn.uni-freiburg.de> References: <49B047E4.6010900@Rhul.Ac.Uk> <49B14DED.8020501@Rhul.Ac.Uk> <49B1A362.4040806@Rhul.Ac.Uk> <49B3BFFC.7000409@Gmail.Com> <20090308173448.GA27967@irwin.vpn.uni-freiburg.de> Message-ID: <49B42B06.3030604@Gmail.Com> Heiko Oberdiek wrote: > The transparency applies to both, the black and the white > color, the result is grey. Makes sense; thank you Heiko. > ^1 BTW: "counter" here means the hole in the middle? > (My dictionary doesn't tell something meaningful.) The (English) terminology of typefaces is well illustrated here : http://www.absolutegraphix.co.uk/trade_typeography.asp?strID=Guest ** Phil. From P.Taylor at Rhul.Ac.Uk Sun Mar 8 21:33:50 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Sun, 08 Mar 2009 20:33:50 +0000 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <49B40EB8.4030607@arcor.de> References: <49B047E4.6010900@Rhul.Ac.Uk> <49B14DED.8020501@Rhul.Ac.Uk> <49B1A362.4040806@Rhul.Ac.Uk> <49B3BFFC.7000409@Gmail.Com> <20090308173448.GA27967@irwin.vpn.uni-freiburg.de> <49B40EB8.4030607@arcor.de> Message-ID: <49B42BAE.1000805@Rhul.Ac.Uk> Stephan Hennig wrote: > In case Philip has full control over the path shapes, the usual approach > to avoid "unfill" operations for drawing cut-outs is outlined in, e.g., > , > section 4.2. Thank you, Stephan. I am afraid that we do not have that level of control; these analytical outlines were generated a long time ago, using Corel Trace V3, and it will probably be simpler to go back to the original scans and to avoid the vectorisation that we /thought/ would result in better reproduction at the time ... ** Phil. From oberdiek at uni-freiburg.de Sun Mar 8 18:34:49 2009 From: oberdiek at uni-freiburg.de (Heiko Oberdiek) Date: Sun, 8 Mar 2009 18:34:49 +0100 Subject: [texhax] Transparency or reduced saturation using Graphicx ? In-Reply-To: <49B3BFFC.7000409@Gmail.Com> References: <49B047E4.6010900@Rhul.Ac.Uk> <49B14DED.8020501@Rhul.Ac.Uk> <49B1A362.4040806@Rhul.Ac.Uk> <49B3BFFC.7000409@Gmail.Com> Message-ID: <20090308173448.GA27967@irwin.vpn.uni-freiburg.de> On Sun, Mar 08, 2009 at 12:54:20PM +0000, Philip TAYLOR (Ret'd) wrote: > Interestingly, Heiko's "transparent" package > is behaving differently depending as the image > is raster or outline : attached are two PDF > images, representing the same scribal notation, > one in raster format and one in vector. > > Also attach is a screenshop of the result of > embedding these two images using : > > \hbox spread 1 pc {\transparent {0.4}\box 0 \transparent {1.0}\hss} > > from which it will be seen that the counter of > 0202 abr-ashmos-qrusos.pdf (raster) remains pure > white, whilst the counter of 0203 abr-ashmos-qrusos1.pdf > (vector) becomes grey during the transparency > process. > > Heiko, are you able to cast any light on this > behaviour, and to say whether it might be possible > to make the two images more consistent after applying > transparency ? The vector image first fills the counter^1 with black color and then it fills the counter with white: 1 0 obj << ... >> stream 0 0 0 1 k % this is black ... f* % fill black area, it includes the counter 0 0 0 0 k % white ... f* % fill white area endstream endobj Replace the second fill operator "f" with "%", then you see the image entirely black. The transparency applies to both, the black and the white color, the result is grey. Yours sincerely Heiko ^1 BTW: "counter" here means the hole in the middle? (My dictionary doesn't tell something meaningful.) From rajurenjitgrover at yahoo.com Mon Mar 9 05:51:09 2009 From: rajurenjitgrover at yahoo.com (Raju Grover) Date: Sun, 8 Mar 2009 21:51:09 -0700 (PDT) Subject: [texhax] Sir, please can you help me? Message-ID: <982661.43883.qm@web39105.mail.mud.yahoo.com> Respected Sir, ? Please can you write a Tex macro for me. I am willing to pay you for it, so please also sent me your account details so that I may deposit the amount you specify. ? This is what I want to write in my paper. ? A_1-Theorem. . . . Proof. . . . ? A_2-Theroem. . . . Proof. . . . ? And so on. ? So if I write ? \newtheorem*{thm}{} ? then there will be dot before A_1-Theorem, . . . So I need to get rid of that dot. So can you please write a theoremstyle which does not have a dot in headpunct. I do not think I can use a new style file. I am not a master of Tex. I know just enough for my pourpose. ? Thanking you ? Your sincerely ? Raju Grover. ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090308/f221ef50/attachment.html From rajurenjitgrover at yahoo.com Mon Mar 9 05:56:26 2009 From: rajurenjitgrover at yahoo.com (Raju Grover) Date: Sun, 8 Mar 2009 21:56:26 -0700 (PDT) Subject: [texhax] Sir, please can you help me? Message-ID: <14340.4601.qm@web39107.mail.mud.yahoo.com> Respected Sir, Please can you write a Tex macro for me. I am willing to pay you for it, so please also sent me your account details so that I may deposit the amount you specify. This is what I want to write in my paper. A_1-Theorem. . . . Proof. . . . A_2-Theorem. . . . Proof. . . . And so on. So if I write \newtheorem*{thm}{} then there will be dot before A_1-Theorem, . . . So I need to get rid of that dot. So can you please write a theoremstyle which does not have a dot in headpunct. I do not think I can use a new style file. I am not a master of Tex. I know just enough for my purpose. Thanking you Your sincerely Raju Grover. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090308/d14a37c2/attachment.html From millstadtf at gmail.com Mon Mar 9 06:16:31 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Sun, 8 Mar 2009 21:16:31 -0800 Subject: [texhax] Sir, please can you help me? In-Reply-To: <982661.43883.qm@web39105.mail.mud.yahoo.com> References: <982661.43883.qm@web39105.mail.mud.yahoo.com> Message-ID: <44ff02430903082216x58ea2991wf95c6adfdedce9ae@mail.gmail.com> Check out this sample code: *************************************** \documentclass{article} \usepackage{amsthm, amssymb, amsmath} \newtheoremstyle{TheoremExample} % name of the style to be used {3pt}%{spaceabove}% measure of space to leave above the theorem. E.g.: 3pt {3pt}%{spacebelow}% measure of space to leave below the theorem. E.g.: 3pt {}%{bodyfont}% name of font to use in the body of the theorem {}%{indent}% measure of space to indent {}%{headfont}% name of head font {\\}%{headpunctuation}% punctuation between head and body {.5em}%{headspace}% space after theorem head {A\_\thmnumber{#2}-\thmname{#1}}%{headspec}% Manually specify head \theoremstyle{TheoremExample} \newtheorem{theorem}{Theorem} \begin{document} \begin{theorem} This is a test \end{theorem} \end{document} *************************************** Also see the following links for more information: http://en.wikibooks.org/wiki/LaTeX/Theorems http://www.stat.umn.edu/~charlie/amslatex.html No need for payment ;-) -Bob Wilson On Sun, Mar 8, 2009 at 8:51 PM, Raju Grover wrote: > Respected Sir, > > > > Please can you write a Tex macro for me. I am willing to pay you for it, so > please also sent me your account details so that I may deposit the amount > you specify. > > > > This is what I want to write in my paper. > > > > A_1-Theorem. . . . > > Proof. . . . > > > > A_2-Theroem. . . . > > Proof. . . . > > > > And so on. > > > > So if I write > > > > \newtheorem*{thm}{} > > > > then there will be dot before A_1-Theorem, . . . > > So I need to get rid of that dot. So can you please write a theoremstyle > which does not have a dot in headpunct. I do not think I can use a new > style file. I am not a master of Tex. I know just enough for my pourpose. > > > > Thanking you > > > > Your sincerely > > > > Raju Grover. > > > > > _______________________________________________ > 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/20090308/ba0ceca7/attachment-0001.html From asnd at triumf.ca Mon Mar 9 12:36:17 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 09 Mar 2009 04:36:17 -0700 Subject: [texhax] \marginpars on left In-Reply-To: References: Message-ID: Michael Barr writes: > I have been trying to get \marginpars to print all on the left (in a > two-sided style). \makeatletter \@mparswitchfalse > \newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} And get rid of such horribly broken definitions. -- Donald Arseneau asnd at triumf.ca From angela.rademeyer at opsi.co.za Mon Mar 9 15:34:40 2009 From: angela.rademeyer at opsi.co.za (Angela Rademeyer) Date: Mon, 9 Mar 2009 16:34:40 +0200 Subject: [texhax] Tex question - cases environment In-Reply-To: References: <308511A371FD48E7A7EDBFD46DB8EAFB@PGR1> <1BAE7ED641F36C4F822F0597E83AAC18F864EB15AF@HMC-EXVS1.hmc.local> <3A727E91-CF1C-42F0-B268-9F9CE439A23C@mac.com> Message-ID: <1BAE7ED641F36C4F822F0597E83AAC18F864EB1D19@HMC-EXVS1.hmc.local> Thanks you so much - works perfectly! Angela Rademeyer OPSI SYSTEMS 082 498 9332 (011) 880 7951 ext. 225 www.opsisystems.com -----Original Message----- From: Axel E. Retif [mailto:axel.retif at mac.com] Sent: 08 March 2009 02:46 PM To: Angela Rademeyer Cc: support at tug.org Support Subject: Re: [texhax] Tex question - cases environment On 8 Mar, 2009, at 06:14, Axel E. Retif wrote: > On 8 Mar, 2009, at 03:59, Angela Rademeyer wrote: > >> Thanks, I had made that modification but I realise now that it is >> failing for me as I am running the code after this command: >> \begin{longtable}{|p{14cm}|} >> Is there a way to get it to work inside a table? > > I don't know longtable, but the following works, with a ridiculous > minipage of just 1pc: What is really ridiculous is that I didn't realize you don't need all that, but just the plain old $...$; that is, \documentclass{article} \usepackage{amsmath} \usepackage{longtable} \begin{document} \begin{longtable}{|p{14cm}|} \hline Hi\\ \hline\\[-8pt] $ a_{ig} = \begin{cases} 1 & \text{if customer $i$ belongs to profile group $g$}\\ 0 & \text{otherwise} \end{cases}$ \\[12pt] \hline \end{longtable} \end{document} Best, Axel From barr at math.mcgill.ca Tue Mar 10 13:28:35 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Tue, 10 Mar 2009 07:28:35 -0500 (EST) Subject: [texhax] \marginpars on left Message-ID: I tried the technique that Donald Arsenau suggested, namely \makeatletter \@mparswitchfalse \makeatother \newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} Unfortunately, the effect is to turn off \marginpar entirely. If I replace the definition of \xlabel by \newcommand\xlabel[1]{\marginpar{#1}\label{#1}} (dropping the optional argument) I get all the labels on the right. I guess I can live with that. Michael Barr From uwe.lueck at web.de Tue Mar 10 14:19:39 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 10 Mar 2009 14:19:39 +0100 Subject: [texhax] \marginpars on left In-Reply-To: Message-ID: <5.1.0.14.0.20090310135256.02f103f0@pop3.web.de> At 13:28 10.03.09, Michael Barr wrote: >I tried the technique that Donald Arsenau suggested, namely >\makeatletter >\@mparswitchfalse >\makeatother >\newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} > >Unfortunately, the effect is to turn off \marginpar entirely. If I >replace the definition of \xlabel by >\newcommand\xlabel[1]{\marginpar{#1}\label{#1}} >(dropping the optional argument) I get all the labels on the right. I >guess I can live with that. Donald Arseneau and I had tried to make clear that using \marginpar with an empty mandatory argument is wrong, it is the reason when you wonder that somewhere nothing is printed. The mandatory argument is (by default ...) printed on right pages, so when it is empty, nothing is printed on right pages. At 12:36 09.03.09, Donald Arseneau wrote: >Michael Barr writes: > > \newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} > >And get rid of such horribly broken definitions. >\makeatletter >\@mparswitchfalse >\makeatother >\newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} is *not* what Donald Arseneau suggested, he suggested using \marginpar without optional argument after >\makeatletter >\@mparswitchfalse >\makeatother in the preamble. He may have overlooked your \label. So the suggestion rather is >\makeatletter >\@mparswitchfalse >\makeatother >\newcommand\xlabel[1]{\marginpar{#1}\label{#1}} It might be safer to precede \marginpar with \leavevmode. -- Uwe. From saherkh.87 at gmail.com Mon Mar 9 16:01:02 2009 From: saherkh.87 at gmail.com (saher khniefes) Date: Mon, 9 Mar 2009 17:01:02 +0200 Subject: [texhax] help in latex Message-ID: hello. i dont know if can find help here but i'll try :) im trying to invoke latex from php program . latex servise is in a remot linux server . i tried to do that with c php class render and .. but without success hope you can help or direct me . thanks sahar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090309/cb78a999/attachment.html From Timothy.Benham at volvo.com Tue Mar 10 14:08:15 2009 From: Timothy.Benham at volvo.com (Benham Timothy) Date: Tue, 10 Mar 2009 14:08:15 +0100 Subject: [texhax] Help with cropping an image Message-ID: Dear support, I am writing to you as I don't know where to turn for help, I hope you can help or re-direct. My company does not approve of anything other than MS Word so please don't refer me to local help. I use pdfLatex in MikTex 2.6. I have noticed that when I use the options 'viewport' and 'clip' in \includegraphics, I end up with very large pdf files since I often include only a small part of the picture. I then usually reduce the file by exporting from GSView at 300dpi. This usually works fine but is rotating a page in my current document so I want to eliminate the need. I have noticed that if I look at the original pdf file and select an image which has been inserted in this way, it is cropped on screen but not cropped in the file. The whole picture is there and I can copy it into another application, and hence the large file size as the whole of all of my images has been included. I have spent hours looking for a way of eliminating this problem but find only the standard info. Is there a way of doing a genuine, permenant crop to an image? Is there a default which can be set in the pdf compiler for example? Yours hopefully Tim ----------------------------------------------------------------------------------------------- Timothy Benham, Dr. Volvo Technology Corporation Avd. 06110, Chalmers Teknikpark, S-412 88 Gothenburg Sweden Tel: +46 (0)31 322 09 85 Fax: +46 (0)31 82 08 87 Please note that I am not normally at work on Wednesdays. ----------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090310/e3b0bb64/attachment.html From philip.ratcliffe at fastwebnet.it Tue Mar 10 18:51:23 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Tue, 10 Mar 2009 18:51:23 +0100 Subject: [texhax] Help with cropping an image In-Reply-To: Message-ID: <33E721B3387641CA91776B768C6F887E@PGR1> > I use pdfLatex in MikTex 2.6. I have noticed that when I use > the options 'viewport' and 'clip' in \includegraphics, I end > up with very large pdf files since I often include only a > small part of the picture. I then usually reduce the file by > exporting from GSView at 300dpi. This usually works fine but > is rotating a page in my current document so I want to > eliminate the need. > > I have noticed that if I look at the original pdf file and > select an image which has been inserted in this way, it is > cropped on screen but not cropped in the file. The whole > picture is there and I can copy it into another application, > and hence the large file size as the whole of all of my > images has been included. > > I have spent hours looking for a way of eliminating this > problem but find only the standard info. Is there a way of > doing a genuine, permenant crop to an image? Is there a > default which can be set in the pdf compiler for example? One possible solution that comes to mind is to use the capabilty in many pdf readers of taking a snapshot of a rectangular area of a pdf page (rather like cropping), which can then be saved separately as pdf, jpg or whatever. For example, I use PDF-XChange (the snapshot tool is on the tool bar), open XnView and Import Clipboard (in the Fle menu). The image so created can then be saved as you prefer. Cheers, Phil From P.Taylor at Rhul.Ac.Uk Tue Mar 10 22:00:49 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Tue, 10 Mar 2009 21:00:49 +0000 Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> References: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> Message-ID: <49B6D501.3070807@Rhul.Ac.Uk> Uwe L?ck wrote: > At 04:10 04.03.09, David G. Cantor wrote: >> All these are used in mathematics and related disciplines. In his >> TeXbook Don Knuth devotes 4 chapters (16, 17, 18, and 19) to how to >> typeset mathematics and the fine points of doing so. > > How can blind people access the TeXbook? All I can contribute to my > question is that the copyright holder is the American Mathematical Society, > so the question should be directed to *them* (I am not a member). Uwe raises a rather important issue here, and I am sorry that I missed the message when it first appeared. I recently asked the TeX Live team why the TeXbook was not included in the TeX Live distribution, and after a few off-beam responses I think we finally arrived at the heart of the matter when Karl Berry (TUG President) wrote : > [T]he requirement is that everything in the [TeX Live] > distribution be free according to the FSF definition. > texbook.tex isn't. So, the obvious source for a machine-readable copy of the TeXbook (TeX Live) cannot contain such a copy, because of the constraints that the TeX Live team have placed on what can and cannot be included. Fortunately, TeX Live is not the only source of TeX. Somewhat larger (and now so large that it is no longer distributed on CD or DVD, as far as I know) is CTAN itself : the Comprehensive TeX Archive. And of course CTAN /does/ contain a machine-readable copy of "The TeXbook", at http://ctan.org/get/systems/knuth/dist/tex/texbook.tex However, once one has acquired that file and peered inside, one reads : > % This manual is copyright (C) 1984 by the American Mathematical Society. > % All rights are reserved! > % The file is distributed only for people to see its examples of TeX input, > % not for use in the preparation of books like The TeXbook. > % Permission for any other use of this file must be obtained in writing > % from the copyright holder and also from the publisher (Addison-Wesley). > \loop\iftrue > \errmessage{This manual is copyrighted and should not be TeXed}\repeat so even when one has the source, one is not allowed to process it. So to return to Uwe's question : "How can blind people access the TeXbook?", the answer is "with great difficulty", if we assume that what he meant was "/legally/ access the TeXbook?". But surely in these enlightened days of "equal access for all", there must be some legislation to cover issues such as these ? And I am reasonably certain that Don Knuth himself would not want the copyright issue to be a bar that prevented blind people from gaining access. So what I suggest is that we raise this with the TUG Board (of which I am a member), and ask whether they are willing to make representations to DEK, to AMS and to A-W, asking for a blanket waiver to allow those to whom a printed copy of the book is useless (such as those who are blind), and who have a genuine need to consult the TeXbook, to be allowed to process the machine-readable source (on condition, of course, that the resulting DVI/PDF file is solely for their own use, and will never be passed on to others). What do other TeXhax readers think ? Philip TAYLOR From P.Taylor at Rhul.Ac.Uk Tue Mar 10 22:46:30 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Tue, 10 Mar 2009 21:46:30 +0000 Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: References: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> <49B6D501.3070807@Rhul.Ac.Uk> Message-ID: <49B6DFB6.4090701@Rhul.Ac.Uk> Barbara Beeton wrote: > the texbook file has no special facilities for > making it "accessible" in any meaningful way > as a pdf file, and i've decoded enough dvi files > to not wish that on anyone who's never tried to > do it before. that leaves the file texbook.tex > itself for inspection via an editor with voice > output. and there's certainly no prohibition > against that. > > would that not be a viable approach, if not > exactly trivial? Well, I defer to those with direct experience of screen readers and similar, but I would have /thought/ that the result of PdfTeX'ing "texbook.tex" would result in a document that is considerably more accessible than the raw source. Are there any screen-reader users who could comment more informedly on this ? ** Phil. From bnb at ams.org Tue Mar 10 22:32:06 2009 From: bnb at ams.org (Barbara Beeton) Date: Tue, 10 Mar 2009 17:32:06 -0400 (EDT) Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: <49B6D501.3070807@Rhul.Ac.Uk> References: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> <49B6D501.3070807@Rhul.Ac.Uk> Message-ID: phil, > How can blind people access the TeXbook? All I can contribute to my > question is that the copyright holder is the American Mathematical > Society, so the question should be directed to *them* (I am not a member). Uwe raises a rather important issue here, and I am sorry that I missed the message when it first appeared. I recently asked the TeX Live team why the TeXbook was not included in the TeX Live distribution, and after a few off-beam responses I think we finally arrived at the heart of the matter when Karl Berry (TUG President) wrote : > [T]he requirement is that everything in the [TeX Live] > distribution be free according to the FSF definition. > texbook.tex isn't. So, the obvious source for a machine-readable copy of the TeXbook (TeX Live) cannot contain such a copy, because of the constraints that the TeX Live team have placed on what can and cannot be included. Fortunately, TeX Live is not the only source of TeX. Somewhat larger (and now so large that it is no longer distributed on CD or DVD, as far as I know) is CTAN itself : the Comprehensive TeX Archive. And of course CTAN /does/ contain a machine-readable copy of "The TeXbook", at http://ctan.org/get/systems/knuth/dist/tex/texbook.tex However, once one has acquired that file and peered inside, one reads : > % This manual is copyright (C) 1984 by the American Mathematical Society. > % All rights are reserved! > % The file is distributed only for people to see its examples of TeX > input, > % not for use in the preparation of books like The TeXbook. > % Permission for any other use of this file must be obtained in writing > % from the copyright holder and also from the publisher (Addison-Wesley). > \loop\iftrue > \errmessage{This manual is copyrighted and should not be TeXed}\repeat so even when one has the source, one is not allowed to process it. So to return to Uwe's question : "How can blind people access the TeXbook?", the answer is "with great difficulty", if we assume that what he meant was "/legally/ access the TeXbook?". But surely in these enlightened days of "equal access for all", there must be some legislation to cover issues such as these ? And I am reasonably certain that Don Knuth himself would not want the copyright issue to be a bar that prevented blind people from gaining access. So what I suggest is that we raise this with the TUG Board (of which I am a member), and ask whether they are willing to make representations to DEK, to AMS and to A-W, asking for a blanket waiver to allow those to whom a printed copy of the book is useless (such as those who are blind), and who have a genuine need to consult the TeXbook, to be allowed to process the machine-readable source (on condition, of course, that the resulting DVI/PDF file is solely for their own use, and will never be passed on to others). What do other TeXhax readers think ? the texbook file has no special facilities for making it "accessible" in any meaningful way as a pdf file, and i've decoded enough dvi files to not wish that on anyone who's never tried to do it before. that leaves the file texbook.tex itself for inspection via an editor with voice output. and there's certainly no prohibition against that. would that not be a viable approach, if not exactly trivial? -- bb From tjm1983 at gmail.com Tue Mar 10 23:29:52 2009 From: tjm1983 at gmail.com (Tim McKenzie) Date: Wed, 11 Mar 2009 11:29:52 +1300 Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: References: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> <49B6D501.3070807@Rhul.Ac.Uk> Message-ID: <200903111129.55506.tjm1983@gmail.com> On Wednesday 11 March 2009 10:32:06 Barbara Beeton wrote: > that leaves the file texbook.tex > itself for inspection via an editor with voice > output. and there's certainly no prohibition > against that. Tell that to the Authors Guild: http://www.lessig.org/blog/2009/02/caving_into_bullies_aka_here_w.html Tim <>< -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. Url : http://tug.org/pipermail/texhax/attachments/20090311/0cabeae2/attachment.bin From uwe.lueck at web.de Tue Mar 10 23:44:29 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 10 Mar 2009 23:44:29 +0100 Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: <49B6DFB6.4090701@Rhul.Ac.Uk> References: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> <49B6D501.3070807@Rhul.Ac.Uk> Message-ID: <5.1.0.14.0.20090310232434.02be5360@pop3.web.de> >At 04:10 04.03.09, David G. Cantor wrote: > >All these are used in mathematics and related disciplines. In his > >TeXbook Don Knuth devotes 4 chapters (16, 17, 18, and 19) to how to > >typeset mathematics and the fine points of doing so. At 21:33 06.03.09, Uwe L?ck wrote: >How can blind people access the TeXbook? At 22:32 10.03.09, Barbara Beeton wrote: >the texbook file has no special facilities for >making it "accessible" in any meaningful way >as a pdf file, and i've decoded enough dvi files >to not wish that on anyone who's never tried to >do it before. that leaves the file texbook.tex >itself for inspection via an editor with voice >output. and there's certainly no prohibition >against that. > >would that not be a viable approach, if not >exactly trivial? At 22:46 10.03.09, Philip TAYLOR wrote: >Well, I defer to those with direct experience of screen >readers and similar, but I would have /thought/ that >the result of PdfTeX'ing "texbook.tex" would result >in a document that is considerably more accessible >than the raw source. Are there any screen-reader >users who could comment more informedly on this ? At 22:36 26.01.09, P. R. Stanley wrote: >BTW, the reason I'm asking the list is because I'm blind and the end >result of a latex compilation i.e. dvi or pdf isn't very accessible. >So I can't get the information via my screen reader. [compiled by Uwe Lueck -- alright!?] From asnd at triumf.ca Wed Mar 11 01:55:14 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 10 Mar 2009 17:55:14 -0700 Subject: [texhax] \marginpars on left In-Reply-To: References: Message-ID: Michael Barr writes: > I tried the technique that Donald Arsenau suggested, namely > \makeatletter > \@mparswitchfalse > \makeatother > \newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} I also said: > > \newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}} > >And get rid of such horribly broken definitions. But you retained it. Just use \marginpar{#1}. Why don't you just use showkeys or similar package? If you really need to roll your own, it will probably need some \@bsphack and \@esphack to prevent double spaces in the text. -- Donald Arseneau asnd at triumf.ca From prstanley at ntlworld.com Wed Mar 11 03:35:11 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Wed, 11 Mar 2009 02:35:11 +0000 Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: <49B6DFB6.4090701@Rhul.Ac.Uk> References: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> <49B6D501.3070807@Rhul.Ac.Uk> <49B6DFB6.4090701@Rhul.Ac.Uk> Message-ID: <20090311023510.TQDQ21638.aamtaout02-winn.ispmail.ntl.com@pine.ntlworld.com> Hi folks, A few comments: 1. "raw LaTeX" is by far the most accessible format. The information in a source file conveys exactly what appears in visual form in the PDF or the DVI. Moreover, there's nothing more liberating than producing professional quality documents with no sight. 2. To the best of my knowledge the law in England and Wales stipulates that the conversion of published materials into a format suitable for the blind or, people with other disabilities, is permissible so long as the converted materials are used for academic or generally non-commercial purposes. 3. I should forget PDF or, worse still, DVI. PDF specially is the opposite of everything raw LaTeX offers the blind. No matter how much progress is made by the developers of screen readers somehow PDF remains less than accessible. It's a bit like failed relationship in which one partner tries to win the other back with expensive gifts. Regards Paul At 21:46 10/03/2009, you wrote: >Barbara Beeton wrote: > > > the texbook file has no special facilities for > > making it "accessible" in any meaningful way > > as a pdf file, and i've decoded enough dvi files > > to not wish that on anyone who's never tried to > > do it before. that leaves the file texbook.tex > > itself for inspection via an editor with voice > > output. and there's certainly no prohibition > > against that. > > > > would that not be a viable approach, if not > > exactly trivial? > >Well, I defer to those with direct experience of screen >readers and similar, but I would have /thought/ that >the result of PdfTeX'ing "texbook.tex" would result >in a document that is considerably more accessible >than the raw source. Are there any screen-reader >users who could comment more informedly on this ? > >** 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 From hassan.hazem at gmail.com Tue Mar 10 15:33:37 2009 From: hassan.hazem at gmail.com (hazem hasan) Date: Tue, 10 Mar 2009 15:33:37 +0100 Subject: [texhax] latex problem Message-ID: <724aaed20903100733w30844c0dje8d09ccb89930598@mail.gmail.com> hello i want to include a pdf file in my document for that i use: \includepdf[pages={1-7}]{tsas.pdf} but the file start at the next page??? i want it to stay at the same page -- thank's cordialement Hazem HASAN -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090310/09c3eb99/attachment.html From jbryant at mail.math.fsu.edu Tue Mar 10 16:54:05 2009 From: jbryant at mail.math.fsu.edu (John Bryant) Date: Tue, 10 Mar 2009 11:54:05 -0400 Subject: [texhax] pdflatex Message-ID: <90E701AD-D3A2-46F6-BCD8-626AED82A9E2@math.fsu.edu> I installed an upgrade of texshop and can no longer compile files. I get the following error message. Can't find required tool. /usr/texbin/pdflatex does not exist. Perhaps TeXLive was not installed or was removed during a system upgrade. If so, go to the TeXShop web site and follow the instructions to (re)install TeXLive. Another possibility is that a tool path is incorrectly configured in TeXShop preferences. This can happen if you are using the fink teTeX distribution. I went to your website to try to follow the instructions as directed, but I can't see how to do it. John Bryant John Bryant 3005 Brandemere Drive Tallahassee, FL 32312 (850) 385-6610 jbryant at math.fsu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090310/0ec840ee/attachment-0001.html From jgandradev at mac.com Tue Mar 10 22:23:46 2009 From: jgandradev at mac.com (=?ISO-8859-1?Q?Jes=FAs_Guillermo_Andrade?=) Date: Tue, 10 Mar 2009 16:53:46 -0430 Subject: [texhax] Legal documents in latex. Message-ID: <4EDF3D69-2279-44DE-AB04-7CD78408FAE6@mac.com> Hello everyone: I am currently in need of producing a massive amount of documents abiding to the legal rules implemented in Venezuela. However, I find myself unable to set them up properly because of (perhaps) an apparent lack of options. Let me explain: 1. I use latex via Lyx and MacTex latest version. 2. I need to produce a twosided paper format with different margins and a different vertical measure of the total body in even and odd pages. The size of the full page is 216 width and 330mm height. The total body is 24.5cm height in all odd pages and of 28.1cm in all even pages. The inner and outer margins should be inverted (as normal with the twoside option). My problem is that I dont know how to change the total body for the text so it changes between odd and even pages. The geometry package does not allow this kind of arrangement. This is the legal description of the paper I would need (its a rough translation from the spanish): "The legal paper dimensions must be three hundred and thirty (330) millimeters long by two hundred and sixteen (216) millimeters wide, and must show printed at the top center (heading) the front Coat of Arms of the Republic, for the following orlado inscription: "Republic of Venezuela, rent, stamp duty. hundredth Two Units Value Tax (0.02 UT). Also, will show the prints and signs of control may be determined by the Tax Administration. The front (odd) page must have (30) horizontal lines for writing, each one hundred and seventy five (175) millimeters in length (wide), numbered at both ends of 1-30 on the odd side, and thirty-four (34 ) horizontal lines for writing, each one hundred and seventy five (175) millimeters in length, numbered at both ends of 31 to 64 in every even side." Could you help me please? This is the tex preamble I currently have in my file (perhaps this jsut doesnt work). %% LyX 1.6.1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[11pt,twoside,spanish]{paper} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{geometry} \geometry{verbose,paperwidth=216mm,paperheight=330mm,headsep=0in} \pagestyle{empty} \usepackage{color} \usepackage{babel} \addto\shorthandsspanish{\spanishdeactivate{~<>}} \usepackage{setspace} \setstretch{1.79} \usepackage[unicode=true, bookmarks=true,bookmarksnumbered=true,bookmarksopen=false, breaklinks=false,pdfborder={0 0 1},backref=section,colorlinks=true] {hyperref} \hypersetup{ pdfauthor={Jes??s Guillermo Andrade (Abg.)}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. %--------------------------------------------------------------- % Carga de Paquetes. %--------------------------------------------------------------- \pagestyle{empty} \usepackage{graphics} \usepackage{graphicx} \usepackage{epsfig} \usepackage{fancyhdr} \fancyhf{} % clear all header and footer fields \usepackage{color} \usepackage{rotate} \usepackage{cite} \usepackage{theorem} \usepackage{wrapfig} \usepackage{lineno} \usepackage[T1]{fontenc} \usepackage{libertine} \renewcommand*\oldstylenums[1]{{\fontfamily{fxlj}\selectfont #1}} \usepackage{titlesec} \titlespacing*{\section}{-30pt}{1pt}{1pt} %--------------------------------------------------------------- % Configuracion de Paginas. %--------------------------------------------------------------- \setlength\headheight{2cm} \usepackage{geometry} \geometry{papersize={216mm,330mm}, top=3cm, bottom=2.5cm, left=4cm, right=1.6cm, hmargin={4cm,1.6cm}} \setlength\headsep{0.85cm} %--------------------------------------------------------------- % ENCABEZADOS DE PAGINA % Preparacion de latex %--------------------------------------------------------------- \pagestyle{fancy} \fancyhead{} % clear all header fields \fancyhead[OL]{Asunto: KP02-L-2008-009999} \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} % Entrada de fancyhdr y reseteo. \fancyhead[LE,RO]{\slshape \rightmark} \fancyhead[RO]{\includegraphics[width=2cm]{amlogo.eps}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} \fancyfoot[LE,RO]{\thepage} %\fancyfoot[LO,CE]{From: K. Grant} %\fancyfoot[CO,RE]{To: Dean A. Smith} Si un programa es ?til, hay que modificarlo. Tercera Ley de programaci?n. ------------------------------ 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/20090310/f3f87166/attachment-0001.html From luxembul at tamug.edu Wed Mar 11 03:44:00 2009 From: luxembul at tamug.edu (Leon Luxemburg) Date: Tue, 10 Mar 2009 21:44:00 -0500 Subject: [texhax] (no subject) Message-ID: <2A53CD0B9B67BD46A346B33592065D1E271D98@tamugex.tamug.edu> I have seen on your website a software review of ms word to latex conversion program. Unfortunately, I can not find it anymore. Is there a recent better converter of this sort? Thank you very much for your reply, Leon Luxemburg, Ph.D. From axel.retif at mac.com Wed Mar 11 07:50:51 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 11 Mar 2009 00:50:51 -0600 Subject: [texhax] pdflatex In-Reply-To: <90E701AD-D3A2-46F6-BCD8-626AED82A9E2@math.fsu.edu> References: <90E701AD-D3A2-46F6-BCD8-626AED82A9E2@math.fsu.edu> Message-ID: <1EFF2FBF-AC44-41E2-A73B-23A58BDD0844@mac.com> On 10 Mar, 2009, at 09:54, John Bryant wrote: I'm ccing to Richard Koch, TeXShop's creator and MacTeX maintainer. > I installed an upgrade of texshop and can no longer compile files. > I get the following error message. > > Can't find required tool. > > /usr/texbin/pdflatex does not exist. Perhaps TeXLive was not > installed or was removed during a system upgrade. If so, go to the > TeXShop web site and follow the instructions to (re)install TeXLive. > Another possibility is that a tool path is incorrectly configured in > TeXShop preferences. This can happen if you are using the fink teTeX > distribution. > > I went to your website to try to follow the instructions as > directed, but I can't see how to do it. Which TeX distribution are you using? Maybe is an old one or it might be Fink's or MacPorts. Do you have more than one distribution? Did you do an Archive and Install of your OS recently? Best, Axel From daleif at imf.au.dk Wed Mar 11 10:21:34 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 11 Mar 2009 10:21:34 +0100 Subject: [texhax] latex problem In-Reply-To: <724aaed20903100733w30844c0dje8d09ccb89930598@mail.gmail.com> References: <724aaed20903100733w30844c0dje8d09ccb89930598@mail.gmail.com> Message-ID: <49B7829E.8080206@imf.au.dk> hazem hasan wrote: > hello > i want to include a pdf file in my document for that i use: > > \includepdf[pages={1-7}]{tsas.pdf} > but the file start at the next page??? > i want it to stay at the same page > > that is not how \includepdf work, each page og the pdf is included as a page (picture) of its own and placed in the background. Since the page will fill the entire page of your document, how would there be enough space on the current page? -- /daleif From uwe.lueck at web.de Wed Mar 11 10:35:05 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 11 Mar 2009 10:35:05 +0100 Subject: [texhax] (no subject) [word to latex] In-Reply-To: <2A53CD0B9B67BD46A346B33592065D1E271D98@tamugex.tamug.edu> Message-ID: <5.1.0.14.0.20090311103136.02667640@pop3.web.de> At 03:44 11.03.09, Leon Luxemburg wrote: >I have seen on your website a software review of ms word to latex >conversion program. Unfortunately, I can not find it anymore. Is there a >recent better converter of this sort? You may be thinking of www.tug.org/utilities/texconv/pctotex.html -- Uwe. From barr at math.mcgill.ca Wed Mar 11 14:28:49 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Wed, 11 Mar 2009 08:28:49 -0500 (EST) Subject: [texhax] Showing unused macros Message-ID: A propos my previous question about showing labels, Donald Arsenau suggested using the package showkeys, which works beautifully. Now I have another question. It seems to me that there is a package that scans a file and finds unused macros, but I couldn't find it at CTAN. Is there such a package? Michael Barr From bnb at ams.org Wed Mar 11 14:39:30 2009 From: bnb at ams.org (Barbara Beeton) Date: Wed, 11 Mar 2009 09:39:30 -0400 (EDT) Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: <200903111129.55506.tjm1983@gmail.com> References: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> <49B6D501.3070807@Rhul.Ac.Uk> <200903111129.55506.tjm1983@gmail.com> Message-ID: > that leaves the file texbook.tex > itself for inspection via an editor with voice > output. and there's certainly no prohibition > against that. Tell that to the Authors Guild: http://www.lessig.org/blog/2009/02/caving_into_bullies_aka_here_w.html okay, thanks. however, to clarify, i am sure that don knuth would have no problem with someone using an editor with voice output on the texbook file. his specific prohibition is against typesetting it. however, the file does have this (more restrictive) message in the heading: % The file is distributed only for people to see its examples of TeX input, % not for use in the preparation of books like The TeXbook. % Permission for any other use of this file must be obtained in writing % from the copyright holder and also from the publisher (Addison-Wesley). i will inquire whether a "blanket" authorization can be made for the case of blind users; i know that permission has been granted in the past. note to paul stanley: victor eijkhout's book, "tex by topic", is available from ctan in latex form. there are several files, located in http://www.ctan.org/tex-archive/info/texbytopic/ although this really goes into the guts of tex, is not in any way introductory, and doesn't explain math usage, it might still be of interest. start by looking for "preface"; the book starts with a copy of the gnu license, which isn't of \emph{tex}` interest. -- bb From P.Taylor at Rhul.Ac.Uk Wed Mar 11 14:47:33 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Wed, 11 Mar 2009 13:47:33 +0000 Subject: [texhax] ldots, cdots, ddots, binom, blah, blah, [blind] In-Reply-To: References: <5.1.0.14.0.20090306212735.02657990@pop3.web.de> <49B6D501.3070807@Rhul.Ac.Uk> <200903111129.55506.tjm1983@gmail.com> Message-ID: <49B7C0F5.1030304@Rhul.Ac.Uk> Barbara Beeton wrote: > i will inquire whether a "blanket" authorization > can be made for the case of blind users; i know > that permission has been granted in the past. Thank you, Barbara : that would be very helpful. ** Phil. From uwe.lueck at web.de Wed Mar 11 15:17:38 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 11 Mar 2009 15:17:38 +0100 Subject: [texhax] Showing unused macros In-Reply-To: Message-ID: <5.1.0.14.0.20090311151527.0266b340@pop3.web.de> At 14:28 11.03.09, Michael Barr wrote: >It seems to me that there is a package that scans a >file and finds unused macros, but I couldn't find it at CTAN. Is there >such a package? maybe cmdtrack by Michael Downes, according to the TeX catalogue -- Uwe. [thanks to Juergen Fenn's bytopic Catalogue] From texhax at uit.co.uk Wed Mar 11 15:39:50 2009 From: texhax at uit.co.uk (Niall Mansfield) Date: Wed, 11 Mar 2009 14:39:50 +0000 Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: References: Message-ID: <49B7CD36.2000000@uit.co.uk> Leon, > Date: Tue, 10 Mar 2009 21:44:00 -0500 > From: "Leon Luxemburg" > I have seen on your website a software review of ms word to latex conversion program. > Unfortunately, I can not find it anymore. Is there a recent better converter of this sort? We have used Word2TeX from Chikrii Softlab a lot. It is a commerical product. We paid about $100 (don't recall exactly) for a licence. It's probably a single-user licence, but that doesn't matter to us, because we use it only rarely -- to convert large Word documents, and once they are converted, we throw away the Word version. The money we spent was more than saved in time, by getting LaTeX output that was almost exactly what we needed. (It wasn't perfect; we still had to do significant amounts of tedious editing.) Disclaimers: We have no affiliation with Chikrii Softlab. There may be other, perhaps free, tools that are just as good, but because we need this thing so rarely we haven't spent any time look for or evaluating them. ------------------------------------------------------------- Niall Mansfield, Publisher UIT Cambridge Ltd. PO Box 145 Cambridge CB4 1GQ, England tel: +44 1223 302 041 ------------------------------------------------------------- Subject to UIT's terms and conditions, available on request. From P.Taylor at Rhul.Ac.Uk Wed Mar 11 16:03:29 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Wed, 11 Mar 2009 15:03:29 +0000 Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <49B7CD36.2000000@uit.co.uk> References: <49B7CD36.2000000@uit.co.uk> Message-ID: <49B7D2C1.1030004@Rhul.Ac.Uk> Niall Mansfield wrote: > Leon, > > > Date: Tue, 10 Mar 2009 21:44:00 -0500 > > From: "Leon Luxemburg" > > I have seen on your website a software review of ms word to latex > conversion program. > > Unfortunately, I can not find it anymore. Is there a recent better > converter of this sort? > > We have used Word2TeX from Chikrii Softlab a lot. Perhaps Open Office [1] also has such a feature ? Philip TAYLOR -------- [1] http://OpenOffice.Org/ From frainj at gmail.com Wed Mar 11 16:32:12 2009 From: frainj at gmail.com (John C Frain) Date: Wed, 11 Mar 2009 15:32:12 +0000 Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <49B7D2C1.1030004@Rhul.Ac.Uk> References: <49B7CD36.2000000@uit.co.uk> <49B7D2C1.1030004@Rhul.Ac.Uk> Message-ID: Abiword can read MD-Word .doc files and can output the file in Latex. Probqably it tries to keep to much of the WORD file and the resulting Latex files are very complicated. Best Regards John 2009/3/11 Philip TAYLOR (Ret'd) : > > > Niall Mansfield wrote: >> Leon, >> >> ?> Date: Tue, 10 Mar 2009 21:44:00 -0500 >> ?> From: "Leon Luxemburg" >> ?> I have seen on your website a software review of ms word to latex >> conversion program. >> ?> Unfortunately, I can not find it anymore. Is there a recent better >> converter of this sort? >> >> We have used Word2TeX from Chikrii Softlab a lot. > > Perhaps Open Office [1] also has such a feature ? > > Philip TAYLOR > -------- > [1] http://OpenOffice.Org/ > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- 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 juergen.fenn at GMX.DE Wed Mar 11 17:05:04 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Wed, 11 Mar 2009 17:05:04 +0100 Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <49B7D2C1.1030004@Rhul.Ac.Uk> References: <49B7CD36.2000000@uit.co.uk> <49B7D2C1.1030004@Rhul.Ac.Uk> Message-ID: <49B7E130.9040801@GMX.DE> Philip TAYLOR (Ret'd) schrieb: >> > I have seen on your website a software review of ms word to latex >> conversion program. >> > Unfortunately, I can not find it anymore. Is there a recent better >> converter of this sort? >> >> We have used Word2TeX from Chikrii Softlab a lot. > > Perhaps Open Office [1] also has such a feature ? OOo can import doc files and export LaTeX. You should save the doc file as ODT from OOo before exporting to LaTeX. You can also use OOo's LaTeX export from the commandline: http://writer2latex.sourceforge.net/ LaTeX export can be easily configured by editing writer2latex.xml in your home directory. See documentation for more details. J?rgen. From toms at ncifcrf.gov Wed Mar 11 17:34:33 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 11 Mar 2009 12:34:33 -0400 (EDT) Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <49B7E130.9040801@GMX.DE> from Juergen Fenn at "Mar 11, 2009 05:05:04 pm" Message-ID: <200903111634.n2BGYYGg023498@strawberry.ncifcrf.gov> J?rgen: > OOo can import doc files and export LaTeX. You should save the doc file > as ODT from OOo before exporting to LaTeX. Why should one save as ODT? > You can also use OOo's LaTeX export from the commandline: > > http://writer2latex.sourceforge.net/ > > LaTeX export can be easily configured by editing writer2latex.xml in > your home directory. See documentation for more details. Thanks for the tip! I've added this information to http://www.ccrnp.ncifcrf.gov/~toms/latex.html 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/ From juergen.fenn at GMX.DE Wed Mar 11 18:22:40 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Wed, 11 Mar 2009 18:22:40 +0100 Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <200903111634.n2BGYYGg023498@strawberry.ncifcrf.gov> References: <200903111634.n2BGYYGg023498@strawberry.ncifcrf.gov> Message-ID: <49B7F360.7070800@GMX.DE> [I've only just realised that you sent a CC to the list. So here is my response to your question to the list once more.] Tom Schneider schrieb: >> OOo can import doc files and export LaTeX. You should save the doc >> file as ODT from OOo before exporting to LaTeX. > > Why should one save as ODT? It's the native format of OOo. Exporting to LaTeX works without saving to ODT beforehand, of course. But the ODT file is what writer2latex works on. And there is no LaTeX import, vice versa. So if you need to change anything you should recur to the ODT. > I've added this information to > http://www.ccrnp.ncifcrf.gov/~toms/latex.html ...which I have, in return, added to http://texcatalogue.sarovar.org/bytopic.html#biology (will appear on CTAN only tomorrow) Regards, J?rgen. From toms at ncifcrf.gov Wed Mar 11 19:09:26 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 11 Mar 2009 14:09:26 -0400 (EDT) Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <49B7F360.7070800@GMX.DE> from Juergen Fenn at "Mar 11, 2009 06:22:40 pm" Message-ID: <200903111809.n2BI9Q7J001943@strawberry.ncifcrf.gov> Jurgen: > >> OOo can import doc files and export LaTeX. You should save the doc > >> file as ODT from OOo before exporting to LaTeX. > > > > Why should one save as ODT? > > It's the native format of OOo. Exporting to LaTeX works without saving > to ODT beforehand, of course. But the ODT file is what writer2latex > works on. And there is no LaTeX import, vice versa. So if you need to > change anything you should recur to the ODT. Ok, that's what I suspected. There may be times when one wants to go from a .doc to .tex without any other files. There was a possibility, suggested from what you wrote, that for some reason OOo had to write the ODT before being able to create a .tex file. > > I've added this information to > > http://www.ccrnp.ncifcrf.gov/~toms/latex.html > > ...which I have, in return, added to > > http://texcatalogue.sarovar.org/bytopic.html#biology > > (will appear on CTAN only tomorrow) Thanks! 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/ From juergen.fenn at GMX.DE Wed Mar 11 19:23:25 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Wed, 11 Mar 2009 19:23:25 +0100 Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <200903111809.n2BI9Q7J001943@strawberry.ncifcrf.gov> References: <200903111809.n2BI9Q7J001943@strawberry.ncifcrf.gov> Message-ID: <49B8019D.2060108@GMX.DE> Tom Schneider schrieb: > Ok, that's what I suspected. There may be times when one wants to go > from a .doc to .tex without any other files. In this case you won't use OOo because w2l only converts sxw/odt to LaTeX. > There was a possibility, suggested from what you wrote, that for some > reason OOo had to write the ODT before being able to create a .tex > file. In fact, this is the case, but it is hidden from the user when calling w2l from within OOo as an export filter. When applying w2l on the ODT from the commandline, you have to save as ODT beforehand yourself. Regards, J?rgen. From toms at ncifcrf.gov Wed Mar 11 19:33:03 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 11 Mar 2009 14:33:03 -0400 (EDT) Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <49B8019D.2060108@GMX.DE> from Juergen Fenn at "Mar 11, 2009 07:23:25 pm" Message-ID: <200903111833.n2BIX3sW013510@strawberry.ncifcrf.gov> J?rgen: > > Ok, that's what I suspected. There may be times when one wants to go > > from a .doc to .tex without any other files. > > In this case you won't use OOo because w2l only converts sxw/odt to LaTeX. > > > There was a possibility, suggested from what you wrote, that for some > > reason OOo had to write the ODT before being able to create a .tex > > file. > > In fact, this is the case, but it is hidden from the user when calling > w2l from within OOo as an export filter. When applying w2l on the ODT > from the commandline, you have to save as ODT beforehand yourself. Ah, got it, thanks. So is there a way yet to get OOo to read a .doc file and spit out LaTeX from the command line? I always like wrapping up such things in scripts - it's faster and simpler than launching a big application. 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/ From juergen.fenn at GMX.DE Wed Mar 11 19:46:25 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Wed, 11 Mar 2009 19:46:25 +0100 Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <200903111833.n2BIX3sW013510@strawberry.ncifcrf.gov> References: <200903111833.n2BIX3sW013510@strawberry.ncifcrf.gov> Message-ID: <49B80701.5040409@GMX.DE> Tom Schneider schrieb: > So is there a way yet to get OOo to read a .doc file and spit out > LaTeX from the command line? I always like wrapping up such things in > scripts - it's faster and simpler than launching a big application. I don't know whether you can script OOo from the commandline... But OTOH DOC is a doomed format because as from Windows 7 Wordpad does not support DOC any more. Its successor is DOCX. Besides, ODT is supported. So at least Windows users will slowly change to DOCX which means that it will become easier to convert from MS Word to ODT which you then can apply w2l to. I've just come across wordml2latex, perhaps this is another solution for those running MS Word 2003ff.: http://texcatalogue.sarovar.org/entries/wordml2latex.html J?rgen. From juergen.fenn at GMX.DE Wed Mar 11 19:59:12 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Wed, 11 Mar 2009 19:59:12 +0100 Subject: [texhax] MS-Word to LaTeX conversion program In-Reply-To: <49B80701.5040409@GMX.DE> References: <200903111833.n2BIX3sW013510@strawberry.ncifcrf.gov> <49B80701.5040409@GMX.DE> Message-ID: <49B80A00.1080305@GMX.DE> > I don't know whether you can script OOo from the commandline... It seems to be possible, although this post was sent in 2002: http://lists.debian.org/debian-openoffice/2002/11/msg00126.html J?rgen. From karl at freefriends.org Thu Mar 12 01:26:06 2009 From: karl at freefriends.org (Karl Berry) Date: Wed, 11 Mar 2009 19:26:06 -0500 Subject: [texhax] (no subject) In-Reply-To: <2A53CD0B9B67BD46A346B33592065D1E271D98@tamugex.tamug.edu> Message-ID: <200903120026.n2C0Q6W32666@f7.net> Hi Leon, I have seen on your website a software review of ms word to latex conversion program. Unfortunately, I can not find it anymore. I believe the reviews you were remembering were written by Dave Walden for The PracTeX Journal. http://tug.org/pracjourn/2005-3/walden-travels/ http://tug.org/pracjourn/2005-4/walden And, just for fun, here are all of Dave's columns (personally, one of my favorite parts of TPJ) -- http://tug.org/pracjourn/authorindex/index.html#TAGW Anyway ... Is there a recent better converter of this sort? The page Uwe mentioned is the most comprehensive I know of. "Better" all depends on the job at hand ... Best, Karl From ivanivanov333 at yahoo.com Fri Mar 13 10:21:13 2009 From: ivanivanov333 at yahoo.com (ivan ivanov) Date: Fri, 13 Mar 2009 02:21:13 -0700 (PDT) Subject: [texhax] latex software Message-ID: <217562.75118.qm@web110607.mail.gq1.yahoo.com> Dear TUG, What software for compiling and using latex would you recommend? Is Lyx a good one for wysiwyg? http://www.lyx.org/Features Thanks for your help. Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090313/73d93a18/attachment.html From c at aastrup.org Fri Mar 13 18:37:54 2009 From: c at aastrup.org (Christian H. Aastrup) Date: Fri, 13 Mar 2009 18:37:54 +0100 Subject: [texhax] Help on cross-references In-Reply-To: <217562.75118.qm@web110607.mail.gq1.yahoo.com> References: <217562.75118.qm@web110607.mail.gq1.yahoo.com> Message-ID: <93E4BAD1A9D044C190A6230BA4E7B84C@KontorPC> Greetings most exhalted LaTeX-sages Having read an old math book, I was interested in knowing whether LaTeX might make cross-references like it did. Surely LaTeX can do just about anything if you ask it the right way. Here's what it looked like ___________________________ Chapter 1 text text text text text text text text Section 1 An equation 2+2 < 5 (1) A reference to the equation now looks like: (1) Section 2 text text text text text text text text A ref to the equation is now (1.1) Chapter 2 text text text text text text text text A ref to the equation is now (1.1.1) ___________________________ Is there any way to make LaTeX make cross-references like that? A package? Or some arcane things? Kind regards, Christian Aastrup -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090313/7ecb84d3/attachment.html From Douglas.McAllaster at tma.osd.mil Fri Mar 13 19:22:37 2009 From: Douglas.McAllaster at tma.osd.mil (McAllaster, Douglas, CIV, OASD(HA)/TMA) Date: Fri, 13 Mar 2009 14:22:37 -0400 Subject: [texhax] texcal09 Message-ID: Folks, I got calendar from the members section today. I like the basic calendar; Does someone have the latex to create it? I don't need the fancy tex demo stuff. Thx, Doug McAllaster From toms at ncifcrf.gov Fri Mar 13 21:10:18 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Fri, 13 Mar 2009 16:10:18 -0400 (EDT) Subject: [texhax] Help on cross-references In-Reply-To: <93E4BAD1A9D044C190A6230BA4E7B84C@KontorPC> from "Christian H. Aastrup" at "Mar 13, 2009 06:37:54 pm" Message-ID: <200903132010.n2DKAIF6013728@strawberry.ncifcrf.gov> Christian: > Chapter 1 > > text text text text > text text text text > > Section 1 > > An equation > > 2+2 < 5 (1) > > A reference to the equation > now looks like: (1) > > Section 2 > > text text text text > text text text text > > A ref to the equation > is now (1.1) This probably would give some readers a bit of confusion since the notation has changed. I would design it to have the first reference be (1.1) [section.equation] in all cases. > Chapter 2 > > text text text text > text text text text > > A ref to the equation > is now (1.1.1) At this point I'm completely confused. The third time one would cite it as (1.1.1.1) and the fourth time (1.1.1.1.1)? (I'll let others say how to do these things technically.) 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/ From millstadtf at gmail.com Fri Mar 13 21:42:59 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Fri, 13 Mar 2009 13:42:59 -0700 Subject: [texhax] Help on cross-references In-Reply-To: <200903132010.n2DKAIF6013728@strawberry.ncifcrf.gov> References: <93E4BAD1A9D044C190A6230BA4E7B84C@KontorPC> <200903132010.n2DKAIF6013728@strawberry.ncifcrf.gov> Message-ID: <44ff02430903131342la5b0bf4o13864695e352ac2f@mail.gmail.com> What Christian wants (I believe) is for Equations to be labeled as (1), (2), ..., and within the same section in which they are first displayed, they would be referred to as Equation (1), etc. When referring to Equations in a different section, but in the same chapter, it would display Equation (1.2) for the second equation in the first section. When referring to equations in a different chapter, it would display Equation (1.2.3) for the third equation in the second section of the first chapter. Although I'm out of my league here, I envision a solution wherein you redefine the \theequation command, and use the ifthen package to exame the \section and \chapter of the current location, compare with the location of the equation, and display different results accordingly. Something like: \def\theequation {% \ifthenelse{ \equal{\chapter}{\Eq_chapter} }% If same chapter {\ifthenelse{ \equal{\section}{\Eq_section} }% and same section {\equation}% print just the number. {\Eq_section.\equation}% If different section, print section number as well }% If different chapter, print the chapter and section numbers {\Eq_chapter.\Eq_section.\equation} } Hopefully I closed all my brackets. The only thing that you're missing now is how to figure out in what chapter/section an equation begins (I made up the commands \Eq_chapter and \Eq_section). Hopefully someone else can post that information. Cheers, Bob Wilson On Fri, Mar 13, 2009 at 1:10 PM, Tom Schneider wrote: > Christian: > > > Chapter 1 > > > > text text text text > > text text text text > > > > Section 1 > > > > An equation > > > > 2+2 < 5 (1) > > > > A reference to the equation > > now looks like: (1) > > > > Section 2 > > > > text text text text > > text text text text > > > > A ref to the equation > > is now (1.1) > > This probably would give some readers a bit of confusion since the > notation has changed. I would design it to have the first reference > be (1.1) [section.equation] in all cases. > > > Chapter 2 > > > > text text text text > > text text text text > > > > A ref to the equation > > is now (1.1.1) > > At this point I'm completely confused. The third time one > would cite it as (1.1.1.1) and the fourth time (1.1.1.1.1)? > > (I'll let others say how to do these things technically.) > > 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/ > _______________________________________________ > 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/20090313/c4a94478/attachment.html From karl at freefriends.org Fri Mar 13 22:29:33 2009 From: karl at freefriends.org (Karl Berry) Date: Fri, 13 Mar 2009 16:29:33 -0500 Subject: [texhax] texcal09 In-Reply-To: Message-ID: <200903132129.n2DLTXP05506@f7.net> Hi Doug, Does someone have the latex to create it? It uses a very slightly hacked version of ctan.org/macros/latex/contrib/calendar. If you want the actual sources (minus the big images I guess), I'm happy to send them to you. Best, Karl P.S. And thanks for recently rejoining TUG :). From c at aastrup.org Fri Mar 13 23:03:17 2009 From: c at aastrup.org (Christian H. Aastrup) Date: Fri, 13 Mar 2009 23:03:17 +0100 Subject: [texhax] Help on cross-references In-Reply-To: <44ff02430903131342la5b0bf4o13864695e352ac2f@mail.gmail.com> References: <93E4BAD1A9D044C190A6230BA4E7B84C@KontorPC><200903132010.n2DKAIF6013728@strawberry.ncifcrf.gov> <44ff02430903131342la5b0bf4o13864695e352ac2f@mail.gmail.com> Message-ID: <2D2E56A5128B40909A4554924CE7DA9C@KontorPC> Hi Bob and everyone You've understood exactly what I'm looking for and perhaps you've explained better. I sure hope that someone out there knows how to implement this. - Christian ----- Original Message ----- From: Robert Wilson To: Tom Schneider Cc: texhax ; Christian H. Aastrup Sent: Friday, March 13, 2009 9:42 PM Subject: Re: [texhax] Help on cross-references What Christian wants (I believe) is for Equations to be labeled as (1), (2), ..., and within the same section in which they are first displayed, they would be referred to as Equation (1), etc. When referring to Equations in a different section, but in the same chapter, it would display Equation (1.2) for the second equation in the first section. When referring to equations in a different chapter, it would display Equation (1.2.3) for the third equation in the second section of the first chapter. Although I'm out of my league here, I envision a solution wherein you redefine the \theequation command, and use the ifthen package to exame the \section and \chapter of the current location, compare with the location of the equation, and display different results accordingly. Something like: \def\theequation {% \ifthenelse{ \equal{\chapter}{\Eq_chapter} }% If same chapter {\ifthenelse{ \equal{\section}{\Eq_section} }% and same section {\equation}% print just the number. {\Eq_section.\equation}% If different section, print section number as well }% If different chapter, print the chapter and section numbers {\Eq_chapter.\Eq_section.\equation} } Hopefully I closed all my brackets. The only thing that you're missing now is how to figure out in what chapter/section an equation begins (I made up the commands \Eq_chapter and \Eq_section). Hopefully someone else can post that information. Cheers, Bob Wilson On Fri, Mar 13, 2009 at 1:10 PM, Tom Schneider wrote: Christian: > Chapter 1 > > text text text text > text text text text > > Section 1 > > An equation > > 2+2 < 5 (1) > > A reference to the equation > now looks like: (1) > > Section 2 > > text text text text > text text text text > > A ref to the equation > is now (1.1) This probably would give some readers a bit of confusion since the notation has changed. I would design it to have the first reference be (1.1) [section.equation] in all cases. > Chapter 2 > > text text text text > text text text text > > A ref to the equation > is now (1.1.1) At this point I'm completely confused. The third time one would cite it as (1.1.1.1) and the fourth time (1.1.1.1.1)? (I'll let others say how to do these things technically.) 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/ _______________________________________________ TeX FAQ: http://www.tex.ac.uk/faq Mailing list archives: http://tug.org/pipermail/texhax/ More links: http://tug.org/begin.html Automated subscription management: http://tug.org/mailman/listinfo/texhax Human mailing list managers: postmaster at tug.org ------------------------------------------------------------------------------ _______________________________________________ TeX FAQ: http://www.tex.ac.uk/faq Mailing list archives: http://tug.org/pipermail/texhax/ More links: http://tug.org/begin.html Automated subscription management: http://tug.org/mailman/listinfo/texhax Human mailing list managers: postmaster at tug.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090313/3ab4baa2/attachment-0001.html From john at wexfordpress.com Sat Mar 14 01:17:11 2009 From: john at wexfordpress.com (John Culleton) Date: Fri, 13 Mar 2009 20:17:11 -0400 Subject: [texhax] (no subject) In-Reply-To: <200903120026.n2C0Q6W32666@f7.net> References: <200903120026.n2C0Q6W32666@f7.net> Message-ID: <200903132017.11728.john@wexfordpress.com> On Wednesday 11 March 2009 08:26:06 pm Karl Berry wrote: > Hi Leon, > > I have seen on your website a software review of ms > word to latex conversion program. Unfortunately, I can > not find it anymore. > > I believe the reviews you were remembering were written > by Dave Walden for The PracTeX Journal. > http://tug.org/pracjourn/2005-3/walden-travels/ > http://tug.org/pracjourn/2005-4/walden > > And, just for fun, here are all of Dave's columns > (personally, one of my favorite parts of TPJ) -- > http://tug.org/pracjourn/authorindex/index.html#TAGW > > Anyway ... > > Is there a recent better converter of this sort? > > The page Uwe mentioned is the most comprehensive I know > of. "Better" all depends on the job at hand ... > > Best, > Karl If you can save as an rtf there is a program rtf2latex2e that yields passable results. Kword (with KDE office suite) pretends to save in latex format but does a horrible job. -- John Culleton Able Indexers and Typesetters http://wexfordpress.com From elizondb at tamug.edu Fri Mar 13 21:29:02 2009 From: elizondb at tamug.edu (Bill Elizondo) Date: Fri, 13 Mar 2009 15:29:02 -0500 Subject: [texhax] Word2Tex Message-ID: <1F0B6A7197CBE94CA817B53B3D264652254EB8@tamugex.tamug.edu> When trying to save a Word 2007 document (.docx) to .tex from your Word2Tek I get this. No readable conversion and 1100 desktop icons of the file that is being converted with only a small piece of the original document in it (geneqold51). What is the problem? This software was just bought and installed on Wed. March 11, 2009 on your recommendation. Please send any information for this problem to me and cc elizondb at tamug.edu. Thank you Bill Elizondo System Analyst II Computing and Information Services Texas A & M University at Galveston Desk 409-740-4860 elizondb at tamug.edu Keep me away from the wisdom which does not cry, the philosophy which does not laugh and the greatness which does not bow before children. - Kahlil Gibran -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090313/7caae1b7/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1927 bytes Desc: image001.gif Url : http://tug.org/pipermail/texhax/attachments/20090313/7caae1b7/attachment-0001.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 177251 bytes Desc: image002.jpg Url : http://tug.org/pipermail/texhax/attachments/20090313/7caae1b7/attachment-0001.jpe From P.Taylor at Rhul.Ac.Uk Sat Mar 14 11:09:41 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Sat, 14 Mar 2009 10:09:41 +0000 Subject: [texhax] LaTeX : Section opening recto, verso blank Message-ID: <49BB8265.60200@Rhul.Ac.Uk> Dear Colleagues -- For a forthcoming book, I would like opening section pages to invariably have a blank verso counterpart. I am currently using the following options and packages : %&pdflatex \RequirePackage {fix-cm} \documentclass [a4paper, landscape, twoside, twocolumn]{book} \usepackage [compact, center]{titlesec} \usepackage {balance} % not used, causes loss of marks \usepackage {fixltx2e} \usepackage {fix1stcolmarks} % written here \usepackage {fancyhdr} \usepackage {transparent} \usepackage {oldstyle} \usepackage [pdftex]{graphicx} \usepackage [greek, english]{babel} \usepackage {teubner} \usepackage [colorlinks]{hyperref} \usepackage[T1]{fontenc} \usepackage[urw-garamond]{mathdesign} and sections have been designated as being of class "top" (titlesec) in order to force them to start recto. I would be very grateful if anyone could suggest how this could best be achieved without manually inserting \clearpage or \cleardoublepage commands (i.e., I would like the code to determine algorithmically if the previous section has finished verso, and if so, to leave two blank pages). Many thanks in advance : Philip TAYLOR From awishnia at notes.cc.sunysb.edu Sat Mar 14 15:38:12 2009 From: awishnia at notes.cc.sunysb.edu (awishnia at notes.cc.sunysb.edu) Date: Sat, 14 Mar 2009 10:38:12 -0400 Subject: [texhax] Help on cross-references In-Reply-To: <2D2E56A5128B40909A4554924CE7DA9C@KontorPC> References: <93E4BAD1A9D044C190A6230BA4E7B84C@KontorPC><200903132010.n2DKAIF6013728@strawberry.ncifcrf.gov> <44ff02430903131342la5b0bf4o13864695e352ac2f@mail.gmail.com>, <2D2E56A5128B40909A4554924CE7DA9C@KontorPC> Message-ID: An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090314/00031d40/attachment.html From philip.ratcliffe at fastwebnet.it Sat Mar 14 21:54:21 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sat, 14 Mar 2009 21:54:21 +0100 Subject: [texhax] Help on cross-references In-Reply-To: <44ff02430903131342la5b0bf4o13864695e352ac2f@mail.gmail.com> Message-ID: > What Christian wants (I believe) is for Equations to be > labeled as (1), (2), ..., and within the same section in > which they are first displayed, they would be referred to as > Equation (1), etc. When referring to Equations in a different > section, but in the same chapter, it would display Equation > (1.2) for the second equation in the first section. When > referring to equations in a different chapter, it would > display Equation (1.2.3) for the third equation in the second > section of the first chapter. That's what I understood too. > Although I'm out of my league here, I envision a solution > wherein you redefine the \theequation command, and use the > ifthen package to exame the \section and \chapter of the > current location, compare with the location of the equation, > and display different results accordingly. Something like: Unfortunately, \theequation is what is printed inside the relevant display math environment and what is used to store the number, but the \ref command know nothing about it. > \def\theequation {% > \ifthenelse{ \equal{\chapter}{\Eq_chapter} }% If same chapter > {\ifthenelse{ \equal{\section}{\Eq_section} }% and same section > {\equation}% print just the number. > {\Eq_section.\equation}% If different section, print > section number as well > }% If different chapter, print the chapter and section numbers > {\Eq_chapter.\Eq_section.\equation} } The logic is about right but applied to the wrong object. > Hopefully I closed all my brackets. The only thing that > you're missing now is how to figure out in what > chapter/section an equation begins (I made up the commands > \Eq_chapter and \Eq_section). Hopefully someone else can post > that information. Well, it would be nice, if it worked like that ... but ... Here is an example of how the \label command puts the info away in the aux file: \newlabel{eq:mellin}{{5.1.10}{55}} That is, 5.1.10 is the equation number labelled "eq:mellin" and 55 is the page on which it appeared. So, what is really needed is a macro that parses the number retreived and chops the unnecessary bits off. Good luck! Phil From philip.ratcliffe at fastwebnet.it Sat Mar 14 22:02:51 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sat, 14 Mar 2009 22:02:51 +0100 Subject: [texhax] Help on cross-references In-Reply-To: Message-ID: <6D19FE6DC8D34637BDFCB68D0F13ACC3@PGR1> > Bob Wilson has explained what Christian Aastrup wants in > equation notation, but I think it's > perverse: it will give the same reference to different > equations in different chapters if they happen to share the > same section number. Margenau and Murphy's classic "The > Mathematics of Physics and Chemistry" uses mm-nnn throughout > for chapter-eqn no (e.g., 2-113) without introducing any > difficulties at all for finding the equation (in 600 pages). > Does Aastrup have so many equations that they really need so > much subdivision? Indeed, for example, is eq 3.2.1 the first equation of the second section of chapter three, or the first equation of the second subsection of section three of the current chapter, or the first equation of the second subsubsection of subsection three of the current section, or ...? In other words, the same depth of sub...subsections has to be maintained throughout - hard to do. Phil From adityam at umich.edu Sat Mar 14 22:20:02 2009 From: adityam at umich.edu (Aditya Mahajan) Date: Sat, 14 Mar 2009 17:20:02 -0400 (EDT) Subject: [texhax] Help on cross-references In-Reply-To: <6D19FE6DC8D34637BDFCB68D0F13ACC3@PGR1> References: <6D19FE6DC8D34637BDFCB68D0F13ACC3@PGR1> Message-ID: On Sat, 14 Mar 2009, Philip G. Ratcliffe wrote: >> Bob Wilson has explained what Christian Aastrup wants in >> equation notation, but I think it's >> perverse: it will give the same reference to different >> equations in different chapters if they happen to share the >> same section number. Margenau and Murphy's classic "The >> Mathematics of Physics and Chemistry" uses mm-nnn throughout >> for chapter-eqn no (e.g., 2-113) without introducing any >> difficulties at all for finding the equation (in 600 pages). >> Does Aastrup have so many equations that they really need so >> much subdivision? > > Indeed, for example, is eq 3.2.1 the first equation of the second section > of chapter three, or the first equation of the second subsection of section > three of the current chapter, or the first equation of the second > subsubsection of subsection three of the current section, or ...? > > In other words, the same depth of sub...subsections has to be maintained > throughout - hard to do. Most books where I have seen this convention, do not have subsections. Just chapters and sections, so the above confusion does not arise. Aditya From uwe.lueck at web.de Sun Mar 15 08:47:30 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 15 Mar 2009 08:47:30 +0100 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <49BB8265.60200@Rhul.Ac.Uk> Message-ID: <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> At 11:09 14.03.09, Philip TAYLOR (Ret'd) wrote: >Dear Colleagues -- For a forthcoming book, I would >like opening section pages to invariably have a >blank verso counterpart. [...] >and sections have been designated as being of >class "top" (titlesec) in order to force them >to start recto. > >I would be very grateful if anyone could suggest how >this could best be achieved without manually inserting >\clearpage or \cleardoublepage commands (i.e., I would >like the code to determine algorithmically if the previous >section has finished verso, and if so, to leave two blank >pages). According to my understanding of titlesec, you want to have sections of titlesec class "page" (like standard \part), not "top" (like standard \chapter). With such a declaration, you needn't care any more about \clear... Actually, \cleardoublepage skips the next page if it is even (\if at twoside), so there is no need for an extra algorithm deciding whether to \clearpage or to \cleardoublepage. -- Uwe. From yannis.haralambous at telecom-bretagne.eu Sun Mar 15 09:58:17 2009 From: yannis.haralambous at telecom-bretagne.eu (Yannis Haralambous) Date: Sun, 15 Mar 2009 09:58:17 +0100 Subject: [texhax] beamer theme customization HOWTO Message-ID: <8E215BFE-9AD1-4B82-A262-9132EC10AC29@telecom-bretagne.eu> The beamer user guide is a very rich and detailed document but it gives no hint whatsoever on how to create new layouts: how to place various boxes on the page and fill them with text. The question is not how to insert a single box in a frame, but how to change the global layout of frames: how to make a new theme or to change an existing one. Maybe I overlooked some document? I would be grateful for any hint... Yannis From uwe.lueck at web.de Sun Mar 15 15:19:32 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 15 Mar 2009 15:19:32 +0100 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <49BCCDAB.1000408@Rhul.Ac.Uk> References: <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> Message-ID: <5.1.0.14.0.20090315123305.02679640@pop3.web.de> 1. At 10:43 15.03.09, Philip TAYLOR wrote: >Uwe L?ck wrote: >>According to my understanding of titlesec, you want to have sections of >>titlesec class "page" (like standard \part), not "top" (like standard >>\chapter). With such a declaration, you needn't care any more about >>\clear... Actually, \cleardoublepage skips the next page if it is even >>(\if at twoside), so there is no need for an extra algorithm deciding >>whether to \clearpage or to \cleardoublepage. > >Thank you, Uwe : as far as I can see, "page" not >only generates an "opening chapter style" page >(which I don't want, for sections) but it also >doesn't solve the problem of a section finishing >verso -- the next section starts recto on the >same spread (sample attached). Ah, sorry, I misunderstood `counterpart', and I overlooked the explanations `finished verso' and `two blank pages': At 11:09 14.03.09, Philip TAYLOR (Ret'd) wrote: >Dear Colleagues -- For a forthcoming book, I would >like opening section pages to invariably have a >blank verso counterpart. [...] >I would be very grateful if anyone could suggest how >this could best be achieved without manually inserting >\clearpage or \cleardoublepage commands (i.e., I would >like the code to determine algorithmically if the previous >section has finished verso, and if so, to leave two blank >pages). I understood `counterpart' as `verso of starting folio' (cf. thread identifier). And when I started the present reply, I thought `counterpart' meant `end of the same section'. OK, I am sticking to `counterpart' as `opposite page'. At 10:43 15.03.09, Philip TAYLOR wrote: >% (1) Make blank pages really REALLY blank > >\let \LaTeXcleardoublepage = \cleardoublepage > >\def \cleardoublepage > {% > \clearpage > \begingroup > \columnseprule = 0 pt > \pagestyle {empty}% > \LaTeXcleardoublepage > \endgroup > } So just add \null right before \LaTeXcleardoublepage. 1b. To get the "empty indeed" variant of \cleardoublepage, titlesec offers option `clearempty'. There also is package `emptypage' to the same effect without titlesec. But you are right, both packages miss \columnseprule = 0pt (maybe because \columnseprule = 0pt is standard anyway). 1c. One might want to keep the "weak" \cleardoublepage for "subsections" and give a new name to your variant, e.g. \cleardoublepageskiponepage (but this conflicts with my proposal below). 2. At 10:43 15.03.09, Philip TAYLOR wrote: >Thank you, Uwe : as far as I can see, "page" not >only generates an "opening chapter style" page >(which I don't want, for sections) The thread identifier and At 11:09 14.03.09, Philip TAYLOR (Ret'd) wrote: >and sections have been designated as being of >class "top" (titlesec) in order to force them >to start recto. still indicate that you want to have chapter style for sections. And I recommend the "top" designation indeed: 3. At 10:43 15.03.09, Philip TAYLOR wrote: >% (2) Extra "cleardoublepage" for section > >\def \Section #1 > { > \cleardoublepage > \def \sectiontype {#1} > \section [\sectiontype]{\this \sectiontype} > \input Byz-#1.dat > } > >(3) Titleclass declaration > >\titleclass \section {page} It seems to me that I understand titlesec better here than you, although I didn't know what it does until yesterday. With \titleclass{\section}{top} you don't need \cleardoublepage in \Section, because this \titleclass declaration makes \section execute \doubleclearpage! Seen from code and tested! This is what \titleclass has been made for! This was the heart of my previous message: At 08:47 15.03.09, Uwe L?ck wrote: >With such a declaration, you needn't care any more about \clear... (where I skipped the "empty" matter because it hadn't been raised yet). -- Uwe. From P.Taylor at Rhul.Ac.Uk Sun Mar 15 21:10:35 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 15 Mar 2009 20:10:35 +0000 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <5.1.0.14.0.20090315123305.02679640@pop3.web.de> References: <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090315123305.02679640@pop3.web.de> Message-ID: <49BD60BB.3090809@Rhul.Ac.Uk> Uwe L?ck wrote: > Ah, sorry, I misunderstood `counterpart', and I overlooked the > explanations `finished verso' and `two blank pages': > I understood `counterpart' as `verso of starting folio' (cf. thread > identifier). And when I started the present reply, I thought > `counterpart' meant `end of the same section'. OK, I am sticking to > `counterpart' as `opposite page'. Yes, that was what I meant by "verso counterpart" : the facing (verso) page. > So just add \null right before \LaTeXcleardoublepage. That gives me unwanted pages at start of document. > 1b. To get the "empty indeed" variant of \cleardoublepage, titlesec > offers option `clearempty'. There also is package `emptypage' to the > same effect without titlesec. But you are right, both packages miss > \columnseprule = 0pt (maybe because \columnseprule = 0pt is standard > anyway). Well, as neither of these solve the problem of the rule, I may as well roll my own, because I need the rule problem solved ! > 1c. One might want to keep the "weak" \cleardoublepage for "subsections" > and give a new name to your variant, e.g. \cleardoublepageskiponepage > (but this conflicts with my proposal below). Ah, but I don't yet have a variant that solves the problem : the cleardoublepage of mine simply does what the original should have done -- ensures that the verso page is completely blank, /unless/ that page contains real typesettable content. And it is that latter problem that is what this thread is about : how, if the verso page contains real typesettable content, to ensure that the next section start not just recto, but recto+2, so that the verso counterpart of the opening section page is blank. > The thread identifier and Don't understand this line at all :-( > still indicate that you want to have chapter style for sections. And I > recommend the "top" designation indeed: Right, that is what I already have; but in your earlier message, you recommended "page" ... > It seems to me that I understand titlesec better here than you, although > I didn't know what it does until yesterday. I am very happy to believe that, since I understand almost nothing about LaTeX and its packages at all ... > With > > \titleclass{\section}{top} > > you don't need \cleardoublepage in \Section, because this \titleclass > declaration makes \section execute \doubleclearpage! Seen from code and > tested! This is what \titleclass has been made for! > This was the heart of my previous message: Right, I will try that next (but see note below, in closing summary). > At 08:47 15.03.09, Uwe L?ck wrote: >> With such a declaration, you needn't care any more about \clear... > > (where I skipped the "empty" matter because it hadn't been raised yet). Confused : not sure what you are saying here ... Does this refer to my '"page" not only generates an "opening chapter style" page' ? Anyhow, a resume of where we are, after incorporating your suggestions : Adding \null just before \LaTeXcleardoublepage causes unwanted blank pages at start of document. \cleardoublepage in the definition of \Section was indeed an error, but it does need an explicit \clearpage, otherwise \sectiontype is set too soon and affects the running head of the current page (the running head should change only as the new section starts). Using titleclass "page" gives me content-free opening section pages; I need opening section pages to have content below the heading. Many thanks for all your help, Uwe, but as you can see, we're clearly not there yet ! ** Phil. From uwe.lueck at web.de Mon Mar 16 01:33:18 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 16 Mar 2009 01:33:18 +0100 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <49BD60BB.3090809@Rhul.Ac.Uk> References: <5.1.0.14.0.20090315123305.02679640@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090315123305.02679640@pop3.web.de> Message-ID: <5.1.0.14.0.20090316011934.02eff590@pop3.web.de> As a "counterpart" to the final summary below, I start with my own summary, may be better than those dialogs spanning screens: 1. My earlier suggestion \titlceclass{\section}{page} was wrong, due to my misunderstanding of `counterpart', obsolete. I recommend Phil's original \titleclass{\section}{top} instead. 2. If the additional \null that I suggested earlier really generates empty pages no. 1 etc., replace it by \ifnum\value{page}>1\null\fi or so ... -- Uwe. At 21:10 15.03.09, Philip TAYLOR wrote: >Uwe L?ck wrote: > >>Ah, sorry, I misunderstood `counterpart', and I overlooked the >>explanations `finished verso' and `two blank pages': > >>I understood `counterpart' as `verso of starting folio' (cf. thread >>identifier). And when I started the present reply, I thought >>`counterpart' meant `end of the same section'. OK, I am sticking to >>`counterpart' as `opposite page'. > >Yes, that was what I meant by "verso counterpart" : the facing >(verso) page. > >>So just add \null right before \LaTeXcleardoublepage. > >That gives me unwanted pages at start of document. > >>1b. To get the "empty indeed" variant of \cleardoublepage, titlesec >>offers option `clearempty'. There also is package `emptypage' to the same >>effect without titlesec. But you are right, both packages miss >>\columnseprule = 0pt (maybe because \columnseprule = 0pt is standard anyway). > >Well, as neither of these solve the problem of the rule, >I may as well roll my own, because I need the rule >problem solved ! > >>1c. One might want to keep the "weak" \cleardoublepage for "subsections" >>and give a new name to your variant, e.g. \cleardoublepageskiponepage >>(but this conflicts with my proposal below). > >Ah, but I don't yet have a variant that solves the >problem : the cleardoublepage of mine simply >does what the original should have done -- ensures >that the verso page is completely blank, /unless/ >that page contains real typesettable content. And >it is that latter problem that is what this thread >is about : how, if the verso page contains real >typesettable content, to ensure that the next section >start not just recto, but recto+2, so that the verso >counterpart of the opening section page is blank. > >>The thread identifier and > >Don't understand this line at all :-( > >>still indicate that you want to have chapter style for sections. And I >>recommend the "top" designation indeed: > >Right, that is what I already have; but in your earlier >message, you recommended "page" ... > >>It seems to me that I understand titlesec better here than you, although >>I didn't know what it does until yesterday. > >I am very happy to believe that, since I understand almost >nothing about LaTeX and its packages at all ... > >>With >> \titleclass{\section}{top} >>you don't need \cleardoublepage in \Section, because this \titleclass >>declaration makes \section execute \doubleclearpage! Seen from code and >>tested! This is what \titleclass has been made for! >>This was the heart of my previous message: > >Right, I will try that next (but see note below, in closing summary). > >>At 08:47 15.03.09, Uwe L?ck wrote: >>>With such a declaration, you needn't care any more about \clear... >>(where I skipped the "empty" matter because it hadn't been raised yet). > >Confused : not sure what you are saying here ... Does this refer >to my '"page" not only generates an "opening chapter style" page' ? > >Anyhow, a resume of where we are, after incorporating your suggestions : > >Adding \null just before \LaTeXcleardoublepage causes unwanted >blank pages at start of document. > >\cleardoublepage in the definition of \Section was indeed >an error, but it does need an explicit \clearpage, otherwise >\sectiontype is set too soon and affects the running head >of the current page (the running head should change >only as the new section starts). > >Using titleclass "page" gives me content-free opening >section pages; I need opening section pages to have >content below the heading. > >Many thanks for all your help, Uwe, but as you can >see, we're clearly not there yet ! > >** Phil. From P.Taylor at Rhul.Ac.Uk Mon Mar 16 11:03:19 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Mon, 16 Mar 2009 10:03:19 +0000 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <5.1.0.14.0.20090316011934.02eff590@pop3.web.de> References: <5.1.0.14.0.20090315123305.02679640@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090315123305.02679640@pop3.web.de> <5.1.0.14.0.20090316011934.02eff590@pop3.web.de> Message-ID: <49BE23E7.5020907@Rhul.Ac.Uk> Uwe L?ck wrote: > As a "counterpart" to the final summary below, I start with my own > summary, may be better than those dialogs spanning screens: > > 1. My earlier suggestion \titlceclass{\section}{page} was wrong, due to > my misunderstanding of `counterpart', obsolete. I recommend Phil's > original \titleclass{\section}{top} instead. > > 2. If the additional \null that I suggested earlier really generates > empty pages no. 1 etc., replace it by \ifnum\value{page}>1\null\fi or so Fine, thank you Uwe. This does indeed produce results far closer to my needs than any previous version, and I will now look to see if I can get Sections (and Subsections, which I had not previously mentioned, but which too are of class "top") to open verso when appropriate, whilst ensuring that Chapters continue to open recto as before. The reference to \value was also very useful; I was unaware of its existence. ** Phil. From uwe.lueck at web.de Mon Mar 16 11:39:56 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 16 Mar 2009 11:39:56 +0100 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <49BE23E7.5020907@Rhul.Ac.Uk> References: <5.1.0.14.0.20090316011934.02eff590@pop3.web.de> <5.1.0.14.0.20090315123305.02679640@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090315123305.02679640@pop3.web.de> <5.1.0.14.0.20090316011934.02eff590@pop3.web.de> Message-ID: <5.1.0.14.0.20090316113054.0267ac80@pop3.web.de> At 11:03 16.03.09, Philip TAYLOR wrote: >I will now look to see if I can get Sections (and Subsections, >which I had not previously mentioned, but which too are >of class "top") to open verso when appropriate, whilst >ensuring that Chapters continue to open recto as before. Opening verso contradicts the thread identifier and is not supported by titlesec. You might not use \titlesec{\section} at all and instead use \def\Section{\clearpage\null\newpage...}. (It may be difficult to fit this sectioning level into the order that titlesec creates.) BTW the emptypage package has an option `odd' on which all chapters open verso (never recto). -- Uwe. From P.Taylor at Rhul.Ac.Uk Mon Mar 16 12:01:41 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Mon, 16 Mar 2009 11:01:41 +0000 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <5.1.0.14.0.20090316113054.0267ac80@pop3.web.de> References: <5.1.0.14.0.20090316011934.02eff590@pop3.web.de> <5.1.0.14.0.20090315123305.02679640@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> <5.1.0.14.0.20090315123305.02679640@pop3.web.de> <5.1.0.14.0.20090316011934.02eff590@pop3.web.de> <5.1.0.14.0.20090316113054.0267ac80@pop3.web.de> Message-ID: <49BE3195.5030205@Rhul.Ac.Uk> Uwe L?ck wrote: > At 11:03 16.03.09, Philip TAYLOR wrote: >> I will now look to see if I can get Sections (and Subsections, >> which I had not previously mentioned, but which too are >> of class "top") to open verso when appropriate, whilst >> ensuring that Chapters continue to open recto as before. > > Opening verso contradicts the thread identifier Agreed, but I don't think one should be too constrained by such considerations : if an option which wasn't previously considered seems attractive after productive discussion, then surely one should consider it ? > and is not supported by > titlesec. You might not use \titlesec{\section} at all and instead use > \def\Section{\clearpage\null\newpage...}. (It may be difficult to fit > this sectioning level into the order that titlesec creates.) BTW the > emptypage package has an option `odd' on which all chapters open verso > (never recto). OK, thank you for the information. What I /suspect/ I now need is the "openany" option to \documentclass, and to augment the \chapter macro (via \Chapter) to open recto. I will then need to take care of sections that end verso as before, since they will need to be followed by a blank recto, but now that I know about \value {page} from your preceding message, it should be fairly easy (using \ifodd) to work out where one is in the spread. ** Phil. From P.Taylor at Rhul.Ac.Uk Sun Mar 15 10:43:07 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 15 Mar 2009 09:43:07 +0000 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> References: <5.1.0.14.0.20090314205449.0266c320@pop3.web.de> Message-ID: <49BCCDAB.1000408@Rhul.Ac.Uk> Uwe L?ck wrote: > According to my understanding of titlesec, you want to have sections of > titlesec class "page" (like standard \part), not "top" (like standard > \chapter). With such a declaration, you needn't care any more about > \clear... Actually, \cleardoublepage skips the next page if it is even > (\if at twoside), so there is no need for an extra algorithm deciding > whether to \clearpage or to \cleardoublepage. Thank you, Uwe : as far as I can see, "page" not only generates an "opening chapter style" page (which I don't want, for sections) but it also doesn't solve the problem of a section finishing verso -- the next section starts recto on the same spread (sample attached). ** Phil. -------- % (1) Make blank pages really REALLY blank \let \LaTeXcleardoublepage = \cleardoublepage \def \cleardoublepage {% \clearpage \begingroup \columnseprule = 0 pt \pagestyle {empty}% \LaTeXcleardoublepage \endgroup } % (2) Extra "cleardoublepage" for section \def \Section #1 { \cleardoublepage \def \sectiontype {#1} \section [\sectiontype]{\this \sectiontype} \input Byz-#1.dat } (3) Titleclass declaration \titleclass \section {page} ... (4) Usage \Section {Symbols} \Section {Incunabula} % (5) Results : in attachment -------------- next part -------------- A non-text attachment was scrubbed... Name: Page from Porphyrogenitus.pdf Type: application/pdf Size: 290954 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090315/f49e77cf/attachment-0001.pdf From P.Taylor at Rhul.Ac.Uk Sun Mar 15 22:56:57 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 15 Mar 2009 21:56:57 +0000 Subject: [texhax] LaTeX : Section opening recto, verso blank In-Reply-To: <49BD3ED0.3040800@earthlink.net> References: <49BB8265.60200@Rhul.Ac.Uk> <49BD3ED0.3040800@earthlink.net> Message-ID: <49BD79A9.9030702@Rhul.Ac.Uk> My thanks to all who offered suggestions; sadly we don't yet seem to have arrived at a solution ! As one or two of my correspondents were not sure exactly what I was setting out to achieve, I attach a PDF spread illustrating the problem. The section on Incunabula finishes verso, at p.~134; the section on Cryptographs commences recto, at p.~135. Because of the ugliness of the two when seen side-by-side, I would like the code to detect that the Incunabula section has finished verso, and to cause the section on Cryptographs to commence recto not on p.~135 as at present, but rather on p.~137 In fact, I would even settle for the section on Cryptographs starting verso on p.~136 (i.e., sections can open verso), so long as chapters continue to open recto. Philip TAYLOR -------------- next part -------------- A non-text attachment was scrubbed... Name: Page from Porphyrogenitus.pdf Type: application/pdf Size: 349802 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090315/2b587f7c/attachment-0001.pdf From fatihtank at gmail.com Tue Mar 17 03:26:19 2009 From: fatihtank at gmail.com (Fatih TANK) Date: Tue, 17 Mar 2009 04:26:19 +0200 Subject: [texhax] "cannot download the list of available package repositories" Message-ID: dear sir when i try to comopile my article it always says me that "cannot download the list of available package repositories". it is almost impossible to intall all needed files manualy. in early times it was installing automaticcaly but why not now? if you help me i'll be appciated. i use winedt and MikTeX and firewall is inactive. regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090317/c174808d/attachment.html From axel.retif at mac.com Tue Mar 17 07:17:29 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 17 Mar 2009 00:17:29 -0600 Subject: [texhax] "cannot download the list of available package repositories" In-Reply-To: References: Message-ID: <9DDA04B2-383A-409A-A845-3202B0527637@mac.com> On 16 Mar, 2009, at 20:26, Fatih TANK wrote: > dear sir > > when i try to comopile my article it always says me that "cannot > download the list of available package repositories". it is almost > impossible to intall all needed files manualy. in early times it was > installing automaticcaly but why not now? > > if you help me i'll be appciated. > > i use winedt and MikTeX and firewall is inactive. Maybe you can get better help in the MiKTeX mailing list. But anyway, what version of MiKTeX are you using? Have you verified your MiKTeX settings?: Programs -> MiKTeX (2.7?) -> Settings -> Packages tab -> Package repository (click in Change...), verify that ``Packages shall be installed from the Internet'' is selected, click in ``Connection Settings'' and verify everything is as it should. Hope you can get better help here or in the MiKTeX forums or whatever (I'm not a MiKTeX ---nor Windows--- user). Best, Axel From fatihtank at gmail.com Tue Mar 17 09:38:24 2009 From: fatihtank at gmail.com (Fatih TANK) Date: Tue, 17 Mar 2009 10:38:24 +0200 Subject: [texhax] "cannot download the list of available package repositories" In-Reply-To: <9DDA04B2-383A-409A-A845-3202B0527637@mac.com> References: <9DDA04B2-383A-409A-A845-3202B0527637@mac.com> Message-ID: i receive same error... it doesnt accept any installation from internet. regards. On Tue, Mar 17, 2009 at 8:17 AM, Axel E. Retif wrote: > On 16 Mar, 2009, at 20:26, Fatih TANK wrote: > > dear sir >> >> when i try to comopile my article it always says me that "cannot download >> the list of available package repositories". it is almost impossible to >> intall all needed files manualy. in early times it was installing >> automaticcaly but why not now? >> >> if you help me i'll be appciated. >> >> i use winedt and MikTeX and firewall is inactive. >> > > Maybe you can get better help in the MiKTeX mailing list. But anyway, what > version of MiKTeX are you using? > > Have you verified your MiKTeX settings?: > > Programs -> MiKTeX (2.7?) -> Settings -> Packages tab -> Package repository > (click in Change...), verify that ``Packages shall be installed from the > Internet'' is selected, click in ``Connection Settings'' and verify > everything is as it should. > > Hope you can get better help here or in the MiKTeX forums or whatever (I'm > not a MiKTeX ---nor Windows--- user). > > Best, > > Axel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090317/807d881a/attachment.html From axel.retif at mac.com Tue Mar 17 10:01:05 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 17 Mar 2009 03:01:05 -0600 Subject: [texhax] "cannot download the list of available package repositories" In-Reply-To: References: <9DDA04B2-383A-409A-A845-3202B0527637@mac.com> Message-ID: On 17 Mar, 2009, at 02:38, Fatih TANK wrote: > i receive same error... it doesnt accept any installation from > internet. Sorry about that. Hope someone knows what the problem might be. But also consider MiKTeX's mailing list: https://lists.sourceforge.net/lists/listinfo/miktex-users Remember to specify which MikTeX version you're using. Best, Axel > > regards. > > On Tue, Mar 17, 2009 at 8:17 AM, Axel E. Retif > wrote: > On 16 Mar, 2009, at 20:26, Fatih TANK wrote: > > dear sir > > when i try to comopile my article it always says me that "cannot > download the list of available package repositories". it is almost > impossible to intall all needed files manualy. in early times it was > installing automaticcaly but why not now? > > if you help me i'll be appciated. > > i use winedt and MikTeX and firewall is inactive. > > Maybe you can get better help in the MiKTeX mailing list. But > anyway, what version of MiKTeX are you using? > > Have you verified your MiKTeX settings?: > > Programs -> MiKTeX (2.7?) -> Settings -> Packages tab -> Package > repository (click in Change...), verify that ``Packages shall be > installed from the Internet'' is selected, click in ``Connection > Settings'' and verify everything is as it should. > > Hope you can get better help here or in the MiKTeX forums or > whatever (I'm not a MiKTeX ---nor Windows--- user). > > Best, > > Axel From jg.murray at sympatico.ca Tue Mar 17 14:14:36 2009 From: jg.murray at sympatico.ca (Jean-Guy Murray) Date: Tue, 17 Mar 2009 09:14:36 -0400 Subject: [texhax] LaTex Error Mesages Message-ID: Hi, Whenever I compile my input file and have errors in it, these are indicated in the Output Latex Profile window and references are made in relation to the line number(s) where these errors occur. Even with an input file that is not too long, it is cumbersome to count the lines to identify the line refered to. Is there a way to have line numbers of the input file indicated in the input file window so one can readily identify the lien refered to? I am using TeXnicCenter Thank you for your ki nd attention Jean-Guy Murray jgmurray85 at sympatico.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090317/a6b5032f/attachment.html From daleif at imf.au.dk Tue Mar 17 16:32:51 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 17 Mar 2009 16:32:51 +0100 Subject: [texhax] LaTex Error Mesages In-Reply-To: References: Message-ID: <49BFC2A3.5060202@imf.au.dk> Jean-Guy Murray wrote: > Hi, > > Whenever I compile my input file and have errors in it, these are indicated in the Output Latex Profile window and references are made in relation to the line number(s) where these errors occur. > > Even with an input file that is not too long, it is cumbersome to count the lines to identify the line refered to. > > Is there a way to have line numbers of the input file indicated in the input file window so one can readily identify the lien refered to? > > I am using TeXnicCenter > > Thank you for your ki nd attention > very well hidden in one of TeXnic Centers configuration menus you will find a tickbox to activate line numbers. Though, I cannot remember where it is located, though I know it is there. -- /daleif From bsambale at gmx.de Tue Mar 17 18:46:17 2009 From: bsambale at gmx.de (Benjamin Sambale) Date: Tue, 17 Mar 2009 18:46:17 +0100 Subject: [texhax] LaTex Error Mesages In-Reply-To: References: Message-ID: <49BFE1E9.7080301@gmx.de> TeXnicCenter Version 1 Beta 7.5 has this feature. Jean-Guy Murray schrieb: > Hi, > > Whenever I compile my input file and have errors in it, these are > indicated in the Output Latex Profile window and references are made > in relation to the line number(s) where these errors occur. > > Even with an input file that is not too long, it is cumbersome to > count the lines to identify the line refered to. > > Is there a way to have line numbers of the input file indicated in the > input file window so one can readily identify the lien refered to? > > I am using TeXnicCenter > > Thank you for your ki nd attention > > Jean-Guy Murray > > jgmurray85 at sympatico.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 From asnd at triumf.ca Wed Mar 18 02:38:04 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 17 Mar 2009 18:38:04 -0700 Subject: [texhax] Punctuation around inline diagrams In-Reply-To: <20080704192402.713be6dd.padawan12@obiwannabe.co.uk> References: <20080704155403.529b8052.padawan12@obiwannabe.co.uk> <486E6075.9050004@imf.au.dk> <20080704192402.713be6dd.padawan12@obiwannabe.co.uk> Message-ID: Andy Farnell writes: > The code for the image include is; > > % Graphics include for inline objects > \newcommand{\pdobj}[1]{% > \raisebox{-1pt}{\enspace\includegraphics[angle=0, scale=0.6]% > {./images/objects/#1.ps}}} That definition looks fine, with no spurious spaces or breakpoints > Finally we'll use differentiation with \pdobj{object-sd-fexpr} > and \pdobj{object-sd-clip} to get changes that are positive. > Modulating the sine wave by the output of \pdobj{object-sd-tm} This example doesn't demonstrate how you type it when punctuation is involved, so I will have to guess that you use "test \pdobj{object-sd-clip} , text" or "test \pdobj{object-sd-clip} , text" (with a line-break rather than a space). Of course the space before the comma allows the line break in the typeset output. Replace that space with "~", or omit it altogether. > > > Lorem ipsum dolor sit amet, consectetur....so using this method the {object}, This example has no space, and the definition has no break point, so there is some other factor involved. Did you "simplify" the definition? -- Donald Arseneau asnd at triumf.ca From asnd at triumf.ca Wed Mar 18 03:01:39 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 17 Mar 2009 19:01:39 -0700 Subject: [texhax] Swedish Characters In-Reply-To: References: Message-ID: "Martin J?nsson" writes: > \usepackage[encoding]{inputenc} > > file 'encoding.def' not found Of course the word "encoding" should be changed to the actual character encoding used for the input file. > \usepackage[latin1]{inputenc} > > but this generated the error message > > !Package inputeenc Error: Keyboard character used is undefined > (inputenc) in inputencoding 'latin1'. OK, that shows the input encoding is not "latin1", alias ISO 8859-1. Maybe the input files use another in the 8859 series (a summary can be found at http://www.terena.org/activities/multiling/ml-docs/iso-8859.html Another possibility is a Microsoft variant character set, usually quoted as "code-page ", in which case use \usepackage[cp1252]{inputenc} or [cp850] ?? But unicode UTF-8 is the most likely candidate, so I suggest your friend try \usepackage[utf8]{inputenc} or, perhaps try \usepackage{ucs} \usepackage[utf8x]{inputenc} If they don't work, maybe the text file is in some other encoding, and the text editor will tell what it is, or maybe someone will need to look at it, or maybe even there are stray binary bytes mixed in with the input characters. -- Donald Arseneau asnd at triumf.ca From uwe.lueck at web.de Wed Mar 18 16:22:15 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 18 Mar 2009 16:22:15 +0100 Subject: [texhax] LaTex Error Mesages In-Reply-To: <49BFC2A3.5060202@imf.au.dk> References: Message-ID: <5.1.0.14.0.20090318160606.026751d0@pop3.web.de> At 16:32 17.03.09, Lars Madsen wrote: >Jean-Guy Murray wrote: > > Whenever I compile my input file and have errors in it, these are > indicated in the Output Latex Profile window and references are made in > relation to the line number(s) where these errors occur. > > > > Even with an input file that is not too long, it is cumbersome to count > the lines to identify the line refered to. > > > > Is there a way to have line numbers of the input file indicated in the > input file window so one can readily identify the lien refered to? > > > > I am using TeXnicCenter > >very well hidden in one of TeXnic Centers configuration menus you will >find a tickbox to activate line numbers. I don't know TeXnicCenter at all, but you should look for `options' or `settings' (or `edit settings' or ...). Very generally, there are three kinds of accessing line numbers in editors: 1. You may find a `go to' function in some menu where you can enter the line number where to go to. 2. The file content window may have a column displaying the numbers of the lines displayed (to be activated in the settings). 3. The window may display somewhere the line number where the cursor is (plus the number of the character in the line). This may be in some "status line", and it may be necessary to *activate* displaying that "status line". The format of the line number may be cryptical, it may be necessary that somebody points at it with his finger so you realize that it's the line number ... -- Uwe. From daleif at imf.au.dk Wed Mar 18 16:52:08 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 18 Mar 2009 16:52:08 +0100 Subject: [texhax] LaTex Error Mesages In-Reply-To: <49BFC2A3.5060202@imf.au.dk> References: <49BFC2A3.5060202@imf.au.dk> Message-ID: <49C118A8.5070903@imf.au.dk> Lars Madsen wrote: > Jean-Guy Murray wrote: >> Hi, >> >> Whenever I compile my input file and have errors in it, these are indicated in the Output Latex Profile window and references are made in relation to the line number(s) where these errors occur. >> >> Even with an input file that is not too long, it is cumbersome to count the lines to identify the line refered to. >> >> Is there a way to have line numbers of the input file indicated in the input file window so one can readily identify the lien refered to? >> >> I am using TeXnicCenter >> >> Thank you for your ki nd attention >> > > very well hidden in one of TeXnic Centers configuration menus you will > find a tickbox to activate line numbers. > > Though, I cannot remember where it is located, though I know it is there. > just had a look, Tools -> options -> Editor then tick the 'Show line numbers' -- /daleif From tug-news at tug.org Thu Mar 19 23:33:09 2009 From: tug-news at tug.org (tug-news at tug.org) Date: Thu, 19 Mar 2009 17:33:09 -0500 Subject: [texhax] March 2009 TUG news: conferences, memberships, logo competition, interviews Message-ID: <200903192233.n2JMX9g30377@f7.net> Dear TeX users, The upcoming 2009 TeX conferences: - BachoTeX 2009 will be held in Bachotek, Poland, from April 29-May 3, 2009. http://www.gust.org.pl/BachoTeX/2009/main-en.html - TUG 2009 will be held at the University of Notre Dame in Notre Dame, Indiana, USA, from July 28-31, 2009. Deadline for abstracts: April 13. Early bird registration deadline: April 27. http://tug.org/tug2009/ - EuroTeX 2009 will be held in The Hague, The Netherlands, from August 31-September 4, 2009. Deadline for abstracts: April 30. http://www.ntg.nl/EuroTeX2009/ Other TUG news: - The deadline for the early bird discount on TUG membership is March 31. Please join or renew if you haven't already: http://tug.org/join.html - We've opened a design competition for a new TUG logo, open to anyone. Deadline is April 30. Details at: http://tug.org/logo/competition/ - Recent subjects in the Interview Corner: Sebastian Rahtz, Arthur Reutenauer, David MacKay, Yannis Haralambous, Jonathan Fine, Boguslaw Jackowski & Janusz Marian Nowacki, and Pierre MacKay. We continue to work on the production of a book of the interviews. http://tug.org/interviews/ As always, we appreciate your support, Karl Berry (President) on behalf of the TUG Board http://www.tug.org/ From kjoemail at gmail.com Thu Mar 19 19:02:03 2009 From: kjoemail at gmail.com (Kevin Shorner-Johnson) Date: Thu, 19 Mar 2009 14:02:03 -0400 Subject: [texhax] Placing tables in APA Message-ID: I have a question that seems to me like it should be fairly straight-forward, but I can't find the magic solution. I am writing a paper in APA style using the header: \documentclass[man]{apa} When I place tables in my document, this style automatically places all tables at the end of the document (while in [man] mode). However, I would really like for my tables to appear in the text of my document. After researching table floats and placement, I used: \begin{table}[h] -and- \begin{table}[!h] to force the table to appear in the body of the text, but to no avail. Is there something that I am not trying? Thank you so much for any help you can provide. Kevin Shorner-Johnson -- Kevin Shorner-Johnson Ed.D. Candidate in Music Education University of Georgia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090319/37969e9b/attachment.html From axel.retif at mac.com Fri Mar 20 06:05:04 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 19 Mar 2009 23:05:04 -0600 Subject: [texhax] Placing tables in APA In-Reply-To: References: Message-ID: On 19 Mar, 2009, at 12:02, Kevin Shorner-Johnson wrote: > I have a question that seems to me like it should be fairly straight- > forward, but I can't find the magic solution. > > I am writing a paper in APA style using the header: > > \documentclass[man]{apa} > > When I place tables in my document, this style automatically places > all tables at the end of the document (while in [man] mode). > However, I would really like for my tables to appear in the text of > my document. After researching table floats and placement, I used: > > \begin{table}[h] -and- \begin{table}[!h] > > to force the table to appear in the body of the text, but to no avail. If you're using TeXLive 2008 (maybe with MiKTeX is the same), in your terminal or Command Prompt type texdoc apacls (the document is in /usr/local/texlive/2008/texmf-dist/doc/latex/apa/apacls.html ). See especially, about the middle of the document, the section ``Float placement, loading, and content''. Best, Axel From juergen.fenn at GMX.DE Fri Mar 20 12:03:30 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Fri, 20 Mar 2009 12:03:30 +0100 Subject: [texhax] FYI: CTAN Announcements via Twitterfeed Message-ID: <49C37802.1040109@GMX.DE> As Microblogging becomes ever more popular, I have set up two twitterfeeds of the CTAN announce mailing list. So you can now follow CTAN annoucements on Identi.ca and on Twitter: http://identi.ca/ctanannounce http://twitter.com/CTAN_announce J?rgen. From Jerzy.Ludwichowski at uni.torun.pl Fri Mar 20 12:37:52 2009 From: Jerzy.Ludwichowski at uni.torun.pl (Jerzy Ludwichowski) Date: Fri, 20 Mar 2009 12:37:52 +0100 Subject: [texhax] BachoTeX 2009 -- registration activated and deadline extension Message-ID: <49C38010.5050204@uni.torun.pl> Dear TeXies, TeX friends and lovers of fine typography -- The registration for participation at BachoTeX 2009 "TeX: at a turning point, or at the crossroads?" is now open (visit http://gust.org.pl/bachotex/2009)-- please join! Lower rates apply until the April 5th. Do you like the conference logo? We have also extended the deadlines for submitting papers the deadline for abstracts and other proposals is the March 27th and the deadline for final papers is the April 10th. The call for papers is to be found at http://gust.org.pl/bachotex/2009/call-for-papers. TeX gurus are reminded that we continue collecting TeX pearls (http://gust.org.pl/projects/pearls). Please come and and enjoy the unique company and environment of the only TeX conference held for 17 years at the same place. See you there! Jerzy Ludwichowski GUST, president From axel.retif at mac.com Fri Mar 20 12:46:45 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 20 Mar 2009 05:46:45 -0600 Subject: [texhax] FYI: CTAN Announcements via Twitterfeed In-Reply-To: <49C37802.1040109@GMX.DE> References: <49C37802.1040109@GMX.DE> Message-ID: On 20 Mar, 2009, at 05:03, Juergen Fenn wrote: > As Microblogging becomes ever more popular, I have set up two > twitterfeeds of the CTAN announce mailing list. > > So you can now follow CTAN annoucements on Identi.ca and on Twitter: > > http://identi.ca/ctanannounce > http://twitter.com/CTAN_announce Thank you very much! I've already subscribed to identi.ca as an RSS feed in Apple's Mail. Very handy! Thank you again. Axel From juergen.fenn at GMX.DE Fri Mar 20 13:12:22 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Fri, 20 Mar 2009 13:12:22 +0100 Subject: [texhax] FYI: CTAN Announcements via Twitterfeed In-Reply-To: References: <49C37802.1040109@GMX.DE> Message-ID: <49C38826.1090902@GMX.DE> Axel E. Retif schrieb: >> So you can now follow CTAN annoucements on Identi.ca and on Twitter: >> >> http://identi.ca/ctanannounce >> http://twitter.com/CTAN_announce > > Thank you very much! I've already subscribed to identi.ca as an RSS > feed in Apple's Mail. Very handy! I'm glad you like it. But if you are interested in an RSS feed rather than following the feed via microblogging I think you'd better use the original RSS from the Mail Archive or from Gmane because it's much more reliable than the RSS feeds microblogging services provide... http://www.mail-archive.com/ctan-ann at dante.de/maillist.xml That's the feed that goes into the twitterfeed. BTW, I prefer Identi.ca to Twitter because the former is a free service and all notives there are published under CC-by license while Twitter is a proprietary service. J?rgen. From axel.retif at mac.com Fri Mar 20 13:22:53 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 20 Mar 2009 06:22:53 -0600 Subject: [texhax] FYI: CTAN Announcements via Twitterfeed In-Reply-To: <49C38826.1090902@GMX.DE> References: <49C37802.1040109@GMX.DE> <49C38826.1090902@GMX.DE> Message-ID: <9DBF228D-718D-4A0C-A80B-DB046A7F8A49@mac.com> On 20 Mar, 2009, at 06:12, Juergen Fenn wrote: > Axel E. Retif schrieb: > >>> So you can now follow CTAN annoucements on Identi.ca and on Twitter: >>> >>> http://identi.ca/ctanannounce >>> http://twitter.com/CTAN_announce >> >> Thank you very much! I've already subscribed to identi.ca as an RSS >> feed in Apple's Mail. Very handy! > > I'm glad you like it. But if you are interested in an RSS feed rather > than following the feed via microblogging I think you'd better use the > original RSS from the Mail Archive or from Gmane because it's much > more > reliable than the RSS feeds microblogging services provide... > > http://www.mail-archive.com/ctan-ann at dante.de/maillist.xml > > That's the feed that goes into the twitterfeed. Thank you again. I'm already subscribed as well. Best, Axel From c.a.rowley at open.ac.uk Fri Mar 20 13:24:29 2009 From: c.a.rowley at open.ac.uk (c.a.rowley at open.ac.uk) Date: Fri, 20 Mar 2009 12:24:29 +0000 Subject: [texhax] FYI: CTAN Announcements via Twitterfeed In-Reply-To: <49C37802.1040109@GMX.DE> References: <49C37802.1040109@GMX.DE> Message-ID: This is an automated reply -- we regret that since your message contained more than than 140 characters it was truncated at a crucial poin :-) --------------------------------------------------------------------------- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302) From juergen.fenn at GMX.DE Fri Mar 20 13:45:55 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Fri, 20 Mar 2009 13:45:55 +0100 Subject: [texhax] FYI: CTAN Announcements via Twitterfeed In-Reply-To: References: <49C37802.1040109@GMX.DE> Message-ID: <49C39003.9080706@GMX.DE> c.a.rowley at open.ac.uk schrieb: > > This is an automated reply -- we regret that since your message > contained more than than 140 characters it was truncated at a crucial poin > :-) 8-))) J?rgen. From vivrii at gmail.com Fri Mar 20 13:49:08 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Fri, 20 Mar 2009 08:49:08 -0400 Subject: [texhax] FYI: CTAN Announcements via Twitterfeed In-Reply-To: References: <49C37802.1040109@GMX.DE> Message-ID: <19af81400903200549m1eb81208l1426d48ca98b6703@mail.gmail.com> On Fri, Mar 20, 2009 at 8:24 AM, wrote: > > > This is an automated reply -- we regret that since your message > contained more than than 140 characters it was truncated at a crucial poin > :-) > > --------------------------------------------------------------------------- > The Open University is incorporated by Royal Charter (RC 000391), an exempt > charity in England & Wales and a charity registered in Scotland (SC 038302) The original message clearly identified itself as one from the list "Precedence: list" and any auto-responder should ignore such emails (and emails from other auto-responders, mailer-daemons and other similar animals). There are other safeguard in place to prevent infinite loop. > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From mspuetz at web.de Mon Mar 23 11:44:25 2009 From: mspuetz at web.de (Markus Puetz) Date: Mon, 23 Mar 2009 11:44:25 +0100 Subject: [texhax] Error while Installing texlive 2008 - DVD Message-ID: <1624813469@web.de> Hello, i did install texlive 2008-DVD in WinVista. It works fine. Now i tried to install on WinXP and got this message: ..... Installing: pdftricks Installing: pdfwin Tk:: Error: Can't open 'D:\texmf-dist/doc/latex/pdfwin/Thumbs.db': No such file or directory TeXLive::TLUtils::copy at tlpkg/TeXLive/TLUtils.pm line 721 TeXLive::TLUtils::install_package at tlpkg/TeXLive/TLUtils.pm line 895 TeXLive::TLUtils::install_packages at tlpkg/TeXLive/TLUtils.pm line 804 main::do_install_packages at D:\install-tl line 901 main::do_installation at D:\install-tl line 482 main::__ANON__ at tlpkg/installer/install-menu-perltk.pl line 379 TK callback for .frame.frame1.frame.button Tk::__ANON__ at D:\tlpkg\installer\perllib/Tk.pm line 247 Tk::Button::butUp at D:\tlpkg\installer\perllib/Tk/Button.pm line 111 (command bound to event) Installation stops after that. A file "Thumbs.db" really does not exist on DVD in that directory (and does not seems to be needed for installation on WinVista?). Thank you for helping me. Markus. ____________________________________________________________________ Psssst! Schon vom neuen WEB.DE MultiMessenger geh?rt? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 From grue at diku.dk Mon Mar 23 14:35:24 2009 From: grue at diku.dk (Klaus Grue) Date: Mon, 23 Mar 2009 14:35:24 +0100 (CET) Subject: [texhax] Pointer to TeX Sandbox Howto needed Message-ID: Hi, I need to run TeX in a chroot jail in order to allow non-trusted users to LaTeX documents on a server of mine. I would be very happy if someone on this list could provide pointers to mailing lists, howtos, or web sites where such sandboxing of TeX is discussed. Alternatively, I would be happy to get pointers to small, robust TeX installations which run under Linux. The TeX installation needs to be small because I construct a new chroot jail from scratch each time TeX is going to run. On the other hand, the small TeX installation needs not be "complete" in any sense because my users can add whatever sty-files, font-files, and so on they would like to have in their private jail. But I would need a TeX installation which comprises LaTeX, BibTeX, Makeindex, dvipdfm, and the Computer Modern fonts. Cheers, Klaus From patrick_ at freenet.de Mon Mar 23 14:01:20 2009 From: patrick_ at freenet.de (patrick_ at freenet.de) Date: Mon, 23 Mar 2009 14:01:20 +0100 Subject: [texhax] _very_ slow TeX compilation :( Message-ID: An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090323/4883343b/attachment.html -------------- next part -------------- Hello Norbert, thats the output of env: http://paste.debian.net/31253/ My home is not on NFS - but from running it via -kpathsea-debug=-1 (you dont wanna see the logfile it contains hundred thousand of lines) I see that it is searching for something. It walks through my whole homedirectory (which currently is freakingly big). So what is the root cause of this? regards, Patrick #adBox3 {display:none;} From schweizerkaese at yahoo.de Mon Mar 23 16:36:13 2009 From: schweizerkaese at yahoo.de (Julia Schweizer) Date: Mon, 23 Mar 2009 16:36:13 +0100 Subject: [texhax] Installtion of proTeX Message-ID: <49C7AC6D.6040708@yahoo.de> Dear Webmaster, I?m using MS Vista and I tried to install proTeXt with the pdf guide from Thomas Feuerstack in German. I cannot confugurate the basic interplay between the editor and TEX, because the path miktex\bin is absent. How can I confugurate it.. By the way I?m a new user of LaTex and I try to lern LaTeX by myself Please, help me with best regards Julia Schweizer P.S.: you can answer in german, if you prefer it From wagner at ecei.tohoku.ac.jp Tue Mar 24 02:42:08 2009 From: wagner at ecei.tohoku.ac.jp (Torsten Wagner) Date: Tue, 24 Mar 2009 10:42:08 +0900 Subject: [texhax] Pointer to TeX Sandbox Howto needed In-Reply-To: References: Message-ID: <200903241042.09052.wagner@ecei.tohoku.ac.jp> Hi, as far as I can see schroot should be perfect for you. It allows to setup a chroot and give limited user access to it. Thus, a user can use "schroot latex" to compile a latex file. Please check the man pages of schroot ... web-search should spill out many useful links. However, I do not know what is the nature of your user access. There are physical available in front of your machine ? Or will they log in by ssh? If the second is the point you might like to use one of the virtual machines concepts allow a own ip-address for your "tex-machine" and a (as most as possible) completed closed environment encapsulated from your host environment. Some, which I used already ordered from simple (less overhead) complex (much set-up work paid off by many bells and whistles) schroot aka chroot (strictly spoken not a vm, but very less computational overhead) VServer (like a chroot on drugs :) ) VirtualBox (rather easy set-up but more gui-based on both host and clients) Xen (this might requires a complete reinstall of your server machine) There a many many more http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machines might be a good overview to start with. In addition the usage of lvm is imho very helpful. Every machine can get a own partition to live in, easy maintainable and changeable over time from the host system. Some of the virtual machine concepts allow sophisticated forking of a virtual environment. You just have to set-up onces a main system and only have to maintain this single system, however, every user might like to start a own machine to work within. If you like to isolated them (both users and machines) strictly from each other this might be what you want. There might be smaller to bigger overheads with one or the other solution but as far as computer power goes nowadays this should be not a significant problem, unlike we talk about concurrent users fare more then several dozen. Hope that helps a bit Totti CC. As far as I know LaTeX and friends should feel homely in any of the above solutions. :) > Hi, > > I need to run TeX in a chroot jail in order to allow non-trusted users to > LaTeX documents on a server of mine. > > I would be very happy if someone on this list could provide pointers to > mailing lists, howtos, or web sites where such sandboxing of TeX is > discussed. > > Alternatively, I would be happy to get pointers to small, robust TeX > installations which run under Linux. The TeX installation needs to be > small because I construct a new chroot jail from scratch each time TeX is > going to run. On the other hand, the small TeX installation needs not be > "complete" in any sense because my users can add whatever sty-files, > font-files, and so on they would like to have in their private jail. But I > would need a TeX installation which comprises LaTeX, BibTeX, Makeindex, > dvipdfm, and the Computer Modern fonts. > > Cheers, > Klaus > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- ---------------------------------------------------------------- ?980-8579 ???????????6-6-05 Tel/Fax : 022-795-7076 E-mail : wagner at ecei.tohoku.ac.jp Web: http://www.bme.ecei.tohoku.ac.jp/ ---------------------------------------------------------------- From daleif at imf.au.dk Tue Mar 24 10:10:14 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 24 Mar 2009 10:10:14 +0100 Subject: [texhax] Installtion of proTeX In-Reply-To: <49C7AC6D.6040708@yahoo.de> References: <49C7AC6D.6040708@yahoo.de> Message-ID: <49C8A376.8000706@imf.au.dk> Julia Schweizer wrote: > Dear Webmaster, > I?m using MS Vista and I tried to install proTeXt with the pdf guide from > Thomas Feuerstack in German. > I cannot confugurate the basic interplay between the editor and TEX, > because the path > miktex\bin is absent. huh, did you actually install MikTeX during the installation? have you tried searching for miktex on your Vista? it might be programs/miktex 2.7/miktex/bin or something like that (yes it is quite anoying that TeXnicCenter cannot foind LaTeX on its own) /daleif > How can I confugurate it.. By the way I?m a new user of LaTex and I try > to lern LaTeX by myself > Please, help me > with best regards Julia Schweizer > > P.S.: you can answer in german, if you prefer it > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -- /daleif From grue at diku.dk Tue Mar 24 10:56:52 2009 From: grue at diku.dk (Klaus Grue) Date: Tue, 24 Mar 2009 10:56:52 +0100 (CET) Subject: [texhax] Pointer to TeX Sandbox Howto needed In-Reply-To: <200903241042.09052.wagner@ecei.tohoku.ac.jp> References: <200903241042.09052.wagner@ecei.tohoku.ac.jp> Message-ID: Hi Torsten, > as far as I can see schroot should be perfect for you. It allows to setup a > chroot and give limited user access to it. Thus, a user can use "schroot > latex" to compile a latex file. Thanks for the pointer. schroot definitely looks promissing. > However, I do not know what is the nature of your user access. There are > physical available in front of your machine ? Or will they log in by ssh? I have two security problems. One is to give access to LaTeX through a web formula to untrusted users. I do that at http://logiweb.eu/logiweb/tutorial/submit.html. But in that case I can use chroot. The other problem is that end users of my "Logiweb" application may not have root privileges and need a clean jail containing LaTeX when they need to cache a "Logiweb page" locally (a "Logiweb page" is a mixture of LaTeX and computer code in the tradition of literate programming, and "Logiweb" is something like a web2c which uses the Internet as repository). In this case schroot looks *perfect*. For the end user problem above I need a small LaTeX installation so that I can make a fresh jail for each run af LaTeX. If I just put all TeX related files on a standard Ubuntu install in a chroot jail then the jail ends up being 72Mb. I will benchmark schroot to see if that is small enough, but if you happen to know smaller TeX installations, I would be very interested. Alternatively, one may of course clean and reuse jails, but such an approach has its own problems. > ... you might like to use one of the virtual machines > ... Some, which I used already ordered from simple (to) complex > schroot aka chroot ... > VServer ... > VirtualBox ... > Xen ... > > There a many many more > http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machines > might be a good overview to start with. > > In addition the usage of lvm is imho very helpful... > ... > Hope that helps a bit Certainly, thanks a lot for the pointers. Cheers, Klaus From rodolfo.medina at gmail.com Tue Mar 24 18:14:55 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Tue, 24 Mar 2009 17:14:55 +0000 Subject: [texhax] pdftex : problems with math symbols in outlines Message-ID: <87iqlyn8q8.fsf@gmail.com> I sent this message to the pdftex mailing list some days ago but got no reply. With the pdftex commands `\pdfoutline' and `\pdfdest' I produce outlines in a left subwindow in the pdf output file. It seems to work fine, except that in math symbols the dollar is shown as it is: `$'. How to work that out? Isn't it possible to write TeX math symbols within outlines? Thanks for any help Rodolfo From largouet at agrocampus-ouest.fr Thu Mar 26 12:45:10 2009 From: largouet at agrocampus-ouest.fr (=?ISO-8859-1?Q?Christine_Largou=EBt?=) Date: Thu, 26 Mar 2009 12:45:10 +0100 Subject: [texhax] Adding packages to mactex (TeXshop) Message-ID: Good morning, I'am a nembye with mac os x and tex shop I find very easy to use. However I have a problem to insert a new package "floatfig" to define floating figures I make a new directory in /usr/local/texlive/2008/texmf-dist/tex/latex call "floatfig" and insert the floatfig.sty inside. This directory or this file in not find during the compilation of my document. Should I inform Txshop that a new package is available but where ?? Thanks for your answer. Best Regards Christine ----- Christine Largou?t, Ma?tre de conf?rences en informatique Agrocampus Ouest, 65 rue de St-Brieuc CS84215, 35 042 Rennes Cedex France Tel : 02-23-48-54-59, Fax : 02-23-48-54-50 email : largouet at agrocampus-ouest.fr http://chris.largouet.googlepages.com From dml2009 at easychair.org Thu Mar 26 14:50:18 2009 From: dml2009 at easychair.org (dml2009 at easychair.org) Date: Thu, 26 Mar 2009 14:50:18 +0100 (CET) Subject: [texhax] CFP: DML 2009--Towards a Digital Mathematics Library, Ontario, CA, Jul 8-9th Message-ID: <20090326135018.C36CE1F6DBE@anxur.fi.muni.cz> Call for papers: Towards a Digital Mathematics Library (DML 2009) July 8-9th, 2009, Ontario, CA c/o CICM 2009 Workshop webpage: 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) 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 (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! From axel.retif at mac.com Thu Mar 26 15:49:24 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 26 Mar 2009 08:49:24 -0600 Subject: [texhax] Adding packages to mactex (TeXshop) In-Reply-To: References: Message-ID: On 26 Mar, 2009, at 05:45, Christine Largou?t wrote: > Good morning, > > I'am a nembye with mac os x and tex shop I find very easy to use. > > However I have a problem to insert a new package "floatfig" to define > floating figures > > I make a new directory in /usr/local/texlive/2008/texmf-dist/tex/latex > call "floatfig" and insert the floatfig.sty inside. No, don't do that ---don't put anything inside /usr/local/texlive/ 2008... Your local additions should go in /usr/local/texlive/texmf- local/ (that is, for a LaTeX package, /usr/local/texlive/texmf-local/ tex/latex), and you have to run in Terminal sudo texhash for (La)TeX to recognize your addition. Also, you can put it in ~/Library/texmf/tex/latex (~/Library means the Library directory of your Home). You don't have to run texhash for anything you put here. I don't know the floatfig package, but isn't it old? I would advise you to subscribe to the TeX on Mac OS mailing list: http://email.esm.psu.edu/mailman/listinfo/macosx-tex Best, Axel From daleif at imf.au.dk Thu Mar 26 16:03:32 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 26 Mar 2009 16:03:32 +0100 Subject: [texhax] Adding packages to mactex (TeXshop) In-Reply-To: References: Message-ID: <49CB9944.8070203@imf.au.dk> Christine Largou?t wrote: > Good morning, > > I'am a nembye with mac os x and tex shop I find very easy to use. > > However I have a problem to insert a new package "floatfig" to define > floating figures > > I make a new directory in /usr/local/texlive/2008/texmf-dist/tex/latex > call "floatfig" and insert the floatfig.sty inside. > This directory or this file in not find during the compilation of my > document. > Should I inform Txshop that a new package is available but where ?? > > Thanks for your answer. > Best Regards > > Christine > you probably forgot at update the file database, try running texhash (perhaps sudo texhash to run it as admin) BTW: you might want to update your LaTeX dist using tlmgr (tex live manager), usually you can get a gfx version using tlmgr --gui -- /daleif From uwe.lueck at web.de Thu Mar 26 16:32:19 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Thu, 26 Mar 2009 16:32:19 +0100 Subject: [texhax] Adding packages to mactex (TeXshop) In-Reply-To: <49CB9944.8070203@imf.au.dk> References: Message-ID: <5.1.0.14.0.20090326161903.0268d730@pop3.web.de> I wondered why it is not in TeXLive. Answer ... At 16:03 26.03.09, Lars Madsen wrote: >Christine Largou?t wrote: > > However I have a problem to insert a new package "floatfig" to define > > floating figures > > > > I make a new directory in /usr/local/texlive/2008/texmf-dist/tex/latex > > call "floatfig" and insert the floatfig.sty inside. > > This directory or this file in not find during the compilation of my > > document. > > Should I inform Txshop that a new package is available but where ?? > >you probably forgot at update the file database, try running > >texhash > >(perhaps sudo texhash to run it as admin) > >BTW: you might want to update your LaTeX dist using tlmgr (tex live >manager), usually you can get a gfx version using > >tlmgr --gui At 15:49 26.03.09, Axel E. Retif wrote: >Christine Largou?t wrote: > > I make a new directory in /usr/local/texlive/2008/texmf-dist/tex/latex > > call "floatfig" and insert the floatfig.sty inside. > >No, don't do that ---don't put anything inside /usr/local/texlive/ >2008... Your local additions should go in /usr/local/texlive/texmf- >local/ (that is, for a LaTeX package, /usr/local/texlive/texmf-local/ >tex/latex), and you have to run in Terminal > >sudo texhash > >for (La)TeX to recognize your addition. Also, you can put it in > >~/Library/texmf/tex/latex (~/Library means the Library directory of >your Home). You don't have to run texhash for anything you put here. > >I don't know the floatfig package, but isn't it old? And I wondered why it is not in TeXLive. Answer seems to be (cf. ctan.tug.org/tex-archive/help/Catalogue/bytopic.html and ctan.tug.org/pkg): floatfig is obsolete, doesn't work with LaTeX2e, superseded by floatflt, which *is* in TeXLive. There are also wrapfig and picinpar (picins seems to be missing as well). HTH -- Uwe. From axel.retif at mac.com Thu Mar 26 23:18:08 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 26 Mar 2009 16:18:08 -0600 Subject: [texhax] Adding packages to mactex (TeXshop) In-Reply-To: <5.1.0.14.0.20090326161903.0268d730@pop3.web.de> References: <5.1.0.14.0.20090326161903.0268d730@pop3.web.de> Message-ID: On 26 Mar, 2009, at 09:32, Uwe L?ck wrote: > I wondered why it is not in TeXLive. Answer ... > >> Christine Largou?t wrote: >> >>> However I have a problem to insert a new package "floatfig" to >>> define floating figures [...] > And I wondered why it is not in TeXLive. Answer seems to be (cf. > ctan.tug.org/tex-archive/help/Catalogue/bytopic.html and > ctan.tug.org/pkg): > > floatfig is obsolete, doesn't work with LaTeX2e, superseded by > floatflt, which *is* in TeXLive. No, unfortunately no, or not any more ---I guess it's not ``free'' as required by TL. > There are also wrapfig and picinpar (picins seems to be missing as > well). What I've been happily using for quite some time is wrapfig, which I learned to use in The LaTeX Companion, 2nd ed, because you don't get much documentation ---part in the package itself and part in /usr/local/texlive/2008/texmf-dist/doc/latex/wrapfig/multiple-span.txt Best, Axel From thomasjacobs at gmail.com Fri Mar 27 01:27:29 2009 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Thu, 26 Mar 2009 19:27:29 -0500 Subject: [texhax] Bibtex entry for article with no author Message-ID: <8f1b7b690903261727n575f98e0y611c7914477499f7@mail.gmail.com> Fellow listers, This is not really a tex question per se, but I would appreciate any suggestion on how one references a magazine/periodical article where no author is provided.? For example, The Economist does not list article authors in its issues, so I am struggling how to create a suitable Bibtex entry.? Several web searches led to using "No Author Given" but this seems very strange when you see it listed in the work as in No Author Given (2007).? Can anyone share an alternative approach? Here is how my current Bibtex entry appears for one of the offending references to the Economist: @MISC{Econ032208Wal, AUTHOR = {{No author given}}, TITLE ={Leaders: {W}all {S}treet's Crisis}, HOWPUBLISHED = Econ, YEAR = 2008, MONTH = {March 22,}, NOTE = {March 22} } %PAGES = {11} Any thoughts greatly appreciated! Tom -- Thomas Jacobs From r.turner at auckland.ac.nz Fri Mar 27 02:08:33 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Fri, 27 Mar 2009 14:08:33 +1300 Subject: [texhax] Bibtex entry for article with no author In-Reply-To: <8f1b7b690903261727n575f98e0y611c7914477499f7@mail.gmail.com> References: <8f1b7b690903261727n575f98e0y611c7914477499f7@mail.gmail.com> Message-ID: <1C7AF734-BC8F-4B49-85FC-0DD4DCF90720@auckland.ac.nz> On 27/03/2009, at 1:27 PM, Thomas Jacobs wrote: > Fellow listers, > > This is not really a tex question per se, but I would appreciate any > suggestion on how one references a magazine/periodical article where > no author is provided. For example, The Economist does not list > article authors in its issues, so I am struggling how to create a > suitable Bibtex entry. Several web searches led to using "No Author > Given" but this seems very strange when you see it listed in the work > as in No Author Given (2007). Can anyone share an alternative > approach? > > Here is how my current Bibtex entry appears for one of the offending > references to the Economist: > > @MISC{Econ032208Wal, > AUTHOR = {{No author given}}, > TITLE ={Leaders: {W}all {S}treet's Crisis}, > HOWPUBLISHED = Econ, > YEAR = 2008, > MONTH = {March 22,}, > NOTE = {March 22} > } > %PAGES = {11} > > Any thoughts greatly appreciated! Well, for what my thoughts are worth (and with my thoughts and two bob you can make a phone call --- well, you *used* to be able to) I would suggest that you list the author as ``The Economist''. Then the citation in your paper would look like The Economist (2007) --- which looks O.K. to me. But what do *I* know? 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 john.simmie at nuigalway.ie Fri Mar 27 08:15:36 2009 From: john.simmie at nuigalway.ie (Simmie, John) Date: Fri, 27 Mar 2009 07:15:36 -0000 Subject: [texhax] Bibtex entry for article with no author Message-ID: <5987A522AEAB7548B380D086C85CD241013C44B5@EVS1.ac.nuigalway.ie> Rather than "No author given" or repeating the journal name, use "Anon." or "Anonymous" which is perfectly acceptable practice in the circumstances. Emeritus Professor John Simmie::Combustion Chemistry Centre::National University of Ireland, Galway From uwe.lueck at web.de Fri Mar 27 11:26:38 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Fri, 27 Mar 2009 11:26:38 +0100 Subject: [texhax] automatic dependency generation for pdflatex In-Reply-To: <1236470368.5692.7.camel@sony-sjs.sp.ph.ic.ac.uk> References: <20090307200327.GA14859@brasko.net> <20090307200327.GA14859@brasko.net> Message-ID: <5.1.0.14.0.20090327110931.026926f0@pop3.web.de> >On Sat, 2009-03-07 at 15:03 -0500, Bob Rossi wrote: > > I'm trying to integrate latex into my build system. I use autotools, What is autotools? > > along with make. I can't figure out how to have latex automatically > > generate the dependencies. The closest I have found is this, > > http://www.ams.org/tex/snapshot.html > > the only problem with it is, it gives relative filenames, not absolute. > > > > Shouldn't latex provide this feature? Any user using a build system to > > build latex would require this functionality. I've found a dozen people > > asking the same question over the years. Any thoughts on how I can solve > > this problem? At 00:59 08.03.09, Steve Schwartz wrote: >I'm not sure exactly what you want, but have you tried running latex >with a -recorder option, i.e., > >latex -recorder file.tex > >? This generates a .fls file that has all the input files, etc., and >with full paths to the files. I attach a script I wrote around it to >pack up a latex file together with the various input files, graphics >files, etc., so I could ship it to someone else. Indeed, my script looks >for and throws away the files related to latex packages, which I guess >is what you want to keep! There are also artex, bundledoc according to http://ctan.tug.org/tex-archive/help/Catalogue/bytopic#bundling and fink and texdepend according to http://ctan.tug.org/tex-archive/help/Catalogue/bytopic#combine However, I am unable to tell from the descriptions whether they generate absolute path names. Moreover, there were two postings on snapshot and bundledoc here January 2008, thread `Long-term stability of LaTeX documents?'. HTH -- Uwe. From martin at oneiros.de Fri Mar 27 12:14:38 2009 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Fri, 27 Mar 2009 12:14:38 +0100 Subject: [texhax] automatic dependency generation for pdflatex In-Reply-To: <5.1.0.14.0.20090327110931.026926f0@pop3.web.de> References: <20090307200327.GA14859@brasko.net> <1236470368.5692.7.camel@sony-sjs.sp.ph.ic.ac.uk> <5.1.0.14.0.20090327110931.026926f0@pop3.web.de> Message-ID: <68c491a60903270414l7af4c5e9p15516aa97742b25d@mail.gmail.com> 2009/3/27, Uwe L?ck : > >On Sat, 2009-03-07 at 15:03 -0500, Bob Rossi wrote: > > > I'm trying to integrate latex into my build system. I use autotools, > What is autotools? http://en.wikipedia.org/wiki/Autotools Best Martin From uwe.lueck at web.de Fri Mar 27 12:20:00 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Fri, 27 Mar 2009 12:20:00 +0100 Subject: [texhax] Fwd: Re: automatic dependency generation for pdflatex Message-ID: <5.1.0.14.0.20090327121708.02d238e0@pop3.web.de> >Date: Fri, 27 Mar 2009 11:26:38 +0100 >From: Uwe L?ck >>On Sat, 2009-03-07 at 15:03 -0500, Bob Rossi wrote: >> > I'm trying to integrate latex into my build system. I use autotools, > >What is autotools? Sorry, I can inform myself on GNU autotools; I just couldn't believe that such a tool could be independent of TeX. -- Uwe. From wagner at ecei.tohoku.ac.jp Fri Mar 27 12:29:14 2009 From: wagner at ecei.tohoku.ac.jp (Torsten Wagner) Date: Fri, 27 Mar 2009 20:29:14 +0900 Subject: [texhax] Bibtex entry for article with no author In-Reply-To: <8f1b7b690903261727n575f98e0y611c7914477499f7@mail.gmail.com> References: <8f1b7b690903261727n575f98e0y611c7914477499f7@mail.gmail.com> Message-ID: <200903272029.14757.wagner@ecei.tohoku.ac.jp> Hi Tom, just a quick idea. If you use your own bibtex style-file. You might just add a new entry which contains no author fields and assign the records in your bib- file to this new style-scheme. If you don't use a own style-file already, check which file you use now (something.bst) search for it in the tex-path, copy it into your personal folder, rename it to e.g. my_something.bst. Open the file. Copy the function for "article" and rename it definition modify the copy to your needs. E.g. FUNCTION {article_noa} { output.bibitem format.title "title" output.check crossref missing$ { journal article.in.journal output.nonnull new.sentence format.vol.year.num.pages output format.url output } { format.article.crossref output.nonnull } if$ format.online.lastcheck doi set.period.dash.check urn set.period.dash.check format.doi.urn output issn set.period.dash.check format.isbn.issn output note set.period.dash.check note output fin.entry } an article without authors might look in the bibfile like below @ARTICLE_NOA{cite_keyword_1, title = {About the sense of articles without authors...}, journal = {Miracle and Science}, year = {1845}, volume = {1}, pages = {1360--1365}, number = {12}, month = {Dec}, } Dont't forget to tell TeX to use your new style-file with \bibliographystyle{my_something} in the TeX-header. That might work or not ;) I didn't test it. Hope that helps. Best regards, Totti > Fellow listers, > > This is not really a tex question per se, but I would appreciate any > suggestion on how one references a magazine/periodical article where > no author is provided. For example, The Economist does not list > article authors in its issues, so I am struggling how to create a > suitable Bibtex entry. Several web searches led to using "No Author > Given" but this seems very strange when you see it listed in the work > as in No Author Given (2007). Can anyone share an alternative > approach? > > Here is how my current Bibtex entry appears for one of the offending > references to the Economist: > > @MISC{Econ032208Wal, > AUTHOR = {{No author given}}, > TITLE ={Leaders: {W}all {S}treet's Crisis}, > HOWPUBLISHED = Econ, > YEAR = 2008, > MONTH = {March 22,}, > NOTE = {March 22} > } > %PAGES = {11} > > Any thoughts greatly appreciated! > > Tom > > -- > Thomas Jacobs > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- ---------------------------------------------------------------- ?980-8579 ???????????6-6-05 Tel/Fax : 022-795-7076 E-mail : wagner at ecei.tohoku.ac.jp Web: http://www.bme.ecei.tohoku.ac.jp/ ---------------------------------------------------------------- From GuseJ at wlu.edu Thu Mar 26 16:29:54 2009 From: GuseJ at wlu.edu (Guse, Joseph) Date: Thu, 26 Mar 2009 11:29:54 -0400 Subject: [texhax] Reference to lists in Roman numerals Message-ID: <6C9297119214A7498C8B4CC14A16B4AE079B683A@MEXMBA.ad.wlu.edu> Hey Diego I found your post a tex user site (pasted below). I had the same question. I realize its been some time, but just in case you still want a solution I figured something out which works, though it is not very elegant... (neither of the renewcommands worked by itself to solve the issue) \renewcommand{\theenumi}{\roman{enumi}} \renewcommand{\labelenumi}{\roman{enumi}.} \begin{enumerate} \item some point \item \label{needRefLaterA} some point referred to later \item another point \item \label{needRefLaterB} another point referred to later \item point which refers to item \ref{needRefLaterA} and item \ref{needRefLaterB}. \end{enumerate} How about outside the enumerate block can I still refer to items \ref{needRefLaterA} and \ref{needRefLaterB}? HERES HOW IT TURNED OUT IN THE PDF... i. some point ii. some point referred to later iii. another point iv. another point referred to later v. point which refers to item ii and item iv. How about out the enumerate block can I still refer to items ii and iv? YOUR POST FROM 2006 .... Hello there, I've created a list with roman numerals using the commands: \begin{list} {\Roman{enumi}.} {usecounter}{enumi}} item \label{aaa}... ... \end{list} However, when I want to make a reference to one of the items in that list, i.e. \ref{aaa} I get printed the value of the counter in arabic numerals instead of the Roman version. Is there a way for changing this value to Romans? Thanks, Diego Ruiz A. Joseph Guse Assistant Professor of Economics Washington & Lee University Lexington, VA 24450 540-458-8915 gusej at wlu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090326/5c03d0bc/attachment.html From lonsdale at unbc.ca Thu Mar 26 22:22:08 2009 From: lonsdale at unbc.ca (Jack Lonsdale) Date: Thu, 26 Mar 2009 14:22:08 -0700 Subject: [texhax] Images just come up as box with image name inside Message-ID: <1238102528.6307.3.camel@lonsdale-desktop> I am having trouble getting images to appear in my pdf file. Currently I am using the graphicx package with the pdftex option. I am using the following: \begin{figure} \begin{center} \includegraphics[width=150mm]{quesnel_aac.png} \end{center} \caption{Past (1981-2009) AAC for the Quesnel TSA. Source: \citealt{pedersen04}} \end{figure} But all that displays in the pdf is a box outline of the image and the filename inside the box. From Herbert.Voss at FU-Berlin.DE Fri Mar 27 22:14:43 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 27 Mar 2009 22:14:43 +0100 Subject: [texhax] Images just come up as box with image name inside In-Reply-To: <1238102528.6307.3.camel@lonsdale-desktop> References: <1238102528.6307.3.camel@lonsdale-desktop> Message-ID: <49CD41C3.4080408@FU-Berlin.DE> Jack Lonsdale schrieb: > > But all that displays in the pdf is a box outline of the image and the > > filename inside the box. delete the option draft for graphicx or the documentclass. Herbert From r.turner at auckland.ac.nz Sat Mar 28 01:47:58 2009 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Sat, 28 Mar 2009 13:47:58 +1300 Subject: [texhax] Reference to lists in Roman numerals In-Reply-To: <6C9297119214A7498C8B4CC14A16B4AE079B683A@MEXMBA.ad.wlu.edu> References: <6C9297119214A7498C8B4CC14A16B4AE079B683A@MEXMBA.ad.wlu.edu> Message-ID: <49F72CB1-C8F6-4A80-ABDF-013C39515EAA@auckland.ac.nz> Does the enumerate package provide the facility that you're looking for? cheers, Rolf Turner On 27/03/2009, at 4:29 AM, Guse, Joseph wrote: > Hey Diego I found your post a tex user site (pasted below). I had > the same question. I realize its been some time, but just in case > you still want a solution I figured something out which works, > though it is not very elegant? (neither of the renewcommands worked > by itself to solve the issue) > > > > \renewcommand{\theenumi}{\roman{enumi}} > > \renewcommand{\labelenumi}{\roman{enumi}.} > > \begin{enumerate} > > > > \item some point > > > > \item \label{needRefLaterA} some point referred to later > > > > \item another point > > > > \item \label{needRefLaterB} another point referred to later > > > > \item point which refers to item \ref{needRefLaterA} and item \ref > {needRefLaterB}. > > > > \end{enumerate} > > > > How about outside the enumerate block can I still refer to items > \ref{needRefLaterA} and \ref{needRefLaterB}? > > > > > > HERES HOW IT TURNED OUT IN THE PDF? > > i. some point > > ii. some point referred to later > > iii. another point > > iv. another point referred to later > > v. point which refers to item ii and item iv. > > How about out the enumerate block can I still refer to items ii and > iv? > > > > > > YOUR POST FROM 2006 ?. > > > > Hello there, > > > > I've created a list with roman numerals using the commands: > > > > \begin{list} {\Roman{enumi}.} > > {usecounter}{enumi}} > > item \label{aaa}... > > ... > > \end{list} > > > > However, when I want to make a reference to one of the > > items in that list, i.e. > > > > \ref{aaa} > > > > I get printed the value of the counter in arabic numerals > > instead of the Roman version. Is there a way for changing this > > value to Romans? > > > > Thanks, > > Diego Ruiz > > > > > > A. Joseph Guse > > Assistant Professor of Economics > > Washington & Lee University > > Lexington, VA 24450 > > 540-458-8915 > > gusej at wlu.edu > > > > ###################################################################### 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 Sat Mar 28 11:53:05 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 28 Mar 2009 11:53:05 +0100 Subject: [texhax] Reference to lists in Roman numerals In-Reply-To: <6C9297119214A7498C8B4CC14A16B4AE079B683A@MEXMBA.ad.wlu.edu> References: <6C9297119214A7498C8B4CC14A16B4AE079B683A@MEXMBA.ad.wlu.edu> Message-ID: <49CE0191.6050708@imf.au.dk> you might want to learn the enumitem package, easy donciguration for each list, and the references can be configureed (actually it is the default) to remember the formatting, i.e. i the number comes out (iv), then the reference will be (iv) including the ()'s /daleif Guse, Joseph wrote: > Hey Diego I found your post a tex user site (pasted below). I had the > same question. I realize its been some time, but just in case you still > want a solution I figured something out which works, though it is not > very elegant? (neither of the renewcommands worked by itself to solve > the issue) > > > > \renewcommand{\theenumi}{\roman{enumi}} > > \renewcommand{\labelenumi}{\roman{enumi}.} > > \begin{enumerate} > > > > \item some point > > > > \item \label{needRefLaterA} some point referred to later > > > > \item another point > > > > \item \label{needRefLaterB} another point referred to later > > > > \item point which refers to item \ref{needRefLaterA} and item > \ref{needRefLaterB}. > > > > \end{enumerate} > > > > How about outside the enumerate block can I still refer to items > \ref{needRefLaterA} and \ref{needRefLaterB}? > > > > > > HERES HOW IT TURNED OUT IN THE PDF? > > i. some point > > ii. some point referred to later > > iii. another point > > iv. another point referred to later > > v. point which refers to item ii and item iv. > > How about out the enumerate block can I still refer to items ii and iv? > > > > > > YOUR POST FROM 2006 ?. > > > > Hello there, > > > > I've created a list with roman numerals using the commands: > > > > \begin{list} {\Roman{enumi}.} > > {usecounter}{enumi}} > > item \label{aaa}... > > ... > > \end{list} > > > > However, when I want to make a reference to one of the > > items in that list, i.e. > > > > \ref{aaa} > > > > I get printed the value of the counter in arabic numerals > > instead of the Roman version. Is there a way for changing this > > value to Romans? > > > > Thanks, > > Diego Ruiz > > > > > > A. Joseph Guse > > Assistant Professor of Economics > > Washington & Lee University > > Lexington, VA 24450 > > 540-458-8915 > > gusej at wlu.edu > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 thomasjacobs at gmail.com Sat Mar 28 14:56:58 2009 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Sat, 28 Mar 2009 08:56:58 -0500 Subject: [texhax] Bibtex entry for article with no author In-Reply-To: <5987A522AEAB7548B380D086C85CD241013C44B5@EVS1.ac.nuigalway.ie> References: <5987A522AEAB7548B380D086C85CD241013C44B5@EVS1.ac.nuigalway.ie> Message-ID: <8f1b7b690903280656u375568efrb2ea125a9e74ee5a@mail.gmail.com> Thanks to Rolf, Torsten and John for the suggestions. All were helpful and better than my current approach. Tom 2009/3/27 Simmie, John > Rather than "No author given" or repeating the journal name, use "Anon." > or "Anonymous" which is perfectly acceptable practice in the > circumstances. > > Emeritus Professor John Simmie::Combustion Chemistry Centre::National > University of Ireland, Galway > > > _______________________________________________ > 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 > -- Thomas Jacobs -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090328/6248058d/attachment.html From rodolfo.medina at gmail.com Sat Mar 28 23:48:16 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sat, 28 Mar 2009 22:48:16 +0000 Subject: [texhax] \nobreak adds undesired vertical glue Message-ID: <87prg1l0wf.fsf@gmail.com> Hi to all (La)TeX users. At a certain point of a text, I need inserting a `\nobreak' to prevent page breaking. But then some undesired vertical glue is added by plain TeX. Is it possible to avoid that, and how? Thanks for any help Rodolfo From pierre.mackay at comcast.net Sun Mar 29 11:54:35 2009 From: pierre.mackay at comcast.net (pierre.mackay at comcast.net) Date: Sun, 29 Mar 2009 09:54:35 +0000 (UTC) Subject: [texhax] query to members in Greece (private reply, not to list, please) In-Reply-To: <988477273.999131238320351532.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> Message-ID: <409888001.999201238320475402.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> Between September and late February. we were able to find unsecured sites that we could reach from an apartment in Ano Ilissia and thus handle our small email needs (much of it TeXhax), but the party seems to be over.? Not only are all sites reduced to 20% signal strength at best, they seem to be either secured to WPA2 or too flakey to carry POP mail traffic.? Can anyone here in Greece suggest (private reply, because I doubt TeXhax wants to see the gory details) what would be the best approach for a three-month connection.? There is an OTE land-line in the apartment, so that may boost the OTE - DSL option rather high in the list of options.? Would we be facing physical alteration of the OTE line?? Would there be a serious early termination cost if the next tenants in the apartment decided not to continue? Euxaristoume Pierre.MacKay at comcast.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090329/9c51a501/attachment.html From rodolfo.medina at gmail.com Sun Mar 29 16:46:49 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 29 Mar 2009 15:46:49 +0100 Subject: [texhax] \nobreaks shrinks following text (was: \nobreak adds undesired vertical glue) References: <87prg1l0wf.fsf@gmail.com> Message-ID: <8763hsfkti.fsf@gmail.com> Rodolfo Medina writes: > At a certain point of a text, I need inserting a `\nobreak' to prevent page > breaking. But then some undesired vertical glue is added by plain TeX. Is > it possible to avoid that, and how? I correct myself: it's not that \nobreaks adds extra vertical glue, but that it shrinks the text that follows in the current paragraph. Can anybody explain why? Thanks for any help Rodolfo From P.Taylor at Rhul.Ac.Uk Sun Mar 29 16:21:50 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 29 Mar 2009 15:21:50 +0100 Subject: [texhax] \nobreaks shrinks following text In-Reply-To: <8763hsfkti.fsf@gmail.com> References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> Message-ID: <49CF83FE.4050804@Rhul.Ac.Uk> I think we need to see your document ... Rodolfo Medina wrote: > Rodolfo Medina writes: > >> At a certain point of a text, I need inserting a `\nobreak' to prevent page >> breaking. But then some undesired vertical glue is added by plain TeX. Is >> it possible to avoid that, and how? > > > I correct myself: it's not that \nobreaks adds extra vertical glue, but that it > shrinks the text that follows in the current paragraph. Can anybody explain > why? > > Thanks for any help > Rodolfo > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From rodolfo.medina at gmail.com Sun Mar 29 21:36:41 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 29 Mar 2009 20:36:41 +0100 Subject: [texhax] \nobreaks shrinks following text References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> <49CF83FE.4050804@Rhul.Ac.Uk> Message-ID: <87ocvk6rzq.fsf@gmail.com> A non-text attachment was scrubbed... Name: test.tex Type: text/x-tex Size: 5448 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090329/73038977/attachment.bin From P.Taylor at Rhul.Ac.Uk Sun Mar 29 22:45:46 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 29 Mar 2009 21:45:46 +0100 Subject: [texhax] \nobreaks shrinks following text In-Reply-To: <87ocvk6rzq.fsf@gmail.com> References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> <49CF83FE.4050804@Rhul.Ac.Uk> <87ocvk6rzq.fsf@gmail.com> Message-ID: <49CFDDFA.4040300@Rhul.Ac.Uk> Hmmm, something odd here : > Transcript written on cmti14.log. > mktexupd failed > ! Undefined control sequence. > l.56 \footline > ={\hss\tenrm-- \folio\ --\hss} > ? Rodolfo Medina wrote: > I'm attaching it. 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. I wish to better > understand this phenomena and why it happens, and whether it is possible to > avoid it: after all, the effect I expect from putting a \nobreak is prevent > page breaking, not shrinking page length. > > Thanks, bye > Rodolfo From rodolfo.medina at gmail.com Mon Mar 30 00:29:30 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 29 Mar 2009 23:29:30 +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> Message-ID: <87wsa8gdyt.fsf@gmail.com> Rodolfo Medina wrote: >> I'm attaching it. 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. I >> wish to better understand this phenomena and why it happens, and whether it >> is possible to avoid it: after all, the effect I expect from putting a >> \nobreak is prevent page breaking, not shrinking page length. Philip TAYLOR writes: > Hmmm, something odd here : > >> Transcript written on cmti14.log. >> mktexupd failed >> ! Undefined control sequence. >> l.56 \footline >> ={\hss\tenrm-- \folio\ --\hss} >> ? That use of \footline is in the TeXbook. Anyway, that's all right: you can cancel line 56, it's not important for our purpose. Thanks Rodolfo From P.Taylor at Rhul.Ac.Uk Mon Mar 30 00:02:29 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 29 Mar 2009 23:02:29 +0100 Subject: [texhax] \nobreaks shrinks following text In-Reply-To: <87ocvk6rzq.fsf@gmail.com> References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> <49CF83FE.4050804@Rhul.Ac.Uk> <87ocvk6rzq.fsf@gmail.com> Message-ID: <49CFEFF5.2010109@Rhul.Ac.Uk> The problem (whatever it is) is not at line 56 (\footline = ...) but earlier, and I do not want to have to debug your code before I can help you with your problem. Please send a document that compiles /without changes/ and which demonstrates the problem, and I will then willingly look at it. Philip TAYLOR -------- Rodolfo Medina wrote: > Rodolfo Medina wrote: > >>> I correct myself: it's not that \nobreaks adds extra vertical glue, but that >>> it shrinks the text that follows in the current paragraph. Can anybody >>> explain why? > > > Philip TAYLOR writes: > >> I think we need to see your document ... > > > I'm attaching it. 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. I wish to better > understand this phenomena and why it happens, and whether it is possible to > avoid it: after all, the effect I expect from putting a \nobreak is prevent > page breaking, not shrinking page length. > > Thanks, bye > Rodolfo > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From doc.evans at gmail.com Mon Mar 30 02:00:59 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Sun, 29 Mar 2009 18:00:59 -0600 Subject: [texhax] \nobreaks shrinks following text In-Reply-To: <49CFEFF5.2010109@Rhul.Ac.Uk> References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> <49CF83FE.4050804@Rhul.Ac.Uk> <87ocvk6rzq.fsf@gmail.com> <49CFEFF5.2010109@Rhul.Ac.Uk> Message-ID: <49D00BBB.50102@gmail.com> Philip TAYLOR said the following at 03/29/2009 04:02 PM : > The problem (whatever it is) is not at line 56 > (\footline = ...) but earlier, and I do not > want to have to debug your code before I can > help you with your problem. Please send > a document that compiles /without changes/ > and which demonstrates the problem, and I will > then willingly look at it. In his defence, it compiles fine here without changes. (Kubuntu 64-bit texlive.) I have no idea how to solve his problem, but I don't think it's that the code he posted is buggy and won't compile. 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/20090329/e3c7a5c6/attachment.bin From chinthah at gmail.com Mon Mar 30 01:51:43 2009 From: chinthah at gmail.com (Chintha Handapangoda) Date: Mon, 30 Mar 2009 10:51:43 +1100 Subject: [texhax] Problem with chapterbib Message-ID: <48b140960903291651o2267d27fy70f6a2803422bcd@mail.gmail.com> Hi, I am a PhD student from Melbourne, Australia. I have a problem with using the chapterbib package for my thesis. Could you please let me know whom I should contact to get some help with this issue? Do you know Donald Arseneau's email address? Thank you very much. Kind Regards, Chintha Handapangoda. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090330/3c54d311/attachment-0001.html From axel.retif at mac.com Mon Mar 30 02:18:00 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 29 Mar 2009 18:18:00 -0600 Subject: [texhax] Problem with chapterbib In-Reply-To: <48b140960903291651o2267d27fy70f6a2803422bcd@mail.gmail.com> References: <48b140960903291651o2267d27fy70f6a2803422bcd@mail.gmail.com> Message-ID: <1DE069B2-4CB3-4F70-8A33-58BD31B8DB1D@mac.com> On 29 Mar, 2009, at 17:51, Chintha Handapangoda wrote: > Hi, > > I am a PhD student from Melbourne, Australia. I have a problem with > using the chapterbib package for my thesis. Could you please let me > know whom I should contact to get some help with this issue? Do you > know Donald Arseneau's email address? I think this is the best place to post your question ---either the author himself or another member of the list might have the solution you're looking for. Just try to be very specific about your problem; and if you can post a minimal example, all the better. Best, Axel From chinthah at gmail.com Mon Mar 30 03:55:48 2009 From: chinthah at gmail.com (Chintha Handapangoda) Date: Mon, 30 Mar 2009 12:55:48 +1100 Subject: [texhax] Problem with chapterbib In-Reply-To: <48b140960903291714p1aebf866q99cffdf0d4a1b017@mail.gmail.com> References: <48b140960903291714p1aebf866q99cffdf0d4a1b017@mail.gmail.com> Message-ID: <48b140960903291855y4ac12aex4a96a09c9ee44d4f@mail.gmail.com> Hi, I am writing my thesis and came across a problem with using the chapterbib package. My problem is, with the chapterbib package, I manage to have a list of references at the end of each chapter, but the \cite command doesn't seem to work properly. I get a "question mark" (?) wherever I have a citation on all the chapters except in the last chapter. Should I use someother command instead of \cite when using chapterbib? I am a beginner to latex, and am using a PhD dissertation template written by someone else. I would be very grateful to you if you could help me resolve this problem. Thank you very much. Kind Regards, Chintha. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090330/098cc4f1/attachment.html From olegkat at gmail.com Mon Mar 30 03:56:30 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 30 Mar 2009 04:56:30 +0300 Subject: [texhax] \nobreaks shrinks following text In-Reply-To: <87ocvk6rzq.fsf@gmail.com> References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> <49CF83FE.4050804@Rhul.Ac.Uk> <87ocvk6rzq.fsf@gmail.com> Message-ID: <20090330015630.GA15915@thor> On Sun, Mar 29, 2009 at 08:36:41PM +0100, Rodolfo Medina wrote: > Rodolfo Medina wrote: > >> I correct myself: it's not that \nobreaks adds extra vertical glue, but that > >> it shrinks the text that follows in the current paragraph. Can anybody > >> explain why? Not really, it doesn't shrink text. It causes (shrinkable) vertical glue to shrink, see below. > 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. When you add \nobreak, TeX has two options. First, it can take the first line of the following paragraph and fit it on the same page as the heading line (and maybe more than one line, depending on your settings of \clubpenalty; in your case, it also has to fit the displayed formula). Or, TeX can just move the heading line to the next page, to keep it with the following paragraph. TeX decides that the former is more pleasing to the eye (actually, it decides that it better satisfies the restrictions you specified), probably because without \nobreak the glue on that page was already stretched quite a bit. Why TeX only puts the beginning of that paragraph on page 1 when you specify \nobreak? Because \nobreak adds penalty to the glue, and that causes recalculation of the "merits" of the viable pagebreaks. Without the added penalty, those lines weren't "good enough" to fit on page 1; with the penalty, it became "more attractive" than to move the heading line to the next page. HTH, Oleg From Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org Mon Mar 30 08:56:51 2009 From: Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org (Philip & Le Khanh) Date: Mon, 30 Mar 2009 07:56:51 +0100 Subject: [texhax] \nobreaks shrinks following text In-Reply-To: <49D00BBB.50102@gmail.com> References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> <49CF83FE.4050804@Rhul.Ac.Uk> <87ocvk6rzq.fsf@gmail.com> <49CFEFF5.2010109@Rhul.Ac.Uk> <49D00BBB.50102@gmail.com> Message-ID: <49D06D33.6060407@Royal-Tunbridge-Wells.Org> How odd : it also compiles OK on a more recent (but still TeX Live 2008 under Windows) installation here. Thank you for pointing out that there was no problem with the original : I shall now look at the \nobreak problem. ** Phil. D. R. Evans wrote: > In his defence, it compiles fine here without changes. (Kubuntu 64-bit > texlive.) > > I have no idea how to solve his problem, but I don't think it's that the > code he posted is buggy and won't compile. > > Doc From asnd at triumf.ca Mon Mar 30 10:00:14 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 30 Mar 2009 01:00:14 -0700 Subject: [texhax] \nobreaks shrinks following text (was: \nobreak adds undesired vertical glue) In-Reply-To: <8763hsfkti.fsf@gmail.com> References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> Message-ID: Rodolfo Medina writes: > Rodolfo Medina writes: > > > At a certain point of a text, I need inserting a `\nobreak' to prevent page > > breaking. But then some undesired vertical glue is added by plain TeX. Is > > it possible to avoid that, and how? > > > I correct myself: it's not that \nobreaks adds extra vertical glue, but that it > shrinks the text that follows in the current paragraph. Can anybody explain > why? No, \nobreak doesn't shrink text either. (...unless you redefined it) Two things it might do: 1) Prevents page breaks (gasp!) that fit the page better, forcing TeX to use alternate break points that do not fit as well. In order for the page contents to fit, flexible glue will stretch or shrink. 2) It can hide vskips that come above it if you do things with \lastskip. I don't see any use of \lastskip in what you posted. . -- Donald Arseneau asnd at triumf.ca From philip.ratcliffe at uninsubria.it Mon Mar 30 10:33:09 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Mon, 30 Mar 2009 10:33:09 +0200 Subject: [texhax] Problem with chapterbib In-Reply-To: <48b140960903291855y4ac12aex4a96a09c9ee44d4f@mail.gmail.com> Message-ID: <2607D6712A384A6BB77D21CA7698333E@PGR1> > I am writing my thesis and came across a problem with using > the chapterbib package. > > My problem is, with the chapterbib package, I manage to have > a list of references at the end of each chapter, but the > \cite command doesn't seem to work properly. I get a > "question mark" (?) wherever I have a citation on all the > chapters except in the last chapter. Should I use someother > command instead of \cite when using chapterbib? I am a > beginner to latex, and am using a PhD dissertation template > written by someone else. > > I would be very grateful to you if you could help me resolve > this problem. I know this is not the reply most people want, but it really does help to read the manual. Anyway, with chapterbib you need to run BibTeX on each file that is \include'd and tha contains citations and then, of course, run LaTeX twice. Other than this, it's hard to imagine what you might be doing wrong. Cheers, Phil From axel.retif at mac.com Mon Mar 30 11:09:31 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Mon, 30 Mar 2009 03:09:31 -0600 Subject: [texhax] Problem with chapterbib In-Reply-To: <2607D6712A384A6BB77D21CA7698333E@PGR1> References: <2607D6712A384A6BB77D21CA7698333E@PGR1> Message-ID: <55257B1A-B5BC-4F34-9A8B-F74798F8C9DC@mac.com> On 30 Mar, 2009, at 02:33, Philip G. Ratcliffe wrote: >> I am writing my thesis and came across a problem with using >> the chapterbib package. >> >> My problem is, with the chapterbib package, I manage to have >> a list of references at the end of each chapter, but the >> \cite command doesn't seem to work properly. I get a >> "question mark" (?) wherever I have a citation on all the >> chapters except in the last chapter. Should I use someother >> command instead of \cite when using chapterbib? I am a >> beginner to latex, and am using a PhD dissertation template >> written by someone else. >> >> I would be very grateful to you if you could help me resolve >> this problem. > > I know this is not the reply most people want, but it really does > help to > read the manual. And, by the way, the manual is in the package itself, after the code; in TeXLive 2008, the package (chapterbib.sty) is in /usr/local/texlive/2008/texmf-dist/tex/latex/cite/ kpsewhich chapterbib.sty in your terminal or Command Prompt can help you find the file in other distributions (TeXLiive 2007, MiKTeX). Best, Axel From david.lentini at gmail.com Mon Mar 30 15:32:45 2009 From: david.lentini at gmail.com (David Lentini) Date: Mon, 30 Mar 2009 09:32:45 -0400 Subject: [texhax] TeXLive2008 for Kubuntu Message-ID: <200903300932.46402.david.lentini@gmail.com> Hi, I haven't received my TeXlive 2008 disk yet, but I'd like to upgrade my TeXlive 2007 installation on my linux system (Kubuntu 8.10, KDE 4.2, AMD-64). Unfortunately, the older packages are still on the Ubuntu package site. What's the best way to do upgrade my system now? Thanks, David Lentini -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090330/c48ad238/attachment.html From rodolfo.medina at gmail.com Mon Mar 30 19:22:01 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Mon, 30 Mar 2009 18:22:01 +0100 Subject: [texhax] \nobreaks shrinks following text References: <87prg1l0wf.fsf@gmail.com> <8763hsfkti.fsf@gmail.com> Message-ID: <873acvj58m.fsf@gmail.com> Rodolfo Medina wrote: >> >> [...] \nobreaks [...] shrinks the text that follows in the current >> >> paragraph. Can anybody explain why? Oleg Katsitadze writes: > Not really, it doesn't shrink text. It causes (shrinkable) vertical > glue to shrink, see below. Rodolfo: >> 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. Oleg: > When you add \nobreak, TeX has two options. First, it can take the > first line of the following paragraph and fit it on the same page as > the heading line (and maybe more than one line, depending on your > settings of \clubpenalty; in your case, it also has to fit the > displayed formula). Or, TeX can just move the heading line to the > next page, to keep it with the following paragraph. TeX decides that > the former is more pleasing to the eye (actually, it decides that it > better satisfies the restrictions you specified), probably because > without \nobreak the glue on that page was already stretched quite a > bit. > > Why TeX only puts the beginning of that paragraph on page 1 when you > specify \nobreak? Because \nobreak adds penalty to the glue, and that > causes recalculation of the "merits" of the viable pagebreaks. > Without the added penalty, those lines weren't "good enough" to fit on > page 1; with the penalty, it became "more attractive" than to move the > heading line to the next page. Donald Arseneau writes: > No, \nobreak doesn't shrink text either. (...unless you redefined it) > > [...] Prevents page breaks (gasp!) that fit the page better, forcing > TeX to use alternate break points that do not fit as well. In order > for the page contents to fit, flexible glue will stretch or shrink. Thanks for your help. Now it is quite clear. Rodolfo From asnd at triumf.ca Mon Mar 30 21:33:28 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 30 Mar 2009 12:33:28 -0700 Subject: [texhax] Problem with chapterbib In-Reply-To: <48b140960903291855y4ac12aex4a96a09c9ee44d4f@mail.gmail.com> References: <48b140960903291714p1aebf866q99cffdf0d4a1b017@mail.gmail.com> <48b140960903291855y4ac12aex4a96a09c9ee44d4f@mail.gmail.com> Message-ID: Chintha Handapangoda writes: > My problem is, with the chapterbib package, I manage to have a list of > references at the end of each chapter, but the \cite command doesn't seem to > work properly. I get a "question mark" (?) You are using BOTH chapterbib AND bibunits. Choose one or the other. -- Donald Arseneau asnd at triumf.ca From philip.ratcliffe at fastwebnet.it Mon Mar 30 22:51:16 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Mon, 30 Mar 2009 22:51:16 +0200 Subject: [texhax] Problem with chapterbib In-Reply-To: Message-ID: Wow! My compliments. That's some crystal ball you've got there Donald. Cheers, Phil > -----Original Message----- > From: texhax-bounces at tug.org [mailto:texhax-bounces at tug.org] > On Behalf Of Donald Arseneau > Sent: Monday, March 30, 2009 9:33 PM > To: texhax at tug.org; Chintha Handapangoda > Subject: Re: [texhax] Problem with chapterbib > > > Chintha Handapangoda writes: > > > My problem is, with the chapterbib package, I manage to > have a list of > > references at the end of each chapter, but the \cite > command doesn't > > seem to work properly. I get a "question mark" (?) > > You are using BOTH chapterbib AND bibunits. Choose one or the other. > > -- > 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 From reinhard.kotucha at web.de Mon Mar 30 23:08:36 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 30 Mar 2009 23:08:36 +0200 Subject: [texhax] MikTeX and web2c (was: Problem with chapterbib) In-Reply-To: <55257B1A-B5BC-4F34-9A8B-F74798F8C9DC@mac.com> References: <2607D6712A384A6BB77D21CA7698333E@PGR1> <55257B1A-B5BC-4F34-9A8B-F74798F8C9DC@mac.com> Message-ID: <18897.13524.714602.63488@zaphod.ms25.net> On 30 March 2009 Axel E. Retif wrote: > And, by the way, the manual is in the package itself, after the code; > in TeXLive 2008, the package (chapterbib.sty) is in > > /usr/local/texlive/2008/texmf-dist/tex/latex/cite/ > > kpsewhich chapterbib.sty > > in your terminal or Command Prompt can help you find the file in other > distributions (TeXLiive 2007, MiKTeX). Does MikTeX provide kpsewhich? I ask because people told me that MikTeX is _not_ based on web2c but I still don't know what this means. It certainly doesn't mean that Christian is using a Pascal compiler instead of converting the web sources to C. I'm a little bit confused. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From axel.retif at mac.com Tue Mar 31 00:05:08 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Mon, 30 Mar 2009 16:05:08 -0600 Subject: [texhax] MikTeX and web2c (was: Problem with chapterbib) In-Reply-To: <18897.13524.714602.63488@zaphod.ms25.net> References: <2607D6712A384A6BB77D21CA7698333E@PGR1> <55257B1A-B5BC-4F34-9A8B-F74798F8C9DC@mac.com> <18897.13524.714602.63488@zaphod.ms25.net> Message-ID: On 30 Mar, 2009, at 15:08, Reinhard Kotucha wrote: > On 30 March 2009 Axel E. Retif wrote: > >> And, by the way, the manual is in the package itself, after the code; >> in TeXLive 2008, the package (chapterbib.sty) is in >> >> /usr/local/texlive/2008/texmf-dist/tex/latex/cite/ >> >> kpsewhich chapterbib.sty >> >> in your terminal or Command Prompt can help you find the file in >> other >> distributions (TeXLiive 2007, MiKTeX). > > Does MikTeX provide kpsewhich? Yes, it does. At least MiKTeX 2.7 does. Best, Axel From karl at freefriends.org Tue Mar 31 00:22:05 2009 From: karl at freefriends.org (Karl Berry) Date: Mon, 30 Mar 2009 17:22:05 -0500 Subject: [texhax] TeXLive2008 for Kubuntu In-Reply-To: <200903300932.46402.david.lentini@gmail.com> Message-ID: <200903302222.n2UMM5u25493@f7.net> Hi David, I haven't received my TeXlive 2008 disk yet, Were you a member in 2008? You certainly should have received it in that case. I see you sent the registration form for 2009 (but didn't see it in 2008), but that gets the 2009 TeX Live, not automatically the 2008 DVD -- that's an option. Confusing, I know, but we haven't been able to find a clearer way to handle it. Anyway, please feel free to write office-admin at tug.org and we'll straighten out any membership stuff. Thanks for your support! but I'd like to upgrade my TeXlive 2007 installation on my linux system (Kubuntu 8.10, KDE 4.2, AMD-64). Unfortunately, the older packages are still on the Ubuntu package site. What's the best way to do upgrade my system now? If you have a decent net connection, the best way is to download the net installer and run it. It'll install under /usr/local (by default) and hence not conflict with anything the system provides. See http://tug.org/texlive/acquire.html for info. Best regards, Karl From reinhard.kotucha at web.de Tue Mar 31 02:12:25 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 31 Mar 2009 02:12:25 +0200 Subject: [texhax] MikTeX and web2c (was: Problem with chapterbib) In-Reply-To: References: <2607D6712A384A6BB77D21CA7698333E@PGR1> <55257B1A-B5BC-4F34-9A8B-F74798F8C9DC@mac.com> <18897.13524.714602.63488@zaphod.ms25.net> Message-ID: <18897.24553.173703.114430@zaphod.ms25.net> On 30 March 2009 Axel E. Retif wrote: > > Does MikTeX provide kpsewhich? > > Yes, it does. At least MiKTeX 2.7 does. Thanks for the info. Seems that the gap between TeX Live and MikTeX is smaller than I expected. I'm glad. 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 jg.murray at sympatico.ca Mon Mar 30 16:21:44 2009 From: jg.murray at sympatico.ca (Jean-Guy Murray) Date: Mon, 30 Mar 2009 10:21:44 -0400 Subject: [texhax] Long Caption in Table Message-ID: Hi, I finally managed to create a table that look pretty good; however, the caption for this table is quite lengthy and I can't see how it can be written over two or three lines so this caption would have the same width as the table. I would greatly appreciate if someone could help me with this problem Thank you for your kind assistance. Jean-Guy Murray -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090330/90a80f28/attachment-0001.html From Muibi.A.Salami at aero.org Mon Mar 30 22:48:15 2009 From: Muibi.A.Salami at aero.org (Muibi A Salami) Date: Mon, 30 Mar 2009 13:48:15 -0700 Subject: [texhax] On Style File Installation for MacTeX Message-ID: TUG Support, Kindly advise me on the following 1. I am using TeXShop and I need to install a style file (any style file now) where do I put the style file 2. Is there a comprehensive User's manual for MacteX and if so where can I get it. 3. In particular, do you know if MacTeX comes with pstricks style? My attempt to use it show that the style is not there. Is this valid? Finally, can you put me in the TUG email list so I learn from other peoples questions too. My email address is muibi.a.salami at aero.org Thank you MAS (Ade) 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/20090330/27360a89/attachment-0001.html From justin at mac.com Tue Mar 31 06:49:20 2009 From: justin at mac.com (Justin C. Walker) Date: Mon, 30 Mar 2009 21:49:20 -0700 Subject: [texhax] On Style File Installation for MacTeX In-Reply-To: References: Message-ID: Hi, On Mar 30, 2009, at 13:48 , Muibi A Salami wrote: > 1. I am using TeXShop and I need to install a style file (any style > file > now) where do I put the style file Typically, you would install the .sty file in your home directory, as follows. - in ~/Library/, create the directory 'texmf'. - the directory structure under ~/Library/texmf mirrors that of the global TeX directory structure - in my system, I have these directories bibtex doc tex - in ~/Library/tex, I have context generic latex lib plain The .sty files go into one of the directories here. Note that this will provide whatever you install for your own use. To make it globally usable (if you have multiple users on your system), you will have to install it in the corresponding system directory, or in each user's local tree, as above. If you install something in the global TeX tree, you have to rebuild the system's database of TeX knowledge, using 'texhash', run as "root". If you install it in your (or other's) local trees, this is not necessary. > 2. Is there a comprehensive User's manual for MacteX and if so where > can I > get it. MacTeX is just a TeX distribution, with the addition of some Mac OS X- specific GUI applications. I don't think there is a manual for this, but there is a 'readme' file in the directory where the latter are installed (/Applications/TeX). You should read that first, and follow the pointers there. > 3. In particular, do you know if MacTeX comes with pstricks style? My > attempt to use it show that the style is not there. Is this valid? A couple of things will help you with the simpler questions: - - a FAQ page to answer some questions - the command 'kpsewhich' (type "man kpsewhich" at your shell prompt) can tell you whether 'pstricks.sty' or any other file is installed on your system (and where it is). > Finally, can you put me in the TUG email list so I learn from other > peoples questions too. My email address is > > muibi.a.salami at aero.org I don't think there's anyone manning the support phone lines :-}. Visit the TUG website (), where there is a link to a mailing list page that describes the various lists available, and provides links to sign-up pages. HTH Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for the Enhancement of the Director's Income -------- Experience is what you get when you don't get what you want. -------- From axel.retif at mac.com Tue Mar 31 07:55:13 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Mon, 30 Mar 2009 23:55:13 -0600 Subject: [texhax] Long Caption in Table In-Reply-To: References: Message-ID: On 30 Mar, 2009, at 08:21, Jean-Guy Murray wrote: > Hi, > > I finally managed to create a table that look pretty good; however, > the caption for this table is quite lengthy and I can't see how it > can be written over two or three lines so this caption would have > the same width as the table. > > I would greatly appreciate if someone could help me with this problem The caption package seems to me the help you need. In your terminal or Command Prompt, do texdoc caption-eng You can do almost anything you want with it. Best, Axel From philip.ratcliffe at uninsubria.it Tue Mar 31 09:39:59 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Tue, 31 Mar 2009 09:39:59 +0200 Subject: [texhax] Long Caption in Table In-Reply-To: Message-ID: <113D0C3450F44F9F845CA48FC3539A07@PGR1> > > I finally managed to create a table that look pretty good; however, > > the caption for this table is quite lengthy and I can't see how it > > can be written over two or three lines so this caption would have > > the same width as the table. > > > > I would greatly appreciate if someone could help me with > this problem > > The caption package seems to me the help you need. In your > terminal or > Command Prompt, do > > texdoc caption-eng Actually, in a footnote on page 11 of the manual the author states: "Only fixed widths are supported here; if you are looking for a way to limit the width of the caption to the width of the figure or table, please take a look at the floatrow [8] or threeparttable [22] package." From axel.retif at mac.com Tue Mar 31 10:00:30 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 31 Mar 2009 02:00:30 -0600 Subject: [texhax] Long Caption in Table In-Reply-To: <113D0C3450F44F9F845CA48FC3539A07@PGR1> References: <113D0C3450F44F9F845CA48FC3539A07@PGR1> Message-ID: <22B17BF1-1342-4702-939C-6145E5D1425C@mac.com> On 31 Mar, 2009, at 01:39, Philip G. Ratcliffe wrote: >>> I finally managed to create a table that look pretty good; however, >>> the caption for this table is quite lengthy and I can't see how it >>> can be written over two or three lines so this caption would have >>> the same width as the table. >>> >>> I would greatly appreciate if someone could help me with >> this problem >> >> The caption package seems to me the help you need. In your >> terminal or >> Command Prompt, do >> >> texdoc caption-eng > > Actually, in a footnote on page 11 of the manual the author states: > "Only > fixed widths are supported here; if you are looking for a way to > limit the > width of the caption to the width of the figure or table, please > take a look > at the floatrow [8] or threeparttable [22] package." You're right. I thought you could change it locally with a \captionsetup{margin=xx}, but I just tried it, and, no, you can't. Thanks for clarifying this point. Best, Axel From daleif at imf.au.dk Tue Mar 31 10:25:56 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 31 Mar 2009 10:25:56 +0200 Subject: [texhax] TeXLive2008 for Kubuntu In-Reply-To: <200903302222.n2UMM5u25493@f7.net> References: <200903302222.n2UMM5u25493@f7.net> Message-ID: <49D1D394.9050804@imf.au.dk> Karl Berry wrote: > Hi David, > > I haven't received my TeXlive 2008 disk yet, > > Were you a member in 2008? You certainly should have received it in > that case. I see you sent the registration form for 2009 (but didn't > see it in 2008), but that gets the 2009 TeX Live, not automatically the > 2008 DVD -- that's an option. Confusing, I know, but we haven't been > able to find a clearer way to handle it. > > Anyway, please feel free to write office-admin at tug.org and we'll > straighten out any membership stuff. Thanks for your support! > > but I'd like to upgrade my TeXlive 2007 installation on my linux > system (Kubuntu 8.10, KDE 4.2, AMD-64). Unfortunately, the older > packages are still on the Ubuntu package site. > > What's the best way to do upgrade my system now? > > If you have a decent net connection, the best way is to download the net > installer and run it. It'll install under /usr/local (by default) and > hence not conflict with anything the system provides. > See http://tug.org/texlive/acquire.html for info. > > Best regards, > Karl > _______________________________________________ > 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 one problem though, is that some ubuntu packages require LaTeX, and if you do not want to have both TeXLive 2007 (from Ubuntu) and TeX Live 2008 (from TUG) installed at the same time, you will need to do a little work (I did it last week and it works fine). Uninstall all texlive packages from Ubuntu (a bit tedious from Synaptic). Install TeX Live 2008 somewhere on your system. Use equivs to build a special package that will tell Ubuntu that packages similar to a large number of Ubuntu packages have already been installed. Now an editor like TeXMaker can be installed without instisting that one have to install latex as well. Manuel P?gouri?-Gonnard explained it (in French) in http://weblog.elzevir.fr/2008/11/tex-live-2008-a-la-vanille-sur-debian-like/ I did a much longer explanation (in Danish) in http://www.imf.au.dk/system/latex/artikler/tl2008_i_ubuntu.html -- /daleif From news3 at nililand.de Tue Mar 31 10:19:43 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Tue, 31 Mar 2009 10:19:43 +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> Message-ID: <2ir8re7pztu6.dlg@nililand.de> Am Tue, 31 Mar 2009 02:12:25 +0200 schrieb Reinhard Kotucha: > > > Does MikTeX provide kpsewhich? > > Yes, it does. At least MiKTeX 2.7 does. > > Thanks for the info. Seems that the gap between TeX Live and MikTeX > is smaller than I expected. I'm glad. 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) -- Ulrike Fischer From Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org Mon Mar 30 10:45:13 2009 From: Philip-and-LeKhanh at Royal-Tunbridge-Wells.Org (Philip & Le Khanh) Date: Mon, 30 Mar 2009 09:45:13 +0100 Subject: [texhax] \nobreaks shrinks following text In-Reply-To: <87wsa8gdyt.fsf@gmail.com> 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> Message-ID: <49D08699.20601@Royal-Tunbridge-Wells.Org> Rodolfo Medina wrote: > Rodolfo Medina wrote: > >>> I'm attaching it. 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. 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 ... Philip TAYLOR From tonightsthenight at gmail.com Tue Mar 31 21:56:37 2009 From: tonightsthenight at gmail.com (Sam Albers) Date: Tue, 31 Mar 2009 12:56:37 -0700 Subject: [texhax] Multiple Citations Message-ID: Hi there, Using natbib is there anyways to have multiple reference lists within a single document which occur at the end of section or subsection? So it would look some like this: Section Text within that section (Smith 2009) References Smith, J. 2009. Etc, etc. And then the next section would be a new section and new citations which are listed at the end of the section. Thanks in advance! Sam -- ***************************************************** Sam Albers Geography Program University of Northern British Columbia 3333 University Way Prince George, British Columbia Canada, V2N 4Z9 phone: 250 960-6777 ***************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090331/a34b5ae7/attachment.html From reinhard.kotucha at web.de Tue Mar 31 22:02:02 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 31 Mar 2009 22:02:02 +0200 Subject: [texhax] MikTeX and web2c In-Reply-To: <2ir8re7pztu6.dlg@nililand.de> 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> Message-ID: <18898.30394.725141.550713@zaphod.ms25.net> On 31 March 2009 Ulrike Fischer wrote: > Am Tue, 31 Mar 2009 02:12:25 +0200 schrieb Reinhard Kotucha: > > > > > Does MikTeX provide kpsewhich? > > > > Yes, it does. At least MiKTeX 2.7 does. > > > > Thanks for the info. Seems that the gap between TeX Live and MikTeX > > is smaller than I expected. I'm glad. > > 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. Another question: Does MikTeX's updmap supports the --enable option now? AFAIK, MiKTeX 2.4 didn't. 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 philip.ratcliffe at fastwebnet.it Tue Mar 31 23:58:23 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Tue, 31 Mar 2009 23:58:23 +0200 Subject: [texhax] Multiple Citations In-Reply-To: Message-ID: <8EE58D84B15040F28D83508CBDA88EDB@PGR1> > Using natbib is there anyways to have multiple reference > lists within a single document which occur at the end of > section or subsection? > > So it would look some like this: > > Section > > Text within that section (Smith 2009) > > References > > Smith, J. 2009. Etc, etc. > > And then the next section would be a new section and new > citations which are listed at the end of the section. Funny you should ask, we just had a posting on the use of chapterbib. Cheers, Phil From jg.murray at sympatico.ca Tue Mar 31 17:07:51 2009 From: jg.murray at sympatico.ca (Jean-Guy Murray) Date: Tue, 31 Mar 2009 11:07:51 -0400 Subject: [texhax] Floatrow Message-ID: 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. Tks for your help. Jean-Guy Murray -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090331/59f0001e/attachment.html