From riteshsood at gmail.com Sat Nov 1 01:58:21 2008 From: riteshsood at gmail.com (Ritesh Sood) Date: Fri, 31 Oct 2008 17:58:21 -0700 Subject: [texhax] Missing diagnostic messages in .log (TeXLive 2008) Message-ID: <55c10a5f0810311758k14639f45k9bee6b44a3533924@mail.gmail.com> Hi all, I've upgraded from TeXLive 2007 to TeXLive 2008 recently, since I'd been having trouble with beamer+hyperref+dvipdfmx. Needless to say, the diagnostic messages on the command line and in the .log file have always been a tremendous help: what package versions are being used, what config config files are being loaded, etc. When the recent upgrade didn't fully solve the problem, i naturally tried looking at the .log file ... only to find out that all but font related diagnostics have disappeared!! Where once beamer, pgf, hyperref, used to leave behind a long trail, now there's practically nothing useful. Has some new option been added to LaTeX to turn on the messages? some settings via the new tlmgr perhaps? Please help..... While I'm at it, here's the trouble i'm having. The document (slides really) compiles fine, but during dvi -> pdf via dvipdfmx, i see quite a few of the following blocks: ** WARNING ** Can't begin an annotation when one is pending. ** WARNING ** Interpreting special command bann (pdf:) failed. ** WARNING ** >> at page="18" position="(72.816, 79.1588)" (in PDF) ** WARNING ** >> xxx "pdf:bann<> Reading special command stopped around >><> at page="18" position="(80.1245, 77.1663)" (in PDF) ** WARNING ** >> xxx "pdf:eann" Searching on the web didn't return anything useful, maybe someone can shed light on the issue. Thanks a lot, Ritesh From jeneyg at hit.bme.hu Sat Nov 1 14:12:51 2008 From: jeneyg at hit.bme.hu (Jeney =?ISO-8859-1?Q?G=E1bor?=) Date: Sat, 01 Nov 2008 14:12:51 +0100 Subject: [texhax] A new question not in the TeX FAQ In-Reply-To: <490B198A.9060304@FU-Berlin.DE> References: <1225455891.15196.350.camel@dezsolaptop> <490B198A.9060304@FU-Berlin.DE> Message-ID: <1225545171.15196.359.camel@dezsolaptop> Dear Herbert, I have also provided a solution to the problem (with \newcommand statement), have you read the whole letter? The focus of my question was rather that why it is not possible to use the \usebox command inside \label? 2008. 10. 31, p?ntek keltez?ssel 15.43-kor Herbert Voss ezt ?rta: > Jeney G?bor schrieb: > > > I am an associate professor at the Budapest University of Technology and > > Economics, using (and also teaching) LaTeX, and I have the following > > question which I have not been able to find any explanation up to now: > > > > inside the \label statement, it is not possible to use the \usebox > > command. It is quite strange, since any other commands can be used > > there. I show the code which helped me to discover the problem: > > \documentclass{article} > \newsavebox{\tabBox} > \newenvironment*{tabl}[3]{% #1: caption, #2: label, #3: columns > \def\tabcaption{#1} > \def\tablabel{#3} > \begin{lrbox}{\tabBox} > \tabular{#3} > }{\endtabular\end{lrbox}% > \begin{table}[htb] > \centering > \caption{\tabcaption}\label{\tablabel} > \medskip > \usebox\tabBox > \end{table}} > > \begin{document} > > \begin{tabl}{Wise statements}{wise}{c|r@{,}l} > Expression & \multicolumn{2}{c}{Value} \\\hline > $\pi$ & 3&1415927 \\ > $\pi^\pi$ & 36&46216 \\ > $\pi^{\pi^\pi}$ & 80662&666 > \end{tabl} > > \end{document} > > Herbert -- Best regards, G?bor JENEY __________________________________________________________ BME, Dep. of Telecommunications, Mobile Innovation Center | Office: I.B.116, Tel: +36-1-463-2418, Fax: +36-1-463-3263 | From eduardo at kalinowski.com.br Sat Nov 1 15:32:10 2008 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sat, 01 Nov 2008 12:32:10 -0200 Subject: [texhax] A new question not in the TeX FAQ In-Reply-To: <1225545171.15196.359.camel@dezsolaptop> References: <1225455891.15196.350.camel@dezsolaptop> <490B198A.9060304@FU-Berlin.DE> <1225545171.15196.359.camel@dezsolaptop> Message-ID: <490C686A.3060404@kalinowski.com.br> Jeney G?bor wrote: > Dear Herbert, > > I have also provided a solution to the problem (with \newcommand > statement), have you read the whole letter? The focus of my question was > rather that why it is not possible to use the \usebox command inside > \label? > Because a label is just an identifier. It's just a sequence of characters (in the input sense, not in the sense of characters that get printed), while a box is typeset text (or something that will be typeset). It contains the glyphs to be printed, and possibly glue, kerns, and other special features. I'm sure someone can come up with a more technical (or texnical) explanation, but that is the idea. -- To be beautiful is enough! if a woman can do that well who should demand more from her? You don't want a rose to sing. -- Thackeray Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb From s.schwartz at imperial.ac.uk Sat Nov 1 16:55:50 2008 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Sat, 01 Nov 2008 15:55:50 +0000 Subject: [texhax] A new question not in the TeX FAQ In-Reply-To: <490C686A.3060404@kalinowski.com.br> References: <1225455891.15196.350.camel@dezsolaptop> <490B198A.9060304@FU-Berlin.DE> <1225545171.15196.359.camel@dezsolaptop> <490C686A.3060404@kalinowski.com.br> Message-ID: <1225554950.4782.28.camel@sony-sjs.sp.ph.ic.ac.uk> Re \usebox in \label: On Sat, 2008-11-01 at 12:32 -0200, Eduardo M KALINOWSKI wrote: > I'm sure someone can come up with a more technical (or texnical) > explanation, but that is the idea. I missed (or more correctly deleted) the beginning of this discussion, but I would point to two things. Firstly, here's the entry for \label resulting from typing info latex into my linux console and navigating to the \label command: ============== `\label{key}' A `\label' command appearing in ordinary text assigns to the `key' the number of the current sectional unit; one appearing inside a numbered environment assigns that number to the `key'. A `key' can consist of any sequence of letters, digits, or punctuation characters. Upper and lowercase letters are different. ... =============== Secondly, and more importantly, \label doesn't typeset anything, it sets up the key for referencing, e.g., \ref{key} will produce the section number (or enumeration) corresponding to the location of the \label{key} command, and \pageref{key} will produce the number of the page where the \label command appears. Latex does this by looking up "key" in the aux file and finding the corresponding numbers. The aux file is pure text. There's no way to put a box there, and even if there were, how would it be able to look up the contents of a box, which could contain graphics, picture environments, minipages, or anything else? Steve -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Space and Atmospheric Physics Fax: +44-(0)20-7594-7772 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 6M70 London SW7 2AZ, U.K. Web: http://www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From nader at elam.com Sun Nov 2 05:18:19 2008 From: nader at elam.com (Nader Fard) Date: Sun, 2 Nov 2008 04:18:19 +0000 Subject: [texhax] Tex on Vista Message-ID: Dear Sir/Madam, Hi, my name is Nader and I'm a beginner of typesetting tool Tex. I managed to get Tex up and running on Xp fairly easily but had problem to get it up and running on Vista which eventually I did. now I have only one problem. the problem is that when I start the process in Dos Prompt, the CMD box shows that the machine is thinking and this takes at least 1-2 minutes each time I run it to fix a word! and I have to run Tex thousands of times to get the scripture text right. in Xp there is no delay and the process is very fast. is there any way we can omit this delay in Vista? I would be grateful if you could help me with this or at least put me in touch with some one who might be able to help me with this. Best Regards, Nader Fard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081102/666021a3/attachment.html From daleif at imf.au.dk Sun Nov 2 13:36:54 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Sun, 02 Nov 2008 13:36:54 +0100 Subject: [texhax] Tex on Vista In-Reply-To: References: Message-ID: <490D9EE6.20609@imf.au.dk> Nader Fard wrote: > Dear Sir/Madam, > > Hi, my name is Nader and I'm a beginner of typesetting tool Tex. I > managed to get Tex up and running on Xp fairly easily but had problem to > get it up and running on Vista which eventually I did. now I have only > one problem. > the problem is that when I start the process in Dos Prompt, the CMD box > shows that the machine is thinking and this takes at least 1-2 minutes > each time I run it to fix a word! and I have to run Tex thousands of > times to get the scripture text right. in Xp there is no delay and the > process is very fast. is there any way we can omit this delay in Vista? > > I would be grateful if you could help me with this or at least put me in > touch with some one who might be able to help me with this. > > Best Regards, > Nader Fard > which LaTeX distribution and which version do you use? /daleif From daleif at imf.au.dk Sun Nov 2 19:19:37 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Sun, 02 Nov 2008 19:19:37 +0100 Subject: [texhax] Tex on Vista In-Reply-To: <490DEE8D.70909@imf.au.dk> References: <490D9EE6.20609@imf.au.dk> <490DEE8D.70909@imf.au.dk> Message-ID: <490DEF39.4040509@imf.au.dk> Lars Madsen wrote: > Nader Fard wrote: >> Hi there, >> >> thanks for getting back to me. I ust Tex not LaTex. here is the site: >> >> http://confluence.ubs-icap.org/display/TTT/XeTeX >> >> http://confluence.ubs-icap.org/display/TTT/Home;jsessionid=BFDE5FD1C8E6570032F9486666C12692 >> >> >> I have got the latest version on my laptop. >> >> Regards, >> >> Nader > > cannot help you there > > I do think xetex is included in miktex and that works on vista. > > /daleif > the xetex version that comes with TeXLive is XeTeX 3.1415926-2.2-0.999.6 (Web2C 7.5.7) /daleif From karl at freefriends.org Mon Nov 3 02:17:27 2008 From: karl at freefriends.org (Karl Berry) Date: Sun, 2 Nov 2008 19:17:27 -0600 Subject: [texhax] Missing diagnostic messages in .log (TeXLive 2008) In-Reply-To: <55c10a5f0810311758k14639f45k9bee6b44a3533924@mail.gmail.com> Message-ID: <200811030117.mA31HRv10558@f7.net> looking at the .log file ... only to find out that all but font related diagnostics have disappeared!! Where once beamer, pgf, hyperref, used to leave behind a long trail, now there's practically nothing useful. Has some new option been added to LaTeX to turn on the messages? some settings via the new tlmgr perhaps? Please help..... I doubt anything has changed in LaTeX itself in this regard, and tlmgr has nothing to do with what packages actually do. So I suspect that beamer/pgf/hyperref themselves are logging differently. I cannot say for sure without diffing the sources, and I'm not up for that right now. I certainly agree logging is useful and that it's too bad the current versions do less of it. While I'm at it, here's the trouble i'm having. It could be a bug in the 08 dvipdfmx. You could try copying the TL'07 version into TL'08 tree (e.g., as "dvipdfmx07") and see if it works. It's possible some of its support file changes will cause the 07 binary to fail in the 08 tree, but I doubt it. Could be worth a try if you just want to get your slides out. In any case, if you send the .tex+.dvi (minimal examples always appreciated, of course) to the dvipdfmx bug address (dvipdfmx at project.ktug.or.kr), the authors might be able to find a fix. Best, Karl From barr at math.mcgill.ca Mon Nov 3 16:20:05 2008 From: barr at math.mcgill.ca (Michael Barr) Date: Mon, 3 Nov 2008 10:20:05 -0500 (EST) Subject: [texhax] Odd behavior in a \mathop Message-ID: If you compile the file \documentclass{article} \newcommand\II{\mathop{I\mkern-1mu I}} \newcommand\I{\mathop{I}} \begin{document} $AB\II L$ $AB\I L$ \end{document} you will see (or I do anyway) that the I in the second, but not the first, formula is going distinctly below the line. What is going on here? If you take out the \mathop this does not happen. Michael Barr From adityam at umich.edu Mon Nov 3 17:42:26 2008 From: adityam at umich.edu (Aditya Mahajan) Date: Mon, 3 Nov 2008 11:42:26 -0500 (EST) Subject: [texhax] Odd behavior in a \mathop In-Reply-To: References: Message-ID: On Mon, 3 Nov 2008, Michael Barr wrote: > If you compile the file > \documentclass{article} > \newcommand\II{\mathop{I\mkern-1mu I}} > \newcommand\I{\mathop{I}} > \begin{document} > > $AB\II L$ > > $AB\I L$ > > \end{document} > > you will see (or I do anyway) that the I in the second, but not the first, > formula is going distinctly below the line. What is going on here? If its argument is a single character, \mathop centers it to with respect to the math-axis. You can define \newcommand\I{\mathop{\kern0pt I} to avoid this. Aditya From barr at math.mcgill.ca Mon Nov 3 18:52:48 2008 From: barr at math.mcgill.ca (Michael Barr) Date: Mon, 3 Nov 2008 12:52:48 -0500 (EST) Subject: [texhax] Odd behavior in a \mathop In-Reply-To: References: Message-ID: Well, you live and learn. I never knew that. I should have checked out \mathop in the TeXBook. Thanks, Michael On Mon, 3 Nov 2008, Aditya Mahajan wrote: > On Mon, 3 Nov 2008, Michael Barr wrote: > >> If you compile the file >> \documentclass{article} >> \newcommand\II{\mathop{I\mkern-1mu I}} >> \newcommand\I{\mathop{I}} >> \begin{document} >> >> $AB\II L$ >> >> $AB\I L$ >> >> \end{document} >> >> you will see (or I do anyway) that the I in the second, but not the first, >> formula is going distinctly below the line. What is going on here? > > If its argument is a single character, \mathop centers it to with respect to > the math-axis. > > You can define > > \newcommand\I{\mathop{\kern0pt I} > > to avoid this. > > Aditya > From r.a.bailey at qmul.ac.uk Tue Nov 4 12:25:01 2008 From: r.a.bailey at qmul.ac.uk (R. A. Bailey) Date: Tue, 4 Nov 2008 11:25:01 +0000 (GMT) Subject: [texhax] Odd behavior in a \mathop In-Reply-To: References: Message-ID: If you have a single-letter mathop it gets vertically centered unless you put it in a box. For example, I normally define the expectation operator by \newcommand{\expect}{\mathop{\mbox{$\mathbb E$}}\nolimits} Rosemary Bailey On Mon, 3 Nov 2008, Michael Barr wrote: > If you compile the file > \documentclass{article} > \newcommand\II{\mathop{I\mkern-1mu I}} > \newcommand\I{\mathop{I}} > \begin{document} > > $AB\II L$ > > $AB\I L$ > > \end{document} > > you will see (or I do anyway) that the I in the second, but not the first, > formula is going distinctly below the line. What is going on here? If > you take out the \mathop this does not happen. > > Michael Barr > > > _______________________________________________ > 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 uwe.lueck at web.de Tue Nov 4 18:26:39 2008 From: uwe.lueck at web.de (Uwe Lueck) Date: Tue, 04 Nov 2008 18:26:39 +0100 Subject: [texhax] =?iso-8859-15?q?where_=5Csection=7B=7D_=5Csubsection_=2E?= =?iso-8859-15?q?=2E=2E_names_are_stored_=3F_if_they_are_=3A=29?= Message-ID: <1015384905@web.de> "?ukasz" schrieb am 04.03.2008 17:22:44: > I want to use section name inside text. If I write > \section{First section} I guess that text between > bracked is stored somewhere ( toks,box etc). I want to > get it without redefining \section or other less > "natural" manipulations. Just short question before i > start to read \section definision ... where is it > ???:) Sorry, the name isn't stored anywhere by default (apart from job.aux or job.toc where it won't be easier to get from). A natural way getting it may be the nameref package (belonging to hyperref, I think). Uwe. From brobinso at tfn.net Tue Nov 4 21:19:29 2008 From: brobinso at tfn.net (brobinso at tfn.net) Date: Tue, 4 Nov 2008 15:19:29 -0500 (EST) Subject: [texhax] referencing Message-ID: Hello. A journal requires an unusual referencing scheme. They want citations numbered, inline, with square brackets, corresponding to citations in the reference section. An example: Einstein defended the theory of special relativity [1]. He also blah blah... ... ... References [1] Einstein 1945, Journal of molecular physics, pg 14-35. I'm trying to use some combination of footnotes and bibtex, but can't seem to get the two to work together. I'm using the most current version of latex (pdflatex, if it matters), running ubuntu stable. I'm sorry if this is covered in a faq, but it's a bit difficult to provide proper search terms, without also uncovering irrelevant information. Thanks for your help. Robert From senthil.debian at gmail.com Wed Nov 5 07:04:07 2008 From: senthil.debian at gmail.com (Senthil Kumar M) Date: Wed, 5 Nov 2008 11:34:07 +0530 Subject: [texhax] referencing In-Reply-To: References: Message-ID: <56b822010811042204jddef8d4h49a7b8e8187f9131@mail.gmail.com> On Wed, Nov 5, 2008 at 1:49 AM, brobinso at tfn.net wrote: > > Hello. A journal requires an unusual referencing scheme. They want > citations numbered, inline, with square brackets, corresponding to > citations in the reference section. An example: > > Einstein defended the theory of special relativity [1]. He also blah > blah... > ... > ... > > References > [1] Einstein 1945, Journal of molecular physics, pg 14-35. > > I'm trying to use some combination of footnotes and bibtex, but can't seem > to get the two to work together. Hi, Try natbib package along with the options that it provides: http://merkel.zoneo.net/Latex/natbib.php HTH, Senthil From john.simmie at nuigalway.ie Wed Nov 5 12:25:41 2008 From: john.simmie at nuigalway.ie (Simmie, John) Date: Wed, 5 Nov 2008 11:25:41 -0000 Subject: [texhax] referencing with [] texhax Digest, Vol 2008, Issue 315 In-Reply-To: References: Message-ID: <5987A522AEAB7548B380D086C85CD241CB51D9@EVS1.ac.nuigalway.ie> >Date: Tue, 4 Nov 2008 15:19:29 -0500 (EST) >From: "brobinso at tfn.net" >Subject: [texhax] referencing Hello. A journal requires an unusual referencing scheme. They want >citations numbered, inline, with square brackets, corresponding to >citations in the reference section. An example: >Einstein defended the theory of special relativity [1]. He also blah >blah... >... ... >References > [1] Einstein 1945, Journal of molecular physics, pg 14-35. This is not that unusual ... it is in fact widely used in science/engineering journals. The simplest approach is not to bother with bibtex but simply use relativity \cite{key}. ... \begin{thebibliography}[99] \bibitem{key} Einstein, A. 1945 ... .... From mohamed.houssni at e-press.co.ma Wed Nov 5 14:27:03 2008 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed, 05 Nov 2008 13:27:03 +0000 Subject: [texhax] pantone in pdftex Message-ID: <49119F27.10507@e-press.co.ma> Hi, If I want to specify a direct color in pdftex (pantone number + percentage of coverage): how do I do that? Cordialement, ------------------- Dr. Mohamed Houssni Responsable d'Edition e-Press, 34, Rue Mustapha El Manfalouti Quartier Gauthier Casablanca - Maroc Phone : 212 (0)22 26 23 21 Fax : 212 (0)22 26 80 84 From will.adams at frycomm.com Wed Nov 5 16:08:49 2008 From: will.adams at frycomm.com (William Adams) Date: Wed, 5 Nov 2008 10:08:49 -0500 Subject: [texhax] pantone in pdftex In-Reply-To: <49119F27.10507@e-press.co.ma> References: <49119F27.10507@e-press.co.ma> Message-ID: On Nov 5, 2008, at 8:27 AM, Mohamed HOUSSNI wrote: > If I want to specify a direct color in pdftex (pantone number + > percentage of coverage): how do I do that? \usepackage{spotcolor} and read the docs: http://www.ctan.org/tex-archive/macros/latex/contrib/spotcolor/ William -- William Adams senior graphic designer Fry Communications From r.turner at auckland.ac.nz Wed Nov 5 22:19:17 2008 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Thu, 6 Nov 2008 10:19:17 +1300 Subject: [texhax] *.otf font files. Message-ID: The place where I work is such that everybody else uses (yeeuuuchhhh) MS Word. Just now we were given a new collection of fonts (apparently proprietary to the University of Auckland; sigh; I despair ...) that are required/ recommended by the University style guide. The font files have been placed in ~/Library/Fonts and in /Library/ Fonts on my IMac; they have names like GroteskMacronOT-Reg.otf and the ``file'' command says they are ``OpenType font data''. Is it possible to use such fonts in LaTeX? If so, can someone please give me a (fairly explicit) recipe as to how to do so? Said recipe would (said he, hopefully) include answers to: * what font files do I need to create? (*.pk things? *.tfm things?) * how do I create them? * once they're created, where should I put them? * ***then*** what do I do? I.e. what incantations do I need to put into my *.tex file in order to invoke the use of these fonts? I don't understand, and never have understood, fonts and font files properly, so please make your explanations, if you are kind enough to provide them, as simple-minded as possible. Undying gratitude, 'n' stuff like that. cheers, Rolf Turner ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This e-mail has been scanned and cleared by MailMarshal www.marshalsoftware.com ###################################################################### From will.adams at frycomm.com Wed Nov 5 23:46:18 2008 From: will.adams at frycomm.com (William Adams) Date: Wed, 5 Nov 2008 17:46:18 -0500 Subject: [texhax] *.otf font files. In-Reply-To: References: Message-ID: <168B15EC-74EE-4A9E-9BD1-19E5E35DBB00@frycomm.com> On Nov 5, 2008, at 4:19 PM, Rolf Turner wrote: > Is it possible to use such fonts in LaTeX? If so, can someone please > give me > a (fairly explicit) recipe as to how to do so? I would suggest using xelatex (or LuaTeX). http://scripts.sil.org/xetex for the latter. Read the fontspec documentation and you should be good to go. William -- William Adams senior graphic designer Fry Communications From martin at oneiros.de Wed Nov 5 23:46:56 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Wed, 5 Nov 2008 23:46:56 +0100 Subject: [texhax] *.otf font files. In-Reply-To: References: Message-ID: <68c491a60811051446n40746bb9g1af27961c2ab0702@mail.gmail.com> 2008/11/5 Rolf Turner : > Is it possible to use such fonts in LaTeX? If so, can someone please Yes. Use XeLaTeX, and get a recent TeX installation (e.g. TeXlive 2008). Best Martin From mw253 at cornell.edu Thu Nov 6 02:47:15 2008 From: mw253 at cornell.edu (mw253 at cornell.edu) Date: Wed, 05 Nov 2008 20:47:15 -0500 Subject: [texhax] A headache with MikTex 2.7 Message-ID: <49124CA3.4050803@cornell.edu> Hi, I just installed MikTeX 2.7 and TeXnicCenter. When I tried to compile a very simple trial .tex file into DVI and PDF, an error occurs. It says "Windows API error 2: The system cannot find the file specified.". When I look at the log, basically Latex is not generating .aux file. Right now the path Latex=>DVI is C:\Program Files\MiKTeX 2.7\miktex\bin\latex.exe, I tried yap.exe, but it doesn't work. I hope that I can get some help from you. It seems to me I just missed a correct path. Thank you very much! Miao Wang From daleif at imf.au.dk Thu Nov 6 11:58:46 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 06 Nov 2008 11:58:46 +0100 Subject: [texhax] A headache with MikTex 2.7 In-Reply-To: <49124CA3.4050803@cornell.edu> References: <49124CA3.4050803@cornell.edu> Message-ID: <4912CDE6.6010902@imf.au.dk> mw253 at cornell.edu wrote: > Hi, > > I just installed MikTeX 2.7 and TeXnicCenter. When I tried to compile a > very simple trial .tex file into DVI and PDF, an error occurs. It says > "Windows API error 2: The system cannot find the file specified.". When > I look at the log, basically Latex is not generating .aux file. > > Right now the path Latex=>DVI is C:\Program Files\MiKTeX > 2.7\miktex\bin\latex.exe, I tried yap.exe, but it doesn't work. > > I hope that I can get some help from you. It seems to me I just missed > a correct path. Thank you very much! > > Miao Wang > _______________________________________________ > 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 are you sure that your document actually compiles? Does something as simple as \documentclass{article} \begin{document} hello world \end{document} work? Most editors run in a mode that ignores errors, but if there is a fatal error the dvi is not created, and thus Yap cannot find it. -- /daleif From daleif at imf.au.dk Thu Nov 6 22:20:10 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 06 Nov 2008 22:20:10 +0100 Subject: [texhax] A headache with MikTex 2.7 In-Reply-To: <49131F16.7010500@cornell.edu> References: <49124CA3.4050803@cornell.edu> <4912CDE6.6010902@imf.au.dk> <49131F16.7010500@cornell.edu> Message-ID: <49135F8A.4020801@imf.au.dk> mw253 at cornell.edu wrote: > Hi Lars, > Thanks a lot for the quick reply. I did have a fatal error: > TeXnicCenter couldn't produce .aux file (after running compile, there is > no .aux file generated). Here is the error message: > > Fatal format file error; I'm stymied. > > I couldn't open the file "Couldn't open file name D:\...\Latex1.aux" > Couldn't find the index input file D:\...\LateX1 or D:\...\LateX1.idx > > Thank you very much! > > Miao Hmm, I'm not a MikTeX og TeXnicCenter user, but try the following rebuild the formats, aka. start -> programs -> MikTeX 2.7 -> settings there is a button somewhere to rebuild the formats -- /daleif From hmetcalf at notes.cc.sunysb.edu Thu Nov 6 21:38:50 2008 From: hmetcalf at notes.cc.sunysb.edu (hmetcalf at notes.cc.sunysb.edu) Date: Thu, 6 Nov 2008 15:38:50 -0500 Subject: [texhax] Figure caption Message-ID: In two-column format, LaTeX insists on putting the caption in the second column when the figure falls in the first one. Even if I leave plenty of space, it's just filled up with other material from the document. How can I make all of this stick together (besides dropping the [h]) ? \begin{figure}[h] \includegraphics[width=2in,height=1.5in]{concept_E.eps} \caption{Basic concept of atomic nanofabrication.\label{fg:concept}} \end{figure} ==================================================== Harold Metcalf, Distinguished Teaching Professor Physics - SUNY, Stony Brook, NY 11794-3800 email: hmetcalf at notes.cc.sunysb.edu website: ws.cc.sunysb.edu/metcalf (very much out of date) voice (631)632-8185 or message at 632-8100, FAX - (631)632-8176 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081106/1e600e7a/attachment.html From srangwal at usc.edu Thu Nov 6 22:30:34 2008 From: srangwal at usc.edu (Sumit Rangwala) Date: Thu, 6 Nov 2008 13:30:34 -0800 Subject: [texhax] Breaking link text Message-ID: Hi, I am trying to create a link to my publication as follows \href{http://link.to.paper}{Paper Title} I am generating a pdf using latex->dvips->ps2pdf. Everything is working fine, except that my paper title runs over the right margin since the link text is not broken across lines ( http://www.tex.ac.uk/cgi-bin/texfaq2html?label=breaklinks ). I tried the following without success (a) using breaklines=true for hyperref. This breaks the text but the links are no more active. (b) using breakurl package. But, since I am using \href (and not \url) I don't know how to instruct breakurl to break the text of \href command. Is there any way I am break the text while still having the link active. Thanks, Sumit -- Sumit Rangwala PhD Candidate Embedded Networks Laboratory University of Southern California From srangwal at usc.edu Fri Nov 7 02:43:10 2008 From: srangwal at usc.edu (Sumit Rangwala) Date: Thu, 6 Nov 2008 17:43:10 -0800 Subject: [texhax] enumitem issue Message-ID: Hi, I have an issue with using enumitem package which is best explained with this example. \documentclass[oneside, 10pt, letterpaper]{article} \usepackage{enumitem} \begin{document} \begin{description}[style=nextline] \item[ITEM 1] \begin{description} \item [Middle Item] part of a list \end{description} \item[ITEM 2] With only plain text \end{description} \end{document} For some unfathomable reason ITEM 2 is displayed but ITEM 1 isn't. I have found that if a \item[] is immediately followed by a list the label is missing. Thanks -- Sumit Rangwala PhD Candidate Embedded Networks Laboratory University of Southern California From philip.ratcliffe at uninsubria.it Fri Nov 7 10:36:23 2008 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Fri, 7 Nov 2008 10:36:23 +0100 Subject: [texhax] Figure caption In-Reply-To: Message-ID: <849D91C1CF0542F1A3ACBB834B139EC8@PGR1> > In two-column format, LaTeX insists on putting the caption in > the second column when the figure falls in the first one. > Even if I leave plenty of space, it's just filled up with > other material from the document. How can I make all of this > stick together (besides dropping the [h]) ? > > \begin{figure}[h] > \includegraphics[width=2in,height=1.5in]{concept_E.eps} > \caption{Basic concept of atomic nanofabrication.\label{fg:concept}} > \end{figure} This is certainly not standard behaviour. Alas, as is often the case, you provide no minimal example nor do you mention what class or packages you are using; my crystal ball's at the polishers right so I'm afraid I can't help. Cheers, Phil From philip.ratcliffe at uninsubria.it Fri Nov 7 10:24:28 2008 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Fri, 7 Nov 2008 10:24:28 +0100 Subject: [texhax] enumitem issue In-Reply-To: Message-ID: <025289BDFAEE4730860AC4D6390177C1@PGR1> > I have an issue with using enumitem package which is best > explained with this example. > > \documentclass[oneside, 10pt, letterpaper]{article} > \usepackage{enumitem} > > \begin{document} > > \begin{description}[style=nextline] > \item[ITEM 1] > \begin{description} > \item [Middle Item] part of a list > \end{description} > \item[ITEM 2] With only plain text > > \end{description} > \end{document} > > For some unfathomable reason ITEM 2 is displayed but ITEM 1 > isn't. I have found that if a \item[] is immediately followed > by a list the label is missing. Looks like it might of the creepy-crawly variety: the best thing is to try contacting the package author. Cheers, Phil From news2 at nililand.de Fri Nov 7 10:10:27 2008 From: news2 at nililand.de (Ulrike Fischer) Date: Fri, 7 Nov 2008 10:10:27 +0100 Subject: [texhax] Figure caption References: Message-ID: Am Thu, 6 Nov 2008 15:38:50 -0500 schrieb hmetcalf at notes.cc.sunysb.edu: > In two-column format, LaTeX insists on putting the caption in the second > column when the figure falls in the first one. I can't reproduce this. Make an example. \documentclass[twocolumn]{article} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{figure}[h] \rule{2in}{1.5in} \caption{Basic concept of atomic nanofabrication.\label{fg:concept}} \end{figure} \lipsum[1] \end{document} -- Ulrike Fischer From nader at elam.com Fri Nov 7 11:16:36 2008 From: nader at elam.com (Nader Fard) Date: Fri, 7 Nov 2008 10:16:36 -0000 Subject: [texhax] No more delays for Tex in Vista Message-ID: <001201c940c1$eaf7bd60$3c0fa8c0@elamnet.elam.com> Dear Friends, One of my friends who does some programming for our websites found the solution for the delay in vista. I tried it and it works very well. No delays any more ;p) could you please post these lines on to your websites and mailing lists for those who might bump in to this problem? Here are the short lines: hi there, found a solution! :) man, that was a mind blowing thing the solution is pretty simple: 1. You need to move one of the fonts from C:\Windows\Fonts to Desktop 2. Delete it from C:\Windows\Fonts 3. Drag it back from Desktop into Fonts 4. Run fc-cache, the "Failed to write cache" message should disappear and xetex should run properly Basically, the modified timestamp on the Windows Fonts needs to be brought up-to-date for fc-cache to work in Linux it is easier to modify it, because you have a "touch" command but in Windows, you need to use the solution above btw, don't move an essential font (e.g. Arial), move a more obscure one, like "Vladimir Script" hope this works for you, Thanks Nader ____________________ Nader Fard ELAM MINISTRIES 'Grenville' Grenville Road Shackleford Godalming Surrey GU8 6AX UK Tel: +44 (0)1483 520 958 Fax:+44 (0)1483 427707 email: nader at elam.com Have you seen Kalameh.com? www.kalameh.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081107/ba31e63f/attachment-0001.html From daleif at imf.au.dk Fri Nov 7 11:46:32 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 07 Nov 2008 11:46:32 +0100 Subject: [texhax] enumitem issue In-Reply-To: References: Message-ID: <49141C88.1080204@imf.au.dk> Sumit Rangwala wrote: > Hi, > > I have an issue with using enumitem package which is best explained > with this example. > > \documentclass[oneside, 10pt, letterpaper]{article} > \usepackage{enumitem} > > \begin{document} > > \begin{description}[style=nextline] > \item[ITEM 1] > \begin{description} > \item [Middle Item] part of a list > \end{description} > \item[ITEM 2] With only plain text > > \end{description} > \end{document} > > For some unfathomable reason ITEM 2 is displayed but ITEM 1 isn't. I > have found that if a \item[] is immediately followed by a list the > label is missing. > > > Thanks this is a know issue in enumitem which is even mentioned in the enumitem manual (if I am not mistaken) There is no general solution -- /daleif From ross at rosslaird.info Sat Nov 8 01:59:48 2008 From: ross at rosslaird.info (Ross A. Laird) Date: Fri, 07 Nov 2008 16:59:48 -0800 Subject: [texhax] *.otf font files. References: <68c491a60811051446n40746bb9g1af27961c2ab0702@mail.gmail.com> Message-ID: <87bpwr6ni3.fsf@rosslaird.info> "Martin Schr?der" writes: > 2008/11/5 Rolf Turner : >> Is it possible to use such fonts in LaTeX? If so, can someone please > > Yes. Use XeLaTeX, and get a recent TeX installation (e.g. TeXlive 2008). > > Best > Martin You can also use John Owen's otfinst script to get opentype in LaTeX: http://www.ece.ucdavis.edu/~jowens/code/otfinst/ It's not that complicated (and works nicely if you can't switch to XeTeX). Ross -- Ross A. Laird, PhD www.rosslaird.info From nino at vessella.it Sat Nov 8 13:43:37 2008 From: nino at vessella.it (Nino) Date: Sat, 8 Nov 2008 13:43:37 +0100 Subject: [texhax] PSBao Message-ID: <002801c9419f$9ef4ab10$5adc1557@Nino> Hi, I've written a package for drawing Bao (www.swahili.it/bao) diagrams taking PSGo as an example. Do you think it would be interesting to add it to the packages of PSTricks together with PSGo? Thank you very much, Nino http://www.vessella.it (italiano, esperanto, kiswahili, english) http://www.changamano.org (Iniziative di solidariet? per la Tanzania) http://www.lernado.it (Articoli di quotidiani della Tanzania, Corso di lingua swahili, Corso di lingua esperanto, Vocabolario esperanto-italiano, Jifunze lugha ya Kiesperanto, Kamusi ya Kiesperanto) http://www.swahili.it/bao (Versione moderna e tanzana di un gioco diffuso in tutto il mondo antico) Questo messaggio e i suoi allegati contengono informazioni riservate, a uso esclusivo del destinatario. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario ? proibita, sia ai sensi dell?art. 616 c.p., che ai sensi del D.Lgs. n. 196/2003. In caso di errata ricezione, vi preghiamo di distruggere questo messaggio e di informarci a mezzo fax o posta elettronica e di confermarcene la distruzione. This e-mail and its attachements contain confidential informations intended for the addressee only. Disclosing, distributing and/or copying this document by any recipient other than the addressee is prohibited both pursuant to art. 616 penal code and D.Lgs. n. 196/2003. Should you receive this e-mail by mistake, please be so kind as to advise us by e-mail, and confirm that you have destroyed it. No virus found in this outgoing message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.9.0 - Release Date: 05/11/2008 0.00 From Herbert.Voss at FU-Berlin.DE Sun Nov 9 22:14:33 2008 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Sun, 09 Nov 2008 22:14:33 +0100 Subject: [texhax] PSBao In-Reply-To: <002801c9419f$9ef4ab10$5adc1557@Nino> References: <002801c9419f$9ef4ab10$5adc1557@Nino> Message-ID: <491752B9.3030708@FU-Berlin.DE> Nino schrieb: > I've written a package for drawing Bao (www.swahili.it/bao) diagrams taking PSGo as an example. > > Do you think it would be interesting to add it to the packages of PSTricks together with PSGo? sure, prepare a package and upload it to CTAN. http://www.ctan.org/upload.html Herbert From cmartin at physics.ucsb.edu Sun Nov 9 20:51:47 2008 From: cmartin at physics.ucsb.edu (Crystal Martin) Date: Sun, 09 Nov 2008 11:51:47 -0800 Subject: [texhax] MacTEX + command line Message-ID: Hi, I'm a long time LaTeX "user", but I do not have much experience with software installation. I'm running Leopard on a MacPro with tc shell. I installed the MacTEX package from CTAN, and TeXShop is working. When I try to run LaTeX from the command line, I get "latex: Command not found." I'm guessing that my PATH needs to be modified. I made a .cshrc file, but I'm not sure what to put in it. Any advice would be much appreciated. Crystal From axel.retif at mac.com Mon Nov 10 08:57:36 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Mon, 10 Nov 2008 01:57:36 -0600 Subject: [texhax] MacTEX + command line In-Reply-To: References: Message-ID: <9C5B0B41-F624-4995-9F6F-E1E27251295F@mac.com> On 9 Nov, 2008, at 13:51, Crystal Martin wrote: > Hi, > > I'm a long time LaTeX "user", but I do not have much experience with > software installation. > > I'm running Leopard on a MacPro with tc shell. I installed the MacTEX > package from CTAN, and TeXShop is working. > > When I try to run LaTeX from the command line, I get "latex: Command > not > found." I'm guessing that my PATH needs to be modified. I made > a .cshrc > file, but I'm not sure what to put in it. Indeed, MacTeX sets the path for bash, the current default shell in Mac OS X. You can try setting the path for /usr/texbin But, better yet, ask in the TeX on Mac OS mailing list: http://email.esm.psu.edu/mailman/listinfo/macosx-tex (server not responding right now) Richard Koch, MacTeX maintainer, is a regular in that mailing list. Best, Axel From martin at oneiros.de Mon Nov 10 17:25:09 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Mon, 10 Nov 2008 17:25:09 +0100 Subject: [texhax] ConteXt and Eurotex conference 2009 In-Reply-To: <49185DE8.3080909@elvenkind.com> References: <49185DE8.3080909@elvenkind.com> Message-ID: <68c491a60811100825m387dca84ycad7b093dff3a965@mail.gmail.com> ---------- Forwarded message ---------- From: Taco Hoekwater Date: 2008/11/10 Subject: [NTG-leden] ConteXt and Eurotex conference 2009 To: ntg-leden at ntg.nl L.S., The Dutch TeX Language User Group NTG and the ConTeXt task force are pleased to invite you to the combined EuroTeX 2009 conference and third international ConTeXt meeting: August 24--28, 2009 Netherlands Defence College (NDC), The Hague The Netherlands See the website for more information and future updates http://www.ntg.nl/EuroTeX2009 Call for Papers =============== As usual, proposals for presentations and workshops are welcomed on just about any topic of interest to \TeX\ users, but the conference focus will be on Educational uses of TeX such as manuals, courseware and college presentations, so we especially welcome proposals on subjects in those fields. http://www.ntg.nl/EuroTeX2009/programme.html Registration ============ The conference is made possible by the Netherlands Defence Academy (NLDA) that graciously invited us to their facilities, including the on-site hotel, thereby allowing a very competitive conference fee. http://www.ntg.nl/EuroTeX2009/register.html Participants who complete registration before February 1, 2009 will benefit from a special early bird discount. Hope to see you there! The organisation committee. From r.turner at auckland.ac.nz Mon Nov 10 20:10:47 2008 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Tue, 11 Nov 2008 08:10:47 +1300 Subject: [texhax] MacTEX + command line In-Reply-To: References: Message-ID: <474B0B42-2BE1-411F-89CD-06CF9327D146@auckland.ac.nz> On 10/11/2008, at 8:51 AM, Crystal Martin wrote: > Hi, > > I'm a long time LaTeX "user", but I do not have much experience with > software installation. > > I'm running Leopard on a MacPro with tc shell. I installed the MacTEX > package from CTAN, and TeXShop is working. > > When I try to run LaTeX from the command line, I get "latex: > Command not > found." I'm guessing that my PATH needs to be modified. I made > a .cshrc > file, but I'm not sure what to put in it. > > Any advice would be much appreciated. Well, this will be a case of the blind leading the blind, but .... I am perforce using a Mac, and don't really understand OS X --- I treat the system as being Unix as much as I can. I do have latex working, but. When I type ``which latex'' I get /usr/texbin/latex, so /usr/texbin has to be in my path; and it is. When I type echo $path I get /sw/bin /sw/sbin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/ texbin /Users/rturner/.bin . /usr/X11R6/bin I didn't do anything to get /usr/texbin into my path (i.e. there's no reference to it in my .cshrc) --- it just seems to be there. If it isn't there for you, try adding it to your path in your .cshrc. HTH. cheers, Rolf Turner ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This e-mail has been scanned and cleared by MailMarshal www.marshalsoftware.com ###################################################################### From axel.retif at mac.com Mon Nov 10 23:08:27 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Mon, 10 Nov 2008 16:08:27 -0600 Subject: [texhax] MacTEX + command line In-Reply-To: References: Message-ID: <191E8C3C-F4B6-432F-9F7D-49D686A60D6A@mac.com> On 9 Nov, 2008, at 13:51, Crystal Martin wrote: > [...] > I'm running Leopard on a MacPro with tc shell. I installed the MacTEX > package from CTAN, and TeXShop is working. > > When I try to run LaTeX from the command line, I get "latex: Command > not > found." I'm guessing that my PATH needs to be modified. I made > a .cshrc > file, but I'm not sure what to put in it. I read in http://www.tcsh.org/tcsh.html/FILES.html > /etc/csh.login > Read by login shells after /etc/csh.cshrc. and my /private/etc/csh.login, as set by MacTeX, without any intervention on my part, has these lines: > ## TeX added /usr/texbin start at Mon Aug 4 04:24:03 CDT 2008 > ## Do not remove the previous line > if ("${uid}" != "0") then > set path = ( ${path} "/usr/texbin" ) > endif > ## Do not remove the next line > ## TeX added /usr/texbin end at Mon Aug 4 04:24:03 CDT 2008 Did you do anything to prevent MacTeX from setting the path? Best, Axel From Al_Middleditch at mac.com Mon Nov 10 15:23:30 2008 From: Al_Middleditch at mac.com (Al Middleditch) Date: Mon, 10 Nov 2008 14:23:30 +0000 Subject: [texhax] Tex and MacOS X 10.2.8 Message-ID: I would like to install Latex and Texshop on a Power mac G3 under MacOS X 10.2.8. After much web browsing, it seems that Tex Live via MacTex is what I need, but the web pages specifythe need for MacOS X 10.3 and later. Much web searching has failed to find an answer. I would appreciate a few pointers. Thanks in advance Alan M -- --- Professor Alan E. Middleditch UK Telephone +44 (0)1895-464-730 Web http://homepage.mac.com/al_middleditch/ France Telephone +33 (0)5 53 95 39 26 Web http://www.cabille.pwp.blueyonder.co.uk From will.adams at frycomm.com Tue Nov 11 17:03:53 2008 From: will.adams at frycomm.com (William Adams) Date: Tue, 11 Nov 2008 11:03:53 -0500 Subject: [texhax] Tex and MacOS X 10.2.8 In-Reply-To: References: Message-ID: <09604B9D-D404-44F0-B5E5-9D447804E8D5@frycomm.com> On Nov 10, 2008, at 9:23 AM, Al Middleditch wrote: > I would like to install Latex and Texshop on a Power mac G3 under > MacOS X 10.2.8. After much web browsing, it seems that Tex Live via > MacTex is what I need, but the web pages specifythe need for MacOS X > 10.3 and later. Much web searching has failed to find an answer. I > would appreciate a few pointers. Thanks in advance You'll want to use an older setup which has been deprecated. Go to: http://ii2.sourceforge.net/ and review. Note especially: > i-Installer or i-Package Foo does not work on 10.2 and older! > Correct. Mac OS X 10.2 and older versions are not supported. Mac OS > X 10.1 and older are not supported at all and no i-Installer version > will run on them. For Mac OS X 10.2 you can download a volume of > 357MB which contains a snapshot of i-Installer.app and all my i- > Packages from Jan 24, 2006. All of these should install and work on > Mac OS X 10.2. However, there have been so few users actually > running 10.2 lately that this is not guaranteed. Download: ftp://ftp.nluug.nl/pub/comp/macosx/II2-Jaguar-Complete.dmg and install that. If at all possible, you really should upgrade (says the guy whose wife's PowerBook is still on 10.2.8). William -- William Adams senior graphic designer Fry Communications From chandru.mcc at gmail.com Tue Nov 11 20:51:08 2008 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Wed, 12 Nov 2008 01:21:08 +0530 Subject: [texhax] HELP Message-ID: HI- I am not able to exactly understand which one is the correct XeTEX software that can be downloaded for windows. Please gimme the exact link so that it may be tangible to me from visiting it itself. Moreover it wud be really nice in case u briefly explain as to how to use the Window fonts in Xetex. thanks. It will be great in case u can reply at the earliest Chandrasekhar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081112/40bf4928/attachment.html From perbergstrom at hotmail.com Wed Nov 12 21:49:02 2008 From: perbergstrom at hotmail.com (=?iso-8859-1?Q?Per_Bergstr=F6m?=) Date: Wed, 12 Nov 2008 21:49:02 +0100 Subject: [texhax] eps, pdf, graphix Message-ID: Hi, Thanks for reading my mail. I am sitting and writing a thesis in LaTeX. I got stuck when I try to use \includegraphics for my .eps figures. When I compile the document to pdf the figures are not shown. I have tryed both pdflatex and latex, dvipdfmx. It is just a white box with a black border containing the file name shown. I am using \usepackage{graphicx} in the preamble. The thing is that I am using the \documentclass ua-thesis.cls and that is the problem. When I change to \documentclass book the figures are shown correctly (but the thesis looks ugly). It shold be some additional code in the .cls file but I dont understand how I should write that code. I am very thankful for all help I can get. best regards Per Bergstr?m _________________________________________________________________ Senaste sportnyheterna & rykande f?rska resultat! http://sport.msn.se/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081112/5e781833/attachment.html From axel.retif at mac.com Thu Nov 13 07:04:09 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 13 Nov 2008 00:04:09 -0600 Subject: [texhax] eps, pdf, graphix In-Reply-To: References: Message-ID: <35D49B25-5446-408C-B15D-B45A25B832ED@mac.com> On 12 Nov, 2008, at 14:49, Per Bergstr?m wrote: > Hi, > > Thanks for reading my mail. I am sitting and writing a thesis in > LaTeX. I got stuck when I try to use \includegraphics for my .eps > figures. When I compile the document to pdf the figures are not > shown. I have tryed both pdflatex and latex, dvipdfmx. It is just a > white box with a black border containing the file name shown. I am > using \usepackage{graphicx} in the preamble. The thing is that I am > using the \documentclass ua-thesis.cls and that is the problem. When > I change to \documentclass book the figures are shown correctly (but > the thesis looks ugly). Try \documentclass[final]{ua-thesis} Best, Axel From axel.retif at mac.com Thu Nov 13 08:04:25 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 13 Nov 2008 01:04:25 -0600 Subject: [texhax] eps, pdf, graphix In-Reply-To: <35D49B25-5446-408C-B15D-B45A25B832ED@mac.com> References: <35D49B25-5446-408C-B15D-B45A25B832ED@mac.com> Message-ID: <3CF7703F-BF26-4479-A4A0-DFAD07923E18@mac.com> On 13 Nov, 2008, at 00:04, Axel E. Retif wrote: > On 12 Nov, 2008, at 14:49, Per Bergstr?m wrote: > >> [...] I got stuck when I try to use \includegraphics for my .eps >> figures. When I compile the document to pdf the figures are not >> shown. I have tryed both pdflatex and latex, dvipdfmx. It is just a >> white box with a black border containing the file name shown. I am >> using \usepackage{graphicx} in the preamble. The thing is that I am >> using the \documentclass ua-thesis.cls and that is the problem. When >> I change to \documentclass book the figures are shown correctly (but >> the thesis looks ugly). > > Try > > \documentclass[final]{ua-thesis} I thought ua-thesis executed the draft option by default, but it seems I'm wrong; just \documentclass{ua-thesis} \usepackage[pdftex]{graphicx} is enough to see the included graphics ---only be sure not to use the draft option; that is, \documentclass[draft]{ua-thesis} ^ | be sure not to use it like this. Best, Axel From uwe.lueck at web.de Thu Nov 13 18:34:51 2008 From: uwe.lueck at web.de (Uwe Lueck) Date: Thu, 13 Nov 2008 18:34:51 +0100 Subject: [texhax] eps, pdf, graphix Message-ID: <1021656342@web.de> "Axel E. Retif" schrieb am 13.11.2008 08:09:40: > \documentclass{ua-thesis} > \usepackage[pdftex]{graphicx} > > is enough to see the included graphics ---only be sure not to use the > draft option; that is, > > \documentclass[draft]{ua-thesis} > ^ > | > be sure not to use it like this. Can't the confinement to ua-thesis be dropped, and \usepackage[pdftex]{graphicx} suffices to see the graphics? At least don't call any draft option? -- Uwe. From tonightsthenight at gmail.com Thu Nov 13 22:44:42 2008 From: tonightsthenight at gmail.com (Sam Albers) Date: Thu, 13 Nov 2008 13:44:42 -0800 Subject: [texhax] Capital letters Message-ID: Hello, I am exporting Web of Science references into a .bib files which is admittedly a fantastic feature. My only issue is that frequently W.O.S. exports the citation in entirely capital letters. This is obviously not ideal. Does anyone know if there is any way to fix this? Or am I stuck manually fixing each citation before using it? I use Texmaker with Ubuntu 8.10 as an OS. Thanks in advance. Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081113/73e2cfd9/attachment.html From axel.retif at mac.com Thu Nov 13 23:46:41 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 13 Nov 2008 16:46:41 -0600 Subject: [texhax] eps, pdf, graphix In-Reply-To: <1021656342@web.de> References: <1021656342@web.de> Message-ID: On Nov 13, 2008, at 11:34, Uwe Lueck wrote: > "Axel E. Retif" schrieb am 13.11.2008 08:09:40: >> \documentclass{ua-thesis} >> \usepackage[pdftex]{graphicx} >> >> is enough to see the included graphics ---only be sure not to use the >> draft option; that is, >> >> \documentclass[draft]{ua-thesis} >> ^ >> | >> be sure not to use it like this. > > Can't the confinement to ua-thesis be dropped, and > \usepackage[pdftex]{graphicx} > suffices to see the graphics? At least don't call any draft option? Right. First, I thought that ua-thesis was calling the draft option by default, so an explicit final option was necessary; but it turns out I was wrong ---ua-thesis doesn't call draft option *and* the final options adds things you really don't want, unless you're actually presenting your work to the University of Arizona. The thing is ua-tesis is old ---1997, a time of slower processors, and the examples you find tell you to use the draft option, which back then I think saved a lot of processing time. So maybe Per was typesetting with the draft option on, and that's why his graphics didn't show up. Best, Axel From vivrii at gmail.com Fri Nov 14 14:47:29 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Fri, 14 Nov 2008 08:47:29 -0500 Subject: [texhax] eso-pic vs \pagecolor Message-ID: <19af81400811140547w25df5ee5j7fd554bbc868fa4f@mail.gmail.com> In the example below "Test" does not show unless I remove \pagecolor{} and page is not completely covered by green unless I remove \AssToShipoutPicture*{... } Does anyone know how to overcome this? Thank you Victor \documentclass[12pt]{article} \usepackage{eso-pic} \usepackage{graphicx,xcolor} \begin{document} \pagecolor{green} \AddToShipoutPicture*{% \AtTextCenter{% \makebox(0,0)[c]{\resizebox{\textwidth}{!}{% \rotatebox{55}{\textsf{\textbf{Test}}}}} } } Testing \end{document} From phil at math.wichita.edu Fri Nov 14 19:53:25 2008 From: phil at math.wichita.edu (Phillip E. Parker) Date: Fri, 14 Nov 2008 12:53:25 -0600 Subject: [texhax] Mathmode 2.34 20081030 Message-ID: <20081114185334.E7C401D62D2@riemann.math.wichita.edu> Is the lack of a table of contents a "new feature" or an error? -- Phil Parker -------------------------------------------- URL http://www.math.wichita.edu/~pparker/ Random quote: Not only is there no God, but try getting a plumber on the weekend. ---Woody Allen -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From asnd at triumf.ca Fri Nov 14 22:19:55 2008 From: asnd at triumf.ca (Donald Arseneau) Date: 14 Nov 2008 13:19:55 -0800 Subject: [texhax] eps, pdf, graphix In-Reply-To: References: <1021656342@web.de> Message-ID: "Axel E. Retif" writes: > The thing is ua-tesis is old ---1997, a time of slower processors, and the > examples you find tell you to use the draft option, which back then I think > saved a lot of processing time. On the contrary, the [draft] option chewed up *more* processor time due to its high tolerance value, so checking more breakpoints in paragraphs. The [final] option produces overfull boxes in paragraphs, which should be absolutely forbidden in a final version. -- Donald Arseneau asnd at triumf.ca From emanuele.ro at googlemail.com Fri Nov 14 23:38:27 2008 From: emanuele.ro at googlemail.com (Emanuele Rodo) Date: Fri, 14 Nov 2008 23:38:27 +0100 Subject: [texhax] Strikethrough Message-ID: 2006-12-06 klockan 23:17 skrev Ned & Lynne Floyd: > Is there a LaTeX or TeX command for "strikethrough" (analogous to MS > WORD's "strikethrough") that puts a line through text? Thank you. Use the ulem package and the \sout command. See http://www.devdaily.com/blog/Content/2/18/316/ for more information. If strikethrough is used the way you said all {\em ...} commands must be replaced by {\it ...}. Otherwise, what is within {\em ...} will be underlined. Kind regards. ER. From asnd at triumf.ca Sun Nov 16 05:20:37 2008 From: asnd at triumf.ca (Donald Arseneau) Date: 15 Nov 2008 20:20:37 -0800 Subject: [texhax] eso-pic vs \pagecolor In-Reply-To: <19af81400811140547w25df5ee5j7fd554bbc868fa4f@mail.gmail.com> References: <19af81400811140547w25df5ee5j7fd554bbc868fa4f@mail.gmail.com> Message-ID: "Victor Ivrii" writes: > \AssToShipoutPicture*{... That is taking Knuth's digestive system metaphors too far! -- Donald Arseneau asnd at triumf.ca From asnd at triumf.ca Sun Nov 16 05:21:37 2008 From: asnd at triumf.ca (Donald Arseneau) Date: 15 Nov 2008 20:21:37 -0800 Subject: [texhax] Strikethrough In-Reply-To: References: Message-ID: Emanuele Rodo writes: > If strikethrough is used the way you said all {\em ...} commands must be > replaced by {\it ...}. Otherwise, what is within {\em ...} will be > underlined. \usepackage[normalem]{ulem} -- Donald Arseneau asnd at triumf.ca From reinhard.kotucha at web.de Sun Nov 16 07:24:21 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 16 Nov 2008 07:24:21 +0100 Subject: [texhax] eso-pic vs \pagecolor In-Reply-To: References: <19af81400811140547w25df5ee5j7fd554bbc868fa4f@mail.gmail.com> Message-ID: <18719.48277.881620.403664@zaphod.ms25.net> Donald Arseneau writes: > "Victor Ivrii" writes: > > > \AssToShipoutPicture*{... > > That is taking Knuth's digestive system metaphors too far! Regarding Knuth's metaphors, I'm quite familar with TeX's gullet and stomach as described in The TeXbook. Nevertheless, I'm still wondering where the dvi files come from. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From P.Taylor at Rhul.Ac.Uk Sun Nov 16 12:25:42 2008 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 16 Nov 2008 11:25:42 +0000 Subject: [texhax] eso-pic vs \pagecolor In-Reply-To: <18719.48277.881620.403664@zaphod.ms25.net> References: <19af81400811140547w25df5ee5j7fd554bbc868fa4f@mail.gmail.com> <18719.48277.881620.403664@zaphod.ms25.net> Message-ID: <49200336.9090408@Rhul.Ac.Uk> Donald Arseneau wrote: > "Victor Ivrii" writes: >> \AssToShipoutPicture*{... > That is taking Knuth's digestive system metaphors too far. Only for writers/readers of ; in British English we differentiate between the fundament ("arse") and the donkey ("ass") :-) ** Phil. -------- Reinhard Kotucha wrote: > Regarding Knuth's metaphors, I'm quite familar with TeX's gullet and > stomach as described in The TeXbook. Nevertheless, I'm still > wondering where the dvi files come from. > > Regards, > Reinhard > From loeghmon at gmail.com Tue Nov 18 16:29:48 2008 From: loeghmon at gmail.com (Loeghmon T. Nejad) Date: Tue, 18 Nov 2008 10:29:48 -0500 Subject: [texhax] Tex and Xetex In-Reply-To: <16577988.2525941226998002193.JavaMail.nabble@isper.nabble.com> References: <16577988.2525941226998002193.JavaMail.nabble@isper.nabble.com> Message-ID: <666ccf3a0811180729h2d623252j8e7ccba2f7fbbec@mail.gmail.com> Dear Mr. Mousavi, Salam. I feel that folks at MikTex.org, TexHax, Xetex, and TUG are better prepared to address your question. There certainly are a huge library of codes and samples that they will refer you to which will make developing the style a whole lot easier. It is my experience that these lists are very active and you will hear from them promptly. On the other hand it may not be as easy to get useful information from Parsi-Tex developers. I have listed some useful mailing list addresses at the bottom of this email for your convenience. I am sorry that I was not of much help. Good luck. "miktex" , , "XeTeX" On Tue, Nov 18, 2008 at 3:46 AM, wrote: > ba salam. > man mikhastam bedoonam ke agar bekhahim ke yek engine dige mesle xetex > makhsoose farsi benevisim bayad az kodoom zaban-e barname-nevisi estefade > konim. > alan tex-e-parsi neveshte shode ama ba unicode sazgari nadare, be nazare > shoma behtar nist ke in narmafzar tose'e peida kone. > tex-e-parsi ba chi neveshte shode? > ba tashakor > -- Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081118/0f5e8f32/attachment.html From melj at dimax.rutgers.edu Tue Nov 18 17:55:48 2008 From: melj at dimax.rutgers.edu (Mel Janowitz) Date: Tue, 18 Nov 2008 11:55:48 -0500 (EST) Subject: [texhax] colorbox question Message-ID: Hello: I am using colorbox in conjunction with a fancyvrb environment. I am trying to control the width of the box. The default is the length of the longest line placed in the box, but I want it to be uniform without putting in dummy long lines. Here is a sketch of my code: \begin{SaveVerbatim}{myv} text statements \end{SaveVerbatim} \colorbox{ltgrey} {\BUseVerbatim {myv} } Thanks, Mel Janowitz ************************************************************************* Melvin F Janowitz Fax: 732-445-5932 428 CoRE Building Phone: 732-445-0074 DIMACS email: melj at dimax.rutgers.edu Rutgers, The State University 96 Frelinghuysen Road Piscataway, NJ 08854-8018 research papers http://dimax.rutgers.edu/~melj ************************************************************************* From srangwal at usc.edu Wed Nov 19 04:35:41 2008 From: srangwal at usc.edu (Sumit Rangwala) Date: Tue, 18 Nov 2008 19:35:41 -0800 Subject: [texhax] -quiet for latex? Message-ID: Hi, Is it possible to instruct latex to print only the messages from \typeout or \listfiles (or in short only from latex commands) and not print any other compiler messages? I was unable to find any such option. Sumit -- Sumit Rangwala PhD Candidate Embedded Networks Laboratory University of Southern California From aherrerag at uci.cu Wed Nov 19 15:38:45 2008 From: aherrerag at uci.cu (Anielkis Herrera Gonzalez) Date: Wed, 19 Nov 2008 09:38:45 -0500 Subject: [texhax] using \newenvironment Message-ID: <1227105525.10905.11.camel@localhost> Greetings, I have a problem using \newenvironment for example with tabbulary o tabbularx (packages used with \usepackage{}) I have this: \newenvironment{command} {\begin{tabulary}{420px}{|>{\columncolor[rgb]{0.8,0.9,0.8}}L| >{\columncolor[rgb]{0.8,0.9,0.8}}L|} \hline} { \hline \end{tabulary}} and when use it: \begin{command} a&b\tabularnewline \end{command} got this error: ! File ended while scanning use of \TY at get@body. \par <*> git-tuto.tex I suspect you have forgotten a `}', causing me to read past where you wanted me to stop. I'll try to recover; but if the error is serious, you'd better type `E' or `X' now and fix your file. ! Emergency stop. <*> git-tuto.tex *** (job aborted, no legal \end found) If I don't use it, there is no error... I'm using texlive 2008(from Gentoo Linux) -- ________________________________________________________ Ing. Anielkis Herrera Gonz?lez Desarrollador de Nova Linux User #377809 Universidad de las Ciencias Inform?ticas Cuba ________________________________________________________ From aherrerag at uci.cu Wed Nov 19 16:08:40 2008 From: aherrerag at uci.cu (Anielkis Herrera Gonzalez) Date: Wed, 19 Nov 2008 10:08:40 -0500 Subject: [texhax] problem using newenvironment Message-ID: <1227107320.10905.16.camel@localhost> Greetings, I have a problem using \newenvironment for example with tabbulary o tabbularx (packages used with \usepackage{}) I have this: \newenvironment{command} {\begin{tabulary}{420px}{|>{\columncolor[rgb]{0.8,0.9,0.8}}L| >{\columncolor[rgb]{0.8,0.9,0.8}}L|} \hline} { \hline \end{tabulary}} and when use it: \begin{command} a&b\tabularnewline \end{command} got this error: ! File ended while scanning use of \TY at get@body. \par <*> git-tuto.tex I suspect you have forgotten a `}', causing me to read past where you wanted me to stop. I'll try to recover; but if the error is serious, you'd better type `E' or `X' now and fix your file. ! Emergency stop. <*> git-tuto.tex *** (job aborted, no legal \end found) If I don't use it, there is no error... I'm using texlive 2008(from Gentoo Linux) What i'm doing wrong? -- ________________________________________________________ Ing. Anielkis Herrera Gonz?lez Desarrollador de Nova Linux User #377809 Universidad de las Ciencias Inform?ticas Cuba ________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2139 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20081119/dcf07c63/attachment.bin From vivrii at gmail.com Wed Nov 19 16:12:32 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Wed, 19 Nov 2008 10:12:32 -0500 Subject: [texhax] how to make nonreferred equations notnumbered Message-ID: <19af81400811190712v55e0180kef0a5cd73ae6c019@mail.gmail.com> Is there any package which looks if equation \label{mylabel} is referred and if not treats it as {equation*} May be there is script doing this? foo.aux stores label info but where is stored info about references (except foo.tex)? Thank you in advance Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From news2 at nililand.de Wed Nov 19 16:28:36 2008 From: news2 at nililand.de (Ulrike Fischer) Date: Wed, 19 Nov 2008 16:28:36 +0100 Subject: [texhax] using \newenvironment References: <1227105525.10905.11.camel@localhost> Message-ID: Am Wed, 19 Nov 2008 09:38:45 -0500 schrieb Anielkis Herrera Gonzalez: > Greetings, I have a problem using \newenvironment for example with > tabbulary o tabbularx (packages used with \usepackage{}) > > I have this: > > \newenvironment{command} > {\begin{tabulary}{420px}{|>{\columncolor[rgb]{0.8,0.9,0.8}}L| >>{\columncolor[rgb]{0.8,0.9,0.8}}L|} > \hline} > { > \hline > \end{tabulary}} > > and when use it: > > \begin{command} > a&b\tabularnewline > \end{command} > > > got this error: > > ! File ended while scanning use of \TY at get@body. Use \tabulary instead of \begin{tabulary} and \endtabulary instead of \end{tabulary}. -- Ulrike Fischer From martin at oneiros.de Wed Nov 19 16:27:39 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Wed, 19 Nov 2008 16:27:39 +0100 Subject: [texhax] using \newenvironment In-Reply-To: <1227105525.10905.11.camel@localhost> References: <1227105525.10905.11.camel@localhost> Message-ID: <68c491a60811190727r2453df69rb63a2cd8e3e45637@mail.gmail.com> 2008/11/19 Anielkis Herrera Gonzalez : > Greetings, I have a problem using \newenvironment for example with > tabbulary o tabbularx (packages used with \usepackage{}) Read The Fine tabularx Manual; p.3f. Best Martin From martin at oneiros.de Wed Nov 19 16:29:09 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Wed, 19 Nov 2008 16:29:09 +0100 Subject: [texhax] problem using newenvironment In-Reply-To: <1227107320.10905.16.camel@localhost> References: <1227107320.10905.16.camel@localhost> Message-ID: <68c491a60811190729p144842b2l5e731b0751284ea9@mail.gmail.com> 2008/11/19 Anielkis Herrera Gonzalez : > Greetings, I have a problem using \newenvironment for example with > tabbulary o tabbularx (packages used with \usepackage{}) Yes, you already told us. > -- > > ________________________________________________________ > Ing. Anielkis Herrera Gonz?lez > Desarrollador de Nova > Linux User #377809 > > Universidad de las Ciencias Inform?ticas > Cuba > ________________________________________________________ Your .sig is way too long. Best Martin From daleif at imf.au.dk Wed Nov 19 16:47:41 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 19 Nov 2008 16:47:41 +0100 Subject: [texhax] how to make nonreferred equations notnumbered In-Reply-To: <19af81400811190712v55e0180kef0a5cd73ae6c019@mail.gmail.com> References: <19af81400811190712v55e0180kef0a5cd73ae6c019@mail.gmail.com> Message-ID: <4924351D.6040509@imf.au.dk> Victor Ivrii wrote: > Is there any package which looks if equation \label{mylabel} is > referred and if not treats it as {equation*} > > May be there is script doing this? > > foo.aux stores label info but where is stored info about references > (except foo.tex)? > > Thank you in advance > > > Victor > mathtools in the latest version you can even tell it if there are some equations that are not refered to but who you whould like to be numbered anyway. -- /daleif From reinhard.kotucha at web.de Wed Nov 19 22:44:13 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 19 Nov 2008 22:44:13 +0100 Subject: [texhax] -quiet for latex? In-Reply-To: References: Message-ID: <18724.34989.659399.502401@zaphod.ms25.net> Sumit Rangwala writes: > Is it possible to instruct latex to print only the messages from > \typeout or \listfiles (or in short only from latex commands) and not > print any other compiler messages? I was unable to find any such > option. Hi, I doubt that it is possible. LaTeX is a macro package based on TeX primitives. So TeX (the program) is actually not aware about LaTeX. But if you really need this behavior you can switch to \batchmode at the beginning and then temporarily to \errorstopmode whenever you want to print something to screen. Not very convenient but I have no better idea. 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 tonightsthenight at gmail.com Thu Nov 20 22:14:07 2008 From: tonightsthenight at gmail.com (Sam Albers) Date: Thu, 20 Nov 2008 13:14:07 -0800 Subject: [texhax] BibTex URL Message-ID: Hello All, I cant' seem to figure out how to cite a website using Bibtex. So far I have tried this (with \usepackage{url}: @MISC{UNBC2008, AUTHOR = "UNBC", TITLE = "Natural Resources and Environmental Studies Graduate Program", MONTH = "November", YEAR = {2008}, NOTE = "\url{http://www.unbc.ca/nres/grad_overview.html}" And this: @MISC{UNBC2008, AUTHOR = "UNBC", TITLE = "Natural Resources and Environmental Studies Graduate Program", MONTH = "November", YEAR = {2008}, NOTE = "\texttt{http://www.unbc.ca/nres/grad_overview.html}" Any ideas on the proper way to do this? I am using APA style. Sorry if this is quite simple. Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081120/a21d6907/attachment.html From alan at alphabyte.co.nz Thu Nov 20 22:54:09 2008 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Fri, 21 Nov 2008 10:54:09 +1300 Subject: [texhax] BibTex URL In-Reply-To: References: Message-ID: <4F8251C5-0418-4BB1-8208-125A9EFE43D8@alphabyte.co.nz> Hi Sam, You can use the url field, as in: @article{Alter2005, Author = {Steven Alter}, Title = {Architecture of {S}ysperanto: A Model-Based Ontology of the \textsc{is} Field}, Journal = {Communications of the {A}ssociation for {I}nformation {S}ystems}, Year = {2005}, Month = {January}, Volume = {15}, Number = {1}, lastChecked = {16 April, 2008}, url = {www.stevenalter.com/} } If you are using APAcite I would suggest reading the documentation. It explains how to handle urls well. If you are using TeXLive you should be able to use texdoc apacite in a terminal window. Otherwise it is available from your local ctan mirror. HIH Alan On 21/11/2008, at 10:14 AM, Sam Albers wrote: > Hello All, > > I cant' seem to figure out how to cite a website using Bibtex. So > far I have tried this (with \usepackage{url}: > > @MISC{UNBC2008, > AUTHOR = "UNBC", > TITLE = "Natural Resources and Environmental Studies Graduate > Program", > MONTH = "November", > YEAR = {2008}, > NOTE = "\url{http://www.unbc.ca/nres/grad_overview.html}" > > And this: > > > @MISC{UNBC2008, > AUTHOR = "UNBC", > TITLE = "Natural Resources and Environmental Studies Graduate > Program", > MONTH = "November", > YEAR = {2008}, > NOTE = "\texttt{http://www.unbc.ca/nres/grad_overview.html}" > > Any ideas on the proper way to do this? I am using APA style. Sorry > if this is quite simple. > > Sam > > > > > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -- Alan Litchfield MBus(Hons), MNZCS AlphaByte PO Box 1941, Auckland, NZ. 1140 http://www.alphabyte.co.nz From millstadtf at gmail.com Thu Nov 20 23:03:12 2008 From: millstadtf at gmail.com (Robert Wilson) Date: Thu, 20 Nov 2008 14:03:12 -0800 Subject: [texhax] BibTex URL In-Reply-To: <4F8251C5-0418-4BB1-8208-125A9EFE43D8@alphabyte.co.nz> References: <4F8251C5-0418-4BB1-8208-125A9EFE43D8@alphabyte.co.nz> Message-ID: <44ff02430811201403x5d75670y1fa4cd364591e4d7@mail.gmail.com> I actually find the Wikipedia article on BibTeX ( http://en.wikipedia.org/wiki/BibTeX) a useful reference on entry types. It includes the required and optional fields for common style files. And of course, you can look at the style file yourself to see the supported fields. I had to write my own style file for my senior design class last year, and boy did I get a crash course in stacks! But in terms of getting your bib to look just right, there's nothing better. Cheers, Bob Wilson On Thu, Nov 20, 2008 at 1:54 PM, Alan Litchfield wrote: > Hi Sam, > > You can use the url field, as in: > > @article{Alter2005, > Author = {Steven Alter}, > Title = {Architecture of {S}ysperanto: A Model-Based Ontology of the > \textsc{is} Field}, > Journal = {Communications of the {A}ssociation for {I}nformation > {S}ystems}, > Year = {2005}, > Month = {January}, > Volume = {15}, > Number = {1}, > lastChecked = {16 April, 2008}, > url = {www.stevenalter.com/} } > > If you are using APAcite I would suggest reading the documentation. It > explains how to handle urls well. If you are using TeXLive you should > be able to use texdoc apacite in a terminal window. Otherwise it is > available from your local ctan mirror. > > HIH > Alan > > > On 21/11/2008, at 10:14 AM, Sam Albers wrote: > > > Hello All, > > > > I cant' seem to figure out how to cite a website using Bibtex. So > > far I have tried this (with \usepackage{url}: > > > > @MISC{UNBC2008, > > AUTHOR = "UNBC", > > TITLE = "Natural Resources and Environmental Studies Graduate > > Program", > > MONTH = "November", > > YEAR = {2008}, > > NOTE = "\url{http://www.unbc.ca/nres/grad_overview.html}" > > > > And this: > > > > > > @MISC{UNBC2008, > > AUTHOR = "UNBC", > > TITLE = "Natural Resources and Environmental Studies Graduate > > Program", > > MONTH = "November", > > YEAR = {2008}, > > NOTE = "\texttt{http://www.unbc.ca/nres/grad_overview.html}" > > > > Any ideas on the proper way to do this? I am using APA style. Sorry > > if this is quite simple. > > > > Sam > > > > > > > > > > > > > > _______________________________________________ > > TeX FAQ: http://www.tex.ac.uk/faq > > Mailing list archives: http://tug.org/pipermail/texhax/ > > More links: http://tug.org/begin.html > > > > Automated subscription management: > http://tug.org/mailman/listinfo/texhax > > Human mailing list managers: postmaster at tug.org > > -- > Alan Litchfield MBus(Hons), MNZCS > AlphaByte > PO Box 1941, Auckland, NZ. 1140 > http://www.alphabyte.co.nz > > > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081120/6e9015d0/attachment.html From toms at ncifcrf.gov Thu Nov 20 23:34:40 2008 From: toms at ncifcrf.gov (Tom Schneider) Date: Thu, 20 Nov 2008 17:34:40 -0500 (EST) Subject: [texhax] BibTex URL In-Reply-To: from Sam Albers at "Nov 20, 2008 01:14:07 pm" Message-ID: <200811202234.mAKMYeAH014795@strawberry.ncifcrf.gov> Sam: > I cant' seem to figure out how to cite a website using Bibtex. So far I have > tried this (with \usepackage{url}: @article{Bindewald.Shapiro2006, author = "E. Bindewald and T. D. Schneider and B. A. Shapiro", title = "{CorreLogo: An online server for 3D sequence logos of RNA and DNA alignments}", journal = "Nucleic Acids Res.", volume = "34", pages = "w405-w411", pmid = "16845037", pmcid = "PMC1538790", note = "\htmladdnormallink {http://www.ccrnp.ncifcrf.gov/toms/papers/correlogo/} {http://www.ccrnp.ncifcrf.gov/toms/papers/correlogo/}", year = "2006"} with \usepackage{html} works for me. A nice feature of this is that the links are active in the PDF! A \~{} can give trouble. Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From daleif at imf.au.dk Fri Nov 21 00:26:03 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 21 Nov 2008 00:26:03 +0100 Subject: [texhax] BibTex URL In-Reply-To: References: Message-ID: <4925F20B.5050500@imf.au.dk> Sam Albers wrote: > Hello All, > > I cant' seem to figure out how to cite a website using Bibtex. So far I > have tried this (with \usepackage{url}: > > @MISC{UNBC2008, > > AUTHOR = "UNBC", > > TITLE = "Natural Resources and Environmental Studies Graduate Program", > > MONTH = "November", > > YEAR = {2008}, > > NOTE = "\url{http://www.unbc.ca/nres/grad_overview.html}" > > > And this: > > > > @MISC{UNBC2008, > > AUTHOR = "UNBC", > > TITLE = "Natural Resources and Environmental Studies Graduate Program", > > MONTH = "November", > > YEAR = {2008}, > > NOTE = "\texttt{http://www.unbc.ca/nres/grad_overview.html}" > > > Any ideas on the proper way to do this? I am using APA style. Sorry if > this is quite simple. > > > Sam > I would have suspected these to work. Do you get any errors/warnings from bibtex? And could you provide a full minimal example? both a minimal document, so that we can see which bibstyle you are using and a sample bibfile, because the entries above are not complete. -- /daleif From tonightsthenight at gmail.com Fri Nov 21 00:30:31 2008 From: tonightsthenight at gmail.com (Sam Albers) Date: Thu, 20 Nov 2008 15:30:31 -0800 Subject: [texhax] BibTex URL In-Reply-To: <4925F20B.5050500@imf.au.dk> References: <4925F20B.5050500@imf.au.dk> Message-ID: I have actually just used Tom Schneider's solution. Thanks for that Tom! So i have abandoned my other attempt. Sorry for the incomplete entry. Sam On Thu, Nov 20, 2008 at 3:26 PM, Lars Madsen wrote: > Sam Albers wrote: > >> Hello All, >> >> I cant' seem to figure out how to cite a website using Bibtex. So far I >> have tried this (with \usepackage{url}: >> >> @MISC{UNBC2008, >> >> AUTHOR = "UNBC", >> >> TITLE = "Natural Resources and Environmental Studies Graduate Program", >> >> MONTH = "November", >> >> YEAR = {2008}, >> >> NOTE = "\url{http://www.unbc.ca/nres/grad_overview.html}" >> >> >> And this: >> >> >> >> @MISC{UNBC2008, >> >> AUTHOR = "UNBC", >> >> TITLE = "Natural Resources and Environmental Studies Graduate Program", >> >> MONTH = "November", >> >> YEAR = {2008}, >> >> NOTE = "\texttt{http://www.unbc.ca/nres/grad_overview.html}" >> >> >> Any ideas on the proper way to do this? I am using APA style. Sorry if >> this is quite simple. >> >> >> Sam >> >> > > I would have suspected these to work. Do you get any errors/warnings from > bibtex? And could you provide a full minimal example? both a minimal > document, so that we can see which bibstyle you are using and a sample > bibfile, because the entries above are not complete. > > > -- > > /daleif > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081120/2eeb2b19/attachment-0001.html From tigran at bibles.org.uk Fri Nov 21 11:54:12 2008 From: tigran at bibles.org.uk (Tigran Aivazian) Date: Fri, 21 Nov 2008 10:54:12 +0000 (GMT) Subject: [texhax] How to reverse the columns in "twocolumn" layout? In-Reply-To: References: <486C33AC.2070803@comcast.net> Message-ID: Hi, I would like to use "twocolumn" option for my Hebrew and other Semitic Bible editions (e.g. Syriac, Aramaic etc) which are written right-to-left, but the problem of "twocolumn" is that it starts from the left column whereas I need it to start the page from the right column. Is there any way to tell XeLaTeX to do this? I looked at the "*dblcolumn* routines in base/latex.ltx but cannot figure out how to do this. Kind regards Tigran ======= Bibles.org.uk --- http://www.bibles.org.uk From altcui at yahoo.de Fri Nov 21 22:17:05 2008 From: altcui at yahoo.de (cui alt) Date: Fri, 21 Nov 2008 21:17:05 +0000 (GMT) Subject: [texhax] the number of Latex Command per Vision Message-ID: <763762.95244.qm@web27901.mail.ukl.yahoo.com> Hi, I need the number of Latex command for every vision to draw a diagram, can you help? I know, that Tex hat 300 basic command, but how much the different Vision of Latex hat? thanks anyway Cui, Hua -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081121/bf61d441/attachment.html From asnd at triumf.ca Fri Nov 21 23:49:48 2008 From: asnd at triumf.ca (Donald Arseneau) Date: 21 Nov 2008 14:49:48 -0800 Subject: [texhax] How to reverse the columns in "twocolumn" layout? In-Reply-To: References: <486C33AC.2070803@comcast.net> Message-ID: Tigran Aivazian writes: > I would like to use "twocolumn" option for my Hebrew and other Semitic Bible > editions (e.g. Syriac, Aramaic etc) which are written right-to-left, but the > problem of "twocolumn" is that it starts from the left column whereas I need > it to start the page from the right column. > > Is there any way to tell XeLaTeX to do this? I looked at the "*dblcolumn* > routines in base/latex.ltx but cannot figure out how to do this. It is quite easy. Copy out the \@outputdblcol definition from latex.ltx, and put it in a .sty (or .cls) file, then, in your copy, exchange the two lines \box\@leftcolumn \hss}% and \box\@outputbox \hss}% You should also declare \@mparswitchtrue. Correction on my simple exchange above! I realize that will put the auxiliary file entries in the wrong order, so, for example, bibTeX may get the numbering wrong, and toc entries will be out of order. A more thorough redefinition (again, untested) is (part of \@outputdblcol) \setbox\@outputbox \vbox {% \hb at xt@\textwidth {% \kern\textwidth \kern-\columnwidth %** \hb at xt@\columnwidth {% \box\@leftcolumn \hss}% \kern-\textwidth %** \hfil {\normalcolor\vrule \@width\columnseprule}% \hfil \kern-\textwidth %** \hb at xt@\columnwidth {% \box\@outputbox \hss}% \kern-\columnwidth \kern\textwidth %** }% }% \@combinedblfloats (All repositioning is done with \kern and marked with %**) -- Donald Arseneau asnd at triumf.ca From annafreni at yahoo.it Tue Nov 25 16:32:58 2008 From: annafreni at yahoo.it (anna freni sterrantino) Date: Tue, 25 Nov 2008 15:32:58 +0000 (GMT) Subject: [texhax] Beamer class background figure location Message-ID: <30313.10672.qm@web25213.mail.ukl.yahoo.com> Hello Tex users, I'd like to know how to modify this command (http://www.tug.org/pipermail/texhax/2007-March/008035.html) { \usebackgroundtemplate{\includegraphics[width=\paperwidth]{}} \begin{frame} \titlepage \end{frame} } that will place the background figure at the right bottom of my frame, and not all over the frame. Best Regards Anna Anna Freni Sterrantino Ph.D Student Department of Statistics University of Bologna, Italy via Belle Arti 41, 40124 BO -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081125/7d7d33e6/attachment.html From joseph.thodiyil at ge.com Tue Nov 25 16:44:12 2008 From: joseph.thodiyil at ge.com (Thodiyil, Joseph (GE Infra, Aviation, US)) Date: Tue, 25 Nov 2008 10:44:12 -0500 Subject: [texhax] Sample .tex source files Message-ID: <50FC40D9AF0EB140A7139E343E393BC70A0BE548@CINMLVEM24.e2k.ad.ge.com> Hello all, I am requesting sample .tex source files for typesetting graduate level homework and reports that are "Math Heavy". Thanks, GE - Aviation _______________________________________ Joseph Thodiyil Staff Engineer, Design Methods & Analysis Combustion Center of Excellence 30 Merchant Street, Princeton Hill, M.D. P10 Cincinnati, Ohio 45246 (513) 552-2059 Fax: (513) 552-6198 Dial Comm: 8*892-2059 Joseph.Thodiyil at ge.com From axel.retif at mac.com Wed Nov 26 08:42:53 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 26 Nov 2008 01:42:53 -0600 Subject: [texhax] Sample .tex source files In-Reply-To: <50FC40D9AF0EB140A7139E343E393BC70A0BE548@CINMLVEM24.e2k.ad.ge.com> References: <50FC40D9AF0EB140A7139E343E393BC70A0BE548@CINMLVEM24.e2k.ad.ge.com> Message-ID: On 25 Nov, 2008, at 09:44, Thodiyil, Joseph (GE Infra, Aviation, US) wrote: > Hello all, > > I am requesting sample .tex source files for typesetting graduate > level homework and reports that are "Math Heavy". http://www.ctan.org/tex-archive/info/examples/Math_into_LaTeX-4/ http://www.ctan.org/tex-archive/info/math/voss/mathmode/ Best, Axel From mohamed.houssni at e-press.co.ma Wed Nov 26 11:00:58 2008 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed, 26 Nov 2008 10:00:58 +0000 Subject: [texhax] PDF links Message-ID: <492D1E5A.7080007@e-press.co.ma> Hello, Thanks for reading my mail. It concerns intern PDF links. When I have various levels of titles without numbers (i.e. section*, subsection*, etc.) in addition to figures and tables with labels the bookmarks which are generated are badly placed and do not return to the place exact of the various levels of titles. Is anybody have an idea to how solve this problem ? Thanks a lot ------------------- Dr. Mohamed Houssni From toms at ncifcrf.gov Wed Nov 26 17:01:59 2008 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 26 Nov 2008 11:01:59 -0500 (EST) Subject: [texhax] Sample .tex source files In-Reply-To: <50FC40D9AF0EB140A7139E343E393BC70A0BE548@CINMLVEM24.e2k.ad.ge.com> from "Thodiyil, Joseph" at "Nov 25, 2008 10:44:12 am" Message-ID: <200811261601.mAQG1xYJ024443@strawberry.ncifcrf.gov> Joseph: > I am requesting sample .tex source files for typesetting graduate > level homework and reports that are "Math Heavy". http://www.ccrnp.ncifcrf.gov/~toms/papers/primer/ Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From mohamed.houssni at e-press.co.ma Wed Nov 26 18:27:44 2008 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed, 26 Nov 2008 17:27:44 +0000 Subject: [texhax] comments in PDF file generated via LaTeX Message-ID: <492D8710.7080105@e-press.co.ma> Hello, Thanks for reading my mail. I am using LaTeX and to generate the PDF file I am using " dvips ---> distiller ----> Pitstop ". And I would like to visualize the changes carried out in the tex source file and to add the revisions in the form of comments in the PDF file. Is there a latex style doing that ? or is anybody have an idea to how to do that ? Thanks a lot ------------------- Dr. Mohamed Houssni From toms at ncifcrf.gov Wed Nov 26 20:57:18 2008 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 26 Nov 2008 14:57:18 -0500 (EST) Subject: [texhax] comments in PDF file generated via LaTeX In-Reply-To: <492D8710.7080105@e-press.co.ma> from Mohamed HOUSSNI at "Nov 26, 2008 05:27:44 pm" Message-ID: <200811261957.mAQJvIJf004862@strawberry.ncifcrf.gov> Mohamed: > And I would like to visualize the changes carried out in the tex source > file and to add the revisions in the form of comments in the PDF file. > > Is there a latex style doing that ? or is anybody have an idea to how to > do that ? Latexdiff can mark changes. Maybe you could modify it to have the changes become PDF comments. Alternatively, maybe the maintainer would be willing/able to do it. http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=latexdiff CTAN Package information http://www.ctan.org/tex-archive/support/latexdiff/ latexdiff: Determine and mark up significant differences between latex files. Download files Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From vivrii at gmail.com Thu Nov 27 03:23:38 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Wed, 26 Nov 2008 21:23:38 -0500 Subject: [texhax] htlatex: how to insert raw html code into .tex? Message-ID: <19af81400811261823yd002408u128a4a0f6112ece2@mail.gmail.com> Is there a way to insert raw html code into .tex source instead of editing resulting html? Thank you very much in advance Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From nina.mazumdar at gmail.com Thu Nov 27 07:15:55 2008 From: nina.mazumdar at gmail.com (Nina Mazumdar) Date: Thu, 27 Nov 2008 11:45:55 +0530 Subject: [texhax] htlatex: how to insert raw html code into .tex? In-Reply-To: <19af81400811261823yd002408u128a4a0f6112ece2@mail.gmail.com> References: <19af81400811261823yd002408u128a4a0f6112ece2@mail.gmail.com> Message-ID: <4c13b2c80811262215w6f890fd3va71e586c681de883@mail.gmail.com> On Thu, Nov 27, 2008 at 7:53 AM, Victor Ivrii wrote: > Is there a way to insert raw html code into .tex source instead of > editing resulting html? \Tg eg., \Tg \Tg \HCode{raw html code} eg., \HCode{
} Happy TeXing and best regards -- Nina From henrikmidtiby at gmail.com Thu Nov 27 10:20:38 2008 From: henrikmidtiby at gmail.com (henrikmidtiby at gmail.com) Date: Thu, 27 Nov 2008 10:20:38 +0100 Subject: [texhax] PDF links References: <492D1E5A.7080007@e-press.co.ma> Message-ID: Hi You might want to use the \phantomsection command before you insert any labels. The command marks a position in the document where the pdf link can point to. It should look something like the code snippet below \subsection*{Testing} \phantomsection \label{subsecTesting} Best Henrik Midtiby > Hello, Thanks for reading my mail. > > It concerns intern PDF links. > > When I have various levels of titles without numbers (i.e. section*, > subsection*, etc.) in addition to figures and tables with labels the > bookmarks which are generated are badly placed and do not return to the > place exact of the various levels of titles. > > Is anybody have an idea to how solve this problem ? > > Thanks a lot > > > > ------------------- > Dr. Mohamed Houssni From texhax at uit.co.uk Thu Nov 27 12:56:37 2008 From: texhax at uit.co.uk (Niall Mansfield) Date: Thu, 27 Nov 2008 11:56:37 +0000 Subject: [texhax] Converting LaTeX to Kindle and MobiPocket etc. formats Message-ID: <492E8AF5.5050801@uit.co.uk> Has anyone converted LaTeX to Kindle and/or MobiPocket e-book formats? Any pointers would be very welcome. Thanks, Niall From vi5u0-texhax at yahoo.co.uk Thu Nov 27 16:37:27 2008 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Thu, 27 Nov 2008 15:37:27 +0000 (GMT) Subject: [texhax] !Package utf8x Error: MalformedUTF-8sequence Message-ID: Dear All, There follows a minimal example of a LaTeX document and BibTeX database, which fail to compile with the error message ! Package utf8x Error: MalformedUTF-8sequence. Any ideas how to proceed, please? Thanks, Dan The LaTeX document: \documentclass[landscape,twocolumn]{article} \usepackage{ucs} \usepackage[T2A]{fontenc} \usepackage[utf8x]{inputenc} \usepackage[german, finnish, russian, russianb, french, english]{babel} \usepackage{natbib} \begin{document} \title{sometitle} \author{someoneorother} \maketitle{} \section{Introduction} \citep{Doronin:1959:VNM} \bibliographystyle{abbrvnat} \bibliography{oneitem} \end{document} The BibTeX database oneitem.bib: @ARTICLE{Doronin:1959:VNM, author="?. ?. ???????", title="? ??????? ? ?????????? ???????? ????", journal="?????. ????. ???????.", year=1959, number=1, pages="73--80", location="SPRI Library: journals" } From wouter at A-Eskwadraat.nl Thu Nov 27 09:56:37 2008 From: wouter at A-Eskwadraat.nl (Wouter Duivesteijn) Date: Thu, 27 Nov 2008 09:56:37 +0100 (CET) Subject: [texhax] Boldface hack request for environment Message-ID: Hello, I want to write an environment that (among other things) typesets the first and only the first paragraph of text in boldface. My first attempts were with \AfterBegin from the atbeginend package, however I cannot use this since my environment accepts arguments (for the aforementioned other things). Could someone give me a better idea? Thanks, Wouter From mohamed.houssni at e-press.co.ma Fri Nov 28 10:54:04 2008 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Fri, 28 Nov 2008 09:54:04 +0000 Subject: [texhax] PDF links In-Reply-To: References: <492D1E5A.7080007@e-press.co.ma> Message-ID: <492FBFBC.9020306@e-press.co.ma> It works perfectly well. Thanks a lot. henrikmidtiby at gmail.com a ?crit : >Hi > >You might want to use the \phantomsection command before you insert any labels. The command marks a position in the document where the pdf link can point to. > >It should look something like the code snippet below >\subsection*{Testing} >\phantomsection >\label{subsecTesting} > >Best >Henrik Midtiby > > > >>Hello, Thanks for reading my mail. >> >>It concerns intern PDF links. >> >>When I have various levels of titles without numbers (i.e. section*, >>subsection*, etc.) in addition to figures and tables with labels the >>bookmarks which are generated are badly placed and do not return to the >>place exact of the various levels of titles. >> >>Is anybody have an idea to how solve this problem ? >> >>Thanks a lot >> >> >> >>------------------- >>Dr. Mohamed Houssni >> >> > > >_______________________________________________ >TeX FAQ: http://www.tex.ac.uk/faq >Mailing list archives: http://tug.org/pipermail/texhax/ >More links: http://tug.org/begin.html > >Automated subscription management: http://tug.org/mailman/listinfo/texhax >Human mailing list managers: postmaster at tug.org > > > -- ------------------- Dr. Mohamed Houssni Responsable d'Edition e-Press, 34, Rue Mustapha El Manfalouti Quartier Gauthier Casablanca - Maroc Phone : 212 (0)22 26 23 21 Fax : 212 (0)22 26 80 84 From mohamed.houssni at e-press.co.ma Fri Nov 28 11:04:43 2008 From: mohamed.houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Fri, 28 Nov 2008 10:04:43 +0000 Subject: [texhax] PDF links In-Reply-To: References: <492D1E5A.7080007@e-press.co.ma> Message-ID: <492FC23B.8090305@e-press.co.ma> It works perfectly well. But the command \phantomsection should precede the level title (section*, subsection*, etc.) so that the pdf link can point to correctely and without using \labels for this kind of levels cause their have not counters. Thanks a lot once again. henrikmidtiby at gmail.com a ?crit : >Hi > >You might want to use the \phantomsection command before you insert any labels. The command marks a position in the document where the pdf link can point to. > >It should look something like the code snippet below >\subsection*{Testing} >\phantomsection >\label{subsecTesting} > >Best >Henrik Midtiby > > > >>Hello, Thanks for reading my mail. >> >>It concerns intern PDF links. >> >>When I have various levels of titles without numbers (i.e. section*, >>subsection*, etc.) in addition to figures and tables with labels the >>bookmarks which are generated are badly placed and do not return to the >>place exact of the various levels of titles. >> >>Is anybody have an idea to how solve this problem ? >> >>Thanks a lot >> >> >> >>------------------- >>Dr. Mohamed Houssni >> >> > > >_______________________________________________ >TeX FAQ: http://www.tex.ac.uk/faq >Mailing list archives: http://tug.org/pipermail/texhax/ >More links: http://tug.org/begin.html > >Automated subscription management: http://tug.org/mailman/listinfo/texhax >Human mailing list managers: postmaster at tug.org > > > -- ------------------- Dr. Mohamed Houssni Responsable d'Edition e-Press, 34, Rue Mustapha El Manfalouti Quartier Gauthier Casablanca - Maroc Phone : 212 (0)22 26 23 21 Fax : 212 (0)22 26 80 84 From rjf2 at CDC.GOV Fri Nov 28 16:49:04 2008 From: rjf2 at CDC.GOV (Fehd, Ronald J. (CDC/CCHIS/NCPHI)) Date: Fri, 28 Nov 2008 10:49:04 -0500 Subject: [texhax] Q: how add password(s) to .pdf? In-Reply-To: References: Message-ID: <482249F865060740AE33815802042D2F0164441D@LTA3VS012.ees.hhs.gov> Before I purchase Adobe v9 professional I want to know if anyone knows the name of pdfLaTeX hyperref parameters to add passwords for * printing * text extraction * etc Here is my hyperref options list: \usepackage[bookmarks=false%SUGI style guide ,pdfkeywords ={assertions }%end pdfkeywords ,pdfsubject ={replacement for macro if statement }%end pdfkeysubject ,pdfstartview=FitBH%fit width of page to the window ,pdfusetitle%author and title ]{hyperref}\begin{document}\maketitle% \pdfcompresslevel=9%best compression level for text and image I have reviewed hyperref.sty C:\Programs\TeXlive\2008\texmf-dist\tex\latex\hyperref I believe that the kewword parameters are defined here line 2636: \define at key{Hyp}{pdfsubject}{\pdfstringdef\@pdfsubject{#1}} \define at key{Hyp}{pdfkeywords}{\pdfstringdef\@pdfkeywords{#1}} line 2740: \def\@pdfsubject{} \def\@pdfkeywords{} and see, beginning at line 3633: \HyField at NewFlag{Ff}{ReadOnly}{1} \HyField at NewFlag{Ff}{Required}{2} \HyField at NewFlag{Ff}{NoExport}{3} \HyField at NewFlag{Ff}{NoToggleToOff}{15} \HyField at NewFlag{Ff}{Radio}{16} \HyField at NewFlag{Ff}{Pushbutton}{17} \HyField at NewFlag{Ff}{RadiosInUnison}{26} \HyField at NewFlag{Ff}{Multiline}{13} \HyField at NewFlag{Ff}{Password}{14} Q.1: Are these flags what I need to know how to set? Q.2: how do I set a password on my pdf? thanx in advance Ron Fehd on SAS-L: the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov From rjf2 at CDC.GOV Fri Nov 28 17:24:49 2008 From: rjf2 at CDC.GOV (Fehd, Ronald J. (CDC/CCHIS/NCPHI)) Date: Fri, 28 Nov 2008 11:24:49 -0500 Subject: [texhax] implementing Information Mapping block label In-Reply-To: References: Message-ID: <482249F865060740AE33815802042D2F0164441E@LTA3VS012.ees.hhs.gov> This message provides information about * Information Mapping * a hack to implement the InfoMapping Block Label in the refart and refrep class ** Information Mapping * Common Knowledge http://en.wikipedia.org/wiki/Information_mapping * visionary: Robert Horn, information presentation theorist http://www.stanford.edu/~rhorn/ (obviously a Mac user, eh?!) * Information Mapping, the company "Making Information Work." http://www.infomap.com/ * writing technical documentation is not like writing literature * concept to replace 'paragraph': Block * Block Label in left column, bold, ragged right * Description in right column, contains max of 9 (7 +-2) information items usually sentences, but also lists (description, enumerate, itemize) and charts, figures, etc. ** The RefMan, RefArt and RefRep classes http://www.ctan.org/tex-archive/macros/latex/contrib/refman/layout_e.pdf * example: \documentclass[10pt,smallborder]{refart}%*-margins=0.25 in, for screen viewing only %\documentclass[10pt]{refart} \settextfraction{0.618}%default= .7 phi=0.6.18 * layout widths | <-- fullwidth (full page width) ... --> | is divided by the command settextfraction into left and right columns | <-- leftmarginwidth --> | <-- textwidth ... --> | * left margin commands \marginpar{Text is set left (justified)} \marginlabel{Text is set flush right} ** Problem Statement * Sectioning commands are set in a box which width is fullwidth and therefore are across both left and right columns, i.e.: leftmarginwidth into textwidth. * Q: How do I implement the Information Mapping Block Label? or * Q: How do I provide a box for a Block Label, in the left column only, with text in bold face, and ragged right? ** Kludge %%refart adjustments to left and right column widths %%note: implements Info Map style of Block Label as boxed paragraph %%note: leftmarginwidth is defined by refart %%\settextfraction{0.618}%default= .7 phi=0.6.18 \newcommand{\marginparX}[1]% {\hspace{0pt}%strut \marginpar{\parbox[t]% {0.764\leftmarginwidth}%phi+phi*(1-phi)) {\raggedright\textbf{#1}}}} %%usage: \marginparX{The Quick Brown Fox Jumped Over the Lazy Dog}% Program development proceeds through these stages: %%expected output: columnsep is three spaces for this demo The Quick Brown Fox Program development proceeds Jumped Over the Lazy through these stages: Dog ** Commentary * Why do I need a strut -- \hspace{0pt} -- before the marginpar? * Yes, I thought about modifying the sectioning commands, I think that the paragraph or paragraph* would be the appropriate one to use. However I couldn't easily see how to wedge the parbox into the section command syntax. I would appreciate reading your commentary on this issue. thanx in advance for your holiday musings Ron Fehd on SAS-L: the LaTeX maven the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov From rjf2 at CDC.GOV Fri Nov 28 21:04:57 2008 From: rjf2 at CDC.GOV (Fehd, Ronald J. (CDC/CCHIS/NCPHI)) Date: Fri, 28 Nov 2008 15:04:57 -0500 Subject: [texhax] implementing Information Mapping block label In-Reply-To: <482249F865060740AE33815802042D2F0164441E@LTA3VS012.ees.hhs.gov> References: <482249F865060740AE33815802042D2F0164441E@LTA3VS012.ees.hhs.gov> Message-ID: <482249F865060740AE33815802042D2F01644421@LTA3VS012.ees.hhs.gov> Ah, what I like about talking thru a problem with my peers! solution: redefine paragraph without sectioning commands. Beauty: allows document to conform to standard LaTeX definitions of sectioning commands and changes them only when I usepackage{refman-InfoMap} thanx for listening Ron Fehd on SAS-L: the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov %Fehd-RnD-refart-paragraph \documentclass[10pt]{refart}%print \settextfraction{0.618}%default= .7 phi=0.618 \pdfoutput=1%out=job.pdf \title{\jobname} \author{RJF2} \renewcommand{\paragraph}[1]% {\hspace{0pt}%strut \marginpar{\parbox[t]% {0.764\leftmarginwidth}%phi+phi*(1-phi)) {\raggedright\textbf{#1}}}} \newcommand\OneSentence{The quick brown fox jumped over the lazy dog.} \newcommand\Sentences{\OneSentence \OneSentence \OneSentence \OneSentence \OneSentence \OneSentence \OneSentence} \usepackage[bookmarks =false%SUGI style guide screen ,pdfsubject ={List Processing replacement for macro do loop}% ,pdfkeywords ={call execute, dynamic programming, source2, subroutines}%end pdfkeywords ,pdfstartview=FitBH%fit width of page to the window ,pdfusetitle%author and title ]{hyperref} \begin{document}\maketitle% \pdfcompresslevel=9%best compression level for text and image %end LaTeX document commands \begin{abstract} This is the abstract. \end{abstract} \section{Introduction} \subsection{\OneSentence}\Sentences \paragraph{\OneSentence}\Sentences \end{document} From srangwal at usc.edu Sat Nov 29 05:27:20 2008 From: srangwal at usc.edu (Sumit Rangwala) Date: Fri, 28 Nov 2008 20:27:20 -0800 Subject: [texhax] Specifying a default path for text in the inputted file Message-ID: Hi, Is it possible to tell latex to input files such that the paths within those files are appended with a given path. The situation is as follows: My directory structure is allproject project1 fig project2 fig Each project* directory has a file writeup.tex which has commands like \includegraphics{fig/example.ps} Now I am trying to create a summary of all the projects by having a file allproject/summary.tex as \input{project1/writeup} \input{project2/writeup} But compilations fails as the compiler is not able to find the figures in allproject/fig. Is there a way to specify that all paths in the inputted file should "projectx" appended to it? Thanks. -- Sumit Rangwala PhD Candidate University of Southern California http://enl.usc.edu/~srangwal From iobass at email.com Sat Nov 29 18:20:05 2008 From: iobass at email.com (Ryan Hinton) Date: Sat, 29 Nov 2008 17:20:05 +0000 Subject: [texhax] Add space and separator except at top of page in LaTeX Message-ID: <493179C5.3080702@email.com> Please include my email address on any replies; I am not subscribed to the list. Can I detect in a macro when I am at the top of a page to avoid adding boxes (vertical space and horizontal rule)? I am using LaTeX to write my homework solutions. For clarity, I add some vertical space and a horizontal rule to visually separate the problems. But I do not need this visual separation if a new problem starts at the top of a page, so I would like to omit it to save space and minimize confusion. Thank you! -- Ryan Hinton iobass at email.com From bumby at math.rutgers.edu Sat Nov 29 02:52:04 2008 From: bumby at math.rutgers.edu (Richard Bumby) Date: Fri, 28 Nov 2008 20:52:04 -0500 Subject: [texhax] Updating tlmgr Message-ID: <4930A044.2070209@math.rutgers.edu> I followed the instructions on > http://www.tug.org/texlive/tlmgr.html During the update of bin-texlive, there was a "Does not look like a tar" error message. At the end of the process tlmgr disappeared from the bin directories, although the scripts were present in /usr/local/texlive/2008/texmf/scripts/texlive. What is the best way to recover? I am testing this at home with a more complete installation than I need to be able to advice computer support staff in the Rutgers Math Department on installing TeX Live for a large number of users. --RT Bumby TUG member From P.Taylor at Rhul.Ac.Uk Sat Nov 29 19:54:59 2008 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Sat, 29 Nov 2008 18:54:59 +0000 Subject: [texhax] Add space and separator except at top of page in LaTeX In-Reply-To: <493179C5.3080702@email.com> References: <493179C5.3080702@email.com> Message-ID: <49319003.1070908@Rhul.Ac.Uk> If it were /just/ vertical white space, TeX would do what you want automatically; however, you not only want to lose VWSP at top of page but a horizontal rule as well. The key lies in what exactly TeX is defined to jettison at top of page, and the answer "discardable items" (pp.~110--112), which include glue, kerns and penalty items. Now there's no way you can convert a rule into a kern or a penalty item, but you /can/ convert it into a special sort of glue called "leaders". So if you write (for example) \leaders \hrule \vskip 0,4pt your rule will be concealed inside leaders, and therefore become discardable. Whether this will work out of the box with LaTeX, I cannot say, but others more experienced with LaTeX should be able to advise. Philip TAYLOR -------- Ryan Hinton wrote: > Can I detect in a macro when I am at the top of a page to avoid adding > boxes (vertical space and horizontal rule)? > > I am using LaTeX to write my homework solutions. For clarity, I add > some vertical space and a horizontal rule to visually separate the > problems. But I do not need this visual separation if a new problem > starts at the top of a page, so I would like to omit it to save space > and minimize confusion. From karl at freefriends.org Sat Nov 29 23:09:07 2008 From: karl at freefriends.org (Karl Berry) Date: Sat, 29 Nov 2008 16:09:07 -0600 Subject: [texhax] Updating tlmgr In-Reply-To: <4930A044.2070209@math.rutgers.edu> Message-ID: <200811292209.mATM97r22851@f7.net> Hi Richard, > http://www.tug.org/texlive/tlmgr.html During the update of bin-texlive, there was a "Does not look like a tar" error message. At the end of the process tlmgr disappeared from the bin directories Sorry to hear it. I believe the underlying causes for that have been fixed in the current tlmgr, FWIW. What is the best way to recover? http://www.tug.org/texlive/tlmgr.html#disaster I am testing this at home with a more complete installation than I need to be able to advice computer support staff in the Rutgers Math Department on installing TeX Live for a large number of users. Hope it flies. Let us know if problems persist. Best, Karl From reinhard.kotucha at web.de Sun Nov 30 03:17:48 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 30 Nov 2008 03:17:48 +0100 Subject: [texhax] Add space and separator except at top of page in LaTeX In-Reply-To: <49319003.1070908@Rhul.Ac.Uk> References: <493179C5.3080702@email.com> <49319003.1070908@Rhul.Ac.Uk> Message-ID: <18737.63436.412500.946824@zaphod.ms25.net> Philip TAYLOR (Ret'd) writes: > If it were /just/ vertical white space, TeX would > do what you want automatically; however, you not > only want to lose VWSP at top of page but a > horizontal rule as well. The key lies in what > exactly TeX is defined to jettison at top of page, > and the answer "discardable items" (pp.~110--112), > which include glue, kerns and penalty items. > > Now there's no way you can convert a rule into > a kern or a penalty item, but you /can/ convert > it into a special sort of glue called "leaders". > So if you write (for example) > > \leaders \hrule \vskip 0,4pt This should be a period ^ > > your rule will be concealed inside leaders, and > therefore become discardable. > > Whether this will work out of the box with LaTeX, > I cannot say, but others more experienced with > LaTeX should be able to advise. Hi Phil, it seems that none of the commands mentioned above are redefined by LaTeX. Try: latex "\relax\nonstopmode\show\leaders\show\hrule\show\vskip\stop" (Maybe without the quotes on Windows.) Unless I misunderstand the output, they all are primitives not replaced my macros. \leaders is used by some LaTeX macros, there is an additional macro \rule which takes an optional and two mandatory arguments. The LaTeX macro \vspace{0.4pt} is discardable, \vspace*{0.4pt} is not. There are very few plain TeX commands which had been replaced by LaTeX macros and most of them are macros, not primitives. They had been made obsolete by LaTeX's tabbing environment, LaTeX's output routine, NFSS, and LaTeX's eqnarray environment [1]. The latter is obsolete too and document class designers better put \RequirePackage[all]{onlyamsmath} into their class files. The only primitive which had been changed that I'm aware of is \input. However, the original behaviour is retained. You can say \input{foo} or \input foo . (Note the space after foo :) There are *very* few other plain TeX commands which don't work in LaTeX (either not as expected or not at all) [1]. I assume that what you proposed works perfectly with LaTeX. Using LaTeX macros whenever possible is preferred though. [1] Leslie Lamport, A Document Preparation System, 2nd edition, Appendix E, "Using Plain TeX Commands". 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 iobass at email.com Sun Nov 30 04:37:19 2008 From: iobass at email.com (Ryan Hinton) Date: Sun, 30 Nov 2008 03:37:19 +0000 Subject: [texhax] Add space and separator except at top of page in LaTeX In-Reply-To: <18737.63436.412500.946824@zaphod.ms25.net> References: <493179C5.3080702@email.com> <49319003.1070908@Rhul.Ac.Uk> <18737.63436.412500.946824@zaphod.ms25.net> Message-ID: <49320A6F.8070103@email.com> Reinhard Kotucha wrote: > Philip TAYLOR (Ret'd) writes: > > If it were /just/ vertical white space, TeX would > > do what you want automatically; however, you not > > only want to lose VWSP at top of page but a > > horizontal rule as well. The key lies in what > > exactly TeX is defined to jettison at top of page, > > and the answer "discardable items" (pp.~110--112), > > which include glue, kerns and penalty items. > > > > Now there's no way you can convert a rule into > > a kern or a penalty item, but you /can/ convert > > it into a special sort of glue called "leaders". > > So if you write (for example) > > > > \leaders \hrule \vskip 0,4pt > This should be a period ^ > > > > > your rule will be concealed inside leaders, and > > therefore become discardable. > > > > Whether this will work out of the box with LaTeX, > > I cannot say, but others more experienced with > > LaTeX should be able to advise. > > Hi Phil, > it seems that none of the commands mentioned above are redefined > by LaTeX. Try: > > latex "\relax\nonstopmode\show\leaders\show\hrule\show\vskip\stop" > > (Maybe without the quotes on Windows.) Unless I misunderstand the > output, they all are primitives not replaced my macros. > > \leaders is used by some LaTeX macros, there is an additional macro > \rule which takes an optional and two mandatory arguments. > > The LaTeX macro \vspace{0.4pt} is discardable, \vspace*{0.4pt} is not. > > > > Regards, > Reinhard > > Thank you for your excellent suggestions. This seems to be working just as I want. Thanks again! -- Ryan Hinton iobass at email.com From srangwal at usc.edu Sun Nov 30 07:36:47 2008 From: srangwal at usc.edu (Sumit Rangwala) Date: Sat, 29 Nov 2008 22:36:47 -0800 Subject: [texhax] Specifying a default path for text in the inputted file In-Reply-To: References: Message-ID: Thanks to Donald I found a way to input my file. However, I have another issue. Each of my files have label with the same name, say \label{sec:intro} and so on compilation I get a warning LaTeX Warning: Label `sec:intro' multiply defined It is possible to include files such that the labels are redefined and the references get resolved within their respective files. Thanks Sumit On Sat, Nov 29, 2008 at 5:36 PM, Sumit Rangwala wrote: > On Sat, Nov 29, 2008 at 3:14 PM, Donald Arseneau wrote: >> "Sumit Rangwala" writes: >> >>> Is it possible to tell latex to input files such that the >>> paths within those files are appended with a given path. >>> >>> \input{project1/writeup} >>> \input{project2/writeup} >>> >>> >>> But compilations fails as the compiler is not able to find >>> the figures in allproject/fig. >> >> Look at import.sty > > Thanks. Exactly what was needed. > > > Sumit > > >> >> >> -- >> Donald Arseneau asnd at triumf.ca >> > > > > -- > Sumit Rangwala > PhD Candidate > University of Southern California > http://enl.usc.edu/~srangwal > -- Sumit Rangwala PhD Candidate University of Southern California http://enl.usc.edu/~srangwal From P.Taylor at Rhul.Ac.Uk Sun Nov 30 11:20:15 2008 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Sun, 30 Nov 2008 10:20:15 +0000 Subject: [texhax] Add space and separator except at top of page in LaTeX In-Reply-To: <18737.63436.412500.946824@zaphod.ms25.net> References: <493179C5.3080702@email.com> <49319003.1070908@Rhul.Ac.Uk> <18737.63436.412500.946824@zaphod.ms25.net> Message-ID: <493268DF.50608@Rhul.Ac.Uk> Reinhard Kotucha wrote: > > \leaders \hrule \vskip 0,4pt > This should be a period ^ What ?! Knuth explicitly allows decimal commas /and/ decimal points, unlike CSS ! "0,4 pt" rules OK :-) (Oh yes, and Knuth allows spaces before the unit while CSS does not : Knuth 2, CSS 0). ** Phil. From asnd at triumf.ca Sun Nov 30 22:51:14 2008 From: asnd at triumf.ca (Donald Arseneau) Date: 30 Nov 2008 13:51:14 -0800 Subject: [texhax] Add space and separator except at top of page in LaTeX In-Reply-To: <18737.63436.412500.946824@zaphod.ms25.net> References: <493179C5.3080702@email.com> <49319003.1070908@Rhul.Ac.Uk> <18737.63436.412500.946824@zaphod.ms25.net> Message-ID: Reinhard Kotucha writes: > The only primitive which had been changed that I'm aware of is \input. How could you forget \end? That causes a help message to be terribly wrong. There are others such as \sqrt and \par. \box should have been redefined, but was not. -- Donald Arseneau asnd at triumf.ca