From vafa at users.berlios.de Fri Jan 1 20:37:41 2010 From: vafa at users.berlios.de (Vafa Khalighi) Date: Sat, 2 Jan 2010 06:37:41 +1100 Subject: [texhax] 2 pages in a single page Message-ID: Say, I have typeset 40 pages in order from page 1 up to page 40, now I like to put two pages in a single page side by side in landscape, but I want to put page 1 and 40 into a single page, page 2 and 39 into another single page, page 3 and 38 into another single page and so on. Is there any TeX package that would allow me do this? Happy New Year -- Best wishes, Vafa Khalighi -------------- next part -------------- An HTML attachment was scrubbed... URL: From olegkat at gmail.com Sat Jan 2 01:16:32 2010 From: olegkat at gmail.com (Oleg Katsitadze) Date: Fri, 01 Jan 2010 16:16:32 -0800 Subject: [texhax] 2 pages in a single page In-Reply-To: (Vafa Khalighi's message of "Sat, 2 Jan 2010 06:37:41 +1100") References: Message-ID: On Sat, 2 Jan 2010 06:37:41 +1100, Vafa Khalighi said: > I want to put page 1 and 40 into a single page, page 2 and 39 into > another single page, page 3 and 38 into another single page and so > on. Is there any TeX package that would allow me do this? I don't know, but it's easy to do outside of TeX on the generated PS or PDF files, see psnup from pdftools and pdftk. HTH, Oleg From reinhard.kotucha at web.de Sat Jan 2 01:51:19 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sat, 2 Jan 2010 01:51:19 +0100 Subject: [texhax] 2 pages in a single page In-Reply-To: References: Message-ID: <19262.39047.227376.255109@zaphod.ms25.net> On 2 January 2010 Vafa Khalighi wrote: > Say, I have typeset 40 pages in order from page 1 up to page 40, now I like > to put two pages in a single page side by side in landscape, but I want to > put page 1 and 40 into a single page, page 2 and 39 into another single > page, page 3 and 38 into another single page and so on. Is there any TeX > package that would allow me do this? This comes into my mind: http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf 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 reinhard.kotucha at web.de Sat Jan 2 02:38:36 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sat, 2 Jan 2010 02:38:36 +0100 Subject: [texhax] Reverse page numbering (begin with the last page number and end with 0) In-Reply-To: <376F062B-8092-47A4-8BCE-0223DF517C5D@rhyhann.net> References: <376F062B-8092-47A4-8BCE-0223DF517C5D@rhyhann.net> Message-ID: <19262.41884.483775.610018@zaphod.ms25.net> On 31 December 2009 Othmane Benkirane wrote: > The subject explains everything: I want to start the page numbering > from the last page number and decrement it until it's 0 (for the > last page). A mathematical operation for this would be: \thepage - > \pageref{LastPage}, but how to include it in fancyhdr (for a book > class) ? \thepage - \pageref{LastPage} gives negative page numbers. If this is ok for you, try, for instance, \setcounter{page}{-123} in the preamble. Don't rely on \pageref{LastPage}. Its value depends on the initial setting of the page counter and you'll get different results after each run. If you want to determine the number of pages of your document automatically, then you should create a dedicated counter yourself. You probably can can increase it using \everyshipout from the everyshi package and finally write the number to a file. I didn't test it. If you are familiar with a programming language, you could simply evaluate the log file and search for the line "Output written on foo.pdf (123 pages, 123456 bytes)" and create a file which contains the string "\setcounter{page}{-123}". You then have to \input the file in the preamble. But in most cases it should be sufficient to initialize the page counter manually. 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 vivrii at gmail.com Sat Jan 2 13:02:00 2010 From: vivrii at gmail.com (Victor Ivrii) Date: Sat, 2 Jan 2010 07:02:00 -0500 Subject: [texhax] Unused macros Message-ID: <19af81401001020402l2c264aefy7840ebf72b75a09a@mail.gmail.com> Usually starting a new document I copy the preamble of the previous similar document and I strongly believe that most of the people do the same. As a result preambles grow big, sometimes much bigger than the article itself. I wonder if there is a method (except trial and error) to eliminate or comment out macros which are not used. Thank you Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From joseph.wright at morningstar2.co.uk Sat Jan 2 14:30:43 2010 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Sat, 02 Jan 2010 13:30:43 +0000 Subject: [texhax] Unused macros In-Reply-To: <19af81401001020402l2c264aefy7840ebf72b75a09a@mail.gmail.com> References: <19af81401001020402l2c264aefy7840ebf72b75a09a@mail.gmail.com> Message-ID: <4B3F4A83.7070701@morningstar2.co.uk> On 02/01/2010 12:02, Victor Ivrii wrote: > Usually starting a new document I copy the preamble of the previous > similar document and I strongly believe that most of the people do the > same. As a result preambles grow big, sometimes much bigger than the > article itself. I wonder if there is a method (except trial and error) > to eliminate or comment out macros which are not used. > > Thank you > > Victor Well, you could make sure that each of your commands writes to the log when it is used, then use the log information to see which ones are in use. A bit long-winded, perhaps, but better than trial-and-error! -- Joseph Wright From uwe.lueck at web.de Sat Jan 2 15:03:21 2010 From: uwe.lueck at web.de (Uwe Lueck) Date: Sat, 02 Jan 2010 15:03:21 +0100 Subject: [texhax] Unused macros Message-ID: <1277351263@web.de> Victor Ivrii schrieb am 02.01.2010 13:22:42: > Usually starting a new document I copy the preamble of the previous > similar document and I strongly believe that most of the people do the > same. As a result preambles grow big, sometimes much bigger than the > article itself. I wonder if there is a method (except trial and error) > to eliminate or comment out macros which are not used. http://tug.org/mailman/htdig/texhax/2009-March/012008.html or http://tug.org/pkg/cmdtrack Cheers, Uwe. From uwe.lueck at web.de Sat Jan 2 15:21:29 2010 From: uwe.lueck at web.de (Uwe Lueck) Date: Sat, 02 Jan 2010 15:21:29 +0100 Subject: [texhax] FW: Re: Unused macros Message-ID: <1277359838@web.de> Sorry, http://ctan.tug.org/pkg/cmdtrack -- Uwe. -----Urspr?ngliche Nachricht----- Von: "Uwe Lueck" Gesendet: 02.01.10 15:03:21 An: "Victor Ivrii" , texhax at tug.org CC: Joseph Wright Betreff: Re: [texhax] Unused macros Victor Ivrii schrieb am 02.01.2010 13:22:42: > Usually starting a new document I copy the preamble of the previous > similar document and I strongly believe that most of the people do the > same. As a result preambles grow big, sometimes much bigger than the > article itself. I wonder if there is a method (except trial and error) > to eliminate or comment out macros which are not used. http://tug.org/mailman/htdig/texhax/2009-March/012008.html or http://tug.org/pkg/cmdtrack Cheers, Uwe. From vivrii at gmail.com Sat Jan 2 15:22:04 2010 From: vivrii at gmail.com (Victor Ivrii) Date: Sat, 2 Jan 2010 09:22:04 -0500 Subject: [texhax] Unused macros In-Reply-To: <1277351263@web.de> References: <1277351263@web.de> Message-ID: <19af81401001020622j58bdadbcjcfebf73cc2730a22@mail.gmail.com> On Sat, Jan 2, 2010 at 9:03 AM, Uwe Lueck wrote: > Victor Ivrii schrieb am 02.01.2010 13:22:42: >> Usually starting a new document I copy the preamble of the previous >> similar document and I strongly believe that most of the people do the >> same. As a result preambles grow big, sometimes much bigger than the >> article itself. I wonder if there is a method (except trial and error) >> to eliminate or comment out macros which are not used. > > ? ?http://tug.org/mailman/htdig/texhax/2009-March/012008.html > > or > > ? http://tug.org/pkg/cmdtrack Dead link. It is part of TeXLive 2009 but texdoc cmdtrack returns nothing as locate cmdtrack /usr/local/texlive/2009/texmf-dist/source/latex/cmdtrack /usr/local/texlive/2009/texmf-dist/source/latex/cmdtrack/cmdtrack.dtx /usr/local/texlive/2009/texmf-dist/source/latex/cmdtrack/cmdtrack.ins /usr/local/texlive/2009/texmf-dist/tex/latex/cmdtrack /usr/local/texlive/2009/texmf-dist/tex/latex/cmdtrack/cmdtrack.sty /usr/local/texlive/2009/tlpkg/tlpobj/cmdtrack.tlpobj There is a minor problem with cmdtrack.dtx So I copy message to texlive asking them to produce documentation Thanks! Victor > > Cheers, > > ? ?Uwe. > > -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From mpg at elzevir.fr Sat Jan 2 16:37:53 2010 From: mpg at elzevir.fr (=?ISO-8859-1?Q?Manuel_P=E9gouri=E9-Gonnard?=) Date: Sat, 02 Jan 2010 16:37:53 +0100 Subject: [texhax] [tex-live] Unused macros In-Reply-To: <19af81401001020622j58bdadbcjcfebf73cc2730a22@mail.gmail.com> References: <1277351263@web.de> <19af81401001020622j58bdadbcjcfebf73cc2730a22@mail.gmail.com> Message-ID: <4B3F6851.5080207@elzevir.fr> On 02/01/2010 15:22, Victor Ivrii wrote: > There is a minor problem with cmdtrack.dtx > The compilation error can probably be ignored. > So I copy message to texlive asking them to produce documentation > We don't produce documentation, we take it from CTAN. I've just uploaded a compiled version cmdtrack.pdf to cambridge's incoming. Exceptionnaly, I've installed in in TL without waiting for it to arrive on CTAN. Manuel. From punosevac72 at gmail.com Sat Jan 2 18:45:53 2010 From: punosevac72 at gmail.com (Predrag Punosevac) Date: Sat, 02 Jan 2010 12:45:53 -0500 Subject: [texhax] 2 pages in a single page Message-ID: <4b3f8651.mSjbwlf6JZL8MRq0%punosevac72@gmail.com> Vafa Khalighi wrote: > I want to put page 1 and 40 into a single page, page 2 and 39 into > another single page, page 3 and 38 into another single page and so > on. Is there any TeX package that would allow me do this? Somebody already mentioned psnup for PostSscript files. I would suggest that you also look at pdfnup if you prefer to work with PDF. The advantage of PostScript IMHO is that you can easily hack the raw code as PostScript is just a normal programming language. The second tool pfnup is somewhat easier to work with but hacking PDF file is usually beyond human capability. Cheers, Predrag From vafa at users.berlios.de Sun Jan 3 02:49:24 2010 From: vafa at users.berlios.de (Vafa Khalighi) Date: Sun, 3 Jan 2010 12:49:24 +1100 Subject: [texhax] 2 pages in a single page In-Reply-To: <19262.39047.227376.255109@zaphod.ms25.net> References: <19262.39047.227376.255109@zaphod.ms25.net> Message-ID: Thanks a lot for all the replies. -- Best wishes, Vafa Khalighi -------------- next part -------------- An HTML attachment was scrubbed... URL: From uwe.lueck at web.de Sun Jan 3 15:01:36 2010 From: uwe.lueck at web.de (Uwe Lueck) Date: Sun, 03 Jan 2010 15:01:36 +0100 Subject: [texhax] 2 pages in a single page Message-ID: <1277937227@web.de> Vafa Khalighi schrieb am 02.01.2010 01:17:00: > Say, I have typeset 40 pages in order from page 1 up to page 40, > now I like to put two pages in a single page side by side in landscape, > but I want to put page 1 and 40 into a single page, page 2 and 39 into > another single page, page 3 and 38 into another single page and so on. > Is there any TeX package that would allow me do this? Maybe you are trying to produce a booklet: http://ctan.tug.org/pkg/booklet Cheers, Uwe. From frank at shute.org.uk Sun Jan 3 16:12:16 2010 From: frank at shute.org.uk (Frank Shute) Date: Sun, 3 Jan 2010 15:12:16 +0000 Subject: [texhax] Calendar In-Reply-To: <4b3478c4.8zQmDSbbtOkDSuA3%punosevac72@gmail.com> References: <4b3478c4.8zQmDSbbtOkDSuA3%punosevac72@gmail.com> Message-ID: <20100103151216.GA82115@orange.esperance-linux.co.uk> On Fri, Dec 25, 2009 at 03:33:08AM -0500, Predrag Punosevac wrote: > > Dear All, > > Even though I am a TeX/LaTeX user of almost 20 years this is my first > message to this mailing list. > > I am curious what is recommended way for creating various Calendars. > Namely, I have been using for a while a simple template found at > > http://www.math.duke.edu/computing/tex/templates.html > > for creating monthly calendar with the lessons plan for courses that I > teach. Couple nights ago I tried to dig dipper into the subject and to > my big surprise I found only two credible references to for packages > related to calendars. > > One is http://www.ctan.org/tex-archive/macros/latex/contrib/calendar/ > http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-calendar/ I've used the first one of those to produce a monthly calendar in the style of the TUG calendar. You have one file for the calendar itself and then you have another file with your important dates/notes. When you build it with LaTeX the second file is sucked in and the calendar is populated. To be fair, I haven't played around with it much but it sounds like it may be of use to you. > > What I am really looking for is a templet in the style of AMS cover > sheet i.e. a TeX file which will interactively ask me a few questions > (like a range of the Calendar) and then create a file a calendar.dvi and > a file calendar.dat which might be then further edited by hand. > > Also it seems to me that in term of graphics even by a very simple use > of colortbl package I could create quite fancy Monthly calendar. > > Most Kind Regards, > Predrag Punosevac > > P.S. I should mention that I am using TeXLive 2009 on OpenBSD. I should > also mention that I use 85% of time LaTeX and the rest of the time plan > TeX as well as that I have strong preference for PSTricks over other > graphics tools. > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From eo at rhyhann.net Sun Jan 3 21:13:15 2010 From: eo at rhyhann.net (Othmane Benkirane) Date: Sun, 3 Jan 2010 20:13:15 +0000 Subject: [texhax] Reverse page numbering (begin with the last page number and end with 0) References: <817284CD-75A0-415E-BB9F-BCB1A2D97D77@rhyhann.net> Message-ID: <8E4DAFC3-FD0F-43AF-B33B-06FEB8EB3CF0@rhyhann.net> Sorry, in fact I want the result of \pageref{LastPage} - \thepage to be written in the headers (it should begin with \pageref{LastPage} - 1 and should finish with 0). My mistake. Regards, Othmane Benkirane. Le 2 janv. 2010 ? 01:38, Reinhard Kotucha a ?crit : > On 31 December 2009 Othmane Benkirane wrote: > >> The subject explains everything: I want to start the page numbering >> from the last page number and decrement it until it's 0 (for the >> last page). A mathematical operation for this would be: \thepage - >> \pageref{LastPage}, but how to include it in fancyhdr (for a book >> class) ? > > \thepage - \pageref{LastPage} gives negative page numbers. If this is > ok for you, try, for instance, \setcounter{page}{-123} in the > preamble. > > Don't rely on \pageref{LastPage}. Its value depends on the initial > setting of the page counter and you'll get different results after > each run. > > If you want to determine the number of pages of your document > automatically, then you should create a dedicated counter yourself. > You probably can can increase it using \everyshipout from the everyshi > package and finally write the number to a file. I didn't test it. > > If you are familiar with a programming language, you could simply > evaluate the log file and search for the line > > "Output written on foo.pdf (123 pages, 123456 bytes)" > > and create a file which contains the string "\setcounter{page}{-123}". > You then have to \input the file in the preamble. > > But in most cases it should be sufficient to initialize the page counter > manually. > > Regards, > Reinhard > > -- > ---------------------------------------------------------------------------- > Reinhard Kotucha Phone: +49-511-3373112 > Marschnerstr. 25 > D-30167 Hannover mailto:reinhard.kotucha at web.de > ---------------------------------------------------------------------------- > Microsoft isn't the answer. Microsoft is the question, and the answer is NO. > ---------------------------------------------------------------------------- > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From news3 at nililand.de Mon Jan 4 09:33:53 2010 From: news3 at nililand.de (Ulrike Fischer) Date: Mon, 4 Jan 2010 09:33:53 +0100 Subject: [texhax] Reverse page numbering(begin with the last page number and end with 0) References: <376F062B-8092-47A4-8BCE-0223DF517C5D@rhyhann.net> Message-ID: <1d7pxjfwju5ae.dlg@nililand.de> Am Thu, 31 Dec 2009 12:53:27 +0000 schrieb Othmane Benkirane: > Hello, > > The subject explains everything: I want to start the page > numbering from the last page number and decrement it until it's 0 > (for the last page). A mathematical operation for this would be: > \thepage - \pageref{LastPage}, but how to include it in fancyhdr > (for a book class) ? Well as long as \thepage give a simple number you can use refcount: \documentclass{article} \usepackage{refcount} \usepackage{lastpage} \newcounter{mypage} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \cfoot{\addtocounter{mypage}{-1}\themypage} \begin{document} \setcounterpageref{mypage}{LastPage} abc\newpage cd\newpage ef\newpage gh \end{document} -- Ulrike Fischer From eo at rhyhann.net Mon Jan 4 14:15:53 2010 From: eo at rhyhann.net (Othmane Benkirane) Date: Mon, 4 Jan 2010 13:15:53 +0000 Subject: [texhax] Reverse page numbering(begin with the last page number and end with 0) In-Reply-To: <1d7pxjfwju5ae.dlg@nililand.de> References: <376F062B-8092-47A4-8BCE-0223DF517C5D@rhyhann.net> <1d7pxjfwju5ae.dlg@nililand.de> Message-ID: Thank you very much for your help Your solution did not work (it showed the opposite of the page), but with some tests, I ended up with something working: \documentclass{article} \usepackage{refcount} \usepackage{lastpage} \newcounter{mypage} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \cfoot{\setcounterpageref{mypage}{LastPage}\addtocounter{mypage}{-\thepage}\themypage} \begin{document} abc\newpage cd\newpage ef\newpage gh \end{document} Thank you very much, Othmane Benkirane. Le 4 janv. 2010 ? 08:33, Ulrike Fischer a ?crit : > Am Thu, 31 Dec 2009 12:53:27 +0000 schrieb Othmane Benkirane: > >> Hello, >> > >> The subject explains everything: I want to start the page >> numbering from the last page number and decrement it until it's 0 >> (for the last page). A mathematical operation for this would be: >> \thepage - \pageref{LastPage}, but how to include it in fancyhdr >> (for a book class) ? > > Well as long as \thepage give a simple number you can use refcount: > > \documentclass{article} > \usepackage{refcount} > \usepackage{lastpage} > \newcounter{mypage} > > \usepackage{fancyhdr} > \pagestyle{fancy} > \fancyhf{} > \cfoot{\addtocounter{mypage}{-1}\themypage} > > \begin{document} > \setcounterpageref{mypage}{LastPage} > abc\newpage cd\newpage ef\newpage gh > \end{document} > > > > -- > Ulrike Fischer > > _______________________________________________ > 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 news3 at nililand.de Mon Jan 4 16:56:00 2010 From: news3 at nililand.de (Ulrike Fischer) Date: Mon, 4 Jan 2010 16:56:00 +0100 Subject: [texhax] Reverse pagenumbering(begin with the last page number and end with 0) References: <376F062B-8092-47A4-8BCE-0223DF517C5D@rhyhann.net> <1d7pxjfwju5ae.dlg@nililand.de> Message-ID: <13cpvbkoo5jtw$.dlg@nililand.de> Am Mon, 4 Jan 2010 13:15:53 +0000 schrieb Othmane Benkirane: > Your solution did not work (it showed the opposite of the page), You must compile at least twice. Then your and my example will give the same result. -- Ulrike Fischer From 5mgfreestore at gmail.com Mon Jan 4 17:01:23 2010 From: 5mgfreestore at gmail.com (File Store) Date: Mon, 4 Jan 2010 10:01:23 -0600 Subject: [texhax] ? Message-ID: I did it before correctly lon gtime ago, but right now whatever I do it does not work, how can I put prime over a summation with LaTeX e.g. $$\sum_{k=1}^{\infty}'$$ this does not look normal, the prime does not look at the correct location here the prime must be at the right upper edge of the summation symbol. -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.ratcliffe at fastwebnet.it Mon Jan 4 23:41:55 2010 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Mon, 4 Jan 2010 23:41:55 +0100 Subject: [texhax] ? In-Reply-To: Message-ID: > how can I put prime over a summation with LaTeX > > e.g. > > $$\sum_{k=1}^{\infty}'$$ > > this does not look normal, the prime does not look at the > correct location > > here the prime must be at the right upper edge of the > summation symbol. Is this ok? $$\sum_{k=1}^{\infty}\strut'$$ Cheers, Phil From zguo8 at asu.edu Tue Jan 5 01:51:30 2010 From: zguo8 at asu.edu (Zhonghai Guo) Date: Mon, 4 Jan 2010 17:51:30 -0700 Subject: [texhax] Does anyone has ASU LaTeX Template Files For Doctoral Thesis? Message-ID: Hi! I will really appreciate it if anyone can send me a copy of ASU LaTeX Template Files For Doctoral Thesis? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From hh-brasil at bol.com.br Wed Jan 6 00:45:51 2010 From: hh-brasil at bol.com.br (hh) Date: Tue, 05 Jan 2010 20:45:51 -0300 Subject: [texhax] texhax Digest, Vol 2010, Issue 5 In-Reply-To: References: Message-ID: <4B43A4FF.24211.1810E47@hh-brasil.bol.com.br> My tests gave this solution (not very TeX-like) \setbox0\hbox{$\displaystyle\sum^\infty_{k=1}$} $$\copy0\raisebox{2ex}{\hbox{\ensuremath\prime}}$$ or (with more - unwanted - horizontal space) $$\sum^\infty_{k=1}\raisebox{2ex}{\hbox{\ensuremath\prime}}$$ hh > > Message: 4 > Date: Mon, 4 Jan 2010 23:41:55 +0100 > From: "Philip G. Ratcliffe" > To: "'File Store'" <5mgfreestore at gmail.com>, > Subject: Re: [texhax] ? > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > > how can I put prime over a summation with LaTeX > > > > e.g. > > > > $$\sum_{k=1}^{\infty}'$$ > > > > this does not look normal, the prime does not look at the > > correct location > > > > here the prime must be at the right upper edge of the > > summation symbol. > > Is this ok? > > $$\sum_{k=1}^{\infty}\strut'$$ > From jan.leusmann at fh-potsdam.de Tue Jan 5 22:02:11 2010 From: jan.leusmann at fh-potsdam.de (Jan Leusmann) Date: Tue, 05 Jan 2010 22:02:11 +0100 Subject: [texhax] emperical surveys about the propagation of LaTeX? Message-ID: Dear Sir or Madam, Me and a friend of mine are currently working on a seminar paper about LaTeX and we are still looking for a reliable source (or a source anyway) about the propagation of LateX amongst students or scientists. Unfortunately, the "DANTE" organisation did not response on our e-mail. Could you possibly give us a URL to a emperical survey or some reliable statistics? Potential sources could also cover American countries and not necessarily European ones. Yours, Jan Leusmann and Christoph Seelus From Herbert.Voss at FU-Berlin.DE Wed Jan 6 11:22:34 2010 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 06 Jan 2010 11:22:34 +0100 Subject: [texhax] emperical surveys about the propagation of LaTeX? In-Reply-To: References: Message-ID: <4B44646A.6000600@FU-Berlin.DE> Am 05.01.2010 22:02, schrieb Jan Leusmann: > Me and a friend of mine are currently working on a seminar paper about > LaTeX and we are still looking for a reliable source (or a source > anyway) about the propagation of LateX amongst students or scientists. > Unfortunately, the "DANTE" organisation did not response on our e-mail. send me a copy of the mail to DANTE Herbert From barr at math.mcgill.ca Wed Jan 6 14:03:57 2010 From: barr at math.mcgill.ca (Michael Barr) Date: Wed, 6 Jan 2010 08:03:57 -0500 (EST) Subject: [texhax] Putting a prime on \sum In-Reply-To: References: Message-ID: I just got to this question so I don't know what the original was called. Knuth raised this very question in The TeXBook and answered it (Exercise 18.44). The first answer was to use \mathop{{\sum}'}_... but that would have the slightly unfortunate side-effect of centering the subscript under the primed \sum, rather than under the \sum. He then goes on the discuss a more complicated solution, which would not have that side-effect, but since the TeXBook is available online, I won't copy it. The following seemed to work too: \def\sumprime_#1{\mathop{\sum_{#1}}\nolimits'} $$\s$$ $$\sumprime_{x\in A}$$ Perhaps someone well-versed in TeXarcana can explain why in Knuth's wolution, the prime comes out to the right while in mine, if you eliminate the \nolimits (that is, no limit switch), it comes out atop the summation. Be that as it may, it appeared to work for me, without the unfortunate displacement of the subscript. It has the disadvantage of requiring a subscript. I have also not considered the problem of having also a superscript. I guess you could use \@ifnextchar, with some complication, to look ahead. Michael Barr From bnb at ams.org Wed Jan 6 14:49:16 2010 From: bnb at ams.org (Barbara Beeton) Date: Wed, 6 Jan 2010 08:49:16 -0500 (EST) Subject: [texhax] Putting a prime on \sum In-Reply-To: References: Message-ID: I just got to this question so I don't know what the original was called. Knuth raised this very question in The TeXBook and answered it (Exercise 18.44). The first answer was to use \mathop{{\sum}'}_... but that would have the slightly unfortunate side-effect of centering the subscript under the primed \sum, rather than under the \sum. He then goes on the discuss a more complicated solution, which would not have that side-effect, but since the TeXBook is available online, I won't copy it. just a comment here ... the *source* of the texbook is available online. if there are any pdf copies online, they are in violation of the copyright and should be removed. sorry. regarding the position of the prime: The following seemed to work too: \def\sumprime_#1{\mathop{\sum_{#1}}\nolimits'} $$\s$$ $$\sumprime_{x\in A}$$ Perhaps someone well-versed in TeXarcana can explain why in Knuth's wolution, the prime comes out to the right while in mine, if you eliminate the \nolimits (that is, no limit switch), it comes out atop the summation. in display mode, the convention for the upper limit (and a prime is considered in this case to be a "limit") is above, not to the right, of the sum. since you've used \sumprime in a display, the \nolimits is required to ensure the correct positioning. Be that as it may, it appeared to work for me, without the unfortunate displacement of the subscript. It has the disadvantage of requiring a subscript. I have also not considered the problem of having also a superscript. I guess you could use \@ifnextchar, with some complication, to look ahead. i'll leave this for someone else. -- bb From philip.ratcliffe at fastwebnet.it Wed Jan 6 17:41:52 2010 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Wed, 6 Jan 2010 17:41:52 +0100 Subject: [texhax] Putting a prime on \sum In-Reply-To: Message-ID: <6A9B2998EF914B4590410FBD93B12560@PGR1> > I just got to this question so I don't know what the original > was called. > Knuth raised this very question in The TeXBook and answered > it (Exercise > 18.44). The first answer was to use \mathop{{\sum}'}_... but > that would > have the slightly unfortunate side-effect of centering the > subscript under > the primed \sum, rather than under the \sum. He then goes on > the discuss > a more complicated solution, which would not have that > side-effect, but > since the TeXBook is available online, I won't copy it. > > The following seemed to work too: > \def\sumprime_#1{\mathop{\sum_{#1}}\nolimits'} $$\s$$ > $$\sumprime_{x\in A}$$ Perhaps someone well-versed in > TeXarcana can explain why in Knuth's > wolution, the prime comes out to the right while in mine, if > you eliminate > the \nolimits (that is, no limit switch), it comes out atop the > summation. Be that as it may, it appeared to work for me, > without the > unfortunate displacement of the subscript. It has the > disadvantage of > requiring a subscript. I have also not considered the > problem of having > also a superscript. I guess you could use \@ifnextchar, with some > complication, to look ahead. This solves some (but not all) of the problems inherent to this task: \usepackage{mathtools} \def\scriptafterop#1#2{\mathop{\smash{\mathrlap{#2\nolimits#1}}\phantom{#2}} } $$\scriptafterop{'}\sum_{k=1}^{\infty}$$ Cheers, Phil From zguo8 at asu.edu Thu Jan 7 19:17:01 2010 From: zguo8 at asu.edu (Zhonghai Guo) Date: Thu, 7 Jan 2010 11:17:01 -0700 Subject: [texhax] ASU Thesis/Dissertation Style File Message-ID: <614B9708874546C7AC6B337FBF654B7A@ocean> Hi! I'm working on my PhD thesis. I will appreciate it if you can send me the Latex template for ASU PhD thesis. Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.adams at frycomm.com Thu Jan 7 20:12:26 2010 From: will.adams at frycomm.com (William Adams) Date: Thu, 7 Jan 2010 14:12:26 -0500 Subject: [texhax] ASU Thesis/Dissertation Style File In-Reply-To: <614B9708874546C7AC6B337FBF654B7A@ocean> References: <614B9708874546C7AC6B337FBF654B7A@ocean> Message-ID: <5D057DD6-50E8-49B3-9D4D-E3AECD6AA707@frycomm.com> On Jan 7, 2010, at 1:17 PM, Zhonghai Guo wrote: > Hi! I'm working on my PhD thesis. I will appreciate it if you can > send me the Latex template for ASU PhD thesis. Thanks in advance! Can you not download it from here: http://math.asu.edu/graduate/Thesis_Template (first Google search result for ``arizona state university latex thesis template'') There might be another here: http://www.duke.edu/~dss7/vitasua.html or here: http://math.la.asu.edu/~jj/asuthesis.html Please note that there was some discussion about difficulties w/ this previously: http://www.tug.org/pipermail/texhax/2009-April/012177.html There's also one on CTAN: http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=uaclasses Hopefully you can report back here how things work out for you and which is the optimal file to use since this is the 2nd request on this this year. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From robstafarian at verizon.net Thu Jan 7 21:33:37 2010 From: robstafarian at verizon.net (Robert Haener IV) Date: Thu, 07 Jan 2010 15:33:37 -0500 Subject: [texhax] ASU Thesis/Dissertation Style File In-Reply-To: <614B9708874546C7AC6B337FBF654B7A@ocean> References: <614B9708874546C7AC6B337FBF654B7A@ocean> Message-ID: <4B464521.2070403@verizon.net> I believe this was discussed on this list last May, at which time the attached style sheet was created. I meant to post it to CTAN back then. Who knows? Maybe I'll get around to that before I sleep tonight. Also attached are an example PDF and the LaTeX source from which it was created. I hope this helps you, but I make no claim as to its suitability. -Robert P.S. I didn't create this file; I just saved it in case, you know, something like this happened 8?} -------------- next part -------------- A non-text attachment was scrubbed... Name: pwasu.pdf Type: application/pdf Size: 30968 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pwasu.sty Type: text/x-tex Size: 8312 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pwasu.tex Type: text/x-tex Size: 2290 bytes Desc: not available URL: From elaine.r.firestone at nasa.gov Fri Jan 8 04:19:21 2010 From: elaine.r.firestone at nasa.gov (Firestone, Elaine R. (GSFC-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]) Date: Thu, 7 Jan 2010 21:19:21 -0600 Subject: [texhax] Aligning two elements in pdfTeX Message-ID: Hi, I'm using pdfTeX and am trying to align some text with a logo for the cover of a document so that I'd get something like: _________ | | | | The Square Group | logo | Sedona, Arizona | | -------- I've tried various combinations of \line, hboxes, and vboxes to no avail. The text always comes out at the bottom right of the logo as in: _________ | | | | | logo | | | -------- The Square Group Sedona, Arizona What am I doing wrong? This is the latest code I have now: {\line{\vbox{\hbox{\pdfximage width2in{square.pdf}\pdfrefximage\pdflastximage}}}\hskip2.7in {\vbox{\hbox{The Square Group} \vskip3pt\hbox{Sedona, Arizona}}} } Can anyone help me here? I've tried Knuth and Bechtolshein, and I just don't see what it should be. Thanks. From adityam at umich.edu Fri Jan 8 07:17:23 2010 From: adityam at umich.edu (Aditya Mahajan) Date: Fri, 8 Jan 2010 01:17:23 -0500 (EST) Subject: [texhax] Aligning two elements in pdfTeX In-Reply-To: References: Message-ID: On Thu, 7 Jan 2010, Firestone, Elaine R. (GSFC-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] wrote: > Hi, > > I'm using pdfTeX and am trying to align some text with a logo for the cover of a document so that I'd get something like: > > _________ > | | > | | The Square Group > | logo | Sedona, Arizona > | | > -------- > > I've tried various combinations of \line, hboxes, and vboxes to no avail. The text always comes out at the bottom right of the logo as in: > > _________ > | | > | | > | logo | > | | > -------- > The Square Group > Sedona, Arizona > > > What am I doing wrong? This is the latest code I have now: > > {\line{\vbox{\hbox{\pdfximage width2in{square.pdf}\pdfrefximage\pdflastximage}}}\hskip2.7in > {\vbox{\hbox{The Square Group} > \vskip3pt\hbox{Sedona, Arizona}}} > } > > Can anyone help me here? I've tried Knuth and Bechtolshein, and I just don't see what it should be. Change \vbox with \vtop. Aditya From news3 at nililand.de Fri Jan 8 09:58:42 2010 From: news3 at nililand.de (Ulrike Fischer) Date: Fri, 8 Jan 2010 09:58:42 +0100 Subject: [texhax] Aligning two elements in pdfTeX References: Message-ID: <9bwm267wb0o2.dlg@nililand.de> Am Thu, 7 Jan 2010 21:19:21 -0600 schrieb elaine.r.firestone at nasa.gov: > I'm using pdfTeX and am trying to align some text with a logo for > the cover of a document so that I'd get something like: > _________ >| | >| | The Square Group >| logo | Sedona, Arizona >| | > -------- > I've tried various combinations of \line, hboxes, and vboxes to > no avail. The text always comes out at the bottom right of the > logo as in: > _________ >| | >| | >| logo | >| | > -------- > The Square Group > Sedona, Arizona > > > What am I doing wrong? This is the latest code I have now: An image is like a very huge "H", it sits on the current line. So you will have to move it down. In LaTeX I would use \raisebox{-0.5\height}{image}, in plain you could store the image in a box and then use \lower0.5\ht\test\box\test. Something like $\vcenter{\hbox{image}}\hbox{text}$ could work too. -- Ulrike Fischer From barr at math.mcgill.ca Sat Jan 9 22:52:47 2010 From: barr at math.mcgill.ca (Michael Barr) Date: Sat, 9 Jan 2010 16:52:47 -0500 (EST) Subject: [texhax] Prime on \sum Message-ID: Here are macros I have worked up to put a prime on a summation. \documentclass{article} \makeatletter \newbox\sumstrutbox \setbox0=\hbox{$\displaystyle\sum$} \setbox\sumstrutbox = \hbox{\vrule height \ht0 width 0pt depth \dp0} \def\sumstrut{\relax\ifmmode\copy\sumstrutbox\else\unhcopy\sumstrutbox\fi} \def\@@sumprime_#1^#2{\sum_{#1}^{#2}\sumstrut'} \def\@sumprime_#1{\@ifnextchar^{\@@sumprime_{#1}}{\@@sumprime_{#1}^{}}} \def\sumprime{\@ifnextchar_{\@sumprime}{\@sumprime_{}}} \makeatother \begin{document} $$\sumprime_{n=1}^\infty$$ $$\sumprime_{n=1}$$ $$\sumprime^\infty$$ \end{document} Note that a subscript, if any, must come first and then a superscript, if there is one. You cannot write \sumprime^\infty_{n=1}. I think there is some way of parsing the latter, but I don't know how. The similarity of \sumstrut to Knuth's \strut will be obvious. Michael Barr From alexander.sax at uni-graz.at Sat Jan 9 17:47:30 2010 From: alexander.sax at uni-graz.at (alexander sax) Date: Sat, 09 Jan 2010 17:47:30 +0100 Subject: [texhax] protext and vista Message-ID: <4B48B322.5000704@uni-graz.at> dear all, I hope you are the right address for the following problem: I tried to install MikTex with the ProTeXt 2.2.1 distribution under Vista. I have read/write access for the MikTex directory. During the installation the Setup Wizard says, that the operation with mpm.exe could not be completed because of a Windows API error 5: Access denied. What must I do? alex -- Die reinste Form des Wahnsinns ist es, alles beim Alten zu lassen und gleichzeitig zu hoffen, dass sich etwas aendert. Albert Einstein ============================================================================== Alexander F. Sax e-mail: alexander.sax at uni-graz.at Institut fuer Chemie tel. : +43 316 380 5513 Karl-Franzens-Universitaet Graz FAX : +43 316 380 9850 Heinrichstrasse 28 http://www.uni-graz.at/tchwww/sax/afs.html A-8010 Graz AUSTRIA From wa2n at nrar.net Sun Jan 10 10:10:32 2010 From: wa2n at nrar.net (wawan) Date: Sun, 10 Jan 2010 16:10:32 +0700 Subject: [texhax] how to use package Message-ID: Hi all I have a package contain symbols mapping command \ProvidesPackage{mypackage} \newfont{\myfont}{myfont10} \newcommand{\AA}{{\char221}} \newcommand{\AB}{{\char222}} \newcommand{\AC}{{\char223}} and I using it in my tex \usepackage{mypackage} my question is how can I use command like \newfont{\AA\AB\AC} Using command \begin{newfont} \end{newfont} is working well but not \newfont ? anybody pls regards wawan -- ===================== http://wa2n.nrar.net http://lsdir.org http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From P.Taylor at Rhul.Ac.Uk Sun Jan 10 12:14:02 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 10 Jan 2010 11:14:02 +0000 Subject: [texhax] how to use package In-Reply-To: References: Message-ID: <4B49B67A.3030405@Rhul.Ac.Uk> Wanwan, there were many errors in your code fragment, but I think that the heart of the problem was a failure to understand that \myfont is a parameterless macro. The following shews how \myfont can be successfully used, and if you want a parameterised version, \MyFont is an example. Philip Taylor -------- \documentclass {minimal} %\ProvidesPackage{mypackage} \font \tt = cmtt10 \newfont{\myfont}{cmss10} \def \MyFont #1{{\myfont #1}} \renewcommand{\AA}{{\char221}} \newcommand{\AB}{{\char222}} \newcommand{\AC}{{\char223}} \begin {document} and I using it in my tex %\usepackage{mypackage} my question is how can I use command like \begingroup \myfont a\AA b\AB c\AC \endgroup Using command \begin{myfont} a\AA b\AB c\AC \end{myfont} is working well but not {\tt \string \newfont} ? Here is {\tt \string \MyFont} in use : \MyFont {a\AA b\AB c\AC} anybody pls \end {document} From philip.ratcliffe at fastwebnet.it Sun Jan 10 12:33:29 2010 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sun, 10 Jan 2010 12:33:29 +0100 Subject: [texhax] Prime on \sum In-Reply-To: Message-ID: <9C40639F69AF4363AA927FC14A3F7DA4@PGR1> > Note that a subscript, if any, must come first and then a > superscript, if > there is one. You cannot write \sumprime^\infty_{n=1}. I > think there is > some way of parsing the latter, but I don't know how. The following solves the ordering problem: \makeatletter \def\@@sumprimea_#1^#2{\sum_{#1}^{#2}\sumstrut'} \def\@sumprimea_#1{\@ifnextchar^{\@@sumprimea_{#1}}{\@@sumprimea_{#1}^{}}} \def\@@sumprimeb^#1_#2{\sum^{#1}_{#2}\sumstrut'} \def\@sumprimeb^#1{\@ifnextchar_{\@@sumprimeb^{#1}}{\@@sumprimeb^{#1}_{}}} \def\sumprime{\@ifnextchar_{\@sumprimea}{\@sumprimeb}} \makeatother > The similarity of > \sumstrut to Knuth's \strut will be obvious. And this is a slightly more economical and general sum strut: \def\sumstrut{\mathop{\vphantom{\sum}}\nolimits} Note, however, there is extra horizontal space between the sum and prime with respect to what is obtained from \sum\nolimits', which my first solution avoided. Note also what happens to, eg, $$\sumprime^{\infty\times\infty}$$; again, my first solution avoids this problem, as does the following (which also solves the height problem): \def\sumprime{\mathop{\sum\!\smash{\mathop{\vphantom{\sum}}\nolimits'}}} Cheers, Phil From nachikethas at cox.net Sun Jan 10 15:23:53 2010 From: nachikethas at cox.net (nachikethas at cox.net) Date: Sun, 10 Jan 2010 9:23:53 -0500 Subject: [texhax] Kile (for Latex) crashes under Ubuntu 9.10 Message-ID: <20100110092353.GOREY.500014.imail@eastrmwml40> Dear Sirs, Kile for Ubuntu crashes with a segmentation fault. The error message is: Configuration file "home/user1/.kde/share/config/kilerc " not writable. I don't know whom to contact. I am a member of TUG. Can anyone in your organization communicate this to the Kile group? Best Regards, N. Srinivasan From martin at oneiros.de Sun Jan 10 21:32:25 2010 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Sun, 10 Jan 2010 21:32:25 +0100 Subject: [texhax] Kile (for Latex) crashes under Ubuntu 9.10 In-Reply-To: <20100110092353.GOREY.500014.imail@eastrmwml40> References: <20100110092353.GOREY.500014.imail@eastrmwml40> Message-ID: <68c491a61001101232w40ad130dr4b86c8fd1d76e87f@mail.gmail.com> 2010/1/10 : > Configuration file "home/user1/.kde/share/config/kilerc " not writable. Does "touch home/user1/.kde/share/config/kilerc" work? > I don't know whom to contact. http://www.ubuntu.com/support Best Martin From kholm_michael at live.se Mon Jan 11 02:01:00 2010 From: kholm_michael at live.se (Michael Johnson Lutovsky) Date: Mon, 11 Jan 2010 02:01:00 +0100 Subject: [texhax] Change font size in Lyx Message-ID: Hi! I have just been using Miktex and Lyx for a week and I wonder if you could give me a helping hand? I have Lyx 1.6 and Miktex 2.8. I want to change the normal font size in Lyx to 11.5pt but I just don?t understand what to do. I used the instructions from http://wiki.lyx.org/FAQ/ChangeFontUsingLatex , but it?s not working. I entered this in the Latex preamble in Lyx (changed pt to 11.5): \usepackage{type1cm} \renewcommand\normalsize{% \@setfontsize\normalsize{13pt}{14.5pt}% \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ \abovedisplayshortskip \z@ \@plus3\p@ \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ \belowdisplayskip \abovedisplayskip \let\@listi\@listI}\normalsize Nothing happends. Is there anything else I have to do or change? Thank you in advance! Best regardsMichael _________________________________________________________________ Nya Windows 7 g?r allt lite enklare. Hitta en dator som passar dig! http://windows.microsoft.com/shop -------------- next part -------------- An HTML attachment was scrubbed... URL: From reinhard.kotucha at web.de Mon Jan 11 04:13:23 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 11 Jan 2010 04:13:23 +0100 Subject: [texhax] Change font size in Lyx In-Reply-To: References: Message-ID: <19274.38739.211263.797653@zaphod.ms25.net> On 11 January 2010 Michael Johnson Lutovsky wrote: > \renewcommand\normalsize{% > \@setfontsize\normalsize{13pt}{14.5pt}% > \abovedisplayskip 12\p@ \@plus3\p@ > ... Could you provide the log file? Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From uwe.lueck at web.de Mon Jan 11 14:27:25 2010 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 11 Jan 2010 14:27:25 +0100 Subject: [texhax] Change font size in Lyx In-Reply-To: Message-ID: <5.1.0.14.0.20100111141056.0284b240@pop3.web.de> At 02:01 11.01.10, Michael Johnson Lutovsky wrote: >I have just been using Miktex and Lyx for a week and I wonder if you could >give me a helping hand? > >I have Lyx 1.6 and Miktex 2.8. > >I want to change the normal font size in Lyx to 11.5pt but I just don't >understand what to do. I used the instructions from >http://wiki.lyx.org/FAQ/ChangeFontUsingLatex , but it's not working. > >I entered this in the Latex preamble in Lyx (changed pt to 11.5): > >\usepackage{type1cm} > >\renewcommand\normalsize{% > \@setfontsize\normalsize{13pt}{14.5pt}% > \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ > \abovedisplayshortskip \z@ \@plus3\p@ > \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ > \belowdisplayskip \abovedisplayskip > \let\@listi\@listI}\normalsize > >Nothing happends. Is there anything else I have to do or change? Actually you seem to have changed the normal font size into 13pt, not 11.5pt. Anyway, I guess that what did happen is a LaTeX font substitution warning. Standard LaTeX does not support arbitrary font sizes, rather only a small fixed set of sizes. Both 13pt and 11.5pt may be replaced by 12pt as the closest size supported. Arbitrary font sizes are supported by fix-cm.sty from the LaTeX base bundle. HTH -- Uwe. From elaine.r.firestone at nasa.gov Mon Jan 11 20:50:12 2010 From: elaine.r.firestone at nasa.gov (Firestone, Elaine R. (GSFC-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]) Date: Mon, 11 Jan 2010 13:50:12 -0600 Subject: [texhax] Defining a new font in Plain Tex References: Message-ID: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> Here's a new problem for me. I want to use a font that isn't computer modern or related to TeX in any way. (It's "Bank Gothic" if anyone's interested, and yes, it's one my computer... a Mac running Snow Leopard.) Can anyone tell me what code to use to allow me to use this? Knuth and Bechtolshein only mention "other fonts" and "third party fonts can be used" and mention "metafonts," etc., but don't give the actual coding for it. I'm not a TeX expert per se, just someone who has to use it because I'm told to, so I'm a little lost. Can anyone help? Thanks. Elaine From zappathustra at free.fr Tue Jan 12 12:31:40 2010 From: zappathustra at free.fr (Paul Isambert) Date: Tue, 12 Jan 2010 12:31:40 +0100 Subject: [texhax] Defining a new font in Plain Tex In-Reply-To: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> References: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> Message-ID: <4B4C5D9C.8050202@free.fr> I take it for granted that "Bank Gothic" is an OpenType or TrueType font, i.e. not a font that was tailored specifically for TeX. (For instance you can use Bank Gothic in a text processor like OpenOffice Writer, I suppose.) Indeed, TeX, which predates most forms of computer typography, uses its own font format. Hence two solutions: - Converting your True- or OpenType font into TeX's format. There exist applications to do so, but I can't help you there. - Turning from TeX to XeTeX, an implementation that takes modern font formats (and modern encodings, for that matter). The later solution is easy. Use XeTeX in your distribution instead of TeX or eTeX or pdfTeX or whatever you use to compile. Most likely, the only noticeable difference will be that you'll produce pdf directly (there's no output in dvi). Now, to use your font, say: \font\bankgothic="Bank Gothic" at 10pt % If you want 10pt of course If there are italic or bold variants, say: \font\bankgothicit="Bank Gothic /I" at 10pt \font\bankgothicbf="Bank Gothic /B" at 10pt \font\bankgothicitbf="Bank Gothic /IB" at 10pt Now, to use your font, just issue the \bankgothic command. However to automatically have italic Bank Gothic with \it, you must redefine it to \def\it{\bankgothicit} and so on for other styles. To switch back to your default font, say \tenpoint, or simply use Bank Gothic in a group: Text with default font ... {\bankgothic Text with the Bank Gothic font} ... text with default font ... so you don't need to restore anything. Paul Firestone, Elaine R. (GSFC-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] a ?crit : > Here's a new problem for me. I want to use a font that isn't computer modern or related to TeX in any way. (It's "Bank Gothic" if anyone's interested, and yes, it's one my computer... a Mac running Snow Leopard.) Can anyone tell me what code to use to allow me to use this? Knuth and Bechtolshein only mention "other fonts" and "third party fonts can be used" and mention "metafonts," etc., but don't give the actual coding for it. I'm not a TeX expert per se, just someone who has to use it because I'm told to, so I'm a little lost. > > Can anyone help? > > Thanks. > > Elaine > > > _______________________________________________ > 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 Tue Jan 12 13:01:34 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Tue, 12 Jan 2010 12:01:34 +0000 Subject: [texhax] Defining a new font in Plain Tex In-Reply-To: <4B4C5D9C.8050202@free.fr> References: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> <4B4C5D9C.8050202@free.fr> Message-ID: <4B4C649E.3060602@Rhul.Ac.Uk> Paul Isambert wrote: > \font\bankgothic="Bank Gothic" at 10pt % If you want 10pt of course > If there are italic or bold variants, say: > \font\bankgothicit="Bank Gothic /I" at 10pt > \font\bankgothicbf="Bank Gothic /B" at 10pt > \font\bankgothicitbf="Bank Gothic /IB" at 10pt This appeared to be the most user-friendly introduction to XeTeX that I have yet seen, and for the first time I was tempted to try it. Sadly my first attempt fell at the first fence : \font \defaultfont = Optima at 20pt > kpathsea: Running mktextfm Optima > > The command name is H:\TeX\Live\2009\bin\win32\mktextfm > > kpathsea: Running mktexmf Optima.mf > > The command name is H:\TeX\Live\2009\bin\win32\mktexmf > name = Optima, rootname = Optima, pointsize = > mktexmf: empty or non-existent rootfile! > Cannot find Optima.mf. Fortunately my second attempt was more successful : \font \defaultfont = "Palatino Linotype" at 20pt and I am now motivated to continue. The obvious difference between Optima and Palatino Linotype is that the former is in Type-1 format whilst the latter is in Truetype; are there problems (surmountable or otherwise) associated with the use of Type-1 fonts with XeTeX ? Philip Taylor From zappathustra at free.fr Tue Jan 12 13:23:09 2010 From: zappathustra at free.fr (Paul Isambert) Date: Tue, 12 Jan 2010 13:23:09 +0100 Subject: [texhax] Defining a new font in Plain Tex In-Reply-To: <4B4C649E.3060602@Rhul.Ac.Uk> References: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> <4B4C5D9C.8050202@free.fr> <4B4C649E.3060602@Rhul.Ac.Uk> Message-ID: <4B4C69AD.7090405@free.fr> Philip TAYLOR a ?crit : > and I am now motivated to continue. The obvious difference > between Optima and Palatino Linotype is that the former > is in Type-1 format whilst the latter is in Truetype; are > there problems (surmountable or otherwise) associated with > the use of Type-1 fonts with XeTeX ? There's nothing particular in XeTeX about Type-1 fonts, so I suppose they must be used in the old way, i.e. with .tfm files, etc. However, the topic of fonts is rather murky to me (one of the reasons I really favor XeTeX), and a more authoritative voice should be heard. Note that a nice introduction to XeTeX is Will Robertson's XeTeX Reference Guide, where you'll find what I've said and much more (including dealing with font features). Paul From elaine.r.firestone at nasa.gov Tue Jan 12 16:01:28 2010 From: elaine.r.firestone at nasa.gov (Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]) Date: Tue, 12 Jan 2010 09:01:28 -0600 Subject: [texhax] Defining a new font in Plain Tex In-Reply-To: <4B4C5D9C.8050202@free.fr> References: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> <4B4C5D9C.8050202@free.fr> Message-ID: <5BDCB3D2-1EEA-4B27-A86E-062E66B99BBE@nasa.gov> Well, the command "\font\bankgothic="Bank Gothic" at 10pt" worked great, as long as I set everything to xetex, HOWEVER, the document is already set up in pdfTeX, which has it's own coding for graphics. XeTex gave me the old "undefined control sequence" error message when it got to the graphics coding. So, what I need is coding that'll work in pdfTeX or Plain Tex. When I typeset it in Plain TeX, I got the error message "kpathsea: Invalid fontname `Bank Gothic Medium', contains ' ' ! Font \bankgothicM="Bank Gothic Medium" at 16.0pt not loadable: Metric (TFM) file not found. On Jan 12, 2010, at 6:31 AM, Paul Isambert wrote: > I take it for granted that "Bank Gothic" is an OpenType or TrueType > font, i.e. not a font that was tailored specifically for TeX. (For > instance you can use Bank Gothic in a text processor like OpenOffice > Writer, I suppose.) > Indeed, TeX, which predates most forms of computer typography, uses its > own font format. Hence two solutions: > > - Converting your True- or OpenType font into TeX's format. There exist > applications to do so, but I can't help you there. > - Turning from TeX to XeTeX, an implementation that takes modern font > formats (and modern encodings, for that matter). > > The later solution is easy. Use XeTeX in your distribution instead of > TeX or eTeX or pdfTeX or whatever you use to compile. Most likely, the > only noticeable difference will be that you'll produce pdf directly > (there's no output in dvi). > > Now, to use your font, say: > > \font\bankgothic="Bank Gothic" at 10pt % If you want 10pt of course > > If there are italic or bold variants, say: > > \font\bankgothicit="Bank Gothic /I" at 10pt > \font\bankgothicbf="Bank Gothic /B" at 10pt > \font\bankgothicitbf="Bank Gothic /IB" at 10pt > > Now, to use your font, just issue the \bankgothic command. However to > automatically have italic Bank Gothic with \it, you must redefine it to > > \def\it{\bankgothicit} > > and so on for other styles. > > To switch back to your default font, say \tenpoint, or simply use Bank > Gothic in a group: > > Text with default font ... {\bankgothic Text with the Bank Gothic font} > ... text with default font ... > > so you don't need to restore anything. > > Paul > > > > Firestone, Elaine R. (GSFC-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] > a ?crit : >> Here's a new problem for me. I want to use a font that isn't computer modern or related to TeX in any way. (It's "Bank Gothic" if anyone's interested, and yes, it's one my computer... a Mac running Snow Leopard.) Can anyone tell me what code to use to allow me to use this? Knuth and Bechtolshein only mention "other fonts" and "third party fonts can be used" and mention "metafonts," etc., but don't give the actual coding for it. I'm not a TeX expert per se, just someone who has to use it because I'm told to, so I'm a little lost. >> >> Can anyone help? >> >> Thanks. >> >> Elaine >> >> >> _______________________________________________ >> 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 reinhard.kotucha at web.de Wed Jan 13 00:58:27 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 13 Jan 2010 00:58:27 +0100 Subject: [texhax] Defining a new font in Plain Tex In-Reply-To: <4B4C649E.3060602@Rhul.Ac.Uk> References: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> <4B4C5D9C.8050202@free.fr> <4B4C649E.3060602@Rhul.Ac.Uk> Message-ID: <19277.3235.439728.132519@zaphod.ms25.net> On 12 January 2010 Philip TAYLOR wrote: > > kpathsea: Running mktexmf Optima.mf > > > > The command name is H:\TeX\Live\2009\bin\win32\mktexmf > > name = Optima, rootname = Optima, pointsize = > > mktexmf: empty or non-existent rootfile! > > Cannot find Optima.mf. > > Fortunately my second attempt was more successful : > > \font \defaultfont = "Palatino Linotype" at 20pt > > and I am now motivated to continue. The obvious difference > between Optima and Palatino Linotype is that the former > is in Type-1 format whilst the latter is in Truetype; are > there problems (surmountable or otherwise) associated with > the use of Type-1 fonts with XeTeX ? Hi Phil, as far as I understand, your assumption is correct. Type1 fonts (pfa/pfb files) don't contain any metrics. Metrics are in separate files (afm files on Unix, pfm files on Windows). This was obviously inspired by TeX. TrueType fonts contain both, the glyphs descriptions and the metrics. pdfTeX supports TrueType, but you still need TFM files. The reason is that pdfTeX still has an 8-bit font engine. XeTeX supports OpenType fonts. OpenType can be regarded as a container which can either contain Type1 outlines (qubic Bezier curves) or TrueType outlines (quadratic Bezier curves), the font metrics, as well as additional information. The OpenType file format is based on TrueType, hence I suppose that XeTeX can treat TTF as a simple form of OTF. I don't know whether FontForge can create OTF from PFB and AFM files automatically, This would be a simple solution if you want to use Type1 fonts in XeTeX. Alternatively you can download and install the (La)TeX support files created by Walter Schmidt: ftp://ftp.dante.de/pub/tex/fonts/metrics/w-a-schmidt/bop.txt ftp://ftp.dante.de/pub/tex/fonts/metrics/w-a-schmidt/bop.zip Then you can use Optima with pdfTeX or Knuth's Tex as well. If you are satified with Classico, the URW variant of Optima, all you have to do is to run: getnonfreefonts-sys classico Just for completeness (Phil is aware of it, he tested it thoroughly): The getnonfreefonts installer can be downloaded from: http://tug.org/~kotucha/getnonfreefonts Since we are on the texhax mailing list, I better mention that getnonfreefonts was designed for TeX Live and will not work under MikTeX (not deliberately, the systems just differ too much). Any attempt to install getnonfreefonts under MikTeX is worthless. 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 news3 at nililand.de Wed Jan 13 10:02:31 2010 From: news3 at nililand.de (Ulrike Fischer) Date: Wed, 13 Jan 2010 10:02:31 +0100 Subject: [texhax] Defining a new font in Plain Tex References: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> <4B4C5D9C.8050202@free.fr> <4B4C649E.3060602@Rhul.Ac.Uk> <19277.3235.439728.132519@zaphod.ms25.net> Message-ID: <194jsc4kxp6w0.dlg@nililand.de> Am Wed, 13 Jan 2010 00:58:27 +0100 schrieb Reinhard Kotucha: > > \font \defaultfont = Optima at 20pt > > kpathsea: Running mktexmf Optima.mf ... > > Cannot find Optima.mf. > > > > Fortunately my second attempt was more successful : > > > > \font \defaultfont = "Palatino Linotype" at 20pt > > > > and I am now motivated to continue. The obvious difference > > between Optima and Palatino Linotype is that the former > > is in Type-1 format whilst the latter is in Truetype; are > > there problems (surmountable or otherwise) associated with > > the use of Type-1 fonts with XeTeX ? > > Hi Phil, > as far as I understand, your assumption is correct. No, xetex can handle type1 fonts without problem. As Jonathon pointed out on the xetex mailing list, the problem here are the missing quotes: "Use quote marks: \font\defaultfont = "Optima" at 20pt XeTeX supports both TFM-based files and "native" TrueType/OpenType/Type1 fonts on the platform. It should try both, if necessary, before finally giving up; but in the case where it tries TFM first, the result (if you have mktextfm, etc., enabled) can be a lot of unpleasant messages as those subsidiary tools fail. But if you quote the font name, it takes this as a hint to try for a platform font first. So "best practice" is to ALWAYS quote font names, except when you really mean to use a traditional TFM file." -- Ulrike Fischer From zappathustra at free.fr Wed Jan 13 11:08:18 2010 From: zappathustra at free.fr (Paul Isambert) Date: Wed, 13 Jan 2010 11:08:18 +0100 Subject: [texhax] Defining a new font in Plain Tex In-Reply-To: <5BDCB3D2-1EEA-4B27-A86E-062E66B99BBE@nasa.gov> References: <0B48791A-B2E2-4BA7-ADA4-5369A6085FE7@nasa.gov> <4B4C5D9C.8050202@free.fr> <5BDCB3D2-1EEA-4B27-A86E-062E66B99BBE@nasa.gov> Message-ID: <4B4D9B92.90005@free.fr> A more authoritative voice (two, actually) has been heard, both here and on the XeTeX list, on Philip's sub-topic about Type-1 font (summary: don't forget quotes). Now, back to the original problem: pdfTeX doesn't understand True-/OpenType fonts. As you can see, it tries to load a standard (.tfm) TeX metric font. The solution would be a conversion of your font to TeX's format, but as I've already said, I can't help you here. There are applications, but I've no experience with them. However, the graphics trouble might not be so bad. There's probably a XeTeX equivalent (\XeTeXpicfile?) to pdfTeX's command (\pdfximage?). Please tell us what command is "undefined" when compiling with XeTeX, and perhaps a simple hack at the beginning of your job will allow you to use XeTeX without further changes to the document. Paul Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] a ?crit : > Well, the command "\font\bankgothic="Bank Gothic" at 10pt" worked great, as long as I set everything to xetex, HOWEVER, the document is already set up in pdfTeX, which has it's own coding for graphics. XeTex gave me the old "undefined control sequence" error message when it got to the graphics coding. > > So, what I need is coding that'll work in pdfTeX or Plain Tex. When I typeset it in Plain TeX, I got the error message > "kpathsea: Invalid fontname `Bank Gothic Medium', contains ' ' > ! Font \bankgothicM="Bank Gothic Medium" at 16.0pt not loadable: Metric (TFM) file not found. > > > > On Jan 12, 2010, at 6:31 AM, Paul Isambert wrote: > > >> I take it for granted that "Bank Gothic" is an OpenType or TrueType >> font, i.e. not a font that was tailored specifically for TeX. (For >> instance you can use Bank Gothic in a text processor like OpenOffice >> Writer, I suppose.) >> Indeed, TeX, which predates most forms of computer typography, uses its >> own font format. Hence two solutions: >> >> - Converting your True- or OpenType font into TeX's format. There exist >> applications to do so, but I can't help you there. >> - Turning from TeX to XeTeX, an implementation that takes modern font >> formats (and modern encodings, for that matter). >> >> The later solution is easy. Use XeTeX in your distribution instead of >> TeX or eTeX or pdfTeX or whatever you use to compile. Most likely, the >> only noticeable difference will be that you'll produce pdf directly >> (there's no output in dvi). >> >> Now, to use your font, say: >> >> \font\bankgothic="Bank Gothic" at 10pt % If you want 10pt of course >> >> If there are italic or bold variants, say: >> >> \font\bankgothicit="Bank Gothic /I" at 10pt >> \font\bankgothicbf="Bank Gothic /B" at 10pt >> \font\bankgothicitbf="Bank Gothic /IB" at 10pt >> >> Now, to use your font, just issue the \bankgothic command. However to >> automatically have italic Bank Gothic with \it, you must redefine it to >> >> \def\it{\bankgothicit} >> >> and so on for other styles. >> >> To switch back to your default font, say \tenpoint, or simply use Bank >> Gothic in a group: >> >> Text with default font ... {\bankgothic Text with the Bank Gothic font} >> ... text with default font ... >> >> so you don't need to restore anything. >> >> Paul >> >> >> >> Firestone, Elaine R. (GSFC-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] >> a ?crit : >> >>> Here's a new problem for me. I want to use a font that isn't computer modern or related to TeX in any way. (It's "Bank Gothic" if anyone's interested, and yes, it's one my computer... a Mac running Snow Leopard.) Can anyone tell me what code to use to allow me to use this? Knuth and Bechtolshein only mention "other fonts" and "third party fonts can be used" and mention "metafonts," etc., but don't give the actual coding for it. I'm not a TeX expert per se, just someone who has to use it because I'm told to, so I'm a little lost. >>> >>> Can anyone help? >>> >>> Thanks. >>> >>> Elaine >>> >>> >>> _______________________________________________ >>> 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: From texhax at uit.co.uk Wed Jan 13 11:28:25 2010 From: texhax at uit.co.uk (texhax at uit.co.uk) Date: Wed, 13 Jan 2010 10:28:25 +0000 Subject: [texhax] Defining a new font in Plain Tex Message-ID: <4B4DA049.1060409@uit.co.uk> Elaine, I think what you want is covered in a brief note I wrote some time ago: http://www.tug.org/pipermail/texhax/2008-February/010056.html The title of the article may seem irrelevant: [texhax] How can I "condense" or "narrow" an existing font? -- solution but I think it covers what you need -- how to define a new font -- and gives pointers to detailed instructions. Good luck, Niall > From: "Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND > APPLICATIONS INC]" > Subject: Re: [texhax] Defining a new font in Plain Tex ... > So, what I need is coding that'll work in pdfTeX or Plain Tex. When I typeset it in Plain TeX, I got the error message > "kpathsea: Invalid fontname `Bank Gothic Medium', contains ' ' > ! Font \bankgothicM="Bank Gothic Medium" at 16.0pt not loadable: Metric (TFM) file not found. ------------------------------------------------------------- Niall Mansfield, Editor 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 mosgowi at gmail.com Thu Jan 14 15:28:43 2010 From: mosgowi at gmail.com (Jan de Ruijter) Date: Thu, 14 Jan 2010 15:28:43 +0100 Subject: [texhax] getnonfreefonts-sys dayroman Message-ID: <4B4F2A1B.8080406@gmail.com> hi, I installed the font DayRoman with "getnonfreefonts-sys dayroman". Now I want to use it, but latex complains it is missing the file "dayroman.sty". I don't know much about al these things. Can anyone tell me what to do next? thanks in advance best regards, Jan de Ruijter From daleif at imf.au.dk Thu Jan 14 15:44:58 2010 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 14 Jan 2010 15:44:58 +0100 Subject: [texhax] getnonfreefonts-sys dayroman In-Reply-To: <4B4F2A1B.8080406@gmail.com> References: <4B4F2A1B.8080406@gmail.com> Message-ID: <4B4F2DEA.1030607@imf.au.dk> Jan de Ruijter wrote: > > hi, > I installed the font DayRoman with "getnonfreefonts-sys dayroman". > Now I want to use it, but latex complains it is missing the file > "dayroman.sty". > I don't know much about al these things. Can anyone tell me what to do > next? > thanks in advance > best regards, > Jan de Ruijter > _______________________________________________ > 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 as far as I know TeX Live have remove the support files for these font. YOu will have to get them from CTAN and install them manually. -- /daleif From reinhard.kotucha at web.de Thu Jan 14 16:25:21 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 14 Jan 2010 16:25:21 +0100 Subject: [texhax] getnonfreefonts-sys dayroman In-Reply-To: <4B4F2A1B.8080406@gmail.com> References: <4B4F2A1B.8080406@gmail.com> Message-ID: <19279.14177.467498.821183@zaphod.ms25.net> On 14 January 2010 Jan de Ruijter wrote: > hi, > I installed the font DayRoman with "getnonfreefonts-sys dayroman". > Now I want to use it, but latex complains it is missing the file > "dayroman.sty". > I don't know much about al these things. Can anyone tell me what to do > next? Yes, read texmf-local/doc/fonts/dayroman/dayroman.txt. 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 reinhard.kotucha at web.de Thu Jan 14 16:30:58 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 14 Jan 2010 16:30:58 +0100 Subject: [texhax] getnonfreefonts-sys dayroman In-Reply-To: <4B4F2DEA.1030607@imf.au.dk> References: <4B4F2A1B.8080406@gmail.com> <4B4F2DEA.1030607@imf.au.dk> Message-ID: <19279.14514.48123.299809@zaphod.ms25.net> On 14 January 2010 Lars Madsen wrote: > as far as I know TeX Live have remove the support files for these font. > YOu will have to get them from CTAN and install them manually. See: http://tug.org/~kotucha/getnonfreefonts There is no need to install anything manually, not even getnonfreefonts itself. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From gabrielle_araj at yahoo.com Thu Jan 14 20:05:15 2010 From: gabrielle_araj at yahoo.com (Gabrielle Araj) Date: Thu, 14 Jan 2010 11:05:15 -0800 (PST) Subject: [texhax] miketex Message-ID: <195853.53311.qm@web113206.mail.gq1.yahoo.com> Hello, When I use the command: latex ggraph.tex. The system respond cannot find file. I have also a laptop I receive the same message. Please tell me how to correct the problem 14/01/2010 12:31 . 14/01/2010 12:31 .. 14/01/2010 12:32 910 .log 06/05/2009 13:29 10 430 cover71.pdf 06/10/2009 09:05 5 015 cover71.tex 06/05/2009 13:45 432 ggraph.tex 06/05/2009 13:25 2 910 gmexiq.pdf 06/05/2009 13:11 38 280 gmexiq.ps 23 fichier(s) 288 244 octets 2 R?p(s) 8 940 171 264 octets libres D:\Program Files\MiKTeX 2.8\tex\couverture>latex ggraph.tex This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) entering extended mode ! I can't find file `ggraph.tex'. <*> ggraph.tex Please type another input file name: __________________________________________________________________ Make your browsing faster, safer, and easier with the new Internet Explorer? 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From news3 at nililand.de Fri Jan 15 09:35:56 2010 From: news3 at nililand.de (Ulrike Fischer) Date: Fri, 15 Jan 2010 09:35:56 +0100 Subject: [texhax] miketex References: <195853.53311.qm@web113206.mail.gq1.yahoo.com> Message-ID: <1ugga5ew4iolm$.dlg@nililand.de> Am Thu, 14 Jan 2010 11:05:15 -0800 (PST) schrieb Gabrielle Araj: > Hello, > > When I use the command: > latex ggraph.tex. The system respond cannot find file. > I have also a laptop I receive the same message. > Please tell me how to correct the problem > > 14/01/2010 12:31 . > 14/01/2010 12:31 .. > 14/01/2010 12:32 910 .log > 06/05/2009 13:29 10 430 cover71.pdf > 06/10/2009 09:05 5 015 cover71.tex > 06/05/2009 13:45 432 ggraph.tex > 06/05/2009 13:25 2 910 gmexiq.pdf > 06/05/2009 13:11 38 280 gmexiq.ps > 23 fichier(s) 288 244 octets > 2 R?p(s) 8 940 171 264 octets libres > > D:\Program Files\MiKTeX 2.8\tex\couverture>latex ggraph.tex > This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) > entering extended mode > ! I can't find file `ggraph.tex'. Move ggraph out of the texmf-tree. For some reason miktex 2.8 has problems to compile files in the trees. It isn't a good idea anyway to write files in Program Files. -- Ulrike Fischer From chincarinil at hotmail.com Fri Jan 15 21:30:34 2010 From: chincarinil at hotmail.com (Ludwig B. Chincarini) Date: Fri, 15 Jan 2010 12:30:34 -0800 Subject: [texhax] (no subject) Message-ID: Does anyone know how I get LATEX (PCTEX) to order tables and figures with the same sequential numbering system? Thanks LC I have PCTEX 5.1 or something like that -------------- next part -------------- An HTML attachment was scrubbed... URL: From ameralkhaladi at yahoo.com Sat Jan 16 04:46:35 2010 From: ameralkhaladi at yahoo.com (Amer Al Khaladi) Date: Fri, 15 Jan 2010 19:46:35 -0800 (PST) Subject: [texhax] Help me Message-ID: <183796.13132.qm@web63908.mail.re1.yahoo.com> Dear Prof. Dr. , Please I will ask? the following question: I installed LaTeX Editor (LEd ) (version 0.53 beta(build 6501) date 2009/10/ 24) and MiKTeX 2.8 distribution from http://www.latexeditor.org then I used birkmult.zip (attached this file with letter ) to print my article (it is accepted for publish in ''Results in Math Journal"),but I did not obtain the div file. please help me.? Thank you very much ? Sincerely yours, Amer H. H. Al-Khaladi Baquba City, P. O. Box 19, Diyala Province, Republic of Iraq e-mail:ameralkhaladi at yahoo.com ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: birkmult.zip Type: application/x-zip-compressed Size: 89927 bytes Desc: not available URL: From hh-brasil at bol.com.br Sat Jan 16 12:10:23 2010 From: hh-brasil at bol.com.br (hh) Date: Sat, 16 Jan 2010 08:10:23 -0300 Subject: [texhax] Help me In-Reply-To: References: Message-ID: <4B51746F.7693.3FE82B@hh-brasil.bol.com.br> If I understand your attachment right, the question should be done to the XeTeX group hh From: texhax-request at tug.org Subject: texhax Digest, Vol 2010, Issue 17 To: texhax at tug.org Send reply to: texhax at tug.org Date sent: Sat, 16 Jan 2010 08:29:37 +0100 > Date: Fri, 15 Jan 2010 19:46:35 -0800 (PST) > From: Amer Al Khaladi > To: texhax at tug.org > Subject: [texhax] Help me > Message-ID: <183796.13132.qm at web63908.mail.re1.yahoo.com> > Content-Type: text/plain; charset="iso-8859-1" > > Dear Prof. Dr. , > Please I will ask? the following question: > I installed LaTeX Editor (LEd ) (version 0.53 beta(build 6501) date > 2009/10/ 24) and MiKTeX 2.8 distribution from http://www.latexeditor.org > then I used birkmult.zip (attached this file with letter ) to print my > article (it is accepted for publish in ''Results in Math Journal"),but I > did not obtain the div file. please help me.? > Thank you very much > ? > Sincerely yours, > Amer H. H. Al-Khaladi > Baquba City, P. O. Box 19, Diyala Province, Republic of Iraq > e-mail:ameralkhaladi at yahoo.com > ? > ? > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > References: Message-ID: <4B517957.5011.5311FD@hh-brasil.bol.com.br> From: texhax-request at tug.org Subject: texhax Digest, Vol 2010, Issue 17 To: texhax at tug.org Send reply to: texhax at tug.org Date sent: Sat, 16 Jan 2010 08:29:37 +0100 > Message: 1 > Date: Fri, 15 Jan 2010 12:30:34 -0800 > From: "Ludwig B. Chincarini" > To: > Subject: [texhax] (no subject) > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Does anyone know how I get LATEX (PCTEX) to order tables and figures > with > the same sequential numbering system? > > Thanks > > LC Look at your cls-file. You will probably find something like \newcounter{figure}[chapter] \renewcommand \thefigure {\ifnum \c at chapter>\z@ \arabic{chapter}.\fi \@arabic\c at figure} \newcounter{table}[chapter] \renewcommand \thetable {\ifnum \c at chapter>\z@ \thechapter.\fi \@arabic\c at table} change the last counter (\@arabic\c at table) to the same as in \thefigure (\@arabic\c at figure). Either change it within the cls-file or do it in a separate file (\renewcommand\thetable{\arabic{chapter}.\arabic{figure}} most probably will work). hh From P.Taylor at Rhul.Ac.Uk Sat Jan 16 12:55:51 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sat, 16 Jan 2010 11:55:51 +0000 Subject: [texhax] Help me In-Reply-To: <4B51746F.7693.3FE82B@hh-brasil.bol.com.br> References: <4B51746F.7693.3FE82B@hh-brasil.bol.com.br> Message-ID: <4B51A947.8040206@Rhul.Ac.Uk> Confused, HH : what can you see in Amer's attachments (that I can't) that suggests that XeTeX is in some way involved ? Philip Taylor -------- hh wrote: > If I understand your attachment right, the question should be done to > the XeTeX group > hh From P.Taylor at Rhul.Ac.Uk Sat Jan 16 12:59:58 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sat, 16 Jan 2010 11:59:58 +0000 Subject: [texhax] Help me In-Reply-To: <183796.13132.qm@web63908.mail.re1.yahoo.com> References: <183796.13132.qm@web63908.mail.re1.yahoo.com> Message-ID: <4B51AA3E.5000602@Rhul.Ac.Uk> Amer Al Khaladi wrote: > Please I will ask the following question: > > I installed LaTeX Editor (LEd ) (version 0.53 beta(build 6501) date > 2009/10/ 24) and MiKTeX 2.8 distribution from http://www.latexeditor.org > then I used birkmult.zip (attached this > file with letter ) to print my article (it is accepted for publish in > ''Results in Math Journal"),but I did not obtain the div file. please > help me. Is it possible that instead you got a PDF file ? If your copy of LaTeX is configured to generate PDF rather than DVI, this would be the case. The following example will generate PDF or DVI depending on the configuration of LaTeX : \documentclass{birkmult} \begin {document} Hallo \end {document} Philip Taylor From 5mgfreestore at gmail.com Sat Jan 16 18:06:25 2010 From: 5mgfreestore at gmail.com (File Store) Date: Sat, 16 Jan 2010 11:06:25 -0600 Subject: [texhax] Question Message-ID: Can you please tell me if the LaTeX has capability to do graph and related staff without including as an image? e.g. you are talking about a function and you want to include its graph, how can I do that? Or you want ceration table in which you want to have the same fonts for the characters as the way you type with LaTeX? -------------- next part -------------- An HTML attachment was scrubbed... URL: From joseph.wright at morningstar2.co.uk Sat Jan 16 18:22:51 2010 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Sat, 16 Jan 2010 17:22:51 +0000 Subject: [texhax] Question In-Reply-To: References: Message-ID: <4B51F5EB.4090803@morningstar2.co.uk> On 16/01/2010 17:06, File Store wrote: > Can you please tell me if the LaTeX has capability to do graph and related > staff without including as an image? > > > e.g. you are talking about a function and you want to include its graph, how > can I do that? See for example packages pgf, pgfplots, PStricks > Or you want ceration table in which you want to have the same fonts for the > characters as the way you type with LaTeX? Tables are just typeset like anything else: for examples, perhaps look at pgfplotstable, siunitx, dcolumn, xtab, ... -- Joseph Wright From martin at oneiros.de Sat Jan 16 18:45:50 2010 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Sat, 16 Jan 2010 18:45:50 +0100 Subject: [texhax] (no subject) In-Reply-To: References: Message-ID: <68c491a61001160945i378997f8p11a36ce4a66c6994@mail.gmail.com> 2010/1/15 Ludwig B. Chincarini : > Does anyone know how I get LATEX (PCTEX) to order tables and figures with > the same sequential numbering system? Probably, but do you really want table 5.2 to be followed by figure 5.3 and table 5.4? Don't you think the reader will miss e.g. table 5.3 and figure 5.4? Best Martin From jbbrus at comcast.net Sat Jan 16 19:18:36 2010 From: jbbrus at comcast.net (Bernice Barnett) Date: Sat, 16 Jan 2010 11:18:36 -0700 Subject: [texhax] Question In-Reply-To: References: Message-ID: <4B5202FC.2030000@comcast.net> File Store wrote: > Can you please tell me if the LaTeX has capability to do graph and > related staff without including as an image? > > > e.g. you are talking about a function and you want to include its > graph, how can I do that? > > Or you want ceration table in which you want to have the same fonts > for the characters as the way you type with LaTeX? This may or may not be helpful for your application: I sometimes write a program (in Lisp but the language isn't important) the output of which is a file with extension tex and whose contents is a picture environment. I include that file in my LaTeX using an \input command. This approach is often a lot simpler than others particularly if the function is not easy to express in simple algebraic terms. This is also a reasonable approach to generating diagrams where the sizes and positions of the objects need to be calculated. There are various extensions to the picture environment that allow arbitrary slopes and circle/oval sizes that make this a lot easier than it may appear. -- Jeff Barnett From jbbrus at comcast.net Sat Jan 16 19:18:36 2010 From: jbbrus at comcast.net (Bernice Barnett) Date: Sat, 16 Jan 2010 11:18:36 -0700 Subject: [texhax] Question In-Reply-To: References: Message-ID: <4B5202FC.2030000@comcast.net> File Store wrote: > Can you please tell me if the LaTeX has capability to do graph and > related staff without including as an image? > > > e.g. you are talking about a function and you want to include its > graph, how can I do that? > > Or you want ceration table in which you want to have the same fonts > for the characters as the way you type with LaTeX? This may or may not be helpful for your application: I sometimes write a program (in Lisp but the language isn't important) the output of which is a file with extension tex and whose contents is a picture environment. I include that file in my LaTeX using an \input command. This approach is often a lot simpler than others particularly if the function is not easy to express in simple algebraic terms. This is also a reasonable approach to generating diagrams where the sizes and positions of the objects need to be calculated. There are various extensions to the picture environment that allow arbitrary slopes and circle/oval sizes that make this a lot easier than it may appear. -- Jeff Barnett From mr_heller at yahoo.dk Sat Jan 16 22:41:47 2010 From: mr_heller at yahoo.dk (Martin Heller) Date: Sat, 16 Jan 2010 22:41:47 +0100 Subject: [texhax] emperical surveys about the propagation of LaTeX? In-Reply-To: References: Message-ID: Jan Leusmann wrote: > Dear Sir or Madam, > Me and a friend of mine are currently working on a seminar paper about > LaTeX and we are still looking for a reliable source (or a source > anyway) about the propagation of LateX amongst students or scientists. > Unfortunately, the "DANTE" organisation did not response on our e-mail. > Could you possibly give us a URL to a emperical survey or some reliable > statistics? Potential sources could also cover American countries and > not necessarily European ones. > Yours, > Jan Leusmann and Christoph Seelus D. P. Story once did a LaTeX survey: From hh-brasil at bol.com.br Sun Jan 17 00:07:29 2010 From: hh-brasil at bol.com.br (hh) Date: Sat, 16 Jan 2010 20:07:29 -0300 Subject: [texhax] texhax Digest, Vol 2010, Issue 18 In-Reply-To: References: Message-ID: <4B521C81.20025.154FB0@hh-brasil.bol.com.br> Express your function in "Reversed Polish Notation" and do the graph with psplot or parametricplot. But today there are simpler ways, which might be better explained by others. hh From: texhax-request at tug.org Subject: texhax Digest, Vol 2010, Issue 18 To: texhax at tug.org Send reply to: texhax at tug.org Date sent: Sat, 16 Jan 2010 19:18:42 +0100 > Date: Sat, 16 Jan 2010 11:06:25 -0600 > From: File Store <5mgfreestore at gmail.com> > To: support at tug.org > Subject: [texhax] Question > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Can you please tell me if the LaTeX has capability to do graph and > related > staff without including as an image? > > > e.g. you are talking about a function and you want to include its graph, > how > can I do that? From brandon at 301south.net Sun Jan 17 01:31:58 2010 From: brandon at 301south.net (Brandon Kuczenski) Date: Sat, 16 Jan 2010 16:31:58 -0800 (PST) Subject: [texhax] BibTeX: linebreaks in cites [natbib] and institution-as-author [apalike] Message-ID: Hi all, I'm using LaTeX, BibTeX, and elbow grease to put together a beautiful document. I'm using natbib to handle citations and the apalike bibliography style. I've encountered two bibtex questions that stump me: 1- at least one of my citations containing (Name and Othername, year) creates an overfull hbox problem, with Othername sticking out into the right margin. Why doesn't it just linebreak after Name? 2- Several of my citations are to documents written by governments, instutitons, or consortia. Rather than list these as "Anonymous" authors, I would like the institution name to appear as the author. The problem is, e.g., if I list the author as {{US} Environmental Protection Agency} in the bibliography file, then this shows up in the bibliography as: Agency, U. E. P. which is clearly not suitable. How can I escape author-formatting for these bibitems so that they appear as-written? Thanks so much, Brandon From karl at freefriends.org Sun Jan 17 01:44:38 2010 From: karl at freefriends.org (Karl Berry) Date: Sun, 17 Jan 2010 00:44:38 GMT Subject: [texhax] TUGboat articles solicited Message-ID: <201001170044.o0H0icxd025340@f7.net> The deadline for the next regular issue of TUGboat is March 31. We'd like to solicit new articles for it. So if you have used (or written) a favorite package, or font, or support program, or ... whatever ... feel free to write it up and send it in. Doesn't have to be long, doesn't have to be short. Can be about any aspect of the TeX system, any TeX format, ... http://tug.org/TUGboat/location.html has some tips on writing for TUGboat, and templates to use for articles. Let me know if any questions, comments, suggestions. Thanks, Karl From brandon at 301south.net Sun Jan 17 05:07:46 2010 From: brandon at 301south.net (Brandon Kuczenski) Date: Sat, 16 Jan 2010 20:07:46 -0800 (PST) Subject: [texhax] Question In-Reply-To: References: Message-ID: On Sat, 16 Jan 2010, File Store wrote: > Can you please tell me if the LaTeX has capability to do graph and related staff without including as an image? Sure. For instance: \documentclass{minimal} \usepackage{pstricks-add} \begin{document} \centering \begin{pspicture}(-5,-2)(5,2) \psaxes(0,0)(-4.5,-1.25)(4.5,1.25) \psplot[plotpoints=100,algebraic]{-4}{4}{sin(x)} \end{pspicture}\\ $sin(x)$ \end{document} From toms at ncifcrf.gov Sun Jan 17 05:48:36 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Sat, 16 Jan 2010 23:48:36 -0500 (EST) Subject: [texhax] Question In-Reply-To: from Brandon Kuczenski at "Jan 16, 2010 11:07:46 pm" Message-ID: <201001170448.o0H4mawY024152@strawberry.ncifcrf.gov> > \documentclass{minimal} > \usepackage{pstricks-add} > \begin{document} > \centering > \begin{pspicture}(-5,-2)(5,2) > \psaxes(0,0)(-4.5,-1.25)(4.5,1.25) > \psplot[plotpoints=100,algebraic]{-4}{4}{sin(x)} > \end{pspicture}\\ > $sin(x)$ > \end{document} What a lovely example! When I run this on the command line, it works just fine. For file z.tex, latex z dvips z ps2pdf z.ps open z.pdf But if I open z.tex and Typeset it in TexShop (version 2.18-svn) on my Mac OSX 10.6.2, I get an error: ! Undefined control sequence. \XC at usec@lor ...\expandafter \c at lor@to at ps #1#2\@@ \else \expandafter \expand... l.9 \psplot [plotpoints=100,algebraic]{-4}{4}{sin(x)} ? Hunh? Tom Dr. Thomas D. Schneider National Institutes of Health http://alum.mit.edu/www/toms (permanent) From brandon at 301south.net Sun Jan 17 06:10:29 2010 From: brandon at 301south.net (Brandon Kuczenski) Date: Sat, 16 Jan 2010 21:10:29 -0800 (PST) Subject: [texhax] Question In-Reply-To: <201001170448.o0H4mawY024152@strawberry.ncifcrf.gov> References: <201001170448.o0H4mawY024152@strawberry.ncifcrf.gov> Message-ID: On Sat, 16 Jan 2010, Tom Schneider wrote: > latex z > dvips z > ps2pdf z.ps > open z.pdf > > But if I > > open z.tex > > and Typeset it in TexShop (version 2.18-svn) on my Mac OSX 10.6.2, I > get an error: Is it possible TexShop is trying to skip the postscript stage? _PS_tricks requires postscript (pdflatex doesn't work). best, Brandon From axel.retif at mac.com Sun Jan 17 07:01:54 2010 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 17 Jan 2010 00:01:54 -0600 Subject: [texhax] Question In-Reply-To: References: Message-ID: On 16 Jan, 2010, at 22:07, Brandon Kuczenski wrote: > On Sat, 16 Jan 2010, File Store wrote: > >> Can you please tell me if the LaTeX has capability to do graph and related staff without including as an image? > > Sure. For instance: > > \documentclass{minimal} > > \usepackage{pstricks-add} > > \begin{document} > \centering > \begin{pspicture}(-5,-2)(5,2) > \psaxes(0,0)(-4.5,-1.25)(4.5,1.25) > \psplot[plotpoints=100,algebraic]{-4}{4}{sin(x)} > \end{pspicture}\\ > $sin(x)$ > \end{document} Beautiful example, as Tom said (and, by the way, indeed it typesets OK in TeXShop if you select ``TeX and DVI'' in the Typeset menu). Also, the OP can take a look at http://www.texample.net/tikz/examples/ for pgf/TikZ examples. Best, Axel From zculv at yahoo.com Sun Jan 17 05:32:27 2010 From: zculv at yahoo.com (Z Culv) Date: Sat, 16 Jan 2010 20:32:27 -0800 (PST) Subject: [texhax] Creating a TeX font for a comic? Message-ID: <51686.82321.qm@web45904.mail.sp1.yahoo.com> Hi, ? Can someone please tell me where I might be able to find a?TeX font of the alphabet for use in Adobe?Photoshop/Illustrator???? I have a character who I'd like to use TeX to speak within word balloons... (Science fiction story) ?Just not sure how to go about doing this. Thanks for any info! ? -Zach C. -------------- next part -------------- An HTML attachment was scrubbed... URL: From toms at ncifcrf.gov Sun Jan 17 09:02:56 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Sun, 17 Jan 2010 03:02:56 -0500 (EST) Subject: [texhax] Question In-Reply-To: from "Axel E. Retif" at "Jan 17, 2010 01:01:54 am" Message-ID: <201001170802.o0H82uiR027682@strawberry.ncifcrf.gov> Axel: > Beautiful example, as Tom said (and, by the way, indeed it typesets > OK in TeXShop if you select ``TeX and DVI'' in the Typeset menu). I have TeXShop version 2.18 and that's not an option. Should I install my new DVD that arrived last week? Besides, shouldn't it "just work" on this LaTeX file? Tom From Herbert.Voss at FU-Berlin.DE Sun Jan 17 09:28:17 2010 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 17 Jan 2010 09:28:17 +0100 Subject: [texhax] Question In-Reply-To: <201001170448.o0H4mawY024152@strawberry.ncifcrf.gov> References: <201001170448.o0H4mawY024152@strawberry.ncifcrf.gov> Message-ID: <4B52CA21.4020003@FU-Berlin.DE> Am 17.01.2010 05:48, schrieb Tom Schneider: > > open z.tex > > > > and Typeset it in TexShop (version 2.18-svn) on my Mac OSX 10.6.2, I > > get an error: > > > > ! Undefined control sequence. > > \XC at usec@lor ...\expandafter \c at lor@to at ps #1#2\@@ > > \else \expandafter \expand... > > l.9 \psplot > > [plotpoints=100,algebraic]{-4}{4}{sin(x)} http://tug.org/PSTricks/main.cgi?file=misc/MAC#PS Herbert From toms at ncifcrf.gov Sun Jan 17 15:11:13 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Sun, 17 Jan 2010 09:11:13 -0500 (EST) Subject: [texhax] Question In-Reply-To: <4B52CA21.4020003@FU-Berlin.DE> from Herbert Voss at "Jan 17, 2010 03:28:17 am" Message-ID: <201001171411.o0HEBDdw028327@strawberry.ncifcrf.gov> Herbert: > > > ! Undefined control sequence. > > > \XC at usec@lor ...\expandafter \c at lor@to at ps #1#2\@@ > > > \else \expandafter > \expand... > > > l.9 \psplot > > > [plotpoints=100,algebraic]{-4}{4}{sin(x)} > http://tug.org/PSTricks/main.cgi?file=misc/MAC#PS That worked, thanks. Is there a reason not to have that the default? It's what I do by hand normally. The pulldown menu is not clear - "TeX and Ghostscript" is not Latex followed by dvips and ps2pdf! The error message is so obscure I would never have figured it out. Tom From mr_heller at yahoo.dk Sun Jan 17 15:12:13 2010 From: mr_heller at yahoo.dk (Martin Heller) Date: Sun, 17 Jan 2010 15:12:13 +0100 Subject: [texhax] Creating a TeX font for a comic? In-Reply-To: <51686.82321.qm@web45904.mail.sp1.yahoo.com> References: <51686.82321.qm@web45904.mail.sp1.yahoo.com> Message-ID: Z Culv wrote: > Hi, > > Can someone please tell me where I might be able to find a TeX font of > the alphabet for use in Adobe Photoshop/Illustrator??? I have a > character who I'd like to use TeX to speak within word balloons... > (Science fiction story) Just not sure how to go about doing this. > Thanks for any info! > > -Zach C. > You can get Latin Modern as OpenType from GUST . Or you could use the Truetype version of Computer Modern . From toms at ncifcrf.gov Sun Jan 17 15:17:14 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Sun, 17 Jan 2010 09:17:14 -0500 (EST) Subject: [texhax] Question In-Reply-To: <0967FFDF-1C41-4DC5-A8D9-9864C9F86032@mac.com> from "Axel E. Retif" at "Jan 17, 2010 05:27:41 am" Message-ID: <201001171417.o0HEHEGL028472@strawberry.ncifcrf.gov> Axel: > No, because TeXShop uses pdfTeX (output PDF) as default, and That was not obvious to me using it. Maybe it could be made more clear? > psTricks requires output DVI -> dvips -> PDF. > > Maybe the wording has changed (I'm using TeXShop 2.26), but TeXShop > has always had this option. The options don't mention "DVI -> dvips -> PDF". Can TeXShop be made smart enough to know this? Could using pstricks trigger it? I only know it since I've done it for years, so I don't expect to have to RTFM - especially if the error doesn't point me in the right direction. Tom From toms at ncifcrf.gov Sun Jan 17 17:10:32 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Sun, 17 Jan 2010 11:10:32 -0500 (EST) Subject: [texhax] Question In-Reply-To: <8D6A7D83-461E-4423-B84A-AA071CA1BEE8@wideopenwest.com> from Herbert Schulz at "Jan 17, 2010 09:36:26 am" Message-ID: <201001171610.o0HGAW87029773@strawberry.ncifcrf.gov> Herbert: > TeXShop doesn't scan the file to see what packages are loaded. That > would be a real mess since packages can require other packages, etc. I see. > (Yes, I know that MikTeX does do something like this but it has > modified binaries and MacTeX has the complete TeX Live 2009. In any > case even MikTeX won't switch in the middle of processing.) > > The best thing to do is to place the line > > %%!TEX TS-program = latex That seems rather specific to do in every file and of course it wasn't put into the example. > at the top of files that need latex->dvips->ps2pdf processing The interesting idea is to use %% lines to control what programs are needed for processing. This corresponds nicely to the %% lines in PostScript. Perhaps a universal set could be developed? Then it would make sense to put the right line in every file. But if the above line means to do "latex->dvips->ps2pdf" then I would suggest it be stated on the line explicitly: %%!TEX latex->dvips->ps2pdf > (actually, TeXShop runs a script called simpdftex to do the > processing). To force pdflatex processing replace `latex' by > `pdflatex' and similarly for xelatex processing. You can also build > custom engines for doing special things. There is a set of engines > for using latexmk for doing automatic bibliography and/or index > processing and reruns of the processing of choice to resolve > cross-references, generate a toc, etc. (See the files, activation > instructions and documentation in > ~/Library/TeXShop/Engines/Inactive/Latexmk/.) I have my own scripts for such things. > What OS are you using? Is there a reason you are still using TeXShop > 2.18 instead of updating to 2.29? It's sitting on my desk and I haven't gotten around to installing it! Tom From P.Taylor at Rhul.Ac.Uk Sun Jan 17 18:06:22 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 17 Jan 2010 17:06:22 +0000 Subject: [texhax] Help me In-Reply-To: <4B521C81.4756.15508B@hh-brasil.bol.com.br> References: <4B521C81.4756.15508B@hh-brasil.bol.com.br> Message-ID: <4B53438E.1080904@Rhul.Ac.Uk> I still can't find any mention of "bidi"; in which file did you see it mentioned ? ** Phil. -------- hh wrote: > "bidi" was mentioned. > hh From axel.retif at mac.com Sun Jan 17 11:27:41 2010 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 17 Jan 2010 04:27:41 -0600 Subject: [texhax] Question In-Reply-To: <201001170802.o0H82uiR027682@strawberry.ncifcrf.gov> References: <201001170802.o0H82uiR027682@strawberry.ncifcrf.gov> Message-ID: <0967FFDF-1C41-4DC5-A8D9-9864C9F86032@mac.com> Tom: > Axel: > >> Beautiful example, as Tom said (and, by the way, indeed it typesets >> OK in TeXShop if you select ``TeX and DVI'' in the Typeset menu). > > I have TeXShop version 2.18 and that's not an option. Should I > install my new DVD that arrived last week? > > Besides, shouldn't it "just work" on this LaTeX file? No, because TeXShop uses pdfTeX (output PDF) as default, and psTricks requires output DVI -> dvips -> PDF. Maybe the wording has changed (I'm using TeXShop 2.26), but TeXShop has always had this option. -------------- next part -------------- A non-text attachment was scrubbed... Name: TeXShop_menu.png Type: image/png Size: 96695 bytes Desc: not available URL: -------------- next part -------------- Best, Axel From asnd at triumf.ca Sun Jan 17 18:43:20 2010 From: asnd at triumf.ca (Donald Arseneau) Date: 17 Jan 2010 09:43:20 -0800 Subject: [texhax] Question In-Reply-To: References: Message-ID: Brandon Kuczenski writes: > $sin(x)$ $\sin(x)$ -- Donald Arseneau asnd at triumf.ca From axel.retif at mac.com Sun Jan 17 20:05:22 2010 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 17 Jan 2010 13:05:22 -0600 Subject: [texhax] Question In-Reply-To: <201001171411.o0HEBDdw028327@strawberry.ncifcrf.gov> References: <201001171411.o0HEBDdw028327@strawberry.ncifcrf.gov> Message-ID: <7BB8E92E-71D0-4AA7-A5DA-14DB11A318CC@mac.com> On 17 Jan, 2010, at 08:11, Tom Schneider wrote: > Herbert: > >>>> ! Undefined control sequence. >>>> \XC at usec@lor ...\expandafter \c at lor@to at ps #1#2\@@ >>>> \else \expandafter >> \expand... >>>> l.9 \psplot >>>> [plotpoints=100,algebraic]{-4}{4}{sin(x)} > >> http://tug.org/PSTricks/main.cgi?file=misc/MAC#PS > > That worked, thanks. > > Is there a reason not to have that the default? > It's what I do by hand normally. If you want to make dvi -> dvips -> ps{2,to}pdf the default, go to TeXShop -> Preferences -> Typesetting tab and in Default Script choose ``TeX + DVI'' (or ``TeX + Ghostscript'') instead of pdfTeX. You can choose which distiller to use ---Ghostscript (ps2pdf) or Apple distiller (pstopdf) in the Misc tab. Best, Axel From toms at ncifcrf.gov Sun Jan 17 22:44:01 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Sun, 17 Jan 2010 16:44:01 -0500 (EST) Subject: [texhax] Question In-Reply-To: from Herbert Schulz at "Jan 17, 2010 11:58:54 am" Message-ID: <201001172144.o0HLi10F000549@strawberry.ncifcrf.gov> Herbert: > See TeXShop's Help->TeXShop Help Panel for more information. Thanks for the details. > Are you running them as engines through TeXShop or on the command > line directly? Do they run things a fixed number of times or until > cross-references, etc., are resolved? I run everything from an (UGH!) tcsh command line script called 'l'. It's universal if not a great language. It's smart enough to know when to run bibtex. I generally hate graphical user interfaces (GUI) since they don't do what I want, one has to fight to learn what they do do. Instead I use two Terminals, one with vim and the other with an atchange watching the file. The second one is triggered by writing the file out and does either a dvi display or complete conversion to pdf and display (which may involve transmission of the pdf across the internet). The advantage of this method is that I get to work quickly in an editor and avoid fighting the mouse, but the result is the beautifully typeset output of LaTeX. (I still don't have a smart pdf reader that updates itself when the file changes, we've discussed this before and no solution worked. Adobe is unable to accept user suggestions or even acknowledge them.) http://alum.mit.edu/www/toms/atchange.html > What about packages that may create multiple bibliographies/indexes? I haven't learned how to do this yet so they don't handle it. Bottom line: being in an efficient editor overwhelms GUIs since it saves so much time. So I watch TeXShop but am not inclined to convert to it. Tom Dr. Thomas D. Schneider National Institutes of Health toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms (permanent) From texforeverything at att.net Mon Jan 18 01:44:14 2010 From: texforeverything at att.net (Stan) Date: Sun, 17 Jan 2010 18:44:14 -0600 Subject: [texhax] problem with \mark, or with me? Message-ID: After having difficulty creating some macros involving \mark, I returned to the basics and set up the situation described on page 258 of the TeXbook, and typeset it using Plain TeX. Unfortunately, my results don't match those described in the book. Everything in the file I produced is shifted by a page, so for example, the state of \topmark etc. that the TeXbook says should be on page 3, I have on page 4. Is this just some careless mistake on my part? Here is the text from my file: first page -\topmark- -\firstmark- -\botmark- \vfill\eject second page mark a\mark{$\alpha$} -\topmark- -\firstmark- -\botmark- \vfill\eject third page -\topmark- -\firstmark- -\botmark- \vfill\eject fourth page mark b\mark{$\beta$} mark c\mark{$\gamma$} -\topmark- -\firstmark- -\botmark- \vfill\eject fifth page mark d\mark{$\delta$} -\topmark- -\firstmark- -\botmark- \vfill\eject sixth page -\topmark- -\firstmark- -\botmark- \vfill\eject seventh page -\topmark- -\firstmark- -\botmark- \bye From zappathustra at free.fr Mon Jan 18 13:10:01 2010 From: zappathustra at free.fr (Paul Isambert) Date: Mon, 18 Jan 2010 13:10:01 +0100 Subject: [texhax] problem with \mark, or with me? In-Reply-To: References: Message-ID: <4B544F99.6040301@free.fr> Marks are made available in the output routine, that's why your document doesn't work. When you say: mark a\mark{$\alpha$} -\topmark- -\firstmark- -\botmark- \top-, \first- and \botmark are still empty because they are defined at output time, so what is printed here is their values at the last output (hence the one-page delay). Try the following dummy routine: \output{ \shipout\vbox{ \unvbox255 \hbox{Topmark: \topmark} \hbox{Firstmark: \firstmark} \hbox{Botmark: \botmark}} } and you'll see that whereas your test is ill-defined, at output time marks are set to the correct values. Paul Stan a ?crit : > After having difficulty creating some macros involving \mark, I > returned to the basics and set up the situation described on page 258 > of the TeXbook, and typeset it using Plain TeX. Unfortunately, my > results don't match those described in the book. Everything in the > file I produced is shifted by a page, so for example, the state of > \topmark etc. that the TeXbook says should be on page 3, I have on > page 4. Is this just some careless mistake on my part? Here is the > text from my file: > > > first page > > -\topmark- > -\firstmark- > -\botmark- > > \vfill\eject > > second page > > mark a\mark{$\alpha$} > > -\topmark- > -\firstmark- > -\botmark- > > \vfill\eject > > third page > > -\topmark- > -\firstmark- > -\botmark- > > \vfill\eject > > fourth page > > mark b\mark{$\beta$} > > mark c\mark{$\gamma$} > > -\topmark- > -\firstmark- > -\botmark- > > \vfill\eject > > fifth page > > mark d\mark{$\delta$} > > -\topmark- > -\firstmark- > -\botmark- > > \vfill\eject > > sixth page > > -\topmark- > -\firstmark- > -\botmark- > > \vfill\eject > > seventh page > > -\topmark- > -\firstmark- > -\botmark- > > \bye > _______________________________________________ > 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 gafunchal at gmail.com Mon Jan 18 11:20:03 2010 From: gafunchal at gmail.com (Giovanni Funchal) Date: Mon, 18 Jan 2010 11:20:03 +0100 Subject: [texhax] includegraphics warning vs error Message-ID: Hi, I've just noticed some weird behavior in \includegraphics (or more precisely \Ginclude at graphics in graphics.sty). Suppose that file foobar.pdf does not exist, then : \includegraphics{foobar} will output an error 'File not found', because the argument had no extension and it could not guess it. However, \includegraphics{foobar.pdf} will output a *warning* 'File not found', because the argument had an extension. I think that this behavior is not very consistent. -- Giovanni From asnd at triumf.ca Mon Jan 18 19:26:37 2010 From: asnd at triumf.ca (Donald Arseneau) Date: 18 Jan 2010 10:26:37 -0800 Subject: [texhax] problem with \mark, or with me? In-Reply-To: References: Message-ID: Stan writes: > should be on page 3, I have on page 4. Is this just some careless mistake > on my part? Here is the text from my file: A misunderstanding. The commands > -\topmark- > -\firstmark- > -\botmark- are to be used in the output routine, after the page break is chosen. You are trying to use them on the page body before the page breaking occurs, thus you get the meanings from the previous page break. -- Donald Arseneau asnd at triumf.ca From mr_heller at yahoo.dk Mon Jan 18 19:26:38 2010 From: mr_heller at yahoo.dk (Martin Heller) Date: Mon, 18 Jan 2010 19:26:38 +0100 Subject: [texhax] emperical surveys about the propagation of LaTeX? In-Reply-To: References: Message-ID: <4B54A7DE.8080007@yahoo.dk> Martin Heller wrote: > > D. P. Story once did a LaTeX survey: > > > > The survey has just been reopened. See: From toms at ncifcrf.gov Mon Jan 18 23:52:03 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Mon, 18 Jan 2010 17:52:03 -0500 (EST) Subject: [texhax] Question In-Reply-To: <1263766632.4643.522.camel@ph-sjs-vaioz> from Steve Schwartz at "Jan 17, 2010 05:17:12 pm" Message-ID: <201001182252.o0IMq35T018114@strawberry.ncifcrf.gov> Steve: > > (I still don't have a smart pdf > > reader that updates itself when the file changes, we've discussed this > > before and no solution worked. Adobe is unable to accept user > > suggestions or even acknowledge them.) > > Actually, my experience in the linux world is that Adobe is the > exception, and that all the other viewers do update themselves (and > return to the same location and same magnification). An incomplete list > includes: > > kpdf - the KDE version of xpdf > okular - the new kde pdf viewer > evince - the gnome pdf viewer Being on a Mac OSX, I wasn't able to get evince to work (macports has a port bug) but I was able to get latexmk going! The main trick is that one has to have a ~/.latexmk file containing $pdf_previewer = "start xpdf -remote %R %O %S"; $pdf_update_method = 4; $pdf_update_command = "xpdf -remote %R -reload"; Then latexmk recognizes when files change and automatically runs things and triggers the xpdf to redisplay. Perfect!! I put links and details at http://alum.mit.edu/www/toms/atchange.html Tom Dr. Thomas D. Schneider National Institutes of Health 240-367-4179 (cell) schneidt at mail.nih.gov toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms (permanent) From juergen.goebel at eads.com Tue Jan 19 06:56:30 2010 From: juergen.goebel at eads.com (Goebel, Juergen) Date: Tue, 19 Jan 2010 06:56:30 +0100 Subject: [texhax] CTAN-ANN: tikz-3dplot Message-ID: Hi, There seems to be a problem with the manual of the tikz-3dplot package: neither AR nor Foxit are able to display it. Does anyone know something about this? Best regards, Juergen -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Tue Jan 19 08:35:00 2010 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 19 Jan 2010 01:35:00 -0600 Subject: [texhax] CTAN-ANN: tikz-3dplot In-Reply-To: References: Message-ID: <5718611C-D6D6-4FDF-999B-148C6949AF04@mac.com> On 18 Jan, 2010, at 23:56, Goebel, Juergen wrote: > Hi, > > There seems to be a problem with the manual of the > tikz-3dplot package: neither AR nor Foxit are able to > display it. Does anyone know something about this? You're right ---I had the same problem with Acrobat 6, Reader 9 and TeXShop's PDF previewer. But I downloaded the bundle from http://tug.ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot/ and re-compiled the documentation without a problem. The original documentation was compiled with MiKTeX, and I re-compiled it with TeXLive 09 on a Mac. I can't find Jeff Hein's address to CC him. Best, Axel From juergen.goebel at eads.com Tue Jan 19 08:52:10 2010 From: juergen.goebel at eads.com (Goebel, Juergen) Date: Tue, 19 Jan 2010 08:52:10 +0100 Subject: [texhax] CTAN-ANN: tikz-3dplot In-Reply-To: <5718611C-D6D6-4FDF-999B-148C6949AF04@mac.com> References: <5718611C-D6D6-4FDF-999B-148C6949AF04@mac.com> Message-ID: Axel E. Retif wrote: > and re-compiled the documentation without a problem. The > original documentation was compiled with MiKTeX, and I > re-compiled it with TeXLive 09 on a Mac. Worked fine (with TeXLive 08). Thanks! Juergen From axel.retif at mac.com Tue Jan 19 08:53:40 2010 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 19 Jan 2010 01:53:40 -0600 Subject: [texhax] Question In-Reply-To: <201001172144.o0HLi10F000549@strawberry.ncifcrf.gov> References: <201001172144.o0HLi10F000549@strawberry.ncifcrf.gov> Message-ID: <1C50D4AC-E2FC-449C-8AB5-6BD56D00F450@mac.com> Tom: > [...] I still don't have a smart pdf reader that updates itself when the file changes TeXShop's previewer does [1], and so does Skim http://skim-app.sourceforge.net/ though the latter will always ask the first time if this is what you want; both update (reload) the PDF whatever the editor you're using (the shell, Emacs...). [1] You can configure it in TeXShop -> Preferences -> Preview tab: under ``External Editor'' check ``Automatic Preview Update''. Also, if you want TeXShop to act always as a previewer only, in the Source tab, under ``On Startup'', check ``Configure for External Editor''. Best, Axel From narkewoody at gmail.com Tue Jan 19 10:09:07 2010 From: narkewoody at gmail.com (Steven Woody) Date: Tue, 19 Jan 2010 17:09:07 +0800 Subject: [texhax] bibliography in beamer Message-ID: Hi, I am using bibliography with beamer class. Below code are directly copied from beamer user guide: \begin{thebibliography}{10} \bibitem{Goldbach1742}[Goldbach, 1742] Christian Goldbach. \newblock A problem we should try to solve before the ISPN ?43 deadline, \newblock \emph{Letter to Leonhard Euler}, 1742. \end{thebibliography} \begin{block}{Open Questions} Is every even number the sum of two primes? \cite{Goldbach1742} \end{block} The problem is the cite appears as [1] but the bibliography doesn't have this index number prefixed. So if my presentation have many bibliograpy items, the reader has to count before they know what is refer to what. How can I improve this? Thanks. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com) From juergen.goebel at eads.com Tue Jan 19 11:03:49 2010 From: juergen.goebel at eads.com (Goebel, Juergen) Date: Tue, 19 Jan 2010 11:03:49 +0100 Subject: [texhax] FW: CTAN-ANN: tikz-3dplot Message-ID: Robin Fairbairns wrote: > you write: > >There seems to be a problem with the manual of the > >tikz-3dplot package: neither AR nor Foxit are able to > >display it. Does anyone know something about this? > > i've found the problem, and mended the copy on ctan. > > it will be on all three central sites by now, but the mirrors will > only get it piecemeal. > > hth (note, i'm not allowed to post to texhax). Thank's a lot, I'm herewith forwarding your mail to texhax. Juergen From toms at ncifcrf.gov Tue Jan 19 15:09:12 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 19 Jan 2010 09:09:12 -0500 (EST) Subject: [texhax] Question In-Reply-To: <1C50D4AC-E2FC-449C-8AB5-6BD56D00F450@mac.com> from "Axel E. Retif" at "Jan 19, 2010 02:53:40 am" Message-ID: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> Axel: > > [...] I still don't have a smart pdf reader that updates itself > > when the file changes I got xpdf and latexmk going, thanks to the author! Works like a charm. > TeXShop's previewer does [1], and so does Skim > > http://skim-app.sourceforge.net/ Ah that's a new one, thanks for pointing it out! > though the latter will always ask the first time if this is what you > want; How obnoxious. Don't people get that it's bad design to ask about things? Put up a message, sure, but don't make the user waste time clicking 'ok' all the time!! > both update (reload) the PDF whatever the editor you're using > (the shell, Emacs...). > > [1] You can configure it in TeXShop -> Preferences -> Preview tab: > under ``External Editor'' check ``Automatic Preview Update''. Also, > if you want TeXShop to act always as a previewer only, in the Source > tab, under ``On Startup'', check ``Configure for External Editor''. I think this should be standard ad not hidden away like that. I can't see why you won't want to always update! Computers should be responsive lively things, not donkeys that pull back on the rope all the time. TeXShop has two things that prevent me from using it: 1. The windows seem tiny and cramped and it wasn't obvious how to resize things or to easily change the font size in the editing window. 2. I can't use my favorite editor (vim) in the editing window, so would have to use up time futzing with the mouse. Perhaps the authors would consider implementing these? Regards, Tom Dr. Thomas D. Schneider National Institutes of Health schneidt at mail.nih.gov toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms (permanent) From will.adams at frycomm.com Tue Jan 19 15:50:13 2010 From: will.adams at frycomm.com (William Adams) Date: Tue, 19 Jan 2010 09:50:13 -0500 Subject: [texhax] Question In-Reply-To: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> Message-ID: <3C8B08EA-F05D-4FC0-97C0-A5FA9BEEBC18@frycomm.com> On Jan 19, 2010, at 9:09 AM, Tom Schneider wrote: > TeXShop has two things that prevent me from using it: > > 1. The windows seem tiny and cramped and it wasn't obvious how to > resize things or to easily change the font size in the editing window. TeXshop | Preferences There're radio buttons which control this behaviour and allow one to set the position of the relevant windows under the Source and Preview tabs. > 2. I can't use my favorite editor (vim) in the editing window, so > would have to use up time futzing with the mouse. TeXshop | Help | Using an External Editor > Perhaps the authors would consider implementing these? Perhaps the user would consider RTFM? William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From will.adams at frycomm.com Tue Jan 19 15:50:13 2010 From: will.adams at frycomm.com (William Adams) Date: Tue, 19 Jan 2010 09:50:13 -0500 Subject: [texhax] Question In-Reply-To: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> Message-ID: <3C8B08EA-F05D-4FC0-97C0-A5FA9BEEBC18@frycomm.com> On Jan 19, 2010, at 9:09 AM, Tom Schneider wrote: > TeXShop has two things that prevent me from using it: > > 1. The windows seem tiny and cramped and it wasn't obvious how to > resize things or to easily change the font size in the editing window. TeXshop | Preferences There're radio buttons which control this behaviour and allow one to set the position of the relevant windows under the Source and Preview tabs. > 2. I can't use my favorite editor (vim) in the editing window, so > would have to use up time futzing with the mouse. TeXshop | Help | Using an External Editor > Perhaps the authors would consider implementing these? Perhaps the user would consider RTFM? William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From toms at ncifcrf.gov Tue Jan 19 17:45:01 2010 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 19 Jan 2010 11:45:01 -0500 (EST) Subject: [texhax] Question In-Reply-To: <3C8B08EA-F05D-4FC0-97C0-A5FA9BEEBC18@frycomm.com> from William Adams at "Jan 19, 2010 09:50:13 am" Message-ID: <201001191645.o0JGj135004641@strawberry.ncifcrf.gov> William: > > TeXShop has two things that prevent me from using it: > > > > 1. The windows seem tiny and cramped and it wasn't obvious how to > > resize things or to easily change the font size in the editing window. > > TeXshop | Preferences > > There're radio buttons which control this behaviour and allow one to > set the position of the relevant windows under the Source and Preview > tabs. Ok, thanks! > > 2. I can't use my favorite editor (vim) in the editing window, so > > would have to use up time futzing with the mouse. > > TeXshop | Help | Using an External Editor > > > Perhaps the authors would consider implementing these? > > Perhaps the user would consider RTFM? No, I never Read The Manual unless absolutely necessary! ;-) I got it to work once I found the right place in the help window. (Is there a way to stop the mac help windows from being obnoxiously on top?) I suggest that the typeset button be default to be in the preview so one doesn't need to customize. I wasn't able to get latexmk to recognize that my file had changed and do the typesetting in TeXshop. Isn't that possible, or did I just miss it? Tom Dr. Thomas D. Schneider National Institutes of Health schneidt at mail.nih.gov toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms (permanent) From bryan.lepore at umassmed.edu Tue Jan 19 19:53:43 2010 From: bryan.lepore at umassmed.edu (Bryan Lepore) Date: Tue, 19 Jan 2010 13:53:43 -0500 Subject: [texhax] Hyperref xcolor citeborder Message-ID: <86DDE556-EE4C-453A-B50C-61E61B3D7150@umassmed.edu> Using texlive 2009, hypercolor citeborder does not take color specifications 0, 1, "blue" - hyperref manual says "0 1 0" - other hyperref colors seem OK - any hints appreciated. -bryan From axel.retif at mac.com Wed Jan 20 00:33:33 2010 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 19 Jan 2010 17:33:33 -0600 Subject: [texhax] Question In-Reply-To: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> Message-ID: <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> Tom, >> [...] >> >> You can configure it in TeXShop -> Preferences -> Preview tab: >> under ``External Editor'' check ``Automatic Preview Update''. Also, >> if you want TeXShop to act always as a previewer only, in the Source >> tab, under ``On Startup'', check ``Configure for External Editor''. > > I think this should be standard ad not hidden away like that. I can't > see why you won't want to always update! Computers should be > responsive lively things, not donkeys that pull back on the rope all > the time. I can't help but quote Knuth: "The TeXbook", p. 9: Computers are good at following instructions, but not at reading your mind. And it is not hidden at all ---it's right there in big letters in Preferences. Now ---TeXShop updates automatically the PDF when you use it's own editor, but it allows you to use its PDF preview part with an external editor: you just have to check that option in its Preferences. > TeXShop has two things that prevent me from using it: > > 1. The windows seem tiny and cramped and it wasn't obvious how to > resize things or to easily change the font size in the editing window. William answered this. > 2. I can't use my favorite editor (vim) in the editing window, so > would have to use up time futzing with the mouse. Of course you can! You can edit in Vim and have TeXShop updating the PDF in the background. I often use both TeXShop and Skim in this way with Emacs. Best, Axel From barr at math.mcgill.ca Wed Jan 20 14:56:58 2010 From: barr at math.mcgill.ca (Michael Barr) Date: Wed, 20 Jan 2010 08:56:58 -0500 (EST) Subject: [texhax] A pdfviewer for windows? In-Reply-To: References: Message-ID: I have read the threads on pdf viewers, but they seem to be all for Unix/Linux or Mac. Of course, the Adobe reader is available for Windows, but it cannot update and in fact you have to exit before rerunning pdf(la)tex or you get a "file in use" error. The yap viewer that comes with Miktex is broken. If you try to reopen the window before the update is finished it hangs up and you must exit and restart, losing your place. And a file might take .5 seconds to recompile and have yap require a minute or more to update and sometimes it doesn't. If you run tex again while it is updating it will inevitably hang. I don't think earlier versions of yap (maybe 2.4 or earlier, current version is 2.8, although I've not used any beyond 2.7) had this problem, while the current version handles a lot more \special{}s than the older ones. Michael Barr From germain.boyer at ac-toulouse.fr Wed Jan 20 15:15:57 2010 From: germain.boyer at ac-toulouse.fr (Germain BOYER) Date: Wed, 20 Jan 2010 15:15:57 +0100 Subject: [texhax] texlive portable Message-ID: Bonjour , On internet i find : to use texworks (or texmaker, winshell, etc..) with texlive portable i need to change the file tl-portable.bat like this : replace the line : "%ComSpec%" /k "title TL-SHELL& prompt TL %prompt%" by the lines : REM "%ComSpec%" /k "title TL-SHELL& prompt TL %prompt%" start "" "%~dp0TeXworks\TeXworks.exe" i do and it's works well. i also test the line : start %~dp0TeXworks\TeXworks.exe and it's works to. what's the difference between the line : start "" "%~dp0TeXworks\TeXworks.exe" and the line start %~dp0TeXworks\TeXworks.exe ? what's better : the first line or the second line ? thanks for your answers and sorry for my bad english. germain.boyer at ac-toulouse.fr 20-01-2010 From will.adams at frycomm.com Wed Jan 20 15:24:18 2010 From: will.adams at frycomm.com (William Adams) Date: Wed, 20 Jan 2010 09:24:18 -0500 Subject: [texhax] A pdfviewer for windows? In-Reply-To: References: Message-ID: On Jan 20, 2010, at 8:56 AM, Michael Barr wrote: > I have read the threads on pdf viewers, but they seem to be all for > Unix/Linux or Mac. Of course, the Adobe reader is available for > Windows, but it cannot update and in fact you have to exit before > rerunning pdf(la)tex or you get a "file in use" error. The yap > viewer that comes with Miktex is broken. If you try to reopen the > window before the update is finished it hangs up and you must exit > and restart, losing your place. And a file might take .5 seconds to > recompile and have yap require a minute or more to update and > sometimes it doesn't. If you run tex again while it is updating it > will inevitably hang. Sumatra PDF works well, or you could use TeXworks. http://blog.kowalczyk.info/software/sumatrapdf/index.html http://www.tug.org/texworks/ William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From elaine.r.firestone at nasa.gov Wed Jan 20 15:29:45 2010 From: elaine.r.firestone at nasa.gov (Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]) Date: Wed, 20 Jan 2010 08:29:45 -0600 Subject: [texhax] BBedit WAS: Question In-Reply-To: <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> Message-ID: Speaking of external editors, we want to use BBedit as ours, but can't seem to find a source for it, i.e., where do you buy it? Anyone know? BTW, I still haven't found out how to make the Bank Gothic font usable in TeXShop, so if anyone's coming in to this late and can help me... Elaine On Jan 19, 2010, at 6:33 PM, Axel E. Retif wrote: > Tom, > >>> [...] >>> >>> You can configure it in TeXShop -> Preferences -> Preview tab: >>> under ``External Editor'' check ``Automatic Preview Update''. Also, >>> if you want TeXShop to act always as a previewer only, in the Source >>> tab, under ``On Startup'', check ``Configure for External Editor''. >> >> I think this should be standard ad not hidden away like that. I can't >> see why you won't want to always update! Computers should be >> responsive lively things, not donkeys that pull back on the rope all >> the time. > > I can't help but quote Knuth: "The TeXbook", p. 9: > > Computers are good at following instructions, but not at reading your mind. > > And it is not hidden at all ---it's right there in big letters in Preferences. > > Now ---TeXShop updates automatically the PDF when you use it's own editor, but it allows you to use its PDF preview part with an external editor: you just have to check that option in its Preferences. > >> TeXShop has two things that prevent me from using it: >> >> 1. The windows seem tiny and cramped and it wasn't obvious how to >> resize things or to easily change the font size in the editing window. > > William answered this. > >> 2. I can't use my favorite editor (vim) in the editing window, so >> would have to use up time futzing with the mouse. > > Of course you can! You can edit in Vim and have TeXShop updating the PDF in the background. I often use both TeXShop and Skim in this way with Emacs. > > Best, > > Axel > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From will.adams at frycomm.com Wed Jan 20 16:05:42 2010 From: will.adams at frycomm.com (William Adams) Date: Wed, 20 Jan 2010 10:05:42 -0500 Subject: [texhax] BBedit WAS: Question In-Reply-To: References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> Message-ID: <1621BE5B-CE45-467A-BEBC-062C56C9761E@frycomm.com> On Jan 20, 2010, at 9:29 AM, Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] wrote: > Speaking of external editors, we want to use BBedit as ours, but > can't seem to find a source for it, i.e., where do you buy it? > Anyone know? http://www.barebones.com > BTW, I still haven't found out how to make the Bank Gothic font > usable in TeXShop, so if anyone's coming in to this late and can > help me... It should work fine if one is willing to use XeTeX (or xelatex). If you want something more configurable, you can: - convert the font to Type 1 (if the license allows this --- if not, buy a license for a Type 1 version) - use fontinst to create all .tex support files - copy all files to appropriate places in the filesystem - refresh the filename database William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From elaine.r.firestone at nasa.gov Wed Jan 20 16:11:20 2010 From: elaine.r.firestone at nasa.gov (Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]) Date: Wed, 20 Jan 2010 09:11:20 -0600 Subject: [texhax] BBedit WAS: Question In-Reply-To: <1621BE5B-CE45-467A-BEBC-062C56C9761E@frycomm.com> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> <1621BE5B-CE45-467A-BEBC-062C56C9761E@frycomm.com> Message-ID: <45CBDD3E-3D72-47A6-8F4A-8F9C6402CC79@nasa.gov> Can't use XeTeX here (don't ask). I have the .afm font metric files for it, as well as the Open Type version of it, but Bitstream doesn't make a Type 1 version of it (it's their font). > > > It should work fine if one is willing to use XeTeX (or xelatex). > > If you want something more configurable, you can: > > - convert the font to Type 1 (if the license allows this --- if not, > buy a license for a Type 1 version) > - use fontinst to create all .tex support files > - copy all files to appropriate places in the filesystem > - refresh the filename database > > William > > -- > William Adams > senior graphic designer > Fry Communications > Sphinx of black quartz, judge my vow. > From P.Taylor at Rhul.Ac.Uk Wed Jan 20 16:31:41 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Wed, 20 Jan 2010 15:31:41 +0000 Subject: [texhax] BBedit WAS: Question In-Reply-To: <45CBDD3E-3D72-47A6-8F4A-8F9C6402CC79@nasa.gov> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> <1621BE5B-CE45-467A-BEBC-062C56C9761E@frycomm.com> <45CBDD3E-3D72-47A6-8F4A-8F9C6402CC79@nasa.gov> Message-ID: <4B5721DD.9030002@Rhul.Ac.Uk> Is this link of any user, Elaine ? http://www.fonts.com/FindFonts/Detail.htm?pid=401189&/cgi-bin/MsmGo.exe?grab_id=0&page_id=41289&query=BANK GOTHIC&SCOPE=Fonts Philip Taylor -------- Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] wrote: > Can't use XeTeX here (don't ask). I have the .afm font metric files for it, as well as the Open Type version of it, but Bitstream doesn't make a Type 1 version of it (it's their font). From elaine.r.firestone at nasa.gov Wed Jan 20 16:40:42 2010 From: elaine.r.firestone at nasa.gov (Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]) Date: Wed, 20 Jan 2010 09:40:42 -0600 Subject: [texhax] BBedit WAS: Question In-Reply-To: <4B5721DD.9030002@Rhul.Ac.Uk> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> <1621BE5B-CE45-467A-BEBC-062C56C9761E@frycomm.com> <45CBDD3E-3D72-47A6-8F4A-8F9C6402CC79@nasa.gov> <4B5721DD.9030002@Rhul.Ac.Uk> Message-ID: <1ABC1C98-F134-4348-B6CB-C65A6063E92D@nasa.gov> Thanks for trying Philip, but these are just another flavor of Bank Gothic with .afm fonts... already have those. What I need is either a version that has the font metric files that Plain TeX can use, or explicit code I can use to convert the font as-is for use in Plain TeX. Elaine On Jan 20, 2010, at 10:31 AM, Philip TAYLOR wrote: > Is this link of any user, Elaine ? > > http://www.fonts.com/FindFonts/Detail.htm?pid=401189&/cgi-bin/MsmGo.exe?grab_id=0&page_id=41289&query=BANK GOTHIC&SCOPE=Fonts > > Philip Taylor > -------- > Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] wrote: >> Can't use XeTeX here (don't ask). I have the .afm font metric files > for it, as well as the Open Type version of it, but Bitstream doesn't > make a Type 1 version of it (it's their font). From will.adams at frycomm.com Wed Jan 20 17:06:49 2010 From: will.adams at frycomm.com (William Adams) Date: Wed, 20 Jan 2010 11:06:49 -0500 Subject: [texhax] BBedit WAS: Question In-Reply-To: <1ABC1C98-F134-4348-B6CB-C65A6063E92D@nasa.gov> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> <1621BE5B-CE45-467A-BEBC-062C56C9761E@frycomm.com> <45CBDD3E-3D72-47A6-8F4A-8F9C6402CC79@nasa.gov> <4B5721DD.9030002@Rhul.Ac.Uk> <1ABC1C98-F134-4348-B6CB-C65A6063E92D@nasa.gov> Message-ID: <9368323E-08F8-49BF-B4D0-26940D71010D@frycomm.com> On Jan 20, 2010, at 10:40 AM, Firestone, Elaine R. (HQ-279.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] wrote: > Thanks for trying Philip, but these are just another flavor of Bank > Gothic with .afm fonts... already have those. What I need is either > a version that has the font metric files that Plain TeX can use, or > explicit code I can use to convert the font as-is for use in Plain > TeX. Okay, if that's all you want, if you have a .pfb: - copy the .pfb into the tex file hieararchy in an appropriate place - run the .afm through afm2tfm to get a .tfm - copy that into an appropriate place - refresh the filename database use the font w/ the command \font filename William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From P.Taylor at Rhul.Ac.Uk Wed Jan 20 17:26:47 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Wed, 20 Jan 2010 16:26:47 +0000 Subject: [texhax] BBedit WAS: Question In-Reply-To: <9368323E-08F8-49BF-B4D0-26940D71010D@frycomm.com> References: <201001191409.o0JE9CNi029746@strawberry.ncifcrf.gov> <3D846BC4-DCF0-44FF-B121-1F98F75D49E4@mac.com> <1621BE5B-CE45-467A-BEBC-062C56C9761E@frycomm.com> <45CBDD3E-3D72-47A6-8F4A-8F9C6402CC79@nasa.gov> <4B5721DD.9030002@Rhul.Ac.Uk> <1ABC1C98-F134-4348-B6CB-C65A6063E92D@nasa.gov> <9368323E-08F8-49BF-B4D0-26940D71010D@frycomm.com> Message-ID: <4B572EC7.1020904@Rhul.Ac.Uk> My understanding was that Elaine did not have the PFBs, whence my suggestion that she might acquire a set from Font.Com ... ** Phil. -------- William Adams wrote: > Okay, if that's all you want, if you have a .pfb: > > - copy the .pfb into the tex file hieararchy in an appropriate place > - run the .afm through afm2tfm to get a .tfm > - copy that into an appropriate place > - refresh the filename database > > use the font w/ the command \font filename > > William > From tug-news at tug.org Wed Jan 20 23:50:37 2010 From: tug-news at tug.org (TeX Users Group) Date: Wed, 20 Jan 2010 22:50:37 GMT Subject: [texhax] Jan 2010 TUG news: conferences, software, TUGboat, interviews Message-ID: <201001202250.o0KMobLR013149@f7.net> Dear TeX users, - First, the upcoming TeX conferences in 2010: Apr 30-May 4 - BachoTeX 2010 (Bachotek, Poland) http://www.gust.org.pl/bachotex/ Jun 28-30 - TUG 2010 (San Francisco, USA) http://tug.org/tug2010/ (With special appearance by Don Knuth and Stanford colleagues.) Aug 25-29 - EuroTeX 2010 (Pisa, Italy) http://www.guit.sssup.it/eurotex2010/ Sep 13-18 - Fourth ConTeXt User Meeting (Brejlov, Czech Republic) http://meeting.contextgarden.net/2010/ - We are soliciting proposals to host the TUG 2011 conference. If you are interested, please see http://tug.org/tug2011. The deadline for proposals is February 1. - The TeX Collection 2009 DVD has been mailed, and should have been received recently by members, barring postal delays. Its components (TeX Live, MacTeX, proTeXt/MiKTeX, CTAN) are also available online. Work on the 2010 software release continues. http://tug.org/texcollection/ - TUGboat 30:3, the EuroTeX 2009 proceedings (a joint issue with MAPS), has gone to the printer and will be mailed shortly. The deadline for the first TUGboat issue in 2010 is March 31, and new articles are very welcome. http://tug.org/TUGboat/ - Recent subjects in the Interview Corner are from the early days of TeX and Metafont: Michael Plass and John Hobby. http://tug.org/interviews/ Karl Berry (President) on behalf of the TUG Board http://www.tug.org/ From ameralkhaladi at yahoo.com Thu Jan 21 04:24:40 2010 From: ameralkhaladi at yahoo.com (Amer Al Khaladi) Date: Wed, 20 Jan 2010 19:24:40 -0800 (PST) Subject: [texhax] (no subject) Message-ID: <743686.74242.qm@web63904.mail.re1.yahoo.com> Dear Prof. Dr. Philip TAYLOR Thank you very much and I am very sorry to trouble you. But? I used ? \documentclass{birkmult} \begin {document} ??? Hallo \end {document} ? and then I used Latex compilation command The result ?did not me obtained the div file ? Sincerely yours, Amer H. H. Al-Khaladi Baquba City, P. O. Box 19, Diyala Province, Republic of Iraq e-mail:ameralkhaladi at yahoo.com ? ? if (typeof YAHOO == "undefined") { YAHOO = {}; } YAHOO.Shortcuts = YAHOO.Shortcuts || {}; YAHOO.Shortcuts.hasSensitiveText = true; YAHOO.Shortcuts.sensitivityType = ["adult"]; YAHOO.Shortcuts.doUlt = false; YAHOO.Shortcuts.location = "us"; YAHOO.Shortcuts.document_id = 0; YAHOO.Shortcuts.document_type = ""; YAHOO.Shortcuts.document_title = "Re: [texhax] Help me"; YAHOO.Shortcuts.document_publish_date = ""; YAHOO.Shortcuts.document_author = "P.Taylor at Rhul.Ac.Uk"; YAHOO.Shortcuts.document_url = ""; YAHOO.Shortcuts.document_tags = ""; YAHOO.Shortcuts.document_language = "english"; YAHOO.Shortcuts.IBTrigger = "false"; YAHOO.Shortcuts.IBCategory = {"category":"entertainment", "score":"-0.624003"}; YAHOO.Shortcuts.annotationSet = { "lw_1263831207_0": { "text": "http://www.latexeditor.org", "extended": 0, "startchar": 275, "endchar": 300, "start": 275, "end": 300, "extendedFrom": "", "predictedCategory": "", "predictionProbability": "0", "weight": 1, "relScore": 0, "type": ["shortcuts:/us/instance/identifier/hyperlink/http"], "category": ["IDENTIFIER"], "wikiId": "", "relatedWikiIds": [], "relatedEntities": [], "showOnClick": [], "context": "beta(build 6501 date 2009/10 24 and MiKTeX 2.8 distribution from http://www.latexeditor.org http://www.latexeditor.org then I used birkmult.zip attached this file with letter", "metaData": { "linkHref": "http://www.latexeditor.org", "linkProtocol": "http", "linkTarget": "_blank", "visible": "true" } }, "lw_1263831207_1": { "text": "http://www.latexeditor.org/", "extended": 0, "startchar": 371, "endchar": 397, "start": 371, "end": 397, "extendedFrom": "", "predictedCategory": "", "predictionProbability": "0", "weight": 1, "relScore": 0, "type": ["shortcuts:/us/instance/identifier/hyperlink/http"], "category": ["IDENTIFIER"], "wikiId": "", "relatedWikiIds": [], "relatedEntities": [], "showOnClick": [], "context": "", "metaData": { "linkHref": "http://www.latexeditor.org/", "linkProtocol": "http", "linkTarget": "_blank", "visible": "true" } } }; YAHOO.Shortcuts.headerID = "a5e5dac0a129351d1600eed5e6c16faf"; -------------- next part -------------- An HTML attachment was scrubbed... URL: From brandon at 301south.net Thu Jan 21 09:31:29 2010 From: brandon at 301south.net (Brandon Kuczenski) Date: Thu, 21 Jan 2010 00:31:29 -0800 (PST) Subject: [texhax] (no subject) In-Reply-To: <743686.74242.qm@web63904.mail.re1.yahoo.com> References: <743686.74242.qm@web63904.mail.re1.yahoo.com> Message-ID: On Wed, 20 Jan 2010, Amer Al Khaladi wrote: > Thank you very much and I am very sorry to trouble you. But? I used > > ? > > \documentclass{birkmult} > \begin {document} > ??? Hallo > \end {document} > > and then I used Latex compilation command > > The result ?did not me obtained the div file Can you show us the output from running the latex command? -Brandon From Susan.Dittmar at gmx.de Thu Jan 21 11:22:36 2010 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Thu, 21 Jan 2010 11:22:36 +0100 Subject: [texhax] (no subject) In-Reply-To: <743686.74242.qm@web63904.mail.re1.yahoo.com> References: <743686.74242.qm@web63904.mail.re1.yahoo.com> Message-ID: <20100121102236.GB32301@eureca.de> Quoting Amer Al Khaladi (ameralkhaladi at yahoo.com): > \documentclass{birkmult} > \begin {document} > Hallo > \end {document} > > The result did not me obtained the div file Perhaps you are really looking, as you write, for a div file. The correct suffix is .dvi (short for 'device independent'). If your source file is called 'test.tex', then the latex run either results in only error messages, explaining that no output is written, or in either a 'test.dvi' file or a 'test.pdf' file, depending on which version of latex you are running and with which settings this version of latex is called. Perhaps that helps, Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From P.Taylor at Rhul.Ac.Uk Thu Jan 21 11:39:04 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Thu, 21 Jan 2010 10:39:04 +0000 Subject: [texhax] (no subject) In-Reply-To: <743686.74242.qm@web63904.mail.re1.yahoo.com> References: <743686.74242.qm@web63904.mail.re1.yahoo.com> Message-ID: <4B582EC8.6030302@Rhul.Ac.Uk> Amer Al Khaladi wrote: > Dear Prof. Dr. Philip TAYLOR > > Thank you very much and I am very sorry to trouble you. But I used > > \documentclass{birkmult} > \begin {document} > Hallo > \end {document} > > and then I used Latex compilation command > > The result did not me obtained the div file OK, understood (I am cc'ing "hh" in Brazil because he was also interested in helping with this). Can you please tell us : 1) Does the LaTeX compilation run without error ? 2) Do you get a PDF file rather than a DVI file ? 3) Can you please send the log file from your LaTeX compilation ? Many thanks in advance : Philip TAYLOR P.S. Neither Professor not Doctor, sadly ! From ameralkhaladi at yahoo.com Thu Jan 21 16:35:00 2010 From: ameralkhaladi at yahoo.com (Amer Al Khaladi) Date: Thu, 21 Jan 2010 07:35:00 -0800 (PST) Subject: [texhax] amer Message-ID: <136499.30768.qm@web63903.mail.re1.yahoo.com> Dear Philip TAYLOR and Brandon Kuczenski After LaTeX compilation command I saw that 21-10-2010? 05:29:52: START "C:\texmf \miktex\bin\Batches\ latex.bat" "C:\ Documents and Settings\bmw\My Documents\LEdProjects" "New.tex" C: This is pdfTex, Version 3.1415926.1.40.10(MiKTeX) Entering extended mode "C:\ Documents and Settings\bmw\My Documents\LEdProjects" "New.tex" LaTex2e <2009/01/24> Bable and hyphenation patterns for English, French, loaded. LaTex Error: Missing \beigen{document} See the LaTex manual or latex companion for explanation Type H for immediate help ? 1-1> ????? \dcumentclass{birkmult} ? ? Sincerely yours, Amer H. H. Al-Khaladi Baquba City, P. O. Box 19, Diyala Province, Republic of Iraq e-mail:ameralkhaladi at yahoo.com ? ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ameralkhaladi at yahoo.com Thu Jan 21 16:39:37 2010 From: ameralkhaladi at yahoo.com (Amer Al Khaladi) Date: Thu, 21 Jan 2010 07:39:37 -0800 (PST) Subject: [texhax] amer Message-ID: <357266.6528.qm@web63904.mail.re1.yahoo.com> Dear Philip TAYLOR and Brandon Kuczenski After LaTeX compilation command I saw that 21-10-2010? 05:29:52: START "C:\texmf \miktex\bin\Batches\ latex.bat" "C:\ Documents and Settings\bmw\My Documents\LEdProjects" "New.tex" C: This is pdfTex, Version 3.1415926.1.40.10(MiKTeX) Entering extended mode "C:\ Documents and Settings\bmw\My Documents\LEdProjects" "New.tex" LaTex2e <2009/01/24> Bable and hyphenation patterns for English, French, loaded. LaTex Error: Missing \beigen{document} See the LaTex manual or latex companion for explanation Type H for immediate help ? 1-1> ????? \dcumentclass{birkmult} ? ? Sincerely yours, Amer H. H. Al-Khaladi Baquba City, P. O. Box 19, Diyala Province, Republic of Iraq e-mail:ameralkhaladi at yahoo.com ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From P.Taylor at Rhul.Ac.Uk Thu Jan 21 16:40:58 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Thu, 21 Jan 2010 15:40:58 +0000 Subject: [texhax] amer In-Reply-To: <136499.30768.qm@web63903.mail.re1.yahoo.com> References: <136499.30768.qm@web63903.mail.re1.yahoo.com> Message-ID: <4B58758A.9080707@Rhul.Ac.Uk> Dear Amer -- There are a lot of what appear to be typing errors in what you report, making it very difficult to identify the real cause of the problem. Do you know how to send the log file as an attachment ? If you do, that will eliminate any confusion caused by the typing errors and will possibly lead to a solution. Philip Taylor -------- Amer Al Khaladi wrote: > Dear Philip TAYLOR and Brandon Kuczenski > > After LaTeX compilation command > > I saw that > > 21-10-2010 05:29:52: START > > "C:\texmf \miktex\bin\Batches\ latex.bat" > > "C:\ Documents and Settings\bmw\My Documents\LEdProjects" "New.tex" C: > > This is pdfTex, Version 3.1415926.1.40.10(MiKTeX) > > Entering extended mode > > "C:\ Documents and Settings\bmw\My Documents\LEdProjects" "New.tex" > > LaTex2e <2009/01/24> > > Bable and hyphenation patterns for English, French, loaded. > > LaTex Error: Missing \beigen{document} > > See the LaTex manual or latex companion for explanation > > Type H for immediate help > > ? > > 1-1> > > \dcumentclass{birkmult} > > ? > > Sincerely yours, > > Amer H. H. Al-Khaladi > > Baquba City, P. O. Box 19, Diyala Province, Republic of Iraq > > e-mail:ameralkhaladi at yahoo.com > > From msemrick at icrcompany.com Wed Jan 20 17:37:39 2010 From: msemrick at icrcompany.com (Mica Semrick) Date: Wed, 20 Jan 2010 08:37:39 -0800 Subject: [texhax] A pdfviewer for windows? In-Reply-To: References: Message-ID: <4B573153.2070203@icrcompany.com> Michael-- On windows you want Sumatra PDF. it works with synctex, and its pretty easy to set up. http://blog.kowalczyk.info/software/sumatrapdf/index.html From julian at ullmann.demon.co.uk Wed Jan 20 17:52:58 2010 From: julian at ullmann.demon.co.uk (Julian Ullmann) Date: Wed, 20 Jan 2010 16:52:58 -0000 Subject: [texhax] TEX collection DVD Message-ID: <8C047074D4E4489B9181EAEE3952289C@cf3x72j> I have been happy with TEX Live on a CD that I bought in 1999, but must now switch to pdfLatex. I therefore bought the 2008 TEX Collection DVD (invoice #20091188) but my Dell system can't read it, even though I have an appropriate DVD decoder. I am working under Windows XP and now intend to download protext.exe from CTAN. Please advise me whether to uninstall all existing TEX Live software before installing protext. I would also be very grateful if you would reassure me that protext includes packages: latexsym, amsmath, a4, graphicx, etc. Thanks and regards, Julian Ullmann -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan_Ohman at glocalnet.net Thu Jan 21 15:09:25 2010 From: Jan_Ohman at glocalnet.net (=?ISO-8859-1?Q?Jan_=D6hman?=) Date: Thu, 21 Jan 2010 15:09:25 +0100 Subject: [texhax] =?iso-8859-1?q?Swedish_-_=E5=E4=F6?= Message-ID: <4B586015.7010203@glocalnet.net> Hello! (I am a new user :-) (hope I signed up to the right mailing list :-)) I have installed "LaTex live" and watching at "pdfLaTeX". I will begin with a problem :-) - Swedish characters ? or ? - A with ring above. ? or ? - A with diaeresis ? or ? - O with diaeresis How do I write / use these letters in pdflatex? //Jan From Jan_Ohman at glocalnet.net Thu Jan 21 16:49:25 2010 From: Jan_Ohman at glocalnet.net (=?ISO-8859-1?Q?Jan_=D6hman?=) Date: Thu, 21 Jan 2010 16:49:25 +0100 Subject: [texhax] =?iso-8859-1?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <4B586015.7010203@glocalnet.net> References: <4B586015.7010203@glocalnet.net> Message-ID: <4B587785.40607@glocalnet.net> Hello! I found an answer, but I don't know if it is the only way :-) (the right way) ? => \aa ? => \AA ? => \"a ? => \"A ? => \"o ? => \"O //Jan Jan ?hman skrev: > Hello! (I am a new user :-) > (hope I signed up to the right mailing list :-)) > > I have installed "LaTex live" and watching at "pdfLaTeX". > > I will begin with a problem :-) - Swedish characters > ? or ? - A with ring above. > ? or ? - A with diaeresis > ? or ? - O with diaeresis > > How do I write / use these letters in pdflatex? > > //Jan > From Jan_Ohman at glocalnet.net Thu Jan 21 16:59:19 2010 From: Jan_Ohman at glocalnet.net (=?ISO-8859-1?Q?Jan_=D6hman?=) Date: Thu, 21 Jan 2010 16:59:19 +0100 Subject: [texhax] LaTeX - Font - Sise - Windows Message-ID: <4B5879D7.5080101@glocalnet.net> Hello again! I'm trying to find how to use different fonts and different font sizes. But can't find information about this. (I test the "LaTeX" - for Windows) How can I solve this? //Jan From axel-freyn at gmx.de Thu Jan 21 17:19:34 2010 From: axel-freyn at gmx.de (Axel Freyn) Date: Thu, 21 Jan 2010 17:19:34 +0100 Subject: [texhax] amer In-Reply-To: <357266.6528.qm@web63904.mail.re1.yahoo.com> References: <357266.6528.qm@web63904.mail.re1.yahoo.com> Message-ID: <20100121161934.GP4159@axel> Dear Amer, I believe, there are some errors introduce by you when copying the output of LaTeX into this mail. Especially: This error > LaTex Error: Missing \beigen{document} should probably read: > LaTex Error: Missing \begin{document} referring to the fact that in your file did not start correctly. The line > ????? \dcumentclass{birkmult} reported by LaTex poses another question: Is this again a copying-mistake introduced when you wrote this mail - or is this the original message? If it is the original message, then the error is a missing "o" in the tex-file. You should have spelled it like: \documentclass{birkmult} With that, the error should dissapear? Axel On Thu, Jan 21, 2010 at 07:39:37AM -0800, Amer Al Khaladi wrote: > Dear Philip TAYLOR and Brandon Kuczenski > After LaTeX compilation command > I saw that > 21-10-2010? 05:29:52: START > "C:\texmf \miktex\bin\Batches\ latex.bat" > "C:\ Documents and Settings\bmw\My Documents\LEdProjects" "New.tex" C: > This is pdfTex, Version 3.1415926.1.40.10(MiKTeX) > Entering extended mode > "C:\ Documents and Settings\bmw\My Documents\LEdProjects" "New.tex" > LaTex2e <2009/01/24> > Bable and hyphenation patterns for English, French, loaded. > LaTex Error: Missing \beigen{document} > See the LaTex manual or latex companion for explanation > Type H for immediate help > ? > 1-1> > ????? \dcumentclass{birkmult} > ? > ? > Sincerely yours, > Amer H. H. Al-Khaladi > Baquba City, P. O. Box 19, Diyala Province, Republic of Iraq > e-mail:ameralkhaladi at yahoo.com From philip.ratcliffe at fastwebnet.it Thu Jan 21 18:21:54 2010 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Thu, 21 Jan 2010 18:21:54 +0100 Subject: [texhax] amer In-Reply-To: <136499.30768.qm@web63903.mail.re1.yahoo.com> Message-ID: > After LaTeX compilation command > I saw that > 21-10-2010 05:29:52: START > "C:\texmf \miktex\bin\Batches\ latex.bat" > "C:\ Documents and Settings\bmw\My Documents\LEdProjects" > "New.tex" C: This is pdfTex, Version > 3.1415926.1.40.10(MiKTeX) Entering extended mode "C:\ > Documents and Settings\bmw\My Documents\LEdProjects" > "New.tex" LaTex2e <2009/01/24> Bable and hyphenation > patterns for English, French, loaded. LaTex Error: Missing > \beigen{document} See the LaTex manual or latex companion for > explanation Type H for immediate help . > 1-1> > \dcumentclass{birkmult} > ? Well, that's still not a faithful copy of the log since there are still typos. However, LaTeX is complaining that it didn't find a \begin{document} statement. This statement must come before anything that will cause output to be printed. So, check carefully that it really is there (and typed correctly) and that you have no statements other than definitions & co. before it. Cheers, Phil From Susan.Dittmar at gmx.de Thu Jan 21 18:34:58 2010 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Thu, 21 Jan 2010 18:34:58 +0100 Subject: [texhax] =?iso-8859-1?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <4B587785.40607@glocalnet.net> References: <4B586015.7010203@glocalnet.net> <4B587785.40607@glocalnet.net> Message-ID: <20100121173458.GE32301@eureca.de> Dear Jan, Quoting Jan ?hman (Jan_Ohman at glocalnet.net): > Hello! > I found an answer, but I don't know if it is the only way :-) > (the right way) > > ? => \aa > ? => \AA > ? => \"a > ? => \"A > ? => \"o > ? => \"O this is an answer, yes, but somehow cumbersome to type. The easier one would be to tell (La)TeX about the font encoding you are using. I am not familiar with the font encoding most popular for swedish language, but I think by reading the documentation about the package inputenc (texdox inputenc) you should find the answer. Additionally, the package babel with option swedish (I guess) probably could be quite helpful. If these hints do not suffice, feel free to ask again. I am quite positive that you will find more detailed help from others. Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Susan.Dittmar at gmx.de Thu Jan 21 18:36:44 2010 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Thu, 21 Jan 2010 18:36:44 +0100 Subject: [texhax] amer In-Reply-To: <136499.30768.qm@web63903.mail.re1.yahoo.com> References: <136499.30768.qm@web63903.mail.re1.yahoo.com> Message-ID: <20100121173644.GF32301@eureca.de> Quoting Amer Al Khaladi (ameralkhaladi at yahoo.com): > ????? \dcumentclass{birkmult} Here's your first typo: You wrote \dcumentclass, but it needs to be \documentclass Yours, Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From bt at phisp.irfu.se Thu Jan 21 19:09:46 2010 From: bt at phisp.irfu.se (Bo Thide') Date: Thu, 21 Jan 2010 19:09:46 +0100 (MET) Subject: [texhax] =?iso-8859-1?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <20100121173458.GE32301@eureca.de> Message-ID: <201001211809.o0LI9ksO013329@phisp.irfu.se> Hi, The solution is \usepackage[latin1]{inputenc} which lets you use ISO latin keyboard entries for the three unique extra vowels "?", "?", and "?" in the Swedish alphabet. Bo In your e-mail of Thu Jan 21 18:34:58 2010 you wrote: > > Dear Jan, > > Quoting Jan =D6hman (Jan_Ohman at glocalnet.net): > > Hello! > > I found an answer, but I don't know if it is the only way :-) > > (the right way) > >=20 > > =E5 =3D> \aa > > =C5 =3D> \AA > > =E4 =3D> \"a > > =C4 =3D> \"A > > =F6 =3D> \"o > > =D6 =3D> \"O > > this is an answer, yes, but somehow cumbersome to type. The easier one > would be to tell (La)TeX about the font encoding you are using. I am not > familiar with the font encoding most popular for swedish language, but I > think by reading the documentation about the package inputenc (texdox > inputenc) you should find the answer. > Additionally, the package babel with option swedish (I guess) probably > could be quite helpful. > > If these hints do not suffice, feel free to ask again. I am quite positive > that you will find more detailed help from others. > > Susan > From axel-freyn at gmx.de Thu Jan 21 19:23:35 2010 From: axel-freyn at gmx.de (Axel Freyn) Date: Thu, 21 Jan 2010 19:23:35 +0100 Subject: [texhax] =?iso-8859-1?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <4B587785.40607@glocalnet.net> References: <4B586015.7010203@glocalnet.net> <4B587785.40607@glocalnet.net> Message-ID: <20100121182316.GA6128@axel> Hello Jan, On Thu, Jan 21, 2010 at 04:49:25PM +0100, Jan ?hman wrote: > I found an answer, but I don't know if it is the only way :-) > (the right way) > > ? => \aa > ? => \AA > ? => \"a > ? => \"A > ? => \"o > ? => \"O yes, that's a possible way. However, there is another, maybe nicer one;-) You can type them directly - and LaTeX and PdfLaTeX will understand them - when you use the package "inputenc". However, there you have to be careful: As the binary values of those characters depend on the file encoding (iso8859-1,latin15,UTF-8,...): - you have to tell LaTeX which encoding you are using (by an parameter to "inputenc": for example, "\usepackage[utf8]{inputenc}" tells him to assume UTF-8 encoding - when you exchange the tex-file by eMail with someone else, the encoding has to be conserved (that SHOULD be the case, however there exist some Mail-programs which don't do it automatically; so at least you should know the problem...) Axel From andree at unm.edu Thu Jan 21 19:25:00 2010 From: andree at unm.edu (Andree Jacobson) Date: Thu, 21 Jan 2010 11:25:00 -0700 Subject: [texhax] =?iso-8859-1?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <20100121173458.GE32301@eureca.de> References: <4B586015.7010203@glocalnet.net> <4B587785.40607@glocalnet.net> <20100121173458.GE32301@eureca.de> Message-ID: <4B589BFC.2060104@unm.edu> I would agree with Susan, the easiest way is to do this: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[swedish]{babel} \begin{document} ?????? \end{document} if utf8 doesn't work you may try to use latin1 instead. There are some good websites on this as well: http://www.ddg.lth.se/perf/handledning/ http://system.csc.kth.se/misc/tex/texintro.pdf http://latexintro.sourceforge.net/ etc, etc... Hope this helps. /Andree Susan Dittmar wrote: > Dear Jan, > > Quoting Jan ?hman (Jan_Ohman at glocalnet.net): >> Hello! >> I found an answer, but I don't know if it is the only way :-) >> (the right way) >> >> ? => \aa >> ? => \AA >> ? => \"a >> ? => \"A >> ? => \"o >> ? => \"O > > this is an answer, yes, but somehow cumbersome to type. The easier one > would be to tell (La)TeX about the font encoding you are using. I am not > familiar with the font encoding most popular for swedish language, but I > think by reading the documentation about the package inputenc (texdox > inputenc) you should find the answer. > Additionally, the package babel with option swedish (I guess) probably > could be quite helpful. > > If these hints do not suffice, feel free to ask again. I am quite positive > that you will find more detailed help from others. > > Susan > > > ------------------------------------------------------------------------ > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From Jan_Ohman at glocalnet.net Thu Jan 21 20:06:50 2010 From: Jan_Ohman at glocalnet.net (=?windows-1252?Q?Jan_=D6hman?=) Date: Thu, 21 Jan 2010 20:06:50 +0100 Subject: [texhax] =?windows-1252?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <728A3DCD-EA82-44DE-98A8-8AF059E2A2C1@philosophy.su.se> References: <4B586015.7010203@glocalnet.net> <4B587785.40607@glocalnet.net> <728A3DCD-EA82-44DE-98A8-8AF059E2A2C1@philosophy.su.se> Message-ID: <4B58A5CA.1080702@glocalnet.net> Thank you (every one)! This solution feels good :-) and works for me \usepackage[swedish]{babel} \usepackage[utf8]{inputenc} / Jan Kul att f? svar av n?gon som kunde svenska :-) Peter Pagin skrev: > Hej Jan, > s?tt in > > \usepackage[utf8]{inputenc} > > i preamble, och skriv sedan svenska tecken som vanligt. > > h?lsningar > Peter > > > On 21 jan 2010, at 16.49, Jan ?hman wrote: > >> Hello! >> I found an answer, but I don't know if it is the only way :-) >> (the right way) >> >> ? => \aa >> ? => \AA >> ? => \"a >> ? => \"A >> ? => \"o >> ? => \"O >> >> //Jan >> >> Jan ?hman skrev: >>> Hello! (I am a new user :-) >>> (hope I signed up to the right mailing list :-)) >>> >>> I have installed "LaTex live" and watching at "pdfLaTeX". >>> >>> I will begin with a problem :-) - Swedish characters >>> ? or ? - A with ring above. >>> ? or ? - A with diaeresis >>> ? or ? - O with diaeresis >>> >>> How do I write / use these letters in pdflatex? >>> >>> //Jan >>> >> >> _______________________________________________ >> 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 >> > > > -------------------- > Peter Pagin > Fellow at Institut d??tudes Avanc?es, IEA-Paris / Visiting researcher > at Institut Jean-Nicod > Professor > Department of Philosophy, Stockholm University > 106 91 Stockholm, Sweden > tel: +46-8-162813, fax: +46-8-152226 > email: peter.pagin at philosophy.su.se > http://people.su.se/~ppagin/pagineng.htm > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbill.lam at gmail.com Fri Jan 22 00:44:48 2010 From: cbill.lam at gmail.com (bill lam) Date: Fri, 22 Jan 2010 07:44:48 +0800 Subject: [texhax] =?iso-8859-1?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <4B589BFC.2060104@unm.edu> References: <4B586015.7010203@glocalnet.net> <4B587785.40607@glocalnet.net> <20100121173458.GE32301@eureca.de> <4B589BFC.2060104@unm.edu> Message-ID: <20100121234448.GA16196@debian.b2j> ?a?, 21 Jan 2010, Andree Jacobson skribis: > I would agree with Susan, the easiest way is to do this: > > \documentclass[a4paper]{article} > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > \usepackage[swedish]{babel} > \begin{document} > ?????? > \end{document} > > if utf8 doesn't work you may try to use latin1 instead. > > There are some good websites on this as well: > http://www.ddg.lth.se/perf/handledning/ > http://system.csc.kth.se/misc/tex/texintro.pdf > http://latexintro.sourceforge.net/ > > etc, etc... Sorry for interjection. How to do that in plain tex? -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 From axel.retif at mac.com Fri Jan 22 01:55:18 2010 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 21 Jan 2010 18:55:18 -0600 Subject: [texhax] =?windows-1252?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <4B58A5CA.1080702@glocalnet.net> References: <4B586015.7010203@glocalnet.net> <4B587785.40607@glocalnet.net> <728A3DCD-EA82-44DE-98A8-8AF059E2A2C1@philosophy.su.se> <4B58A5CA.1080702@glocalnet.net> Message-ID: <89AAE6BB-619F-49B2-AA3D-52EFC5A857AE@mac.com> On 21 Jan, 2010, at 13:06, Jan ?hman wrote: > Thank you (every one)! > > This solution feels good :-) > and works for me > \usepackage[swedish]{babel} > \usepackage[utf8]{inputenc} Don't forget about \usepackage[T1]{fontenc} that Andree recommended ---as I was taught years ago in the TeX on Mac OS X mailing list, it helps a lot with the hyphenation of accented words. Besides the books recommended to you in another list, see this page in the TeX Users Group: http://www.tug.org/begin.html (And, by the way, "A Guide to LaTeX" was a turning point for me ---now "The LaTeX Companion" is my main reference, but I learnt LaTeX with Kopka & Daly's book. Also, though not mentioned in the above list, "Math into LaTeX" ---now "More Math Into LaTeX"---, by George Gr?tzer, has been very useful.) India's TeX User Group has excellent on-line manuals as well: http://www.tug.org.in/tutorials.html I see you decided for utf8 as your input encoding ---I think it's the best. But you should be aware that your (La)TeX editor has to know that you're using that encoding ---that is, there has to be a correspondence between how you input your characters into your editor and what you tell LaTeX to use. The cross-platform editors I know of, namely, TeXworks http://www.tug.org/texworks/ and TeXmaker http://www.xm1math.net/texmaker/ use UTF-8 by default. If you want to use another encoding ---say, latin1---, you have to tell *both* LaTeX *and* your editor to use that encoding. Best, Axel From mr_heller at yahoo.dk Fri Jan 22 02:15:08 2010 From: mr_heller at yahoo.dk (Martin Heller) Date: Fri, 22 Jan 2010 02:15:08 +0100 Subject: [texhax] LaTeX - Font - Sise - Windows In-Reply-To: <4B5879D7.5080101@glocalnet.net> References: <4B5879D7.5080101@glocalnet.net> Message-ID: Jan ?hman wrote: > I'm trying to find how to use different fonts > and different font sizes. From ronaldo at ccet.ufrn.br Thu Jan 21 19:00:46 2010 From: ronaldo at ccet.ufrn.br (Ronaldo Freire de Lima) Date: Thu, 21 Jan 2010 15:00:46 -0300 Subject: [texhax] Trouble Indexing Message-ID: <20100121175629.M48848@ccet.ufrn.br> Hi !! I would appreciate very much if you could help me with the following problem I've be facing: I'm writing? a book (documentstyle amsbook) and I'm using the makeidx package for? indexing. However, when I try to compile the file I get the following? message:? ? ("C:\Program Files\miKTeX 2.71\tex\latex\base\makeidx.sty"? ! LaTeX Error: Command \see already defined.? ? Or name \end... illegal, see p.192 of the manual.? ? See the LaTeX manual or LaTeX Companion for explanation.? ? Type H for immediate help.? ? l.41 \newcommand*\see[2]{\emph{\seename} #1}? ? ?? ? How could I solve it?? ? Thanks in advance? Sincerely? Ronaldo Lima -------------- next part -------------- An HTML attachment was scrubbed... URL: From talich at gmail.com Fri Jan 22 00:19:54 2010 From: talich at gmail.com (Jianping Hua) Date: Thu, 21 Jan 2010 16:19:54 -0700 Subject: [texhax] grffile and xeTex question Message-ID: <8f5cc5c01001211519y766cb7c5ifd621623202dbc34@mail.gmail.com> I've using the grffile package with xeTex for sometime with no problem. I recently upgrade my MacTex to Tex Live 2009 version. Then grffile no longer works with xeTex. Here is a simple example tex file: \documentclass[letterpaper]{article} \usepackage[]{graphicx} \usepackage{grffile} \begin{document} \begin{figure}[ht] \begin{center} \includegraphics[scale=0.5]{fig2.png} \end{center} \end{figure} \end{document} While compiling, I got the following error/warning: ! Undefined control sequence. \grffile at IfFileExists ...andafter \\\pdf at filesize {#1}\\\let \reserved at a \@s... l.9 \includegraphics[scale=0.5]{fig2.png} For this case, the compilation went through. However if I have an image file that really need grffile functionality, error instead of warning appears. Since both xeTex and grffile were updated, I'm not sure whether it's because the new xeTex or new grffile package I had this problem. When I switched back to 2008 version, everything was just fine. I search the web and see no one asked this question. So I'm not sure whether this is a real problem. Jianping From ameralkhaladi at yahoo.com Fri Jan 22 17:18:22 2010 From: ameralkhaladi at yahoo.com (Amer Al Khaladi) Date: Fri, 22 Jan 2010 08:18:22 -0800 (PST) Subject: [texhax] AMER Message-ID: <222536.8635.qm@web63907.mail.re1.yahoo.com> Dears? Philip G. Ratcliffe, Axel Freyn, Philip TAYLOR, Susan Dittmar ? After I printed ? \documentclass{birkmult} \begin{document} Hello \end{document} ? and then I used Latex compilation command The result was ? LaTeX Error: File `birkmult.cls` not found Type X to quit or To proceed, or enter new name.(Default extension : cls) ? On the other hand? Application001 did not open. Sincerely yours, Amer -------------- next part -------------- An HTML attachment was scrubbed... URL: From P.Taylor at Rhul.Ac.Uk Fri Jan 22 17:20:17 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Fri, 22 Jan 2010 16:20:17 +0000 Subject: [texhax] AMER In-Reply-To: <222536.8635.qm@web63907.mail.re1.yahoo.com> References: <222536.8635.qm@web63907.mail.re1.yahoo.com> Message-ID: <4B59D041.5070709@Rhul.Ac.Uk> Then it is probable that you have not unpacked "birkmult.zip" either into your current working directory or into another place where LaTeX can be expected to find class files. Philip Taylor -------- Amer Al Khaladi wrote: > Dears Philip G. Ratcliffe, Axel Freyn, Philip TAYLOR, Susan Dittmar > > After I printed > > \documentclass{birkmult} > > \begin{document} > > Hello > > \end{document} > > and then I used Latex compilation command > > The result was > > LaTeX Error: File `birkmult.cls` not found > > Type X to quit or > > To proceed, or enter new name.(Default extension : cls) > > On the other hand Application001 did not open. > > Sincerely yours, > > Amer > > From ameralkhaladi at yahoo.com Fri Jan 22 17:21:35 2010 From: ameralkhaladi at yahoo.com (Amer Al Khaladi) Date: Fri, 22 Jan 2010 08:21:35 -0800 (PST) Subject: [texhax] AMER Message-ID: <787117.2330.qm@web63903.mail.re1.yahoo.com> Dears? Philip G. Ratcliffe, Axel Freyn, Philip TAYLOR, Susan Dittmar ? After I printed ? \documentclass{birkmult} \begin{document} Hello \end{document} ? and then I used Latex compilation command The result was ? LaTeX Error: File `birkmult.cls` not found Type X to quit or To proceed, or enter new name.(Default extension : cls) ? On the other hand? Application001 did not open. Sincerely yours, Amer -------------- next part -------------- An HTML attachment was scrubbed... URL: From bnb at ams.org Fri Jan 22 17:34:56 2010 From: bnb at ams.org (Barbara Beeton) Date: Fri, 22 Jan 2010 11:34:56 -0500 (EST) Subject: [texhax] Trouble Indexing Message-ID: ronaldo, the ams document classes (amsbook, amsart and amsproc) already incorporate all the necessary facilities for indexing, so you should not \usepackage{makeidx} this is documented, though perhaps not as clearly as it should be. i have made a note that the documentation needs to be improved the next time we update. there is one inconsistency that you should be aware of ... the command \see was unfortunately defined to produce "see also"; because these document classes had been used extensively before that was reported, a new command, \seeonly , was defined to produce the simple "see". -- bb ---------- Forwarded message ---------- Date: Thu, 21 Jan 2010 15:00:46 -0300 From: Ronaldo Freire de Lima To: support at tug.org Subject: [texhax] Trouble Indexing Hi !! I would appreciate very much if you could help me with the following problem I've be facing: I'm writing a book (documentstyle amsbook) and I'm using the makeidx package for indexing. However, when I try to compile the file I get the following message: ("C:\Program Files\miKTeX 2.71\tex\latex\base\makeidx.sty" ! LaTeX Error: Command \see already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. l.41 \newcommand*\see[2]{\emph{\seename} #1} ? How could I solve it? Thanks in advance Sincerely Ronaldo Lima From martin at oneiros.de Sat Jan 23 02:25:22 2010 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Sat, 23 Jan 2010 02:25:22 +0100 Subject: [texhax] =?iso-8859-1?q?Swedish_-_=E5=E4=F6?= In-Reply-To: <20100121234448.GA16196@debian.b2j> References: <4B586015.7010203@glocalnet.net> <4B587785.40607@glocalnet.net> <20100121173458.GE32301@eureca.de> <4B589BFC.2060104@unm.edu> <20100121234448.GA16196@debian.b2j> Message-ID: <68c491a61001221725g630ad296s306ef1cf1e0b8f8e@mail.gmail.com> 2010/1/22 bill lam : > Sorry for interjection. How to do that in plain tex? plain is the format Donald Knuth uses for his books. He writes english. Why do you use it? utf8 and T1 are hard there. Best Martin From backer at psych.uib.no Sat Jan 23 09:22:04 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sat, 23 Jan 2010 09:22:04 +0100 Subject: [texhax] MikTex 2.8 and Windows 2.8 Message-ID: <4B5AB1AC.6070409@psych.uib.no> I wonder if there is an issue in some way or another with the combination above, in a slightly complex situation. I use a MacBook Pro with the latest operating system. On this machine I have a Paralells virtual machine with Windows 7 installed and updated. When downloading and running a Basic Miktex 2.8 installer I always get an error somewhere in the process and not in the same place. I have tried downloading the installer from several different sites with the same effect. Any suggestions on where the error might be? Tom From eduardo at kalinowski.com.br Sat Jan 23 13:43:38 2010 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sat, 23 Jan 2010 10:43:38 -0200 Subject: [texhax] =?iso-8859-1?q?Defining_math_operator_with_=ED_in_its_te?= =?iso-8859-1?q?xt?= Message-ID: <4B5AEEFA.9080105@kalinowski.com.br> In Portuguese, the operators "min" and "max" should actually be written "m?n" and "m?x" because the full words have accents in those letters. So I redefine them with something like \renewcommand{\max}{\mathop{\operator at font m\acute{a}x}} And for max everything works. However, for min a problem arises. I cannot use \acute{i} because that puts the accent over the dot and the result is very ugly. Using \acute{\i} triggers the warning "Command \i invalid in math mode" and I get an accented german sharp-s. \imath instead of \i also does not work, because I get an italic i. Using m\'{\i}n or just m?n I get the expected result. However, in my document I get a warning "Command \' invalid in math mode" is issued. It seems to be harmless, but I'd like to eliminate the warning if possible. In the minimal document below, it became an error. One way to avoid that is using \renewcommand{\min}{\mathop{\operator at font \text{m?n}}} But it seems somewhat hackish, so I wonder if there is a better solution. \documentclass{article} \makeatletter \renewcommand{\min}{\mathop{\operator at font m\'{\i}n}} \makeatother \begin{document} $\min$ \end{document} -- BOFH excuse #233: TCP/IP UDP alarm threshold is set too low. Eduardo M KALINOWSKI eduardo at kalinowski.com.br From daleif at imf.au.dk Sat Jan 23 13:59:16 2010 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 23 Jan 2010 13:59:16 +0100 Subject: [texhax] =?iso-8859-1?q?Defining_math_operator_with_=ED_in_its_te?= =?iso-8859-1?q?xt?= In-Reply-To: <4B5AEEFA.9080105@kalinowski.com.br> References: <4B5AEEFA.9080105@kalinowski.com.br> Message-ID: <4B5AF2A4.1050306@imf.au.dk> Eduardo M KALINOWSKI wrote: > In Portuguese, the operators "min" and "max" should actually be > written "m?n" and "m?x" because the full words have accents in those > letters. So I redefine them with something like > > \renewcommand{\max}{\mathop{\operator at font m\acute{a}x}} > > And for max everything works. > > However, for min a problem arises. I cannot use \acute{i} because that > puts the accent over the dot and the result is very ugly. Using > \acute{\i} triggers the warning "Command \i invalid in math mode" and I > get an accented german sharp-s. \imath instead of \i also does not work, > because I get an italic i. > > Using m\'{\i}n or just m?n I get the expected result. However, in my > document I get a warning "Command \' invalid in math mode" is issued. It > seems to be harmless, but I'd like to eliminate the warning if possible. > In the minimal document below, it became an error. > > One way to avoid that is using > > \renewcommand{\min}{\mathop{\operator at font \text{m?n}}} > > But it seems somewhat hackish, so I wonder if there is a better solution. > > > > \documentclass{article} > > \makeatletter > \renewcommand{\min}{\mathop{\operator at font m\'{\i}n}} > \makeatother > > \begin{document} > > $\min$ > > \end{document} > I usually just cheat \DeclareMathOperator*\min{\textup{m\'in}} (asuming amsmath, but that asumes that the operatorfont is the same as the text font. \text is not a good idea because it is italic inside an italic context, thus \textup is better. /daleif From bnb at ams.org Sat Jan 23 16:17:22 2010 From: bnb at ams.org (Barbara Beeton) Date: Sat, 23 Jan 2010 10:17:22 -0500 (EST) Subject: [texhax] =?iso-8859-1?q?Defining_math_operator_with_=ED_in_its_te?= =?iso-8859-1?q?xt?= In-Reply-To: <4B5AF2A4.1050306@imf.au.dk> References: <4B5AEEFA.9080105@kalinowski.com.br> <4B5AF2A4.1050306@imf.au.dk> Message-ID: On Sat, 23 Jan 2010, Lars Madsen wrote: Eduardo M KALINOWSKI wrote: > In Portuguese, the operators "min" and "max" should actually be > written "m?n" and "m?x" because the full words have accents in those > letters. So I redefine them with something like > > \renewcommand{\max}{\mathop{\operator at font m\acute{a}x}} > > And for max everything works. > > However, for min a problem arises. I cannot use \acute{i} because that > puts the accent over the dot and the result is very ugly. Using \acute{\i} > triggers the warning "Command \i invalid in math mode" and I get an > accented german sharp-s. \imath instead of \i also does not work, because > I get an italic i. > > Using m\'{\i}n or just m?n I get the expected result. However, in my > document I get a warning "Command \' invalid in math mode" is issued. It > seems to be harmless, but I'd like to eliminate the warning if possible. > In the minimal document below, it became an error. > > One way to avoid that is using > > \renewcommand{\min}{\mathop{\operator at font \text{m?n}}} > > But it seems somewhat hackish, so I wonder if there is a better solution. > > > > \documentclass{article} > > \makeatletter > \renewcommand{\min}{\mathop{\operator at font m\'{\i}n}} > \makeatother > > \begin{document} > > $\min$ > > \end{document} I usually just cheat \DeclareMathOperator*\min{\textup{m\'in}} (asuming amsmath, but that asumes that the operatorfont is the same as the text font. \text is not a good idea because it is italic inside an italic context, thus \textup is better. that's good as far as it goes, but you'll get the message that \min is already defined. you have to undefine it first. this works: \makeatletter \let\min\@undefined \makeatother there has been a request re amsmath to provide a command \RedeclareMathOperator. we will consider that for the next update. -- bb From backer at psych.uib.no Sat Jan 23 16:27:26 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sat, 23 Jan 2010 16:27:26 +0100 Subject: [texhax] MikTex 2.8 and Windows 2.8 In-Reply-To: <4B5AB1AC.6070409@psych.uib.no> References: <4B5AB1AC.6070409@psych.uib.no> Message-ID: <4B5B155E.2050500@psych.uib.no> I sj\hold read proof on my own question. It is of course Windows 7. Tom Tom Backer Johnsen wrote: > I wonder if there is an issue in some way or another with the > combination above, in a slightly complex situation. I use a MacBook > Pro with the latest operating system. On this machine I have a > Paralells virtual machine with Windows 7 installed and updated. When > downloading and running a Basic Miktex 2.8 installer I always get an > error somewhere in the process and not in the same place. I have > tried downloading the installer from several different sites with the > same effect. > Any suggestions on where the error might be? > Tom > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From daleif at imf.au.dk Sat Jan 23 17:33:04 2010 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 23 Jan 2010 17:33:04 +0100 Subject: [texhax] =?iso-8859-1?q?Defining_math_operator_with_=ED_in_its_te?= =?iso-8859-1?q?xt?= In-Reply-To: References: <4B5AEEFA.9080105@kalinowski.com.br> <4B5AF2A4.1050306@imf.au.dk> Message-ID: <4B5B24C0.7060609@imf.au.dk> Barbara Beeton wrote: > On Sat, 23 Jan 2010, Lars Madsen wrote: > > Eduardo M KALINOWSKI wrote: > > In Portuguese, the operators "min" and "max" should actually be > > written "m?n" and "m?x" because the full words have accents in those > > letters. So I redefine them with something like > > > > \renewcommand{\max}{\mathop{\operator at font m\acute{a}x}} > > > > And for max everything works. > > > > However, for min a problem arises. I cannot use \acute{i} because that > > puts the accent over the dot and the result is very ugly. Using \acute{\i} > > triggers the warning "Command \i invalid in math mode" and I get an > > accented german sharp-s. \imath instead of \i also does not work, because > > I get an italic i. > > > > Using m\'{\i}n or just m?n I get the expected result. However, in my > > document I get a warning "Command \' invalid in math mode" is issued. It > > seems to be harmless, but I'd like to eliminate the warning if possible. > > In the minimal document below, it became an error. > > > > One way to avoid that is using > > > > \renewcommand{\min}{\mathop{\operator at font \text{m?n}}} > > > > But it seems somewhat hackish, so I wonder if there is a better solution. > > > > > > > > \documentclass{article} > > > > \makeatletter > > \renewcommand{\min}{\mathop{\operator at font m\'{\i}n}} > > \makeatother > > > > \begin{document} > > > > $\min$ > > > > \end{document} > > I usually just cheat \DeclareMathOperator*\min{\textup{m\'in}} (asuming > amsmath, but that asumes that the operatorfont is the same as the text font. > > \text is not a good idea because it is italic inside an italic context, > thus \textup is better. > > that's good as far as it goes, but you'll get the > message that \min is already defined. you have > to undefine it first. this works: > > \makeatletter > \let\min\@undefined > \makeatother > > there has been a request re amsmath to provide > a command \RedeclareMathOperator. we will > consider that for the next update. > -- bb ahh, yes forgot about that, I've even mentioned that in my own LaTeX book. As far as I know it is enough with \let\min\relax (saves a bit of typing) Perhaps \reDeclareMathOperator should be added to mathtools /daleif From reinhard.kotucha at web.de Sun Jan 24 00:49:21 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 24 Jan 2010 00:49:21 +0100 Subject: [texhax] MikTex 2.8 and Windows 2.8 In-Reply-To: <4B5B155E.2050500@psych.uib.no> References: <4B5AB1AC.6070409@psych.uib.no> <4B5B155E.2050500@psych.uib.no> Message-ID: <19291.35585.554926.461924@zaphod.ms25.net> On 23 January 2010 Tom Backer Johnsen wrote: > I sj\hold read proof on my own question. It is of course Windows 7. > > Tom > > Tom Backer Johnsen wrote: >> I wonder if there is an issue in some way or another with the >> combination above, in a slightly complex situation. I use a MacBook >> Pro with the latest operating system. On this machine I have a >> Paralells virtual machine with Windows 7 installed and updated. When >> downloading and running a Basic Miktex 2.8 installer I always get an >> error somewhere in the process and not in the same place. I have >> tried downloading the installer from several different sites with the >> same effect. >> Any suggestions on where the error might be? With the information you provide we can only guess. Phrases like "I always get an error somewhere in the process..." are not very helpful. Many error messages on Windows are indeed incomprehensible. But if you don't understand them yourself, please post them to the list. For the Windows experts on the mailing list, they *are* helpful. 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 vsc at cnsp.com Sun Jan 24 01:53:48 2010 From: vsc at cnsp.com (William Lee Valentine) Date: Sat, 23 Jan 2010 17:53:48 -0700 Subject: [texhax] TeX Collection Message-ID: <4B5B9A1C.6030103@cnsp.com> Saturday, 23 January 2010 Messieurs et Mesdames: I am a member of TUG. I received today my TeX Collection DVD from October 2009. I have installed Protext and MiKTeX, on my machines, from last year's disc. I was hoping that this year's distribution would update the one that I have in place. My machines run Windows 2000 and various distributions of Linux; but I have not settled on a Linux distribution to use as my primary computing vehicle. I therefore attempted to install Protext under Windows 2000 as I did last year. The TeX Collection disc has an autorun.inf file in the root directory, so Windows 2000 attempted to execute the same when I placed the disc in my DVD writer. The .inf file instructs Windows to execute R:/setup/TeXCollection.exe where R: is the drive letter for my DVD writer. (I here use slashes where Windows would itself use backslashes.) Windows ran this program. An error message appeared indicating that the file R:/setup/TeXCollection.exe.log could not be created. Evidently the program TeXCollection.exe attempts to create a log file when it executes. It apparently tries to create that file in the directory or folder from which the program was executed. Since the DVD is a read-only medium, that effort will always fail, as it did for me. Two options would seem to be available for allowing TeXCollection.exe to run from its DVD and to create files as needed. (1) Ask the user to specify a directory or folder where files can be created (as, a directory or folder for temporary files). The log file in question, and any other temporary files that may be required for successful execution (as, for the expansion of compressed files), could then be opened in the directory or folder so referenced. (2) Copy TeXCollection.exe to a read/write directory or folder, so that it can create temporary files as needed. I did this, copying the program to a directory that had available about 300 megabytes of storage. Execution failed again, as, evidently, the program looks for the auxiliary file python25.dll in the directory from which the program had been executed. I copied python25.dll into the directory where I had copied TeXCollection.exe and reexecuted the latter. The program now failed with the following set of error messages. L:\tmp\texclctn\TeXCollection.exe.log Traceback (most recent call last): File "TeXCollection.py", line 5, in File "zipextimporter.pyc", line 82, in load_module File "wx\__init__.pyc", line 45, in File "zipextimporter.pyc", line 82, in load_module File "wx_core.pyc", line 4, in File "zipextimporter.pyc", line 98, in load_module ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd I hope that this information will enable you to supply users with an alternate set of instructions for getting TeXCollection.exe to run, at least under Windows 2000. -- William Lee Valentine From bnb at ams.org Sun Jan 24 19:34:06 2010 From: bnb at ams.org (Barbara Beeton) Date: Sun, 24 Jan 2010 13:34:06 -0500 (EST) Subject: [texhax] Trouble Indexing Message-ID: dear ronaldo, Thanks for your message. So, if I got it right, I can't compile the document because of the inconsistency you mentioned. So, how do I solve it? no, that's not it at all. simply omit \usepackage{makeidx} and insert \makeindex and your \index{...} terms as you would if you used the package. amsbook already contains the code to support the index, so you will get an .idx file to be run through makeindex. put \printindex in the usual place, and the resulting index will be in the proper ams style. the style is why the indexing support is in the ams document classes; indexes are a usual component of books published by ams. -- bb ---------- Original Message ----------- From: Barbara Beeton To: Ronaldo Freire de Lima Cc: texhax at tug.org Sent: Fri, 22 Jan 2010 11:34:56 -0500 (EST) Subject: re: [texhax] Trouble Indexing > ronaldo, > the ams document classes (amsbook, amsart > and amsproc) already incorporate all the > necessary facilities for indexing, so you > should not > ? \usepackage{makeidx} > > this is documented, though perhaps not as > clearly as it should be. ?i have made a > note that the documentation needs to be > improved the next time we update. > > there is one inconsistency that you should > be aware of ... the command \see was > unfortunately defined to produce "see also"; > because these document classes had been > used extensively before that was reported, > a new command, \seeonly , was defined to > produce the simple "see". > ???? ???? ???? ? ??? ???? ????-- bb > > ---------- Forwarded message ---------- > Date: Thu, 21 Jan 2010 15:00:46 -0300 > From: Ronaldo Freire de Lima > To: support at tug.org > Subject: [texhax] Trouble Indexing > > Hi !! > > I would appreciate very much if you could help me with the following problem I've be facing: > > I'm writing a book (documentstyle amsbook) and I'm using the makeidx package for indexing. However, when I try to compile the file I get the following message: > > ?("C:\Program Files\miKTeX 2.71\tex\latex\base\makeidx.sty" > > ! LaTeX Error: Command \see already defined. > > ?Or name \end... illegal, see p.192 of the manual. > > ?See the LaTeX manual or LaTeX Companion for explanation. > > ?Type H for immediate help. > > ?l.41 \newcommand*\see[2]{\emph{\seename} #1} > > ?? > > ?How could I solve it? > > ?Thanks in advance > Sincerely > ?Ronaldo Lima ------- End of Original Message ------- From vafa at users.berlios.de Mon Jan 25 08:36:53 2010 From: vafa at users.berlios.de (Vafa Khalighi) Date: Mon, 25 Jan 2010 18:36:53 +1100 Subject: [texhax] alphabets in maths and \mathbf Message-ID: I am writing a package for a maths font. Is there anyway that you can just change the font of digits in \mathbf and not the font of aphabets inside \mathbf. To be more clear, if Isay \DeclareMathAlphabet {\mathbf}{OT1}{cmr}{bx}{n} It will both changes the font of digits and the font of alphabets inside \mathbf command. But I just would like to change the font of digits and not the font of alphabets. Is there any way to achieve this? Thanks -- Best wishes, Vafa Khalighi -------------- next part -------------- An HTML attachment was scrubbed... URL: From H.vanBeijeren at uu.nl Sun Jan 24 21:17:08 2010 From: H.vanBeijeren at uu.nl (Beijeren, H. van) Date: Sun, 24 Jan 2010 21:17:08 +0100 Subject: [texhax] FW: problems with installing References: <6627D1EEF5716C45BD4D634E03692A0E02CC62@uu01msg-exb05.soliscom.uu.nl> Message-ID: <6627D1EEF5716C45BD4D634E03692A0E30D260@uu01msg-exb05.soliscom.uu.nl> ________________________________ From: Sent: Thu 6/4/2009 9:03 PM Subject: problems with installing Dear Protext team members, Trying to install Protext from the pdf-file I downloaded from your website I ran into the troubles described in the enclosed log-file. It would be very kind if you could advise me what to do about it. I tried closing all other applications, but the error occurred at exactly the same spot. Hoping to hear from you, with kind regards, Henk van Beijeren -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: setup-2009-06-04-20-51-protext,logfile.txt URL: From borisv at lk.net Mon Jan 25 15:44:14 2010 From: borisv at lk.net (Boris Veytsman) Date: Mon, 25 Jan 2010 09:44:14 -0500 Subject: [texhax] alphabets in maths and \mathbf In-Reply-To: (message from Vafa Khalighi on Mon, 25 Jan 2010 18:36:53 +1100) References: Message-ID: <201001251444.o0PEiEGJ021545@bilbo.localnet> VK> Date: Mon, 25 Jan 2010 18:36:53 +1100 VK> From: Vafa Khalighi VK> I am writing a package for a maths font. Is there anyway that you can just VK> change the font of digits in \mathbf and not the font of aphabets inside VK> \mathbf. VK> To be more clear, if Isay VK> \DeclareMathAlphabet {\mathbf}{OT1}{cmr}{bx}{n} VK> It will both changes the font of digits and the font of alphabets inside VK> \mathbf command. But I just would like to change the font of digits and not VK> the font of alphabets. VK> Is there any way to achieve this? Surely. You create a virtual font with letters from Computer Modern Roman, and digits from Computer Modern Bold. Then use it in \DeclareMathAlphabet. I've did such things for mathgifg package: the customer wanted math with digits from Franklin Gothic and letters from Georgia -- Good luck -Boris The finest eloquence is that which gets things done. From bnb at ams.org Mon Jan 25 20:09:03 2010 From: bnb at ams.org (Barbara Beeton) Date: Mon, 25 Jan 2010 14:09:03 -0500 (EST) Subject: [texhax] Font Aid for Haiti -- a call to action Message-ID: This is an extract from a message from SOTA (The Society of Typographic Aficionados), which is organizing a program to raise funds for the benefit of those affected by the recent earthquake in Haiti. The complete message can be viewed at http://www.typesociety.org/fontaid.html -- bb -------------------- [...] ========================== Font Aid IV: Coming Together, a Collaborative Typeface The Society of Typographic Aficionados (SOTA) is announcing the launch of Font Aid IV, a project uniting the typographic and design communities in raising funds to expedite relief efforts in Haiti. Everyone is encouraged to help the cause by spreading the word to friends and colleagues. http://www.typesociety.org/fontaid.html Type designers, graphic designers and other artists from around the world are invited to contribute artwork to be included in a typeface created exclusively for the Font Aid IV effort. The theme of Font Aid IV is "Coming Together" which we will represented though a font consisting entirely of ampersands. Coming Together will be made available for sale through several type distributors, with all proceeds going to Doctors Without Borders. SOTA, a US-based non-profit, is acting as a non-partisan organizing body to help coordinate the effort and ensure all funds are distributed appropriately. http://www.doctorswithoutborders.org/ To participate: Submit a black and white "ampersand" icon for the benefit font. It should be a vector image file, not a bitmap. Keep it simple, not too crazy. Send it in EPS format to fontaid at typesociety.org by January 29th, 2010. ========================== [...] ========================== The Society of Typographic Aficionados (SOTA) is an international not-for -profit organization dedicated to the promotion, study, and support of type, its history and development, its use in the world of print and digital imagery, its designers, and its admirers. TypeCon is an annual convention presented by SOTA that focuses on type, design, and other related disciplines. http://www.typesociety.org/ http://www.typecon.com/ Copyright (c) 2010 The Society of Typographic Aficionados ========================== From punosevac72 at gmail.com Mon Jan 25 22:33:30 2010 From: punosevac72 at gmail.com (Predrag Punosevac) Date: Mon, 25 Jan 2010 16:33:30 -0500 Subject: [texhax] Serbian Cyrillic characters Message-ID: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> Dear All, After almost 15 years or so I am trying to write something in my native Serbian Cyrillic alphabet. Unfortunately I am having problems getting two characters. Namely \documentclass{article} \usepackage[OT2,T1]{fontenc} \newcommand\textcyr[1]{{\fontencoding{OT2}\fontfamily{wncyr}\selectfont #1}} \begin{document} Serbian alphabet \dots \textcyr{ A B V G D DJ E Zh Z I J K L LJ M N NJ O P R S T \'C U F Kh C Ch \Dzh Sh } \end{document} should produce the complete Serbian alphabet. Unfortunately, I can not get \'C and \Dzh. Those should be cyr2 fonts as they are non-existing in Russian and Ukrainian languages. I tried removing escape character and couple other things like including amsfonts. I have the same problem if I use Babel package which works like a charm for Russian. I also have a patch SerbianC for Babel but it requires Serbian keyboard and Unicode editor which I have not seen in more than 15 years. Could you kindly point me to the relevant documentation. Thanks, Predrag From bnb at ams.org Mon Jan 25 22:48:22 2010 From: bnb at ams.org (Barbara Beeton) Date: Mon, 25 Jan 2010 16:48:22 -0500 (EST) Subject: [texhax] Serbian Cyrillic characters In-Reply-To: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> Message-ID: dear pedrag, After almost 15 years or so I am trying to write something in my native Serbian Cyrillic alphabet. Unfortunately I am having problems getting two characters. Namely \documentclass{article} \usepackage[OT2,T1]{fontenc} \newcommand\textcyr[1]{{\fontencoding{OT2}\fontfamily{wncyr}\selectfont #1}} \begin{document} Serbian alphabet \dots \textcyr{ A B V G D DJ E Zh Z I J K L LJ M N NJ O P R S T \'C U F Kh C Ch \Dzh Sh } \end{document} should produce the complete Serbian alphabet. Unfortunately, I can not get \'C and \Dzh. Those should be cyr2 fonts as they are non-existing in Russian and Ukrainian languages. I tried removing escape character and couple other things like including amsfonts. I have the same problem if I use Babel package which works like a charm for Russian. I also have a patch SerbianC for Babel but it requires Serbian keyboard and Unicode editor which I have not seen in more than 15 years. Could you kindly point me to the relevant documentation. since the wncyr fonts are part of the amsfonts collection, and i happen to have been responsible for much of the original macro implementation, i went back to the amsfonts documentation: ftp://ftp.ams.org/pub/tex/doc/amsfonts/amsfndoc.pdf it's too old to cover usage in latex properly, but the clue is on p.15. here is a patched version of your file that does produce the two missing letters. \documentclass{article} \usepackage[OT2,T1]{fontenc} \input{cyracc.def} \newcommand\textcyr[1]{{\fontencoding{OT2}\fontfamily{wncyr}\selectfont #1}} \begin{document}S Serbian alphabet \dots \textcyr{ A B V G D DJ E Zh Z I J K L LJ M N NJ O P R S T \'C U F Kh C Ch \Dzh Sh } Serbian alphabet again \dots \textcyr{\cyracc A B V G D DJ E Zh Z I J K L LJ M N NJ O P R S T \'C U F Kh C Ch \Dzh\ Sh } \end{document} it's not beautiful, but it works. it would, of course, be better to insert \cyracc in the \textcyr definition. i did it this way to show the difference with and without. note that i've added a backslash after \Dzh so that it doesn't run into the next letter. good luck with this. -- bb From punosevac72 at gmail.com Mon Jan 25 23:45:06 2010 From: punosevac72 at gmail.com (Predrag Punosevac) Date: Mon, 25 Jan 2010 17:45:06 -0500 Subject: [texhax] Serbian Cyrillic characters In-Reply-To: References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> Message-ID: <4b5e1ef2.dfftLNj9EfnT5kag%punosevac72@gmail.com> Barbara Beeton wrote: > dear pedrag, > > After almost 15 years or so I am trying to write something in my > native Serbian Cyrillic alphabet. Unfortunately I am having problems > getting two characters. Namely > > \documentclass{article} > \usepackage[OT2,T1]{fontenc} > \newcommand\textcyr[1]{{\fontencoding{OT2}\fontfamily{wncyr}\selectfont #1}} > \begin{document} > Serbian alphabet \dots \textcyr{ > A B V G D DJ E Zh Z I J K L LJ M N NJ O P R S T \'C U F Kh C Ch \Dzh Sh > } > \end{document} > > should produce the complete Serbian alphabet. Unfortunately, I can not > get \'C and \Dzh. Those should be cyr2 fonts as they are non-existing > in Russian and Ukrainian languages. I tried removing escape character and > couple other things like including amsfonts. I have the same problem > if I use Babel package which works like a charm for Russian. > I also have a patch SerbianC for Babel but it requires Serbian keyboard > and Unicode editor which I have not seen in more than 15 years. > > Could you kindly point me to the relevant documentation. > > since the wncyr fonts are part of the > amsfonts collection, and i happen to have > been responsible for much of the original > macro implementation, i went back to the > amsfonts documentation: > ftp://ftp.ams.org/pub/tex/doc/amsfonts/amsfndoc.pdf > > it's too old to cover usage in latex > properly, but the clue is on p.15. > here is a patched version of your file > that does produce the two missing letters. > > \documentclass{article} > \usepackage[OT2,T1]{fontenc} > \input{cyracc.def} > \newcommand\textcyr[1]{{\fontencoding{OT2}\fontfamily{wncyr}\selectfont #1}} > \begin{document}S > Serbian alphabet \dots \textcyr{ > A B V G D DJ E Zh Z I J K L LJ M N NJ O P R S T \'C U F Kh C Ch \Dzh Sh > } > > Serbian alphabet again \dots \textcyr{\cyracc > A B V G D DJ E Zh Z I J K L LJ M N NJ O P R S T \'C U F Kh C Ch \Dzh\ Sh > } > \end{document} > > it's not beautiful, but it works. it would, > of course, be better to insert \cyracc in > the \textcyr definition. i did it this way > to show the difference with and without. > > note that i've added a backslash after \Dzh > so that it doesn't run into the next letter. > > good luck with this. > -- bb Dear Barbara, Thank you so much for this prompt and very helpful answer. Actually, the iso document I was referring in my original post did contained the reference to your original work on AMS fonts. I was just too tired last night to go carefully over the amsfonts documentation. Thank you, Predrag From reinhard.kotucha at web.de Tue Jan 26 03:17:03 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 26 Jan 2010 03:17:03 +0100 Subject: [texhax] Serbian Cyrillic characters In-Reply-To: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> Message-ID: <19294.20639.278955.185649@zaphod.ms25.net> On 25 January 2010 Predrag Punosevac wrote: > [...] > I also have a patch SerbianC for Babel but it requires Serbian > keyboard and Unicode editor which I have not seen in more than 15 > years. There is Emacs at least. It supports Unicode and allows you to use characters not supported by your keyboard. You have to select a proper "input-method" for Serbian. I never used Serbian, but if I select Options -> Mule -> select input method -> vietnamese-viqr I can enter Vietnamese characters on a pure ASCII keyboard (in VIQR) conveniently: When I type "Ha` No^.i", I see "H? N?i" on screen. Emacs provides an input-method called "cyrillic-serbian". I must admit that I don't know how to use it, though. Emacs is part of any Linux distribution. The latest version (23.x) is preferred because its Unicode and font support had been improved significantly. An up-to-date and ready-to-use version for Windows which also provides TeX related extensions can be downloaded from: http://tug.org/svn/texlive/trunk/Master/tlpkg/support/Emacs+AucTeX-W32 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 punosevac72 at gmail.com Tue Jan 26 07:21:23 2010 From: punosevac72 at gmail.com (Predrag Punosevac) Date: Tue, 26 Jan 2010 01:21:23 -0500 Subject: [texhax] Serbian Cyrillic characters In-Reply-To: <19294.20639.278955.185649@zaphod.ms25.net> References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> <19294.20639.278955.185649@zaphod.ms25.net> Message-ID: <4b5e89e3.+I1p30bFyk8SZtyN%punosevac72@gmail.com> Reinhard Kotucha wrote: > On 25 January 2010 Predrag Punosevac wrote: > > > [...] > > I also have a patch SerbianC for Babel but it requires Serbian > > keyboard and Unicode editor which I have not seen in more than 15 > > years. > > There is Emacs at least. It supports Unicode and allows you to use > characters not supported by your keyboard. You have to select a > proper "input-method" for Serbian. > > I never used Serbian, but if I select > > Options -> Mule -> select input method -> vietnamese-viqr > > I can enter Vietnamese characters on a pure ASCII keyboard (in VIQR) > conveniently: When I type "Ha` No^.i", I see "H?? N???i" on screen. > > Emacs provides an input-method called "cyrillic-serbian". I must > admit that I don't know how to use it, though. > > Emacs is part of any Linux distribution. The latest version (23.x) is > preferred because its Unicode and font support had been improved > significantly. An up-to-date and ready-to-use version for Windows which > also provides TeX related extensions can be downloaded from: > > http://tug.org/svn/texlive/trunk/Master/tlpkg/support/Emacs+AucTeX-W32 > > Regards, > Reinhard > Thank you so much for the info. I must admit that using Emacs is against my religion. I use nvi which does support Unicode since 2000 or so but I have never used it. It is probably also obvious that I do not use Linux. I am an OpenBSD guy. Cheers, Predrag P.S. If I have some time next summer I will look at into SerbianC code and may be try to write a patch which will enable me to use Babel the way I use it if I write in Russian. > -- > ---------------------------------------------------------------------------- > Reinhard Kotucha Phone: +49-511-3373112 > Marschnerstr. 25 > D-30167 Hannover mailto:reinhard.kotucha at web.de > ---------------------------------------------------------------------------- > Microsoft isn't the answer. Microsoft is the question, and the answer is NO. > ---------------------------------------------------------------------------- From backer at psych.uib.no Tue Jan 26 15:27:57 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Tue, 26 Jan 2010 15:27:57 +0100 Subject: [texhax] MikTex 2.8 and Windows 2.8 In-Reply-To: <19291.35585.554926.461924@zaphod.ms25.net> References: <4B5AB1AC.6070409@psych.uib.no> <4B5B155E.2050500@psych.uib.no> <19291.35585.554926.461924@zaphod.ms25.net> Message-ID: <4B5EFBED.30605@psych.uib.no> When using the Basic installer downloaded (using Mozilla Firefox, version 3.6) from the server in Denmark I get the error message: ...\mik23586\euenc.tar.lzma When downloading from the tug basic-miktex-2.8.3582 site I get the following message: Invalid package archive file. The same message is given when downloading from the Dante site, etc.. The downloaded files also varies in size, 14.2 MB, 21.1 MB and 102 MB Tom Reinhard Kotucha wrote: > On 23 January 2010 Tom Backer Johnsen wrote: > > > I sj\hold read proof on my own question. It is of course Windows 7. > > > > Tom > > > > Tom Backer Johnsen wrote: > >> I wonder if there is an issue in some way or another with the > >> combination above, in a slightly complex situation. I use a MacBook > >> Pro with the latest operating system. On this machine I have a > >> Paralells virtual machine with Windows 7 installed and updated. When > >> downloading and running a Basic Miktex 2.8 installer I always get an > >> error somewhere in the process and not in the same place. I have > >> tried downloading the installer from several different sites with the > >> same effect. > >> Any suggestions on where the error might be? > > With the information you provide we can only guess. Phrases like > "I always get an error somewhere in the process..." are not very > helpful. Many error messages on Windows are indeed incomprehensible. > But if you don't understand them yourself, please post them to the > list. For the Windows experts on the mailing list, they *are* helpful. > > Regards, > Reinhard > > From backer at psych.uib.no Tue Jan 26 16:03:08 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Tue, 26 Jan 2010 16:03:08 +0100 Subject: [texhax] MikTex 2.8 and Windows 2.8 In-Reply-To: <19291.35585.554926.461924@zaphod.ms25.net> References: <4B5AB1AC.6070409@psych.uib.no> <4B5B155E.2050500@psych.uib.no> <19291.35585.554926.461924@zaphod.ms25.net> Message-ID: <4B5F042C.6090504@psych.uib.no> Another down load from the Danish site, this time using Internet Explorer: Windows API error 2: cannot find ... \geometry.tpm at the very beginning of the install. A previous download from the same site with the same tool came almost to the end of the install before reporting a missing file. I see no consistencies here, other than the simple fact that none of the installs work. Tom Reinhard Kotucha wrote: > On 23 January 2010 Tom Backer Johnsen wrote: > > > I sj\hold read proof on my own question. It is of course Windows 7. > > > > Tom > > > > Tom Backer Johnsen wrote: > >> I wonder if there is an issue in some way or another with the > >> combination above, in a slightly complex situation. I use a MacBook > >> Pro with the latest operating system. On this machine I have a > >> Paralells virtual machine with Windows 7 installed and updated. When > >> downloading and running a Basic Miktex 2.8 installer I always get an > >> error somewhere in the process and not in the same place. I have > >> tried downloading the installer from several different sites with the > >> same effect. > >> Any suggestions on where the error might be? > > With the information you provide we can only guess. Phrases like > "I always get an error somewhere in the process..." are not very > helpful. Many error messages on Windows are indeed incomprehensible. > But if you don't understand them yourself, please post them to the > list. For the Windows experts on the mailing list, they *are* helpful. > > Regards, > Reinhard > > From pierre.mackay at comcast.net Tue Jan 26 20:25:09 2010 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Tue, 26 Jan 2010 11:25:09 -0800 Subject: [texhax] Serbian Cyrillic characters In-Reply-To: <4b5e89e3.+I1p30bFyk8SZtyN%punosevac72@gmail.com> References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> <19294.20639.278955.185649@zaphod.ms25.net> <4b5e89e3.+I1p30bFyk8SZtyN%punosevac72@gmail.com> Message-ID: <4B5F4195.4030303@comcast.net> On 01/25/2010 10:21 PM, Predrag Punosevac wrote: > Reinhard Kotucha wrote: > > >> Options -> Mule -> select input method -> vietnamese-viqr >> >> I can enter Vietnamese characters on a pure ASCII keyboard (in VIQR) >> conveniently: When I type "Ha` No^.i", I see "H?? N???i" on screen. >> >> Emacs provides an input-method called "cyrillic-serbian". I must >> admit that I don't know how to use it, though. >> >> > Thank you so much for the info. I must admit that using Emacs is > against my religion. I use nvi which does support Unicode since 2000 > or so but I have never used it. It is probably also obvious that I do > not use Linux. I am an OpenBSD guy. > > Surely there is an emacs distribution for BSD. There certainly was one in pre-Solaris days for Sun Microsystems and also for Vaxen. I don't know whether Alexei Kryukov's Thessalonica (for OpenOffice.org) covers all that is needed for Serbian (in academic departments, at least, great Russians get very snooty about things like the composite soft n glyph), but Thessalonica is a fine way to enter non-Latin text and, since it is a uno-package, it is programmable and extendable. I was able to work up an input protocol based on post-positive accentuation (Unicode and Ibycus) in about 12 hours total immediately after first discovering the package. Pierre MacKay www.angiolello.net From reinhard.kotucha at web.de Tue Jan 26 23:10:34 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 26 Jan 2010 23:10:34 +0100 Subject: [texhax] Serbian Cyrillic characters In-Reply-To: <4B5F4195.4030303@comcast.net> References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> <19294.20639.278955.185649@zaphod.ms25.net> <4b5e89e3.+I1p30bFyk8SZtyN%punosevac72@gmail.com> <4B5F4195.4030303@comcast.net> Message-ID: <19295.26714.241095.840200@zaphod.ms25.net> On 26 January 2010 Pierre MacKay wrote: > On 01/25/2010 10:21 PM, Predrag Punosevac wrote: > > Reinhard Kotucha wrote: > > > > > >> Options -> Mule -> select input method -> vietnamese-viqr > >> > >> I can enter Vietnamese characters on a pure ASCII keyboard (in VIQR) > >> conveniently: When I type "Ha` No^.i", I see "H?? N???i" on screen. > >> > >> Emacs provides an input-method called "cyrillic-serbian". I must > >> admit that I don't know how to use it, though. > >> > >> > > Thank you so much for the info. I must admit that using Emacs is > > against my religion. I use nvi which does support Unicode since 2000 > > or so but I have never used it. It is probably also obvious that I do > > not use Linux. I am an OpenBSD guy. > > > > > Surely there is an emacs distribution for BSD. There certainly was one > in pre-Solaris days for Sun Microsystems and also for Vaxen. Of course, but this is obviously a religious problem. I don't want to evangelize anybody, I'm not religious in this respect at all. But though I bought a book about vi already, I was often too lazy to investigate how to do things in vi because I already knew how to do it in Emacs. Thus, I can understand that someone who is using vi for years doesn't want to switch to another editor. Modern variants of vi are very powerful too. And, as -- ---------------------------------------------------------------------------- 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 reinhard.kotucha at web.de Tue Jan 26 23:38:00 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 26 Jan 2010 23:38:00 +0100 Subject: [texhax] Serbian Cyrillic characters In-Reply-To: <4B5F4195.4030303@comcast.net> References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> <19294.20639.278955.185649@zaphod.ms25.net> <4b5e89e3.+I1p30bFyk8SZtyN%punosevac72@gmail.com> <4B5F4195.4030303@comcast.net> Message-ID: <19295.28360.200622.440660@zaphod.ms25.net> Sorry, I submitted the last mail accidentally before it was finished. On 26 January 2010 Pierre MacKay wrote: > On 01/25/2010 10:21 PM, Predrag Punosevac wrote: > > Reinhard Kotucha wrote: > > > > > >> Options -> Mule -> select input method -> vietnamese-viqr > >> > >> I can enter Vietnamese characters on a pure ASCII keyboard (in VIQR) > >> conveniently: When I type "Ha` No^.i", I see "H?? N???i" on screen. > >> > >> Emacs provides an input-method called "cyrillic-serbian". I must > >> admit that I don't know how to use it, though. > >> > >> > > Thank you so much for the info. I must admit that using Emacs is > > against my religion. I use nvi which does support Unicode since 2000 > > or so but I have never used it. It is probably also obvious that I do > > not use Linux. I am an OpenBSD guy. > > > > > Surely there is an emacs distribution for BSD. There certainly was one > in pre-Solaris days for Sun Microsystems and also for Vaxen. Of course, but this is obviously a religious problem. I don't want to evangelize anybody, I'm not religious in this respect at all. But though I bought a book about vi already, I was often too lazy to investigate how to do things in vi because I already knew how to do it in Emacs. Thus, I can understand that someone who is using vi for years doesn't want to switch to another editor. Modern variants of vi are very powerful too. And, as far as I can see, some of them support Unicode already. The question is how to enter characters not supported by the keyboard. Everybody in Vietnam is using a US keyboard, there are no dedicated keyboards for Vietnamese. I've seen that a friend of mine who was running a Vietnamese Linux distribution could switch between European and Vietnamese within his GUI. I suppose that there is a way to customize X11's keyboard interface. The advantage is that all programs benefit from it. But please don't ask me for details, I'm not familiar with X11 at all. 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 reinhard.kotucha at web.de Wed Jan 27 01:35:29 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 27 Jan 2010 01:35:29 +0100 Subject: [texhax] MikTex 2.8 and Windows 2.8 In-Reply-To: <4B5EFBED.30605@psych.uib.no> References: <4B5AB1AC.6070409@psych.uib.no> <4B5B155E.2050500@psych.uib.no> <19291.35585.554926.461924@zaphod.ms25.net> <4B5EFBED.30605@psych.uib.no> Message-ID: <19295.35409.783752.258925@zaphod.ms25.net> On 26 January 2010 Tom Backer Johnsen wrote: > When using the Basic installer downloaded (using Mozilla Firefox, > version 3.6) from the server in Denmark I get the error message: > > ...\mik23586\euenc.tar.lzma I don't see any error message. Sorry. 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 punosevac72 at gmail.com Wed Jan 27 04:10:22 2010 From: punosevac72 at gmail.com (Predrag Punosevac) Date: Tue, 26 Jan 2010 22:10:22 -0500 Subject: [texhax] Serbian Cyrillic characters In-Reply-To: <19295.28360.200622.440660@zaphod.ms25.net> References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> <19294.20639.278955.185649@zaphod.ms25.net> <4b5e89e3.+I1p30bFyk8SZtyN%punosevac72@gmail.com> <4B5F4195.4030303@comcast.net> <19295.28360.200622.440660@zaphod.ms25.net> Message-ID: <4b5fae9e.XZPA1IXZ2xhyhVjD%punosevac72@gmail.com> Reinhard Kotucha wrote: > > Sorry, I submitted the last mail accidentally before it was finished. > > > On 26 January 2010 Pierre MacKay wrote: > > > On 01/25/2010 10:21 PM, Predrag Punosevac wrote: > > > Reinhard Kotucha wrote: > > > > > > > > >> Options -> Mule -> select input method -> vietnamese-viqr > > >> > > >> I can enter Vietnamese characters on a pure ASCII keyboard (in VIQR) > > >> conveniently: When I type "Ha` No^.i", I see "H?? N???i" on screen. > > >> > > >> Emacs provides an input-method called "cyrillic-serbian". I must > > >> admit that I don't know how to use it, though. > > >> > > >> > > > Thank you so much for the info. I must admit that using Emacs is > > > against my religion. I use nvi which does support Unicode since 2000 > > > or so but I have never used it. It is probably also obvious that I do > > > not use Linux. I am an OpenBSD guy. > > > > > > > > Surely there is an emacs distribution for BSD. There certainly was one > > in pre-Solaris days for Sun Microsystems and also for Vaxen. > > Of course, but this is obviously a religious problem. I don't want to > evangelize anybody, I'm not religious in this respect at all. But > though I bought a book about vi already, I was often too lazy to > investigate how to do things in vi because I already knew how to do it > in Emacs. Thus, I can understand that someone who is using vi for > years doesn't want to switch to another editor. > > Modern variants of vi are very powerful too. And, as far as I can > see, some of them support Unicode already. The question is how to > enter characters not supported by the keyboard. > > Everybody in Vietnam is using a US keyboard, there are no dedicated > keyboards for Vietnamese. I've seen that a friend of mine who was > running a Vietnamese Linux distribution could switch between European > and Vietnamese within his GUI. I suppose that there is a way to > customize X11's keyboard interface. The advantage is that all > programs benefit from it. But please don't ask me for details, I'm > not familiar with X11 at all. > man xmodmap The thing is that I do not want to change my keyboard layout as English is my main language of communication. All of my keyboards are U.S. If I ever go back to live in Serbia I will probably get a keyboard with Serbian alphabet layout as I had 15 years ago before moving to U.S. Thanks, Predrag P.S. Of course that Emacs and Auctex are ported to all BSDs and particularly OpenBSD. I personally do not use any editors except nvi and ex/ed but many people do. > Regards, > Reinhard > > -- > ---------------------------------------------------------------------------- > Reinhard Kotucha Phone: +49-511-3373112 > Marschnerstr. 25 > D-30167 Hannover mailto:reinhard.kotucha at web.de > ---------------------------------------------------------------------------- > Microsoft isn't the answer. Microsoft is the question, and the answer is NO. > ---------------------------------------------------------------------------- From torsten.wagner at fh-aachen.de Wed Jan 27 04:27:46 2010 From: torsten.wagner at fh-aachen.de (Torsten Wagner) Date: Wed, 27 Jan 2010 12:27:46 +0900 Subject: [texhax] How to use Japanse (or other UTF8) characters in bibtex entries Message-ID: <201001271227.46933.torsten.wagner@fh-aachen.de> Hi, yesterday I tried for the first time to use Japanese characters in bibliography entries (like authors name, title, etc.) reading along the web, teached me that BibTeX is not really nice to non-ASCII characters (I still do not know whether this might conflict only with the sorting algorithm or even with being able to print them at all). Nevertheless, I was told to switch over to biblatex which might be better in this case. As far as I see it is really nice and it makes a lot of packages and "dirty" hacks redundant. E.g. I like to create muliple bibliographies which is very easy with biblatex... before I had to use the extra package multibib. Furthermore, I was told to use biber instead of bibtex (which is used by BibLaTeX by default, to sort the entries). As far as I found out with biber+BibLateX I should have a UTF8 aware bibliography system. However, I still have no output for the UTF8 characters. I tried to use the CJK package and wrap a CJK environment around like this: \begin{CJK*}{utf8} \printbibliography[heading=books,category=books] \end{CJK*} but this brakes since \printbibliography is doing a lot of stuff which breaks at some point the environment. I will try to protect it. However, if someone here has experience how to print non-ASCII characters inside a bibliography.... and help is welcome. If necessary I could provide a minimal example. Thanks Torsten From Susan.Dittmar at gmx.de Wed Jan 27 11:27:24 2010 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Wed, 27 Jan 2010 11:27:24 +0100 Subject: [texhax] Serbian Cyrillic characters In-Reply-To: <4b5fae9e.XZPA1IXZ2xhyhVjD%punosevac72@gmail.com> References: <4b5e0e2a.++YxzIkVx5Bh5SBQ%punosevac72@gmail.com> <19294.20639.278955.185649@zaphod.ms25.net> <4b5e89e3.+I1p30bFyk8SZtyN%punosevac72@gmail.com> <4B5F4195.4030303@comcast.net> <19295.28360.200622.440660@zaphod.ms25.net> <4b5fae9e.XZPA1IXZ2xhyhVjD%punosevac72@gmail.com> Message-ID: <20100127102724.GB7583@eureca.de> Dear Predag, I do not know about nvi, but vim (another vi clone) does support a rather easy way of entering unicode, which is highly configurable. In case you want to use vim, you can get information about this via ":help digraph". Perhaps something like that exists for nvi? Susan From 5mgfreestore at gmail.com Wed Jan 27 16:42:15 2010 From: 5mgfreestore at gmail.com (File Store) Date: Wed, 27 Jan 2010 09:42:15 -0600 Subject: [texhax] ? Message-ID: Consider the following %%%%%%%%%%%%%%%%% \begin{enumerate}[(a)] \item "first item \item second third \item fourth item \item fifth it \end{enumerate} %%%%%%%%%%%%%%%%%%%%%%%% Why does this creates a different form of parenthesis for the items? (a)----- this looks different? (b) (c) (d) How can I make it look normal? Is it because it was designed to look that way or is there a way to make it look plain? -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodolfo.medina at gmail.com Wed Jan 27 16:55:19 2010 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Wed, 27 Jan 2010 16:55:19 +0100 Subject: [texhax] One (more) question about \halign References: <878wj8sndt.fsf@gmail.com> Message-ID: <87sk9rzgns.fsf@gmail.com> Hi all. In plain TeX, I have the following problem: I have the following alignment (for a table of contents): \halign to \hsize{% \rm\rlap{1.2}\ \ \ \ \ \ \ \vbox{\parindent=0pt\hsize=105mm\hangindent 0em\strut% #\hfill\strut}% \tabskip=0cm plus20cm minus20cm&\hfil#\tabskip=0pt\cr bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla &bnbnbnbnb\cr} Now, I want that, when the first argument is very long and continues over a second line (as in the above example), then \rm\rlap{1.2}\ \ \ \ \ \ \ is put on the first line (in the above example it is put on the second line, instead). Can anybody help about this matter? Once solved this, I want to put dot leaders. Thanks in advance Rodolfo From schuster.wolfgang at googlemail.com Wed Jan 27 17:08:42 2010 From: schuster.wolfgang at googlemail.com (Wolfgang Schuster) Date: Wed, 27 Jan 2010 17:08:42 +0100 Subject: [texhax] One (more) question about \halign In-Reply-To: <87sk9rzgns.fsf@gmail.com> References: <878wj8sndt.fsf@gmail.com> <87sk9rzgns.fsf@gmail.com> Message-ID: <4B60650A.1010002@googlemail.com> Am 27.01.10 16:55, schrieb Rodolfo Medina: > Hi all. > > In plain TeX, I have the following problem: > > I have the following alignment (for a table of contents): > > > \halign to \hsize{% > \rm\rlap{1.2}\ \ \ \ \ \ \ > \vbox{\parindent=0pt\hsize=105mm\hangindent 0em\strut% > #\hfill\strut}% > \tabskip=0cm plus20cm minus20cm&\hfil#\tabskip=0pt\cr > bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > bla bla bla bla bla bla bla bla bla bla bla bla bla&bnbnbnbnb\cr} > > > Now, I want that, when the first argument is very long and continues over a > second line (as in the above example), then > > \rm\rlap{1.2}\ \ \ \ \ \ \ > > is put on the first line (in the above example it is put on the second line, > instead). > Replace \vbox with \vtop. Wolfgang From Susan.Dittmar at gmx.de Wed Jan 27 17:21:55 2010 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Wed, 27 Jan 2010 17:21:55 +0100 Subject: [texhax] ? In-Reply-To: References: Message-ID: <20100127162155.GE7583@eureca.de> Quoting File Store (5mgfreestore at gmail.com): > Consider the following > %%%%%%%%%%%%%%%%% > \begin{enumerate}[(a)] > \item "first item > \item second third > \item fourth item > \item fifth it > \end{enumerate} > %%%%%%%%%%%%%%%%%%%%%%%% > > Why does this creates a different form of parenthesis for the items? Could you please create a full minimal example? Putting \documentclass{article} \begin{document} and \end{document} around your example does *not* work, as the enumerate environment in the standard definition does not have an optional argument. Could you please add to the above code everything that is needed to reproduce your problem? Susan From rodolfo.medina at gmail.com Wed Jan 27 18:19:06 2010 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Wed, 27 Jan 2010 18:19:06 +0100 Subject: [texhax] One (more) question about \halign References: <878wj8sndt.fsf@gmail.com> <87sk9rzgns.fsf@gmail.com> <4B60650A.1010002@googlemail.com> Message-ID: <87k4v379f9.fsf@gmail.com> Am 27.01.10 16:55, schrieb Rodolfo Medina: >> In plain TeX, I have the following problem: >> >> I have the following alignment (for a table of contents): >> >> >> \halign to \hsize{% >> \rm\rlap{1.2}\ \ \ \ \ \ \ >> \vbox{\parindent=0pt\hsize=105mm\hangindent 0em\strut% >> #\hfill\strut}% >> \tabskip=0cm plus20cm minus20cm&\hfil#\tabskip=0pt\cr >> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla >> bla bla bla bla bla bla bla bla bla bla bla bla bla&bnbnbnbnb\cr} >> >> >> Now, I want that, when the first argument is very long and continues over a >> second line (as in the above example), then >> >> \rm\rlap{1.2}\ \ \ \ \ \ \ >> >> is put on the first line (in the above example it is put on the second line, >> instead). Wolfgang Schuster writes: > Replace \vbox with \vtop. Thanks: but maybe I should have said that I want the second argument instead to stay on the second line, where it is now; whereas what you suggest would move it on the first line. Rodolfo From Susan.Dittmar at gmx.de Wed Jan 27 18:20:44 2010 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Wed, 27 Jan 2010 18:20:44 +0100 Subject: [texhax] ? In-Reply-To: References: <20100127162155.GE7583@eureca.de> Message-ID: <20100127172044.GG7583@eureca.de> Quoting File Store (5mgfreestore at gmail.com): > I just copied the same set up that wrote to make sure that it is ok. You > will see that the parenthesis of the item look different, I am not so sure > if it is what the system wants or not? Is there a way to make them look like > same as those parenthesis in the text. Apart from those three calls to hyperref I see a lot of stuff that's not necessary (you can find out by putting a % in front and checking if the problem is still there, and before posting you can remove all those unneeded lines), but unfortunately even when copying your example as is, I cannot reproduce the problem. Those parenteses all look the same here. Perhaps someone with a newer system could check? I use a quite old TeX installation. Susan From rodolfo.medina at gmail.com Wed Jan 27 18:24:55 2010 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Wed, 27 Jan 2010 18:24:55 +0100 Subject: [texhax] One (more) question about \halign References: <878wj8sndt.fsf@gmail.com> <87sk9rzgns.fsf@gmail.com> <4B60650A.1010002@googlemail.com> <87k4v379f9.fsf@gmail.com> Message-ID: <87ljfj31g8.fsf@gmail.com> Rodolfo Medina writes: > Am 27.01.10 16:55, schrieb Rodolfo Medina: > >>> In plain TeX, I have the following problem: >>> >>> I have the following alignment (for a table of contents): >>> >>> >>> \halign to \hsize{% >>> \rm\rlap{1.2}\ \ \ \ \ \ \ >>> \vbox{\parindent=0pt\hsize=105mm\hangindent 0em\strut% >>> #\hfill\strut}% >>> \tabskip=0cm plus20cm minus20cm&\hfil#\tabskip=0pt\cr >>> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla >>> bla bla bla bla bla bla bla bla bla bla bla bla bla&bnbnbnbnb\cr} >>> >>> >>> Now, I want that, when the first argument is very long and continues over a >>> second line (as in the above example), then >>> >>> \rm\rlap{1.2}\ \ \ \ \ \ \ >>> >>> is put on the first line (in the above example it is put on the second line, >>> instead). > > > > Wolfgang Schuster writes: > >> Replace \vbox with \vtop. > > > > Thanks: but maybe I should have said that I want the second argument instead > to stay on the second line, where it is now; whereas what you suggest would > move it on the first line. In other words, I want \rm\rlap{1.2}\ \ \ \ \ \ \ to be on the first line, and `bnbnbnbnb' (the second alignment argument) on the second line. Is that possible, and with what trick? Rodolfo From axel-freyn at gmx.de Wed Jan 27 18:38:58 2010 From: axel-freyn at gmx.de (Axel Freyn) Date: Wed, 27 Jan 2010 18:38:58 +0100 Subject: [texhax] ? In-Reply-To: <20100127162155.GE7583@eureca.de> References: <20100127162155.GE7583@eureca.de> Message-ID: <20100127173858.GV25244@axel> Hi, On Wed, Jan 27, 2010 at 05:21:55PM +0100, Susan Dittmar wrote: > Quoting File Store (5mgfreestore at gmail.com): > > Consider the following > > %%%%%%%%%%%%%%%%% > > \begin{enumerate}[(a)] > > \item "first item > > \item second third > > \item fourth item > > \item fifth it > > \end{enumerate} > > %%%%%%%%%%%%%%%%%%%%%%%% > > > > Why does this creates a different form of parenthesis for the items? > > Could you please create a full minimal example? Putting > > \documentclass{article} > \begin{document} > > and > > \end{document} > > around your example does *not* work, as the enumerate environment in the > standard definition does not have an optional argument. > > Could you please add to the above code everything that is needed to > reproduce your problem? > I tried using in addition the package "enumerate" - this adds an additional argument to the enumerate-environment. For me, it works correctly with \usepackage{enumerate} - giving exactly the same parenthesis for all items. So probably we really need a working example which produces the error... Axel From rodolfo.medina at gmail.com Wed Jan 27 23:17:09 2010 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Wed, 27 Jan 2010 23:17:09 +0100 Subject: [texhax] One (more) question about \halign References: <878wj8sndt.fsf@gmail.com> <87sk9rzgns.fsf@gmail.com> Message-ID: <87r5pbyyze.fsf@gmail.com> Rodolfo Medina writes: > In plain TeX, I have the following problem: > > I have the following alignment (for a table of contents): > > > \halign to \hsize{% > \rm\rlap{1.2}\ \ \ \ \ \ \ > \vbox{\parindent=0pt\hsize=105mm\hangindent 0em\strut% > #\hfill\strut}% > \tabskip=0cm plus20cm minus20cm&\hfil#\tabskip=0pt\cr > bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > bla bla bla bla bla bla bla bla bla bla bla bla bla &bnbnbnbnb\cr} > > > Now, I want that, when the first argument is very long and continues over a > second line (as in the above example), then > > \rm\rlap{1.2}\ \ \ \ \ \ \ > > is put on the first line (in the above example it is put on the second line, > instead). > > Can anybody help about this matter? Once solved this, I want to put dot > leaders. This seems to work: \def\leaderfill{\leaders\hbox to 1em{\hss.\hss}\hfill} \halign to \hsize{% \hskip12mm \vbox{\parindent=0pt\hsize=105mm\hangindent 0em\strut% \llap{\hbox to8mm{1.2\hss}}#\leaderfill\strut}% \tabskip=0cm plus20cm minus20cm&\hfil#\tabskip=0pt\cr bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla &bnbnbnbnb\cr} Only, as shown by the example, dot leaders end before text end: I don't understand why. Does anybody? Rodolfo From schuster.wolfgang at googlemail.com Wed Jan 27 23:40:15 2010 From: schuster.wolfgang at googlemail.com (Wolfgang Schuster) Date: Wed, 27 Jan 2010 23:40:15 +0100 Subject: [texhax] One (more) question about \halign In-Reply-To: <87r5pbyyze.fsf@gmail.com> References: <878wj8sndt.fsf@gmail.com> <87sk9rzgns.fsf@gmail.com> <87r5pbyyze.fsf@gmail.com> Message-ID: <4B60C0CF.3050100@googlemail.com> Am 27.01.10 23:17, schrieb Rodolfo Medina: > Only, as shown by the example, dot leaders end before text end: I don't > understand why. Does anybody? Look in a TeX book of your choice for the difference between \leaders, \cleaders and \xleaders (this should be what you're looking for). Wolfgang From schuster.wolfgang at googlemail.com Wed Jan 27 23:53:39 2010 From: schuster.wolfgang at googlemail.com (Wolfgang Schuster) Date: Wed, 27 Jan 2010 23:53:39 +0100 Subject: [texhax] One (more) question about \halign In-Reply-To: <87ljfj31g8.fsf@gmail.com> References: <878wj8sndt.fsf@gmail.com> <87sk9rzgns.fsf@gmail.com> <4B60650A.1010002@googlemail.com> <87k4v379f9.fsf@gmail.com> <87ljfj31g8.fsf@gmail.com> Message-ID: <4B60C3F3.9060705@googlemail.com> Am 27.01.10 18:24, schrieb Rodolfo Medina: >> Thanks: but maybe I should have said that I want the second argument instead >> to stay on the second line, where it is now; whereas what you suggest would >> move it on the first line. > In other words, I want > > \rm\rlap{1.2}\ \ \ \ \ \ \ > > to be on the first line, and `bnbnbnbnb' (the second alignment argument) on the > second line. Is that possible, and with what trick? You could look if there is a good table package available for plain but for the moment the following should do it. What I did was to put the text in the second column in a box and force a line break with a empty \hbox in the first row. \halign to \hsize {\rm\rlap{1.2}\hskip3em\vtop {\parindent=0pt\hsize=105mm\hangindent 0em\strut#\hfill\strut}% \tabskip=0cm plus20cm minus20cm &\hfil\vtop{\def\\{\egroup\hbox\bgroup}\hbox\bgroup#\egroup}\tabskip=0pt\cr bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla &\\bnbnbnbnb\cr} Wolfgang From christoph.haug at gmail.com Thu Jan 28 00:43:59 2010 From: christoph.haug at gmail.com (Christoph Haug) Date: Thu, 28 Jan 2010 00:43:59 +0100 Subject: [texhax] create float based on longtable? Message-ID: <7f5ddb201001271543g1fce7382g207b4c1e240cf91c@mail.gmail.com> Hi, My question is how I can create a new float or environment which behaves just like longtable (or perhaps xtabular?) only that it is not treated as table (caption wise and list-of wise)? In other words: More concretely: I would like to have an float called "example" which shows "Example ..." in its caption and which is listed in a "List of Examples" (rather than the list of tables). Here is the whole story: for my thesis, I created a new float called "example" (I used \DeclareCaptionType from the caption package, but this doesn't matter here, I think). The examples I create in the document are listed in a "list of examples" and they are be boxed to be set apart from the text. I also made them a bit narrower than \textwidth. For the boxing I created a new environment based on tabular and called it "exbox". I'll just paste the code here: \newenvironment{exbox}% { \small \centering \begin{tabular}[1]{|m{0.9\textwidth}|} \hline \smallskip } % { \smallskip \\\hline \end{tabular} } Actually, the \centering doesn't work and I dont understand why... But apart from that little thing, that is working fine so far. The problem is now that some of my examples (paragraphs of text) turn out to be longer than one page which is obviously a problem for my float. At the moment it also is a problem for the exbox environment, since it is based on tabular, but that could be changed to longtable, or xtabular, or whatever. But then how do I go on from there? Since exbox is always embedded in an example-float, I still have the problem that it doesnt break accross pages. Does anybody have an idea? I am also open for a completely different solution. I used tabular because that was the best I could think of, but it does restrict the formatting of the text within the examples. So if there are better options, let me know. -- I was actually surprised that I could not find a standard solution for this on the net. Die nobobody ever have examples (or Listings or so) that span several pages? Thanks for any help, Christoph From asnd at triumf.ca Thu Jan 28 01:07:20 2010 From: asnd at triumf.ca (Donald Arseneau) Date: 27 Jan 2010 16:07:20 -0800 Subject: [texhax] One (more) question about \halign In-Reply-To: <87ljfj31g8.fsf@gmail.com> References: <878wj8sndt.fsf@gmail.com> <87sk9rzgns.fsf@gmail.com> <4B60650A.1010002@googlemail.com> <87k4v379f9.fsf@gmail.com> <87ljfj31g8.fsf@gmail.com> Message-ID: Rodolfo Medina writes: > >>> \halign to \hsize{% > >>> \rm\rlap{1.2}\ \ \ \ \ \ \ > >>> \vbox{\parindent=0pt\hsize=105mm\hangindent 0em\strut% > >>> #\hfill\strut}% > >>> \tabskip=0cm plus20cm minus20cm&\hfil#\tabskip=0pt\cr > >>> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > >>> bla bla bla bla bla bla bla bla bla bla bla bla bla&bnbnbnbnb\cr} > > In other words, I want > > \rm\rlap{1.2}\ \ \ \ \ \ \ > > to be on the first line, and `bnbnbnbnb' (the second alignment argument) on the > second line. Is that possible, and with what trick? Put it inside the vbox and use \llap instead of \rlap. \vbox{...\noindent\llap{1.2\ \ \ }\strut #... (Actually, for a TOC it is better to use paragraph parameters and no boxes or alignments. Then you have to pre-measure your page numbers and section numbers, but that is inevitable even with halign because you have to set the \hsize.) -- Donald Arseneau asnd at triumf.ca From hh-brasil at bol.com.br Thu Jan 28 10:04:19 2010 From: hh-brasil at bol.com.br (hh) Date: Thu, 28 Jan 2010 06:04:19 -0300 Subject: [texhax] texhax Digest, Vol 2010, Issue 38 In-Reply-To: References: Message-ID: <4B6128E3.12931.1F3BAA@hh-brasil.bol.com.br> Try the package "enumitem". hh BTW: Your attachment does not show anything useful:
(a)----- this looks different?
From: texhax-request at tug.org Subject: texhax Digest, Vol 2010, Issue 38 To: texhax at tug.org Send reply to: texhax at tug.org Date sent: Wed, 27 Jan 2010 23:18:02 +0100 > Consider the following > %%%%%%%%%%%%%%%%% > > > > \begin{enumerate}[(a)] > \item "first item > \item second third > \item fourth item > \item fifth it > \end{enumerate} > > %%%%%%%%%%%%%%%%%%%%%%%% > > Why does this creates a different form of parenthesis for the items? > > (a)----- this looks different? > (b) > (c) > (d) > > How can I make it look normal? Is it because it was designed to look > that > way or is there a way to make it look plain? From Susan.Dittmar at gmx.de Thu Jan 28 11:28:00 2010 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Thu, 28 Jan 2010 11:28:00 +0100 Subject: [texhax] create float based on longtable? In-Reply-To: <7f5ddb201001271543g1fce7382g207b4c1e240cf91c@mail.gmail.com> References: <7f5ddb201001271543g1fce7382g207b4c1e240cf91c@mail.gmail.com> Message-ID: <20100128102800.GB25683@eureca.de> Dear Christoph, it is impossible to have *floating* elements longer than a page. But as far as I understand, you do not need those examples to float. For boxing you could use the framed or the boites packages. Both have restrictions for use, and those restrictions differ. (In case you need translation of the french comments in the boites package, I can send them to you.) For the caption and naming/referencing part I would have a look at the AMS theorem stuff. I never used it myself, but it sounds like solving a similar problem. Hope this helps, Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From hh-brasil at bol.com.br Thu Jan 28 13:05:26 2010 From: hh-brasil at bol.com.br (hh) Date: Thu, 28 Jan 2010 09:05:26 -0300 Subject: [texhax] create float based on longtable? In-Reply-To: References: Message-ID: <4B615356.4680.C0339D@hh-brasil.bol.com.br> How about this way: { \small \hfil\begin{tabular}[1]{|m{0.9\textwidth}|} ..... or even \hfil\begin{tabular}[1]{@{}|m{0.9\textwidth}|@{}} .... hh From: texhax-request at tug.org Subject: texhax Digest, Vol 2010, Issue 39 To: texhax at tug.org Send reply to: texhax at tug.org Date sent: Thu, 28 Jan 2010 12:00:01 +0100 > From: Christoph Haug > To: texhax at tug.org > Subject: [texhax] create float based on longtable? > Message-ID: > <7f5ddb201001271543g1fce7382g207b4c1e240cf91c at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > My question is how I can create a new float or environment which > behaves just like longtable (or perhaps xtabular?) only that it is not > treated as table (caption wise and list-of wise)? In other words: More > concretely: I would like to have an float called "example" which shows > "Example ..." in its caption and which is listed in a "List of > Examples" (rather than the list of tables). > > Here is the whole story: for my thesis, I created a new float called > "example" (I used \DeclareCaptionType from the caption package, but > this doesn't matter here, I think). The examples I create in the > document are listed in a "list of examples" and they are be boxed to > be set apart from the text. I also made them a bit narrower than > \textwidth. For the boxing I created a new environment based on > tabular and called it "exbox". I'll just paste the code here: > > \newenvironment{exbox}% > { > \small > \centering > \begin{tabular}[1]{|m{0.9\textwidth}|} > \hline > \smallskip > } > % > { > \smallskip > \\\hline > \end{tabular} > } > > Actually, the \centering doesn't work and I dont understand why... From christoph.haug at gmail.com Thu Jan 28 18:38:22 2010 From: christoph.haug at gmail.com (Christoph Haug) Date: Thu, 28 Jan 2010 18:38:22 +0100 Subject: [texhax] create float based on longtable? In-Reply-To: <20100128102800.GB25683@eureca.de> References: <7f5ddb201001271543g1fce7382g207b4c1e240cf91c@mail.gmail.com> <20100128102800.GB25683@eureca.de> Message-ID: <7f5ddb201001280938q398e6fd9j93933d069683a97c@mail.gmail.com> Thank you, Susan, for your quick response. 2010/1/28 Susan Dittmar : > Dear Christoph, > > it is impossible to have *floating* elements longer than a page. As far as I understood, that's the general rule, but then I thought longtable behaves like a float, but maybe I'm confusing the possibility to refer to longtables as "table 4.1" etc (using \cref and \caption). > But as far as I understand, you do not need those examples to float. well, it would be better if they float, since many of them are small enough to float around an hop into wherever they fit. An example should not be split if it is smaller than one page. > For boxing you > could use the framed or the boites packages. Both have restrictions for > use, and those restrictions differ. (In case you need translation of the > french comments in the boites package, I can send them to you.) I don't think the framed package will do the job, at least not if I want all examples to float. And if I use non-floating examples, I might aswell use longtable or supertabular (the latter even gives me the possibility to have a standardline at the bottom of a page "continued on next page" or so.) But let's assume for a moment that I decide manually, which examples should float (the small ones) and which dont (the long ones). How do I manage that both my floating and my non-floating examples use the same caption numbering and are listed in the same "list of examples"? Before I can even think about that question, I need to know how I can tell longtable or supertabular that it should use the "Example" as a caption rather than "Table" and use the corresponding list. Or rather---instead of changing the longtable environment---how do I create a "duplicate" of longtable (or supertabular) which behaves like an example (except that it doesn't float? Do you understand what I mean? > For the caption and naming/referencing part I would have a look at the AMS > theorem stuff. I never used it myself, but it sounds like solving a similar > problem. I never used it myself but looked at the amsthm package now. I couldn't see in what way it might be usefull. Could you explain? Best, Christoph > > Hope this helps, > > ? ? ? ?Susan > From barr at math.mcgill.ca Fri Jan 29 00:25:07 2010 From: barr at math.mcgill.ca (Michael Barr) Date: Thu, 28 Jan 2010 18:25:07 -0500 (EST) Subject: [texhax] The last character of a string Message-ID: Is there a simple way to find the last character of a string? Assume the string is brace delimited. What I want to do is add a period unless the string already ends in a period, question mark, or exclamation mark, but I don't see any way short of going through the string knocking off one character at a time. From pierre.mackay at comcast.net Fri Jan 29 01:22:52 2010 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Thu, 28 Jan 2010 16:22:52 -0800 Subject: [texhax] create float based on longtable? In-Reply-To: <7f5ddb201001280938q398e6fd9j93933d069683a97c@mail.gmail.com> References: <7f5ddb201001271543g1fce7382g207b4c1e240cf91c@mail.gmail.com> <20100128102800.GB25683@eureca.de> <7f5ddb201001280938q398e6fd9j93933d069683a97c@mail.gmail.com> Message-ID: <4B622A5C.8090409@comcast.net> On 01/28/2010 09:38 AM, Christoph Haug wrote: > Thank you, Susan, for your quick response. > > 2010/1/28 Susan Dittmar: > >> Dear Christoph, >> >> it is impossible to have *floating* elements longer than a page. >> > Since Susan Dittmar has at last brought the question up, it may help to note that way back in the dawn of TeX, DEK pointed out that \halign was primarily designed for matrix algebra and was, if anything, deprecated for general use. If you need a table to go beyond the limits of a page, or to be guaranteed to fall into a specific position on a page, the appropriate tool is \settable. It can take some careful design to insure that chunks of a table with differing offsets are all provided for, but if you don't want to do that, you can always terminate one section of a table, start and finish a variant section, and then copy the paradigm of the first table to start out again. Treat every line of the table as a paragraph and the page breaks will take care of themselves. Or \vfil\eject can be called in to play. After years of sweating blood over \halign, I gave up using it for purposes it was not really meant for about ten years ago, and I will quote, at the risk of seeming too self-satisfied, the reaction to one of my latest efforts: Brilliant work on these tables! The tables in question covered five pages. Pierre MacKay From pierre.mackay at comcast.net Fri Jan 29 01:42:08 2010 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Thu, 28 Jan 2010 16:42:08 -0800 Subject: [texhax] The last character of a string In-Reply-To: References: Message-ID: <4B622EE0.8040702@comcast.net> On 01/28/2010 03:25 PM, Michael Barr wrote: > Is there a simple way to find the last character of a string? Assume > the string is brace delimited. What I want to do is add a period > unless the string already ends in a period, question mark, or > exclamation mark, but I don't see any way short of going through the > string knocking off one character at a time. > _______________________________________________ > 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 > I assume that this has to be done within TeX. Otherwise it is a function of whatever editor you are using: It is a problem I often find, and I use the emacs "narrow-to-region" command. Find whatever triggers the opening brace, save the position and then (if there are no intervening paired braces) find the closing brace. Narrow to region, and then search just before the closing brace. It is very fast indeed. The need for this ability to narrow to a specific context is one of the reasons for providing specific *begin* and *end* macros in many contexts, rather than insisting that the context appear as a macro parameter. The LaTeX adapters of Ibycus have insisted on the macro parameter model, but in Plain Tex I stick with \GK{} and \RM{} which allow a clean "narrow-to-region" operation on any passage of any size. These macros make it possible to run efficiently through a long article and check the correctness of the Greek without having to scroll through all the non-Greek text. Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: From barr at math.mcgill.ca Fri Jan 29 01:57:30 2010 From: barr at math.mcgill.ca (Michael Barr) Date: Thu, 28 Jan 2010 19:57:30 -0500 (EST) Subject: [texhax] The last character of a string In-Reply-To: <4B622EE0.8040702@comcast.net> References: <4B622EE0.8040702@comcast.net> Message-ID: Yes, inside TeX. Since it pertains only to a few macros, I could search them by hand. An example is that I might get a paper to edit and it has \subjclass{...}. If it ends with a period, then I want to set it as is. If it doesn't, I want to add one. Some authors do the one and some do the other. Another one is \subsection{...} whose parameter might end in a period, a question mark, or even an exclamation point. Same issue. A few authors use \subsubsection. I am ambivalent about \section since the section headers are separated. If it were just my own work, I could be consistent, but I am TeX editor for an online journal. Michael On Thu, 28 Jan 2010, Pierre MacKay wrote: > On 01/28/2010 03:25 PM, Michael Barr wrote: >> Is there a simple way to find the last character of a string? Assume the >> string is brace delimited. What I want to do is add a period unless the >> string already ends in a period, question mark, or exclamation mark, but I >> don't see any way short of going through the string knocking off one >> character at a time. >> _______________________________________________ >> 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 >> > I assume that this has to be done within TeX. Otherwise it is a function of > whatever editor you are using: > > It is a problem I often find, and I use the emacs "narrow-to-region" command. > Find whatever triggers the opening brace, > save the position and then (if there are no intervening paired braces) find > the closing brace. Narrow to region, and then search just before the closing > brace. It is very fast indeed. > > The need for this ability to narrow to a specific context is one of the > reasons for providing specific *begin* and *end* macros in many contexts, > rather than insisting that the context appear as a macro parameter. The > LaTeX adapters of Ibycus have insisted on the macro parameter model, but in > Plain Tex I stick with \GK{} and \RM{} which allow a clean "narrow-to-region" > operation on any passage of any size. These macros make it possible to run > efficiently through a long article and check the correctness of the Greek > without having to scroll through all the non-Greek text. > > Pierre MacKay > > From chaa006 at gmail.com Fri Jan 29 11:11:30 2010 From: chaa006 at gmail.com (Philip TAYLOR) Date: Fri, 29 Jan 2010 10:11:30 +0000 Subject: [texhax] create float based on longtable? In-Reply-To: <4B62A482.5030502@Rhul.Ac.Uk> References: <7f5ddb201001271543g1fce7382g207b4c1e240cf91c@mail.gmail.com> <20100128102800.GB25683@eureca.de> <7f5ddb201001280938q398e6fd9j93933d069683a97c@mail.gmail.com> <4B622A5C.8090409@comcast.net> <4B62A482.5030502@Rhul.Ac.Uk> Message-ID: <4B62B452.1080403@Gmail.Com> Pierre MacKay wrote: > [...] If you need a table to go beyond the limits of a page, > or to be guaranteed to fall into a specific position on a page, the > appropriate tool is \settable. > After years of sweating blood over \halign, I gave up using it for > purposes it was not really meant for about ten years ago, and I will > quote, at the risk of seeming too self-satisfied, the reaction to one > of my latest efforts: > > Brilliant work on these tables! > > The tables in question covered five pages. May we see the source, Pierre ? I have never used \settable, but am more than willing to learn from a master typesetter ... ** Phil. From chaa006 at gmail.com Fri Jan 29 11:16:05 2010 From: chaa006 at gmail.com (Philip TAYLOR) Date: Fri, 29 Jan 2010 10:16:05 +0000 Subject: [texhax] The last character of a string In-Reply-To: <4B62A50B.6040603@Rhul.Ac.Uk> References: <4B622EE0.8040702@comcast.net> <4B62A50B.6040603@Rhul.Ac.Uk> Message-ID: <4B62B565.6080003@Gmail.Com> Maybe use virtual fonts, Michael, with ligatures between period and other punctuation flattening to a single glyph ? ** Phil. -------- Michael Barr wrote: > Yes, inside TeX. Since it pertains only to a few macros, I could > search them by hand. An example is that I might get a paper to edit > and it has \subjclass{...}. If it ends with a period, then I want to > set it as is. > If it doesn't, I want to add one. Some authors do the one and some do > the other. Another one is \subsection{...} whose parameter might end > in a period, a question mark, or even an exclamation point. Same > issue. A few authors use \subsubsection. I am ambivalent about > \section since the section headers are separated. If it were just my > own work, I could be consistent, but I am TeX editor for an online > journal. > Michael From P.Taylor at Rhul.Ac.Uk Fri Jan 29 12:53:10 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Fri, 29 Jan 2010 11:53:10 +0000 Subject: [texhax] The last character of a string In-Reply-To: References: <4B622EE0.8040702@comcast.net> <4B62A50B.6040603@Rhul.Ac.Uk> Message-ID: <4B62CC26.7010805@Rhul.Ac.Uk> Well, if you /really/ want the last token of a brace-delimited token list, I am pretty confident that that is the sort of problem that Kees van der Laan would have solved many years ago. I am cc'ing Kees, but you might like to try looking at online back issues of NTG's "MAPS" ("Minutes and Appendices"). ** Phil. -------- Michael Barr wrote: > On Fri, 29 Jan 2010, Philip TAYLOR wrote: > >> Maybe use virtual fonts, Michael, with ligatures >> between period and other punctuation flattening to >> a single glyph ? >> >> ** Phil. >> -------- > > Yes, that would work, but I have never set up a virtual font and I don't > think I am about to learn. It does seem like using an elephant gun on a > flea. > > Michael From peter.pagin at philosophy.su.se Fri Jan 29 13:51:00 2010 From: peter.pagin at philosophy.su.se (Peter Pagin) Date: Fri, 29 Jan 2010 13:51:00 +0100 Subject: [texhax] The last character of a string In-Reply-To: <4B62CC26.7010805@Rhul.Ac.Uk> References: <4B622EE0.8040702@comcast.net> <4B62A50B.6040603@Rhul.Ac.Uk> <4B62CC26.7010805@Rhul.Ac.Uk> Message-ID: <1EA0B51D-8BB7-4758-89CC-4CF5999FE9F2@philosophy.su.se> Maybe the coollist package would meet your needs. Peter On 29 jan 2010, at 12.53, Philip TAYLOR wrote: > Well, if you /really/ want the last token of a brace-delimited > token list, I am pretty confident that that is the sort of > problem that Kees van der Laan would have solved many years > ago. I am cc'ing Kees, but you might like to try looking > at online back issues of NTG's "MAPS" ("Minutes and Appendices"). > > ** Phil. > -------- > Michael Barr wrote: >> On Fri, 29 Jan 2010, Philip TAYLOR wrote: >> >>> Maybe use virtual fonts, Michael, with ligatures >>> between period and other punctuation flattening to >>> a single glyph ? >>> >>> ** Phil. >>> -------- >> >> Yes, that would work, but I have never set up a virtual font and I don't >> think I am about to learn. It does seem like using an elephant gun on a >> flea. >> >> Michael > _______________________________________________ > 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 -------------------- Peter Pagin Fellow at Institut d??tudes Avanc?es, IEA-Paris / Visiting researcher at Institut Jean-Nicod Professor Department of Philosophy, Stockholm University 106 91 Stockholm, Sweden tel: +46-8-162813, fax: +46-8-152226 email: peter.pagin at philosophy.su.se http://people.su.se/~ppagin/pagineng.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From uwe.lueck at web.de Fri Jan 29 17:11:21 2010 From: uwe.lueck at web.de (Uwe Lueck) Date: Fri, 29 Jan 2010 17:11:21 +0100 Subject: [texhax] The last character of a string Message-ID: <1302840709@web.de> Michael Barr schrieb am 29.01.2010 02:17:23: > Yes, inside TeX. Since it pertains only to a few macros, I could search > them by hand. An example is that I might get a paper to edit and it has > \subjclass{...}. If it ends with a period, then I want to set it as is. > If it doesn't, I want to add one. Some authors do the one and some do the > other. Another one is \subsection{...} whose parameter might end in a > period, a question mark, or even an exclamation point. Same issue. A few > authors use \subsubsection. I am ambivalent about \section since the > section headers are separated. If it were just my own work, I could be > consistent, but I am TeX editor for an online journal. \let\OrdSubsection\subsection \def\subsection{\let\AfterPunctTest\OrdSubsection \MaybeAddPunct} %% and the like with: \newif\ifPunct \def\MaybeAddPunct#1{% \Punctfalse \TestDot#1\TestEnd.\TestEnd\TestStop \TestQuestM#1\TestEnd?\TestEnd\TestStop \TestExclaM#1\TestEnd!\TestEnd\TestStop \AfterPunctTest{#1\ifPunct \else .\fi}% } \def\TestDot#1.\TestEnd#2\TestStop{\TestPunct{#2}} \def\TestQuestM#1?\TestEnd#2\TestStop{\TestPunct{#2}} \def\TestExclaM#1!\TestEnd#2\TestStop{\TestPunct{#2}} \def\TestPunct#1{\ifx\TestPunct#1\TestPunct\else\Puncttrue\fi} HTH -- Uwe. P.S.: with optional arguments ... > On Thu, 28 Jan 2010, Pierre MacKay wrote: > > > On 01/28/2010 03:25 PM, Michael Barr wrote: > >> Is there a simple way to find the last character of a string? Assume the > >> string is brace delimited. What I want to do is add a period unless the > >> string already ends in a period, question mark, or exclamation mark, but I > >> don't see any way short of going through the string knocking off one > >> character at a time. > >> > > I assume that this has to be done within TeX. Otherwise it is a function of > > whatever editor you are using: > > > > It is a problem I often find, and I use the emacs "narrow-to-region" command. > > Find whatever triggers the opening brace, > > save the position and then (if there are no intervening paired braces) find > > the closing brace. Narrow to region, and then search just before the closing > > brace. It is very fast indeed. > > > > The need for this ability to narrow to a specific context is one of the > > reasons for providing specific *begin* and *end* macros in many contexts, > > rather than insisting that the context appear as a macro parameter. The > > LaTeX adapters of Ibycus have insisted on the macro parameter model, but in > > Plain Tex I stick with \GK{} and \RM{} which allow a clean "narrow-to-region" > > operation on any passage of any size. These macros make it possible to run > > efficiently through a long article and check the correctness of the Greek > > without having to scroll through all the non-Greek text. > > > > Pierre MacKay From backer at psych.uib.no Fri Jan 29 19:20:17 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Fri, 29 Jan 2010 19:20:17 +0100 Subject: [texhax] MikTex 2.8 and Windows 2.8 In-Reply-To: <19295.35409.783752.258925@zaphod.ms25.net> References: <4B5AB1AC.6070409@psych.uib.no> <4B5B155E.2050500@psych.uib.no> <19291.35585.554926.461924@zaphod.ms25.net> <4B5EFBED.30605@psych.uib.no> <19295.35409.783752.258925@zaphod.ms25.net> Message-ID: <4B6326E1.2000200@psych.uib.no> More on the same problem: Summary: I am unable to install the "Basic miktex 2.8" on Windows (both 7 and NT) running in a Parallells virtual machine on a MacBook Pro. Some reflections on what had happened lead me to think that there are than more sources of errrors here. One is the download itself, which seems to break down easily, leading to an incomplete download. This is on what I regard as a very good connection at my office at my university (Bergen, Norway), one which has never given any problems before. In other words, I do have a problem with the downloads from the MikTeX mirrors to the Mac. In order to eliminate possible problems there, I downloaded the file to a different machine (my Windows domenico web server), transferred the file to a memory stick, and attempted to install the file on the Mac from the memory stick. I started the install program on the Mac from the same file on the memory stick three times. The install broke down at different places, but each time with the same error, "Windows API error 2: The system cannot find the file specified": First time: miktex-dict-english.tpm Second: miktex-omega-bin-2.8.tpm Third: miktex-bin-2.8.tpm In other words, the error is variable. Thinking that the connection to the memory stick itself might be a problem, I then copied the install file to a file in the virtual machine, and then got the same message, but referring to a still different file: miktex-hunspell-bin-2.8.tpm. A second attempt from this install file gave the same error as the first attempt above. Strange. I am way out of my depth here, but could it be that the machine is simply too fast for the install program? I have very limited experience with Apple and OSX (bought the machine a month ago, but I have used Windows machines intensively from the very beginning), but I have never encountered anything like this before with any other installs. Tom Reinhard Kotucha wrote: > On 26 January 2010 Tom Backer Johnsen wrote: > > > When using the Basic installer downloaded (using Mozilla Firefox, > > version 3.6) from the server in Denmark I get the error message: > > > > ...\mik23586\euenc.tar.lzma > > I don't see any error message. Sorry. > > Regards, > Reinhard > > From senthil.debian at gmail.com Fri Jan 29 20:07:06 2010 From: senthil.debian at gmail.com (Senthil Kumar M) Date: Fri, 29 Jan 2010 14:07:06 -0500 Subject: [texhax] Separate numbering of supplementary tables Message-ID: <56b822011001291107u6d32d301m349d0912feaf6928@mail.gmail.com> Hi, The journal that I am submitting my manuscript to requires that the supplementary tables be numbered separately from the ``main'' tables in the manuscript. For example, I need something like: ...results are given in Table 2 (for a more comprehensive list, please see STable 1 in the supplementary information). (a) How do I change the style of the table name for supplementary tables alone? If I use \renewcommand{\tablename}{STable} then how do I go back to``Table 3'' when I \ref{tab:three} for a ``main'' table later in the above example? (b) How do I keep the table numbers of ``main'' and supplementary tables separate? Thanks in advance, Senthil -/ It was a confusion of ideas between him and one of the lions he was hunting in Kenya that had caused A. B. Spottsworth to make the obituary column. He thought the lion was dead, and the lion thought it wasn't. -- P. G. Wodehouse, Ring for Jeeves (1953). From asnd at triumf.ca Fri Jan 29 20:25:25 2010 From: asnd at triumf.ca (Donald Arseneau) Date: 29 Jan 2010 11:25:25 -0800 Subject: [texhax] The last character of a string In-Reply-To: References: Message-ID: Michael Barr writes: > Is there a simple way to find the last character of a string? You have to scan through the tokens from first to last. > What I want to do is add a period unless the string already > ends in a period, question mark, or exclamation mark, Oh that's easy -- check the value of \spacefactor. Easy, but not 100% reliable. -- Donald Arseneau asnd at triumf.ca From asnd at triumf.ca Fri Jan 29 20:26:12 2010 From: asnd at triumf.ca (Donald Arseneau) Date: 29 Jan 2010 11:26:12 -0800 Subject: [texhax] The last character of a string In-Reply-To: References: Message-ID: Michael Barr writes: > Is there a simple way to find the last character of a string? You have to scan through the tokens from first to last. > What I want to do is add a period unless the string already > ends in a period, question mark, or exclamation mark, Oh that's easy -- check the value of \spacefactor. Easy, but not 100% reliable. -- Donald Arseneau asnd at triumf.ca From mr_heller at yahoo.dk Fri Jan 29 20:29:23 2010 From: mr_heller at yahoo.dk (Martin Heller) Date: Fri, 29 Jan 2010 20:29:23 +0100 Subject: [texhax] Separate numbering of supplementary tables In-Reply-To: <56b822011001291107u6d32d301m349d0912feaf6928@mail.gmail.com> References: <56b822011001291107u6d32d301m349d0912feaf6928@mail.gmail.com> Message-ID: Senthil Kumar M wrote: > (a) How do I change the style of the table name for supplementary > tables alone? If I use \renewcommand{\tablename}{STable} then how do I > go back to``Table 3'' when I \ref{tab:three} for a ``main'' table > later in the above example? > > (b) How do I keep the table numbers of ``main'' and supplementary > tables separate? Make a new float for the STables. The float package defines \newfloat that makes the job easy: From senthil.debian at gmail.com Fri Jan 29 21:19:12 2010 From: senthil.debian at gmail.com (Senthil Kumar M) Date: Fri, 29 Jan 2010 15:19:12 -0500 Subject: [texhax] Separate numbering of supplementary tables In-Reply-To: References: <56b822011001291107u6d32d301m349d0912feaf6928@mail.gmail.com> Message-ID: <56b822011001291219r702e6bf4saab1cc9553a06354@mail.gmail.com> On Fri, Jan 29, 2010 at 2:29 PM, Martin Heller wrote: > Senthil Kumar M wrote: > >> (a) How do I change the style of the table name for supplementary >> tables alone? If I use \renewcommand{\tablename}{STable} then how do I >> go back to``Table 3'' when I \ref{tab:three} for a ``main'' table >> later in the above example? >> >> (b) How do I keep the table numbers of ``main'' and supplementary >> tables separate? > > Make a new float for the STables. The float package defines \newfloat that > ?makes the job easy: > > Hi Martin, It is just what I needed. It works perfectly. Thanks, Senthil -/ Scarcely had I entered the sitting-room when I found ... what appeared at first sight to be the Devil, A closer scrutiny informed me that it was Gussie Fink-Nottle, dressed as Mephistopheles. -- P. G. Wodehouse, Right Ho, Jeeves (1934) From 5mgfreestore at gmail.com Fri Jan 29 22:02:45 2010 From: 5mgfreestore at gmail.com (File Store) Date: Fri, 29 Jan 2010 15:02:45 -0600 Subject: [texhax] ? Message-ID: I need to put a letter c at the top right corner of $$\widetilde{B}_j^i$$ I type ${\widetilde{B}_^i}^c$ it does not work. When I type $$\widetilde{B}_j^{i^c}$$ it looks somehow ok but there must be a right way of wrting it. Consider first $$A^c$$ How can I have the same look with $$\widetilde{B}_j^i$$ instead of $A$ in $A^c$ ? We put a letter 'c' at the top right corner of the a set to denote it's complement if you are familier with set theory. -------------- next part -------------- An HTML attachment was scrubbed... URL: From reinhard.kotucha at web.de Fri Jan 29 23:40:34 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Fri, 29 Jan 2010 23:40:34 +0100 Subject: [texhax] The last character of a string In-Reply-To: References: Message-ID: <19299.25570.985298.115984@zaphod.ms25.net> On 29 January 2010 Donald Arseneau wrote: > Michael Barr writes: > > > Is there a simple way to find the last character of a string? > > You have to scan through the tokens from first to last. This sounds difficult at a first glance, but fortunately the LaTeX kernel provides a macro (\@tfor, defined in ltcntrl.dtx) which might be useful here. Here an example file... \documentclass{article} \makeatletter \@tfor\token := abcd \do {\edef\lasttoken{\token}} \show\lasttoken \stop ...and the result: > \lasttoken=macro: ->d. l.4 \show\lasttoken If the token list is a macro, it has to be expanded in advance: \def\list{abcd} \expandafter\@tfor\expandafter\token\expandafter :\expandafter=\list \do {\edef\lasttoken{\token}} This could be a starting point. It saves a lot of work, at least. > > What I want to do is add a period unless the string already > > ends in a period, question mark, or exclamation mark, > > Oh that's easy -- check the value of \spacefactor. > Easy, but not 100% reliable. Problematic with \frenchspacing where \spacefactor is always 1000. Maybe one should put \let\frenchspacing\relax into the preamble if the document contains contributions from many authors. BTW, another option is to pre-process the files using a scripting language like Perl, Python, or Lua. Many problems can be solved easier this way. Suppose you have a solution already for determining the last token in a macro. Now you want to remove spaces in front of exclamation/questionmarks too. It's very easy to solve these problems with regular expressions. This is one of the reasons I'm so much interested in LuaTeX. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From P.Taylor at Rhul.Ac.Uk Sat Jan 30 00:14:00 2010 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Fri, 29 Jan 2010 23:14:00 +0000 Subject: [texhax] ? In-Reply-To: References: Message-ID: <4B636BB8.5070408@Rhul.Ac.Uk> File Store wrote: > I need to put a letter c at the top right corner of > $$\widetilde{B}_j^i$$ Does this look about right ? $$\widetilde{B}_j^{i^{\scriptstyle c}}$$ Philip Taylor From hh-brasil at bol.com.br Sat Jan 30 14:18:22 2010 From: hh-brasil at bol.com.br (hh) Date: Sat, 30 Jan 2010 10:18:22 -0300 Subject: [texhax] ? In-Reply-To: References: Message-ID: <4B64076E.4093.B1816@hh-brasil.bol.com.br> Try $\widetilde B_j^{ic}$ or $\widetilde B_j^{i^c} hh From: texhax-request at tug.org Subject: texhax Digest, Vol 2010, Issue 43 To: texhax at tug.org Send reply to: texhax at tug.org Date sent: Sat, 30 Jan 2010 12:00:02 +0100 > > I need to put a letter c at the top right corner of > > $$\widetilde{B}_j^i$$ > > I type > > ${\widetilde{B}_^i}^c$ From fscholz at u.washington.edu Fri Jan 29 19:35:36 2010 From: fscholz at u.washington.edu (Fritz Scholz) Date: Fri, 29 Jan 2010 10:35:36 -0800 Subject: [texhax] weird LaTeX behavior Message-ID: <1264790136.5637.6.camel@leibniz> I did not know where to direct this, if there is a place, please let me know. The following code segment gives me problems in running it (in Linux as well Windows XP) \documentclass{article} \begin{document} \begin{eqnarray} [a,c) &=& B\\ [g,f) &=& G \end{eqnarray} \end{document} Comments: it appears the problem is the second [. It works fine if I replace it by \;[ or (. I suspect it has to do with \\ followed by [ Is this normal behavior? Best regards Fritz Scholz From axel-freyn at gmx.de Sat Jan 30 16:43:21 2010 From: axel-freyn at gmx.de (Axel Freyn) Date: Sat, 30 Jan 2010 16:43:21 +0100 Subject: [texhax] weird LaTeX behavior In-Reply-To: <1264790136.5637.6.camel@leibniz> References: <1264790136.5637.6.camel@leibniz> Message-ID: <20100130154321.GK19793@axel> Hello, > The following code segment gives me problems in running it > (in Linux as well Windows XP) > > \documentclass{article} > > \begin{document} > > \begin{eqnarray} > [a,c) &=& B\\ > [g,f) &=& G > \end{eqnarray} > > \end{document} > > > Comments: it appears the problem is the second [. > It works fine if I replace it by \;[ or (. > I suspect it has to do with \\ followed by [ > > Is this normal behavior? Yes, I think so. "\\" accepts optional a parameter -- the vertical space which will be added after the line (e.g. \\[2cm]). The way the LaTeX-parser works, it is allowed to add a newline between "\\" and "[" -- and nevertheless LaTeX will understand [ as indicating a parameter-list for the linebreak "\\". So, your best solution is probably to add some other character(s) between "\\" and "[", which will prevent this effect. I would recommend something like e.g. "\\{}[" oder "\\{[}" which will not influence the result. Best regard, Axel From mr_heller at yahoo.dk Sat Jan 30 17:09:25 2010 From: mr_heller at yahoo.dk (Martin Heller) Date: Sat, 30 Jan 2010 17:09:25 +0100 Subject: [texhax] weird LaTeX behavior In-Reply-To: <1264790136.5637.6.camel@leibniz> References: <1264790136.5637.6.camel@leibniz> Message-ID: Fritz Scholz wrote: > The following code segment gives me problems in running it > (in Linux as well Windows XP) > > \documentclass{article} > > \begin{document} > > \begin{eqnarray} > [a,c) &=& B\\ > [g,f) &=& G > \end{eqnarray} > > \end{document} > > > Comments: it appears the problem is the second [. > It works fine if I replace it by \;[ or (. > I suspect it has to do with \\ followed by [ > It is well known and use of eqnarray should generally be avoided for several reasons: . Use align from amsmath instead: \documentclass{article} \usepackage{mathtools} \begin{document} Bad spacing \begin{eqnarray} [a,c) &=& B\\\relax [g,f) &=& G \end{eqnarray} Correct spacing \begin{align} [a,c) &= B\\ [g,f) &= G \end{align} \end{document} From uwe.lueck at web.de Sat Jan 30 17:15:19 2010 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sat, 30 Jan 2010 17:15:19 +0100 Subject: [texhax] The last character of a string In-Reply-To: References: Message-ID: <5.1.0.14.0.20100130170842.025e6540@pop3.web.de> At 20:26 29.01.10, Donald Arseneau wrote: >Michael Barr writes: > > > Is there a simple way to find the last character of a string? > >You have to scan through the tokens from first to last. Sometimes I think you don't read my postings (I may know why, sometimes you gave the same advice that I gave earlier). I demonstrated how to test whether a certain token is the the last one without scanning the list. > > What I want to do is add a period unless the string already > > ends in a period, question mark, or exclamation mark, > >Oh that's easy -- check the value of \spacefactor. >Easy, but not 100% reliable. That's right! Even if you prefer \frenchspacing, you can assign a \spacefactor of 1001 to the dot etc. Cheers, Uwe. From uwe.lueck at web.de Sat Jan 30 17:27:47 2010 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sat, 30 Jan 2010 17:27:47 +0100 Subject: [texhax] Awful looking output In-Reply-To: <5.1.0.14.0.20091015200920.028ba260@pop3.web.de> References: <5.1.0.14.0.20091014124353.02942da0@pop3.web.de> <19157.7946.803900.653264@zaphod.ms25.net> <4AD44AC8.22031.EAA92E@hh-brasil.bol.com.br> Message-ID: <5.1.0.14.0.20100130172223.025eba00@pop3.web.de> At 19:10 15.10.09, Uwe L?ck wrote: >Sorry, my below was a /question/: sure that TeX does any kerning in $WH$? >(/?/) In the meantime I studied Appendix G of the TeXbook closely. According to Rule 14 kerning is applied indeed. So the fault for Michaels lament is the kerning table of the math italic font, as others said. Michael, choose another one! Cheers, Uwe. >At 13:20 14.10.09, Uwe L?ck wrote: >>At 06:30 13.10.09, Oleg Katsitadze wrote: >>>On Mon, Oct 12, 2009 at 01:13:32PM -0400, Michael Barr wrote: >>> > Try this: >>> > $HW=WH$ >>> > >>> > Don't TeX's kerning tables usually do a better job than this. >>> >>>Well, that's the kerning for the math italic font. >> >>At 02:44 14.10.09, Reinhard Kotucha wrote: >>>On 13 October 2009 Michael Barr wrote: >>> > All this is true, but the point was that you should not put math >>> formulas >>> > in \mathit (which is for italic text) or, at any rate, you should >>> not have >>> > to do so. It is arguable that it was the WH that was wrong since there >>> > was not enough space and it looked like text, not math mode. Whatever, >>> > TeX is supposed to work out the spacing automatically and doesn't. >>> >>>No. Kerning tables have nothing to do with TeX at all. They are font >>>specific. TeX uses whatever is in the .tfm files, regardless where >>>they come from. >> >>Are all of you sure that TeX uses any kerning table in $HW=WH$. Please >>look at Appendix G of the TeXbook, "Generating Boxex from Formulas". >> >>My impression is that TeX does /not/ do any kerning here -- because it >>would be a bad idea. Kerning is good within words and only there. Kerning >>between two letters that are to represent a product or a composition >>would be confusing, making the misleading impression the two letters >>formed an /atomic/ name with an own meaning, similar to, e.g., "mod" or >>(in category theory) "ker". >> >>On the other hand, I think there /is/ something awful here: the way TeX >>deals with slanted symbols and fonts. Same problem with $\overline{H}$ >>and that you sometimes have to deal with italic corrections (setting them >>with plainTeX or avoiding them with LaTeX). TeX treats a slanted symbol >>as a /box/ (|box|), a /rectangle/ (|rectangle|). This is why $WH$ is >>wider than $HW$ (slanted "W" has its leftmost "dot" at its top, "H" at >>its bottom). Wouldn't it be nicer if it treated it as a /parallelogram/? >>(/parallelogram/ indeed!) Trying to set them as close as possible? >> >>Cheers, >> >> Uwe. >> >>_______________________________________________ >>TeX FAQ: http://www.tex.ac.uk/faq >>Mailing list archives: http://tug.org/pipermail/texhax/ >>More links: http://tug.org/begin.html >> >>Automated subscription management: http://tug.org/mailman/listinfo/texhax >>Human mailing list managers: postmaster at tug.org > >_______________________________________________ >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 backer at psych.uib.no Sat Jan 30 18:56:33 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sat, 30 Jan 2010 18:56:33 +0100 Subject: [texhax] texmakerx, and mactex Message-ID: <4B6472D1.3030104@psych.uib.no> Gentlepersons: I have a problem with the configuration of TeXmakerx on a MacBook Pro. Does anyone have any pointers to a list, web sites, wikis or other means of getting information? Tom From herbs at wideopenwest.com Sat Jan 30 20:43:12 2010 From: herbs at wideopenwest.com (Herbert Schulz) Date: Sat, 30 Jan 2010 13:43:12 -0600 Subject: [texhax] texmakerx, and mactex In-Reply-To: <4B6472D1.3030104@psych.uib.no> References: <4B6472D1.3030104@psych.uib.no> Message-ID: On Jan 30, 2010, at 11:56 AM, Tom Backer Johnsen wrote: > Gentlepersons: > > I have a problem with the configuration of TeXmakerx on a MacBook Pro. Does anyone have any pointers to a list, web sites, wikis or other means of getting information? > > Tom Howdy, There is documentation at that may be of help. What TeX distribution are you using? Have you tried other front ends? TeXShop? Lyx? Etc? Good Luck, Herb Schulz (herbs at wideopenwest dot com) From backer at psych.uib.no Sat Jan 30 21:27:36 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sat, 30 Jan 2010 21:27:36 +0100 Subject: [texhax] texmakerx, and mactex In-Reply-To: References: <4B6472D1.3030104@psych.uib.no> Message-ID: <4B649638.1020307@psych.uib.no> The TeX distribution I have installed is MacTeX, which has Tex Live at the bottom. What happens is that when TeXMakerx is installed, the correct links to Latex, PdfLatex etc. are not found. Being a Mac newbie I bought the machine about a month ago and are struggling to some extent. I have trouble finding the correct settings. I do not quite like TexShop, but at least it works out of the box on my machine. On the other hand, I want something with tabs in the editor for handling projects with several files. I do not think TeXShop can handle that as far as I have seen up to now. As to Lyx, I tried that one some years ago, I prefer a pure LaTeX setup. I'll have at the link you suggested. Thanks! Tom Herbert Schulz wrote: > On Jan 30, 2010, at 11:56 AM, Tom Backer Johnsen wrote: > > >> Gentlepersons: >> >> I have a problem with the configuration of TeXmakerx on a MacBook Pro. Does anyone have any pointers to a list, web sites, wikis or other means of getting information? >> >> Tom >> > > Howdy, > > There is documentation at that may be of help. > > What TeX distribution are you using? Have you tried other front ends? TeXShop? Lyx? Etc? > > Good Luck, > > Herb Schulz > (herbs at wideopenwest dot 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 reinhard.kotucha at web.de Sun Jan 31 00:13:47 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 31 Jan 2010 00:13:47 +0100 Subject: [texhax] texmakerx, and mactex In-Reply-To: <4B649638.1020307@psych.uib.no> References: <4B6472D1.3030104@psych.uib.no> <4B649638.1020307@psych.uib.no> Message-ID: <19300.48427.351023.636544@zaphod.ms25.net> On 30 January 2010 Tom Backer Johnsen wrote: > The TeX distribution I have installed is MacTeX, which has Tex Live > at the bottom. What happens is that when TeXMakerx is installed, > the correct links to Latex, PdfLatex etc. are not found. Being a > Mac newbie I bought the machine about a month ago and are > struggling to some extent. I have trouble finding the correct > settings. Nice to hear that you succeeded to install and are using MacTeX now. It's certainly better than running Windows on a virtual machine. I briefly looked at http://texmakerx.sourceforge.net/#contact and they mention a "TexMakerX forum" there. This is certainly the best place to ask for TexMakerX specific help. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From asnd at triumf.ca Sun Jan 31 00:47:28 2010 From: asnd at triumf.ca (Donald Arseneau) Date: 30 Jan 2010 15:47:28 -0800 Subject: [texhax] The last character of a string In-Reply-To: <5.1.0.14.0.20100130170842.025e6540@pop3.web.de> References: <5.1.0.14.0.20100130170842.025e6540@pop3.web.de> Message-ID: Uwe L?ck writes: > Sometimes I think you don't read my postings (I may know why, You have to realize that posting does not imply receiving, especially when question and answer may end up in different digests. I don't recall the timing of those messages, but I assure you you are not on a spam-block nor do I have any ill motives. > I demonstrated how to test whether a certain token is the the > last one without scanning the list. Indeed a much better answer. -- Donald Arseneau asnd at triumf.ca From herbs at wideopenwest.com Sun Jan 31 03:47:53 2010 From: herbs at wideopenwest.com (Herbert Schulz) Date: Sat, 30 Jan 2010 20:47:53 -0600 Subject: [texhax] texmakerx, and mactex In-Reply-To: <4B649638.1020307@psych.uib.no> References: <4B6472D1.3030104@psych.uib.no> <4B649638.1020307@psych.uib.no> Message-ID: On Jan 30, 2010, at 2:27 PM, Tom Backer Johnsen wrote: > The TeX distribution I have installed is MacTeX, which has Tex Live at the bottom. What happens is that when TeXMakerx is installed, the correct links to Latex, PdfLatex etc. are not found. Being a Mac newbie I bought the machine about a month ago and are struggling to some extent. I have trouble finding the correct settings. > > I do not quite like TexShop, but at least it works out of the box on my machine. On the other hand, I want something with tabs in the editor for handling projects with several files. I do not think TeXShop can handle that as far as I have seen up to now. As to Lyx, I tried that one some years ago, I prefer a pure LaTeX setup. > > I'll have at the link you suggested. Thanks! > > Tom > > > Herbert Schulz wrote: >> On Jan 30, 2010, at 11:56 AM, Tom Backer Johnsen wrote: >> >> >>> Gentlepersons: >>> >>> I have a problem with the configuration of TeXmakerx on a MacBook Pro. Does anyone have any pointers to a list, web sites, wikis or other means of getting information? >>> >>> Tom >>> >> >> Howdy, >> >> There is documentation at that may be of help. >> >> What TeX distribution are you using? Have you tried other front ends? TeXShop? Lyx? Etc? >> >> Good Luck, >> >> Herb Schulz >> (herbs at wideopenwest dot com) >> > Howdy, If you need to set the path to some of the programs (most likely) the path will be /usr/texbin; e.g., the path to pdflatex would be /usr/texbin/pdflatex. The path to things like ps2pdf is /usr/local/bin so /usr/local/bin/ps2pdf. Good Luck, Herb Schulz (herbs at wideopenwest dot com) From backer at psych.uib.no Sun Jan 31 10:24:39 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sun, 31 Jan 2010 10:24:39 +0100 Subject: [texhax] texmakerx, and mactex In-Reply-To: <19300.48427.351023.636544@zaphod.ms25.net> References: <4B6472D1.3030104@psych.uib.no> <4B649638.1020307@psych.uib.no> <19300.48427.351023.636544@zaphod.ms25.net> Message-ID: <4B654C57.9070403@psych.uib.no> Thanks for the pointer. Yes, I was aware of that forum, but I had problems with logging on to sourceforge, something that is (I think solved) now. I'll look into that possibility. Nevertheless, it was strange that I was not able to install basic MikTeX in the Windows virtual machine (see the previous thread). Tom Reinhard Kotucha wrote: > On 30 January 2010 Tom Backer Johnsen wrote: > > > The TeX distribution I have installed is MacTeX, which has Tex Live > > at the bottom. What happens is that when TeXMakerx is installed, > > the correct links to Latex, PdfLatex etc. are not found. Being a > > Mac newbie I bought the machine about a month ago and are > > struggling to some extent. I have trouble finding the correct > > settings. > > Nice to hear that you succeeded to install and are using MacTeX now. > It's certainly better than running Windows on a virtual machine. > > I briefly looked at > > http://texmakerx.sourceforge.net/#contact > > and they mention a "TexMakerX forum" there. This is certainly the > best place to ask for TexMakerX specific help. > > Regards, > Reinhard > > From backer at psych.uib.no Sun Jan 31 10:31:57 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sun, 31 Jan 2010 10:31:57 +0100 Subject: [texhax] texmakerx, and mactex In-Reply-To: References: <4B6472D1.3030104@psych.uib.no> <4B649638.1020307@psych.uib.no> Message-ID: <4B654E0D.9050308@psych.uib.no> Thanks, that message got me a bit closer. I evidently have to learn something about references to catalogs/directories on OSX. I now manage to run Latex on a relatively large project. So far, so good. But when I try PdfLatex with TeXmakerx I get some weird messages where the first one is "Undefined control sequence \documentclass". And no pdf output. So, I am not there yet. Tom Herbert Schulz wrote: > On Jan 30, 2010, at 2:27 PM, Tom Backer Johnsen wrote: > > >> The TeX distribution I have installed is MacTeX, which has Tex Live at the bottom. What happens is that when TeXMakerx is installed, the correct links to Latex, PdfLatex etc. are not found. Being a Mac newbie I bought the machine about a month ago and are struggling to some extent. I have trouble finding the correct settings. >> >> I do not quite like TexShop, but at least it works out of the box on my machine. On the other hand, I want something with tabs in the editor for handling projects with several files. I do not think TeXShop can handle that as far as I have seen up to now. As to Lyx, I tried that one some years ago, I prefer a pure LaTeX setup. >> >> I'll have at the link you suggested. Thanks! >> >> Tom >> >> >> Herbert Schulz wrote: >> >>> On Jan 30, 2010, at 11:56 AM, Tom Backer Johnsen wrote: >>> >>> >>> >>>> Gentlepersons: >>>> >>>> I have a problem with the configuration of TeXmakerx on a MacBook Pro. Does anyone have any pointers to a list, web sites, wikis or other means of getting information? >>>> >>>> Tom >>>> >>>> >>> Howdy, >>> >>> There is documentation at that may be of help. >>> >>> What TeX distribution are you using? Have you tried other front ends? TeXShop? Lyx? Etc? >>> >>> Good Luck, >>> >>> Herb Schulz >>> (herbs at wideopenwest dot com) >>> >>> > > Howdy, > > If you need to set the path to some of the programs (most likely) the path will be /usr/texbin; e.g., the path to pdflatex would be /usr/texbin/pdflatex. The path to things like ps2pdf is /usr/local/bin so /usr/local/bin/ps2pdf. > > Good Luck, > > Herb Schulz > (herbs at wideopenwest dot 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 burt at brandeis.edu Sun Jan 31 14:13:27 2010 From: burt at brandeis.edu (John Burt) Date: Sun, 31 Jan 2010 08:13:27 -0500 (EST) Subject: [texhax] texmakerx, and mactex In-Reply-To: <1651738036.1458581264943545944.JavaMail.root@zimbra-store-4.unet.brandeis.edu> Message-ID: <2124157779.1458601264943607078.JavaMail.root@zimbra-store-4.unet.brandeis.edu> I think the problem is that you have set texmakerx to run pdftex rather than pdflatex. In TeXshop, which I use, it's easy to pick which one runs by making a choice in the typeset menu. I assume it's just as easy in texmakerx. From reinhard.kotucha at web.de Sun Jan 31 14:46:10 2010 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 31 Jan 2010 14:46:10 +0100 Subject: [texhax] texmakerx, and mactex In-Reply-To: <4B654E0D.9050308@psych.uib.no> References: <4B6472D1.3030104@psych.uib.no> <4B649638.1020307@psych.uib.no> <4B654E0D.9050308@psych.uib.no> Message-ID: <19301.35234.762386.40728@zaphod.ms25.net> On 31 January 2010 Tom Backer Johnsen wrote: > Thanks, that message got me a bit closer. I evidently have to learn > something about references to catalogs/directories on OSX. I now manage > to run Latex on a relatively large project. So far, so good. But when > I try PdfLatex with TeXmakerx I get some weird messages where the first > one is "Undefined control sequence \documentclass". And no pdf > output. So, I am not there yet. It seems that you are running [pdf]tex instead of pdflatex. Please note that \documentclass is a latex command which is undefined in plain tex. See: http://texmakerx.svn.sourceforge.net/viewvc/texmakerx/trunk/utilities/usermanual_en.html?content-type=text%2Fhtml Are the settings described in section 1.2 correct? 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 herbs at wideopenwest.com Sun Jan 31 14:56:21 2010 From: herbs at wideopenwest.com (Herbert Schulz) Date: Sun, 31 Jan 2010 07:56:21 -0600 Subject: [texhax] texmakerx, and mactex In-Reply-To: <4B654E0D.9050308@psych.uib.no> References: <4B6472D1.3030104@psych.uib.no> <4B649638.1020307@psych.uib.no> <4B654E0D.9050308@psych.uib.no> Message-ID: <657D6C17-4FF9-4C9A-8105-B8ADA310F628@wideopenwest.com> On Jan 31, 2010, at 3:31 AM, Tom Backer Johnsen wrote: > Thanks, that message got me a bit closer. I evidently have to learn something about references to catalogs/directories on OSX. I now manage to run Latex on a relatively large project. So far, so good. But when I try PdfLatex with TeXmakerx I get some weird messages where the first one is "Undefined control sequence \documentclass". And no pdf output. So, I am not there yet. > > Tom > Howdy, Well... that sounds like you are running pdftex rather than pdflatex. Good Luck, Herb Schulz (herbs at wideopenwest dot com) From backer at psych.uib.no Sun Jan 31 15:43:51 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sun, 31 Jan 2010 15:43:51 +0100 Subject: [texhax] texmakerx, and mactex In-Reply-To: <657D6C17-4FF9-4C9A-8105-B8ADA310F628@wideopenwest.com> References: <4B6472D1.3030104@psych.uib.no> <4B649638.1020307@psych.uib.no> <4B654E0D.9050308@psych.uib.no> <657D6C17-4FF9-4C9A-8105-B8ADA310F628@wideopenwest.com> Message-ID: <4B659727.3020801@psych.uib.no> Thanks! That did the trick. I's funny how easy it is to overlook small details! Tom Herbert Schulz wrote: > On Jan 31, 2010, at 3:31 AM, Tom Backer Johnsen wrote: > > >> Thanks, that message got me a bit closer. I evidently have to learn something about references to catalogs/directories on OSX. I now manage to run Latex on a relatively large project. So far, so good. But when I try PdfLatex with TeXmakerx I get some weird messages where the first one is "Undefined control sequence \documentclass". And no pdf output. So, I am not there yet. >> >> Tom >> >> > > Howdy, > > Well... that sounds like you are running pdftex rather than pdflatex. > > Good Luck, > > Herb Schulz > (herbs at wideopenwest dot 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 backer at psych.uib.no Sun Jan 31 19:10:44 2010 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Sun, 31 Jan 2010 19:10:44 +0100 Subject: [texhax] texmakerx, and mactex In-Reply-To: <4B655783.1227.4ED100@hh-brasil.bol.com.br> References: <4B655783.1227.4ED100@hh-brasil.bol.com.br> Message-ID: <4B65C7A4.5060909@psych.uib.no> I am not exactly a beginner. I have used LaTeX for years, but up to very recently only on Windows machines, mainly using WinEdt and TeXnicCenter. In general have used PC's since the early 80's, way before Windows arrived. Even so I find it a clear advantage to use an editor dedicated to the generation of a pdf file from LaTeX source. That eliminates a lot of problems that may become a distraction from the main thing, writing a text. There are so many things that can go wrong with LaTeX, e.g. pairs of brackets , options, \begin - \end pairs, spell checking, etc. So, no thank you, in my opinion GUI type programs have clear advantages over a terminal window alone. I am very grateful that some people take the trouble to develop and maintain such programs. Tom hh wrote: > Is there no chance to generate the pdf- file from the ps-file? > (after latex file.tex -> file.dvi -> dvips file -> file.ps) > hh > > In other OS there are free "translaters" (e.g. FreePdf in Windows XP) > hh > > PS: I prefer to avoid the implemented GUI and run LaTeX from a > Windows Terminal (prompt?). > But that would be probably bad advise for a beginner. > > From: texhax-request at tug.org > Subject: texhax Digest, Vol 2010, Issue 45 > To: texhax at tug.org > Send reply to: texhax at tug.org > Date sent: Sun, 31 Jan 2010 12:00:01 +0100 > > >> From: Tom Backer Johnsen >> To: Herbert Schulz >> Cc: texhax Hax >> Subject: Re: [texhax] texmakerx, and mactex >> Message-ID: <4B654E0D.9050308 at psych.uib.no> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Thanks, that message got me a bit closer. I evidently have to learn >> something about references to catalogs/directories on OSX. I now manage >> to run Latex on a relatively large project. So far, so good. But when >> I try PdfLatex with TeXmakerx I get some weird messages where the first >> one is "Undefined control sequence \documentclass". And no pdf >> output. So, I am not there yet. >> > > >