From barr at math.mcgill.ca Thu Feb 2 15:25:25 2012 From: barr at math.mcgill.ca (Michael Barr) Date: Thu, 2 Feb 2012 09:25:25 -0500 (EST) Subject: [texhax] Putting tex on a Mac Message-ID: I got the following email from a friend whom I am collaborating with. He has been using tex from his office and it is apparently an older version, or at least a not very complete. So he decided to install it on his Mac. Here is his question: I have downloaded Mac-tex from ctan ?actually I have it on an external hard drive because it said it would take over 24 hours to download onto my mac in my office. But it just sits there, I clicked on it and it unzipped but nothing happened. Any suggestions? I think I will join TUG and ask them. While joining TUG is a nice idea (and he would get the tex-live disk) the answers he needs are available free and I recommended he ask texhax, then decided to post the question myself. I have never used a Mac myself and have no idea how it does things. Michael -- An ostrich is more intelligent than the average congressman. The ostrich does not bury its head in the sand. From herbs at wideopenwest.com Thu Feb 2 15:43:58 2012 From: herbs at wideopenwest.com (Herbert Schulz) Date: Thu, 2 Feb 2012 08:43:58 -0600 Subject: [texhax] Putting tex on a Mac In-Reply-To: References: Message-ID: <3F753ED3-2ECE-4C4C-97B9-7D85DA23B325@wideopenwest.com> On Feb 2, 2012, at 8:25 AM, Michael Barr wrote: > I got the following email from a friend whom I am collaborating with. He has been using tex from his office and it is apparently an older version, or at least a not very complete. So he decided to install it on his Mac. Here is his question: > > I have downloaded Mac-tex from ctan ?actually I have it on an external hard drive because > it said it would take over 24 hours to download onto my mac in my office. But it just sits there, I clicked > on it and it unzipped but nothing happened. Any suggestions? I think I will join TUG and ask them. > > While joining TUG is a nice idea (and he would get the tex-live disk) the answers he needs are available free and I recommended he ask texhax, then decided to post the question myself. I have never used a Mac myself and have no idea how it does things. > > Michael Howdy, Are you actually doing this on a Mac? Nothing will ever happen with it on a PC because the .mpkg file is opened and run by Apple's installer. Just double click the .mpkg file on the Mac and then it will get installed. It typically takes less than 5 minutes and should just work out of the box. Good Luck, Herb Schulz (herbs at wideopenwest dot com) From daleif at imf.au.dk Thu Feb 2 15:52:30 2012 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 02 Feb 2012 15:52:30 +0100 Subject: [texhax] Putting tex on a Mac In-Reply-To: References: Message-ID: <4F2AA32E.9040405@imf.au.dk> Michael Barr wrote, On 2012-02-02 15:25: > I got the following email from a friend whom I am collaborating with. > He has been using tex from his office and it is apparently an older > version, or at least a not very complete. So he decided to install it > on his Mac. Here is his question: > > I have downloaded Mac-tex from ctan ?actually I have it on an external > hard drive because > it said it would take over 24 hours to download onto my mac in my > office. But it just sits there, I clicked > on it and it unzipped but nothing happened. Any suggestions? I think I > will join TUG and ask them. > That sounds like a very slow mirror, have you tried a fdifferent mirror As for the installation see Herberts reply, on the Mac unzip the .mpkg.zip file. Only on Mac does this have type of 'file' have any special meaning. For all other OS' it is just a normal folder. Which type of Mac are we dealing with? (which OS version) > While joining TUG is a nice idea (and he would get the tex-live disk) > the answers he needs are available free and I recommended he ask texhax, > then decided to post the question myself. I have never used a Mac > myself and have no idea how it does things. > > Michael > > > ------------------------------------------------------------------------ > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -- /daleif From herbs at wideopenwest.com Thu Feb 2 15:59:57 2012 From: herbs at wideopenwest.com (Herbert Schulz) Date: Thu, 2 Feb 2012 08:59:57 -0600 Subject: [texhax] Putting tex on a Mac In-Reply-To: <4F2AA32E.9040405@imf.au.dk> References: <4F2AA32E.9040405@imf.au.dk> Message-ID: <2739DC89-3D26-4E2E-BADC-A9EDD6E96D51@wideopenwest.com> On Feb 2, 2012, at 8:52 AM, Lars Madsen wrote: > Michael Barr wrote, On 2012-02-02 15:25: >> I got the following email from a friend whom I am collaborating with. He has been using tex from his office and it is apparently an older version, or at least a not very complete. So he decided to install it on his Mac. Here is his question: >> I have downloaded Mac-tex from ctan ?actually I have it on an external hard drive because >> it said it would take over 24 hours to download onto my mac in my office. But it just sits there, I clicked >> on it and it unzipped but nothing happened. Any suggestions? I think I will join TUG and ask them. > > That sounds like a very slow mirror, have you tried a fdifferent mirror > > As for the installation see Herberts reply, on the Mac unzip the .mpkg.zip file. > > Only on Mac does this have type of 'file' have any special meaning. For all other OS' it is just a normal folder. > > Which type of Mac are we dealing with? (which OS version) > Howdy, One more thing... if you continue to have a problem with installing via the .mpkg ``file'' on the Mac please report the problem and ask for help at MacTeX-support, . Good Luck, Herb Schulz (herbs at wideopenwest dot com) From will.adams at frycomm.com Thu Feb 2 16:07:15 2012 From: will.adams at frycomm.com (William Adams) Date: Thu, 2 Feb 2012 10:07:15 -0500 Subject: [texhax] Putting tex on a Mac In-Reply-To: References: Message-ID: <4A669A94-94B2-4699-9377-4988C6144BA5@frycomm.com> On Feb 2, 2012, at 9:25 AM, Michael Barr wrote: > I got the following email from a friend whom I am collaborating with. He has been using tex from his office and it is apparently an older version, or at least a not very complete. So he decided to install it on his Mac. Here is his question: > > I have downloaded Mac-tex from ctan ?actually I have it on an external hard drive because > it said it would take over 24 hours to download onto my mac in my office. But it just sits there, I clicked > on it and it unzipped but nothing happened. Any suggestions? I think I will join TUG and ask them. > > While joining TUG is a nice idea (and he would get the tex-live disk) the answers he needs are available free and I recommended he ask texhax, then decided to post the question myself. I have never used a Mac myself and have no idea how it does things. I would suggest using minimals instead: http://pages.uoregon.edu/koch/BasicTeX-2011.pkg.zip (72mb) Read this first: http://pages.uoregon.edu/koch/BasicTeX.pdf William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From vivrii at gmail.com Thu Feb 2 17:47:55 2012 From: vivrii at gmail.com (Victor Ivrii) Date: Thu, 2 Feb 2012 11:47:55 -0500 Subject: [texhax] Underline styles Message-ID: Is anyone aware in the regular way (not using any of graphical packages) to underline text (or math snippet) by dashed, or dotted, or wavy line? Thanks, Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From P.Taylor at Rhul.Ac.Uk Thu Feb 2 18:08:38 2012 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Thu, 02 Feb 2012 17:08:38 +0000 Subject: [texhax] Re : Underline styles Message-ID: <4F2AC316.2020802@Rhul.Ac.Uk> > Is anyone aware in the regular way (not using any of graphical > packages) to underline text (or math snippet) by dashed, or dotted, or > wavy line? > Victor If you can be confident that no line-breaking will be required, you could use any standard technique for determining the width of the text, then typesetting it \rlapped and overlaid by a \raised (negatively speaking) box of the same width containing \leaders of your desired underline style ... If line-breaking is involved, consider LuaTeX ! Philip Taylor From reinhard.kotucha at web.de Thu Feb 2 20:29:35 2012 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 2 Feb 2012 20:29:35 +0100 Subject: [texhax] Re : Underline styles In-Reply-To: <4F2AC316.2020802@Rhul.Ac.Uk> References: <4F2AC316.2020802@Rhul.Ac.Uk> Message-ID: <20266.58399.709528.919843@zaphod.ms25.net> On 2012-02-02 at 17:08:38 +0000, Philip TAYLOR wrote: > > Is anyone aware in the regular way (not using any of graphical > > packages) to underline text (or math snippet) by dashed, or dotted, or > > wavy line? > > > Victor > > If you can be confident that no line-breaking will be required, > you could use any standard technique for determining the width > of the text, then typesetting it \rlapped and overlaid by a > \raised (negatively speaking) box of the same width containing > \leaders of your desired underline style ... > > If line-breaking is involved, consider LuaTeX ! texdoc ulem It supports line-breaking (but not automatic hyphenation) and works with LaTeX and plain TeX. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From doug at mathemaesthetics.com Thu Feb 2 22:31:23 2012 From: doug at mathemaesthetics.com (Doug McKenna) Date: Thu, 2 Feb 2012 14:31:23 -0700 Subject: [texhax] Hyphenation questions Message-ID: <201202022135.q12LZt0n087368@net.indra.com> Question #1 I found an English word that TeX (TeXLive 2010, running LaTeX under TeXShop on a Mac) wasn't hyphenating correctly (the word was "swimmingly"). But since TeX goes to some lengths not to hyphenate words during line-breaking of paragraphs, I found it hard to isolate and test what was going on. As opposed to punting by simply adding a \hyphenate{swim-ming-ly} exception declaration to my document, which of course worked to solve my immediate problem, but didn't tell me much about why the word wasn't otherwise being hyphenated right. Is there a simple macro or testbed file of TeX source code that allows one to test any specific word (English or otherwise) to see how TeX/LaTeX would hyphenate it in various circumstances? Question #2 So being of a curious mindset, I tried to understand \patterns, which admittedly took me off on a tangent. It seems that when hyphenation patterns are installed before typesetting begins, duplicates (if any) are complained about. But what constitutes a duplicate? Are the patterns "mm1" and "mm3" duplicates? "mm" and "mm1"? "mm2" and "mm4"? I ask because there's some tests for duplicate \patterns in "trip.tex" that I don't quite understand. It seems to me that for any given sequence of characters, whatever hyphenation "counts" (or whatever we call the digits in a pattern) there are shouldn't affect whether the pattern is a duplicate or not. Thx. Doug McKenna From asnd at triumf.ca Thu Feb 2 22:58:35 2012 From: asnd at triumf.ca (Donald Arseneau) Date: 02 Feb 2012 13:58:35 -0800 Subject: [texhax] Underline styles In-Reply-To: References: Message-ID: Victor Ivrii writes: > Is anyone aware in the regular way (not using any of graphical > packages) to underline text (or math snippet) by dashed, or dotted, or > wavy line? \usepackage[normaleem]{ulem} Donald Arseneau asnd at triumf.ca From bnb at ams.org Thu Feb 2 23:08:14 2012 From: bnb at ams.org (Barbara Beeton) Date: Thu, 2 Feb 2012 17:08:14 -0500 Subject: [texhax] Hyphenation questions In-Reply-To: <201202022135.q12LZt0n087368@net.indra.com> References: <201202022135.q12LZt0n087368@net.indra.com> Message-ID: doug mckenna asks: Question #1 I found an English word that TeX (TeXLive 2010, running LaTeX under TeXShop on a Mac) wasn't hyphenating correctly (the word was "swimmingly"). But since TeX goes to some lengths not to hyphenate words during line-breaking of paragraphs, I found it hard to isolate and test what was going on. As opposed to punting by simply adding a \hyphenate{swim-ming-ly} exception declaration to my document, which of course worked to solve my immediate problem, but didn't tell me much about why the word wasn't otherwise being hyphenated right. Is there a simple macro or testbed file of TeX source code that allows one to test any specific word (English or otherwise) to see how TeX/LaTeX would hyphenate it in various circumstances? simple. using plain tex from the command line: tex **\relax *\showhyphens{swimmingly} and yes, that is pretty bad. i collect bad hyphenations, and publish addenda to the list periodically in tugboat. (an installment should appear in the next issue.) and whenever an addendum appears in tugboat, the entire accumulation is posted to ctan: http://www.ctan.com/info/digests/tugboat/hyphenex/ (swimmingly is already on the list; has been for years.) feel free to send me any new exceptions that you stumble on, after checking the existing list. Question #2 So being of a curious mindset, I tried to understand \patterns, which admittedly took me off on a tangent. It seems that when hyphenation patterns are installed before typesetting begins, duplicates (if any) are complained about. But what constitutes a duplicate? Are the patterns "mm1" and "mm3" duplicates? "mm" and "mm1"? "mm2" and "mm4"? I ask because there's some tests for duplicate \patterns in "trip.tex" that I don't quite understand. It seems to me that for any given sequence of characters, whatever hyphenation "counts" (or whatever we call the digits in a pattern) there are shouldn't affect whether the pattern is a duplicate or not. i disclaim any ability to unwind this thread without serious research, for which i haven't got time. -- bb From phil at math.wichita.edu Fri Feb 3 00:24:52 2012 From: phil at math.wichita.edu (Phil Parker) Date: Thu, 02 Feb 2012 17:24:52 -0600 Subject: [texhax] Hyphenation questions In-Reply-To: Message-ID: <475293.50876.qm@smtp112.sbc.mail.mud.yahoo.com> On 02/02/2012 at 05:08 PM, Barbara Beeton wrote: >whenever an addendum appears >in tugboat, the entire accumulation is >posted to ctan: > http://www.ctan.com/info/digests/tugboat/hyphenex/ I get a 404 on that URL. Perhaps it was mistyped? I also tried .org, tug.org, ctan.org, and a few other obvious variants. -- Best wishes, Phil Parker ----------------------------------------------------------------------------- URL http://www.math.wichita.edu/~pparker/ PAI http://arxiv.org/a/parker_p_1 Random quote: Law of Computability Applied to Social Sciences: If at first you don't succeed, transform your data set. From P.Taylor at rhul.ac.uk Fri Feb 3 00:38:12 2012 From: P.Taylor at rhul.ac.uk (Philip TAYLOR) Date: Thu, 02 Feb 2012 23:38:12 +0000 Subject: [texhax] Hyphenation questions In-Reply-To: <475293.50876.qm@smtp112.sbc.mail.mud.yahoo.com> References: <475293.50876.qm@smtp112.sbc.mail.mud.yahoo.com> Message-ID: <4F2B1E64.1030406@Rhul.Ac.Uk> Phil Parker wrote: > > On 02/02/2012 at 05:08 PM, Barbara Beeton wrote: > >> whenever an addendum appears >> in tugboat, the entire accumulation is >> posted to ctan: > >> http://www.ctan.com/info/digests/tugboat/hyphenex/ > > I get a 404 on that URL. Perhaps it was mistyped? > > I also tried .org, tug.org, ctan.org, and a few other obvious variants. http://ctan.org/tex-archive/info/digests/tugboat/hyphenex From reinhard.kotucha at web.de Fri Feb 3 02:02:16 2012 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Fri, 3 Feb 2012 02:02:16 +0100 Subject: [texhax] Hyphenation questions In-Reply-To: <4F2B1E64.1030406@Rhul.Ac.Uk> References: <475293.50876.qm@smtp112.sbc.mail.mud.yahoo.com> <4F2B1E64.1030406@Rhul.Ac.Uk> Message-ID: <20267.12824.513984.541448@zaphod.ms25.net> On 2012-02-02 at 23:38:12 +0000, Philip TAYLOR wrote: > > On 02/02/2012 at 05:08 PM, Barbara Beeton wrote: > > > >> whenever an addendum appears in tugboat, the entire accumulation > >> is posted to ctan: > > > >> http://www.ctan.com/info/digests/tugboat/hyphenex/ > http://ctan.org/tex-archive/info/digests/tugboat/hyphenex Barbara, it's good that we're living in the 21st century. A few hundred years ago, confusing '.org' with '.com' was regarded as blasphemy and people making such mistakes (even accidentally) often ended up in a funeral pyre. 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 natercia at eq.uc.pt Fri Feb 3 10:44:19 2012 From: natercia at eq.uc.pt (=?iso-8859-1?q?Nat=E9rcia_Fernandes?=) Date: Fri, 3 Feb 2012 09:44:19 +0000 Subject: [texhax] Hyphenation questions In-Reply-To: References: <201202022135.q12LZt0n087368@net.indra.com> Message-ID: <201202030944.19339.natercia@eq.uc.pt> Hi Barbara, On Thursday, February 02, 2012, Barbara Beeton wrote: > simple. using plain tex from the command line: > > tex > **\relax > *\showhyphens{swimmingly} And if the word you want to test isn't english? I tried several (portuguese) words, but apparently it is trying to use the english way of hyphenating not the portuguese one. How should I indicate that I wanted portuguese hyphenation? Thanks a lot, Nat?rcia From vivrii at gmail.com Fri Feb 3 11:22:50 2012 From: vivrii at gmail.com (Victor Ivrii) Date: Fri, 3 Feb 2012 05:22:50 -0500 Subject: [texhax] Underline styles In-Reply-To: References: Message-ID: Thanks, ulem works well in math mode (despite warning to avoid using it here) Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From P.Taylor at rhul.ac.uk Fri Feb 3 11:55:09 2012 From: P.Taylor at rhul.ac.uk (Philip TAYLOR) Date: Fri, 03 Feb 2012 10:55:09 +0000 Subject: [texhax] Hyphenation questions In-Reply-To: <201202030944.19339.natercia@eq.uc.pt> References: <201202022135.q12LZt0n087368@net.indra.com> <201202030944.19339.natercia@eq.uc.pt> Message-ID: <4F2BBD0D.7000309@Rhul.Ac.Uk> Something like this, Nat?rcia : C:\Documents and Settings\*************>xetex This is XeTeX, Version 3.1415926-2.2-0.9997.4 (Web2C 2010) restricted \write18 enabled. **\uselanguage {portuguese} entering extended mode *\showhyphens {nat?rcia} > And if the word you want to test isn't english? I tried several (portuguese) > words, but apparently it is trying to use the english way of hyphenating not > the portuguese one. How should I indicate that I wanted portuguese > hyphenation? Philip Taylor From bnb at ams.org Fri Feb 3 15:03:00 2012 From: bnb at ams.org (Barbara Beeton) Date: Fri, 3 Feb 2012 09:03:00 -0500 Subject: [texhax] Hyphenation questions In-Reply-To: <20267.12824.513984.541448@zaphod.ms25.net> References: <475293.50876.qm@smtp112.sbc.mail.mud.yahoo.com> <4F2B1E64.1030406@Rhul.Ac.Uk> <20267.12824.513984.541448@zaphod.ms25.net> Message-ID: > http://ctan.org/tex-archive/info/digests/tugboat/hyphenex er, um, that's the correct one. thanks, phil. Barbara, it's good that we're living in the 21st century. A few hundred years ago, confusing '.org' with '.com' was regarded as blasphemy and people making such mistakes (even accidentally) often ended up in a funeral pyre. well, if i end up there, i hope someone will celebrate by dancing around it, playing a violin. (i really *must* learn to be more careful when i cut-and-paste and then edit ...) -- bb From tonightsthenight at gmail.com Fri Feb 3 20:27:16 2012 From: tonightsthenight at gmail.com (Sam Albers) Date: Fri, 3 Feb 2012 11:27:16 -0800 Subject: [texhax] Can I require figures to remain under a certain section heading? Message-ID: Hello all, I have a problem that seems like it should be easy but I can't seem to figure it out. I want to make a LaTeX document that consists almost entirely of figures divided into sections. The problem is that the figures don't want to stay in their sections. I am searching for a way to force the figures to stay in the section that they are "assigned" in the .tex file even if it means starting a new page for only a figure. I thought about using Beamer but I want the output to be optimized for print not screen. The example below should illustrate my problem: \documentclass[12pt]{article} \usepackage[landscape]{geometry} \begin{document} \section{Test1} \begin{figure}[htp] \centering \setlength{\unitlength}{5cm} \begin{picture}(1,1) \put(0,0){\line(0,1){1}} \put(0,0){\line(1,0){1}} \end{picture} \caption{} \end{figure} \section{Test2} % I want all the figures here to stay in this section \begin{figure}[htp] \centering \setlength{\unitlength}{5cm} \begin{picture}(1,1) \put(0,0){\line(0,1){1}} \put(0,0){\line(1,0){1}} \end{picture} \caption{} \end{figure} \begin{figure}[htp] \centering \setlength{\unitlength}{10cm} \begin{picture}(1,1) \put(0,0){\line(0,1){1}} \put(0,0){\line(1,0){1}} \end{picture} \caption{} \end{figure} \section{Test3} % Nothing in this section % And I would like a way to keep this free of figure that came previous \end{document} Can any one recommend a good way to do this? Thanks so much in advance! Sam From natercia at eq.uc.pt Fri Feb 3 20:36:35 2012 From: natercia at eq.uc.pt (=?utf-8?q?Nat=C3=A9rcia_Fernandes?=) Date: Fri, 3 Feb 2012 19:36:35 +0000 Subject: [texhax] Hyphenation questions In-Reply-To: <4F2BBD0D.7000309@Rhul.Ac.Uk> References: <201202022135.q12LZt0n087368@net.indra.com> <201202030944.19339.natercia@eq.uc.pt> <4F2BBD0D.7000309@Rhul.Ac.Uk> Message-ID: <201202031936.35682.natercia@eq.uc.pt> Thanks a lot, I'm going to check it out. Nat?rcia On Friday, February 03, 2012, Philip TAYLOR wrote: > Something like this, Nat?rcia : > > C:\Documents and Settings\*************>xetex > This is XeTeX, Version 3.1415926-2.2-0.9997.4 (Web2C 2010) > restricted \write18 enabled. > **\uselanguage {portuguese} > entering extended mode > > *\showhyphens {nat?rcia} > > > And if the word you want to test isn't english? I tried several > > (portuguese) words, but apparently it is trying to use the english way > > of hyphenating not the portuguese one. How should I indicate that I > > wanted portuguese hyphenation? > > Philip Taylor > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From schneidt at mail.nih.gov Fri Feb 3 21:10:52 2012 From: schneidt at mail.nih.gov (Thomas Schneider) Date: Fri, 3 Feb 2012 15:10:52 -0500 Subject: [texhax] Can I require figures to remain under a certain section heading? In-Reply-To: References: Message-ID: <20120203201052.GA8024@FR-W-C130981.local> Sam: > I want to make a LaTeX document that consists almost > entirely of figures divided into sections. The problem is that the > figures don't want to stay in their sections. I am searching for a way > to force the figures to stay in the section that they are "assigned" > in the .tex file even if it means starting a new page for only a > figure. \clearpage just before the next section will force the figures out. I tried it and it seems to do the trick. Tom Thomas D. Schneider, Ph.D. National Institutes of Health National Cancer Institute Gene Regulation and Chromosome Biology Laboratory Molecular Information Theory Group Frederick, Maryland 21702-1201 http://alum.mit.edu/www/toms (permanent) From viktor at datakaka.net Fri Feb 3 20:42:18 2012 From: viktor at datakaka.net (Viktor Ahlqvist) Date: Fri, 3 Feb 2012 20:42:18 +0100 Subject: [texhax] Can I require figures to remain under a certain section heading? In-Reply-To: References: Message-ID: Hello Try the "placeins"-package. It let you put a \FloatBarrier in the document, which prevents all floats from floating past that point. /Viktor On 3 February 2012 20:27, Sam Albers wrote: > Hello all, > > I have a problem that seems like it should be easy but I can't seem to > figure it out. I want to make a LaTeX document that consists almost > entirely of figures divided into sections. The problem is that the > figures don't want to stay in their sections. I am searching for a way > to force the figures to stay in the section that they are "assigned" > in the .tex file even if it means starting a new page for only a > figure. I thought about using Beamer but I want the output to be > optimized for print not screen. The example below should illustrate my > problem: From alan at alphabyte.co.nz Fri Feb 3 23:17:36 2012 From: alan at alphabyte.co.nz (Alan T Litchfield) Date: Sat, 4 Feb 2012 11:17:36 +1300 Subject: [texhax] Can I require figures to remain under a certain section heading? In-Reply-To: References: Message-ID: <8109DE8D-5B2E-413E-A71A-C08BA34A6C6C@alphabyte.co.nz> Hi, Have you considered placing them (the sections and figures) into minipage environments? Alan On 4/02/2012, at 8:42 AM, Viktor Ahlqvist wrote: > Hello > > Try the "placeins"-package. > It let you put a \FloatBarrier in the document, which prevents all > floats from floating past that point. > > /Viktor > > On 3 February 2012 20:27, Sam Albers > wrote: >> Hello all, >> >> I have a problem that seems like it should be easy but I can't seem >> to >> figure it out. I want to make a LaTeX document that consists almost >> entirely of figures divided into sections. The problem is that the >> figures don't want to stay in their sections. I am searching for a >> way >> to force the figures to stay in the section that they are "assigned" >> in the .tex file even if it means starting a new page for only a >> figure. I thought about using Beamer but I want the output to be >> optimized for print not screen. The example below should illustrate >> my >> problem: > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -- Alan T Litchfield AlphaByte PO Box 1941, Auckland, 1140 New Zealand http://www.alphabyte.co.nz http://www.alphabyte.co.nz/beatrice From tonightsthenight at gmail.com Fri Feb 3 23:26:54 2012 From: tonightsthenight at gmail.com (Sam Albers) Date: Fri, 3 Feb 2012 14:26:54 -0800 Subject: [texhax] Can I require figures to remain under a certain section heading? In-Reply-To: <8109DE8D-5B2E-413E-A71A-C08BA34A6C6C@alphabyte.co.nz> References: <8109DE8D-5B2E-413E-A71A-C08BA34A6C6C@alphabyte.co.nz> Message-ID: Thanks for the suggestion but the \clearpage command did exactly what I was looking for. Thanks for all the responses! Sam On Fri, Feb 3, 2012 at 2:17 PM, Alan T Litchfield wrote: > Hi, > > Have you considered placing them (the sections and figures) into minipage > environments? > > Alan > > > > On 4/02/2012, at 8:42 AM, Viktor Ahlqvist wrote: > >> Hello >> >> Try the "placeins"-package. >> It let you put a \FloatBarrier in the document, which prevents all >> floats from floating past that point. >> >> /Viktor >> >> On 3 February 2012 20:27, Sam Albers wrote: >>> >>> Hello all, >>> >>> I have a problem that seems like it should be easy but I can't seem to >>> figure it out. I want to make a LaTeX document that consists almost >>> entirely of figures divided into sections. The problem is that the >>> figures don't want to stay in their sections. I am searching for a way >>> to force the figures to stay in the section that they are "assigned" >>> in the .tex file even if it means starting a new page for only a >>> figure. I thought about using Beamer but I want the output to be >>> optimized for print not screen. The example below should illustrate my >>> problem: >> >> _______________________________________________ >> TeX FAQ: http://www.tex.ac.uk/faq >> Mailing list archives: http://tug.org/pipermail/texhax/ >> More links: http://tug.org/begin.html >> >> Automated subscription management: http://tug.org/mailman/listinfo/texhax >> Human mailing list managers: postmaster at tug.org > > > -- > Alan T Litchfield > AlphaByte > PO Box 1941, Auckland, 1140 > New Zealand > http://www.alphabyte.co.nz > http://www.alphabyte.co.nz/beatrice > From doug at mathemaesthetics.com Fri Feb 3 23:27:49 2012 From: doug at mathemaesthetics.com (Doug McKenna) Date: Fri, 3 Feb 2012 15:27:49 -0700 Subject: [texhax] Hyphenation questions Message-ID: <201202032232.q13MWMvW076069@net.indra.com> Thanks to all for the answers on my first question. Not being familiar with all the macro names in plain.tex, I didn't know about \showhyphens{}. Ditto for the exceptions list on CTAN.orgcom. I'd still like to understand what the definition of a duplicate hyphenation pattern is, other than "that which causes TeX to issue a particular error message". Doug McKenna From P.Taylor at rhul.ac.uk Sat Feb 4 00:18:37 2012 From: P.Taylor at rhul.ac.uk (Philip TAYLOR) Date: Fri, 03 Feb 2012 23:18:37 +0000 Subject: [texhax] Hyphenation questions In-Reply-To: <201202032232.q13MWMvW076069@net.indra.com> References: <201202032232.q13MWMvW076069@net.indra.com> Message-ID: <4F2C6B4D.20001@Rhul.Ac.Uk> Doug McKenna wrote: > I'd still like to understand what the definition of a duplicate > hyphenation pattern is, other than "that which causes TeX to issue a > particular error message". Your confusion is not unwarranted; TeX.web : > @.Duplicate pattern@> > help1("(See Appendix H.)"); error; > end; Appendix H, relevant part : >  A hpatterni in the \patterns list has a more restricted form than a > hwordi in the \hyphenation list, since patterns are supposed to be prepared > by experts who are paid well for their expertise. Each hpatterni consists > of one or more occurrences of hvalueihletteri, followed by hvaluei. Here hvaluei is either > a digit (012 to 912) or empty; an empty hvaluei stands for zero. For example, > the pattern `0a1b0' can be represented as 0a1b0 or a1b0 or 0a1b or simply > a1b. A hletteri is a character token of category 11 or 12 whose \lccode is > nonzero. If you want to use a digit as a hletteri, you must precede it by a nonempty > hvaluei; for example, if for some reason you want the pattern `1a012' you can obtain > it by typing `1a012', assuming that \lccode`1 is nonzero. Exception: The character > `.' is treated as if it were a hletteri of code 0 when it appears in a pattern. > Code 0 (which obviously cannot match a nonzero \lccode) is used by TEX to > represent the left or right edge of a word when it is being hyphenated. (funny characters courtesy of PDF copy-and-paste) No mention of "duplicate" as far as I can see, Why not assume that "duplicate" means "identical" ? It probably does ! Philip Taylor From asnd at triumf.ca Sat Feb 4 16:59:15 2012 From: asnd at triumf.ca (Donald Arseneau) Date: 04 Feb 2012 07:59:15 -0800 Subject: [texhax] Underline styles In-Reply-To: References: Message-ID: Victor Ivrii writes: > Thanks, ulem works well in math mode (despite warning to avoid using it here) For a low standard of "well" :-) Donald Arseneau asnd at triumf.ca From karl at freefriends.org Sun Feb 5 01:03:27 2012 From: karl at freefriends.org (Karl Berry) Date: Sat, 4 Feb 2012 16:03:27 -0800 Subject: [texhax] Hyphenation questions In-Reply-To: <201202030944.19339.natercia@eq.uc.pt> Message-ID: <201202050003.q1503RYC014901@freefriends.org> And if the word you want to test isn't english? I know you've already been answered, but FWIW ... I have sometimes wanted to test hyphenation in LaTeX specifically (e.g., to see if all the babel linkage was working properly). Here's what I came up with: \documentclass{article} \usepackage[german,english]{babel} \begin{document} \hbadness=10000 \def\word{Auszeichnungen} \selectlanguage{german}\showhyphens{\word} \selectlanguage{english}\showhyphens{\word} \end{document} (Showing it also in English is just for curiousity, and to make sure that hyphenations which should be different really are. :) Oh, and I've also sometimes been curious about the hyphenmin settings: \selectlanguage{german}\showthe\lefthyphenmin\showthe\righthyphenmin Best, Karl From karl at freefriends.org Sun Feb 5 01:12:54 2012 From: karl at freefriends.org (Karl Berry) Date: Sat, 4 Feb 2012 16:12:54 -0800 Subject: [texhax] Hyphenation questions In-Reply-To: <201202022135.q12LZt0n087368@net.indra.com> Message-ID: <201202050012.q150Cs59015416@freefriends.org> what constitutes a duplicate? Whatever TeX complains about :)? Are the patterns "mm1" and "mm3" duplicates? "mm" and "mm1"? "mm2" and "mm4"? I don't know, but you could try giving those as \patterns to initex to find out. I ask because there's some tests for duplicate \patterns in "trip.tex" that I don't quite understand. Essentially nothing after the first few lines of trip.tex is understandable, to my mortal eyes :). Anyway, the only one of the above combinations I see in trip.tex is bb and bb1, which sounds like a random edge case anyway -- like most things in trip. It seems to me that for any given sequence of characters, whatever hyphenation "counts" (or whatever we call the digits in a pattern) there are shouldn't affect whether the pattern is a duplicate or not. That sounds logical, but ... trying to follow the code in tex.web, I cannot easily conclude whether that is the case or not. Happy sleuthing, Karl From vivrii at gmail.com Mon Feb 6 16:08:28 2012 From: vivrii at gmail.com (Victor Ivrii) Date: Mon, 6 Feb 2012 10:08:28 -0500 Subject: [texhax] strange behavior of \shoveleft or \shoveright Message-ID: \shoveleft applied to the first line in multline (or multline*) shifts it to the right \shoveright applied to the first line in multiline (or multline*) shifts it to the left while they should not have any effect (so nobody needs to apply them) ! This is in bot [reqno] and [leqno] modes and {mathtools} do not change this behaviour. Victor \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{multline} \shoveleft{12345678912345678234567123456789123456782345671}\\ \shoveright{12345678912345678234567123456789123456782345671} \end{multline} \begin{multline} {12345678912345678234567123456789123456782345671}\\ \shoveright{12345678912345678234567123456789123456782345671} \end{multline} \begin{multline} \shoveleft{12345678912345678234567123456789123456782345671}\\ {12345678912345678234567123456789123456782345671} \end{multline} \begin{multline} {12345678912345678234567123456789123456782345671}\\ {12345678912345678234567123456789123456782345671} \end{multline} \end{document} From bnb at ams.org Mon Feb 6 21:06:56 2012 From: bnb at ams.org (Barbara Beeton) Date: Mon, 6 Feb 2012 15:06:56 -0500 Subject: [texhax] strange behavior of \shoveleft or \shoveright In-Reply-To: References: Message-ID: victor, \shoveleft applied to the first line in multline (or multline*) shifts it to the right \shoveright applied to the first line in multiline (or multline*) shifts it to the left i think you mean "last line" here ... while they should not have any effect (so nobody needs to apply them) ! This is in bot [reqno] and [leqno] modes and {mathtools} do not change this behaviour. clearly a bug in amsmath, but you're the first to report it. i've logged it into our list. thanks. -- bb Victor \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{multline} \shoveleft{12345678912345678234567123456789123456782345671}\\ \shoveright{12345678912345678234567123456789123456782345671} \end{multline} \begin{multline} {12345678912345678234567123456789123456782345671}\\ \shoveright{12345678912345678234567123456789123456782345671} \end{multline} \begin{multline} \shoveleft{12345678912345678234567123456789123456782345671}\\ {12345678912345678234567123456789123456782345671} \end{multline} \begin{multline} {12345678912345678234567123456789123456782345671}\\ {12345678912345678234567123456789123456782345671} \end{multline} \end{document} From chettyvk at gmail.com Tue Feb 7 00:52:43 2012 From: chettyvk at gmail.com (Veerappa Chetty) Date: Mon, 6 Feb 2012 18:52:43 -0500 Subject: [texhax] section numbers Message-ID: Hi, I want to number sections in an article class document as A ,B, C etc, i.e I want to use alphabets instead pf numbers. How do I change this command I am now using? I can suppress numbers and type it in. Is there another way? \section {Significance} Thanks. Chetty -- Professor of Family Medicine Boston University Tel: 617-414-6221, Fax:617-414-3345 emails: chettyvk at gmail.com,vchetty at bu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From tonightsthenight at gmail.com Tue Feb 7 01:01:01 2012 From: tonightsthenight at gmail.com (Sam Albers) Date: Mon, 6 Feb 2012 16:01:01 -0800 Subject: [texhax] section numbers In-Reply-To: References: Message-ID: Place the following in your preamble: \def\thesection{\Alph{section}} On Mon, Feb 6, 2012 at 3:52 PM, Veerappa Chetty wrote: > Hi, > I want to number sections in an article class document as A ,B, C etc, i.e I > want to use alphabets?instead?pf numbers.?How?do?I change this command I am > now using? I can suppress numbers and type it in. Is there another way? > > \section {Significance} > > Thanks. > Chetty > > -- > Professor of Family Medicine > Boston University > Tel: 617-414-6221, Fax:617-414-3345 > emails: chettyvk at gmail.com,vchetty at bu.edu > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From mohamed.houssni at e-press.co.ma Tue Feb 7 12:14:23 2012 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Tue, 07 Feb 2012 11:14:23 +0000 Subject: [texhax] style latex Message-ID: <4F31078F.2030605@e-press.co.ma> Dear list, Can someone help me ? I need a Style LaTeX to automatically put the first letter of a title in capitals. Any one have an idea ? Thanks a lot, Houssni From will.adams at frycomm.com Tue Feb 7 13:41:39 2012 From: will.adams at frycomm.com (William Adams) Date: Tue, 7 Feb 2012 07:41:39 -0500 Subject: [texhax] style latex In-Reply-To: <4F31078F.2030605@e-press.co.ma> References: <4F31078F.2030605@e-press.co.ma> Message-ID: On Feb 7, 2012, at 6:14 AM, Mohamed HOUSSNI wrote: > Can someone help me ? I need a Style LaTeX to automatically put the first letter of a title in capitals. > > Any one have an idea ? This is called a ``drop cap'' for short (long version would be ``dropped capital''). The usual package for doing this is lettrine: \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{type1cm, lettrine, blindtext} \begin{document} \lettrine[lines=3, findent=3pt, nindent=0pt]{O}{n} the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. \end{document} (example modified from http://texblog.org/2011/05/21/drop-caps-with-lettrine/ ) William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From ziegenhagen at gmail.com Tue Feb 7 13:50:48 2012 From: ziegenhagen at gmail.com (Uwe Ziegenhagen) Date: Tue, 7 Feb 2012 13:50:48 +0100 Subject: [texhax] style latex In-Reply-To: References: <4F31078F.2030605@e-press.co.ma> Message-ID: Am 07.02.2012 um 13:41 schrieb William Adams : > On Feb 7, 2012, at 6:14 AM, Mohamed HOUSSNI wrote: > >> Can someone help me ? I need a Style LaTeX to automatically put the first letter of a title in capitals. >> >> Any one have an idea ? > > This is called a ``drop cap'' for short (long version would be ``dropped capital''). > > The usual package for doing this is lettrine: > > \documentclass[12pt]{article} > \usepackage[english]{babel} > \usepackage{type1cm, lettrine, blindtext} > \begin{document} > \lettrine[lines=3, findent=3pt, nindent=0pt]{O}{n} the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. > \end{document} > > (example modified from http://texblog.org/2011/05/21/drop-caps-with-lettrine/ ) > > William > If you had e.g. to modify the first word in each paragraph, the chickenize package for luaTeX could be helpful. The author, Arno Trautmann, showed really nice examples for luaTeX at the last Dante meeting here in Germany. Uwe From P.Taylor at rhul.ac.uk Tue Feb 7 14:13:29 2012 From: P.Taylor at rhul.ac.uk (Philip TAYLOR) Date: Tue, 07 Feb 2012 13:13:29 +0000 Subject: [texhax] style latex In-Reply-To: References: <4F31078F.2030605@e-press.co.ma> Message-ID: <4F312379.7010900@Rhul.Ac.Uk> William Adams wrote: > On Feb 7, 2012, at 6:14 AM, Mohamed HOUSSNI wrote: > >> Can someone help me ? I need a Style LaTeX to automatically put the first letter of a title in capitals. >> >> Any one have an idea ? > > This is called a ``drop cap'' for short I am not at all sure that this statement is correct. If the first letter of a title is in capitals (e.g., "This is my title"), there is no suggestion (to my mind) that the cap. should also be enlarged and dropped. Philip Taylor From will.adams at frycomm.com Tue Feb 7 14:22:54 2012 From: will.adams at frycomm.com (William Adams) Date: Tue, 7 Feb 2012 08:22:54 -0500 Subject: [texhax] style latex In-Reply-To: <4F312379.7010900@Rhul.Ac.Uk> References: <4F31078F.2030605@e-press.co.ma> <4F312379.7010900@Rhul.Ac.Uk> Message-ID: <57E38BAA-54DB-4BA7-AAB8-DEF42A64360E@frycomm.com> On Feb 7, 2012, at 8:13 AM, Philip TAYLOR wrote: > I am not at all sure that this statement is correct. If the first letter of > a title is in capitals (e.g., "This is my title"), there is no suggestion > (to my mind) that the cap. should also be enlarged and dropped. Oh. I totally misread that. I really need an app which disables my Send Mail functionality until after I've finished at least one cup of tea..... Hmm, maybe the issue is a bibliography? Wouldn't this be handled in a bibtex style then? William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From herbs at wideopenwest.com Tue Feb 7 14:34:38 2012 From: herbs at wideopenwest.com (Herbert Schulz) Date: Tue, 7 Feb 2012 07:34:38 -0600 Subject: [texhax] style latex In-Reply-To: <57E38BAA-54DB-4BA7-AAB8-DEF42A64360E@frycomm.com> References: <4F31078F.2030605@e-press.co.ma> <4F312379.7010900@Rhul.Ac.Uk> <57E38BAA-54DB-4BA7-AAB8-DEF42A64360E@frycomm.com> Message-ID: <31AB2CBA-BC1F-4CCE-BF3C-183CE33D8BC8@wideopenwest.com> On Feb 7, 2012, at 7:22 AM, William Adams wrote: > On Feb 7, 2012, at 8:13 AM, Philip TAYLOR wrote: > >> I am not at all sure that this statement is correct. If the first letter of >> a title is in capitals (e.g., "This is my title"), there is no suggestion >> (to my mind) that the cap. should also be enlarged and dropped. > > Oh. > > I totally misread that. I really need an app which disables my Send Mail functionality until after I've finished at least one cup of tea..... > > Hmm, maybe the issue is a bibliography? > > Wouldn't this be handled in a bibtex style then? > > William > > -- > William Adams > senior graphic designer > Fry Communications > Sphinx of black quartz, judge my vow. Howdy, And my interpretation of the request is for a macro that capitalizes the first letter of each word in a Title. :-) Good Luck, Herb Schulz (herbs at wideopenwest dot com) From mohamed.houssni at e-press.co.ma Tue Feb 7 14:40:04 2012 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Tue, 07 Feb 2012 13:40:04 +0000 Subject: [texhax] style latex In-Reply-To: <31AB2CBA-BC1F-4CCE-BF3C-183CE33D8BC8@wideopenwest.com> References: <4F31078F.2030605@e-press.co.ma> <4F312379.7010900@Rhul.Ac.Uk> <57E38BAA-54DB-4BA7-AAB8-DEF42A64360E@frycomm.com> <31AB2CBA-BC1F-4CCE-BF3C-183CE33D8BC8@wideopenwest.com> Message-ID: <4F3129B4.1010605@e-press.co.ma> exactly, thanks Herbert Schulz a ?crit : >On Feb 7, 2012, at 7:22 AM, William Adams wrote: > > > >>On Feb 7, 2012, at 8:13 AM, Philip TAYLOR wrote: >> >> >> >>>I am not at all sure that this statement is correct. If the first letter of >>>a title is in capitals (e.g., "This is my title"), there is no suggestion >>>(to my mind) that the cap. should also be enlarged and dropped. >>> >>> >>Oh. >> >>I totally misread that. I really need an app which disables my Send Mail functionality until after I've finished at least one cup of tea..... >> >>Hmm, maybe the issue is a bibliography? >> >>Wouldn't this be handled in a bibtex style then? >> >>William >> >>-- >>William Adams >>senior graphic designer >>Fry Communications >>Sphinx of black quartz, judge my vow. >> >> > > >Howdy, > >And my interpretation of the request is for a macro that capitalizes the first letter of each word in a Title. :-) > >Good Luck, > >Herb Schulz >(herbs at wideopenwest dot com) > > > > > From will.adams at frycomm.com Tue Feb 7 14:40:39 2012 From: will.adams at frycomm.com (William Adams) Date: Tue, 7 Feb 2012 08:40:39 -0500 Subject: [texhax] style latex In-Reply-To: <4F3126DA.3050809@e-press.co.ma> References: <4F31078F.2030605@e-press.co.ma> <4F312379.7010900@Rhul.Ac.Uk> <57E38BAA-54DB-4BA7-AAB8-DEF42A64360E@frycomm.com> <4F3126DA.3050809@e-press.co.ma> Message-ID: On Feb 7, 2012, at 8:27 AM, Mohamed HOUSSNI wrote: > Say I have a title like: the complet stationary system > > After applying a command on the title : The Complet Stationary System > > Thanks a lot Okay, lots of discussion on that. See: http://tex.stackexchange.com/questions/23472/automatically-capitalize-first-letters-of-words-in-titles William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. From P.Taylor at rhul.ac.uk Tue Feb 7 14:47:53 2012 From: P.Taylor at rhul.ac.uk (Philip TAYLOR) Date: Tue, 07 Feb 2012 13:47:53 +0000 Subject: [texhax] style latex In-Reply-To: <31AB2CBA-BC1F-4CCE-BF3C-183CE33D8BC8@wideopenwest.com> References: <4F31078F.2030605@e-press.co.ma> <4F312379.7010900@Rhul.Ac.Uk> <57E38BAA-54DB-4BA7-AAB8-DEF42A64360E@frycomm.com> <31AB2CBA-BC1F-4CCE-BF3C-183CE33D8BC8@wideopenwest.com> Message-ID: <4F312B89.8050902@Rhul.Ac.Uk> Herbert Schulz wrote: > And my interpretation of the request is for a macro that capitalizes the first letter of each word in a Title. :-) Then they must use "each word" quite different in your part of the world, Herb :-) > I need a Style LaTeX to automatically put the first letter of a title in capitals. In the Deep South (of England), "the first letter of a title" is "the first letter of a title", not "the first letter of each word of a title" ... Philip Taylor From mohamed.houssni at e-press.co.ma Tue Feb 7 14:51:58 2012 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Tue, 07 Feb 2012 13:51:58 +0000 Subject: [texhax] style latex In-Reply-To: <4F312B89.8050902@Rhul.Ac.Uk> References: <4F31078F.2030605@e-press.co.ma> <4F312379.7010900@Rhul.Ac.Uk> <57E38BAA-54DB-4BA7-AAB8-DEF42A64360E@frycomm.com> <31AB2CBA-BC1F-4CCE-BF3C-183CE33D8BC8@wideopenwest.com> <4F312B89.8050902@Rhul.Ac.Uk> Message-ID: <4F312C7E.4020501@e-press.co.ma> I am not a native English speaker so that kind of detail escapes me. Thanks a lot, Houssni Philip TAYLOR a ?crit : > > > Herbert Schulz wrote: > >> And my interpretation of the request is for a macro that capitalizes >> the first letter of each word in a Title. :-) > > > Then they must use "each word" quite different in your part of the > world, Herb :-) > >> I need a Style LaTeX to automatically put the first letter of a title >> in capitals. > > > In the Deep South (of England), "the first letter of a title" is "the > first letter > of a title", not "the first letter of each word of a title" ... > > Philip Taylor > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org From ghaverla at materialisations.com Thu Feb 9 01:42:18 2012 From: ghaverla at materialisations.com (Gordon Haverland) Date: Wed, 8 Feb 2012 17:42:18 -0700 Subject: [texhax] LaTeX to HTML - And HTML email Message-ID: <201202081742.19252.ghaverla@materialisations.com> After trying on a very small subset of tools to convert LaTeX to HTML, I settled on HeVeA. I am trying to make a "solution" for all these people who feel that HTML email is a multipart/alternative message where the text part is 1 or 2 bytes, and some HTML part is 10k or more, and no PDF part. While there may be mail clients which will use CSS in the (which is what HeVeA does), apparently the bulk of email clients want the style attribute on all things in the body, and not some general CSS in . Are there LaTeX to HTML convertors that will do this? Or does a person have to transform the HTML to put all the CSS/style in the ? Gord From liantze at gmail.com Thu Feb 9 02:01:13 2012 From: liantze at gmail.com (Lim Lian Tze) Date: Thu, 9 Feb 2012 09:01:13 +0800 Subject: [texhax] LaTeX to HTML - And HTML email In-Reply-To: <201202081742.19252.ghaverla@materialisations.com> References: <201202081742.19252.ghaverla@materialisations.com> Message-ID: On Thu, Feb 9, 2012 at 8:42 AM, Gordon Haverland < ghaverla at materialisations.com> wrote: > > While there may be mail clients which will use CSS in the > (which is what HeVeA does), apparently the bulk of email clients > want the style attribute on all things in the body, and not some > general CSS in . > > Are there LaTeX to HTML convertors that will do this? Or does a > person have to transform the HTML to put all the CSS/style in the > ? > You might want to try MailChimp's CSS Inliner tool for this exact purpose. This tool is free of charge, and you don't need to register with MailChimp beforehand to use it. http://beaker.mailchimp.com/inline-css To use the tool, first copy the CSS