From joelcsalomon at gmail.com Wed Jul 1 02:05:27 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Tue, 30 Jun 2009 20:05:27 -0400 Subject: [texhax] Tweaking BibLaTeX sorting Message-ID: <4A4AA847.8050704@gmail.com> I?ve got two books in my bibliography by the same author and published in the same year: ?Modern Control Systems? and ?Advanced Modern Control Systems?, and I?d like ?Modern? to come before ?Advanced Modern? in the listing. I tried the no-sorting option in BibLaTeX, but that gave me something like: Thor, A.U. (1998b) Modern Control Systems etc. etc. ? (1998a) Advanced Modern Control Systems etc. etc. Notice that the first reference listed is labeled ?1998b??not what I?m looking for! I found a bunch of sorting option in the BibLaTeX docs, but I couldn?t figure this bit out. I don?t want this to affect the sorting of anything else in the list. Thanks, ?Joel Salomon From joelcsalomon at gmail.com Wed Jul 1 03:00:14 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Tue, 30 Jun 2009 21:00:14 -0400 Subject: [texhax] Biblatex: cite title: subtitle Message-ID: <4A4AB51E.9030503@gmail.com> Is there a veariant or relative of \citetitle that will list title = "Optimal Control Theory", subtitle = "An Introduction", as /Optimal Control Theory: An Introduction/, or do I need to include the subtitle in the title to do that? I already know I?ll need to \renewcommand{\subtitlepunct}{: }. ?Joel Salomon From joelcsalomon at gmail.com Wed Jul 1 03:05:19 2009 From: joelcsalomon at gmail.com (Joel C. Salomon) Date: Tue, 30 Jun 2009 21:05:19 -0400 Subject: [texhax] Tweaking BibLaTeX sorting In-Reply-To: <4A4AA847.8050704@gmail.com> References: <4A4AA847.8050704@gmail.com> Message-ID: <4A4AB64F.8080607@gmail.com> Joel C. Salomon wrote: > I?ve got two books in my bibliography by the same author and published > in the same year: ?Modern Control Systems? and ?Advanced Modern Control > Systems?, and I?d like ?Modern? to come before ?Advanced Modern? in the > listing. Figured it out; I set title = {Modern Control Systems}, sorttitle = {AAvanced Modern Control Systems}, Thanks, ?Joel Salomon From rodolfo.medina at gmail.com Wed Jul 1 12:34:06 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Wed, 01 Jul 2009 11:34:06 +0100 Subject: [texhax] A question about \halign Message-ID: <878wj8sndt.fsf@gmail.com> Hi all. In plain TeX, I have the following problem: I have the following alignment: \halign to \hsize{% \vtop{\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} \bye Now, I want that, when the first argument is very long and continues over a second line, the second argument is put on the second line as well (in the above example it is put on the first line, instead). Please help about this matter. Thanks in advance Rodolfo From rodolfo.medina at gmail.com Wed Jul 1 13:24:04 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Wed, 01 Jul 2009 12:24:04 +0100 Subject: [texhax] AMSTeX installation Message-ID: <87prckprxn.fsf@gmail.com> I wish to try a feature of AMSTeX (in particular, I wish to try the poor man's bold font), but without actually installing it in my system yet. Can any AMSTeX user out there suggest how to perform a local installation of the AMSTeX files (in the home directory), just to get it a try? Thanks for any help Rodolfo From tsc25 at cantab.net Wed Jul 1 11:44:55 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Wed, 01 Jul 2009 11:44:55 +0200 Subject: [texhax] Cleveref bug with primed equations In-Reply-To: <4A4A7228.1080607@gmail.com> References: <4A4A7228.1080607@gmail.com> Message-ID: <4A4B3017.1050005@dr-qubit.org> Dear Joel, Joel C. Salomon wrote: > Here???s a simple example of what I???m trying to do: [snip] > \begin{equation} > \label{eq:pythsolve} > \tag{\ref{eq:pyth}${}'$} > c=\sqrt{a^2 + b^2}. > \end{equation} [snip] > %This reference fails: \cref{eq:pythsolve}. > %This one too: \eqref{eq:pythsolve}. > %Even this one: (\ref{eq:pythsolve}). Thanks for reporting the issue, and for providing a nice minimal example of the problem. I've uploaded a new version of the cleveref package to my web site (www.dr-qubit.org/latex.php) which I believe fixes it. Let me know if it works for you, and I'll update CTAN to the new version. In general, I would recommend sending bug reports directly to the package author in the first instance, without copying them to the texhax mailing list. It useless noise for more or less everyone on the list other than the package author him/herself. If the package author has gone AWOL and you receive no response, there might then be an argument for asking the mailing list about it. (I'm copying this to the list so that there's some kind of closure in the list archives.) All the best, Toby From tsc25 at cantab.net Wed Jul 1 11:45:07 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Wed, 01 Jul 2009 11:45:07 +0200 Subject: [texhax] Cleveref bug with primed equations In-Reply-To: <4A4A7228.1080607@gmail.com> References: <4A4A7228.1080607@gmail.com> Message-ID: <4A4B3023.5030907@dr-qubit.org> Dear Joel, Joel C. Salomon wrote: > Here???s a simple example of what I???m trying to do: [snip] > \begin{equation} > \label{eq:pythsolve} > \tag{\ref{eq:pyth}${}'$} > c=\sqrt{a^2 + b^2}. > \end{equation} [snip] > %This reference fails: \cref{eq:pythsolve}. > %This one too: \eqref{eq:pythsolve}. > %Even this one: (\ref{eq:pythsolve}). Thanks for reporting the issue, and for providing a nice minimal example of the problem. I've uploaded a new version of the cleveref package to my web site (www.dr-qubit.org/latex.php) which I believe fixes it. Let me know if it works for you, and I'll update CTAN to the new version. In general, I would recommend sending bug reports directly to the package author in the first instance, without copying them to the texhax mailing list. It useless noise for more or less everyone on the list other than the package author him/herself. If the package author has gone AWOL and you receive no response, there might then be an argument for asking the mailing list about it. (I'm copying this to the list so that there's some kind of closure in the list archives.) All the best, Toby From uwe.lueck at web.de Wed Jul 1 12:48:41 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Wed, 01 Jul 2009 12:48:41 +0200 Subject: [texhax] =?iso-8859-15?q?fatal_errors_with_footnote_italics_for_c?= =?iso-8859-15?q?ritical_edition?= Message-ID: <1162315653@web.de> schrieb am 30.06.2009 16:51:08: > For a critical edition (Mac OS, ledmac, TeXShop, all latest versions) with double > footnotes, my B footnotes are vulnerable to random "fatal errors" when text is > italicized. These fatal errors tend to happen when B footnotes follow A > footnotes, or when B footnotes reach some kind of length or formatting limit. > The error disappears when the italicization is removed. > > Error first, preamble next. Both \textit and my macro \I generate the same > error. Other macros: \edt = \edtext \A = Afootnote \B = Bfootnote > > \edt{ananas}{\A{\I{Ananasses} F; Anana's H}}{\B{pineapples (Fr. \I{ananas})}}, > \edt{which to my taste}{\A{\sout{I} to H; which, to my taste, F}} > > (./Letter19final.aux) > (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/ot1ptm.fd) Section 1 > (./Letter19final.1) > ! TeX capacity exceeded, sorry [input stack size=5000]. > \@nomath ...e \@font at warning {Command \noexpand #1 > invalid in math mode}\fi > l.43 ...nana's H}}{\B{pineapples (Fr. \I{ananas})} > }, \edt{which to my taste}... > > ! ==> Fatal error occurred, no output PDF file produced! > Transcript written on Letter19final.log. > > \documentclass[12pt]{article} > \title{Turkish Embassy Letters} > \author{ed. Rebecca Chung} > \renewcommand{\rmdefault}{ptm} > > \newcommand{\A}{\Afootnote} > \newcommand{\B}{\Bfootnote} > \newcommand{\edt}{\edtext} > \newcommand{\I}{\textit} > \newcommand{\U}{\uline} > \newcommand{\OED}{(\I{OED})} > \newcommand{\CL}{\I{Complete Letters}} > > \usepackage{ledmac} schrieb am 01.07.2009 00:44:15: > I'm wrong - it's not nested. The double footnotes are set up to work like this. I > can add multiple B footnotes to \edt with no trouble: \edt{} {\A{}}{\B}}{\B{}}. > > ---- Original message ---- > >Date: Tue, 30 Jun 2009 21:41:12 +0200 > >From: Uwe Lueck > >Subject: Re: [texhax] fatal errors with footnote italics for critical edition > >To: crebecca at uchicago.edu, texhax > > > > schrieb am 30.06.2009 16:51:08: > >> > >> Other macros: \edt = \edtext \A = Afootnote \B = Bfootnote > >> > >> \edt{ananas}{\A{\I{Ananasses} F; Anana's H}}{\B{pineapples (Fr. \I{ananas})}}, > > > >I cannot afford analyzing this in detail right now, but the footnote commands > must be in the second argument of \edtext=\edt, while here it ends before \B, > it looks as if \B were in a third argument of \edt, but it simply is a footnote > command in some braces group somewhere in the main text. You may avoid a > "fatal error" dropping italicization, but I expect that something strange will > happen even then, as long as you don't obey the proper syntax. I still don't understand what ledmac internally does, but if you append additional footnotes behind \edt{...}{...} instead of putting them into the second argument, this could be the reason for problems with italics. The second argument is subject to \no at expands within a group, and \no at expands especially suppresses expansion of font switching commands. I think it would be worth trying the following: 1. Put all footnote commands into the second argument of \edt=\edtext 2. In your document preamble, place \renewcommand{\let\textit=0} This extends \no at expands. If you get problems with \uline as well: \renewcommand{\let\textit=0\let\uline=0} and so on when new problems appear. Or \let\I=0 if you really never use \textit. HTH -- Uwe. From asnd at triumf.ca Wed Jul 1 13:08:37 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 01 Jul 2009 04:08:37 -0700 Subject: [texhax] A question about \halign In-Reply-To: <878wj8sndt.fsf@gmail.com> References: <878wj8sndt.fsf@gmail.com> Message-ID: Rodolfo Medina writes: > \halign to \hsize{% > \vtop{\parindent=0pt\hsize=105mm\hangindent 0em\strut#\hfill\strut}% > \tabskip=0cm plus20cm minus20cm&\hfil#\tabskip=0pt\cr > > > Now, I want that, when the first argument is very long and continues over a > second line, the second argument is put on the second line as well (in the > above example it is put on the first line, instead). Then use \vbox, not \vtop. -- Donald Arseneau asnd at triumf.ca From s.schwartz at imperial.ac.uk Wed Jul 1 14:04:51 2009 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Wed, 01 Jul 2009 13:04:51 +0100 Subject: [texhax] AMSTeX installation In-Reply-To: <87prckprxn.fsf@gmail.com> References: <87prckprxn.fsf@gmail.com> Message-ID: <1246449891.4666.35.camel@sony-sjs.sp.ph.ic.ac.uk> Rodolfo, Here's poor man's bold (from Knuth's TeXbook): \def\pmb#1{\setbox0=\hbox{#1} \kern-.02em\copy0\kern-\wd0\kern.03em\copy0\kern-\wd0 \kern-.015em\raise.03em\box0} It typsets its argument 3 times, each shifted slightly. Not ideal, but it works when there's no real bold version of what you have. Put the above \def in your .tex file (e.g., in your preamble) and then use as, for example \pmb{\beta} HTH Steve PS I'll leave it to others to advise on how to install you own local copy of AMSTeX, though if you use latex you should be able to simply put the amstex.sty or amsbsy.sty files from the amslatex in the same folder as your .tex file and latex will find it. Better would be to put it in a folder pointed to by the TEXINPUTS environment variable. I would suspect, though, that they are probably already in your latex distribution and simply putting \usepackage{amstex} in your preamble will enable your distribution to find it. To get more help, provide some minimal details, e.g., platform, (la)tex distribution, etc., etc.) On Wed, 2009-07-01 at 12:24 +0100, Rodolfo Medina wrote: > I wish to try a feature of AMSTeX (in particular, I wish to try the poor man's > bold font), but without actually installing it in my system yet. Can any > AMSTeX user out there suggest how to perform a local installation of the AMSTeX > files (in the home directory), just to get it a try? > > Thanks for any help > Rodolfo > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Head, Space & Atmospheric Physics Fax: +44-(0)20-7594-7900 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 711A London SW7 2AZ, U.K. Web: www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From mahi2308 at rediffmail.com Wed Jul 1 14:04:57 2009 From: mahi2308 at rediffmail.com (mahi) Date: 1 Jul 2009 12:04:57 -0000 Subject: [texhax] tables to be split over multiple pages Message-ID: <20090701120457.2993.qmail@f4mail-234-230.rediffmail.com> Hi I am mixtex user, is there any option for tables to be split over multiple pages in two column mode, other than longtable.sty and supertabular.sty. Thanks Maheshwari -------------- next part -------------- An HTML attachment was scrubbed... URL: From Susan.Dittmar at gmx.de Wed Jul 1 14:19:28 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Wed, 1 Jul 2009 14:19:28 +0200 Subject: [texhax] tables to be split over multiple pages In-Reply-To: <20090701120457.2993.qmail@f4mail-234-230.rediffmail.com> References: <20090701120457.2993.qmail@f4mail-234-230.rediffmail.com> Message-ID: <20090701121928.GD16645@eureca.de> > I am mixtex user, is there any option for tables to be split over > multiple pages in two column mode, other than longtable.sty and > supertabular.sty. As far as I know there is no way to have long tabulars (tabulars with automatic 'page' breaks) in any form of multicolumn layout. Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From bnb at ams.org Wed Jul 1 15:00:47 2009 From: bnb at ams.org (Barbara Beeton) Date: Wed, 1 Jul 2009 09:00:47 -0400 (EDT) Subject: [texhax] AMSTeX installation In-Reply-To: <87prckprxn.fsf@gmail.com> References: <87prckprxn.fsf@gmail.com> Message-ID: I wish to try a feature of AMSTeX (in particular, I wish to try the poor man's bold font), but without actually installing it in my system yet. steve schwartz has already answered with the macro for \pmb . the amstex definition is based on knuth's. Can any AMSTeX user out there suggest how to perform a local installation of the AMSTeX files (in the home directory), just to get it a try? if your tex installation is based on tex live, then amstex is already on your system. i'm assuming that you really mean *ams-tex* and not *ams-latex*. structure your file like this: \input amstex \documentstyle{amsppt} \document ... \enddocument you can get a brief manual for ams-tex via a link at http://www.ams.org/tex/amstex.html it shows only the basics though, not specific commands like \pmb . if you really meant ams-latex, \pmb is defined in the amsbsy package, so \usepackage{amsbsy} will make it available to you. -- bb From vafa at users.berlios.de Wed Jul 1 13:18:30 2009 From: vafa at users.berlios.de (Vafa Khalighi) Date: Wed, 1 Jul 2009 21:18:30 +1000 Subject: [texhax] fatal errors with footnote italics for critical edition In-Reply-To: <1162315653@web.de> References: <1162315653@web.de> Message-ID: <7ac5ed450907010418k7e6d595bk446f1b93904ce94d@mail.gmail.com> I am ill. Please give me a few days then I will look at the issue and provide an answer. Best Wishes, Vafa -------------- next part -------------- An HTML attachment was scrubbed... URL: From uwe.lueck at web.de Wed Jul 1 16:24:52 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 01 Jul 2009 16:24:52 +0200 Subject: [texhax] fatal errors with footnote italics for critical edition In-Reply-To: <20090701085645.BQN25618@m4500-03.uchicago.edu> References: <1162315653@web.de> <1162315653@web.de> Message-ID: <5.1.0.14.0.20090701162059.028f7d50@pop3.web.de> Sorry, mistyped, must be: 1. Put all footnote commands into the second argument of \edt=\edtext 2. In your document preamble, place \renewcommand{\morenoexpands}{\let\textit=0} This extends \no at expands. If you get problems with \uline as well: \renewcommand{\morenoexpands}{\let\textit=0\let\uline=0} and so on when new problems appear. Or \let\I=0 if you really never use \textit. HTH -- Uwe. At 15:56 01.07.09, crebecca at uchicago.edu wrote: >pdfteXk doesn't accept > >\renewcommand{\let\textit=0} > >---- Original message ---- > >Date: Wed, 01 Jul 2009 12:48:41 +0200 > >From: Uwe Lueck > >Subject: Re: [texhax] fatal errors with footnote italics for critical > edition > >To: crebecca at uchicago.edu, texhax > >Cc: Vafa Khalighi > > > > schrieb am 30.06.2009 16:51:08: > >> For a critical edition (Mac OS, ledmac, TeXShop, all latest versions) > with >double > >> footnotes, my B footnotes are vulnerable to random "fatal errors" when > text >is > >> italicized. These fatal errors tend to happen when B footnotes follow A > >> footnotes, or when B footnotes reach some kind of length or formatting >limit. > >> The error disappears when the italicization is removed. > >> > >> Error first, preamble next. Both \textit and my macro \I generate the > same > >> error. Other macros: \edt = \edtext \A = Afootnote \B = Bfootnote > >> > >> \edt{ananas}{\A{\I{Ananasses} F; Anana's H}}{\B{pineapples (Fr. > \I{ananas})}}, > >> \edt{which to my taste}{\A{\sout{I} to H; which, to my taste, F}} > >> > >> (./Letter19final.aux) > >> (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/ot1ptm.fd) Section 1 > >> (./Letter19final.1) > >> ! TeX capacity exceeded, sorry [input stack size=5000]. > >> \@nomath ...e \@font at warning {Command \noexpand #1 > >> invalid in math > mode}\fi > >> l.43 ...nana's H}}{\B{pineapples (Fr. \I{ananas})} > >> }, \edt{which to my > taste}... > >> > >> ! ==> Fatal error occurred, no output PDF file produced! > >> Transcript written on Letter19final.log. > >> > >> \documentclass[12pt]{article} > >> \title{Turkish Embassy Letters} > >> \author{ed. Rebecca Chung} > >> \renewcommand{\rmdefault}{ptm} > >> > >> \newcommand{\A}{\Afootnote} > >> \newcommand{\B}{\Bfootnote} > >> \newcommand{\edt}{\edtext} > >> \newcommand{\I}{\textit} > >> \newcommand{\U}{\uline} > >> \newcommand{\OED}{(\I{OED})} > >> \newcommand{\CL}{\I{Complete Letters}} > >> > >> \usepackage{ledmac} > > > > schrieb am 01.07.2009 00:44:15: > >> I'm wrong - it's not nested. The double footnotes are set up to work > like >this. I > >> can add multiple B footnotes to \edt with no trouble: \edt{} > {\A{}}{\B}}{\B{}}. > >> > >> ---- Original message ---- > >> >Date: Tue, 30 Jun 2009 21:41:12 +0200 > >> >From: Uwe Lueck > >> >Subject: Re: [texhax] fatal errors with footnote italics for critical > edition > >> >To: crebecca at uchicago.edu, texhax > >> > > >> > schrieb am 30.06.2009 16:51:08: > >> >> > >> >> Other macros: \edt = \edtext \A = Afootnote \B = Bfootnote > >> >> > >> >> \edt{ananas}{\A{\I{Ananasses} F; Anana's H}}{\B{pineapples (Fr. >\I{ananas})}}, > >> > > >> >I cannot afford analyzing this in detail right now, but the footnote >commands > >> must be in the second argument of \edtext=\edt, while here it ends before >\B, > >> it looks as if \B were in a third argument of \edt, but it simply is a > footnote > >> command in some braces group somewhere in the main text. You may avoid >a > >> "fatal error" dropping italicization, but I expect that something > strange will > >> happen even then, as long as you don't obey the proper syntax. > > > >I still don't understand what ledmac internally does, but if you append >additional footnotes behind \edt{...}{...} instead of putting them into >the second >argument, this could be the reason for problems with italics. The second >argument is subject to \no at expands within a group, and \no at expands >especially suppresses expansion of font switching commands. I think it would >be worth trying the following: > > > >1. Put all footnote commands into the second argument of \edt=\edtext > > > >2. In your document preamble, place > > > > \renewcommand{\let\textit=0} > > > >This extends \no at expands. If you get problems with \uline as well: > > > > \renewcommand{\let\textit=0\let\uline=0} > > > >and so on when new problems appear. Or \let\I=0 if you really never use >\textit. From uwe.lueck at web.de Wed Jul 1 18:35:31 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 01 Jul 2009 18:35:31 +0200 Subject: [texhax] fatal errors with footnote italics for critical edition In-Reply-To: <20090701110409.BQN39814@m4500-03.uchicago.edu> References: <5.1.0.14.0.20090701162059.028f7d50@pop3.web.de> <1162315653@web.de> <1162315653@web.de> <5.1.0.14.0.20090701162059.028f7d50@pop3.web.de> Message-ID: <5.1.0.14.0.20090701182156.029052e0@pop3.web.de> At 18:04 01.07.09, crebecca at uchicago.edu wrote: >still getting an error message - but a different one. > >! LaTeX Error: \morenoexpands undefined. You may have put the \renewcommand line *above* \usepackage{ledmac}, I think so also because: >> > schrieb am 30.06.2009 16:51:08: >> >> >> >> \documentclass[12pt]{article} >> >> \title{Turkish Embassy Letters} >> >> \author{ed. Rebecca Chung} >> >> \renewcommand{\rmdefault}{ptm} >> >> >> >> \newcommand{\A}{\Afootnote} >> >> \newcommand{\B}{\Bfootnote} >> >> \newcommand{\edt}{\edtext} >> >> \newcommand{\I}{\textit} >> >> \newcommand{\U}{\uline} >> >> \newcommand{\OED}{(\I{OED})} >> >> \newcommand{\CL}{\I{Complete Letters}} >> >> >> >> \usepackage{ledmac} If so, you must reverse this order. More generally, you better *first* load packages and *then* define your own commands because packages sometimes define commands without \newcommand and then may redefine your commands without telling you, and then you may wonder what is wrong with your definition. We had such a case here due to nameref.sty which is so naughty to load \AtBeginDocument only and then may override private definitions from the preamble without telling. >See the LaTeX manual or LaTeX Companion for explanation. >Type H for immediate help. > ... > >l.5 \renewcommand{\morenoexpands} > {\let\textit=0} >? >! TeX capacity exceeded, sorry [input stack size=5000]. > > morenoexpands >l.15 \renewcommand{\let\textit=0} I do not understand this entirely, but it makes me guess that you haven't removed my wrong line (you should do so). Lucky TeXing, Uwe. >---- Original message ---- > >Date: Wed, 01 Jul 2009 16:24:52 +0200 > >From: Uwe L?ck > >Subject: Re: [texhax] fatal errors with footnote italics for critical > edition > >To: > >Cc: texhax at tug.org > > > >Sorry, mistyped, must be: > > > >1. Put all footnote commands into the second argument of \edt=\edtext > > > >2. In your document preamble, place > > > > \renewcommand{\morenoexpands}{\let\textit=0} > > > >This extends \no at expands. If you get problems with \uline as well: > > > > \renewcommand{\morenoexpands}{\let\textit=0\let\uline=0} > > > >and so on when new problems appear. Or \let\I=0 if you really never use > >\textit. > > > >HTH -- Uwe. > > > > > >At 15:56 01.07.09, crebecca at uchicago.edu wrote: > >>pdfteXk doesn't accept > >> > >>\renewcommand{\let\textit=0} > >> > >>---- Original message ---- > >> >Date: Wed, 01 Jul 2009 12:48:41 +0200 > >> >From: Uwe Lueck > >> >Subject: Re: [texhax] fatal errors with footnote italics for critical > >> edition > >> >To: crebecca at uchicago.edu, texhax > >> >Cc: Vafa Khalighi > >> > > >> > schrieb am 30.06.2009 16:51:08: > >> >> For a critical edition (Mac OS, ledmac, TeXShop, all latest versions) > >> with > >>double > >> >> footnotes, my B footnotes are vulnerable to random "fatal errors" when > >> text > >>is > >> >> italicized. These fatal errors tend to happen when B footnotes > follow A > >> >> footnotes, or when B footnotes reach some kind of length or formatting > >>limit. > >> >> The error disappears when the italicization is removed. > >> >> > >> >> Error first, preamble next. Both \textit and my macro \I generate the > >> same > >> >> error. Other macros: \edt = \edtext \A = Afootnote \B = Bfootnote > >> >> > >> >> \edt{ananas}{\A{\I{Ananasses} F; Anana's H}}{\B{pineapples (Fr. > >> \I{ananas})}}, > >> >> \edt{which to my taste}{\A{\sout{I} to H; which, to my taste, F}} > >> >> > >> >> (./Letter19final.aux) > >> >> (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/ot1ptm.fd) >Section 1 > >> >> (./Letter19final.1) > >> >> ! TeX capacity exceeded, sorry [input stack size=5000]. > >> >> \@nomath ...e \@font at warning {Command \noexpand #1 > >> >> invalid in math > >> mode}\fi > >> >> l.43 ...nana's H}}{\B{pineapples (Fr. \I{ananas})} > >> >> }, \edt{which to my > >> taste}... > >> >> > >> >> ! ==> Fatal error occurred, no output PDF file produced! > >> >> Transcript written on Letter19final.log. > >> >> > >> >> \documentclass[12pt]{article} > >> >> \title{Turkish Embassy Letters} > >> >> \author{ed. Rebecca Chung} > >> >> \renewcommand{\rmdefault}{ptm} > >> >> > >> >> \newcommand{\A}{\Afootnote} > >> >> \newcommand{\B}{\Bfootnote} > >> >> \newcommand{\edt}{\edtext} > >> >> \newcommand{\I}{\textit} > >> >> \newcommand{\U}{\uline} > >> >> \newcommand{\OED}{(\I{OED})} > >> >> \newcommand{\CL}{\I{Complete Letters}} > >> >> > >> >> \usepackage{ledmac} From uwe.lueck at web.de Wed Jul 1 19:28:40 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 01 Jul 2009 19:28:40 +0200 Subject: [texhax] fatal errors with footnote italics for critical edition In-Reply-To: <20090701114922.BQN45392@m4500-03.uchicago.edu> References: <5.1.0.14.0.20090701182156.029052e0@pop3.web.de> <5.1.0.14.0.20090701162059.028f7d50@pop3.web.de> <1162315653@web.de> <1162315653@web.de> <5.1.0.14.0.20090701162059.028f7d50@pop3.web.de> <5.1.0.14.0.20090701182156.029052e0@pop3.web.de> Message-ID: <5.1.0.14.0.20090701191439.028d83e0@pop3.web.de> At 18:49 01.07.09, crebecca at uchicago.edu wrote: >Nothing changes when I move around the preamble elements - > it's still \moreexpands undefined. > >I noticed you kindly forwarded my question, and at least I know now the >problem isn't a simple one. It should be simple considering that dealing with font changes is a typical requirement here that has been met in ledmac and EDMAC form their birth on. The problem with my advice is that I had not installed ledmac and have no ready test file for it. I guessed from the documentation that the line \let\morenoexpands\relax is overridden later (there is some \newcommand{\morenoexpands}...). Now I have generated ledmac.sty and see that it is not, sorry. So please try \usepackage{ledmac} ... \newcommand{\morenoexpands}{\let\textit=0} i.e., remove the `r' and the `e'. Good luck! (and best wishes to Vafa) Uwe. >---- Original message ---- > >Date: Wed, 01 Jul 2009 18:35:31 +0200 > >From: Uwe L?ck > >Subject: Re: [texhax] fatal errors with footnote italics for critical > edition > >To: > >Cc: texhax at tug.org > > > >At 18:04 01.07.09, crebecca at uchicago.edu wrote: > >>still getting an error message - but a different one. > >> > >>! LaTeX Error: \morenoexpands undefined. > > > >You may have put the \renewcommand line *above* \usepackage{ledmac}, I > >think so also because: > > > > >> > schrieb am 30.06.2009 16:51:08: > > >> >> > > >> >> \documentclass[12pt]{article} > > >> >> \title{Turkish Embassy Letters} > > >> >> \author{ed. Rebecca Chung} > > >> >> \renewcommand{\rmdefault}{ptm} > > >> >> > > >> >> \newcommand{\A}{\Afootnote} > > >> >> \newcommand{\B}{\Bfootnote} > > >> >> \newcommand{\edt}{\edtext} > > >> >> \newcommand{\I}{\textit} > > >> >> \newcommand{\U}{\uline} > > >> >> \newcommand{\OED}{(\I{OED})} > > >> >> \newcommand{\CL}{\I{Complete Letters}} > > >> >> > > >> >> \usepackage{ledmac} > > > >If so, you must reverse this order. More generally, you better *first* load > >packages and *then* define your own commands because packages >sometimes > >define commands without \newcommand and then may redefine your >commands > >without telling you, and then you may wonder what is wrong with your > >definition. We had such a case here due to nameref.sty which is so naughty > >to load \AtBeginDocument only and then may override private definitions > >from the preamble without telling. > > > >>See the LaTeX manual or LaTeX Companion for explanation. > >>Type H for immediate help. > >> ... > >> > >>l.5 \renewcommand{\morenoexpands} > >> {\let\textit=0} > >>? > >>! TeX capacity exceeded, sorry [input stack size=5000]. > >> > >> morenoexpands > >>l.15 \renewcommand{\let\textit=0} > > > >I do not understand this entirely, but it makes me guess that you haven't > >removed my wrong line (you should do so). > > > >Lucky TeXing, > > > > Uwe. > > > >>---- Original message ---- > >> >Date: Wed, 01 Jul 2009 16:24:52 +0200 > >> >From: Uwe L??ck > >> >Subject: Re: [texhax] fatal errors with footnote italics for critical > >> edition > >> >To: > >> >Cc: texhax at tug.org > >> > > >> >Sorry, mistyped, must be: > >> > > >> >1. Put all footnote commands into the second argument of \edt=\edtext > >> > > >> >2. In your document preamble, place > >> > > >> > \renewcommand{\morenoexpands}{\let\textit=0} > >> > > >> >This extends \no at expands. If you get problems with \uline as well: > >> > > >> > \renewcommand{\morenoexpands}{\let\textit=0\let\uline=0} > >> > > >> >and so on when new problems appear. Or \let\I=0 if you really never use > >> >\textit. > >> > > >> >HTH -- Uwe. > >> > > >> > > >> >At 15:56 01.07.09, crebecca at uchicago.edu wrote: > >> >>pdfteXk doesn't accept > >> >> > >> >>\renewcommand{\let\textit=0} > >> >> > >> >>---- Original message ---- > >> >> >Date: Wed, 01 Jul 2009 12:48:41 +0200 > >> >> >From: Uwe Lueck > >> >> >Subject: Re: [texhax] fatal errors with footnote italics for critical > >> >> edition > >> >> >To: crebecca at uchicago.edu, texhax > >> >> >Cc: Vafa Khalighi > >> >> > > >> >> > schrieb am 30.06.2009 16:51:08: > >> >> >> For a critical edition (Mac OS, ledmac, TeXShop, all latest > versions) > >> >> with > >> >>double > >> >> >> footnotes, my B footnotes are vulnerable to random "fatal errors" >when > >> >> text > >> >>is > >> >> >> italicized. These fatal errors tend to happen when B footnotes > >> follow A > >> >> >> footnotes, or when B footnotes reach some kind of length or >formatting > >> >>limit. > >> >> >> The error disappears when the italicization is removed. > >> >> >> > >> >> >> Error first, preamble next. Both \textit and my macro \I generate >the > >> >> same > >> >> >> error. Other macros: \edt = \edtext \A = Afootnote \B = >Bfootnote > >> >> >> > >> >> >> \edt{ananas}{\A{\I{Ananasses} F; Anana's H}}{\B{pineapples (Fr. > >> >> \I{ananas})}}, > >> >> >> \edt{which to my taste}{\A{\sout{I} to H; which, to my taste, F}} > >> >> >> > >> >> >> (./Letter19final.aux) > >> >> >> (/usr/local/texlive/2008/texmf-dist/tex/latex/psnfss/ot1ptm.fd) > >>Section 1 > >> >> >> (./Letter19final.1) > >> >> >> ! TeX capacity exceeded, sorry [input stack size=5000]. > >> >> >> \@nomath ...e \@font at warning {Command \noexpand #1 > >> >> >> invalid in math > >> >> mode}\fi > >> >> >> l.43 ...nana's H}}{\B{pineapples (Fr. \I{ananas})} > >> >> >> }, \edt{which > to my > >> >> taste}... > >> >> >> > >> >> >> ! ==> Fatal error occurred, no output PDF file produced! > >> >> >> Transcript written on Letter19final.log. > >> >> >> > >> >> >> \documentclass[12pt]{article} > >> >> >> \title{Turkish Embassy Letters} > >> >> >> \author{ed. Rebecca Chung} > >> >> >> \renewcommand{\rmdefault}{ptm} > >> >> >> > >> >> >> \newcommand{\A}{\Afootnote} > >> >> >> \newcommand{\B}{\Bfootnote} > >> >> >> \newcommand{\edt}{\edtext} > >> >> >> \newcommand{\I}{\textit} > >> >> >> \newcommand{\U}{\uline} > >> >> >> \newcommand{\OED}{(\I{OED})} > >> >> >> \newcommand{\CL}{\I{Complete Letters}} > >> >> >> > >> >> >> \usepackage{ledmac} > > > > > > > > >-------------------------- >Rebecca Chung >crebecca at uchicago.edu >chung at iit.edu > >if you receive this message in error, >please notify crebecca at uchicago.edu >and support at uchicago.edu From wa2n at nrar.net Thu Jul 2 01:24:16 2009 From: wa2n at nrar.net (wawan) Date: Thu, 2 Jul 2009 06:24:16 +0700 Subject: [texhax] Font Table Message-ID: Hi all Where I can find the font table in Latex ? I need to know, charX is assosiated with what chars ( a ...z,A...Z) eg Char1 is 'a', char2 is 'b' etc Thanks -- ===================== http://wa2n.nrar.net http://artikelit.com http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Thu Jul 2 01:40:15 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 01 Jul 2009 18:40:15 -0500 Subject: [texhax] Font Table In-Reply-To: References: Message-ID: <1734D54C-3983-4B09-A4BA-B808C687AA68@mac.com> On 1 Jul, 2009, at 18:24, wawan wrote: > Hi all > Where I can find the font table in Latex ? > I need to know, charX is assosiated with what chars ( a ...z,A...Z) > eg Char1 is 'a', char2 is 'b' etc \documentclass{article} \usepackage[T1]{fontenc} \usepackage{fonttable} \begin{document} \fonttable{cmr10}%%% <- tfm name of the font \end{document} See fonttable.pdf in http://www.ctan.org/tex-archive/macros/latex/contrib/fonttable/ Best, Axel From bev at eyremail.net Thu Jul 2 05:43:28 2009 From: bev at eyremail.net (Beverley Eyre) Date: Wed, 01 Jul 2009 20:43:28 -0700 Subject: [texhax] Using .png, .jpg, .gif Message-ID: <4A4C2CE0.1000509@eyremail.net> Hi all. I've been playing with the graphicx package trying to figure out how to easily use non-postscript images in a latex doc. I know that I could use pdflatex, but then I'd have the inverse problem. I want a universal solution. I'd like to get \DeclareGraphicsRule to work, but it seems more trouble to use than just converting each image file by hand. For example, if I want to use a .png file: \DeclareGraphicsExtensions{.png, .eps} \DeclareGraphicsRule{.png}{eps}{*}{`convert #1} %% (the last arg I've done in many different ways, e.g. {`convert #1 eps:- } ) then, in the body: \includegraphics[width=1in]{myimage} %% (which is myimage.png) I get an error msg telling me that I there is no bounding box. So in order to use it, I have to determine the bounding box for the image first, and then include that info into one or the other command. But, if I just do: > convert myimage.png myimage.eps on the command line, it converts it without having to know the bounding box info. I'm not sure why convert needs the bounding box info in one case (latex) but not the other (command line). So, I'm not really getting the point of \DeclareGraphicsRule since using it is much more trouble than converting by hand. Which brings me back to my point, is there any easy way to use non-postscript images in a latex doc? My best guess at this point is no, and the only way forward is to re-write some of the graphicx commands to that they can use the bounding box info generated by 'convert' or some other conversion program. TIA for any help or discussion. Beverley Eyre -------------- next part -------------- An HTML attachment was scrubbed... URL: From uwe.lueck at web.de Thu Jul 2 14:53:45 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Thu, 02 Jul 2009 14:53:45 +0200 Subject: [texhax] Left and Right Linenumber alignment In-Reply-To: <425190.4335.qm@web110306.mail.gq1.yahoo.com> Message-ID: <5.1.0.14.0.20090702144236.028e3090@pop3.web.de> Hi bala, At 12:51 02.07.09, jack wrote: > >On my document i have used lineno.sty file. It's working fine on 2nd to >nth pages, but problem in first page. In the First page i have used >multicols package for displaying the document in two column. > >First Page Layout is : Single Column + Double Column (both) > >Second Page Layout is : Double Column only > >Can you please provide me the solution, please? sorry, no, I can't. I know the problem and have tried a little, no success. There is cuted.sty, http://www.ctan.org/pkg/cuted, an alternative package for changing between one- and twocolumn mode on a page. But I don't expect it fares better with lineno.sty. I cannot deal with this soon, and I probably will need funding to improve this. Or is there somebody else who could do? Indeed I plan raising founds for such projects of mine. Sorry, Uwe. From s.schwartz at imperial.ac.uk Fri Jul 3 02:08:38 2009 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Fri, 03 Jul 2009 01:08:38 +0100 Subject: [texhax] pdflatex : multi figure + one table : \\, aligning figures In-Reply-To: References: Message-ID: <1246579729.4512.17.camel@sony-sjs> Bryan, I found this sitting in my inbox and it doesn't seem to have been answered, so I'll give my 2-pennies' worth. On Fri, 2009-06-26 at 18:48 +0100, Bryan W. Lepore wrote: > i'd like to get a long figure aligned left, then three small figures > stacked on the right, then table on the bottom. > > +--------+---------+ > | long | short 1 | > | |---------+ > | figure | short 2 | > | |---------+ > | | short 3 | > +--------+---------+ > | table | > +------------------+ > > the table position is ok. i am trying \\ after the figures, but have > inconsistent results : seems dependent on figure scaling, maybe > rotation. You supplied some sample latex code that seemed to be relying on the size of your graphics to get things right. I'd be inclined to take control, by putting tabulars inside tabulars, e.g., (totally untested} \usepackage{array} \begin{tabular}{m{0.5\textwidth}m{0.5\textwidth}} \includegraphics[width=0.4\textwidth]{long} & \begin{tabular}{m{0.45\textwidth}} \includegraphics[width=0.4\textwidth]{short1}\\ \includegraphics[width=0.4\textwidth]{short2}\\ \includegraphics[width=0.4\textwidth]{short3}\\ \end{tabular} \\ \multicolumn{2}{c}{ \begin{tabular}{.............} your table here \end{tabular} }\\ \end{tabular} Here's a bit of code I have tested which shows the idea in text and without specifying column widths. Using m{} array specifiers or tabularx or parboxes inside the tabular or just sizes from the includegraphic will force things to be the size you want. The tabular will always ensure things line up. \documentclass{article} \begin{document} \fbox{ \begin{tabular}{cc} \fbox{long} & \fbox{\begin{tabular}{c} \fbox{short1}\\ \fbox{shortshort2}\\ \fbox{short3}\\ \end{tabular} } \\ % end 1st row of outer tabular \multicolumn{2}{c}{ \fbox{\begin{tabular}{c} your table here \end{tabular}} }\\ % end 2nd row of outer tabular \end{tabular} } \end{document} HTH Steve -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Head, Space & Atmospheric Physics Fax: +44-(0)20-7594-7900 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 711A London SW7 2AZ, U.K. Web: www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From olegkat at gmail.com Fri Jul 3 07:04:39 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Fri, 3 Jul 2009 08:04:39 +0300 Subject: [texhax] A question about stretchability and shrinkability In-Reply-To: <8763ew8nyy.fsf@gmail.com> References: <87ws7duwz7.fsf@gmail.com> <670E91CFA592487B9961B5B3102CB5AC@datos57604fe5b> <8763ew8nyy.fsf@gmail.com> Message-ID: <20090703050438.GA13899@thor> On Tue, Jun 16, 2009 at 11:36:21AM +0100, Rodolfo Medina wrote: > \def\subchapter#1{% > \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize > \bigskip\bigskip\vskip\parskip > \leftline{#1} > \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize > \bigskip\vskip\parskip > \par\nobreak\noindent\ignorespaces > \vtop to 0pt > \bgroup > \vskip -25pt > > \vss > \egroup > \ignorespaces > } > > > Now, what I noticed is that the \vskip that I set to -25pt slightly varies, in > the output, from place to place. > > Why does this happen, and what should put instead to prevent that lenght to > change? I don't know how you came to the conclusion that it's the \vskip-25pt glue that changes, but I'm pretty sure that if you examine the output of \showlists you'll see that the glue is -25pt everywhere. What probably changes is the glue before the \vtop, which displaces the entire vbox depending on how much TeX has decided to stretch/shrink vertical glue on that page. HTH, Oleg From olegkat at gmail.com Fri Jul 3 07:06:09 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Fri, 3 Jul 2009 08:06:09 +0300 Subject: [texhax] Is there a way to change how LaTeX handles undefined commands? In-Reply-To: References: Message-ID: <20090703050609.GB13899@thor> On Mon, Jun 29, 2009 at 10:05:15PM -0700, Gray Calhoun wrote: > Is it possible to change the error/exception handling within > TeX and LaTeX I don't think this is possible. Best, Oleg From peter at gigamonkeys.com Fri Jul 3 01:58:27 2009 From: peter at gigamonkeys.com (Peter Seibel) Date: Thu, 2 Jul 2009 16:58:27 -0700 Subject: [texhax] Resetting \thechhapter for a single file Message-ID: <40e4e7e50907021658v488efb87s60bb1485f48c1ad7@mail.gmail.com> I've got some TeX I use to typeset a book using the memoir class. I also want to generate files of individual chapters. My chapter headers use \thechapter to get the chapter number but when I do individual files it's always 1. Is there some easy way to change the value in the preamble? -Peter -- Peter Seibel http://www.codersatwork.com/ http://www.gigamonkeys.com/blog/ From sangee.am at gmail.com Fri Jul 3 06:46:58 2009 From: sangee.am at gmail.com (Sangeetha Arul) Date: Fri, 3 Jul 2009 10:16:58 +0530 Subject: [texhax] Multiple languages in LaTeX Message-ID: Dear All, Have a nice day. I tried to use Multiple Languages in LaTeX. I have used Arialuni.ttf. I could not able to use this font in MikteX 2.6. How can we handle multiple languages in LaTeX. Please help me regarding this, Regards, Sangeetha. M -------------- next part -------------- An HTML attachment was scrubbed... URL: From Susan.Dittmar at gmx.de Fri Jul 3 11:09:49 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Fri, 3 Jul 2009 11:09:49 +0200 Subject: [texhax] Resetting \thechhapter for a single file In-Reply-To: <40e4e7e50907021658v488efb87s60bb1485f48c1ad7@mail.gmail.com> References: <40e4e7e50907021658v488efb87s60bb1485f48c1ad7@mail.gmail.com> Message-ID: <20090703090949.GJ16645@eureca.de> Quoting Peter Seibel (peter at gigamonkeys.com): > I've got some TeX I use to typeset a book using the memoir class. I > also want to generate files of individual chapters. My chapter headers > use \thechapter to get the chapter number but when I do individual > files it's always 1. Is there some easy way to change the value in the > preamble? \setcounter{chapter}{3} in the preamble, or before the \chapter command, will have you start with chapter 4. (That's because the \chapter command first increases the counter by 1, then uses it.) Hope 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 olegkat at gmail.com Fri Jul 3 18:40:32 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Fri, 3 Jul 2009 19:40:32 +0300 Subject: [texhax] Text vertical shifting In-Reply-To: <87vdmxvfvx.fsf@gmail.com> References: <87fxf8el1w.fsf@gmail.com> <4A0B3773.5040708@Rhul.Ac.Uk> <877i0kgfel.fsf@gmail.com> <4A0BEA07.7010801@Rhul.Ac.Uk> <87ws8i36n8.fsf_-_@gmail.com> <4A0D55F1.1090606@Rhul.Ac.Uk> <87vdmxvfvx.fsf@gmail.com> Message-ID: <20090703164032.GA20321@thor> On Mon, Jun 15, 2009 at 01:30:10PM +0100, Rodolfo Medina wrote: > ...but with some undesired side effect: I'm attaching test.tex, to be processed > simply with: `tex test'. If you uncomment the lines 5,6,7,8,9,10 the whole > text is shifted down. > > How can that be avoided? > > Thanks for any help > Rodolfo > > > > \def\beginsection#1 {% > \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize > \bigskip\bigskip\vskip\parskip > \leftline{#1} > % \vtop to 0pt > % \bgroup > % \strut > % \vskip 2\baselineskip > % \vss > % \egroup > } I think what you need is \vadjust: \def\beginsection#1 {% \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize \bigskip\bigskip\vskip\parskip \leftline{#1\vadjust{\vtop to 0pt \bgroup \strut \vskip 2\baselineskip \vss \egroup}} } HTH, Oleg From texhax at uit.co.uk Fri Jul 3 19:19:25 2009 From: texhax at uit.co.uk (Niall Mansfield) Date: Fri, 03 Jul 2009 18:19:25 +0100 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools Message-ID: <4A4E3D9D.3060507@uit.co.uk> Folks occasionally ask about what sort of books can be produced using (La)TeX. We've recently published a couple of books using only LaTeX and other free tools. The first one is unusual because it's in full-colour and contains hundreds of photographs and other illustrations. 1. "Sustainable Energy - without the hot air" is full colour throughout. It was produced in LaTeX, and most of the diagrams were done in MetaPost. Some of the maps and other technical illustrations used more specialized tools, such as the gmt software for maps. It was all free software. You can download the book free in its entirety, as a PDF (or even buy it as a normal hardcopy book :-). There's a recent article about it on Slashdot, which gives the download link: http://tech.slashdot.org/submission/1030811/Solving-the-Energy-Crisis-by-Tripling-Electricity If you don't want to look at the whole thing, some of the MetaPost diagrams are at: http://uit.co.uk/files-a/sample-metapost-diagrams.pdf 2. "Alternative DNS Servers" is completely different. It's a typical computer book. Again, this was done 100% in LaTeX, with diagrams drawn with InkScape, which is of course free. Sample diagrams are at: http://uit.co.uk/files-a/inkscape-diagram-examples.pdf and samples of tables of contents, etc. are in the box on page: http://uit.co.uk/altdns Both books utilized Make to control the build process. Unfortunately, each author used his own build system, so there's nothing we can release (although we're working on a standard directory-tree and Make setup that we'll release in due course -- any volunteers for testing? :-) Regards, Niall From peter at gigamonkeys.com Fri Jul 3 18:08:46 2009 From: peter at gigamonkeys.com (Peter Seibel) Date: Fri, 3 Jul 2009 09:08:46 -0700 Subject: [texhax] Resetting \thechhapter for a single file In-Reply-To: <20090703090949.GJ16645@eureca.de> References: <40e4e7e50907021658v488efb87s60bb1485f48c1ad7@mail.gmail.com> <20090703090949.GJ16645@eureca.de> Message-ID: <40e4e7e50907030908t2c1d16eavca94bcdc0f601317@mail.gmail.com> Thanks. -Peter On Fri, Jul 3, 2009 at 2:09 AM, Susan Dittmar wrote: > > Quoting Peter Seibel (peter at gigamonkeys.com): >> I've got some TeX I use to typeset a book using the memoir class. I >> also want to generate files of individual chapters. My chapter headers >> use \thechapter to get the chapter number but when I do individual >> files it's always 1. Is there some easy way to change the value in the >> preamble? > > \setcounter{chapter}{3} in the preamble, or before the \chapter command, > will have you start with chapter 4. (That's because the \chapter command > first increases the counter by 1, then uses it.) > > Hope that helps, > > ? ? ? ?Susan > -- Peter Seibel http://www.codersatwork.com/ http://www.gigamonkeys.com/blog/ From rodolfo.medina at gmail.com Fri Jul 3 22:43:11 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Fri, 03 Jul 2009 21:43:11 +0100 Subject: [texhax] Text vertical shifting References: <87fxf8el1w.fsf@gmail.com> <4A0B3773.5040708@Rhul.Ac.Uk> <877i0kgfel.fsf@gmail.com> <4A0BEA07.7010801@Rhul.Ac.Uk> <87ws8i36n8.fsf_-_@gmail.com> <4A0D55F1.1090606@Rhul.Ac.Uk> <87vdmxvfvx.fsf@gmail.com> <20090703164032.GA20321@thor> Message-ID: <87prchv6ow.fsf@gmail.com> On Mon, Jun 15, 2009 at 01:30:10PM +0100, Rodolfo Medina wrote: >> [...] I'm attaching test.tex, to be processed simply with: `tex test'. If >> you uncomment the lines 5,6,7,8,9,10 the whole text is shifted down. >> >> How can that be avoided? >> >> [...] >> >> \def\beginsection#1 {% >> \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize >> \bigskip\bigskip\vskip\parskip >> \leftline{#1} >> % \vtop to 0pt >> % \bgroup >> % \strut >> % \vskip 2\baselineskip >> % \vss >> % \egroup >> } Oleg Katsitadze writes: > I think what you need is \vadjust: > > \def\beginsection#1 {% > \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize > \bigskip\bigskip\vskip\parskip > \leftline{#1\vadjust{\vtop to 0pt > \bgroup > \strut > \vskip 2\baselineskip > \vss > \egroup}} > } Thanks for your help. Also without \vadjust, the problem seems to be solved putting \vtop inside \leftline: \def\beginsection#1 {% \vskip0pt plus.3\vsize\vskip0pt plus-.3\vsize \bigskip\bigskip\vskip\parskip \leftline{#1 \vtop to 0pt \bgroup \strut \vskip 2\baselineskip \vss \egroup }} Rodolfo From rodolfo.medina at gmail.com Fri Jul 3 23:14:57 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Fri, 03 Jul 2009 22:14:57 +0100 Subject: [texhax] A question about \halign References: <878wj8sndt.fsf@gmail.com> Message-ID: <87d48hsc32.fsf@gmail.com> Rodolfo Medina : >> In plain TeX, I have the following problem: >> >> I have the following alignment: >> >> >> \halign to \hsize{% >> \vtop{\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} >> >> >> \bye >> >> >> Now, I want that, when the first argument is very long and continues over a >> second line, the second argument is put on the second line as well (in the >> above example it is put on the first line, instead). Dave Geering writes: > If you use \vbox instead of \vtop it will put bnbnbnbnb on the second > line. Is that what you intended? Donald Arseneau writes: > Then use \vbox, not \vtop. Yes, thanks for your help, that's fine. But now, suppose that I want a third argument of the alignment to stay on the first line, instead: \halign to \hsize{% \quad\rm\ \ \ \ \llap{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} \bye I want that `\quad\rm\ \ \ \ \llap{1.2}\ ' stays on the first line and `bnbnbnbn' on the second line. Excuse that I'm asking too much!! How can I achieve that? Help very much appreciated: it's for the format of a table of content. Thanks Rodolfo From olegkat at gmail.com Fri Jul 3 22:53:46 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Fri, 3 Jul 2009 23:53:46 +0300 Subject: [texhax] A question about \halign In-Reply-To: <87d48hsc32.fsf@gmail.com> References: <878wj8sndt.fsf@gmail.com> <87d48hsc32.fsf@gmail.com> Message-ID: <20090703205346.GA22761@thor> On Fri, Jul 03, 2009 at 10:14:57PM +0100, Rodolfo Medina wrote: > But now, suppose that I want a third argument of the alignment to stay on the > first line, instead: > > > \halign to \hsize{% > \quad\rm\ \ \ \ \llap{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} > > > > \bye > > > I want that `\quad\rm\ \ \ \ \llap{1.2}\ ' stays on the first line and > `bnbnbnbn' on the second line. \halign to \hsize{% \vbox{\parindent=0pt\hsize=105mm\hangindent 0em \strut\rm\llap{1.2 }#\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} HTH, Oleg From axel.retif at mac.com Fri Jul 3 23:45:32 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 03 Jul 2009 16:45:32 -0500 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <4A4E3D9D.3060507@uit.co.uk> References: <4A4E3D9D.3060507@uit.co.uk> Message-ID: On 3 Jul, 2009, at 12:19, Niall Mansfield wrote: > Folks occasionally ask about what sort of books can be produced using > (La)TeX. We've recently published a couple of books using only LaTeX > and other free tools. The first one is unusual because it's in full- > colour and > contains hundreds of photographs and other illustrations. > > 1. "Sustainable Energy - without the hot air" is full colour > throughout. It was produced in LaTeX, and most of the diagrams > were done in MetaPost. [...] > some of the MetaPost diagrams are at: > http://uit.co.uk/files-a/sample-metapost-diagrams.pdf Congratulations! I think it would be nice to have some of your MetaPost graphics in the TeX Showcase: http://www.tug.org/texshowcase/ Also, UIT could appear in Tom Schneider's list of publishers that use TeX and/or LaTeX: http://www.ccrnp.ncifcrf.gov/~toms/latex.html#tex-latex_publishers Best, Axel From wa2n at nrar.net Sat Jul 4 00:25:53 2009 From: wa2n at nrar.net (wawan) Date: Sat, 4 Jul 2009 05:25:53 +0700 Subject: [texhax] Char shifting Message-ID: How to shift char to get closer to other ? -- ===================== http://wa2n.nrar.net http://artikelit.com http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From speter at mac.com Sat Jul 4 00:39:08 2009 From: speter at mac.com (Steve Peter) Date: Fri, 03 Jul 2009 18:39:08 -0400 Subject: [texhax] Char shifting In-Reply-To: References: Message-ID: <0A0EE698-D6F6-4140-9B13-C4E582BF94D7@mac.com> On Jul 3, 2009, at 6:25 PM, wawan wrote: > How to shift char to get closer to other ? \kern-xx where xx is some horizontal spacing amount, like .2em or 1pt, etc. From asnd at triumf.ca Sat Jul 4 01:24:52 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 03 Jul 2009 16:24:52 -0700 Subject: [texhax] Resetting \thechhapter for a single file In-Reply-To: <40e4e7e50907021658v488efb87s60bb1485f48c1ad7@mail.gmail.com> References: <40e4e7e50907021658v488efb87s60bb1485f48c1ad7@mail.gmail.com> Message-ID: Peter Seibel writes: > I've got some TeX I use to typeset a book using the memoir class. I > also want to generate files of individual chapters. My chapter headers > use \thechapter to get the chapter number but when I do individual > files it's always 1. Is there some easy way to change the value in the > preamble? You should use \include to input each chapter, and use \includeonly when you want to produce a single chapter. -- Donald Arseneau asnd at triumf.ca From asnd at triumf.ca Sat Jul 4 01:40:37 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 03 Jul 2009 16:40:37 -0700 Subject: [texhax] A question about \halign In-Reply-To: <87d48hsc32.fsf@gmail.com> References: <878wj8sndt.fsf@gmail.com> <87d48hsc32.fsf@gmail.com> Message-ID: Rodolfo Medina writes: > But now, suppose that I want a third argument of the alignment to stay on the > first line, instead: There is only one reference point for a box, so you cannot have a paragraph box (\h)aligned on two different baselines automatically. > \quad\rm\ \ \ \ \llap{1.2}\ If you know the width of something (like this) then you don't need halign adjustment, but put this at the beginning of the \vbox entry. If all three absolutely *must* be in separate \halign columns, then it is possible to set the second column first in \vbox, then rebox it into \vtop, measuring the difference in height; \lower the third entry by that difference. > \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} This looks like a table of contents entry > Help very much appreciated: it's for the format of a table of content. A ha! It is. Table of contents macros usually don't use \halign at all! Just use paragraph settings with \rightskip \leftskip and \parfillskip. If you use dot leaders then that is the best way to get the dots lined up. You have to assign some maximum width for the section and page numbers, but you have to do that anyway implicitly when you set \hsize for the title text. -- Donald Arseneau asnd at triumf.ca From reinhard.kotucha at web.de Sat Jul 4 01:43:31 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sat, 4 Jul 2009 01:43:31 +0200 Subject: [texhax] LaTeX user interfaces Message-ID: <19022.38819.336268.647996@zaphod.ms25.net> Hi, here is an excerpt fom a mail I received from the ctan-ann mailing list: Announcement text: ------------------------------------------------------------- This version (0.8.9) introduces a new default way of loading the package, using \usepackage{biblatex-chicago} instead of \usepackage{biblatex}, an interface that should be simpler for those who want the standard settings, and more flexible for those who don't. I've also added new entry types and new package options, as well as fixing a number of bugs. Please see the docs for all the details of these and other changes. ------------------------------------------------------------- How many user interfaces do we need? Should every package provide its own user interface? Why can't things be done conveniently? \usepackage[style=chicago]{biblatex} instead of \usepackage{biblatex-chicago} Isn't the LaTeX way much more elegant and straightforward? Doesn't it offer *much* more flexibility? LaTeX provides an excellent user interface already, no need to bother people with arbitrary new inventions. 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 Jul 4 03:00:27 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sat, 4 Jul 2009 03:00:27 +0200 Subject: [texhax] Multiple languages in LaTeX In-Reply-To: References: Message-ID: <19022.43435.320835.904409@zaphod.ms25.net> On 3 July 2009 Sangeetha Arul wrote: > I tried to use Multiple Languages in LaTeX. http://ctan.org/tex-archive/language/vietnamese/vntex/doc/generic/vntex/vntex.pdf See section 3.1.2 on page 4. 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 toms at ncifcrf.gov Sat Jul 4 08:07:34 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sat, 4 Jul 2009 02:07:34 -0400 (EDT) Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: from "Axel E. Retif" at "Jul 3, 2009 05:45:32 pm" Message-ID: <200907040607.n6467YcW009567@strawberry.ncifcrf.gov> Axel: > Also, UIT could appear in Tom Schneider's list of publishers that use > TeX and/or LaTeX: > > http://www.ccrnp.ncifcrf.gov/~toms/latex.html#tex-latex_publishers Thanks for alerting me. I'd not looked closely at the original posting. Fortunately my procmail shoves email in my face that has my name in it so I woke up at that point! I added UIT Cambridge to the list at: http://www.ccrnp.ncifcrf.gov/~toms/latex.html#LaTeX_styles Totally cool: "Our typesetting system of choice is LaTeX". 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 From axel.retif at mac.com Sat Jul 4 11:05:24 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sat, 04 Jul 2009 04:05:24 -0500 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <200907040607.n6467YcW009567@strawberry.ncifcrf.gov> References: <200907040607.n6467YcW009567@strawberry.ncifcrf.gov> Message-ID: <4834037F-E4F7-45A0-8446-8D3E1E986E72@mac.com> Tom: > Axel: > >> Also, UIT could appear in Tom Schneider's list of publishers that use >> TeX and/or LaTeX: >> >> http://www.ccrnp.ncifcrf.gov/~toms/latex.html#tex-latex_publishers > > Thanks for alerting me. I'd not looked closely at the original > posting. Fortunately my procmail shoves email in my face that has my > name in it so I woke up at that point! > > I added UIT Cambridge to the list at: > > http://www.ccrnp.ncifcrf.gov/~toms/latex.html#LaTeX_styles > > Totally cool: "Our typesetting system of choice is LaTeX". Indeed. UIT seems to be a very new publishing house, and we should wish them the best of lucks. On the other hand, they recommend MetaPost for non-GUI preparation of graphics, but I think that's the hardest system to master for a newbie, while TikZ is relatively easy to learn and very powerful, as we can see in Kjell Magne Fauske's TikZ showcase: http://www.texample.net/tikz/ And, of course, there is PSTricks. Best, Axel From rodolfo.medina at gmail.com Sat Jul 4 13:43:24 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sat, 04 Jul 2009 12:43:24 +0100 Subject: [texhax] [solved] Re: A question about \halign References: <878wj8sndt.fsf@gmail.com> <87d48hsc32.fsf@gmail.com> Message-ID: <8763e88yhv.fsf_-_@gmail.com> On Fri, Jul 03, 2009 at 10:14:57PM +0100, Rodolfo Medina wrote: >> \halign to \hsize{% >> \quad\rm\ \ \ \ \llap{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} >> >> >> >> \bye >> >> >> I want that `\quad\rm\ \ \ \ \llap{1.2}\ ' stays on the first line and >> `bnbnbnbn' on the second line. Oleg Katsitadze writes: > \halign to \hsize{% > \vbox{\parindent=0pt\hsize=105mm\hangindent 0em > \strut\rm\llap{1.2 }#\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} Donald Arseneau writes: > This looks like a table of contents entry > >> Help very much appreciated: it's for the format of a table of content. > > A ha! It is. Table of contents macros usually don't use \halign > at all! Just use paragraph settings with \rightskip \leftskip > and \parfillskip. If you use dot leaders then that is the best > way to get the dots lined up. > > You have to assign some maximum width for the section and page numbers, > but you have to do that anyway implicitly when you set \hsize for > the title text. Thanks for you help. This seems to work fine for my purposes: \halign to \hsize{% \quad\ \ \ \ \ \vbox{\parindent=0pt\hsize=105mm\hangindent 0em\strut% \rm\llap{1.2\ }#\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} \bye , even though it is not very orthodox for a table of content, as Donald says. But it works and looks fine. I've been writing by myself plain TeX macros for sections and subsections and also for TOC, surely not without errors. Rodolfo From pierre.mackay at comcast.net Sat Jul 4 17:57:35 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Sat, 04 Jul 2009 08:57:35 -0700 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <200907040607.n6467YcW009567@strawberry.ncifcrf.gov> References: <200907040607.n6467YcW009567@strawberry.ncifcrf.gov> Message-ID: <4A4F7BEF.3080204@comcast.net> A substantial number of books in Classics has been done in TeX over the past fifteen years at the University of California Press. Probably the most interesting production is the most recent, for which I have just supplied seventeen minor corrections for the second edition. It required a huge amount of work with Adobe Illustrator to bring the illustrations up from the original rather crude 200 DPI tiff scans received from Italy to the requred 1200 DPI, and a substantial number were so defective that they had to be redrawn entirely. Otherwise the work was all in TeX. Filippo Coarelli, /Rome and Environs: An Archaeological guide./ Translated by James J. Clauss and Daniel P. Harmon. University of California Press. ISBN 978-0-520-07960-1 (cloth) ISBN 978-0-520-07961-8 (paper) -------------- next part -------------- An HTML attachment was scrubbed... URL: From toms at ncifcrf.gov Sat Jul 4 21:54:25 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sat, 4 Jul 2009 15:54:25 -0400 (EDT) Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <4A4F7BEF.3080204@comcast.net> from Pierre MacKay at "Jul 4, 2009 11:57:35 am" Message-ID: <200907041954.n64JsPkI027924@strawberry.ncifcrf.gov> Pierre: > A substantial number of books in Classics has been done in TeX over > the University of California Press. Thanks for the tip, I added a line for them. http://www.ccrnp.ncifcrf.gov/~toms/latex.html 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 From arvindmer at gmail.com Sun Jul 5 00:10:48 2009 From: arvindmer at gmail.com (arvind mer) Date: Sun, 5 Jul 2009 03:40:48 +0530 Subject: [texhax] sorting the bibliography with the style like amsplain Message-ID: <9e7ec6310907041510u7787c5et9fc3fda99a042ef9@mail.gmail.com> Hi I am using bibtex for bibliography. I want to sort the references according to appearance number. When I am using any bibliography style like amsplain or anything else it is not sorting the references. I have used \bibliographystyle{unsrt} but I don't like it. I want my bibliography style amsplain and also sort them according to appearance. How can I do so -- Regards Arvind -------------- next part -------------- An HTML attachment was scrubbed... URL: From hydes at byuh.edu Sun Jul 5 00:37:13 2009 From: hydes at byuh.edu (Scott Hyde) Date: Sat, 4 Jul 2009 12:37:13 -1000 Subject: [texhax] tabularx inside a newenvironment with hline Message-ID: <793e846d0907041537m3344ffa1w6dfecba0b40358e7@mail.gmail.com> I'd like to make a custom environment that will replicate the following code without the \hline and the tabularx \begin{tabularx}{|rX|} \hline stuff... last line \\ \hline \end{tabularx} Suppose the environment is called testbox. Then the code above could be written as: \begin{testbox} stuff... \end{testbox} This is what I've come up with for the newenvironment code: \newenvironment{testbox}[1][rX]{\tabularx{\columnwidth}{|#1|} \hline}{ \hline \endtabularx } However, the \hline in the end declaration causes a "misplace noalign" error. If the \hline is removed the end definition, the code compiles with no errors (except no bottom line). Here is the smallest code that I can give that causes the error: \documentclass{article} \usepackage{tabularx} \newenvironment{testbox}[1][rX]{% \tabularx{\columnwidth}{|#1|} \hline}{ \hline \endtabularx } \begin{document} \begin{testbox} 3 & c \\ 4 & c \\ \end{testbox} \end{document} Can you help me? -jekyll -------------- next part -------------- An HTML attachment was scrubbed... URL: From doc.evans at gmail.com Sun Jul 5 01:03:39 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Sat, 04 Jul 2009 17:03:39 -0600 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <200907040607.n6467YcW009567@strawberry.ncifcrf.gov> References: <200907040607.n6467YcW009567@strawberry.ncifcrf.gov> Message-ID: <4A4FDFCB.7060106@gmail.com> If you're interested in a fiction house... Engine House Books (www.enginehousebooks.com) don't say that they use TeX on their website, but they do use plain TeX for everything, and say so in the colophons that are in all their books. Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From karl at freefriends.org Sun Jul 5 01:20:18 2009 From: karl at freefriends.org (Karl Berry) Date: Sat, 4 Jul 2009 18:20:18 -0500 Subject: [texhax] tug 2009 program Message-ID: <200907042320.n64NKIM11499@f7.net> Greetings, I've posted the schedule of talks for the TUG 2009 conference at http://tug.org/tug2009/program.html. If anyone's summer plans permit, we would surely welcome additional participants. Come join us! Thanks, Karl From mourtonj at googlemail.com Mon Jul 6 15:30:09 2009 From: mourtonj at googlemail.com (james mourton) Date: Mon, 6 Jul 2009 15:30:09 +0200 Subject: [texhax] overfull lines, hyphenation - setup for automatic processing Message-ID: Hi, I'd like to generate documentation from various XML sources and create a PDF output using TeX (preferably ConTeXt, possibly LaTeX). I need the system to run automatically, without user interaction. By default, if TeX does not know how to hyphenate words and break lines nicely, it leaves it to the user. Could you please advise, how to tell TeX not to be so fussy and rather work reliably -- no overfulls or other errors, even if the result is not "perfect"? (the "manuscript" is generated, so I don't care how complicated or unreadable it is) 1) Making larger gaps How can I set it up, shall I redefine \tolerance and \emergencystretch ? To what values? What is the scope of the settings? Is there any other important option? 2) Hyphenation Is there any way how to fall-back to more aggressive hyphenation rules if the default algorithm fails? If the word is unbreakable, could TeX just tear off the extra letters it and put them to the next line? (I could theoretically put \discretionary to every word, but I'd prefer TeX to use its own algorithms first) 3) Error reporting Another issue is, that texexec creates very ugly table (\bTABLE) with overlapping text in the cells, but does not report any problem. Is there any way how to make it fail loudly, so the problems can be detected? I'm using: ConTeXt TeXExec version 6.2.1 pdfTeX 3.1415926-1.40.10-2.2 (Web2C 7.5.7) Linux i386 Centos-5 Kind Regards James -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.mackay at comcast.net Mon Jul 6 17:36:10 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Mon, 06 Jul 2009 08:36:10 -0700 Subject: [texhax] overfull lines, hyphenation - setup for automatic processing In-Reply-To: References: Message-ID: <4A5219EA.6080803@comcast.net> james mourton wrote: > Hi, > > I'd like to generate documentation from various XML sources > and create a PDF output using TeX (preferably ConTeXt, possibly LaTeX). > I need the system to run automatically, without user interaction. > > By default, if TeX does not know how to hyphenate words and break lines > nicely, it leaves it to the user. > That is a remarkable claim. In any case, what you need is proper settings of \lefthyphenmin, \righthyphenmin and \hyphenpenalty It is easy enough to make TeX like hyphenation so much that it will hyphenate every word no matter how long the line is. \watch what happens when you set a negative \hyphenpenalty. > Could you please advise, how to tell TeX not to be so fussy > and rather work reliably -- no overfulls or other errors, even if the > result > is not "perfect"? (the "manuscript" is generated, so I don't care > how complicated or unreadable it is) > Huge amounts of \hfuzz \hfuzz=10pc Do you really want to shut off all error reporting? You can get much of that effect by running in nonstopmode. > > 1) Making larger gaps > How can I set it up, shall I redefine > \tolerance and \emergencystretch ? To what values? What is the scope > of the settings? > Is there any other important option? Do you mean interword spacing? That can be set by changing the \fontdimens of your font. You can make the basic space as long as you want to, and you can also increase the added (or subtracted) values. \fontdimen2, \fontdimen3 and \fontdimen4 are the operative values > > 2) Hyphenation > Is there any way how to fall-back to more aggressive hyphenation rules > if the default algorithm fails? > If the word is unbreakable, could TeX just tear off the extra letters > it and put them to the next line? Not likely. Pattern hyphenation either works or it doesn't. If you are satisfied with ragged right margins, then the thing to do is set \rightskip to something like 3pc minus 3pc, and that will usually cut down on hyphenation a great deal. > (I could theoretically put \discretionary to every word, but I'd > prefer TeX to use its own algorithms first) > > > 3) Error reporting > Another issue is, that texexec > creates very ugly table (\bTABLE) with overlapping text in the cells, > but does not report any problem. > Is there any way how to make it fail loudly, so the problems can > be detected? Not if you have shut off error reporting. \vtop, with an explicit \hsize = inside the argument braces is a very effectife way of staying inside the alotted tab box. Otherwise \tabe are very explicitly designed to overrun if you put too much there. You do have a copy of the TeXbook? > > > > I'm using: ConTeXt > TeXExec version 6.2.1 > pdfTeX 3.1415926-1.40.10-2.2 (Web2C 7.5.7) > Linux i386 Centos-5 > > Kind Regards > > James > > >------------------------------------------------------------------------ > >_______________________________________________ >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 sangee.am at gmail.com Tue Jul 7 05:38:19 2009 From: sangee.am at gmail.com (Sangeetha Arul) Date: Tue, 7 Jul 2009 09:08:19 +0530 Subject: [texhax] Multiple languages in LaTeX In-Reply-To: <19022.43435.320835.904409@zaphod.ms25.net> References: <19022.43435.320835.904409@zaphod.ms25.net> Message-ID: Dear All In my article i have some characters in Japanese charecters in my subtitle. In XML file it will be unicode characters. How this can be handled in LaTeX. I have used CJK.sty but it is not working. How to define these other language characters in MikTeX. Which font i have to used. Could anyone help me. Eg: title--NIR FT Raman study of phase transitions in ferroelectric pyridinium periodate subtitle--??NIR FT????????pyridinium periodate? Regards, Sangeetha -------------- next part -------------- An HTML attachment was scrubbed... URL: From news3 at nililand.de Tue Jul 7 11:11:40 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Tue, 7 Jul 2009 11:11:40 +0200 Subject: [texhax] tabularx inside a newenvironment with hline References: <793e846d0907041537m3344ffa1w6dfecba0b40358e7@mail.gmail.com> Message-ID: <18hm92paigpr7.dlg@nililand.de> Am Sat, 4 Jul 2009 12:37:13 -1000 schrieb Scott Hyde: > I'd like to make a custom environment that will replicate the following code > without the \hline and the tabularx > > \begin{tabularx}{|rX|} > \hline > stuff... > last line \\ \hline > \end{tabularx} > > Suppose the environment is called testbox. Then the code above could be > written as: > > \begin{testbox} > stuff... > \end{testbox} > > This is what I've come up with for the newenvironment code: > \newenvironment{testbox}[1][rX]{\tabularx{\columnwidth}{|#1|} \hline}{ > \hline \endtabularx } > > However, the \hline in the end declaration causes a "misplace noalign" > error. > Can you help me? It won't work. The documentation says explicitly that \endtabularx must be the first token in the end code. -- Ulrike Fischer From asnd at triumf.ca Tue Jul 7 12:33:45 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 07 Jul 2009 03:33:45 -0700 Subject: [texhax] overfull lines, hyphenation - setup for automatic processing In-Reply-To: References: Message-ID: james mourton writes: > I'd like to generate documentation from various XML sources > and create a PDF output using TeX (preferably ConTeXt, possibly LaTeX). > I need the system to run automatically, without user interaction. > > By default, if TeX does not know how to hyphenate words and break lines > nicely, it leaves it to the user. That is not true, depending on what you mean by the "user". Which human languages TeX knows how to hyphenate can be changed by configuration. A TeX system will be pre-configured to hyphenate many languages (because memory is cheap these days). The "user" could re-configure it. > Could you please advise, how to tell TeX not to be so fussy In LaTeX, declare \sloppy. The opposite is -- you guessed it -- \fussy. > 2) Hyphenation > Is there any way how to fall-back to more aggressive hyphenation rules If you never see hyphenations then you have misconfigured TeX, or switched to a language that TeX doesn't hyphenate, or set an infinite \hyphenpenalty, or declared an invalid \hyphenchar, or some other mistake. > 3) Error reporting > Another issue is, that texexec > creates very ugly table (\bTABLE) with overlapping text in the cells, > but does not report any problem. > Is there any way how to make it fail loudly, so the problems can > be detected? I don't see many Context afficionados on this list, but I understand there is an active Context mailing list. -- Donald Arseneau asnd at triumf.ca From wa2n at nrar.net Tue Jul 7 13:19:06 2009 From: wa2n at nrar.net (wawan) Date: Tue, 7 Jul 2009 18:19:06 +0700 Subject: [texhax] Asking about def Message-ID: Hi all Can I using \begin{def_name} \end{def_name} to call def ? or how to using that command ( begin--end) -- ===================== http://wa2n.nrar.net http://artikelit.com http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.adams at frycomm.com Tue Jul 7 14:11:32 2009 From: will.adams at frycomm.com (William Adams) Date: Tue, 7 Jul 2009 08:11:32 -0400 Subject: [texhax] Asking about def In-Reply-To: References: Message-ID: <74BF8456-F138-4E6B-AF4A-461A49067623@frycomm.com> On Jul 7, 2009, at 7:19 AM, wawan wrote: > Hi all > Can I using > \begin{def_name} > \end{def_name} > > to call def ? > or how to using that command ( begin--end) You need to define the new environment (see _The LaTeX Companion) \newenvironment{defname} %commands to happen at beginning of environment {}% %commands to happen at end of environment {}% If you need grouping which passes between beginning and end you'll have to use the appropriate command instead of brackets William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From rjf2 at CDC.GOV Tue Jul 7 16:29:00 2009 From: rjf2 at CDC.GOV (Fehd, Ronald J. (CDC/CCHIS/NCPHI)) Date: Tue, 7 Jul 2009 10:29:00 -0400 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: References: Message-ID: <482249F865060740AE33815802042D2F04E94CC0@LTA3VS012.ees.hhs.gov> > Date: Sat, 4 Jul 2009 02:07:34 -0400 (EDT) > To: texhax at tug.org (texhax) > Subject: Re: [texhax] Examples of books written using LaTeX/TeX and > related tools 1. SAS Institute http://support.sas.com/publishing/ all their statistical software manuals are written in LaTeX. 2. I am (still) writing my book for SAS Press, using LaTeX; tenatively titled: A SAS(R) Companion. http://www.sas.com/apps/pubscat/booklist.jsp?attr=category&val=SAS+Press Ron Fehd the {SAS} macro maven CDC Atlanta GA USA RJF2 at cdc dot gov From pierre.mackay at comcast.net Tue Jul 7 17:32:58 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Tue, 07 Jul 2009 08:32:58 -0700 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <482249F865060740AE33815802042D2F04E94CC0@LTA3VS012.ees.hhs.gov> References: <482249F865060740AE33815802042D2F04E94CC0@LTA3VS012.ees.hhs.gov> Message-ID: <4A536AAA.6050502@comcast.net> Almost the entire set of the /Collected Works of Erasmus, /prepared by the Pontifical Instute of Mediaeval Studies and published by the University of Toronto Press, and running to some 50 volumes or more, is done in TeX. I believe some of the first volumes may not have been, but TeX was adopted early on in the production. Pierre MacKay From pierre.mackay at comcast.net Tue Jul 7 17:58:05 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Tue, 07 Jul 2009 08:58:05 -0700 Subject: [texhax] Multiple languages in LaTeX In-Reply-To: References: <19022.43435.320835.904409@zaphod.ms25.net> Message-ID: <4A53708D.4000601@comcast.net> Sangeetha Arul wrote: > Dear All > > In my article i have some characters in Japanesecharecters in my > subtitle. In XML file it will be unicode characters. How this can be > handled in LaTeX. I have used CJK.sty but it is not working. How to > define these other languagecharacters in MikTeX. Which font i have to > used. Could anyone help me. > > Eg: > > title--NIR FT Raman study of phase transitions in ferroelectric pyridinium > > periodate > > subtitle--??NIR FT????????pyridinium periodate? > Regards, > Sangeetha The Korean TeX Users Group has done an extraordinarily effective job of making CJK available in a number of fonts, and in a straightforward and uncomplicated way. It does require sufficient disk space to store a collection of 256 character fonts all identified with Unicode pages, but by doing so it avoids depending on complicated and unreadable coding schemes. Two years ago I adopted this for a journal article that was half in Korean (both the earlier Chinese and the hangeul character set) and it went so smoothly that the author was able to identify only one typo in the final output. Pretty good for a compositor who still does not know a single character of Korean. See the package latex-hangul-ucs-4.0.7 (or later). I used the Un Batang font. Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: From bt at phisp.irfu.se Tue Jul 7 19:14:06 2009 From: bt at phisp.irfu.se (Bo Thide') Date: Tue, 7 Jul 2009 19:14:06 +0200 (METDST) Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <4A4E3D9D.3060507@uit.co.uk> Message-ID: <200907071714.n67HE72s009286@phisp.irfu.se> Hi Niall, For several years, I have had an Internet book project going where I use LaTeX (mainly memoir style) to produce a textbook called "Electromagnetic Field Theory". You can download it for free from www.plasma.uu.se/CED/Book and see how it looks. The book will be printed later this year. Best regards, Bo In your e-mail of Fri Jul 3 19:19:25 2009 you wrote: > > Folks occasionally ask about what sort of books can be produced using > (La)TeX. We've recently published a couple of books using only LaTeX > and other free tools. The first one is unusual because it's in > full-colour and > contains hundreds of photographs and other illustrations. > > 1. "Sustainable Energy - without the hot air" is full colour > throughout. It was produced in LaTeX, and most of the diagrams > were done in MetaPost. Some of the maps and other technical > illustrations used more specialized tools, such as the gmt software > for maps. > It was all free software. > > You can download the book free in its entirety, as a PDF (or even > buy it as a normal hardcopy book :-). There's a recent article about > it on Slashdot, which gives the download link: > > http://tech.slashdot.org/submission/1030811/Solving-the-Energy-Crisis-by-Tripling-Electricity > > If you don't want to look at the whole thing, some of the MetaPost > diagrams are at: > http://uit.co.uk/files-a/sample-metapost-diagrams.pdf > > > 2. "Alternative DNS Servers" is completely different. It's a typical > computer book. Again, this was done 100% in LaTeX, with diagrams > drawn with InkScape, which is of course free. > > Sample diagrams are at: > http://uit.co.uk/files-a/inkscape-diagram-examples.pdf > and samples of tables of contents, etc. are in the box on page: > http://uit.co.uk/altdns > > Both books utilized Make to control the build process. Unfortunately, > each author used his own build system, so there's nothing we can > release (although we're working on a standard directory-tree and Make > setup that we'll release in due course -- any volunteers for testing? :-) > > Regards, > Niall > > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- Professor Dr. Bo Thid?, Head of Programme, http://www.physics.irfu.se/~bt Address: Swedish Institute of Space Physics, P.O.Box 537, SE-75121 Uppsala Phone: Office +46 18-4715914 Mobile +46 705-613670 Home +46 18-4951801 Visiting address: ?ngstr?m Lab, Room # 84108, L?gerhyddsv?gen 1, Uppsala V?xj? address: LOIS Space Centre, SE-35195 V?xj? http://www.lois-space.net From martin at oneiros.de Tue Jul 7 19:15:11 2009 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Tue, 7 Jul 2009 19:15:11 +0200 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <4A4E3D9D.3060507@uit.co.uk> References: <4A4E3D9D.3060507@uit.co.uk> Message-ID: <68c491a60907071015k24445d1fn8a58b30b125656b8@mail.gmail.com> DocScape uses TeX as the formatter, so the examples at http://www.docscape.de/opencms/web/docscape/en/references/ qualify. Best Martin From axel.retif at mac.com Wed Jul 8 00:00:04 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 07 Jul 2009 17:00:04 -0500 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <200907071714.n67HE72s009286@phisp.irfu.se> References: <200907071714.n67HE72s009286@phisp.irfu.se> Message-ID: On 7 Jul, 2009, at 12:14, Bo Thide' wrote: > Hi Niall, > > For several years, I have had an Internet book project going where I > use > LaTeX (mainly memoir style) to produce a textbook called > "Electromagnetic Field Theory". You can download it for free from > www.plasma.uu.se/CED/Book and see how it looks. Very nice! Congratulations! Things look better than I expected for the TeX & friends world. Just a question ---what did you use for your graphics? It seems to me that both PSTricks (which unfortunately I don't know) and pgf/TikZ (which I'm learning) can produce them easily, but I guess you used PSTricks, right? Best, Axel From padawan12 at obiwannabe.co.uk Wed Jul 8 01:25:05 2009 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Wed, 8 Jul 2009 00:25:05 +0100 Subject: [texhax] Examples of books written using LaTeX/TeX and related tools In-Reply-To: <4A4E3D9D.3060507@uit.co.uk> References: <4A4E3D9D.3060507@uit.co.uk> Message-ID: <20090708002505.7659cf7c.padawan12@obiwannabe.co.uk> On Fri, 03 Jul 2009 18:19:25 +0100 Niall Mansfield wrote: > Folks occasionally ask about what sort of books can be produced using > (La)TeX. We've recently published a couple of books using only LaTeX > and other free tools. The first one is unusual because it's in > full-colour and > contains hundreds of photographs and other illustrations. http://aspress.co.uk/ Starting from online tutorials in 2005, "Designing Sound" became a short free textbook of practical DSP examples in Pure Data (Pd) to use with my students. It was originally entitled "Practical Synthetic Sound Design". As well as writing and illustrating the book, plotting data and testing the solutions I had to learn typesetting in LaTeX. This task was made possible by the kind, helpful members of this list to whom I am grateful and have given acknowledgement. All tools used are Free software, with extensive use made of Inkscape, Xfig, Dia, Gnuplot and Octave. Pure Data itself is a free version of the popular Max/MSP program. It is used in game development and mobile audio synthesis systems such as RjDj for the APple iPhone. The Pd diagrams export as Postscript, and can occupy a great range of sizes. A challenge, and unique typesetting feature, of this book was to use diagrams inline, as side paragraph pictures, and as stand alone figures. This proved a difficult task, at one point I tried writing a parser to translate Pd netlists into PStricks code (unsuccessfully - and went back to doing it the hard way aided by Perl scripts). After selling hundreds of copies to customers around the world from my little publishing start-up Applied Scientific Press the book has now been signed to The MIT Press. Many of the kind reviews mention the quality of typesetting/layout, which I believe to be an integral part of writing a technical textbook, inseparable from production of the text. As all textbooks are a labor of love, this one took me 3 years, with no budget. LaTeX, Free software, and the support given to me, helped make it possible. Thankyou. Andy Farnell Author, "Designing Sound" -- Use the source From uwe.lueck at web.de Wed Jul 8 04:19:51 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Wed, 08 Jul 2009 04:19:51 +0200 Subject: [texhax] How to install (Calligraphic) font Message-ID: <1166303003@web.de> Robert Haener IV schrieb am 18.06.2009 21:16:17: > Almost five years ago I printed the following page, and I have never needed another LaTeX reference since (apart from "The LaTeX Companion, Second Edition"): > > http://www.ctan.org/pub/tex-archive/installationadvice/ > > I hope this helps you; please do post again if you still have difficulty after reading this document. I followed this link and then stored it, so it was fine then, now as I am tidying up my mail boxes ... Enjoy! Uwe. From ckuhlman at vbi.vt.edu Tue Jul 7 19:57:08 2009 From: ckuhlman at vbi.vt.edu (Christopher Kuhlman) Date: Tue, 7 Jul 2009 13:57:08 -0400 (EDT) Subject: [texhax] Using *.eps files with Latex In-Reply-To: <266975435.108141246989212208.JavaMail.root@zimbra> Message-ID: <801149544.108301246989428124.JavaMail.root@zimbra> Hello: I am using Windows, with MiKTex 2.6 and TeXnic Center 7.1 beta. Been using it for years, no problem. Always used *.png figure files with Latex. Now I need to use encapsulated postscript. I use the exact same figure formats (e.g., \usepackage{graphicx}, \usepackage{subfigure}) as with *.png files. However, I get fatal error on these figures, as follows: ! LaTex Error: Unknonw graphics extension: .eps. See the LaTeX manual or LaTeX Companion for explanation. Can someone please explain a solution? Thanks much. chris From millstadtf at gmail.com Wed Jul 8 06:41:50 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Tue, 7 Jul 2009 21:41:50 -0700 Subject: [texhax] Using *.eps files with Latex In-Reply-To: <801149544.108301246989428124.JavaMail.root@zimbra> References: <266975435.108141246989212208.JavaMail.root@zimbra> <801149544.108301246989428124.JavaMail.root@zimbra> Message-ID: <44ff02430907072141x5033617bp98894c5a097f42a8@mail.gmail.com> This is one of my least favorite things about LaTeX. If you're using pdftex to compile, you can use (virtually) any image type (png, jpg, etc.) in your documents, but NOT eps. If you use the latex command in concert with dvips or dvi2pdf, you can use eps, but nothing else. I've never heard of anyone offering a solution supporting both eps and jpg file types (someone please prove me wrong!). To answer your question, refer to sections 4.1 and 4.7.3 of the Not So Short Introduction to LaTeX. You want \usepackage[dvips]{graphicx} and must compile using latex, rather than pdftex. HTH, Bob Wilson On Tue, Jul 7, 2009 at 10:57 AM, Christopher Kuhlman wrote: > Hello: > > I am using Windows, with MiKTex 2.6 and TeXnic Center 7.1 beta. Been using > it for years, no problem. > > Always used *.png figure files with Latex. Now I need to use encapsulated > postscript. > > I use the exact same figure formats (e.g., \usepackage{graphicx}, > \usepackage{subfigure}) as with *.png files. > > However, I get fatal error on these figures, as follows: > ! LaTex Error: Unknonw graphics extension: .eps. > See the LaTeX manual or LaTeX Companion for explanation. > > Can someone please explain a solution? > > Thanks much. > > chris > _______________________________________________ > 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 axel.retif at mac.com Wed Jul 8 08:02:04 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 08 Jul 2009 01:02:04 -0500 Subject: [texhax] Using *.eps files with Latex In-Reply-To: <801149544.108301246989428124.JavaMail.root@zimbra> References: <801149544.108301246989428124.JavaMail.root@zimbra> Message-ID: <4F0BBE3D-E60D-476A-A680-78D7A9DDB6B9@mac.com> On 7 Jul, 2009, at 12:57, Christopher Kuhlman wrote: > Hello: > > I am using Windows, with MiKTex 2.6 and TeXnic Center 7.1 beta. > Been using it for years, no problem. > > Always used *.png figure files with Latex. Now I need to use > encapsulated postscript. > > I use the exact same figure formats (e.g., \usepackage{graphicx}, > \usepackage{subfigure}) as with *.png files. > > However, I get fatal error on these figures, as follows: > ! LaTex Error: Unknonw graphics extension: .eps. > See the LaTeX manual or LaTeX Companion for explanation. > > Can someone please explain a solution? On 7 Jul, 2009, at 23:41, Robert Wilson wrote: > This is one of my least favorite things about LaTeX. If you're using > pdftex to compile, you can use (virtually) any image type (png, jpg, > etc.) in your documents, but NOT eps. [...] But you can use epstopdf to convert EPS files to PDF on the fly. > To answer your question, refer to sections 4.1 and 4.7.3 of the Not > So Short Introduction to LaTeX. You want \usepackage[dvips] > {graphicx} and must compile using latex, rather than pdftex. And if you want to output PDF, use \usepackage[pdftex]{graphicx} \usepackage{epstopdf} \epstopdfsetup{update,prepend} See http://ctan.tug.org/tex-archive/macros/latex/contrib/oberdiek/epstopdf.pdf Best, Axel From wa2n at nrar.net Thu Jul 9 15:10:38 2009 From: wa2n at nrar.net (wawan) Date: Thu, 9 Jul 2009 20:10:38 +0700 Subject: [texhax] newline Message-ID: Hi all. I use my own font to write text but latex can not break my text into newline, there is just one long single line text ?? how can I do automatic break into newline ? -- ===================== http://wa2n.nrar.net http://artikelit.com http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From Susan.Dittmar at gmx.de Thu Jul 9 16:31:30 2009 From: Susan.Dittmar at gmx.de (Susan Dittmar) Date: Thu, 9 Jul 2009 16:31:30 +0200 Subject: [texhax] newline In-Reply-To: References: Message-ID: <20090709143130.GA31603@eureca.de> Hi, wawan, > I use my own font to write text but latex can not break my text into > newline, there is just one long single line text ?? how can I do automatic > break into newline ? what exactly are you doing right now? Usually, LaTeX has no problems breaking lines. Could you post a very short example of what you are doing? Then perhaps someone has a chance to find out what's going wrong. Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Bryan.Lepore at umassmed.edu Thu Jul 9 17:13:46 2009 From: Bryan.Lepore at umassmed.edu (Bryan W. Lepore) Date: Thu, 9 Jul 2009 11:13:46 -0400 (EDT) Subject: [texhax] pdflatex : multi figure + one table : \\, aligning figures In-Reply-To: <1246579729.4512.17.camel@sony-sjs> References: <1246579729.4512.17.camel@sony-sjs> Message-ID: On Fri, 3 Jul 2009, Steve Schwartz wrote: > On Fri, 2009-06-26 at 18:48 +0100, Bryan W. Lepore wrote: >> i'd like to get a long figure aligned left, then three small figures >> stacked on the right, then table on the bottom. >> >> +--------+---------+ >> | long | short 1 | >> | |---------+ >> | figure | short 2 | >> | |---------+ >> | | short 3 | >> +--------+---------+ >> | table | >> +------------------+ > You supplied some sample latex code that seemed to be relying on the > size of your graphics to get things right. I'd be inclined to take > control, by putting tabulars inside tabulars, e.g., (totally untested} > > > \usepackage{array} > > \begin{tabular}{m{0.5\textwidth}m{0.5\textwidth}} > \includegraphics[width=0.4\textwidth]{long} & > \begin{tabular}{m{0.45\textwidth}} > \includegraphics[width=0.4\textwidth]{short1}\\ > \includegraphics[width=0.4\textwidth]{short2}\\ > \includegraphics[width=0.4\textwidth]{short3}\\ > \end{tabular} > \\ > \multicolumn{2}{c}{ > \begin{tabular}{.............} your table here \end{tabular} > }\\ > \end{tabular} this was exactly what i needed. i surrounded that with a table environment to get caption/label. thanks Steve! -bryan p.s: i did not try the extra code you wrote From toms at ncifcrf.gov Thu Jul 9 23:48:50 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Thu, 9 Jul 2009 17:48:50 -0400 (EDT) Subject: [texhax] TUG IS DOWN!??? Message-ID: <200907092148.n69LmpR2026636@strawberry.ncifcrf.gov> http://www.tug.org/ is giving me a blank page! 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 From karl at freefriends.org Fri Jul 10 00:02:30 2009 From: karl at freefriends.org (Karl Berry) Date: Thu, 9 Jul 2009 17:02:30 -0500 Subject: [texhax] TUG IS DOWN!??? In-Reply-To: <200907092148.n69LmpR2026636@strawberry.ncifcrf.gov> Message-ID: <200907092202.n69M2Uh24962@f7.net> http://www.tug.org/ is giving me a blank page! Works for me. I did just edit it. Perhaps you hit the request just as the file was saved or something. From toms at ncifcrf.gov Fri Jul 10 00:25:44 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Thu, 9 Jul 2009 18:25:44 -0400 (EDT) Subject: [texhax] TUG IS DOWN!??? - resolved In-Reply-To: <200907092202.n69M2Uh24962@f7.net> from Karl Berry at "Jul 9, 2009 06:02:30 pm" Message-ID: <200907092225.n69MPiDm014804@strawberry.ncifcrf.gov> > http://www.tug.org/ > is giving me a blank page! > > Works for me. > > I did just edit it. Perhaps you hit the request just as the file was > saved or something. Sorry - it may have been my computer overloaded with web pages. It works for me now too. 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 From pkphlam at gmail.com Thu Jul 9 19:49:03 2009 From: pkphlam at gmail.com (Patrick Lam) Date: Thu, 9 Jul 2009 13:49:03 -0400 Subject: [texhax] multiple authors for sciposter Message-ID: <4c8e73360907091049l5f846caepda223a138cb189c@mail.gmail.com> Hi, Does anybody know how to include multiple authors and affiliations for the sciposter.cls? Thanks Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas at bohnomat.de Fri Jul 10 00:29:55 2009 From: thomas at bohnomat.de (Thomas Bohn) Date: Fri, 10 Jul 2009 00:29:55 +0200 Subject: [texhax] TUG IS DOWN!??? In-Reply-To: <200907092148.n69LmpR2026636@strawberry.ncifcrf.gov> References: <200907092148.n69LmpR2026636@strawberry.ncifcrf.gov> Message-ID: <90FE62AB-915E-4175-90A5-E763EC72C299@bohnomat.de> On Jul 9, 2009, at 11:48 PM, Tom Schneider wrote: > http://www.tug.org/ is giving me a blank page! Works fine, next time just try: http://downforeveryoneorjustme.com/ Thomas From uwe.lueck at web.de Fri Jul 10 19:33:07 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Fri, 10 Jul 2009 19:33:07 +0200 Subject: [texhax] fatal errors with footnote italics for critical edition In-Reply-To: <20090709132609.BQT44999@m4500-03.uchicago.edu> References: <605202f20907090922r66a25737tef7f615f4fb07cc0@mail.gmail.com> <1167501125@web.de> <605202f20907090922r66a25737tef7f615f4fb07cc0@mail.gmail.com> Message-ID: <5.1.0.14.0.20090710191036.028e7830@pop3.web.de> Hi Rebecca, thanks for the file. At 20:26 09.07.09, crebecca at uchicago.edu wrote: > We \edt{came}{\A{came \sout{here} H}} the \edt{25th}{\A{five and > twentieth, F}} >to \edt{Mohatch}{\A{\I{Mohatch} F}}, and were shewed the field near it, where >\edt{Lewis}{\A{\I{Lewis}, F}}{\B{Halsband notes that ``LM copied [from >Rycaut's >\I{History of the Turks}] as she admits at the end of the letter," but >this passage >paraphrases and references without copying (Rycaut, 602-3).}} [...] >]! TeX capacity exceeded, sorry [input stack size=5000]. >\\->\x at protect \\ > \protect \\ >l.57 ...ferences without copying (Rycaut, 602-3).} > } the young King of > Hungar... >! ==> Fatal error occurred, no output PDF file produced! OK, I get the same. But > We \edt{came}{\A{came \sout{here} H}} the \edt{25th}{\A{five and > twentieth, F}} >to \edt{Mohatch}{\A{\I{Mohatch} F}}, and were shewed the field near it, where >\edt{Lewis}{\A{\I{Lewis}, F}\B{Halsband notes that ``LM copied [from Rycaut's >\I{History of the Turks}] as she admits at the end of the letter," but >this passage >paraphrases and references without copying (Rycaut, 602-3).}} is alright. `}{' before `\B' removed. As I guessed: *all* the footnote commands for one lemma (first argument of \edtext=\edt) must (or better should, for the safe way) be in the second argument of \edtext: >\edt{}{\A{}\B{}} I knew EDMAC better, where \text{}/ was the model for ledmac's \edtext{}{}. My guess about \morenoexpands was wrong, sorry. It seems to deal with main text formatting only, not with formatting notes. Happy TeXing, Uwe. > > > >At 18:49 01.07.09, you wrote: > > > >>Nothing changes when I move around the > > preamble elements - > > > >> it's still \moreexpands undefined. > > > >> > > > > >> >>---- Original message ---- > > > >> >> >Date: Wed, 01 Jul 2009 16:24:52 +0200 > > > >> >> >From: Uwe L?ck > > > >> >> >Subject: Re: [texhax] fatal errors with > > footnote italics for critical > > > >> >> edition > > > >> >> >To: > > > >> >> >Cc: texhax at tug.org > > > >> >> > > > > >> >> >Sorry, mistyped, must be: > > > >> >> > > > > >> >> >1. Put all footnote commands into the > > second argument of > > > \edt=\edtext > > > >> >> > > > > >> >> >2. In your document preamble, place > > > >> >> > > > > >> >> > ? ? > > \renewcommand{\morenoexpands}{\let\textit=0} > > > >> >> > > > > >> >> >This extends \no at expands. If you get > > problems with \uline as well: > > > >> >> > > > > >> >> > ? ? > > \renewcommand{\morenoexpands}{\let\textit=0\let\uline=0} > > > >> >> > > > > >> >> >and so on when new problems appear. Or > > \let\I=0 if you really never > > > use > > > >> >> >\textit. > > > >> >> > > > > >> >> >HTH -- Uwe. > > > >> >> > > > > >> >> > > > > >> >> >> > > > >> >> >>---- Original message ---- > > > >> >> >> >Date: Wed, 01 Jul 2009 12:48:41 +0200 > > > >> >> >> >From: Uwe Lueck > > > >> >> >> >Subject: Re: [texhax] fatal errors > > with footnote italics for critical > > > >> >> >> edition > > > >> >> >> >To: crebecca at uchicago.edu, texhax > > > > > >> >> >> >Cc: Vafa Khalighi > > > > > >> >> >> > > > > >> >> >> > schrieb am > > 30.06.2009 16:51:08: > > > >> >> >> >> For a critical edition (Mac OS, > > ledmac, TeXShop, all latest > > > >> versions) > > > >> >> >> with > > > >> >> >>double > > > >> >> >> >> footnotes, my B footnotes are > > vulnerable to random "fatal > > > errors" > > > >>when > > > >> >> >> text > > > >> >> >>is > > > >> >> >> >> italicized. ? These fatal errors > > tend to happen when B footnotes > > > >> >> follow A > > > >> >> >> >> footnotes, or when B footnotes reach > > some kind of length or > > > >>formatting > > > >> >> >>limit. > > > >> >> >> >> The error disappears when the > > italicization is removed. > > > >> >> >> >> > > > >> >> >> >> Error first, preamble next. ? Both > > \textit and my macro \I > > > generate > > > >>the > > > >> >> >> same > > > >> >> >> >> error. ? ? Other macros: \edt = > > \edtext ? \A = Afootnote ? \B = > > > >>Bfootnote > > > >> >> >> >> > > > >> >> >> >> \edt{ananas}{\A{\I{Ananasses} F; > > Anana's H}}{\B{pineapples (Fr. > > > >> >> >> \I{ananas})}}, > > > >> >> >> >> \edt{which to my taste}{\A{\sout{I} > > to H; which, to my taste, F}} > > > >> >> >> >> > > > >> >> >> >> (./Letter19final.aux) > > > >> >> >> >> (/usr/local/texlive/2008/texmf- > > > dist/tex/latex/psnfss/ot1ptm.fd) > > > >> >>Section 1 > > > >> >> >> >> (./Letter19final.1) > > > >> >> >> >> ! TeX capacity exceeded, sorry > > [input stack size=5000]. > > > >> >> >> >> \@nomath ...e \@font at warning > > {Command \noexpand #1 > > > >> >> >> >> ? ? ? ? ? ? ? ? ? ? ? ? > > ? ? ? ? ? ? ? ? ? ? ? ? ? invalid in > > math > > > >> >> >> mode}\fi > > > >> >> >> >> l.43 ...nana's H}}{\B{pineapples > > (Fr. \I{ananas})} > > > >> >> >> >> ? ? ? ? ? ? ? ? ? ? ? ? > > ? ? ? ? ? ? ? ? ? ? ? ? ? }, > > \edt{which > > > >> to my > > > >> >> >> taste}... > > > >> >> >> >> > > > >> >> >> >> ! ? ==> Fatal error occurred, no > > output PDF file produced! > > > >> >> >> >> Transcript written on > > Letter19final.log. > > > >> >> >> >> > > > >> >> >> >> \documentclass[12pt]{article} > > > >> >> >> >> \title{Turkish Embassy Letters} > > > >> >> >> >> \author{ed. Rebecca Chung} > > > >> >> >> >> ? \renewcommand{\rmdefault}{ptm} > > > >> >> >> >> > > > >> >> >> >> \newcommand{\A}{\Afootnote} > > > >> >> >> >> \newcommand{\B}{\Bfootnote} > > > >> >> >> >> \newcommand{\edt}{\edtext} > > > >> >> >> >> \newcommand{\I}{\textit} > > > >> >> >> >> \newcommand{\U}{\uline} > > > >> >> >> >> \newcommand{\OED}{(\I{OED})} > > > >> >> >> >> \newcommand{\CL}{\I{Complete > > Letters}} > > > >> >> >> >> > > > >> >> >> >> \usepackage{ledmac} From wa2n at nrar.net Sat Jul 11 00:52:46 2009 From: wa2n at nrar.net (wawan) Date: Sat, 11 Jul 2009 05:52:46 +0700 Subject: [texhax] howto renewcommand paragraph enviroment Message-ID: How can I renewcommand paragraph enviroment to always using \noindent ? So if I start \begin{paragraph} the paragraph is no indent Regards Wa2nlinux -- ===================== http://wa2n.nrar.net http://artikelit.com http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesseperla at gmail.com Fri Jul 10 17:07:50 2009 From: jesseperla at gmail.com (Jesse Perla) Date: Fri, 10 Jul 2009 11:07:50 -0400 Subject: [texhax] Recommendations on source code printing with highlighting and tabs Message-ID: <9b4746990907100807r386f3267ne5007b65e6e710e7@mail.gmail.com> I need to display source code (mostly C++, but a little matlab and XML) for research papers and tutorials, but am having trouble getting it to look as good as software books Question 1) With lstlisting or verbatimtab, is there any way to highlight lines of code? I want to have a chunk of code and highlight relevant lines somehow (ideally with a background color for it, etc. but I am flexible). Question 2) What are the lstset settings people use with lstlisting to make C++ or others look 'nice'? Question 3) I tried both 'lstlisting' and 'verbatimtab'. Are there any other ones I should be aware of? Thanks for your help, Jesse -------------- next part -------------- An HTML attachment was scrubbed... URL: From crebecca at uchicago.edu Fri Jul 10 21:24:15 2009 From: crebecca at uchicago.edu (crebecca at uchicago.edu) Date: Fri, 10 Jul 2009 14:24:15 -0500 (CDT) Subject: [texhax] fatal errors with footnote italics for critical edition In-Reply-To: <5.1.0.14.0.20090710191036.028e7830@pop3.web.de> References: <605202f20907090922r66a25737tef7f615f4fb07cc0@mail.gmail.com> <1167501125@web.de> <605202f20907090922r66a25737tef7f615f4fb07cc0@mail.gmail.com> <5.1.0.14.0.20090710191036.028e7830@pop3.web.de> Message-ID: <20090710142415.BQU42522@m4500-03.uchicago.edu> My error comes from how I learned ledmac, and how I thought the brackets functioned. I thought \edtext{lemma}{\A{}}{\B{Date: Fri, 10 Jul 2009 19:33:07 +0200 >From: Uwe L?ck >Subject: Re: [texhax] fatal errors with footnote italics for critical edition >To: Rebecca Chung , Vafa Khalighi >Cc: texhax at tug.org > >Hi Rebecca, thanks for the file. > >At 20:26 09.07.09, crebecca at uchicago.edu wrote: >> We \edt{came}{\A{came \sout{here} H}} the \edt{25th}{\A{five and >> twentieth, F}} >>to \edt{Mohatch}{\A{\I{Mohatch} F}}, and were shewed the field near it, where >>\edt{Lewis}{\A{\I{Lewis}, F}}{\B{Halsband notes that ``LM copied [from >>Rycaut's >>\I{History of the Turks}] as she admits at the end of the letter," but >>this passage >>paraphrases and references without copying (Rycaut, 602-3).}} >[...] >>]! TeX capacity exceeded, sorry [input stack size=5000]. >>\\->\x at protect \\ >> \protect \\ >>l.57 ...ferences without copying (Rycaut, 602-3).} >> } the young King of >> Hungar... >>! ==> Fatal error occurred, no output PDF file produced! > >OK, I get the same. But > >> We \edt{came}{\A{came \sout{here} H}} the \edt{25th}{\A{five and >> twentieth, F}} >>to \edt{Mohatch}{\A{\I{Mohatch} F}}, and were shewed the field near it, where >>\edt{Lewis}{\A{\I{Lewis}, F}\B{Halsband notes that ``LM copied [from Rycaut's >>\I{History of the Turks}] as she admits at the end of the letter," but >>this passage >>paraphrases and references without copying (Rycaut, 602-3).}} > >is alright. `}{' before `\B' removed. As I guessed: *all* the footnote >commands for one lemma (first argument of \edtext=\edt) must (or better >should, for the safe way) be in the second argument of \edtext: > >>\edt{}{\A{}\B{}} > >I knew EDMAC better, where \text{}/ was the model for >ledmac's \edtext{}{}. > >My guess about \morenoexpands was wrong, sorry. It seems to deal with main >text formatting only, not with formatting notes. > >Happy TeXing, > > Uwe. > > >> > > >At 18:49 01.07.09, you wrote: >> > > >>Nothing changes when I move around the >> > preamble elements - >> > > >> it's still \moreexpands undefined. >> > > >> > >> > > >> >>---- Original message ---- >> > > >> >> >Date: Wed, 01 Jul 2009 16:24:52 +0200 >> > > >> >> >From: Uwe L?ck >> > > >> >> >Subject: Re: [texhax] fatal errors with >> > footnote italics for critical >> > > >> >> edition >> > > >> >> >To: >> > > >> >> >Cc: texhax at tug.org >> > > >> >> > >> > > >> >> >Sorry, mistyped, must be: >> > > >> >> > >> > > >> >> >1. Put all footnote commands into the >> > second argument of >> > > \edt=\edtext >> > > >> >> > >> > > >> >> >2. In your document preamble, place >> > > >> >> > >> > > >> >> > ? ? >> > \renewcommand{\morenoexpands}{\let\textit=0} >> > > >> >> > >> > > >> >> >This extends \no at expands. If you get >> > problems with \uline as well: >> > > >> >> > >> > > >> >> > ? ? >> > \renewcommand{\morenoexpands}{\let\textit=0\let\uline=0} >> > > >> >> > >> > > >> >> >and so on when new problems appear. Or >> > \let\I=0 if you really never >> > > use >> > > >> >> >\textit. >> > > >> >> > >> > > >> >> >HTH -- Uwe. >> > > >> >> > >> > > >> >> > >> > > >> >> >> >> > > >> >> >>---- Original message ---- >> > > >> >> >> >Date: Wed, 01 Jul 2009 12:48:41 +0200 >> > > >> >> >> >From: Uwe Lueck >> > > >> >> >> >Subject: Re: [texhax] fatal errors >> > with footnote italics for critical >> > > >> >> >> edition >> > > >> >> >> >To: crebecca at uchicago.edu, texhax >> > >> > > >> >> >> >Cc: Vafa Khalighi >> > >> > > >> >> >> > >> > > >> >> >> > schrieb am >> > 30.06.2009 16:51:08: >> > > >> >> >> >> For a critical edition (Mac OS, >> > ledmac, TeXShop, all latest >> > > >> versions) >> > > >> >> >> with >> > > >> >> >>double >> > > >> >> >> >> footnotes, my B footnotes are >> > vulnerable to random "fatal >> > > errors" >> > > >>when >> > > >> >> >> text >> > > >> >> >>is >> > > >> >> >> >> italicized. ? These fatal errors >> > tend to happen when B footnotes >> > > >> >> follow A >> > > >> >> >> >> footnotes, or when B footnotes reach >> > some kind of length or >> > > >>formatting >> > > >> >> >>limit. >> > > >> >> >> >> The error disappears when the >> > italicization is removed. >> > > >> >> >> >> >> > > >> >> >> >> Error first, preamble next. ? Both >> > \textit and my macro \I >> > > generate >> > > >>the >> > > >> >> >> same >> > > >> >> >> >> error. ? ? Other macros: \edt = >> > \edtext ? \A = Afootnote ? \B = >> > > >>Bfootnote >> > > >> >> >> >> >> > > >> >> >> >> \edt{ananas}{\A{\I{Ananasses} F; >> > Anana's H}}{\B{pineapples (Fr. >> > > >> >> >> \I{ananas})}}, >> > > >> >> >> >> \edt{which to my taste}{\A{\sout{I} >> > to H; which, to my taste, F}} >> > > >> >> >> >> >> > > >> >> >> >> (./Letter19final.aux) >> > > >> >> >> >> (/usr/local/texlive/2008/texmf- >> > > dist/tex/latex/psnfss/ot1ptm.fd) >> > > >> >>Section 1 >> > > >> >> >> >> (./Letter19final.1) >> > > >> >> >> >> ! TeX capacity exceeded, sorry >> > [input stack size=5000]. >> > > >> >> >> >> \@nomath ...e \@font at warning >> > {Command \noexpand #1 >> > > >> >> >> >> ? ? ? ? ? ? ? ? ? ? ? ? >> > ? ? ? ? ? ? ? ? ? ? ? ? ? invalid in >> > math >> > > >> >> >> mode}\fi >> > > >> >> >> >> l.43 ...nana's H}}{\B{pineapples >> > (Fr. \I{ananas})} >> > > >> >> >> >> ? ? ? ? ? ? ? ? ? ? ? ? >> > ? ? ? ? ? ? ? ? ? ? ? ? ? }, >> > \edt{which >> > > >> to my >> > > >> >> >> taste}... >> > > >> >> >> >> >> > > >> >> >> >> ! ? ==> Fatal error occurred, no >> > output PDF file produced! >> > > >> >> >> >> Transcript written on >> > Letter19final.log. >> > > >> >> >> >> >> > > >> >> >> >> \documentclass[12pt]{article} >> > > >> >> >> >> \title{Turkish Embassy Letters} >> > > >> >> >> >> \author{ed. Rebecca Chung} >> > > >> >> >> >> ? \renewcommand{\rmdefault}{ptm} >> > > >> >> >> >> >> > > >> >> >> >> \newcommand{\A}{\Afootnote} >> > > >> >> >> >> \newcommand{\B}{\Bfootnote} >> > > >> >> >> >> \newcommand{\edt}{\edtext} >> > > >> >> >> >> \newcommand{\I}{\textit} >> > > >> >> >> >> \newcommand{\U}{\uline} >> > > >> >> >> >> \newcommand{\OED}{(\I{OED})} >> > > >> >> >> >> \newcommand{\CL}{\I{Complete >> > Letters}} >> > > >> >> >> >> >> > > >> >> >> >> \usepackage{ledmac} > -------------------------- Rebecca Chung crebecca at uchicago.edu chung at iit.edu if you receive this message in error, please notify crebecca at uchicago.edu and support at uchicago.edu From madunix at gmail.com Sat Jul 11 14:24:51 2009 From: madunix at gmail.com (madunix) Date: Sat, 11 Jul 2009 14:24:51 +0200 Subject: [texhax] ubuntu Message-ID: <4d3f56c90907110524o29ddfaag46dec8b16268e944@mail.gmail.com> How can I install Latex on my ubuntu notebook ? Thanks -mu From eduardo at kalinowski.com.br Sat Jul 11 15:29:33 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sat, 11 Jul 2009 10:29:33 -0300 Subject: [texhax] ubuntu In-Reply-To: <4d3f56c90907110524o29ddfaag46dec8b16268e944@mail.gmail.com> References: <4d3f56c90907110524o29ddfaag46dec8b16268e944@mail.gmail.com> Message-ID: <4A5893BD.1080003@kalinowski.com.br> madunix wrote: > How can I install Latex on my ubuntu notebook ? > sudo apt-get install texlive The version in Ubuntu is not the latest, but it works pretty well unless you need specific packages that have been udpated since then. -- In love, she who gives her portrait promises the original. -- Bruton Eduardo M KALINOWSKI eduardo at kalinowski.com.br From toms at ncifcrf.gov Sun Jul 12 03:06:42 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sat, 11 Jul 2009 21:06:42 -0400 (EDT) Subject: [texhax] white space problem Message-ID: <200907120106.n6C16g4P001480@strawberry.ncifcrf.gov> Folks: I've often been puzzled when bibtex objects to having white space in between references. It turns out that this happens for some journal styles and not for others. In particular, it happens with Cell: http://www.ccrnp.ncifcrf.gov/~toms/ftp/cell.sty I've tracked it down somewhat but need help identifying the exact problem since I don't understand the code well. For this latex file: \documentclass[12pt]{article} \newcommand{\theversion}{{version = 1.00 of cew.tex 2009 Jul 11 }} \usepackage{celltest} \begin{document} \bibliographystyle{unsrt} \cite{Schneider1986, Schneider1988, Schneider1989}. \bibliography{all} \end{document} with this test style file: % version = 1.00 of celltest.sty % white space problem comes from this code: \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi \def\@citea{}\@cite{\@for\@citeb:=#2\do {\@citea\def\@citea{; }\@ifundefined {b@\@citeb}{{\bf ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}% {\csname b@\@citeb\endcsname}}}{#1}} I get a paper.aux: \relax \bibstyle{unsrt} \citation{Schneider1986, Schneider1988, Schneider1989} \bibdata{all} and bibtex objects: This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: paper.aux The style file: unsrt.bst White space in argument---line 3 of file paper.aux : \citation{Schneider1986, : Schneider1988, Schneider1989} I'm skipping whatever remains of this command Database file #1: all.bib (There was 1 error message) But if I make the style file empty (or don't call it with usepackage) then the paper.aux is: \relax \bibstyle{unsrt} \citation{Schneider1986} \citation{Schneider1988} \citation{Schneider1989} \bibdata{all} and bibtex is happy: This is BibTeX, Version 0.99c (Web2C 7.5.5) The top-level auxiliary file: paper.aux The style file: unsrt.bst Database file #1: all.bib So the question is how to get the semicolon between references in the final output (which is Cell's style) without being forced to remove spaces in the citations? How do I fix the celltest.sty code? (How the chunk of style code generates the commas and space in a different format is mysterious to me since it's not explicitly in the code.) Thanks! Tom Dr. Thomas D. Schneider National Institutes of Health schneidt at mail.nih.gov toms at alum.mit.edu (permanent) http://alum.mit.edu/www/toms From jesseperla at gmail.com Sun Jul 12 16:45:58 2009 From: jesseperla at gmail.com (Jesse Perla) Date: Sun, 12 Jul 2009 10:45:58 -0400 Subject: [texhax] Recommendations on source code printing with highlighting and tabs Message-ID: <9b4746990907120745o3d6245f3vd0fa87f1c60b1aa4@mail.gmail.com> I need to display source code (mostly C++, but a little matlab and XML) for research papers and tutorials, but am having trouble getting it to look as good as software books Question 1) With lstlisting or verbatimtab, is there any way to highlight lines of code? I want to have a chunk of code and highlight relevant lines somehow (ideally with a background color for it, etc. but I am flexible). Question 2) What are the lstset settings people use with lstlisting to make C++ or others look 'nice'? Question 3) I tried both 'lstlisting' and 'verbatimtab'. Are there any other ones I should be aware of? Thanks for your help, Jesse -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at cs.umb.edu Sun Jul 12 15:33:18 2009 From: kathryn at cs.umb.edu (Kathryn Hargreaves) Date: Sun, 12 Jul 2009 06:33:18 -0700 Subject: [texhax] fontsize isn't affecting leading Message-ID: <598918a00907120633m75394f02s95aa8388511c0fb6@mail.gmail.com> Hi, I'm trying to get a large font using: \newcommand\largetitleline[1]{% \textsf{\textsl{\fontsize{36}{42}\selectfont}} #1}} It doesn't seem to affect the leading (\baselineskip), so if there's a line break, the lines touch each other. I even tried to change \baselineskip and \baselinestretch directly, with no results. Thanks for any help, Kathy From teli at mails.selgrad.org Sun Jul 12 18:18:29 2009 From: teli at mails.selgrad.org (teli at mails.selgrad.org) Date: Sun, 12 Jul 2009 18:18:29 +0200 Subject: [texhax] Recommendations on source code printing with highlighting and tabs In-Reply-To: <9b4746990907120745o3d6245f3vd0fa87f1c60b1aa4@mail.gmail.com> References: <9b4746990907120745o3d6245f3vd0fa87f1c60b1aa4@mail.gmail.com> Message-ID: <20090712161829.GA7375@shoikan> Hej, On 10:45 Sun 12 Jul , Jesse Perla wrote: > I need to display source code (mostly C++, but a little matlab and > XML) for research papers and tutorials, but am having trouble getting > it to look as good as software books I read a lot of books with worse listing quality (e.g. verbatim style, no highlighting). :) > Question 1) With lstlisting or verbatimtab, is there any way to > highlight lines of code? I want to have a chunk of code and highlight > relevant lines somehow (ideally with a background color for it, etc. > but I am flexible). Listings with color are possible, I don't know about background highlighting for seperate lines, but foreground color should be possible. Have a look at the color section of the manual on www.ctan.org. > Question 2) What are the lstset settings people use with lstlisting to > make C++ or others look 'nice'? I'm not doing this for real publications, but i use: \lstset{language=C++, basicstyle=\small, frame=single, breaklines=true, breakatwhitespace=true, numbers=left, numberstyle=\tiny, xleftmargin=5mm, tabsize=4 } I don't say this settings are 'nice', but they are Ok for me :) Maybe the listed options can serve as hints for the index :) > Question 3) I tried both 'lstlisting' and 'verbatimtab'. Are there > any other ones I should be aware of? The lstlistings manual mentions many other. Hope this was of any help :) Kai -- All mail clients suck. This one just sucks less. From bnb at ams.org Sun Jul 12 19:21:15 2009 From: bnb at ams.org (Barbara Beeton) Date: Sun, 12 Jul 2009 13:21:15 -0400 (EDT) Subject: [texhax] fontsize isn't affecting leading In-Reply-To: <598918a00907120633m75394f02s95aa8388511c0fb6@mail.gmail.com> References: <598918a00907120633m75394f02s95aa8388511c0fb6@mail.gmail.com> Message-ID: I'm trying to get a large font using: \newcommand\largetitleline[1]{% \textsf{\textsl{\fontsize{36}{42}\selectfont}} #1}} It doesn't seem to affect the leading (\baselineskip), so if there's a line break, the lines touch each other. the baseline calculation doesn't take effect until there's a \par (or blank line). if you add \par just after #1, that should do it. I even tried to change \baselineskip and \baselinestretch directly, with no results. nope, won't help. this seems to jump out and bite nearly everyone at some time or other. just remember the \par . -- bb From christopherolah.co at gmail.com Sun Jul 12 22:37:54 2009 From: christopherolah.co at gmail.com (Christopher Olah) Date: Sun, 12 Jul 2009 16:37:54 -0400 Subject: [texhax] Detexify2 - LaTeX symbol classifier Message-ID: Greetings! This is worth looking at: http://detexify.kirelabs.org/classify.html It recognizes drawn symbols and gives relevant data on it. Christopher From uwe.lueck at web.de Sun Jul 12 23:03:58 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 12 Jul 2009 23:03:58 +0200 Subject: [texhax] howto renewcommand paragraph enviroment In-Reply-To: Message-ID: <5.1.0.14.0.20090712225845.0291eb70@pop3.web.de> At 00:52 11.07.09, wawan wrote: >How can I renewcommand paragraph enviroment to always using \noindent ? >So if I start \begin{paragraph} the paragraph is no indent Do you really prefer \begin{paragraph} ... \end{paragraph} to \noindent ... ? However, \parindent=0pt avoids paragraph indents forever. Good old parskip.sty increases \parskip so paragraph breaks are better visible. HTH -- Uwe. From asnd at triumf.ca Sun Jul 12 23:24:51 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 12 Jul 2009 14:24:51 -0700 Subject: [texhax] white space problem In-Reply-To: <200907120106.n6C16g4P001480@strawberry.ncifcrf.gov> References: <200907120106.n6C16g4P001480@strawberry.ncifcrf.gov> Message-ID: Tom Schneider writes: > I've often been puzzled when bibtex objects to having white space in > between references. *\cite* objectes to having white-space. > It turns out that this happens for some journal > styles and not for others. The bad ones are broken, but regular latex used to choke on such spaces a long time ago. > In particular, it happens with Cell: > > http://www.ccrnp.ncifcrf.gov/~toms/ftp/cell.sty Are you in a position to fix it? If not, then it is best to bite the bullet and type no spaces. Also, suggest to the maintainer, if any, that the cite code could be updated to a more recent version of latex. > % white space problem comes from this code: > \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi > \def\@citea{}\@cite{\@for\@citeb:=#2\do > {\@citea\def\@citea{; }\@ifundefined Another suggestion... \usepackage{cite} \renewcommand\citepunct{;\penalty5000\ } or \renewcommand\citepunct{;~} > This is BibTeX, Version 0.99c (Web2C 7.5.5) And if bibtex were anything but apparent abandonware, it would have been changed to ignore spaces after commas many years ago. -- Donald Arseneau asnd at triumf.ca From toms at ncifcrf.gov Mon Jul 13 07:03:38 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Mon, 13 Jul 2009 01:03:38 -0400 (EDT) Subject: [texhax] white space problem In-Reply-To: from Donald Arseneau at "Jul 12, 2009 05:24:51 pm" Message-ID: <200907130503.n6D53cxn021546@strawberry.ncifcrf.gov> Donald: > > I've often been puzzled when bibtex objects to having white space in > > between references. > > *\cite* objectes to having white-space. ok ... > > It turns out that this happens for some journal > > styles and not for others. > > The bad ones are broken, but regular latex used to choke > on such spaces a long time ago. > > > In particular, it happens with Cell: > > > > http://www.ccrnp.ncifcrf.gov/~toms/ftp/cell.sty > > Are you in a position to fix it? If not, then it is > best to bite the bullet and type no spaces. Also, > suggest to the maintainer, if any, that the cite code > could be updated to a more recent version of latex. Seems that I'm the person. But I don't know how to read the code enough to make an appropriate change. If you know how, I'd much appreciate it. > > % white space problem comes from this code: > > \def\@citex[#1]#2{\if at filesw\immediate\write\@auxout{\string\citation{#2}}\fi > > \def\@citea{}\@cite{\@for\@citeb:=#2\do > > {\@citea\def\@citea{; }\@ifundefined > > Another suggestion... > > \usepackage{cite} > \renewcommand\citepunct{;\penalty5000\ } > or > \renewcommand\citepunct{;~} You mean I should add this to the cell.sty? Exactly what change should I do? > > This is BibTeX, Version 0.99c (Web2C 7.5.5) > > And if bibtex were anything but apparent abandonware, it would have > been changed to ignore spaces after commas many years ago. Isn't it a key part of the LaTeX system??? 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 From rodolfo.medina at gmail.com Mon Jul 13 21:00:27 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Mon, 13 Jul 2009 20:00:27 +0100 Subject: [texhax] Using eurm10 font chart Message-ID: <87my782yt0.fsf@gmail.com> Hi to all (La)TeX users. I need some greek letters that I see in the file amsndoc.dvi (p.38 for me), under the eurm10 family. I use plain TeX. I put: \newfam\eurmfam \font\teneurm=eurm10 \textfont\eurmfam=\teneurm \def\bb{\fam\eurmfam\teneurm} , and it works if I do: $$\bb A$$ ; but, if I do: $$\bb \varphi$$ , it does not work. What is the best way to solve this? Thanks for any help Rodolfo From asnd at triumf.ca Mon Jul 13 20:44:08 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 13 Jul 2009 11:44:08 -0700 Subject: [texhax] white space problem In-Reply-To: <200907130503.n6D53cxn021546@strawberry.ncifcrf.gov> References: <200907130503.n6D53cxn021546@strawberry.ncifcrf.gov> Message-ID: Tom Schneider writes: > Seems that I'm the person. But I don't know how to read the code > enough to make an appropriate change. If you know how, I'd much > appreciate it. The only change I see from basic (old) LaTeX is the change of "," to ";" so one solution is to grab the current definition of cite (\@citex specifically) from latex.ltx and put it in cell.sty (.cls?) but changing the "," to ";". This might bother users of very old LaTeX versions by introducing incompatabilities though. > > \usepackage{cite} > > \renewcommand\citepunct{;\penalty5000\ } > > or > > \renewcommand\citepunct{;~} > > You mean I should add this to the cell.sty? Exactly what change > should I do? I was thinking of in your document, after cell.sty, to over-write the definition with a functioning new one. But yes, it would be quite sensible to replace the cite definition with loading another package like "cite", which should relieve the burden of tracking changes to LaTeX. Use \RequirePackage or \RequirePackageWithOptions rather than \usepackage. Check that the features meet the cell requirements. > > And if bibtex were anything but apparent abandonware, it would have > > been changed to ignore spaces after commas many years ago. > > Isn't it a key part of the LaTeX system??? Yes, and it hasn't been maintained properly. -- Donald Arseneau asnd at triumf.ca From bnb at ams.org Mon Jul 13 21:31:28 2009 From: bnb at ams.org (Barbara Beeton) Date: Mon, 13 Jul 2009 15:31:28 -0400 (EDT) Subject: [texhax] Using eurm10 font chart In-Reply-To: <87my782yt0.fsf@gmail.com> References: <87my782yt0.fsf@gmail.com> Message-ID: I need some greek letters that I see in the file amsndoc.dvi (p.38 for me), under the eurm10 family. I use plain TeX. I put: \newfam\eurmfam \font\teneurm=eurm10 \textfont\eurmfam=\teneurm \def\bb{\fam\eurmfam\teneurm} you shouldn't actually need the extra \teneurm in \def\bb -- i suggest a definition modeled on \def\eufm (p.11 of amsfndoc): \def\bb#1{{\fam\eurfam\relax#1}} that way it should also be usable for other sizes if you decide to extend your definitions to include \scriptfont et al. , and it works if I do: $$\bb A$$ ; but, if I do: $$\bb \varphi$$ , it does not work. What is the best way to solve this? this is a function of how \varphi is defined. in plain.tex it's \mathchardef\varphi="0127 which fixes the font as family 1 (cmr). this is essentially the case for any non-latin symbol. i suggest redefining \varphi thus: \def\varphi{\bb{\char"27}} i realize that the eurm font isn't covered very well (not at all?) in amsfndoc; that's up for revision later this year, so i'll put on the list a note to warn that the non-latin items in eurm aren't accessible by the "usual" commands. -- bb From toms at ncifcrf.gov Tue Jul 14 01:16:32 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Mon, 13 Jul 2009 19:16:32 -0400 (EDT) Subject: [texhax] white space problem In-Reply-To: from Donald Arseneau at "Jul 13, 2009 02:44:08 pm" Message-ID: <200907132316.n6DNGWqa026843@strawberry.ncifcrf.gov> > > Seems that I'm the person. But I don't know how to read the code > > enough to make an appropriate change. If you know how, I'd much > > appreciate it. > > The only change I see from basic (old) LaTeX is the change of "," > to ";" so one solution is to grab the current definition of cite > (\@citex specifically) from latex.ltx and put it in cell.sty (.cls?) > but changing the "," to ";". Ok, I found that ... > This might bother users of very old LaTeX versions by introducing > incompatabilities though. Ok, won't do that ... > > > \usepackage{cite} > > > \renewcommand\citepunct{;\penalty5000\ } > > > or > > > \renewcommand\citepunct{;~} > > > > You mean I should add this to the cell.sty? Exactly what change > > should I do? > > I was thinking of in your document, after cell.sty, to over-write > the definition with a functioning new one. But yes, it would be > quite sensible to replace the cite definition with loading another > package like "cite", which should relieve the burden of tracking > changes to LaTeX. Use \RequirePackage or \RequirePackageWithOptions > rather than \usepackage. Check that the features meet the cell > requirements. Ok, I modernized cell.bst and cell.sty using cite. Thanks for your help! http://www.ccrnp.ncifcrf.gov/~toms/ftp/cell.sty http://www.ccrnp.ncifcrf.gov/~toms/ftp/cell.bst > > > And if bibtex were anything but apparent abandonware, it would have > > > been changed to ignore spaces after commas many years ago. > > > > Isn't it a key part of the LaTeX system??? > > Yes, and it hasn't been maintained properly. :-( 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 From texhax at uit.co.uk Tue Jul 14 12:16:51 2009 From: texhax at uit.co.uk (Niall Mansfield) Date: Tue, 14 Jul 2009 11:16:51 +0100 Subject: [texhax] LaTeX tutorial at UKUUG Summer Conference, 7/8/9 August 2009 Message-ID: <4A5C5B13.4010505@uit.co.uk> The UKUUG (UK Unix Users Group) is running a LaTeX tutorial at the Summer Conference, on Friday 7-Aug-2009: Duration: half-day workshop (09:30 - 13:00) Tutors: Jonathan Fine, chairman of the UK TeX User Group, developer of http://www.mathtran.org Joseph Wright, webmaster for the UK TeX User Group and UK TUG, member of the LaTeX3 project. Alun Moon, Senior Lecturer in Computing, Northumbria University. Details: http://summer2009.ukuug.org/Tutorials The venue is the The Conservatoire, Birmingham City University, B3 3HG, England. The Conservatoire is in the centre of Britain's Second City within walking distance of major train and coach stations and hotels at all price ranges. http://summer2009.ukuug.org Other tutorials are: T1. Getting into Drupal - full day Tutors: Peter Brownell and Robert Castelo, Code Positive Ltd. T2. Arduino Introductory Workshop - full day Tutor: Andrew Eliasz, First Technology Transfer T4. Getting to Know the GIMP - full day Tutor: Neil Woolford (professional photographer) T5. Getting started with Voice over IP (VoIP) - full day workshop Tutor: Quentin Wright ------------------------------------------------------------- Niall Mansfield UIT Cambridge Ltd. PO Box 145 Cambridge CB4 1GQ, England tel: +44 1223 302 041 ------------------------------------------------------------- From rodolfo.medina at gmail.com Tue Jul 14 15:10:02 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Tue, 14 Jul 2009 14:10:02 +0100 Subject: [texhax] Using eurm10 font chart References: <87my782yt0.fsf@gmail.com> Message-ID: <87d4839zrp.fsf@gmail.com> Barbara Beeton writes: > I need some greek letters that I see in the file amsndoc.dvi (p.38 for > me), under the eurm10 family. > > I use plain TeX. > > I put: > > \newfam\eurmfam > \font\teneurm=eurm10 > \textfont\eurmfam=\teneurm > \def\bb{\fam\eurmfam\teneurm} > > you shouldn't actually need the extra \teneurm > in \def\bb -- i suggest a definition modeled on > \def\eufm (p.11 of amsfndoc): > > \def\bb#1{{\fam\eurfam\relax#1}} > > that way it should also be usable for other > sizes if you decide to extend your definitions > to include \scriptfont et al. > > [...] > > i suggest redefining \varphi thus: > > \def\varphi{\bb{\char"27}} Hi, Barbara, thanks for your help, but that does not work for me. I had to define \varphi as: \mathchardef\varphi="B27 , where `B' is \eurfam, my 11th family. Bye Rodolfo From rodolfo.medina at gmail.com Tue Jul 14 16:41:54 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Tue, 14 Jul 2009 15:41:54 +0100 Subject: [texhax] Using eurm10 font chart References: <87my782yt0.fsf@gmail.com> <87d4839zrp.fsf@gmail.com> Message-ID: <873a8z72dp.fsf@gmail.com> Barbara Beeton writes: > > i suggest redefining \varphi thus: > > > > \def\varphi{\bb{\char"27}} > > thanks for your help, but that does not work for me. I had to define > \varphi as: > > \mathchardef\varphi="B27 > > , where `B' is \eurfam, my 11th family. > > well, that's certainly more robust. Strange your suggestion didn't work, any idea why? Does it for you? R. From nicholas.cole at gmail.com Tue Jul 14 12:23:03 2009 From: nicholas.cole at gmail.com (Nicholas Cole) Date: Tue, 14 Jul 2009 11:23:03 +0100 Subject: [texhax] biblatex and tex4ht Message-ID: Dear Texhax, I've posted this question elsewhere, but having discovered this list, I hope that this would be an appropriate place to ask it. Has anyone managed to get tex4ht to work with biblatex? Matthias Damm says he has done, but I haven't been able to successfully re-create his setup yet. I currently have the texlive pretesting files installed, so I hope that I have the latest versions of everything, and I've pasted minimal example files at the end of this email. I've also pasted the error messages that htlatex produces on my system. I've used tex4ht / htlatex very successfully with other packages. Does anyone have any suggestions for making it work with biblatex? Best wishes, Nicholas == test.tex \documentclass{article} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=verbose]{biblatex} \bibliography{MyBibliography} \begin{document} Hello \(\alpha\) \footcite{Pole1966} \end{document} == MyBibliography.bib @book{Pole1966, Address = {New York, NY}, Author = {Pole, J. R.}, Booktitle = {Political Representation in England and the Origins of the American Republic}, Date-Added = {2009-07-09 18:18:20 +0100}, Date-Modified = {2009-07-09 18:18:20 +0100}, Publisher = {MacMillan}, Title = {Political Representation in England and the Origins of the American Republic}, Year = {1966}} == Error messages == $ mk4ht oolatex test mk4ht (2008-06-28-19:09) htlatex test "xhtml,ooffice" "ooffice/! -cmozhtf" "-cooxtpipes -coo" This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) restricted \write18 enabled. entering extended mode LaTeX2e <2005/12/01> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, la tin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish, port uguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedi sh, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded. (./test.tex (/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/tex4ht.sty) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/usepackage.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/babel/babel.sty (/usr/local/texlive/2009/texmf-dist/tex/generic/babel/english.ldf (/usr/local/texlive/2009/texmf-dist/tex/generic/babel/babel.def))) (/Users/nicholas/texmf/tex/latex/csquotes/csquotes.sty (/Users/nicholas/texmf/tex/latex/etoolbox/etoolbox.sty (/usr/local/texlive/2009/texmf-dist/tex/latex/etex-pkg/etex.sty)) (/usr/local/texlive/2009/texmf-dist/tex/latex/graphics/keyval.sty) (/Users/nicholas/texmf/tex/latex/csquotes/csquotes.def) (/Users/nicholas/texmf/tex/latex/csquotes/csquotes.cfg)) (/Users/nicholas/texmf/tex/latex/biblatex/biblatex.sty (/usr/local/texlive/2009/texmf-dist/tex/latex/base/ifthen.sty) (/usr/local/texlive/2009/texmf-dist/tex/latex/ltxmisc/url.sty) (/Users/nicholas/texmf/tex/latex/biblatex/biblatex.def) (/Users/nicholas/texmf/tex/latex/biblatex/bbx/verbose.bbx (/Users/nicholas/texmf/tex/latex/biblatex/bbx/authortitle.bbx (/Users/nicholas/texmf/tex/latex/biblatex/bbx/standard.bbx))) (/Users/nicholas/texmf/tex/latex/biblatex/cbx/verbose.cbx) (/Users/nicholas/texmf/tex/latex/biblatex/biblatex.cfg)) (/Users/nicholas/texmf/tex/latex/biblatex/lbx/american.lbx (/Users/nicholas/texmf/tex/latex/biblatex/lbx/english.lbx)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/tex4ht.4ht :::::::::::::::::::::::::::::::::::::::::: TeX4ht info is available in the log file :::::::::::::::::::::::::::::::::::::::::: ) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/tex4ht.sty --- needs --- tex4ht test --- (./test.tmp) (./test.xref) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/latex.4ht (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/fontmath.4ht (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht [1 \@writefile{toc}{\defcounter{refsection}{0}} \@writefile{toc}{\boolfalse{citerequest}\boolfalse{citetracker}\boolfalse{paget racker}} \@writefile{lof}{\defcounter{refsection}{0}} \@writefile{lof}{\boolfalse{citerequest}\boolfalse{citetracker}\boolfalse{paget racker}} \@writefile{lot}{\defcounter{refsection}{0}} \@writefile{lot}{\boolfalse{citerequest}\boolfalse{citetracker}\boolfalse{paget racker}} ] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53]) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/article.4ht (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/babel.4ht (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/english.4ht (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/biblatex.4ht (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ifthen.4ht (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/url.4ht (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/unicode.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/mathml.4ht) (/usr/local/texlive/2009/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht)) (./test.aux) (./test.bbl) [1] ! Undefined control sequence. \blx at begunit ...lx at leavevmode \blx at csq@ifkernmark {} {\penalty \@M \hskip -\... l.7 Hello \(\alpha\) \footcite{Pole1966} ? From asnd at triumf.ca Wed Jul 15 08:23:02 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 14 Jul 2009 23:23:02 -0700 Subject: [texhax] white space problem In-Reply-To: <200907132316.n6DNGWqa026843@strawberry.ncifcrf.gov> References: <200907132316.n6DNGWqa026843@strawberry.ncifcrf.gov> Message-ID: Tom Schneider writes: > > This might bother users of very old LaTeX versions by introducing > > incompatabilities though. > > Ok, won't do that ... It might be fine, but I'm not sure how long ago \@cite at ofmt was introduced in \@citex. > Ok, I modernized cell.bst and cell.sty using cite. And that's fine too! Hmmm, I see now it is an author-year system (I just looked it up) whereas cite.sty is mainly intended for numeric citations. That isn't specifically a *problem* but you should probably select [nosort,nocompress] options (\RequirePackageWithOptions), though using another package as the basis might be better. It is clear that \citepunct should be \renewcommand\citepunct{;\ } to allow line breaks in the best place. I had assumed cell.sty was a more complete template for a journal layout, rather than just the cite format. Even the bibliography definition is commented out! I guess it was taken over by the change to \@biblabel (great!) I looked at the author instructions for Cell, and they don't really say much about the citation format, just a bit about the bibliography (references) format (need 10 authors to use et al!). Lots about copies of consent forms! Oh! Back to biblabel... what you have now will indent the bibliography, so it is probably better to use: \def\@biblabel#1{\hspace{-\labelsep}} -- Donald Arseneau asnd at triumf.ca From toms at ncifcrf.gov Wed Jul 15 10:27:14 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 15 Jul 2009 04:27:14 -0400 (EDT) Subject: [texhax] white space problem In-Reply-To: from Donald Arseneau at "Jul 15, 2009 02:23:02 am" Message-ID: <200907150827.n6F8REXP024154@strawberry.ncifcrf.gov> Donald: > And that's fine too! Hmmm, I see now it is an author-year system (I > just looked it up) whereas cite.sty is mainly intended for numeric > citations. That isn't specifically a *problem* but you should probably > select [nosort,nocompress] options (\RequirePackageWithOptions), though > using another package as the basis might be better. \RequirePackageWithOptions[nosort,nocompress]{cite} crashed: ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.15 \RequirePackageWithOptions[n osort,nocompress]{cite} \RequirePackage{cite} works. > It is clear > that \citepunct should be \renewcommand\citepunct{;\ } to allow > line breaks in the best place. Ok. > I had assumed cell.sty was a more complete template for a journal layout, > rather than just the cite format. Even the bibliography definition is > commented out! I guess it was taken over by the change to \@biblabel > (great!) Yes, I simplified it. > I looked at the author instructions for Cell, and they don't really say > much about the citation format, just a bit about the bibliography > (references) format (need 10 authors to use et al!). Lots about copies > of consent forms! Ugh, got to do that tonight ... > Oh! Back to biblabel... what you have now will indent the bibliography, > so it is probably better to use: > > \def\@biblabel#1{\hspace{-\labelsep}} Worked like a charm!!! I was wondering about that ... New version is up: http://www.ccrnp.ncifcrf.gov/~toms/ftp/cell.sty Thanks for the help!! 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 From tom at oketchup.co.uk Wed Jul 15 23:43:30 2009 From: tom at oketchup.co.uk (Tom Sutch) Date: Wed, 15 Jul 2009 22:43:30 +0100 Subject: [texhax] combnat package: extra space in author-year textual citation Message-ID: <20090715224330.7c06bc4e@christina-desktop> I am preparing conference proceedings using the combine package, and using the combnat package (which is the combine-compatible version of natbib) for the bibliographic referencing. It is working really well on the whole, but I have a small issue with an unwanted extra space being inserted after the year when I use \citet. So while \citep{foo1962} gives "(Foo and Bar, 1962)" as desired, \citet gives "Foo and Bar (1962 )". When running on an individual paper in the proceedings and therefore using the natbib package, the extra space does not appear. So \citet{foo1962} gives "Foo and Bar (1962)" as desired. I tried delving into the .sty files in the hope I could work out what was going on, but rapidly got very confused :-( I have put together a minimal example at http://www.btinternet.com/~roads/min_example.tar.gz (2.8KB) including all aux/bib files, logs, and the resultant dvi output. Unfortunately by necessity the problem involves multiple files, so I couldn't think of a way of including it clearly in this message itself -- hope this is OK. LaTeXing each of individual_doc and whole_doc shows the problem. I can get round it for simple cases by defining another macro which splices together \citeauthor and \citeyearpar, but I'm not sure this will work when things get more complex (plus it's ugly!), so it would be good to be able to correct the behaviour of \citet if possible. Many thanks for any help you are able to give on this. -- Tom Sutch Cambridge, UK From madunix at gmail.com Thu Jul 16 15:25:25 2009 From: madunix at gmail.com (madunix) Date: Thu, 16 Jul 2009 15:25:25 +0200 Subject: [texhax] Layout Message-ID: <4d3f56c90907160625h2e10b7c5m51ad09aac2a8f3bd@mail.gmail.com> How can I implement the attach file in TeX. Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: Presentation1.jpg Type: image/jpeg Size: 53776 bytes Desc: not available URL: From will.adams at frycomm.com Thu Jul 16 16:34:06 2009 From: will.adams at frycomm.com (William Adams) Date: Thu, 16 Jul 2009 10:34:06 -0400 Subject: [texhax] Detexify2 - LaTeX symbol classifier In-Reply-To: References: Message-ID: <48E40685-EDF1-444B-B820-215C2C7BAC46@frycomm.com> On Jul 12, 2009, at 4:37 PM, Christopher Olah wrote: > This is worth looking at: > > http://detexify.kirelabs.org/classify.html > > It recognizes drawn symbols and gives relevant data on it. Very cool and an interesting contrast to: InftyReader/Editor: http://www.inftyproject.org/en/software.html William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From reinhard.kotucha at web.de Thu Jul 16 22:04:54 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 16 Jul 2009 22:04:54 +0200 Subject: [texhax] Layout In-Reply-To: <4d3f56c90907160625h2e10b7c5m51ad09aac2a8f3bd@mail.gmail.com> References: <4d3f56c90907160625h2e10b7c5m51ad09aac2a8f3bd@mail.gmail.com> Message-ID: <19039.34790.76830.673075@zaphod.ms25.net> On 16 July 2009 madunix wrote: > How can I implement the attach file in TeX. I would look here first: http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.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 karl at freefriends.org Fri Jul 17 00:17:48 2009 From: karl at freefriends.org (Karl Berry) Date: Thu, 16 Jul 2009 17:17:48 -0500 Subject: [texhax] biblatex and tex4ht In-Reply-To: Message-ID: <200907162217.n6GMHmb01148@f7.net> Has anyone managed to get tex4ht to work with biblatex? I asked CVR from TUGIndia, who has volunteered to help carry tex4ht forward. He found the following workaround (we'll fix it in the next full tex4ht release, whenever that turns out to be): ----------- There were two macros not initialized which I have done in the preamble of the document (test.tex): \let\blx at resetpuncthook\@empty \let\blx at csq@ifkernmark\@empty Have noted the problem in the current version of biblatex.4ht package also. I have attached a small archive which has the source document, output and relevant aux files too. -------------- next part -------------- A non-text attachment was scrubbed... Name: bib4ht.tar.gz Type: application/octet-stream Size: 32057 bytes Desc: not available URL: From cvr at river-valley.org Thu Jul 16 19:08:12 2009 From: cvr at river-valley.org (Radhakrishnan CV) Date: Thu, 16 Jul 2009 22:38:12 +0530 Subject: [texhax] biblatex and tex4ht In-Reply-To: References: Message-ID: On Tue, Jul 14, 2009 at 3:53 PM, Nicholas Cole wrote: > Dear Texhax, > > I've posted this question elsewhere, but having discovered this list, > I hope that this would be an appropriate place to ask it. > > Has anyone managed to get tex4ht to work with biblatex? ?Matthias Damm > says he has done, but I haven't been able to successfully re-create > his setup yet. ?I currently have the texlive pretesting files > installed, so I hope that I have the latest versions of everything, > and I've pasted minimal example files at the end of this email. ?I've > also pasted the error messages that htlatex produces on my system. [...] Please add the following lines before \begin{document}: \let\blx at resetpuncthook\@empty \let\blx at csq@ifkernmark\@empty This seems to be a bug in the biblatex.4ht. The attached archive, test.zip has your test file and output html's. Best regards -- Radhakrishnan -------------- next part -------------- A non-text attachment was scrubbed... Name: test.zip Type: application/zip Size: 37239 bytes Desc: not available URL: From nicholas.cole at gmail.com Fri Jul 17 10:30:52 2009 From: nicholas.cole at gmail.com (Nicholas Cole) Date: Fri, 17 Jul 2009 09:30:52 +0100 Subject: [texhax] biblatex and tex4ht In-Reply-To: References: Message-ID: On Thu, Jul 16, 2009 at 6:08 PM, Radhakrishnan CV wrote: > Please add the following lines before \begin{document}: > > \let\blx at resetpuncthook\@empty > \let\blx at csq@ifkernmark\@empty > > This seems to be a bug in the biblatex.4ht. That does indeed seem to have fixed it (how did you track it down, out of interest? Or was it just inspiration?). What's the best way of submitting this fix to distributions like TeXLive? Best wishes, Nicholas From pierre.mackay at comcast.net Fri Jul 17 16:18:01 2009 From: pierre.mackay at comcast.net (pierre.mackay at comcast.net) Date: Fri, 17 Jul 2009 14:18:01 +0000 (UTC) Subject: [texhax] [tex-k] bug report - dvips In-Reply-To: <1247733096.3702.5.camel@nbvercelli> Message-ID: <747897382.2367721247840281635.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> ----- Original Message ----- From: "Luca" To: tex-k at mail.tug.org Sent: Friday, July 17, 2009 4:31:36 AM (GMT-0300) Auto-Detected Subject: [tex-k] bug report - dvips Probably I have reported a bug in the wrong site: https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/386465 Thank you Luca That is not a bug. It is the established behavior of dvips for decades. What is reported in the line in the PostScript file is not the name of the PostScript file, which would surely be redundant, but the source from which the PostScript file was made. That way, if you should rename the PostScript file, you would still have a traceback to its origin. Such a clue can sometimes be a real timesaver. Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: From wono at math.itb.ac.id Fri Jul 17 16:03:43 2009 From: wono at math.itb.ac.id (wono at math.itb.ac.id) Date: Fri, 17 Jul 2009 21:03:43 +0700 (WIT) Subject: [texhax] Help Message-ID: <1272.125.163.21.71.1247839423.squirrel@mail.math.itb.ac.id> Can anyone help me? I have tex file like this text before ... \begin{solution} some texts \end[solution} text following I need to process the file without printing any text between \begin{solution} and \end{solution} Thank you Regards Wono From wono at math.itb.ac.id Sat Jul 18 03:55:52 2009 From: wono at math.itb.ac.id (wono at math.itb.ac.id) Date: Sat, 18 Jul 2009 08:55:52 +0700 (WIT) Subject: [texhax] Ignoring some texts Message-ID: <1380.125.163.18.152.1247882152.squirrel@mail.math.itb.ac.id> Dear all Can any one help me. I have the tex file. ... text before \begin{solution} some texts \end{solution} text following ... How can I change the definition of "solution" environment such that the text inside environment doesn't display in the dvi file. But in other parts I will use it Thank you Wono From cvr at cvr.cc Sat Jul 18 09:03:12 2009 From: cvr at cvr.cc (Radhakrishnan CV) Date: Sat, 18 Jul 2009 12:33:12 +0530 Subject: [texhax] Help In-Reply-To: <1272.125.163.21.71.1247839423.squirrel@mail.math.itb.ac.id> References: <1272.125.163.21.71.1247839423.squirrel@mail.math.itb.ac.id> Message-ID: On Fri, Jul 17, 2009 at 7:33 PM, wrote: > Can anyone help me? > > I have tex file like this > > text before ... > \begin{solution} > > some texts > > \end[solution} > > > text following > > I need to process the file without printing any text between > \begin{solution} and \end{solution} Please add the following in the preamble of your document: \usepackage{comment} \excludecomment{solution} This will do the trick. Best regards -- Radhakrishnan From daleif at imf.au.dk Sat Jul 18 09:30:17 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 18 Jul 2009 09:30:17 +0200 Subject: [texhax] Ignoring some texts In-Reply-To: <1380.125.163.18.152.1247882152.squirrel@mail.math.itb.ac.id> References: <1380.125.163.18.152.1247882152.squirrel@mail.math.itb.ac.id> Message-ID: <4A617A09.8040009@imf.au.dk> wono at math.itb.ac.id wrote: > Dear all > > Can any one help me. > > I have the tex file. > > ... text before > > \begin{solution} > > some texts > > \end{solution} > > text following ... > > How can I change the definition of "solution" environment such that the > text inside environment doesn't display in the dvi file. > > But in other parts I will use it > > Thank you > > Wono > > _______________________________________________ > 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 > have a look at the comment package /daleif From uwe.lueck at web.de Sat Jul 18 12:00:56 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Sat, 18 Jul 2009 12:00:56 +0200 Subject: [texhax] Ignoring some texts Message-ID: <1172673120@web.de> wono at math.itb.ac.id schrieb am 18.07.2009 07:38:43: > I have the tex file. > > ... text before > > \begin{solution} > > some texts > > \end{solution} > > text following ... > > How can I change the definition of "solution" environment such that the > text inside environment doesn't display in the dvi file. > > But in other parts I will use it I guess you want to have a list of exercises and their solutions, and you want to have a printout *without* solutions and one *with* the solutions. My versions.sty has been used for this. In the document preamble, you mark environments to be included or to be excluded. The UK TeX FAQ discusses many other packages for related tasks: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=conditional Hope it helps -- Uwe. From rodolfo.medina at gmail.com Sat Jul 18 15:57:30 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sat, 18 Jul 2009 14:57:30 +0100 Subject: [texhax] plain TeX: how to center text within a \item environment? Message-ID: <87ocriksad.fsf@gmail.com> In plain TeX, I wish to have something like: \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla , but to be centered with respect to the `\itemed' line, which is shorter than normal line. How can I achieve that? Thanks for any help Rodolfo From rodolfo.medina at gmail.com Sat Jul 18 16:02:38 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sat, 18 Jul 2009 15:02:38 +0100 Subject: [texhax] plain TeX: how to center text within a \item environment? References: <87ocriksad.fsf@gmail.com> Message-ID: <87k526jdhd.fsf@gmail.com> Rodolfo Medina writes: > In plain TeX, I wish to have something like: > > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > > , but to be centered with respect to the `\itemed' line, which is shorter than > normal line. > > How can I achieve that? I correct myself: what I want exactly is: \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla Rodolfo From hofri at WPI.EDU Sat Jul 18 17:59:35 2009 From: hofri at WPI.EDU (Micha Hofri) Date: Sat, 18 Jul 2009 11:59:35 -0400 (EDT) Subject: [texhax] Ignoring some texts In-Reply-To: <1380.125.163.18.152.1247882152.squirrel@mail.math.itb.ac.id> References: <1380.125.163.18.152.1247882152.squirrel@mail.math.itb.ac.id> Message-ID: If you want the option to collect all solutions at the end, the endnotes package (slightly tweaked for headings and size) does a fine job, --Micha At 08:55 on 07/18/09 wono at math.itb.ac.id sent: : Dear all : : Can any one help me. : : I have the tex file. : : ... text before : : \begin{solution} : : some texts : : \end{solution} : : text following ... : : How can I change the definition of "solution" environment such that the : text inside environment doesn't display in the dvi file. : : But in other parts I will use it : : Thank you : : Wono : : _______________________________________________ : 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 hibernensis at gmail.com Sat Jul 18 19:19:57 2009 From: hibernensis at gmail.com (hibernensis at gmail.com) Date: Sat, 18 Jul 2009 18:19:57 +0100 (BST) Subject: [texhax] Hooked-e Message-ID: Dear good people of Texhax, I was referred to you by Uwe Lueck who suggested that you might be able to answer the following random question: Do you have any idea how to typeset a hooked-e in LaTeX (I attach a sample)? I can do this with font encoding T4, but this encoding causes all sorts of unforeseen problems. I was wondering if you know of a simpler way to do this. Best, Roy -- Dr Roy Flechner Trinity College Cambridge CB2 1TQ -------------- next part -------------- A non-text attachment was scrubbed... Name: hookedE.pdf Type: application/pdf Size: 11357 bytes Desc: hookedE.pdf URL: From olegkat at gmail.com Sat Jul 18 23:44:04 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Sun, 19 Jul 2009 00:44:04 +0300 Subject: [texhax] plain TeX: how to center text within a \item environment? In-Reply-To: <87k526jdhd.fsf@gmail.com> References: <87ocriksad.fsf@gmail.com> <87k526jdhd.fsf@gmail.com> Message-ID: <20090718214404.GA3354@thor> On Sat, Jul 18, 2009 at 03:02:38PM +0100, Rodolfo Medina wrote: > I correct myself: what I want exactly is: > > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla > > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla > \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla Still not sure what you want, but maybe this: \centerline{\hskip\parindent centered text} HTH, Oleg From pierre.mackay at comcast.net Sun Jul 19 00:57:28 2009 From: pierre.mackay at comcast.net (pierre.mackay at comcast.net) Date: Sat, 18 Jul 2009 22:57:28 +0000 (UTC) Subject: [texhax] Hooked-e In-Reply-To: Message-ID: <264308286.2757091247957848612.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> ----- Original Message ----- From: hibernensis at gmail.com To: texhax at tug.org Sent: Sunday, July 19, 2009 1:19:57 PM (GMT-0300) Auto-Detected Subject: [texhax] Hooked-e Dear good people of Texhax, I was referred to you by Uwe Lueck who suggested that you might be able to answer the following random question: Do you have any idea how to typeset a hooked-e in LaTeX (I attach a sample)? I can do this with font encoding T4, but this encoding causes all sorts of unforeseen problems. I was wondering if you know of a simpler way to do this. I have run into this problem where I tried to use the "ogonek" in a macro with several levels of grouping. The solution---if you have a font in which the character exists as a fully formed composite is, if you are already using a font in which the character exists, is to \def\ehook{\char} and use {\ehook} (don't forget the braces) where you need it. (The simple definition will work inside many levels of braces, where complicat ed accentuation macros will not.) If your working font does not have the composite character, you will have to invoke one that does in the macro sugg est ed above. Pierre MacKay Humanist Typesetting and Graphics www.angiolello.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hookedE.pdf Type: application/pdf Size: 11357 bytes Desc: hookedE.pdf URL: From toms at ncifcrf.gov Sun Jul 19 01:10:07 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sat, 18 Jul 2009 19:10:07 -0400 (EDT) Subject: [texhax] Hooked-e In-Reply-To: from "hibernensis@gmail.com" at "Jul 18, 2009 01:19:57 pm" Message-ID: <200907182310.n6INA7Cq002789@strawberry.ncifcrf.gov> Roy: > Dear good people of Texhax, > > I was referred to you by Uwe Lueck who suggested that you might be able > to answer the following random question: > > Do you have any idea how to typeset a hooked-e in LaTeX (I attach a > sample)? > > I can do this with font encoding T4, but this encoding causes all sorts of > unforeseen problems. I was wondering if you know of a simpler way to do this. > > Best, > > Roy > > -- > Dr Roy Flechner > Trinity College > Cambridge CB2 1TQ I tried it at Detexify2 - LaTeX symbol classifier http://detexify.kirelabs.org/classify.html but it mostly gave me thetas or other symbols. I've sent a note to the person who runs that page. 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 From borisv at lk.net Sun Jul 19 01:31:08 2009 From: borisv at lk.net (Boris Veytsman) Date: Sat, 18 Jul 2009 19:31:08 -0400 Subject: [texhax] Hooked-e In-Reply-To: <264308286.2757091247957848612.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> (pierre.mackay@comcast.net) References: <264308286.2757091247957848612.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> Message-ID: <200907182331.n6INV8E8004721@bilbo.localnet> pm> Date: Sat, 18 Jul 2009 22:57:28 +0000 (UTC) pm> From: pierre.mackay at comcast.net pm> Do you have any idea how to typeset a hooked-e in LaTeX (I attach a pm> sample)? It is very close to ogonek accent. Try this example: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \k{e} \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- Good luck -Boris Did you know that for the price of a 280-Z you can buy two Z-80's? -- P. J. Plauger From toms at ncifcrf.gov Sun Jul 19 02:56:57 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sat, 18 Jul 2009 20:56:57 -0400 (EDT) Subject: [texhax] Hooked-e In-Reply-To: <50b56d350907181625x13186b47h6ed547a7f0bbd7db@mail.gmail.com> from Daniel Kirsch at "Jul 18, 2009 07:25:44 pm" Message-ID: <200907190056.n6J0uv6j006099@strawberry.ncifcrf.gov> Daniel: > Would have helped if the sample was still attached. I don't know LaTeX > well. I only know how to build web applications... > So how does a hooked-e look? I may remember by sight if it is in list > of supported symbols as I have seen quite a lot of crazy symbols > lately ;) Oh, sorry, the original posting is at: http://tug.org/pipermail/texhax/2009-July/012910.html with pointer to http://tug.org/pipermail/texhax/attachments/20090718/c6cc896d/attachment-0001.pdf Tom From reinhard.kotucha at web.de Sun Jul 19 05:04:48 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 19 Jul 2009 05:04:48 +0200 Subject: [texhax] Hooked-e In-Reply-To: <200907182310.n6INA7Cq002789@strawberry.ncifcrf.gov> References: <200907182310.n6INA7Cq002789@strawberry.ncifcrf.gov> Message-ID: <19042.36176.680352.992829@zaphod.ms25.net> On 18 July 2009 Tom Schneider wrote: > I tried it at > > Detexify2 - LaTeX symbol classifier > http://detexify.kirelabs.org/classify.html > > but it mostly gave me thetas or other symbols. Yes, this is what I expect. It is supposed to support math symbols only, not glyphs from arbitrary languages. It certainly doesn't make sense to support anything but math symbols. Or do you think it should support Chinese too? 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 toms at ncifcrf.gov Sun Jul 19 06:11:00 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sun, 19 Jul 2009 00:11:00 -0400 (EDT) Subject: [texhax] Hooked-e In-Reply-To: <19042.36176.680352.992829@zaphod.ms25.net> from Reinhard Kotucha at "Jul 18, 2009 11:04:48 pm" Message-ID: <200907190411.n6J4B0d8012047@strawberry.ncifcrf.gov> Richard: > > I tried it at > > > > Detexify2 - LaTeX symbol classifier > > http://detexify.kirelabs.org/classify.html > > > > but it mostly gave me thetas or other symbols. > > Yes, this is what I expect. It is supposed to support math symbols > only, not glyphs from arbitrary languages. > > It certainly doesn't make sense to support anything but math symbols. > Or do you think it should support Chinese too? Well, I can see that it might be technically difficult, but otherwise the ability to recognize all symbols would be more powerful. I just thought of it as a symbol. The page doesn't say that certain symbols are not listed. Also, the classifier page listed above points to http://www.ctan.org/tex-archive/info/symbols/comprehensive/ which does give alphabetic-like symbols, see page 13 where there are hookb, hookd, hookg, hookh and a few others. 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 From rodolfo.medina at gmail.com Sun Jul 19 18:25:51 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 19 Jul 2009 17:25:51 +0100 Subject: [texhax] plain TeX: how to center text within a \item environment? References: <87ocriksad.fsf@gmail.com> <87k526jdhd.fsf@gmail.com> <20090718214404.GA3354@thor> Message-ID: <87bpngk5bk.fsf_-_@gmail.com> On Sat, Jul 18, 2009 at 03:02:38PM +0100, Rodolfo Medina wrote: >> what I want exactly is: >> >> \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla >> \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla >> \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla >> >> \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla >> \item{bla} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla Oleg Katsitadze writes: > Still not sure what you want, but maybe this: > > \centerline{\hskip\parindent centered text} Thanks. It seems that also something like \item{bla} bla bla bla $$x = y$$ does such a job. Rodolfo From danishkirel at googlemail.com Sun Jul 19 01:25:44 2009 From: danishkirel at googlemail.com (Daniel Kirsch) Date: Sun, 19 Jul 2009 01:25:44 +0200 Subject: [texhax] Hooked-e In-Reply-To: <200907182310.n6INA7Cq002789@strawberry.ncifcrf.gov> References: <200907182310.n6INA7Cq002789@strawberry.ncifcrf.gov> Message-ID: <50b56d350907181625x13186b47h6ed547a7f0bbd7db@mail.gmail.com> Would have helped if the sample was still attached. I don't know LaTeX well. I only know how to build web applications... So how does a hooked-e look? I may remember by sight if it is in list of supported symbols as I have seen quite a lot of crazy symbols lately ;) Best, Daniel On Sun, Jul 19, 2009 at 1:10 AM, Tom Schneider wrote: > Roy: > >> Dear good people of Texhax, >> >> I was referred to you by Uwe Lueck who suggested that you might be able >> to answer the following random question: >> >> Do you have any idea how to typeset a hooked-e in LaTeX (I attach a >> sample)? >> >> I can do this with font encoding T4, but this encoding causes all sorts of >> unforeseen problems. I was wondering if you know of a simpler way to do this. >> >> Best, >> >> Roy >> >> -- >> Dr Roy Flechner >> Trinity College >> Cambridge CB2 1TQ > > I tried it at > > Detexify2 - LaTeX symbol classifier > http://detexify.kirelabs.org/classify.html > > but it mostly gave me thetas or other symbols. > > I've sent a note to the person who runs that page. > > 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 > From hibernensis at googlemail.com Sun Jul 19 10:14:33 2009 From: hibernensis at googlemail.com (De Presbytero) Date: Sun, 19 Jul 2009 10:14:33 +0200 Subject: [texhax] Hooked-e In-Reply-To: <19042.36176.680352.992829@zaphod.ms25.net> References: <200907182310.n6INA7Cq002789@strawberry.ncifcrf.gov> <19042.36176.680352.992829@zaphod.ms25.net> Message-ID: Package ogonek worked well for me, although the ogonek symbol it produces is not as robust as the one produced with \k command in T1 or T4 encoding. But it will have to do! Many thanks for this. Roy On Sun, Jul 19, 2009 at 5:04 AM, Reinhard Kotucha wrote: > On 18 July 2009 Tom Schneider wrote: > > > I tried it at > > > > Detexify2 - LaTeX symbol classifier > > http://detexify.kirelabs.org/classify.html > > > > but it mostly gave me thetas or other symbols. > > Yes, this is what I expect. It is supposed to support math symbols > only, not glyphs from arbitrary languages. > > It certainly doesn't make sense to support anything but math symbols. > Or do you think it should support Chinese too? > > 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. > > ---------------------------------------------------------------------------- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicholas.cole at gmail.com Sun Jul 19 20:15:35 2009 From: nicholas.cole at gmail.com (Nicholas Cole) Date: Sun, 19 Jul 2009 19:15:35 +0100 Subject: [texhax] Multiply Defined Labels Message-ID: Dear List, I have a horrible feeling that this is something that might be an FAQ, but I can't see an answer to it if so despite Googling. I'm getting a couple of errors like LaTeX Warning: Label `cbx at 4' multiply defined. I assume from the cbx that this might have something to do with biblatex, but does anyone have any thoughts on how best to track down the error? Best wishes, Nicholas From newnumbertheory at gmail.com Sun Jul 19 19:11:32 2009 From: newnumbertheory at gmail.com (numbertheory) Date: Mon, 20 Jul 2009 01:11:32 +0800 Subject: [texhax] page number of the first page of part and chapter Message-ID: Dear sir: Thanks! I want that there are no page number on the first page of each part , but footer of the first page of each chaper contain page number centered. what's the code to get the output? Thanks a lot! \documentclass[openany]{book} ............. \begin{document} \frontmatter \tableofcontents \mainmatter \part{} \chapter{} .................... -------------- next part -------------- An HTML attachment was scrubbed... URL: From daleif at imf.au.dk Tue Jul 21 09:57:34 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 21 Jul 2009 09:57:34 +0200 Subject: [texhax] page number of the first page of part and chapter In-Reply-To: References: Message-ID: <4A6574EE.6000404@imf.au.dk> numbertheory wrote: > Dear sir: > Thanks! > > I want that there are no page number on the first page of each > part , but footer of the first page of each chaper contain page number > centered. > > what's the code to get the output? > > Thanks a lot! > > \documentclass[openany]{book} > ............. > > \begin{document} > \frontmatter > > \tableofcontents > > \mainmatter > \part{} > \chapter{} > .................... > > > if you are at the start of a project, then use the memoir class instead. \aliaspagestyle{part}{empty} fixes the first the other is the default -- /daleif From vafa at users.berlios.de Tue Jul 21 10:39:34 2009 From: vafa at users.berlios.de (Vafa Khalighi) Date: Tue, 21 Jul 2009 18:39:34 +1000 Subject: [texhax] \halign in terms of macro Message-ID: <605202f20907210139n5e9137bapccc76eb1f685f9c@mail.gmail.com> Is it possible to define the control sequence \semihalign with macro programming which behaves exactly like \halign but in its definition \halign is not used at all. -------------- next part -------------- An HTML attachment was scrubbed... URL: From texhax at uit.co.uk Tue Jul 21 17:14:47 2009 From: texhax at uit.co.uk (Niall Mansfield) Date: Tue, 21 Jul 2009 16:14:47 +0100 Subject: [texhax] Change \item behavior, to append argument to default list label, instead of replacing it. Message-ID: <4A65DB67.2000302@uit.co.uk> I want to change the behavior of \item within a list, so that any \item argument is *appended* to the default list label ("ABC", say) instead of replacing it. The following is what I would like. Let's say my "foo" environment typesets a list with "ABC" instead of bullets. Then: \begin{foo} \item the quick \item[BONGO] brown fox \item jumps \item[bar] over the dog \end{foo} should produce: ABC the quick ABC BONGO broxw fox ABC jumps ABC bar over the dog Can I do this? Thanks, Niall From reinhard.kotucha at web.de Tue Jul 21 23:01:04 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 21 Jul 2009 23:01:04 +0200 Subject: [texhax] \halign in terms of macro In-Reply-To: <605202f20907210139n5e9137bapccc76eb1f685f9c@mail.gmail.com> References: <605202f20907210139n5e9137bapccc76eb1f685f9c@mail.gmail.com> Message-ID: <19046.11408.988808.669536@zaphod.ms25.net> On 21 July 2009 Vafa Khalighi wrote: > Is it possible to define the control sequence \semihalign with > macro programming which behaves exactly like \halign but in its > definition \halign is not used at all. There must be a reason Knuth decided to provide a primitive rather than a macro, while he even didn't provide primitives for such basic things like loops. However, recently I had the great pleasure to meet Klaus Lagally, the author of ArabTeX. I'll never forget his words: "You can do everything in TeX. TeX is a Turing machine, ... ... and it can be programmed as conveniently as a Turing machine."[1] This obviously describes your problem very well. Regards, Reinhard PS: If you intend to buy a Turing machine (a hardware implementation by Aarhus University, Denmark), this is what you are looking for: http://www.youtube.com/watch?v=cYw2ewoO6c4 [1] Original wording, as far as I remember: "In TeX kann man alles machen. TeX ist eine Turing-Maschine. Und es l?sst sich genauso bequem programmieren wie eine Turing-Maschine." -- ---------------------------------------------------------------------------- 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 Tue Jul 21 19:35:30 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 21 Jul 2009 19:35:30 +0200 Subject: [texhax] \halign in terms of macro In-Reply-To: <605202f20907210139n5e9137bapccc76eb1f685f9c@mail.gmail.com > Message-ID: <5.1.0.14.0.20090721193214.028ed670@pop3.web.de> At 10:39 21.07.09, Vafa Khalighi wrote: >Is it possible to define the control sequence \semihalign with macro >programming which behaves exactly like \halign but in its definition >\halign is not used at all. \let\semihalign\halign !? Admittedly, this is not really "macro programming". And \semihalign will behave differently if another macro calls \halign: \semihalign will not feel much being called. -- Uwe. From toms at ncifcrf.gov Wed Jul 22 01:30:21 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 21 Jul 2009 19:30:21 -0400 (EDT) Subject: [texhax] white space problem In-Reply-To: <20090714114401.91B021B4764@hehe.cl.cam.ac.uk> from Robin Fairbairns at "Jul 14, 2009 07:44:01 am" Message-ID: <200907212330.n6LNULjk000482@strawberry.ncifcrf.gov> Robin: > >http://www.ccrnp.ncifcrf.gov/~toms/ftp/cell.sty > >http://www.ccrnp.ncifcrf.gov/~toms/ftp/cell.bst > > please consider uploading them to ctan -- we currently hold copies of > cell, and uploading will get the revised versions into texlive and > miktex. (for as long as they're necessary...) Done!! Thanks for suggesting that. > >> > > And if bibtex were anything but apparent abandonware, it would have > >> > > been changed to ignore spaces after commas many years ago. > >> > > >> > Isn't it a key part of the LaTeX system??? > >> > >> Yes, and it hasn't been maintained properly. > > or "at all" -- since the 1980s. an 8-bit version has been released > (by someone other than patashnik), but there's no sign of any other > work that i can detect. > > >:-( > > bibtex will probably disappear within the year as all but > stick-in-the-mud latex users switch to biber/biblatex > > (i don't know what plain users actually do for biblios nowadays, and i > don't know what they'll do then.) Looks like it is still alpha though. 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 From ekmath at asianetindia.com Wed Jul 22 02:20:23 2009 From: ekmath at asianetindia.com (E. Krishnan) Date: Wed, 22 Jul 2009 05:50:23 +0530 (IST) Subject: [texhax] Change \item behavior, to append argument to default list label, instead of replacing it. In-Reply-To: <4A65DB67.2000302@uit.co.uk> References: <4A65DB67.2000302@uit.co.uk> Message-ID: On Tue, 21 Jul 2009, Niall Mansfield wrote: > The following is what I would like. Let's say my "foo" environment typesets > a list with "ABC" instead of bullets. Then: > > \begin{foo} > \item the quick > \item[BONGO] brown fox > \item jumps > \item[bar] over the dog > \end{foo} > > should produce: > > ABC the quick > ABC BONGO broxw fox > ABC jumps > ABC bar over the dog Will this do? \newenvironment{MyDescription}[1]{% \renewcommand\descriptionlabel[1]{#1\ ##1} \begin{description}} {\end{description}} \begin{MyDescription}{ABC} \item the quick \item[BONGO] brown fox \item jumps \item[bar] over the dog \end{MyDescription} -- Krishnan From wa2n at nrar.net Thu Jul 23 03:03:52 2009 From: wa2n at nrar.net (wawan) Date: Thu, 23 Jul 2009 08:03:52 +0700 Subject: [texhax] Font Mapping Message-ID: Hi all Can I map 2 chars in keyboard refer to 1 char in font table ?. Ex I write "HI: in .tex document then the result is char32 after compilation .. -- ===================== http://wa2n.nrar.net http://artikelit.com http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan.Lepore at umassmed.edu Fri Jul 24 18:43:12 2009 From: Bryan.Lepore at umassmed.edu (Bryan W. Lepore) Date: Fri, 24 Jul 2009 12:43:12 -0400 (EDT) Subject: [texhax] new symbols on the horizon... Message-ID: new symbols for the halting problem : http://tinyurl.com/n4gos6 (sciencemag.org - full text needs subscrip.) "he hopes to have them implemented in LaTeX" From martin at oneiros.de Fri Jul 24 19:12:26 2009 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Fri, 24 Jul 2009 19:12:26 +0200 Subject: [texhax] new symbols on the horizon... In-Reply-To: References: Message-ID: <68c491a60907241012n7e62a854x679d363c59c4a948@mail.gmail.com> 2009/7/24 Bryan W. Lepore : > "he hopes to have them implemented in LaTeX" Bull. If they are in Unicode and OTFs, they can be used by TeX. Best Martin From godbyk at gmail.com Fri Jul 24 23:11:24 2009 From: godbyk at gmail.com (Kevin Godby) Date: Fri, 24 Jul 2009 16:11:24 -0500 Subject: [texhax] new symbols on the horizon... In-Reply-To: References: Message-ID: On Fri, Jul 24, 2009 at 11:43 AM, Bryan W. Lepore wrote: > new symbols for the halting problem : > > http://tinyurl.com/n4gos6 (sciencemag.org - full text needs subscrip.) > > "he hopes to have them implemented in LaTeX" It looks like they're already implemented in some fashion: http://research.microsoft.com/terminator/principles.pdf --Kevin From vivrii at gmail.com Sat Jul 25 20:28:30 2009 From: vivrii at gmail.com (Victor Ivrii) Date: Sat, 25 Jul 2009 14:28:30 -0400 Subject: [texhax] [tex-live] systems/texlive/tlnet/2008/archive not updated anymore In-Reply-To: <873a8k1vld.fsf@tum.de> References: <4A6A4164.9090209@s383.jpl.nasa.gov> <8719b6240907251025k1eaf8438o83e7c182a7a65a58@mail.gmail.com> <873a8k1vld.fsf@tum.de> Message-ID: <19af81400907251128h7f0cc487p6dae816d08d558ab@mail.gmail.com> On Sat, Jul 25, 2009 at 2:11 PM, Uwe Siart wrote: > > I understood that package updates for TL08 will reappear as soon as TL09 > is released. Only TL08 infrastructure is frozen forever. The trouble is that packages to be included into updates should be repackaged by TL team and if I understand correctly the repackaging scheme of TL2009 differs from one of TL2008. I also understand that TL team just has no resources to repackage twice. This is not automatic process as many package authors have different ideas how package submission should look like. So, tlmgr 2008 most likely will not update any package. It does not render it useless as there are other commands like list, show, ... but no updates. If I understand correctly there is a good chance that TL2009 will self-update to TL2010 but not this time > > But I don't see any good reason for not switching to TL09. Jepp, ok, the > full installation takes a while. I'd expect, however, that 'tlmgr update > --all' in TL08 will be pretty much the same after months of stagnancy. Only very few of my esteemed colleagues switched from teTeX3 to TL. They explain that some ancient file will stop compiling. I have seen few such files and one of the biggest mysteries in the Universe is why these files ever compiled :) > Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From DAfshartous at med.miami.edu Sat Jul 25 20:45:47 2009 From: DAfshartous at med.miami.edu (Afshartous, David) Date: Sat, 25 Jul 2009 14:45:47 -0400 Subject: [texhax] Beamer, WinEdt Message-ID: All, I'm trying to create a presentation with beamer and MikTeX 2.7 with WinEdt 5.5 on XP. Previously, this worked with MikTeX 2.6 but now it doesn't work since I've installed MikTeX 2.7. Looking at MikTeX options --> Roots, I see that I still have C:\Program Files\MikTeX 2.6 set as the installation directory, so perhaps this is causing the problem. However, there is no option to remove this when I click on it in the root list. As my problems seem to have started after updating to MikTeX 2.7, I tried to remove MikTeX 2.7 from the root list but this resulted in error "unexpected condition" in MikTeX problem report. I also made sure to refresh FNDB under MikTeX options but no luck. Any other diagnostics I should try to sort this out? This must be something simple since things were working find before. Thanks! David -------------------------------------- David Afshartous, Ph.D. Research Assistant Professor University of Miami, Miller School of Medicine Division of Clinical Pharmacology 1500 N.W. 12th Avenue, 15th Floor West Miami, Florida 33136 E-mail: afshar at med.miami.edu Phone: +1 305-243-1549 From DAfshartous at med.miami.edu Sat Jul 25 21:12:49 2009 From: DAfshartous at med.miami.edu (Afshartous, David) Date: Sat, 25 Jul 2009 15:12:49 -0400 Subject: [texhax] Beamer, WinEdt In-Reply-To: Message-ID: Sorry for the needless post, it seems the source of the problem was that I should have been running PDF TeXify as that seem to have resolved the issue. On 7/25/09 2:45 PM, "David Afshartous" wrote: > All, > > I'm trying to create a presentation with beamer and MikTeX 2.7 with WinEdt 5.5 > on XP. > > Previously, this worked with MikTeX 2.6 but now it doesn't work since I've > installed MikTeX 2.7. Looking at MikTeX options --> Roots, I see that I still > have C:\Program Files\MikTeX 2.6 set as the installation directory, so perhaps > this is causing the problem. However, there is no option to remove this when > I click on it in the root list. > > As my problems seem to have started after updating to MikTeX 2.7, I tried to > remove MikTeX 2.7 from the root list but this resulted in error "unexpected > condition" in MikTeX problem report. I also made sure to refresh FNDB under > MikTeX options but no luck. > > Any other diagnostics I should try to sort this out? This must be something > simple since things were working find before. > > Thanks! > David > > -------------------------------------- > David Afshartous, Ph.D. > Research Assistant Professor > University of Miami, Miller School of Medicine > Division of Clinical Pharmacology > 1500 N.W. 12th Avenue, 15th Floor West > Miami, Florida 33136 > > E-mail: afshar at med.miami.edu > Phone: +1 305-243-1549 From uwe.lueck at web.de Sat Jul 25 16:28:01 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sat, 25 Jul 2009 16:28:01 +0200 Subject: [texhax] overfull lines, hyphenation - setup for automatic processing In-Reply-To: References: Message-ID: <5.1.0.14.0.20090725145635.028eedb0@pop3.web.de> At 15:30 06.07.09, james mourton wrote: >I'd like to generate documentation from various XML sources >and create a PDF output using TeX (preferably ConTeXt, possibly LaTeX). >I need the system to run automatically, without user interaction. [...] >Could you please advise, how to tell TeX not to be so fussy >and rather work reliably -- no overfulls or other errors, even if the result >is not "perfect"? (the "manuscript" is generated, so I don't care >how complicated or unreadable it is) At 12:33 07.07.09, Donald Arseneau wrote: >In LaTeX, declare \sloppy. The opposite is -- you guessed it -- \fussy. I guess this is the essential answer to the original posting. Answering it seems to need much guessing indeed. I guess the misconceptions of TeX's hyphenation are irrelevant, and if the original poster sees the result of \sloppy, he will be happy and no longer insist on his hyphenation suggestions. The only remaining question is that of \bTABLE, I am unable to comment it. Regarding \sloppy, a ConTeXt user may need the definition of \sloppy (I don't know whether ConTeXt has something similar): \def\sloppy{% \tolerance 9999% \emergencystretch 3em% \hfuzz .5\p@ \vfuzz\hfuzz} I think I have never seen an overful \hbox with \sloppy -- until I now tried mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm I wonder whether such cases are relevant. The rest is mere theory. At 15:30 06.07.09, james mourton wrote: >By default, if TeX does not know how to hyphenate words and break lines >nicely, it leaves it to the user. This was criticized, but it is correct in that the user can force a hyphenation that TeX would not do by its hyphenation algorithm. The wording however, creates an impression that there were something like a TeX message `I am unable to hyphenate this nicely, please do it for me!' This idea resembles the idea below that if one kind of hyphenating fails, TeX might try another; special case here: ask the user for doing the hyphenation. The user may force a hyphenation that TeX will not perform, and indeed sometimes TeX does not hyhenate as wanted; it is just strange to say `TeX does not know how to ...' then. Indeed TeX may not know that certain hyphenations are wanted. Real life examples happen almost each paragraph in German with umlauts and OT1 encoding. At 15:30 06.07.09, james mourton wrote: >1) Making larger gaps >How can I set it up, shall I redefine >\tolerance and \emergencystretch ? To what values? What is the scope of >the settings? >Is there any other important option? Indeed, the answer `\sloppy' seems to answer the previous sufficiently. >2) Hyphenation >Is there any way how to fall-back to more aggressive hyphenation rules >if the default algorithm fails? >If the word is unbreakable, could TeX just tear off the extra letters it >and put them to the next line? >(I could theoretically put \discretionary to every word, but I'd prefer >TeX to use its own algorithms first) The idea here resembles the fact that TeX first tries linebreaking without hyphenation and leaves it this way depending on \pretolerance. But there is no built-in mechanism to try another linebreaking with different (hyphenation) settings if the first try was "too bad". This may perhaps be implemented, however, as a macro storing the code for a paragraph in order to typeset it under different settings and somehow choose among them then. But I would need some hours for this and won't try. A "more aggressive" hyphenation could be implemented by defining another language and associate it with a hyphenation pattern list that allows all hyphenations of the first language, but adds some "arbitrary" hyphenations. Then you could switch to the second language for another try at linebreaking according to the idea above. But who will generate such a pattern list, and is it worth it? I am not inclined to try this and to improve my knowledge of the matter for it. "More aggressive" hyphenation may as well include (varying Pierre MacKay's comment) \lefthyphenmin=1, \righthyphenmin=1 and \hyphenpenalty=0. >3) Error reporting >Another issue is, that texexec >creates very ugly table (\bTABLE) with overlapping text in the cells, >but does not report any problem. >Is there any way how to make it fail loudly, so the problems can >be detected? Sorry, I don't know about texexec and \bTABLE ... -- Uwe Lueck. From schuster.wolfgang at googlemail.com Sun Jul 26 10:27:51 2009 From: schuster.wolfgang at googlemail.com (Wolfgang Schuster) Date: Sun, 26 Jul 2009 10:27:51 +0200 Subject: [texhax] overfull lines, hyphenation - setup for automatic processing In-Reply-To: References: Message-ID: <24C9B35B-8DC0-423D-B64B-3749DD1CD003@gmail.com> Am 06.07.2009 um 15:30 schrieb james mourton: > 1) Making larger gaps > How can I set it up, shall I redefine > \tolerance and \emergencystretch ? To what values? What is the scope > of the settings? > Is there any other important option? \setuptolerance[verytolerant,stretch] > 2) Hyphenation > Is there any way how to fall-back to more aggressive hyphenation rules > if the default algorithm fails? > If the word is unbreakable, could TeX just tear off the extra > letters it and put them to the next line? > (I could theoretically put \discretionary to every word, but I'd > prefer TeX to use its own algorithms first) Use font expansion and protrusion (setupalign[hanging,hz]), reduce left/righthyphenmin (\setupalign[lesshyphenation]) > 3) Error reporting > Another issue is, that texexec > creates very ugly table (\bTABLE) with overlapping text in the cells, > but does not report any problem. > Is there any way how to make it fail loudly, so the problems can > be detected? \setupTABLE[align=right] or \setupTABLE[align={verytolerant,stretch}] % or align={verytolerant,stretch,hz,...} Wolfgang From uwe.lueck at web.de Sun Jul 26 09:09:41 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 26 Jul 2009 09:09:41 +0200 Subject: [texhax] new symbols on the horizon... In-Reply-To: <68c491a60907241012n7e62a854x679d363c59c4a948@mail.gmail.co m> References: Message-ID: <5.1.0.14.0.20090726090104.029292d0@pop3.web.de> At 18:43 24.07.09, Bryan W. Lepore wrote: >new symbols for the halting problem : > >http://tinyurl.com/n4gos6 (sciencemag.org - full text needs subscrip.) > >"he hopes to have them implemented in LaTeX" At 19:12 24.07.09, Martin Schr?der wrote: >2009/7/24 Bryan W. Lepore : > > "he hopes to have them implemented in LaTeX" > >Bull. If they are in Unicode and OTFs, they can be used by TeX. The link indicates that the symbols are really new, years away from getting a Unicode assignment, and a TeX font containing them does not exist yet. -- Uwe. From wa2n at nrar.net Tue Jul 28 00:46:22 2009 From: wa2n at nrar.net (wawan) Date: Tue, 28 Jul 2009 05:46:22 +0700 Subject: [texhax] underline(n) chars Message-ID: Hi all 1. I want to underline chars, said 3 chars, How to underline thos chars without \underline{xyz} but I want a command such, \underline(3) than the underline is begin for the command to next 2 chars. 2. How to make underline bold, I mean more thick line -- ===================== http://wa2n.nrar.net http://artikelit.com http://kamusgaul.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From mansager at gmail.com Tue Jul 28 03:01:31 2009 From: mansager at gmail.com (Edward) Date: Mon, 27 Jul 2009 18:01:31 -0700 Subject: [texhax] columns, tables, margins? Message-ID: <289e001d0907271801s3fe17fbfw78c042d6d9539e4e@mail.gmail.com> Dear all, I've spent nearly the entire day looking for a solution to this problem in vain. Not being a TeX expert, I pray someone here may help. I'm (seemingly simply) looking for a way to create a table with two columns whose widths will adjust according to even or odd page numbering. That is, I'm looking to set "inner" and "outter" widths to a table rather than left or right. tabular and multicol don't seem to do this. I've been spinning my wheels trying to adjust margin widths while using marginpar, but to no avail (I only need 2 columns). The nature of the document is that a great majority of the text must exist within such tables (using identical column widths), except I must also be able to enter text outside such tables assuming normal page dimensions. If this makes sense, can someone please at least point me in the right direction? Any and all help appreciated! Thank you in advance! Edward -------------- next part -------------- An HTML attachment was scrubbed... URL: From uwe.lueck at web.de Tue Jul 28 08:19:20 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 28 Jul 2009 08:19:20 +0200 Subject: [texhax] \halign in terms of macro Message-ID: <5.1.0.14.0.20090728081821.028f9130@pop3.web.de> [I failed to "reply to all"] At 00:08 22.07.09, Vafa Khalighi wrote: >On Wed, Jul 22, 2009 at 3:35 AM, Uwe L?ck wrote: >>At 10:39 21.07.09, Vafa Khalighi wrote: >>>Is it possible to define the control sequence \semihalign with macro >>>programming which behaves exactly like \halign but in its definition >>>\halign is not used at all. >> >>\let\semihalign\halign !? >> >>Admittedly, this is not really "macro programming". And \semihalign will >>behave differently if another macro calls \halign: \semihalign will not >>feel much being called. > >What I meant was defining \semihalin in a way that in its definition >\halign does not exist all. So in other words, lets assume \halign does >not exist at all, how would you define \halign in terms of macros? Donald Arseneau sketched the (informal) complexity of the \halign algorithm under subject `Alignments and Knuth's uncertainty principle ...' in January here, see archive. The algorithm was not entirely revealed. It can be derived from the code underlying \halign. I believe that a very small fragment of TeX is Turing-complete, excluding primitives for typsetting ... to define a macro "emulating" \halign in TeX minus \halign measuring, storing, comparing all the cell widths should suffice and work with \wd and more general calculating and storing facilities. I expect that dealing with \hfil and \hfill will be quite complex here. So I believe the answer to your question, Vafa, is `yes,' but it is not likely that I will ever tell such a macro emulating \halign. Donald Arseneau then also wrote that \halign is quite primitive or not very smart as compared to table interpretation of modern browsers, so why not emulate by TeX macros such a modern table interpreter instead of \halign? This reminds me of LuaTeX ... not really hoping it helps -- Uwe. From Bryan.Lepore at umassmed.edu Tue Jul 28 18:37:39 2009 From: Bryan.Lepore at umassmed.edu (Bryan W. Lepore) Date: Tue, 28 Jul 2009 12:37:39 -0400 (EDT) Subject: [texhax] "vertical" text within tabular cell Message-ID: i want a table to have the text of one of the columns with "vertical", or "rotated-by-90-degrees" text so that it is read from bottom to top of the table, e.g. along the table edge. it is impossible to provide an appropriate plain-text email example, so please see the attached source code. some webpages describe this: [1] http://tinyurl.com/lc5ru6 (uses "sideways") [2] http://tinyurl.com/nav4s5 (uses "multirow" plus "sideways") in my hands, method [1] puts a space that is the width of the text in the table, "spreading" the table out in the important table content, but is closest to what i want. method [2] puts carriage returns after each word and again "spreads" the table out, but only in column 1. i clearly do not understand how each works. so i am asking for any suggestions or insight, especially to eliminate the "spreading" from the "sideways" method. -bryan -------------- next part -------------- \documentclass[12pt]{article} \usepackage{multirow} \usepackage{rotating} \begin{document} \begin{tabular}{|l|l|l|l|l|l|}\hline %------------------------------------------------------------------------------------- \multicolumn{2}{|c}{} & \multicolumn{4}{|c|}{codon position no. 2 } \\ \cline{3-6} \multicolumn{2}{|c|}{} & {\bf U} & {\bf C} & {\bf A} & {\bf G} \\ \cline{2-6} %------------------------------------------------------------------------------------- & & UUU:Phe & UCU:Ser & UAU:Tyr & UGU:Cys \\ & & UUC:Phe & UCC:Ser & UAC:Tyr & UGC:Cys \\ &{\bf U} & UUA:Leu & UCA:Ser & UAA:Ochre & UGA:Opal \\ & & UUG:Leu & UCG:Ser & UAG:Amber & UGG:Trp \\ \cline{2-6} %------------------------------------------------------------------------------------- & & CUU:Leu & CCU:Pro & CAU:His & CGU:Arg \\ & & CUC:Leu & CCC:Pro & CAC:His & CGC:Arg \\ &{\bf C} & CUA:Leu & CCA:Pro & CAA:Gln & CGA:Arg \\ & & CUG:Leu & CCG:Pro & CAG:Gln & CGG:Arg \\ \cline{2-6} %------------------------------------------------------------------------------------- & & AUU:Ile & ACU:Thr & AAU:Asn & AGU:Ser \\ & & AUC:Ile & ACC:Thr & AAC:Asn & AGC:Ser \\ %\begin{sideways}{codon position \#2 }\end{sideways} \multirow{4}{1mm}{\begin{sideways}\parbox{15mm}{codon position \#2 }\end{sideways}} &{\bf A} & AUA:Ile & ACA:Thr & AAA:Lys & AGA:Arg \\ & & AUG:Met & ACG:Thr & AAG:Lys & AGG:Arg \\ \cline{2-6} %------------------------------------------------------------------------------------- & & GUU:Val & GCU:Ala & GAU:Asp & GGU:Gly\\ & & GUC:Val & GCC:Ala & GAC:Asp & GGC:Gly\\ &{\bf G} & GUA:Val & GCA:Ala & GAA:Glu & GGA:Gly\\ & & GUG:Val & GCG:Ala & GAG:Glu & GGG:Gly\\ \hline %------------------------------------------------------------------------------------- \end{tabular} \end{document} From mansager at gmail.com Wed Jul 29 00:19:13 2009 From: mansager at gmail.com (Edward) Date: Tue, 28 Jul 2009 15:19:13 -0700 Subject: [texhax] columns, tables, margins? In-Reply-To: <4A6EA17D.973.178220@na199.gmx.de> References: <289e001d0907271801s3fe17fbfw78c042d6d9539e4e@mail.gmail.com> <4A6EA17D.973.178220@na199.gmx.de> Message-ID: <289e001d0907281519i1b1635e0t6dbd76881d92e6fe@mail.gmail.com> I'm afraid I can't draw up a page, but I'll try to describe it more simply: This is for a book where each page will have two columns, the inner columns (holding the main content) being wider than the outter columns (holding comments). There are some places where I need to stop using columns to span text the length of the page. If you can picture this, you would understand why tables with "left" and "right" lengths won't work. The closest I've come is adjusting margins using marginpar for the comments, but this does not allow for easily inserting text the full length of the page. Does this clear things up at all? Thank you for your interest in helping, Edward On Tue, Jul 28, 2009 at 2:58 AM, hh wrote: > Hello, > could you send a sample page? > I'm not sure that I understand the real difficulty. > hh > > Date sent: Mon, 27 Jul 2009 18:01:31 -0700 > From: Edward > To: texhax at tug.org > Subject: [texhax] columns, tables, margins? > > > Dear all, > > I've spent nearly the entire day looking for a solution to this problem > in > > vain. Not being a TeX expert, I pray someone here may help. I'm > (seemingly > > simply) looking for a way to create a table with two columns whose widths > > will adjust according to even or odd page numbering. That is, I'm looking > to > > set "inner" and "outter" widths to a table rather than left or right. > > tabular and multicol don't seem to do this. I've been spinning my wheels > > trying to adjust margin widths while using marginpar, but to no avail (I > > only need 2 columns). The nature of the document is that a great majority > of > > the text must exist within such tables (using identical column widths), > > except I must also be able to enter text outside such tables assuming > > normal page dimensions. If this makes sense, can someone please at least > > point me in the right direction? Any and all help appreciated! Thank you > in > > advance! > > Edward > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From axel.retif at mac.com Wed Jul 29 00:53:58 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 28 Jul 2009 17:53:58 -0500 Subject: [texhax] columns, tables, margins? In-Reply-To: <289e001d0907281519i1b1635e0t6dbd76881d92e6fe@mail.gmail.com> References: <289e001d0907271801s3fe17fbfw78c042d6d9539e4e@mail.gmail.com> <4A6EA17D.973.178220@na199.gmx.de> <289e001d0907281519i1b1635e0t6dbd76881d92e6fe@mail.gmail.com> Message-ID: <7DCF94CC-EF29-4161-B489-A170CC0AD1EE@mac.com> On 28 Jul, 2009, at 17:19, Edward wrote: > I'm afraid I can't draw up a page, but I'll try to describe it more > simply: > > This is for a book where each page will have two columns, the inner > columns (holding the main content) being wider than the outter > columns (holding comments). There are some places where I need to > stop using columns to span text the length of the page. > > If you can picture this, you would understand why tables with "left" > and "right" lengths won't work. The closest I've come is adjusting > margins using marginpar for the comments, but this does not allow > for easily inserting text the full length of the page. > Does this clear things up at all? I think it does for me. I've used the package textarea: http://ctan.tug.org/tex-archive/macros/latex/contrib/ncctools/doc/textarea.pdf If you use TeXLive, you already have it. Best, Axel From vafa at users.berlios.de Tue Jul 28 13:20:29 2009 From: vafa at users.berlios.de (Vafa Khalighi) Date: Tue, 28 Jul 2009 21:20:29 +1000 Subject: [texhax] TeX line breaking algorithm Message-ID: <605202f20907280420g7e21befbpeee4371442dabf61@mail.gmail.com> Is there any package that changes TeX line breaking algorithm? What I want to do is that at the end of each line, TeX puts a control sequence and at the beggining of next line automatically puts another control sequence. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.adams at frycomm.com Wed Jul 29 13:21:56 2009 From: will.adams at frycomm.com (William Adams) Date: Wed, 29 Jul 2009 07:21:56 -0400 Subject: [texhax] columns, tables, margins? In-Reply-To: <289e001d0907281519i1b1635e0t6dbd76881d92e6fe@mail.gmail.com> References: <289e001d0907271801s3fe17fbfw78c042d6d9539e4e@mail.gmail.com> <4A6EA17D.973.178220@na199.gmx.de> <289e001d0907281519i1b1635e0t6dbd76881d92e6fe@mail.gmail.com> Message-ID: <3C8BB6F5-36C6-4975-B545-96D92238DA4C@frycomm.com> On Jul 28, 2009, at 6:19 PM, Edward wrote: > This is for a book where each page will have two columns, the inner > columns (holding the main content) being wider than the outter > columns (holding comments). There are some places where I need to > stop using columns to span text the length of the page. > > If you can picture this, you would understand why tables with "left" > and "right" lengths won't work. The closest I've come is adjusting > margins using marginpar for the comments, but this does not allow > for easily inserting text the full length of the page. > Does this clear things up at all? Perhaps parallel.sty or something like it will help? http://www.tex.ac.uk/cgi-bin/texfaq2html?label=parallel William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From pierre.mackay at comcast.net Wed Jul 29 17:25:33 2009 From: pierre.mackay at comcast.net (pierre.mackay at comcast.net) Date: Wed, 29 Jul 2009 15:25:33 +0000 (UTC) Subject: [texhax] TeX line breaking algorithm In-Reply-To: <605202f20907280420g7e21befbpeee4371442dabf61@mail.gmail.com> Message-ID: <239322421.6270891248881133232.JavaMail.root@sz0069a.emeryville.ca.mail.comcast.net> This was just what I looked into in my first attempts at a bidi TeX, but DEK looked at it and decided that it broke too many other aspects of TeX. That was what inspired him to produce his own solution, which became TeX-Xet. Pierre MacKay ----- Original Message ----- From: "Vafa Khalighi" To: texhax at tug.org Sent: Wednesday, July 29, 2009 7:20:29 AM (GMT-0300) Auto-Detected Subject: [texhax] TeX line breaking algorithm Is there any package that changes TeX line breaking algorithm? What I want to do is that at the end of each line, TeX puts a control sequence and at the beggining of next line automatically puts another control sequence. Thanks _______________________________________________ TeX FAQ: http://www.tex.ac.uk/faq Mailing list archives: http://tug.org/pipermail/texhax/ More links: http://tug.org/begin.html Automated subscription management: http://tug.org/mailman/listinfo/texhax Human mailing list managers: postmaster at tug.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From uwe.lueck at web.de Thu Jul 30 10:27:21 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Thu, 30 Jul 2009 10:27:21 +0200 Subject: [texhax] newline In-Reply-To: <20090709143130.GA31603@eureca.de> References: Message-ID: <5.1.0.14.0.20090729225022.026f5830@pop3.web.de> At 16:31 09.07.09, Susan Dittmar wrote: >Hi, wawan, > > > I use my own font to write text but latex can not break my text into > > newline, there is just one long single line text ?? how can I do automatic > > break into newline ? > >what exactly are you doing right now? Usually, LaTeX has no problems >breaking lines. Could you post a very short example of what you are doing? >Then perhaps someone has a chance to find out what's going wrong. According to an earlier posting, wawan called glyphs by control sequences like \ha. This makes me guess that he didn't have any interword spaces (no hyphenation either), so there was no line break. In this situation interword spaces must be inserted using `\ '. HTH -- Uwe. From cvr at river-valley.org Thu Jul 30 17:59:53 2009 From: cvr at river-valley.org (Radhakrishnan CV) Date: Thu, 30 Jul 2009 21:29:53 +0530 Subject: [texhax] Fwd: tug In-Reply-To: References: Message-ID: Those interested can watch live broadcasting of TUG 2009 at: http://www.river-valley.tv/broadcasting -- Radhakrishnan From richard at tollyboy.demon.co.uk Fri Jul 31 00:31:46 2009 From: richard at tollyboy.demon.co.uk (Richard Davies) Date: Thu, 30 Jul 2009 23:31:46 +0100 Subject: [texhax] \documentclass{letter} Greek characters Message-ID: <4A721F52.3000805@tollyboy.demon.co.uk> I have an odd problem with the documentclass{letter} when using Greek and English. Everything seems to work just fine except for the headings on the second page of the letter which are rendered in Greek characters even though they show as Latin characters on the 1st and 3rd pages. This only happens if there is a linefeed between the English and Greek environments on the page following the error. Attached are the tex, dvi and pdf showing this. I haven't been able to find an answer on the web and don't know where to look. I can work around this simple example by removing the linefeed but the original problem was caused I think by an \enumerate containing both English and Greek spilling over a page break. I no longer have this file to play with. Any suggestions on what is happening and why? Regards Richard. -------------- next part -------------- A non-text attachment was scrubbed... Name: test-letter.dvi Type: application/x-dvi Size: 4664 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test-letter.pdf Type: application/pdf Size: 32577 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test-letter.tex Type: text/x-tex Size: 3562 bytes Desc: not available URL: From news3 at nililand.de Fri Jul 31 09:40:48 2009 From: news3 at nililand.de (Ulrike Fischer) Date: Fri, 31 Jul 2009 09:40:48 +0200 Subject: [texhax] \documentclass{letter} Greek characters References: <4A721F52.3000805@tollyboy.demon.co.uk> Message-ID: Am Thu, 30 Jul 2009 23:31:46 +0100 schrieb Richard Davies: > I have an odd problem with the documentclass{letter} when using Greek > and English. Everything seems to work just fine except for the headings > on the second page of the letter which are rendered in Greek characters > even though they show as Latin characters on the 1st and 3rd pages. > This only happens if there is a linefeed between the English and Greek > environments on the page following the error. > Any suggestions on what is happening and why? The greek is active at the moment the headers are built. Add english to the definition of the header: \pagestyle{headings} \makeatletter \def\@oddhead{\selectlanguage{english}% \slshape\headtoname{} \ignorespaces\toname \hfil \@date \hfil \pagename{} \thepage} \makeatletter -- Ulrike Fischer From Fernando.Mancilla-David at ucdenver.edu Fri Jul 31 06:10:42 2009 From: Fernando.Mancilla-David at ucdenver.edu (Mancilla-David, Fernando) Date: Thu, 30 Jul 2009 22:10:42 -0600 Subject: [texhax] problem with bookmarks Message-ID: Hello I am a new user of Latex and I have a simple question. When I write an email in WinEdit, say "email at domain.com," and then I convert the file into a .dvi and subsequently into a .pdf file the email address in the .pdf file shows up with a bookmark i.e., when I put the mouse over it shows a yellow box saying mailto: email at domain.com and if I click on it, it opens my email program. Do you know how I can get rid of this? That is, I want the email email at domain.com to appear just a plain text, without any bookmark. Thank you, Fernando Mancilla-David Assistant Professor of Electrical Engineering University of Colorado Denver Denver, CO 80217 Tel: 303-556-6674; Fax: 303-556-2383 Email: fernando.mancilla-david at ucdenver.edu Web: http://carbon.cudenver.edu/~fmancill -------------- next part -------------- An HTML attachment was scrubbed... URL: From barr at math.mcgill.ca Fri Jul 31 23:28:33 2009 From: barr at math.mcgill.ca (Michael Barr) Date: Fri, 31 Jul 2009 17:28:33 -0400 (EDT) Subject: [texhax] Making URLs live Message-ID: Is there something simpler than hyperref that will make URLs live? I tried adding the hyperref package and got an error the first time it hit a \ref in my paper. I tried RTFM, but it was formidable and I am not interested in the options, only in getting live links. Is there anything simpler? Michael Barr From toms at ncifcrf.gov Fri Jul 31 23:43:28 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Fri, 31 Jul 2009 17:43:28 -0400 (EDT) Subject: [texhax] Making URLs live In-Reply-To: from Michael Barr at "Jul 31, 2009 05:28:33 pm" Message-ID: <200907312143.n6VLhSkA008007@strawberry.ncifcrf.gov> Michael: > Is there something simpler than hyperref that will make URLs live? I > tried adding the hyperref package and got an error the first time it hit a > \ref in my paper. I tried RTFM, but it was formidable and I am not > interested in the options, only in getting live links. Is there anything > simpler? \usepackage{html} and then \htmladdnormallink {http://www.ccrnp.ncifcrf.gov/toms/delila/hgraph.html} {http://www.ccrnp.ncifcrf.gov/toms/delila/hgraph.html}} works for me. See the example at http://www.ccrnp.ncifcrf.gov/~toms/papers/primer/ 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