From seson at gmx.de Mon Dec 1 06:52:55 2008 From: seson at gmx.de (Sebastian Songemann) Date: Mon, 01 Dec 2008 06:52:55 +0100 Subject: [texhax] list all uncited references in bibtex file (not include) Message-ID: <20081201055255.217010@gmx.net> Hi, I have a bibtex file with a lot of references. Now I'd like to see all references I haven't cited in the paper. Is that possible? I've seen a solution how to include all references in the document, but this is not what I want. Regards, Sebastian -- Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL f?r nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a From joseph.thodiyil at ge.com Mon Dec 1 16:38:47 2008 From: joseph.thodiyil at ge.com (Thodiyil, Joseph (GE Infra, Aviation, US)) Date: Mon, 1 Dec 2008 10:38:47 -0500 Subject: [texhax] Sample .tex source files In-Reply-To: <200811261601.mAQG1xYJ024443@strawberry.ncifcrf.gov> References: <50FC40D9AF0EB140A7139E343E393BC70A0BE548@CINMLVEM24.e2k.ad.ge.com> from "Thodiyil, Joseph" at "Nov 25, 2008 10:44:12 am" <200811261601.mAQG1xYJ024443@strawberry.ncifcrf.gov> Message-ID: <50FC40D9AF0EB140A7139E343E393BC70A10F23E@CINMLVEM24.e2k.ad.ge.com> Dr. Schneider, Thank you for the link. It was quite useful. Regards, 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 -----Original Message----- From: Tom Schneider [mailto:toms at ncifcrf.gov] Sent: Wednesday, November 26, 2008 11:02 AM To: Thodiyil, Joseph (GE Infra, Aviation, US) Cc: texhax Subject: Re: [texhax] Sample .tex source files 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 joseph.thodiyil at ge.com Mon Dec 1 16:41:01 2008 From: joseph.thodiyil at ge.com (Thodiyil, Joseph (GE Infra, Aviation, US)) Date: Mon, 1 Dec 2008 10:41:01 -0500 Subject: [texhax] Sample .tex source files In-Reply-To: References: <50FC40D9AF0EB140A7139E343E393BC70A0BE548@CINMLVEM24.e2k.ad.ge.com> Message-ID: <50FC40D9AF0EB140A7139E343E393BC70A10F24D@CINMLVEM24.e2k.ad.ge.com> Axel, This is quite useful information. Thanks, Joseph Thodiyil (513) 552-2059 DC 8*892-2059 -----Original Message----- From: Axel E. Retif [mailto:axel.retif at mac.com] Sent: Wednesday, November 26, 2008 2:43 AM To: Thodiyil, Joseph (GE Infra, Aviation, US) Cc: texhax at tug.org Subject: Re: [texhax] Sample .tex source files 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 bahuroopi at gmail.com Mon Dec 1 23:35:52 2008 From: bahuroopi at gmail.com (Arvind Marathe) Date: Tue, 2 Dec 2008 04:05:52 +0530 Subject: [texhax] How to wrap within pagewidth in \verb mode? Message-ID: <999898700812011435ga0ec7c5j9c12f7a8c410c44e@mail.gmail.com> Dear all, I am preparing a manuscript for a certain journal, which demands tables in the format \section*{Tables} \subsection*{Table 1 - short title for table 1} \verb|{detailed caption for table 1}| . . . remaining table . . . However, latex tries to fit the detailed caption in \verb in a single row/line on the page, so that only part of the caption is actually visible. How do i wrap this text, so that it moves over to the next line(s) beyond pagewidth? Thanks in advance. Regards, Arvind From daleif at imf.au.dk Tue Dec 2 00:11:18 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 02 Dec 2008 00:11:18 +0100 Subject: [texhax] How to wrap within pagewidth in \verb mode? In-Reply-To: <999898700812011435ga0ec7c5j9c12f7a8c410c44e@mail.gmail.com> References: <999898700812011435ga0ec7c5j9c12f7a8c410c44e@mail.gmail.com> Message-ID: <49346F16.8040404@imf.au.dk> Arvind Marathe wrote: > Dear all, > > I am preparing a manuscript for a certain journal, which demands > tables in the format > > \section*{Tables} > \subsection*{Table 1 - short title for table 1} > \verb|{detailed caption for table 1}| > . > . > . > remaining table > . > . > . > > > However, latex tries to fit the detailed caption in \verb in a single > row/line on the page, so that only part of the caption is actually > visible. How do i wrap this text, so that it moves over to the next > line(s) beyond pagewidth? > > Thanks in advance. > > Regards, > Arvind > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org I would ask the journal, they made the demand, so they have to answer. -- /daleif From P.Taylor at Rhul.Ac.Uk Tue Dec 2 00:33:10 2008 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Mon, 01 Dec 2008 23:33:10 +0000 Subject: [texhax] How to wrap within pagewidth in \verb mode? In-Reply-To: <49346F16.8040404@imf.au.dk> References: <999898700812011435ga0ec7c5j9c12f7a8c410c44e@mail.gmail.com> <49346F16.8040404@imf.au.dk> Message-ID: <49347436.9040109@Rhul.Ac.Uk> Lars Madsen wrote: > I would ask the journal, they made the demand, so they have to answer. Perhaps more to the point, what is the "\verb" intended to accomplish ? Do they simply want that text monospaced, or is there more to it than that ? Philip TAYLOR From s.schwartz at imperial.ac.uk Tue Dec 2 02:10:06 2008 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Tue, 02 Dec 2008 01:10:06 +0000 Subject: [texhax] pack'n'go latex files Message-ID: <1228180206.4858.27.camel@sony-sjs.sp.ph.ic.ac.uk> (I sent this to the beamer list, but someone here may have had similar needs and/or be interested in using or improving my hack solution) ------------------------ I have some requests for copies of my presentations over the years, and some people would obviously prefer ppt files so they can edit them, copy the graphics in full resolution, etc. Of course, I can't give them that, so I offer my latex source. This isn't always easy, as I leave the graphics files in sensible locations (for me) and just set the GraphicsPath to find them all. With a big presentation this can be lots of files scattered all over my hard-drive, and I often thought about trying to automate the process. Today, after another request, I had a go at this by writing a script that searches through the log file, finds all the graphics (they are called out with a very specific form: ), generates a shell script that then copies these all, together with the latex source, to a target directory, and finally tar's it up. I append the script in case anyone finds it useful. But it is a quick hack and far from perfect, so I'm wondering if someone has done a better job, or has the interest in improving mine. Here are some of the deficiencies: 1 It doesn't find the graphics files that are in folders specified by my TEXINPUTS environment (nor I presume in tex's default paths) as these don't have a full path hierarchy in the log, i.e., they look like: 2 As written it only packs the top level latex document (that matches the stem of the logfile name), so any included or inputted files don't end up in my archive (I haven't tried to solve this, so maybe it's easy to likewise spot them) 3 It also doesn't add any custom .sty files, though distinguishing these from the plethora of packages loaded by beamer and available in the standard distribution is probably a nightmare. 4 It's probably very inelegant - I'm not really a script writer, more of a hacker, in particular: 5 It will fail if the graphics file extends over three lines :-). I hit this one because the log file wraps lines with a newline character after 79 characters. 6 To be more universal, it would be better to be written in a portable scripting language, e.g., perl, rather than as a C-script This is not at all pressing, but any thoughts, improvements, or alternatives would satisfy some curiosity. I'll send this also to the texhax mailing list, but I think it is probably more likely to be of interest to the beamer community. Steve ============================ cut here ============================= #!/bin/csh # # Script to pack up a latex doc and graphics. # # Packs: graphics, latex source and, if found, final pdf # # Limitations (would be possible to enhance): # Doesn't find graphics that are stored in standard latex path, # i.e., that don't have with full path in .log file # Only picks up parent tex file, no included/input files # # history # # SJS Dec 2008 if ($#argv < 2) then echo "Usage: packtex.sh " exit endif if (-d $2) then echo $2 "already exists - exiting" exit endif # put temporary files in /tmp to be sure user can execute # (in my system, I keep .tex files on a fat32 partition, which # is not executable if (-e /tmp/packtex_cp.sh) then rm -f /tmp/packtex_cp.sh endif mkdir $2 # sed script below: # Finds lines with by $1 and new line # grep's only these lines and puts them in file in /tmp sed -e '// $1\n/g' $1.log | grep "cp -u" > /tmp/packtex_cp.sh # now make that file executable and execute it. Pass target directory as argument chmod u+x /tmp/packtex_cp.sh /bin/csh /tmp/packtex_cp.sh $2 # clean up rm /tmp/packtex_cp.sh # copy latex source and final pdf cp $1.tex $2 if (-e $1.pdf) then cp $1.pdf $2 endif # bundle tar -cvzf $1.tgz $2 exit =================================== cut here ========================== -- +-------------------------------------------------------------------+ 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 tonightsthenight at gmail.com Tue Dec 2 03:58:02 2008 From: tonightsthenight at gmail.com (Sam Albers) Date: Mon, 1 Dec 2008 18:58:02 -0800 Subject: [texhax] Greek letters with superscripts in list environment Message-ID: Hello, For some reason I can't get LaTex to produce a greek letter with a supercript while in a list environment. Is there any way around this issue? Here is part of my file: \begin{itemize} \item The ratio of flow depth to grain size (A) \item the density ratio (B) \item the Reynolds number (Re) \item the Froude number (Fr) *\item shear stress ($\tau$^{*})* \end{itemize} This doesn't work. However with the superscript it works fine. Any ideas? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081201/4bd5682b/attachment.html From justin at mac.com Tue Dec 2 04:35:29 2008 From: justin at mac.com (Justin C. Walker) Date: Mon, 01 Dec 2008 19:35:29 -0800 Subject: [texhax] Greek letters with superscripts in list environment In-Reply-To: References: Message-ID: <6D3F616A-E1F3-4164-852E-1D28725D1049@mac.com> Hi, On Dec 1, 2008, at 18:58 , Sam Albers wrote: > For some reason I can't get LaTex to produce a greek letter with a > supercript while in a list environment. Is there any way around this > issue? > Here is part of my file: > > \begin{itemize} > > \item The ratio of flow depth to grain size (A) > > \item the density ratio (B) > > \item the Reynolds number (Re) > > \item the Froude number (Fr) > > *\item shear stress ($\tau$^{*})* > > \end{itemize} > > > This doesn't work. This is a pretty vague description of your problem. As a rule, it helps to be specific about what is wrong, including error messages or "bad output". If the example is "long", posting it on the web is preferable to including it in email (your minimal example here is just right) (if I understand what you're asking). > However with the superscript it works fine. Any ideas? I don't know what "with the superscript" means. A couple of perhaps silly questions: - did you mean to try "exponentiation" outside the math environment? - are the outer '*'s just calling attention to the problematic line? FWIW, if I use $\tau^{*}$, it typesets just fine. Am I misunderstanding your problem? Justin -- Justin C. Walker, Curmudgeon-at-Large () The ASCII Ribbon Campaign /\ Help Cure HTML Email From skinner4 at cox.net Tue Dec 2 00:46:26 2008 From: skinner4 at cox.net (Lindsay Skinner) Date: Mon, 1 Dec 2008 15:46:26 -0800 Subject: [texhax] Maple to LaTeX Message-ID: <001501c9540f$064c5c00$174a6b44@YOUR47375C5FC1> I'm trying to prepare a LaTex typeset document containing Maple worksheets. I thought I had this figured out after I learned to export from Maple to laTex and also found the maple2e package in my Maple directory. However, when I went to typeset my test document what I got in LaTex turned out to barely compare with the original Maple. Can someone please help me? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081201/b7419a82/attachment.html From Herbert.Voss at FU-Berlin.DE Tue Dec 2 10:02:20 2008 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 02 Dec 2008 10:02:20 +0100 Subject: [texhax] pack'n'go latex files In-Reply-To: <1228180206.4858.27.camel@sony-sjs.sp.ph.ic.ac.uk> References: <1228180206.4858.27.camel@sony-sjs.sp.ph.ic.ac.uk> Message-ID: <4934F99C.7090405@FU-Berlin.DE> Steve Schwartz schrieb: > Today, after another request, I had a go at this by writing a script > that searches through the log file, finds all the graphics (they are > called out with a very specific form: ), > generates a shell script that then copies these all, together with the > latex source, to a target directory, and finally tar's it up. I append > the script in case anyone finds it useful. http://dante.ctan.org/CTAN/help/Catalogue/entries/mkjobtexmf.html Herbert From daleif at imf.au.dk Tue Dec 2 10:07:40 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 02 Dec 2008 10:07:40 +0100 Subject: [texhax] Maple to LaTeX In-Reply-To: <001501c9540f$064c5c00$174a6b44@YOUR47375C5FC1> References: <001501c9540f$064c5c00$174a6b44@YOUR47375C5FC1> Message-ID: <4934FADC.6090107@imf.au.dk> Lindsay Skinner wrote: > I'm trying to prepare a LaTex typeset document containing Maple worksheets. I thought I had this figured out after I learned to export from Maple to laTex and also found the maple2e package in my Maple directory. However, when I went to typeset my test document what I got in LaTex turned out to barely compare with the original Maple. Can someone please help me? > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 isn't there a set of fonts o be installed also? (why don't maplesoft place this on CTAN instead, so much easier for users) -- /daleif From vi5u0-texhax at yahoo.co.uk Tue Dec 2 17:22:32 2008 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Tue, 2 Dec 2008 16:22:32 +0000 (GMT) Subject: [texhax] !Package utf8x Error: MalformedUTF-8sequence [solved] In-Reply-To: References: Message-ID: On Thu, 27 Nov 2008, Dan Hatton wrote: > a LaTeX document and BibTeX > database, which fail to compile with the error message It seems all I needed to do was enclose the author's name in the BibTeX database in braces. The result was that BibTeX, which had previously been writing single escape sequences into the bbl file for certain unicode characters (e.g. "\320" for "?"), instead started writing either (correct) pairs of escape sequences, or unicode directly into the bbl. -- Dan From s.schwartz at imperial.ac.uk Wed Dec 3 02:25:11 2008 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Wed, 03 Dec 2008 01:25:11 +0000 Subject: [texhax] [Latex-beamer-users] pack'n'go beamer files In-Reply-To: <4934F94D.1000102@alumni.tu-berlin.de> References: <1228180074.4858.25.camel@sony-sjs.sp.ph.ic.ac.uk> <200812020945.25701.meine@informatik.uni-hamburg.de> <4934F94D.1000102@alumni.tu-berlin.de> Message-ID: <1228267511.5000.19.camel@sony-sjs.sp.ph.ic.ac.uk> Thanks to several who responded. A kpsewhich tip did help me fix my original script to pick up figures which show up in the aux file as relative paths. On Tue, 2008-12-02 at 10:01 +0100, Herbert Voss wrote: > http://dante.ctan.org/CTAN/help/Catalogue/entries/mkjobtexmf.html But this suggestion was much more to the point - indeed an overkill for what I wanted, and on its own didn't quite do the job so I built something elaborate around it before I realised that everything I needed was provided by tex's -recorder option. So I stripped out everything else to leave the attached script that runs any flavour of (la)tex - pdflatex by default - with -recorder, extracts from the .fls file list file that it generates the input files, throws away all the files in the base texmf installation hierarchy to leave .tex files, any user-specific .sty, etc., files, graphics files, etc., together with tha aux, toc, bbl, etc. I think this should work with \included and \inputted constructs, because everything is processed and recorded. The paths in the .fls file are full paths, which makes the final stage easy to copy them into a target directory and tar them up. This won't always result in a set of files that will (la)tex out of the box if the user has put variosu components in some kind of directory structure and has built the relative paths into their latex source (e.g., a folder containing the latex sources for individual chapters of a book) as it flattens such a structure. In the worst case, if the same filenames are used in different chapters it will overwrite them. But for such a project, I'd imagine the author would organise their work anyway and could simply bundle up the whole hierarchy. But for my purposes of bundling up a beamer presentation for someone else, the attached seems to work well, and there is much room for improvement should someone be interested. :-) In particular, someone out there will probably have a more universal way of identifying paths that point to the texmf installation directory. My solution (by navigating around my texlive directories) was to locate texmf.cnf and use that directory as living above all the installation files. Cheers 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 +-------------------------------------------------------------------+ -------------- next part -------------- A non-text attachment was scrubbed... Name: packngotex.sh Type: application/x-csh Size: 2668 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20081203/62d27c8e/attachment.csh From SDittmar at eureca.de Wed Dec 3 10:00:12 2008 From: SDittmar at eureca.de (Susan Dittmar) Date: Wed, 3 Dec 2008 10:00:12 +0100 Subject: [texhax] Specifying a default path for text in the inputted file In-Reply-To: References: Message-ID: <20081203090012.GA7539@eureca.de> Quoting Sumit Rangwala (srangwal at usc.edu): > Thanks to Donald I found a way to input my file. In case that email came to you personally only and not on the mailing list, could you perhaps post the solution here too? I have the same problem, and although I solved it, my solution is not very elegant... Thanks, Susan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20081203/9c488f93/attachment.bin From srangwal at usc.edu Wed Dec 3 11:08:46 2008 From: srangwal at usc.edu (Sumit Rangwala) Date: Wed, 3 Dec 2008 02:08:46 -0800 Subject: [texhax] Fwd: Specifying a default path for text in the inputted file In-Reply-To: References: Message-ID: Forwarding Donald's reply as per Susan's request. ---------- Forwarded message ---------- From: Donald Arseneau Date: Sat, Nov 29, 2008 at 3:14 PM Subject: Re: [texhax] Specifying a default path for text in the inputted file To: Sumit Rangwala "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 -- Donald Arseneau asnd at triumf.ca -- Sumit Rangwala PhD Candidate University of Southern California http://enl.usc.edu/~srangwal From karl at freefriends.org Wed Dec 3 20:20:30 2008 From: karl at freefriends.org (Karl Berry) Date: Wed, 3 Dec 2008 13:20:30 -0600 Subject: [texhax] December 2008 TUG news Message-ID: <200812031920.mB3JKUe08205@f7.net> Dear TeX users, The usual round of updates ... - Software: The TeX Collection DVD was mailed a few weeks ago to all (non-electronic) TUG members. It contains the new releases of TeX Live, ProTeXt, MacTeX, and a CTAN snapshot. http://tug.org/texcollection/ - TUGboat: the third issue for 2008 was mailed a few weeks ago. The next TUGboat issue will appear in spring 2009. Articles are most welcome, as always; the deadline for submissions is March 31. http://tug.org/TUGboat/ - Interview Corner: an interview with Boguslaw Jackowski and Janusz Marian Nowacki, with samples of many of their fonts, has been posted. Work on the printed book of interviews is continuing. http://tug.org/interviews/ - Donations: a reminder that TUG has received a renewed development grant from the same anonymous donor who generously provided support last year, including a matching challenge of $10,000. We are raising some institutional support, but individual contributions of any size are very welcome and very important, both to TUG and to the donor. So please consider donating to the development fund in general, or a specific development project: https://www.tug.org/donate/ - The journal Mathematics in Computer Science has issued a call for papers for a special issue on authoring, digitalization and management of mathematical knowledge, topics that have always been part of the TeX world. The deadline is January 5, 2009. http://www-ags.dfki.uni-sb.de/~serge/admmk09/ - One bit of Knuthian news: Knuth is no longer routinely writing personal checks to finders of bugs, but creating personal certificates of deposit (in hexadecimal dollars) at the Bank of San Seriffe. http://www-cs-faculty.stanford.edu/~knuth/news08.html And the upcoming 2009 TeX conferences: - BachoTeX 2009 will be held in Bachotek, Poland, from April 29-May 3, 2009. http://www.gust.org.pl/BachoTeX/2009/main-en.html - TUG 2009 will be held at the University of Notre Dame in South Bend, Indiana, USA, from July 28-31, 2009. http://tug.org/tug2009/ - EuroTeX 2009 will be held in The Hague, The Netherlands, from August 24-28, 2009. http://www.ntg.nl/EuroTeX2009/ As always, we appreciate your support! Happy TeXing, Karl Berry (President) on behalf of the TUG Board http://www.tug.org/ From zohar at math.haifa.ac.il Wed Dec 3 19:49:39 2008 From: zohar at math.haifa.ac.il (zohar at math.haifa.ac.il) Date: Wed, 3 Dec 2008 20:49:39 +0200 Subject: [texhax] Tex - PDF fonts are not embedded Message-ID: <1228330179.4936d4c370df6@webmail.haifa.ac.il> Dear system support team member, I am using Tex to create PDF files. When I am trying to include Postscript files in the Latex file, in the dvi file created by Tex, some of the fonts are not embedded. As a result, though the plot is presented, some of the fonts (e.g., the titles) do not appear in the PDF file. Could you please advice me how to config either Tex, or the Postscript file to overcome this problem ? I know that this type of problem is often generated by Gnuplot. I was told that one way to deal with it is to add the gnuplot script the following line: set terminal postscript eps enhanced "NimbusSanI-Regu" fontfile "uhvr8a.pfb" 26 However, I have no idea how to config the plot created by Tex. Thank you in advance, Zohar Naor ------------------------------------------------------------------------ This message was sent using IMP, the Webmail Program of Haifa University From Eugen.Dedu at pu-pm.univ-fcomte.fr Wed Dec 3 22:31:32 2008 From: Eugen.Dedu at pu-pm.univ-fcomte.fr (Eugen Dedu) Date: Wed, 03 Dec 2008 22:31:32 +0100 Subject: [texhax] Two questions for latex Message-ID: <4936FAB4.9030007@pu-pm.univ-fcomte.fr> Hi, 1. What's the difference between \columnwidth and \linewidth? 2. What does pdftex option do in \usepackage[pdftex]{graphicx} ? I have searched the Web, without luck. Thanks, -- Eugen Dedu From seson at gmx.de Thu Dec 4 08:05:51 2008 From: seson at gmx.de (Sebastian Songemann) Date: Thu, 04 Dec 2008 08:05:51 +0100 Subject: [texhax] apalike and natbib Message-ID: <20081204070551.289610@gmx.net> Hi, I'm using natbib and apalike as bibliography style. Basically, I don't care about the bib-style, but I need two things: - reversed and sorted names in the bibliography section - author access (which alpha doesn't have for instance) My problem now is that apalike does not print locations of books for example. Apalike ignores some fields in a bibtex-entry. Can I somehow define that it will be included? Sebastian -- Sensationsangebot verl?ngert: GMX FreeDSL - Telefonanschluss + DSL f?r nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a From deindl at soziologie.uzh.ch Thu Dec 4 10:46:13 2008 From: deindl at soziologie.uzh.ch (Christian Deindl) Date: Thu, 04 Dec 2008 10:46:13 +0100 Subject: [texhax] apacite and url In-Reply-To: <20081204070551.289610@gmx.net> References: <20081204070551.289610@gmx.net> Message-ID: <4937A6E5.7010004@soziologie.uzh.ch> hi, I have two questions. I'm using apacite as bibliography style. Two of my bibtex entries need to be cited with an url. unfourtunately this produces an error message "missing $ inserted". Is there a way to cite an url? perhaps I need an additional package? the second question is somewaht related to the first. since my paper is in german, is there a good german style, who is also able to handle weblinks? thanks in advance, christian From tigran at bibles.org.uk Thu Dec 4 12:28:34 2008 From: tigran at bibles.org.uk (Tigran Aivazian) Date: Thu, 4 Dec 2008 11:28:34 +0000 (GMT) Subject: [texhax] How to reverse the columns in "twocolumn" layout? In-Reply-To: References: <486C33AC.2070803@comcast.net> Message-ID: Thank you, Donald! I confirm that your changes work just fine. (but in our case we'll have to make more changes because we already have hooks in \@outputdblcol for correct positioning of marn output in twocolumn case, so there is a bit more work but it is all doable). Thanks again for your help. Kind regards Tigran On Fri, 21 Nov 2008, Donald Arseneau wrote: > > 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 > _______________________________________________ > 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 axel.retif at mac.com Thu Dec 4 10:20:44 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 04 Dec 2008 03:20:44 -0600 Subject: [texhax] Tex - PDF fonts are not embedded In-Reply-To: <1228330179.4936d4c370df6@webmail.haifa.ac.il> References: <1228330179.4936d4c370df6@webmail.haifa.ac.il> Message-ID: <7B86BB78-F664-46A0-B2F8-F47F55CA229F@mac.com> On 3 Dec, 2008, at 12:49, zohar at math.haifa.ac.il wrote: > Dear system support team member, > > I am using Tex to create PDF files. > When I am trying to include Postscript files in the Latex file, in > the dvi file > created by Tex, some of the fonts are not embedded. As a result, > though the > plot is presented, some of the fonts (e.g., the titles) do not > appear in the > PDF file. > Could you please advice me how to config either Tex, or the > Postscript file > to overcome this problem ? > I know that this type of problem is often generated by Gnuplot. > I was told that one way to deal with it is to add the gnuplot script > the > following line: > set terminal postscript eps enhanced "NimbusSanI-Regu" fontfile > "uhvr8a.pfb" 26 > > However, I have no idea how to config the plot created by Tex. You don't say which TeX distribution you're using, which is important. I'll tell you what *I* do (TeX Live 2008 on Mac OS X): First, to understand what's going on, please read two documents (this should work both with TeX Live on Linux, Mac or Windows, as well as with MiKTeX on Windows): at your terminal or Command Prompt type texdoc updmap texdoc updmap.cfg Six pages in total. Now (and I repeat, this is what I do, but I don't know what distro you're using) tell updmap to use outline fonts whenever possible and to always embed all fonts (the following are five lines with, obviously, after each one): sudo updmap-sys --nohash --nomkmap --setoption dvipsPreferOutline true sudo updmap-sys --nohash --nomkmap --setoption dvipsDownloadBase35 true sudo updmap-sys --nohash --nomkmap --setoption pdftexDownloadBase14 true sudo updmap-sys --nohash --nomkmap --setoption dvipdfmDownloadBase14 true sudo updmap-sys The `` --nohash --nomkmap '' in the first four lines is just to tell updmap to hold any actual change until the last command. Best, Axel From ivan.varzinczak at gmail.com Thu Dec 4 11:44:06 2008 From: ivan.varzinczak at gmail.com (=?ISO-8859-1?Q?Ivan_Jos=E9_Varzinczak?=) Date: Thu, 4 Dec 2008 12:44:06 +0200 Subject: [texhax] apacite and url In-Reply-To: <4937A6E5.7010004@soziologie.uzh.ch> References: <20081204070551.289610@gmx.net> <4937A6E5.7010004@soziologie.uzh.ch> Message-ID: Hi, \usepackage{url} in the preamble \url{your url here} in your bib entry Cheers, Ivan On Dec 4, 2008, at 11:46 AM, Christian Deindl wrote: > hi, > > I have two questions. > > I'm using apacite as bibliography style. > Two of my bibtex entries need to be cited with an url. > unfourtunately this produces an error message "missing $ inserted". > Is there a way to cite an url? > perhaps I need an additional package? > > the second question is somewaht related to the first. > since my paper is in german, is there a good german style, who is also > able to handle weblinks? > > thanks in advance, > > christian > _______________________________________________ > 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 -- Ivan Jos? Varzinczak - http://ksg.meraka.org.za/~ivarzinczak Researcher in Logic-based Knowledge Representation and Reasoning Knowledge Systems Group - Meraka Institute - CSIR - Pretoria SA "Se deres as costas ? luz, nada mais ver?s do que tua pr?pria sombra." Zalkind Piatigorsky -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081204/06b9f1e2/attachment-0001.html From daleif at imf.au.dk Thu Dec 4 17:05:14 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 04 Dec 2008 17:05:14 +0100 Subject: [texhax] Two questions for latex In-Reply-To: <4936FAB4.9030007@pu-pm.univ-fcomte.fr> References: <4936FAB4.9030007@pu-pm.univ-fcomte.fr> Message-ID: <4937FFBA.7000609@imf.au.dk> Eugen Dedu wrote: > Hi, > > 1. What's the difference between \columnwidth and \linewidth? \columnwidth is what it says, used in e.g. twocolumn mode and in the multicols env. \linewidth is the current line width \linewidth has different value depending on where you are, e.g. \begin{enumerate} \item \linewidth here has a different value than \end{enumerate} here, where it will usually be equal to \textwidth > 2. What does pdftex option do in \usepackage[pdftex]{graphicx} ? > latex and pdflatex can handle different formats, so the option tells graphicx to handle a specific senario. Though I would not recommend specifying a driver (like pdftex) to graphicx, it can detect the right one by it self. Though if you use dvipdfm(x) then you need to specify that driver to graphicx. > I have searched the Web, without luck. > > Thanks, -- /daleif From alan at alphabyte.co.nz Thu Dec 4 20:18:55 2008 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Fri, 5 Dec 2008 08:18:55 +1300 (NZDT) Subject: [texhax] apacite and url In-Reply-To: <4937A6E5.7010004@soziologie.uzh.ch> References: <20081204070551.289610@gmx.net> <4937A6E5.7010004@soziologie.uzh.ch> Message-ID: <35896.156.62.3.23.1228418335.squirrel@webmail.ak.planet.gen.nz> Hi Christian, I can't answer your second question, but as to the first the use of url's is extensively handled in the document apacite.pdf. If you have TeXLive you already have this, or you can get it from your local ctan mirror. Basically you can use either url = {...} as a bib field or you can use \url{...} within a field, say howpublished = {...\url{...}...} for example. HIH Alan Christian Deindl wrote: > hi, > > I have two questions. > > I'm using apacite as bibliography style. > Two of my bibtex entries need to be cited with an url. > unfourtunately this produces an error message "missing $ inserted". > Is there a way to cite an url? > perhaps I need an additional package? > > the second question is somewaht related to the first. > since my paper is in german, is there a good german style, who is also > able to handle weblinks? > > thanks in advance, > > christian > From alan at alphabyte.co.nz Thu Dec 4 20:25:04 2008 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Fri, 5 Dec 2008 08:25:04 +1300 (NZDT) Subject: [texhax] apalike and natbib In-Reply-To: <20081204070551.289610@gmx.net> References: <20081204070551.289610@gmx.net> Message-ID: <40646.156.62.3.23.1228418704.squirrel@webmail.ak.planet.gen.nz> Hi Sebastian, I would not be using apalike, it is somewhat old. Instead I would be using apacite. Using this you should find these issues are resolved and you should not have to use natbib too, unless you want to of course. Alan Sebastian Songemann wrote: > Hi, > > I'm using natbib and apalike as bibliography style. Basically, I don't care > about the bib-style, but I need two things: > > - reversed and sorted names in the bibliography section > - author access (which alpha doesn't have for instance) > > My problem now is that apalike does not print locations of books for example. > Apalike ignores some fields in a bibtex-entry. Can I somehow define that it > will be included? > -- Alan Litchfield MBus (Hons), MNZCS AlphaByte PO Box 1941, Auckland http://www.alphabyte.co.nz From thomasjacobs at gmail.com Thu Dec 4 20:42:38 2008 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Thu, 4 Dec 2008 13:42:38 -0600 Subject: [texhax] Help with displaying optional bibliography fields with Bibtex Message-ID: <8f1b7b690812041142t4fe1d49ci5a4875e3ce536cf8@mail.gmail.com> Newbie question. I am trying to understand where to look if I have bibtex entries with optional fields such as month in an article entry and they are not displayed in my bibliography. I am using a style file recommended for Finance papers (jf.bst) but am unfamiliar with the details of how such files work with/control bibliography entries. I scanned through the style file and found the following entry: FUNCTION {article} { output.bibitem format.authors "author" output.check author format.key output format.date "year" output.check format.title "title" output.check crossref missing$ { journal emphasize "journal" output.check format.vol.num.pages output } { format.article.crossref output.nonnull format.pages output } if$ note output fin.entry } which coincidently seems to specify just year for date format on an article. Is this typical or am I mistaken? Is the workaround to create a year entry with month and date included in my bibtex entries or is this a bad idea? Thanks. Tom -- Thomas Jacobs From philip.ratcliffe at fastwebnet.it Fri Dec 5 08:14:56 2008 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Fri, 5 Dec 2008 08:14:56 +0100 Subject: [texhax] Help with displaying optional bibliography fields withBibtex In-Reply-To: <8f1b7b690812041142t4fe1d49ci5a4875e3ce536cf8@mail.gmail.com> Message-ID: <949D55A39ADB4A25B95E468C9D4745C7@PGR1> > Newbie question. I am trying to understand where to look if > I have bibtex entries with optional fields such as month in > an article entry and they are not displayed in my > bibliography. I am using a style file recommended for > Finance papers (jf.bst) but am unfamiliar with the details of > how such files work with/control bibliography entries. I > scanned through the style file and found the following entry: > > FUNCTION {article} > { output.bibitem > format.authors "author" output.check > author format.key output > format.date "year" output.check > format.title "title" output.check > crossref missing$ > { journal emphasize "journal" output.check > format.vol.num.pages output > } > { format.article.crossref output.nonnull > format.pages output > } > if$ > note output > fin.entry > } > > which coincidently seems to specify just year for date format > on an article. Is this typical or am I mistaken? Is the > workaround to create a year entry with month and date > included in my bibtex entries or is this a bad idea? Thanks. Your analysis is correct: this BibTeX style does not include month and day. Either you find a style already made that does what you want or you have to hack the bst you're using. The latter is relatively simple once you know what you're doing, but you would have to learn a little of the language and programming used. If you feel up to it, most (I think) distros include a file called btxhak.dvi, which explains the basics fairly well. Good luck, Phil From thomasjacobs at gmail.com Fri Dec 5 17:38:59 2008 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Fri, 5 Dec 2008 10:38:59 -0600 Subject: [texhax] Help with displaying optional bibliography fields withBibtex In-Reply-To: <949D55A39ADB4A25B95E468C9D4745C7@PGR1> References: <8f1b7b690812041142t4fe1d49ci5a4875e3ce536cf8@mail.gmail.com> <949D55A39ADB4A25B95E468C9D4745C7@PGR1> Message-ID: <8f1b7b690812050838p201a4eaete5163d1523a757b9@mail.gmail.com> Philip, Thanks very much for the reply and explanation. Tom On Fri, Dec 5, 2008 at 1:14 AM, Philip G. Ratcliffe wrote: >> Newbie question. I am trying to understand where to look if >> I have bibtex entries with optional fields such as month in >> an article entry and they are not displayed in my >> bibliography. I am using a style file recommended for >> Finance papers (jf.bst) but am unfamiliar with the details of >> how such files work with/control bibliography entries. I >> scanned through the style file and found the following entry: >> >> FUNCTION {article} >> { output.bibitem >> format.authors "author" output.check >> author format.key output >> format.date "year" output.check >> format.title "title" output.check >> crossref missing$ >> { journal emphasize "journal" output.check >> format.vol.num.pages output >> } >> { format.article.crossref output.nonnull >> format.pages output >> } >> if$ >> note output >> fin.entry >> } >> >> which coincidently seems to specify just year for date format >> on an article. Is this typical or am I mistaken? Is the >> workaround to create a year entry with month and date >> included in my bibtex entries or is this a bad idea? Thanks. > > Your analysis is correct: this BibTeX style does not include month and day. > Either you find a style already made that does what you want or you have to > hack the bst you're using. The latter is relatively simple once you know > what you're doing, but you would have to learn a little of the language and > programming used. If you feel up to it, most (I think) distros include a > file called btxhak.dvi, which explains the basics fairly well. > > Good luck, Phil > > -- Thomas Jacobs From tobias_mur at yahoo.it Fri Dec 5 19:58:22 2008 From: tobias_mur at yahoo.it (Tobias Mur) Date: Fri, 05 Dec 2008 19:58:22 +0100 Subject: [texhax] Error Message Message-ID: <493979CE.7080905@yahoo.it> Hi Since i upgraded my operating system to OSX 10.5 latex wouldn't work right anymore. It gives me the following error message: /Users/tobiasmur/Library/TeXShop/bin/platex2pdf-euc: line 12: ptex: command not found What can i do? Thanks From axel.retif at mac.com Sat Dec 6 08:07:48 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Sat, 06 Dec 2008 01:07:48 -0600 Subject: [texhax] Error Message In-Reply-To: <493979CE.7080905@yahoo.it> References: <493979CE.7080905@yahoo.it> Message-ID: On 5 Dec, 2008, at 12:58, Tobias Mur wrote: > Hi > > Since i upgraded my operating system to OSX 10.5 latex wouldn't work > right anymore. > It gives me the following error message: > > /Users/tobiasmur/Library/TeXShop/bin/platex2pdf-euc: line 12: ptex: > command not found > > What can i do? Please tell us what TeX distribution you're using and how did you upgrade to 10.5 (Archive and Install?). If you're using pLaTeX, then I assume you're preparing Japanese texts, right? Indeed, /Users//Library/TeXShop/bin/platex2pdf-euc has export PATH=$PATH:/usr/local/bin:/usr/local/teTeX/bin and /usr/local/teTeX doesn't exist any more in MacTeX; this was used in gwTeX, which indeed had pTeX. Best, Axel From admmk09 at easychair.org Fri Dec 5 16:13:49 2008 From: admmk09 at easychair.org (admmk09 at easychair.org) Date: Fri, 5 Dec 2008 16:13:49 +0100 Subject: [texhax] 2nd CFP: Special Issue Authoring, Digitalization and Management of Mathematical Knowledge Message-ID: <200812051513.mB5FDnv7027402@dave.dfki.uni-sb.de> [Apologies for multiple copies] Second Call for Papers Mathematics in Computer Science Special Issue on Authoring, Digitalization and Management of Mathematical Knowledge http://www.dfki.de/~serge/admmk09 Guest editors: Serge Autexier, Petr Sojka, Masakazu Suzuki This special issue is devoted to the topics of the seventh International Conference on Mathematical Knowledge Management (MKM'08) and the workshop on Digital Mathematics Libraries (DML'08) which took place in July 2008 in Birmingham, UK. Topics of interest include * Representations of mathematical knowledge * Repositories of formalized mathematics * Mathematical digital libraries * Diagrammatic representations * Multi-modal representations * Mathematical OCR * Deduction systems * Mathematical assistants, tutoring and assessment systems * Authoring languages and tools * MathML, OpenMath, and other mathematical content standards * Web presentation of mathematics * Data mining, discovery, theory exploration * Collaboration tools for mathematics * Search, indexing and retrieval of mathematical documents * Ranking of mathematical papers, similarity of mathematical documents * Mathematical document compression * Processing of scanned images * Algorithms for crosslinking of bibliographical items, intext citations search * Mathematical document classification, MSC 2010 * Mathematical text mining * Inference of semantics for semi-formalized mathematics * Mathematical documents metadata * Long term archiving, data migration * Mathematical publishing with long term archival goal * Handwritten formulae recognition * Recognition and search of mathematical diagrams * E-learning of mathematics Potential contributors may also contact the guest editors to discuss suitability of topics and papers. SUBMISSION GUIDELINES Submission to this special issue is completely open. We expect original articles (typically 15-30 pages) that present high-quality contributions that have not been previously published in an archival venue and that must not be simultaneously submitted for publication elsewhere. Submissions must comply with MCS' author guidelines (http://www.cc4cm.org/mcs/), be written in English, and be formatted using LaTeX. All submitted papers will be refereed according to the usual MCS refereeing process. Submission to this special issue is hereby encouraged via the EasyChair submission system (see URL below). To aid planning and organization, an early e-mail of intent to submit a paper (including author information, and a tentative title and abstract) would be appreciated. IMPORTANT DATES: Submission deadline: 5 January 2009 Notification of acceptance/rejection: 6 March 2009 Submission of revised versions: 17 April 2009 Final notification of acceptance/rejection: 8 May 2009 Submission of camera-ready copies: 29 May 2009 USEFUL ADDRESSES Special issue website: http://www.dfki.de/~serge/admmk09 Submission webpage: http://www.easychair.org/conferences/?conf=admmk09 Guest editors' email address: admmk09 at easychair.org Journal MCS webpage: http://www.cc4cm.org/mcs MKM'08 conference website: http://events.cs.bham.ac.uk/cicm08/mkm08 DML'08 workshop website: http://www.fi.muni.cz/~sojka/dml-2008.xhtml From jbshellan at comcast.net Fri Dec 5 22:09:34 2008 From: jbshellan at comcast.net (Jeffrey B. Shellan) Date: Fri, 5 Dec 2008 14:09:34 -0700 Subject: [texhax] Part time job opening for LaTex technical typing Message-ID: <009a01c9571d$c6b29430$0b00a8c0@precision330a> We are looking for a part time person proficient in LaTex technical typing (physics/math) to prepare reports for an average of 10 hrs/week. Applicant can work out of their home (We are in the Boulder, CO area). Rates open. ------------------ Jeffrey B. Shellan From loeghmon at gmail.com Tue Dec 9 18:10:48 2008 From: loeghmon at gmail.com (Loeghmon T. Nejad) Date: Tue, 9 Dec 2008 12:10:48 -0500 Subject: [texhax] suppress part number Message-ID: <666ccf3a0812090910r61d4e79ag956e796bdd5b1f1@mail.gmail.com> Is there a way to suppress part number such that the entry appears as "Part Primary Education" instead of "Part I Primary Education", in the TOC and everywhere? Thanks. -- Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081209/7d9abcab/attachment.html From chandru.mcc at gmail.com Tue Dec 9 16:33:59 2008 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Tue, 9 Dec 2008 21:03:59 +0530 Subject: [texhax] Help Message-ID: Respected Sir, I am an undergraduate found of Texing. But i need your help. My doubts: How to install XeTex in Windows. I have downloaded it. But unable to understand the installation procedure. How to convert latex 2 html. Pls elaborate. Thanks Chandru From axel.retif at mac.com Wed Dec 10 08:08:58 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Wed, 10 Dec 2008 01:08:58 -0600 Subject: [texhax] Help In-Reply-To: References: Message-ID: <03F47AF2-3A4B-4256-B369-0A3614A2DFD7@mac.com> On 9 Dec, 2008, at 09:33, chandrasekhar s wrote: > Respected Sir, > > I am an undergraduate found of Texing. But i need your help. > > My doubts: > > How to install XeTex in Windows. I have downloaded it. But unable to > understand the installation procedure. You don't say which TeX distribution you are using, but if you have a recent release of TeX Live or MiKTeX, you *already* have XeTeX. No need to install anything, just update your distribution if you haven't done so. > How to convert latex 2 html. Pls elaborate. You should have a document mn.html, which is the manual for TeX4ht; mine, for example, is in /usr/local/texlive/2008/texmf-dist/doc/generic/tex4ht/mn.html so look for it in the doc section of your distribution. Best, Axel From jdc at uwo.ca Wed Dec 10 22:58:53 2008 From: jdc at uwo.ca (Dan Christensen) Date: Wed, 10 Dec 2008 16:58:53 -0500 Subject: [texhax] pack'n'go latex files References: <1228180206.4858.27.camel@sony-sjs.sp.ph.ic.ac.uk> <4934F99C.7090405@FU-Berlin.DE> Message-ID: <87ljun3d5u.fsf@uwo.ca> Herbert Voss writes: > Steve Schwartz schrieb: > >> Today, after another request, I had a go at this by writing a script >> that searches through the log file, finds all the graphics (they are >> called out with a very specific form: ), >> generates a shell script that then copies these all, together with the >> latex source, to a target directory, and finally tar's it up. I append >> the script in case anyone finds it useful. > > http://dante.ctan.org/CTAN/help/Catalogue/entries/mkjobtexmf.html I put \RequirePackage{snapshot} before the \documentclass line, and it produces a .dep file containing (most of) the .sty files used (not sure why it misses some). Then I run bundledoc .dep which makes a .tar file with the required files. This doesn't handle the images used, but is useful for archival purposes in case I need to re-run latex some time far in the future and want to use exactly the same .sty files. I'm curious how it compares with mkjobtexmf, if anyone knows. Dan From karl at freefriends.org Thu Dec 11 02:06:07 2008 From: karl at freefriends.org (Karl Berry) Date: Wed, 10 Dec 2008 19:06:07 -0600 Subject: [texhax] Help In-Reply-To: <03F47AF2-3A4B-4256-B369-0A3614A2DFD7@mac.com> Message-ID: <200812110106.mBB167529617@f7.net> > How to convert latex 2 html. Pls elaborate. In addition to the manual which Axel mention (online at http://www.tug.org/applications/tex4ht/), you might also find Eitan's intro article useful. E.g., see the table on the first page of http://tug.org/TUGboat/Articles/tb25-1/gurari.pdf Running htlatex foo.tex will convert a straightforward latex file foo.tex to foo.html. Hope it helps, Karl From uwe.lueck at web.de Thu Dec 11 03:39:10 2008 From: uwe.lueck at web.de (=?UTF-8?b?VXdlIEzDvGNr?=) Date: Thu, 11 Dec 2008 03:39:10 +0100 Subject: [texhax] suppress part number Message-ID: An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081211/08532308/attachment.html From chandru.mcc at gmail.com Thu Dec 11 17:16:12 2008 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Thu, 11 Dec 2008 21:46:12 +0530 Subject: [texhax] Thanks Message-ID: Respected Sir, Thanks for the instant reply. Suppose i have a MikTex version 2.5 then how do you install XeTex for this one. I hope you understand my problem. The thing is i dont have an internet connection but i have downloaded XeTex. So pls help in installing XeTex for MikTex version 2.5 Thanks Chandru From Faraz_Hasan-S at email.ulster.ac.uk Thu Dec 11 17:13:54 2008 From: Faraz_Hasan-S at email.ulster.ac.uk (Syed Faraz Hasan) Date: Thu, 11 Dec 2008 16:13:54 +0000 Subject: [texhax] Error while executing! Message-ID: Hi everybody! I have installed Latex on windows using cygwin. It is WinShell for Latex 3.2. It reports an illegal error whenever I try saving or executing a document. When I execute using Latex (F5), it gives an error: d:\cygwin\bin\latex.exe The NTVDM CPU has encountered an illegal instruction. CS:0f80 IP:210f OP: 63 69 66 69 65. Choose 'Close' to terminate the application. Please help me! Faraz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081211/de80c500/attachment.html From chandru.mcc at gmail.com Thu Dec 11 17:29:12 2008 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Thu, 11 Dec 2008 21:59:12 +0530 Subject: [texhax] Help Message-ID: Respected Sir, Sorry for the trouble. I have installed MikTex 2.7 but actually the latex software which i downloaded has the MikTex 2.5 involved. Now how to change the directory. I am uSing TexNiccenter. Pls help sorry for the inconvinience. Chandru From alan at alphabyte.co.nz Thu Dec 11 23:48:29 2008 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Fri, 12 Dec 2008 11:48:29 +1300 Subject: [texhax] Error while executing! In-Reply-To: References: Message-ID: Why would you do that? Why not install TeXLive for win32? You get everything you need and it all works. Winshell is a windows app but cygwin is a linux emulator. Two different OSs. Alan On 12/12/2008, at 5:13 AM, Syed Faraz Hasan wrote: > Hi everybody! > > I have installed Latex on windows using cygwin. It is WinShell for > Latex 3.2. > It reports an illegal error whenever I try saving or executing a > document. When I execute using Latex (F5), it gives an error: > > d:\cygwin\bin\latex.exe > The NTVDM CPU has encountered an illegal instruction. > CS:0f80 IP:210f OP: 63 69 66 69 65. Choose 'Close' to terminate the > application. > > Please help me! > > Faraz > _______________________________________________ > 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 axel.retif at mac.com Fri Dec 12 06:34:38 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 11 Dec 2008 23:34:38 -0600 Subject: [texhax] Help In-Reply-To: References: Message-ID: <36EC0F0D-5B1E-4553-A3DC-6C96D2F0F125@mac.com> On Dec 11, 2008, at 10:29, chandrasekhar s wrote: > Respected Sir, > Sorry for the trouble. I have installed MikTex 2.7 but actually the > latex software which i downloaded has the MikTex 2.5 involved. Now how > to change the directory. I am uSing TexNiccenter. > > Pls help sorry for the inconvinience. First, please excuse me for not replying sooner. Congratulations for installing MiKTeX 2.7. I guess you can now uninstall 2.5, right? I don't use Windows, so I can't tell you much, but I see here http://www.toolscenter.org/about/about-texniccenter that TeXnicCenter has a Configuration Wizard, that needs you to tell it where your TeX distribution is. And congratulations for using LaTeX. Best, Axel From will.adams at frycomm.com Fri Dec 12 17:13:54 2008 From: will.adams at frycomm.com (William Adams) Date: Fri, 12 Dec 2008 11:13:54 -0500 Subject: [texhax] inline form of an equation Message-ID: Okay, I have: \documentclass{article} \usepackage{amsmath} \usepackage{mathptmx} \begin{document} $\sqrt{\frac{\sum d^2}{2n}}$ \end{document} Would it be okay to do: \documentclass{article} \usepackage{amsmath} \usepackage{mathptmx} \begin{document} $\sqrt{{\sum d^2}/{2n}}$ \end{document} William -- William Adams senior graphic designer Fry Communications From toms at ncifcrf.gov Fri Dec 12 17:37:21 2008 From: toms at ncifcrf.gov (Tom Schneider) Date: Fri, 12 Dec 2008 11:37:21 -0500 (EST) Subject: [texhax] inline form of an equation In-Reply-To: from William Adams at "Dec 12, 2008 11:13:54 am" Message-ID: <200812121637.mBCGbLTq008503@strawberry.ncifcrf.gov> William: > $\sqrt{\frac{\sum d^2}{2n}}$ ... > Would it be okay to do: ... > $\sqrt{{\sum d^2}/{2n}}$ I don't see why not. The second form might fit in text better. 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 borisv at lk.net Fri Dec 12 17:40:08 2008 From: borisv at lk.net (Boris Veytsman) Date: Fri, 12 Dec 2008 11:40:08 -0500 Subject: [texhax] inline form of an equation In-Reply-To: (message from William Adams on Fri, 12 Dec 2008 11:13:54 -0500) References: Message-ID: <200812121640.mBCGe8wD021753@bilbo.localnet> WA> From: William Adams WA> Date: Fri, 12 Dec 2008 11:13:54 -0500 WA> Okay, I have: WA> $\sqrt{\frac{\sum d^2}{2n}}$ WA> $\sqrt{{\sum d^2}/{2n}}$ I would write $\sqrt{\sum d^2/2n}$, but extra braces would not hurt. You are rgiht: in inline equations it is better to avoid \frac, using slashes instead. -- Good luck -Boris His life was formal; his actions seemed ruled with a ruler. From daleif at imf.au.dk Fri Dec 12 18:09:35 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 12 Dec 2008 18:09:35 +0100 Subject: [texhax] inline form of an equation In-Reply-To: References: Message-ID: <49429ACF.3040005@imf.au.dk> William Adams wrote: > Okay, I have: > > \documentclass{article} > \usepackage{amsmath} > \usepackage{mathptmx} > \begin{document} > $\sqrt{\frac{\sum d^2}{2n}}$ > \end{document} > > Would it be okay to do: > > \documentclass{article} > \usepackage{amsmath} > \usepackage{mathptmx} > \begin{document} > $\sqrt{{\sum d^2}/{2n}}$ > \end{document} > > William > the first should be avoided, looks awful. I don't see any problems with the second one, though some might prefer $\sqrt{\sum d^2/(2n)}$ But I routinely write /2n (not a big times fan) -- /daleif From borisv at lk.net Fri Dec 12 19:01:29 2008 From: borisv at lk.net (Boris Veytsman) Date: Fri, 12 Dec 2008 13:01:29 -0500 Subject: [texhax] inline form of an equation In-Reply-To: <49429ACF.3040005@imf.au.dk> (message from Lars Madsen on Fri, 12 Dec 2008 18:09:35 +0100) References: <49429ACF.3040005@imf.au.dk> Message-ID: <200812121801.mBCI1TXx030927@bilbo.localnet> LM> Date: Fri, 12 Dec 2008 18:09:35 +0100 LM> From: Lars Madsen LM> I don't see any problems with the second one, though some might prefer LM> $\sqrt{\sum d^2/(2n)}$ LM> But I routinely write /2n When I write for the programmers, I routinely use brackets in such situations. When I write for the general audience, I usually omit them. -- Good luck -Boris The first rule of intelligent tinkering is to save all the parts. -- Paul Erlich From adityam at umich.edu Fri Dec 12 20:07:58 2008 From: adityam at umich.edu (Aditya Mahajan) Date: Fri, 12 Dec 2008 14:07:58 -0500 (EST) Subject: [texhax] inline form of an equation In-Reply-To: <49429ACF.3040005@imf.au.dk> References: <49429ACF.3040005@imf.au.dk> Message-ID: On Fri, 12 Dec 2008, Lars Madsen wrote: > William Adams wrote: >> Okay, I have: >> >> \documentclass{article} >> \usepackage{amsmath} >> \usepackage{mathptmx} >> \begin{document} >> $\sqrt{\frac{\sum d^2}{2n}}$ >> \end{document} >> >> Would it be okay to do: >> >> \documentclass{article} >> \usepackage{amsmath} >> \usepackage{mathptmx} >> \begin{document} >> $\sqrt{{\sum d^2}/{2n}}$ >> \end{document} >> >> William >> > > the first should be avoided, looks awful. > > I don't see any problems with the second one, though some might prefer > > $\sqrt{\sum d^2/(2n)}$ > > But I routinely write /2n I typeset $\sqrt{\frac{\sum d^2}{2n}}$ using package nath and the output is equivalent to $\sqrt{(\sum d^n)/2n}$ which seems to avoid ambiguity about what is being summed. Aditya From philip.ratcliffe at fastwebnet.it Fri Dec 12 21:37:16 2008 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Fri, 12 Dec 2008 21:37:16 +0100 Subject: [texhax] inline form of an equation In-Reply-To: Message-ID: <11C58D0FC27F4CB58249316ADD29854F@PGR1> > \documentclass{article} > \usepackage{amsmath} > \usepackage{mathptmx} > \begin{document} > $\sqrt{\frac{\sum d^2}{2n}}$ > \end{document} > > Would it be okay to do: > > \documentclass{article} > \usepackage{amsmath} > \usepackage{mathptmx} > \begin{document} > $\sqrt{{\sum d^2}/{2n}}$ > \end{document} Well, as everyone says, the second, in-line, is clearly more pleasing to the eye. But this is more a question of type-setting ethics than hacking TeX ;-) However, you may want to tweak the spacing a little, like this: $\sqrt{\sum d^2\!/\,2n}$ And, of course, your extra braces are entirely redundant - I try to avoid extra braces as it reduces the readability of the input file and also it's easy to lose a brace when editting. Cheers, Phil From burkhard at cs.ucsd.edu Fri Dec 12 22:51:25 2008 From: burkhard at cs.ucsd.edu (Walt Burkhard) Date: Fri, 12 Dec 2008 13:51:25 -0800 Subject: [texhax] font installation Message-ID: <4942DCDD.70801@cs.ucsd.edu> Hello, I am trying to install the Monotype Christmas fonts (chra/mpi007 etc.) but have had no success. I have followed the steps of Fulko van Westrenen (July 2007) www.umantec.nl/fontinst through the name changing step. The fontinst step doesn't seem to produce anything useful. Does this installation process work with these non-alphabetic fonts? If not, how should I proceed? Many thanks in advance. Walt Burkhard ~ From uwe.lueck at web.de Fri Dec 12 23:22:23 2008 From: uwe.lueck at web.de (=?UTF-8?b?VXdlIEzDvGNr?=) Date: Fri, 12 Dec 2008 23:22:23 +0100 Subject: [texhax] inline form of an equation Message-ID: An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081212/615b2c71/attachment.html From reinhard.kotucha at web.de Sat Dec 13 01:23:27 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sat, 13 Dec 2008 01:23:27 +0100 Subject: [texhax] font installation In-Reply-To: <4942DCDD.70801@cs.ucsd.edu> References: <4942DCDD.70801@cs.ucsd.edu> Message-ID: <18755.127.470049.936909@zaphod.ms25.net> Walt Burkhard writes: > I am trying to install the Monotype Christmas fonts (chra/mpi007 > etc.) but have had no success. I have followed the steps of Fulko > van Westrenen (July 2007) www.umantec.nl/fontinst through the name > changing step. The fontinst step doesn't seem to produce anything > useful. > > Does this installation process work with these non-alphabetic > fonts? If not, how should I proceed? Hi Walt, font related problems are always quite nasty and not many TeX users are familiar with the innards of a TeX system, especially if fonts are concerned. The font/fontinst experts are subscribed to: http://tug.org/mailman/listinfo/fontinst I suppose that you get more help there. 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 zbigniew.nitecki at tufts.edu Tue Dec 16 16:26:42 2008 From: zbigniew.nitecki at tufts.edu (Zbigniew Nitecki) Date: Tue, 16 Dec 2008 10:26:42 -0500 Subject: [texhax] index entries in latex/makeindex Message-ID: In a book I am writing in latex (using makeindex to generate the index) I am running into a confusing anomaly. The following macros are among those I have to generate index entries: *********************************************************************************** \newcommand{\namerefindex}[4]{\index{#2, #1 (#3-#4)}}%prints name, date in index not text \newcommand{\namerefsilent}[4]{#1\ #2\ (#3-#4)}%prints name, date in text not index \newcommand{\nameref}[4]{#1\ #2\ (#3-#4)\namerefindex{#1}{#2}{#3}{#4}} %prints name, date in text \newcommand{\namesubref}[5]{\index{#2, #1 (#3-#4)!#5}}%prints subentry in index ************************************************************************************** (the usage is: \nameref{Firstname}{Lastname}{Birthdate}{Deathdate} and in the subref, #5 is an index entry under the entry above. I have discovered that references made using \namerefsilent followed by \namesubref work fine, but those generated using \nameref fail to show up in the index. Any explanation? Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081216/2d3a1775/attachment.html From zbigniew.nitecki at tufts.edu Tue Dec 16 17:14:40 2008 From: zbigniew.nitecki at tufts.edu (Zbigniew Nitecki) Date: Tue, 16 Dec 2008 11:14:40 -0500 Subject: [texhax] index entries in latex/makeindex, post 2 Message-ID: Earlier, I posted a question concerning index entries. The problem looks even more subtle than I first thought. To recall, In a book I am writing in latex (using makeindex to generate the index) I am running into a confusing anomaly. The following macros are among those I have to generate index entries: *********************************************************************************** \newcommand{\namerefindex}[4]{\index{#2, #1 (#3-#4)}}%prints name, date in index not text \newcommand{\namerefsilent}[4]{#1\ #2\ (#3-#4)}%prints name, date in text not index \newcommand{\nameref}[4]{#1\ #2\ (#3-#4)\namerefindex{#1}{#2}{#3}{#4}} %prints name, date in text \newcommand{\namesubref}[5]{\index{#2, #1 (#3-#4)!#5}}%prints subentry in index ************************************************************************************** (the usage is: \nameref{Firstname}{Lastname}{Birthdate}{Deathdate} and in the subref, #5 is an index entry under the entry above. Included in the same macro file are the following: *********************************************************** \newcommand{\Descartesref}{\nameref{Ren\'e}{Descartes}{1596}{1650}} \newcommand{\Fermatref}{\nameref{Pierre de}{Fermat}{1601}{1665}} ************************************************************************ and the following paragraph appears in my text: **************************************************************** The idea of using a pair of numbers in this way to locate a point in the plane was pioneered in the early seventeenth cenury by \Fermatref{} and \Descartesref{}. By means of such a scheme, a plane curve can be identified with the \deffontcustom{locus}{locus!of equation} of points whose coordinates satisfy some equation; the study of curves by analysis of the corresponding equations, called \deffont{analytic geometry}, was initiated in the research of these two men. Actually, it is a bit of an anachronism to refer to rectangular coordinates as ``Cartesian'', since both Fermat and Descartes often used \deffontcustom{oblique coordinates}{Coordinate System!oblique}, in which the axes make an angle other than a right one.\footnote{We shall explore some of the differences between rectangular and oblique coordinates in \refer{ex}{oblique}.} Furthermore, Descartes in particular didn't really consider the meaning of negative values for the abcissa or ordinate. ********************************************************************************************* Ignore the \deffontcustom and \refer commands; they involve totally different stuff. When I run the full book text as described above, I get an error messages referring to the paragraph quoted above: ******************************************************************************** LaTeX Warning: Reference `Pierre de' on page 2 undefined on input line 52. ! Missing \endcsname inserted. \unhbox l.52 ...h cenury by \Fermatref{} and \Descartesref {}. By means of such a sc... ? ************************************************************************************* When I replace \'e with e in the \Descartesref macro, I don't get the missing \encsname error, but the printed text has, where the two references are, the following (I was unable to copy and paste off my pdf, so am retyping what I see; the stuff in [ ] is a description): ************************************************************************************ ...century by ??Fermat16011665 and ??[\'e, printed properly]Descartes. By means... ********************************************************************************** and neither entry appears in the index. HOWEVER, when I isolate all of this in a test file, inserting the same paragraph there, and calling the same macros file, everything works fine. I am at a total loss as to what to even look for. Any suggestions would be much appreciated. Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081216/2817e009/attachment.html From daleif at imf.au.dk Tue Dec 16 17:19:32 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 16 Dec 2008 17:19:32 +0100 Subject: [texhax] index entries in latex/makeindex In-Reply-To: References: Message-ID: <4947D514.2010506@imf.au.dk> Zbigniew Nitecki wrote: > In a book I am writing in latex (using makeindex to generate the index) > I am running into a confusing anomaly. > > The following macros are among those I have to generate index entries: > *********************************************************************************** > > \newcommand{\namerefindex}[4]{\index{#2, #1 (#3-#4)}}%prints name, date > in index not text > \newcommand{\namerefsilent}[4]{#1\ #2\ (#3-#4)}%prints name, date in > text not index > \newcommand{\nameref}[4]{#1\ #2\ > (#3-#4)\namerefindex{#1}{#2}{#3}{#4}}%prints name, date in text > \newcommand{\namesubref}[5]{\index{#2, #1 (#3-#4)!#5}}%prints subentry > in index > ************************************************************************************** > > (the usage is: \nameref{Firstname}{Lastname}{Birthdate}{Deathdate} > and in the subref, #5 is an index entry under the entry above. > > I have discovered that references made using \namerefsilent followed by > \namesubref > work fine, but those generated using \nameref fail to show up in the index. > > > Any explanation? > could you make an example that we can just copy an run on our own systems? -- /daleif From will.adams at frycomm.com Tue Dec 16 17:54:48 2008 From: will.adams at frycomm.com (William Adams) Date: Tue, 16 Dec 2008 11:54:48 -0500 Subject: [texhax] index entries in latex/makeindex, post 2 In-Reply-To: References: Message-ID: <8FB85B02-A8D7-4528-89DE-558C0BF3C3E3@frycomm.com> On Dec 16, 2008, at 11:14 AM, Zbigniew Nitecki wrote: > \newcommand{\Descartesref}{\nameref{Ren\'e}{Descartes}{1596}{1650}} It's an expansion issue. You need to define the \'e as a ``protected command'' so that it'll only be expanded later (or use an indexing tool which is 8-bit safe and enter it as ?) Try: \newcommand{\LCacuteE}{\'e} \newcommand{\PLCacutee}{\protect\LCacuteE} > \newcommand{\Descartesref}{\nameref{Ren\PLCacutee}{Descartes}{1596} > {1650}} You might need to add a second level (a protected command in between the two I defined above and have the last call the middle command). William -- William Adams senior graphic designer Fry Communications From uwe.lueck at web.de Tue Dec 16 18:10:42 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 16 Dec 2008 18:10:42 +0100 Subject: [texhax] index entries in latex/makeindex, post 2 In-Reply-To: Message-ID: <5.1.0.14.0.20081216180452.02f9bec0@pop3.web.de> Rename \nameref! [Completed below] At 17:14 16.12.08, Zbigniew Nitecki wrote: >The following macros are among those I have to generate index entries: >*********************************************************************************** >\newcommand{\namerefindex}[4]{\index{#2, #1 (#3-#4)}}%prints name, date in >index not text >\newcommand{\namerefsilent}[4]{#1\ #2\ (#3-#4)}%prints name, date in text >not index >\newcommand{\nameref}[4]{#1\ #2\ >(#3-#4)\namerefindex{#1}{#2}{#3}{#4}}%prints name, date in text [...] >Included in the same macro file are the following: >*********************************************************** >\newcommand{\Descartesref}{\nameref{Ren\'e}{Descartes}{1596}{1650}} >\newcommand{\Fermatref}{\nameref{Pierre de}{Fermat}{1601}{1665}} >************************************************************************ [...] >When I run the full book text as described above, I get an error messages >referring to the >paragraph quoted above: >******************************************************************************** >LaTeX Warning: Reference `Pierre de' on page 2 undefined on input line 52. > >! Missing \endcsname inserted. > > \unhbox >l.52 ...h cenury by \Fermatref{} and \Descartesref Look into your .log file. I'm quite sure that you see that nameref.sty (coming with hyperref.sty) is loaded \AtBeginDocument, which (re)defines to produce a \ref. The error you get says that the corresponding \label is missing. HTH -- Uwe. From uwe.lueck at web.de Tue Dec 16 18:25:42 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 16 Dec 2008 18:25:42 +0100 Subject: [texhax] index entries in latex/makeindex, post 2 Message-ID: <5.1.0.14.0.20081216182406.02f92520@pop3.web.de> I failed to write what nameref redefines: it's \nameref. Right? -- Uwe. _______________________________ Rename \nameref! [Completed below] At 17:14 16.12.08, Zbigniew Nitecki wrote: >The following macros are among those I have to generate index entries: >*********************************************************************************** >\newcommand{\namerefindex}[4]{\index{#2, #1 (#3-#4)}}%prints name, date in >index not text >\newcommand{\namerefsilent}[4]{#1\ #2\ (#3-#4)}%prints name, date in text >not index >\newcommand{\nameref}[4]{#1\ #2\ >(#3-#4)\namerefindex{#1}{#2}{#3}{#4}}%prints name, date in text [...] >Included in the same macro file are the following: >*********************************************************** >\newcommand{\Descartesref}{\nameref{Ren\'e}{Descartes}{1596}{1650}} >\newcommand{\Fermatref}{\nameref{Pierre de}{Fermat}{1601}{1665}} >************************************************************************ [...] >When I run the full book text as described above, I get an error messages >referring to the >paragraph quoted above: >******************************************************************************** >LaTeX Warning: Reference `Pierre de' on page 2 undefined on input line 52. > >! Missing \endcsname inserted. > > \unhbox >l.52 ...h cenury by \Fermatref{} and \Descartesref Look into your .log file. I'm quite sure that you see that nameref.sty (coming with hyperref.sty) is loaded \AtBeginDocument, which (re)defines to produce a \ref. The error you get says that the corresponding \label is missing. HTH -- Uwe. From uwe.lueck at web.de Tue Dec 16 18:51:28 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 16 Dec 2008 18:51:28 +0100 Subject: [texhax] inline form of an equation Message-ID: <5.1.0.14.0.20081216185128.02f0a890@pop3.web.de> [2008/12/12 repeated without HTML, thanks to Reinhard Kotucha, U. L.] Aditya Mahajan 2008/12/12 20:07:58: > On Fri, 12 Dec 2008, Lars Madsen wrote: >> William Adams wrote: >>> Okay, I have: >>> $\sqrt{\frac{\sum d^2}{2n}}$ >>> Would it be okay to do: >>> $\sqrt{{\sum d^2}/{2n}}$ >> I don't see any problems with the second one, though some might prefer >> $\sqrt{\sum d^2/(2n)}$ > > I typeset $\sqrt{\frac{\sum d^2}{2n}}$ using package nath and the output > is equivalent to $\sqrt{(\sum d^n)/2n}$ which seems to avoid ambiguity > about what is being summed. Indeed, when I thought of the matter while shopping, I had forgotten the first example and thought \sum(d^2/2n) was ment, \sum binding the variable n. I haven't done math for a while and only now see that this series diverges, but it may show that the notation is significantly ambiguous in the way Aditya says (not with respect to 2n). And even if the reader knows what is meant from the context, such ambiguities may distract attention. Great to learn about nath! Cheers, Uwe. From uwe.lueck at web.de Tue Dec 16 19:47:44 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 16 Dec 2008 19:47:44 +0100 Subject: [texhax] Error while executing! Message-ID: <5.1.0.14.0.20081216194653.02fc0130@pop3.web.de> At 23:48 11.12.08, Alan Litchfield wrote: >Why not install TeXLive for win32? You get everything you need and it >all works. or www.miktex.org, cf. http://www.cygwin.com/ml/cygwin/2000-09/msg01024.html Uwe >On 12/12/2008, at 5:13 AM, Syed Faraz Hasan wrote: > > > Hi everybody! > > > > I have installed Latex on windows using cygwin. It is WinShell for > > Latex 3.2. > > It reports an illegal error whenever I try saving or executing a > > document. When I execute using Latex (F5), it gives an error: > > > > d:\cygwin\bin\latex.exe > > The NTVDM CPU has encountered an illegal instruction. > > CS:0f80 IP:210f OP: 63 69 66 69 65. Choose 'Close' to terminate the > > application. > > > > Please help me! > > > > Faraz From reinhard.kotucha at web.de Wed Dec 17 00:07:46 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 17 Dec 2008 00:07:46 +0100 Subject: [texhax] Error while executing! In-Reply-To: <5.1.0.14.0.20081216194653.02fc0130@pop3.web.de> References: <5.1.0.14.0.20081216194653.02fc0130@pop3.web.de> Message-ID: <18760.13506.618311.656331@zaphod.ms25.net> Uwe L?ck writes: > At 23:48 11.12.08, Alan Litchfield wrote: > >Why not install TeXLive for win32? You get everything you need and it > >all works. > > or www.miktex.org, cf. http://www.cygwin.com/ml/cygwin/2000-09/msg01024.html There are also Cygwin binaries available for TeX Live 2008, compiled by Angelo Graziosi. They can be downloaded from: http://www.webalice.it/angelo.graziosi/cygwin/texlive/texlive.html However, the Windows binaries provided by TeX Live or MikTeX should work on Cygwin too. If you decide to use them, you could also try http://tug.org/~kotucha/xdvi-cygwin.zip The zip file is supposed to be extracted in the directory containing all the other TeX binaries. Please note that it works on Cygwin only but not on native Windows. The reason is that an X11 server is required. Faraz, coming back to your original question, The NTVDM CPU has encountered an illegal instruction. I'm definitely not a Windows expert, but I found the following link: http://www.techimo.com/forum/technical-support/117644-ntdvm-cpu-has-encountered-illegal-instruction.html I have the impression that Michael Chiew knows much more about Windows than me (no wonder). Don't know whether it helps to solve your problem, but maybe it helps to understand the error message. In short, "NTVDM" stands for "NT Virtual Dos Machine". Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From uwe.lueck at web.de Wed Dec 17 03:24:19 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 17 Dec 2008 03:24:19 +0100 Subject: [texhax] index entries in latex/makeindex, post 2 Message-ID: <5.1.0.14.0.20081217032159.026fdc00@pop3.web.de> [now to texhax as well, this is what Zbigniew Nitecki previously answered, sorry; I seeeems much more now that I was right -- U. L.] At 21:10 16.12.08, Zbigniew Nitecki wrote: >You seem to have put your finger on the problem: when I insert a >\usepackage{hyperref} command in my test file, I get the same error. But >I am rather confused about how this happened. (1) this macro does not use >the latex \ref macro, and (2) is there really a conflict between a macro >name and a file name? My repairing posting didn't suffice to make my point clear: If nameref.sty is loaded \AtBeginDocument, it defines its own \nameref, overwriting your definition. \nameref then expands to a \ref, not to an \index. It is easy to find out whether I'm right, most simple perhaps: right after \begin{document}, type \show\nameref. This should show the definition of \nameref on the screen. I would like to know whether it is yours or another one. If I'm right, you will have \protect\T at nameref on your screen. I guess hyperref.sty is loaded by some other package you are using anyway, maybe you use the memoir class which contains many other packages. Best, Uwe. >>At 17:14 16.12.08, Zbigniew Nitecki wrote: >>>The following macros are among those I have to generate index entries: >>>*********************************************************************************** >>>\newcommand{\namerefindex}[4]{\index{#2, #1 (#3-#4)}}%prints name, date >>>in index not text >>>\newcommand{\namerefsilent}[4]{#1\ #2\ (#3-#4)}%prints name, date in >>>text not index >>>\newcommand{\nameref}[4]{#1\ #2\ >>>(#3-#4)\namerefindex{#1}{#2}{#3}{#4}}%prints name, date in text >>[...] >>>Included in the same macro file are the following: >>>*********************************************************** >>>\newcommand{\Descartesref}{\nameref{Ren\'e}{Descartes}{1596}{1650}} >>>\newcommand{\Fermatref}{\nameref{Pierre de}{Fermat}{1601}{1665}} >>>************************************************************************ >>[...] >>>When I run the full book text as described above, I get an error >>>messages referring to the >>>paragraph quoted above: >>>******************************************************************************** >>>LaTeX Warning: Reference `Pierre de' on page 2 undefined on input line 52. >>> >>>! Missing \endcsname inserted. >>> >>> \unhbox >>>l.52 ...h cenury by \Fermatref{} and \Descartesref >> >>Look into your .log file. I'm quite sure that you see that nameref.sty >>(coming with hyperref.sty) is loaded \AtBeginDocument, which (re)defines >>to produce a \ref. The error you get says that the corresponding \label >>is missing. From texhax at uit.co.uk Fri Dec 19 13:12:57 2008 From: texhax at uit.co.uk (Niall Mansfield) Date: Fri, 19 Dec 2008 12:12:57 +0000 Subject: [texhax] CMYK color v. RGB Message-ID: <494B8FC9.4060301@uit.co.uk> We've just had a book printed, and there are a few color problems: more or less consistently, some blues come out looking a little too green, and others look purple. The printing company say this is probably due to the RGB -> CMYK color conversion, and say that we should ensure images are in CMYK format rather than RGB before they are embedded in the PDF. We're using LaTeX, Xfig, GNUplot, Metapost, and all the usual tools on Linux. We produce the book as PostScript, and then ps2pdf that, to send to the printers. I don't think it's possible for us to use CMYK. Is it? Does anyone else have experience of similar problems? Thanks, Niall ps: we had advance review copies printed digitally. They were fine; only the litho copies were weird. The printers say it wasn't a problem with their inking of the litho machine, and insofar as I understand what they are talking about, I believe them. From daleif at imf.au.dk Fri Dec 19 14:03:19 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 19 Dec 2008 14:03:19 +0100 Subject: [texhax] CMYK color v. RGB In-Reply-To: <494B8FC9.4060301@uit.co.uk> References: <494B8FC9.4060301@uit.co.uk> Message-ID: <494B9B97.5020805@imf.au.dk> Niall Mansfield wrote: > We've just had a book printed, and there are a few color problems: > more or less consistently, some blues come out looking a little > too green, and others look purple. The printing company say this is probably due to > the RGB -> CMYK color conversion, and say that we should > ensure images are in CMYK format rather than RGB before > they are embedded in the PDF. > > We're using LaTeX, Xfig, GNUplot, Metapost, and all the usual > tools on Linux. We produce the book as PostScript, and then > ps2pdf that, to send to the printers. > > I don't think it's possible for us to use CMYK. Is it? > Does anyone else have experience of similar problems? > > Thanks, > Niall > > ps: we had advance review copies printed digitally. They were > fine; only the litho copies were weird. The printers say > it wasn't a problem with their inking of the litho machine, > and insofar as I understand what they are talking about, I > believe them. have you had a look at xcolor? Though you might want to use pdflatex directly, not sure if postscript actually support cmyk. -- /daleif From will.adams at frycomm.com Fri Dec 19 14:16:45 2008 From: will.adams at frycomm.com (William Adams) Date: Fri, 19 Dec 2008 08:16:45 -0500 Subject: [texhax] CMYK color v. RGB In-Reply-To: <494B8FC9.4060301@uit.co.uk> References: <494B8FC9.4060301@uit.co.uk> Message-ID: <1879ADD0-893E-4893-9A7A-D8C7E45DA243@frycomm.com> On Dec 19, 2008, at 7:12 AM, Niall Mansfield wrote: > We've just had a book printed, and there are a few color problems: > more or less consistently, some blues come out looking a little > too green, and others look purple. The printing company say this is > probably due to > the RGB -> CMYK color conversion, and say that we should > ensure images are in CMYK format rather than RGB before > they are embedded in the PDF. > > We're using LaTeX, Xfig, GNUplot, Metapost, and all the usual > tools on Linux. We produce the book as PostScript, and then > ps2pdf that, to send to the printers. > > I don't think it's possible for us to use CMYK. Is it? > Does anyone else have experience of similar problems? Sure it is. You just need to introduce a step where you colour- separate (and if necessary adjust) all images. You'll also need to specify any colours for text or vector elements using CMYK (post- processing them if need be in a pre-press-oriented tool like FreeHand or Adobe Illustrator). In theory you could adjust so that they display nicely w/ an RGB colour profile which has a gamut which your printer can separate to in a fashion you find acceptable and tag the images w/ that profile and then the separation would work, but that demands colour-calibrated displays &c. > ps: we had advance review copies printed digitally. They were > fine; only the litho copies were weird. The printers say > it wasn't a problem with their inking of the litho machine, > and insofar as I understand what they are talking about, I > believe them. The digital machines are usually RGB-oriented and have a wider gamut than machines which have to print ink in multiple passes. You should've gotten a colour-separated contract proof which the printer was able to match on press. William -- William Adams senior graphic designer Fry Communications From s.schwartz at imperial.ac.uk Fri Dec 19 14:45:46 2008 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Fri, 19 Dec 2008 13:45:46 +0000 Subject: [texhax] CMYK color v. RGB In-Reply-To: <494B9B97.5020805@imf.au.dk> References: <494B8FC9.4060301@uit.co.uk> <494B9B97.5020805@imf.au.dk> Message-ID: <1229694346.4682.24.camel@sony-sjs.sp.ph.ic.ac.uk> I'm not a colour expert at all, but have hit a couple of things in the past, one of which is that some ghostscript-based scripts (such as ps2pdf or epstopdf) set options that are not always optimal, such as -dPDFSETTINGS=/prepress (which epstopdf uses instead of /default or /printer) Also, if you read the Ps2pdf.htm documentation (it should live in the same directory as the ghostscript Use.htm documentation) you will see that there are a number of colour-related options you can pass to ps2pdf to control RGB vs CMYK, and probably things like colour depth which may well affect the result. Maybe this will help. Steve On Fri, 2008-12-19 at 14:03 +0100, Lars Madsen wrote: > Niall Mansfield wrote: > > We've just had a book printed, and there are a few color problems: > > more or less consistently, some blues come out looking a little > > too green, and others look purple. The printing company say this is probably due to > > the RGB -> CMYK color conversion, and say that we should > > ensure images are in CMYK format rather than RGB before > > they are embedded in the PDF. > > > > We're using LaTeX, Xfig, GNUplot, Metapost, and all the usual > > tools on Linux. We produce the book as PostScript, and then > > ps2pdf that, to send to the printers. > > > > I don't think it's possible for us to use CMYK. Is it? > > Does anyone else have experience of similar problems? > > > > Thanks, > > Niall > > > > ps: we had advance review copies printed digitally. They were > > fine; only the litho copies were weird. The printers say > > it wasn't a problem with their inking of the litho machine, > > and insofar as I understand what they are talking about, I > > believe them. > > have you had a look at xcolor? Though you might want to use pdflatex > directly, not sure if postscript actually support cmyk. > > > -- +-------------------------------------------------------------------+ 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 pierre.mackay at comcast.net Fri Dec 19 15:31:12 2008 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Fri, 19 Dec 2008 06:31:12 -0800 Subject: [texhax] CMYK color v. RGB In-Reply-To: <494B8FC9.4060301@uit.co.uk> References: <494B8FC9.4060301@uit.co.uk> Message-ID: <494BB030.4070709@comcast.net> Postscript is exactly where such conversions between color mappings take place. Complete graphics packages like Illustrator come with elaborate filters to make the conversions. It is a great pity that Illustrator cannot be run under Unix directly, but with qemu it can be run in a qemu Windows window. RGB was designed for display screens, and works on an entirely different color model from CMYK. One of the good things about Illustrator is that it gives you the CMYK values for Pantone inks, which can be used in epsf specials. Here for instance is the code to produce PANTONE 179 U taken from a plain TeX file. The advantage of this is that it uses the PANTONE CMYK values for the inks. The color on the display, or on an Inkjet or Laser printer may not be quite the same, but it doesn't matter. The PANTONE color is going to be pretty standard all across the printing industry. \ORNtext={\special{ ps:gsave [/Separation (PANTONE 179 U) [/DeviceCMYK] {dup 0.0 mul exch dup 0.79 mul exch dup 1 mul exch 0.0 mul}]setcolorspace}\box1\special {ps:grestore}} All that to write \box1 in red-orange, rather than black. I use an HP inkjet for color proofs, and my understanding is that the HP printer drivers do CMYK -> RGB conversions even though the ink cartridges would seem to be more appropriate for CMYK, by the very fact that they are ink cartridges. Pierre MacKay From wataru at e-mail.ne.jp Fri Dec 19 11:55:11 2008 From: wataru at e-mail.ne.jp (MAEDA Wataru) Date: Fri, 19 Dec 2008 19:55:11 +0900 Subject: [texhax] Web-based RPN equation editor RPN2TeX Message-ID: Hi, I released Web-based RPN equation editor RPN2TeX. It enables us to input TeX equations with RPN(Reverse Polish Notation) which is an input method that is used in HP calculators. RPN2TeX webpage: http://cacao.homeunix.org/RPN2TeX/ If you have any feedback, please feel free to write to me. MAEDA Wataru wataru at e-mail.ne.jp From hartmut_henkel at gmx.de Sat Dec 20 01:18:47 2008 From: hartmut_henkel at gmx.de (Hartmut Henkel) Date: Sat, 20 Dec 2008 01:18:47 +0100 (CET) Subject: [texhax] CMYK color v. RGB In-Reply-To: <494B8FC9.4060301@uit.co.uk> References: <494B8FC9.4060301@uit.co.uk> Message-ID: On Fri, 19 Dec 2008, Niall Mansfield wrote: > I don't think it's possible for us to use CMYK. Is it? Does anyone > else have experience of similar problems? you can use the programs "pnmtotiffcmyk" and "convert" to convert RGB image files (e. g. in PPM format) into CMYK-JPEGs; here are Makefile example rules: %-cmyk.jpg: %-cmyk.tif convert $< -colorspace CMYK -density 300x300 -quality 100 $@ %-cmyk.tif: %.ppm pnmtotiffcmyk $< > $@ These JPEGs can be read by pdftex without problems (but you might encounter transparency problems with buggy RIPs, as recently happened). Regards, Hartmut From uwe.lueck at web.de Mon Dec 22 09:06:41 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 22 Dec 2008 09:06:41 +0100 Subject: [texhax] suppress part number Message-ID: <5.1.0.14.0.20081222090615.02704a50@pop3.web.de> [re-posted 2008/12/09 without HTML, I hope, sorry, U. L.] At 18:10 09.12.08, Loeghmon T. Nejad wrote: >Is there a way to suppress part number such that the entry appears as >"Part Primary Education" instead of "Part I Primary Education", in the TOC >and everywhere? Thanks. Is \renewcommand{\thepart}{\hspace{-1em}} somewhere in the document preamble (after \documentclass) OK? What I wonder about: "Part" doesn't appear in the TOC anyway. For ways of using your own design without dirty tricks, there are nccsect.sty from the ncctools bundle and the memoir class. Hope this helps, Uwe L. From admmk09 at easychair.org Mon Dec 22 22:15:31 2008 From: admmk09 at easychair.org (admmk09 at easychair.org) Date: Mon, 22 Dec 2008 22:15:31 +0100 Subject: [texhax] CfP/Deadline Extension: Special Issue Authoring, Digitalization and Management of Mathematical Knowledge Message-ID: <200812222115.mBMLFVqc012683@dave.dfki.uni-sb.de> [Apologies for multiple copies] ===================================================================== Due to multiple requests the deadline for submissions is extended to **26. January 2008**. ===================================================================== Call for Papers Mathematics in Computer Science Special Issue on Authoring, Digitalization and Management of Mathematical Knowledge http://www.dfki.de/~serge/admmk09 Guest editors: Serge Autexier, Petr Sojka, Masakazu Suzuki This special issue is devoted to the topics of the seventh International Conference on Mathematical Knowledge Management (MKM'08) and the workshop on Digital Mathematics Libraries (DML'08) which took place in July 2008 in Birmingham, UK. Topics of interest include * Representations of mathematical knowledge * Repositories of formalized mathematics * Mathematical digital libraries * Diagrammatic representations * Multi-modal representations * Mathematical OCR * Deduction systems * Mathematical assistants, tutoring and assessment systems * Authoring languages and tools * MathML, OpenMath, and other mathematical content standards * Web presentation of mathematics * Data mining, discovery, theory exploration * Collaboration tools for mathematics * Search, indexing and retrieval of mathematical documents * Ranking of mathematical papers, similarity of mathematical documents * Mathematical document compression * Processing of scanned images * Algorithms for crosslinking of bibliographical items, intext citations search * Mathematical document classification, MSC 2010 * Mathematical text mining * Inference of semantics for semi-formalized mathematics * Mathematical documents metadata * Long term archiving, data migration * Mathematical publishing with long term archival goal * Handwritten formulae recognition * Recognition and search of mathematical diagrams * E-learning of mathematics Potential contributors may also contact the guest editors to discuss suitability of topics and papers. SUBMISSION GUIDELINES Submission to this special issue is completely open. We expect original articles (typically 15-30 pages) that present high-quality contributions that have not been previously published in an archival venue and that must not be simultaneously submitted for publication elsewhere. Submissions must comply with MCS' author guidelines (http://www.cc4cm.org/mcs/), be written in English, and be formatted using LaTeX. All submitted papers will be refereed according to the usual MCS refereeing process. Submission to this special issue is hereby encouraged via the EasyChair submission system (see URL below). To aid planning and organization, an early e-mail of intent to submit a paper (including author information, and a tentative title and abstract) would be appreciated. IMPORTANT DATES: Submission deadline (extended): 26 January 2009 Notification of acceptance/rejection: 6 March 2009 Submission of revised versions: 17 April 2009 Final notification of acceptance/rejection: 8 May 2009 Submission of camera-ready copies: 29 May 2009 USEFUL ADDRESSES Special issue website: http://www.dfki.de/~serge/admmk09 Submission webpage: http://www.easychair.org/conferences/?conf=admmk09 Guest editors' email address: admmk09 at easychair.org Journal MCS webpage: http://www.cc4cm.org/mcs MKM'08 conference website: http://events.cs.bham.ac.uk/cicm08/mkm08 DML'08 workshop website: http://www.fi.muni.cz/~sojka/dml-2008.xhtml From xiaobo at zhu.net Tue Dec 23 17:20:16 2008 From: xiaobo at zhu.net (Xiaobo Zhu) Date: Wed, 24 Dec 2008 00:20:16 +0800 Subject: [texhax] CfP/Deadline Extension: Special Issue Authoring, Digitalization and Management of Mathematical Knowledge In-Reply-To: <200812222115.mBMLFVqc012683@dave.dfki.uni-sb.de> References: <200812222115.mBMLFVqc012683@dave.dfki.uni-sb.de> Message-ID: Hi all, Would anyone with prior experience guide me to config LaTeX to support Chinese, or give me some reference. I am currently using CentOS 5.2 on my laptop. I am pleased to provide any information needed. Many thanks! Xiaobo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081224/9eb9a666/attachment.html From dwigner at orange.fr Wed Dec 24 14:04:16 2008 From: dwigner at orange.fr (David Wigner) Date: Wed, 24 Dec 2008 14:04:16 +0100 (CET) Subject: [texhax] tmview Message-ID: <32866511.247583.1230123856725.JavaMail.www@wwinf1a04> I cannot get tmview to compile. I copied the MakeFb file to Makefile, and typed "make" as per the README file, but got only a long string of error messages and no compilation. Is this a common problem? Many thanks for your help! David Wigner dwigner at orange.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081224/4df6d020/attachment.html From john.simmie at nuigalway.ie Sat Dec 27 11:01:25 2008 From: john.simmie at nuigalway.ie (Simmie, John) Date: Sat, 27 Dec 2008 10:01:25 -0000 Subject: [texhax] text-to-table ratio Message-ID: <5987A522AEAB7548B380D086C85CD241F19F30@EVS1.ac.nuigalway.ie> In LaTeXing an Appendix chapter which is mainly Tables I need to re-set the "text-to-table ratio". In the temporary absence of my trusty LaTeX book ('borrowed' by a postgrad) can someone remind me of the parameter that I have to change? Thanks John Simmie::Combustion Chemistry Centre::National University of Ireland, Galway From philip.ratcliffe at fastwebnet.it Sat Dec 27 14:54:29 2008 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sat, 27 Dec 2008 14:54:29 +0100 Subject: [texhax] text-to-table ratio In-Reply-To: <5987A522AEAB7548B380D086C85CD241F19F30@EVS1.ac.nuigalway.ie> Message-ID: > In LaTeXing an Appendix chapter which is mainly Tables I need > to re-set the "text-to-table ratio". In the temporary absence > of my trusty LaTeX book ('borrowed' by a > postgrad) can someone remind me > of the parameter that I have to change? These are the various parameters that can be tweaked for general floats although I can't unfortunately remember exactly what each does - so I hope it is more-or-less obvious. \renewcommand{\topfraction}{.85} \renewcommand{\bottomfraction}{.7} \renewcommand{\textfraction}{.15} \renewcommand{\floatpagefraction}{.66} \renewcommand{\dbltopfraction}{.66} \renewcommand{\dblfloatpagefraction}{.66} \setcounter{topnumber}{9} \setcounter{bottomnumber}{9} \setcounter{totalnumber}{20} \setcounter{dbltopnumber}{9} Cheers, Phil From Faraz_Hasan-S at email.ulster.ac.uk Sat Dec 27 16:03:40 2008 From: Faraz_Hasan-S at email.ulster.ac.uk (Syed Faraz Hasan) Date: Sat, 27 Dec 2008 15:03:40 +0000 Subject: [texhax] Changing margins Message-ID: Hi everybody, How do I change the top, bottom, right and left margins in Latex please. I am using Protext for windows. Thanks a lot in anticipation Faraz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081227/caf90b69/attachment.html From daleif at imf.au.dk Sat Dec 27 18:19:27 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 27 Dec 2008 18:19:27 +0100 Subject: [texhax] Changing margins In-Reply-To: References: Message-ID: <4956639F.7040903@imf.au.dk> Syed Faraz Hasan wrote: > Hi everybody, > > How do I change the top, bottom, right and left margins in Latex please. > I am using Protext for windows. > > Thanks a lot in anticipation > > Faraz > the geoemtry package -- /daleif From daleif at imf.au.dk Sat Dec 27 18:19:46 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 27 Dec 2008 18:19:46 +0100 Subject: [texhax] Changing margins In-Reply-To: References: Message-ID: <495663B2.3010101@imf.au.dk> Syed Faraz Hasan wrote: > Hi everybody, > > How do I change the top, bottom, right and left margins in Latex please. > I am using Protext for windows. > > Thanks a lot in anticipation > > Faraz > > sorry bad spelling geometry package -- /daleif From entelpi at yahoo.com Sat Dec 27 16:53:53 2008 From: entelpi at yahoo.com (Cihan .) Date: Sat, 27 Dec 2008 07:53:53 -0800 (PST) Subject: [texhax] current position in output Message-ID: <903672.89177.qm@web52505.mail.re2.yahoo.com> Hello ? Is there any command or way to get the current output position (xy coordinate) of things. I need a comand that can capture the position like ? \xyposition{words or things in there} \currentpagenumber ? so i can use?them in a if command and create the output as I want. Or, is there a way to writing these information to .aux file and using them by reruning LaTeX. Although LaTeX is doing the page layout, I need more control on?position of things in output. ? Thank you ___________________________________________________________________ Yahoo! T?rkiye a??ld?! http://yahoo.com.tr ?nternet ?zerindeki en iyi i?eri?i Yahoo! T?rkiye sizlere sunuyor! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081227/d9a20886/attachment.html From christopherolah.co at gmail.com Sun Dec 28 00:57:06 2008 From: christopherolah.co at gmail.com (Christopher Olah) Date: Sat, 27 Dec 2008 18:57:06 -0500 Subject: [texhax] Changing margins In-Reply-To: <495663B2.3010101@imf.au.dk> References: <495663B2.3010101@imf.au.dk> Message-ID: Greetings! I don't know if it's in Protext, but the fullpage package may also be useful for this. Instead of having you change page settings specifically, it allows you to apply some changes that one would commonly want. Sincerely, Christopher On Sat, Dec 27, 2008 at 12:19 PM, Lars Madsen wrote: > > Syed Faraz Hasan wrote: > > Hi everybody, > > > > How do I change the top, bottom, right and left margins in Latex please. > > I am using Protext for windows. > > > > Thanks a lot in anticipation > > > > Faraz > > > > > > sorry bad spelling > > geometry package > > -- > > /daleif > _______________________________________________ > 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 -- Christopher Olah Email: christopherolah.co at gmail.com From christopherolah.co at gmail.com Sun Dec 28 01:16:52 2008 From: christopherolah.co at gmail.com (Christopher Olah) Date: Sat, 27 Dec 2008 19:16:52 -0500 Subject: [texhax] current position in output In-Reply-To: <903672.89177.qm@web52505.mail.re2.yahoo.com> References: <903672.89177.qm@web52505.mail.re2.yahoo.com> Message-ID: Greetings! > I need a comand that can capture the position like > \currentpagenumber Page number and similar are stored as counters in LaTeX. Here's a useful link in that regard: http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-3.html > Is there any command or way to get the current output position (xy > coordinate) of things. ... > \xyposition{words or things in there} As for your first question, I don't know the answer. But I do have a few ideas on where to get them. This sort of thing _should_ be a part of TeX, so you may want to look at the relevant documentation. I don't have a copy of the TeXbook my self so I generally reference TeX by Topic which is free and will likely have the answers your looking for. Someone will probably come along with the answer shortly, but if your in a rush the source code is always the best documentation... Maybe look at the code for the pspicture environment? It goes and makes LaTeX jump around on the X and Y axis... If you are asking because you want to put something at a particular point on a page, look at \rput from pstricks. Best of Luck! Christopher -- Christopher Olah Email: christopherolah.co at gmail.com From uwe.lueck at web.de Sun Dec 28 01:24:32 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 28 Dec 2008 01:24:32 +0100 Subject: [texhax] Changing margins In-Reply-To: <495663B2.3010101@imf.au.dk> References: Message-ID: <5.1.0.14.0.20081228010834.0270fa80@pop3.web.de> At 18:19 27.12.08, Lars Madsen wrote: >Syed Faraz Hasan wrote: > > > > How do I change the top, bottom, right and left margins in Latex please. [...] >geometry package ... alternatively, I'm citing from a CTAN upload message (ctan-ann mailing list) below -- HTH, Uwe. ________________________________________ Name of contribution: zwpagelayout Author's name: Zdenek Wagner Location on CTAN: /macros/latex/contrib/ Summary description: Page layout and cropmark package License type: lppl Announcement text: ---------------------------------------------------------------------- This package was developed as a typographers toolbox offering the most important features for everyday work. First it allows setting the paper size as well as the page layout. The next important feature is the ability of printing crop marks both with TeX + dvips or (x)dvipdfm(x) and with pdfTeX. Finally it is possible to reflect pages both horizontally and vertically. Note: This is the missing source for generating PDF documentation f packages ean13isbn, makebarcode, zwgetfdate. ---------------------------------------------------------------------- This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/zwpagelayout . More information is at http://tug.ctan.org/pkg/zwpagelayout (if the package is new it may take a day for that information to appear). From martin at oneiros.de Sun Dec 28 01:34:56 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Sun, 28 Dec 2008 01:34:56 +0100 Subject: [texhax] current position in output In-Reply-To: <903672.89177.qm@web52505.mail.re2.yahoo.com> References: <903672.89177.qm@web52505.mail.re2.yahoo.com> Message-ID: <68c491a60812271634y22413bb5h8ee4c6691410e1a6@mail.gmail.com> 2008/12/27 Cihan . : > Is there any command or way to get the current output position (xy > coordinate) of things. I need a comand that can capture the position like pdfTeX has \pdfsavepos and \pdflastxpos/\pdflastypos. RTFM. :-) Best Martin From tomfool at as220.org Sun Dec 28 01:36:39 2008 From: tomfool at as220.org (tom sgouros) Date: Sat, 27 Dec 2008 19:36:39 -0500 Subject: [texhax] current position in output In-Reply-To: References: <903672.89177.qm@web52505.mail.re2.yahoo.com> Message-ID: <6967.1230424599@as220.org> I don't know if you'll get the precision you seem to be looking for, but you should try playing with \pagetotal, which is a length that marks where you are on the page (measured from the top), and creeps up (down) towards \pagegoal. When it gets to \pagegoal, the page-completing machinery clanks into action. Anyway, you might experiment with those and see if that can't get you where you hope to go. One little weirdness is that I think \pagegoal isn't set until something is applied to the page. I am not aware of anything similar in the X direction, though. Good luck, -tom Christopher Olah wrote: > Greetings! > > > I need a comand that can capture the position like > > \currentpagenumber > > Page number and similar are stored as counters in LaTeX. Here's a > useful link in that regard: > http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-3.html > > > Is there any command or way to get the current output position (xy > > coordinate) of things. > ... > > \xyposition{words or things in there} > > As for your first question, I don't know the answer. But I do have a > few ideas on where to get them. > > This sort of thing _should_ be a part of TeX, so you may want to look > at the relevant documentation. I don't have a copy of the TeXbook my > self so I generally reference TeX by Topic which is free and will > likely have the answers your looking for. > > Someone will probably come along with the answer shortly, but if your > in a rush the source code is always the best documentation... Maybe > look at the code for the pspicture environment? It goes and makes > LaTeX jump around on the X and Y axis... > > If you are asking because you want to put something at a particular > point on a page, look at \rput from pstricks. > > > Best of Luck! > > Christopher > > -- > Christopher Olah > Email: christopherolah.co at gmail.com > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net From uwe.lueck at web.de Sun Dec 28 02:59:48 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 28 Dec 2008 02:59:48 +0100 Subject: [texhax] current position in output In-Reply-To: <903672.89177.qm@web52505.mail.re2.yahoo.com> Message-ID: <5.1.0.14.0.20081228014741.02bc6bd0@pop3.web.de> At 16:53 27.12.08, Cihan . wrote: > >Is there any command or way to get the current output position (xy >coordinate) of things. I need a comand that can capture the position like > >\xyposition{words or things in there} >\currentpagenumber > >so i can use them in a if command and create the output as I want. Or, is >there a way to writing these information to .aux file and using them by >reruning LaTeX. Although LaTeX is doing the page layout, I need more >control on position of things in output. ... a very inspiring and/or hard question. One thing: what /units/ do you want to should the coordinates measured by? Y. One possibility for y: unit /line number/. With the lineno package, you can mark a position by, e.g., \linelabel{whoohoo!}. At the second LaTeX run after doing this, \pageref {whoohoo!} will obtain the page number of that position, and \ref{whoohoo!} will obtain its line number on the same page. (On special occasions only, \thepage my work like \pageref{whoohoo!}.) Y-. What is a `line'? (a) LaTeX offers in-line tables, such a table occupies a single `line' (numbering lines will ignore such tables). (b) Alternatively, you may want to consider each row of a table a `line', this may change counting `lines' -- (c) or even: cells of tables may have more lines than one, and you may want to count them too -- oh, please, no! Y+. One might think of a /geometrical/ unit like: "how many pt below the top of the page is ...'' ... very hard ... my advice: forget it! [or ask Donald Arseneau and/or David Kastrup] X. As for the `x' coordinate, the previous approach may provoke questions "How far is it from here to the left margin, or to the right margin?" A question like this once was discussed here ... I gave an idea, but how much money will you give for ...!?? Z. As for coordinates in terms of pt, TeX will be little helpful, but perhaps PDFTeX can help you!? ... ahm, Uwe. From uwe.lueck at web.de Sun Dec 28 03:13:06 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 28 Dec 2008 03:13:06 +0100 Subject: [texhax] current position in output Message-ID: <5.1.0.14.0.20081228030520.02bd38d0@pop3.web.de> At 16:53 27.12.08, Cihan . wrote: > >Is there any command or way to get the current output position (xy >coordinate) of things. I need a comand that can capture the position like > >\xyposition{words or things in there} >\currentpagenumber > >so i can use them in a if command and create the output as I want. Or, is >there a way to writing these information to .aux file and using them by >reruning LaTeX. Although LaTeX is doing the page layout, I need more >control on position of things in output. In order just to obtain the page number: \pageref{foo} is the number of the page where \label{foo} is -- roughly ... this works with the LaTeX kernel already, no special package needed. -- Uwe. From uwe.lueck at web.de Sun Dec 28 04:10:23 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 28 Dec 2008 04:10:23 +0100 Subject: [texhax] current position in output In-Reply-To: <6967.1230424599@as220.org> References: <903672.89177.qm@web52505.mail.re2.yahoo.com> Message-ID: <5.1.0.14.0.20081228034806.02bb8bb0@pop3.web.de> At 01:36 28.12.08, tom sgouros wrote: >I don't know if you'll get the precision you seem to be looking for, but >you should try playing with \pagetotal, which is a length that marks >where you are on the page (measured from the top), and creeps up (down) >towards \pagegoal. When it gets to \pagegoal, the page-completing >machinery clanks into action. Anyway, you might experiment with those >and see if that can't get you where you hope to go. One little >weirdness is that I think \pagegoal isn't set until something >is applied to the page. Indeed, on \documentclass{article} \begin{document} A \vspace{\textheight} Z\the\pagetotal \end{document} Z appears with a large pt value, while it is very close to the top of the second page. >I am not aware of anything similar in the X direction, though. So ain't I, >Good luck, indeed, I have always considered this more outright than `Happy TeXing', requests on this list rather express that TeXing may be very painful ... Cheers my dears Uwe From tomfool at as220.org Sun Dec 28 04:57:22 2008 From: tomfool at as220.org (tom sgouros) Date: Sat, 27 Dec 2008 22:57:22 -0500 Subject: [texhax] current position in output In-Reply-To: <5.1.0.14.0.20081228034806.02bb8bb0@pop3.web.de> References: <903672.89177.qm@web52505.mail.re2.yahoo.com> <5.1.0.14.0.20081228034806.02bb8bb0@pop3.web.de> Message-ID: <13657.1230436642@as220.org> Uwe L?ck wrote: > At 01:36 28.12.08, tom sgouros wrote: > > >I don't know if you'll get the precision you seem to be looking for, but > >you should try playing with \pagetotal, which is a length that marks > >where you are on the page (measured from the top), and creeps up (down) > >towards \pagegoal. When it gets to \pagegoal, the page-completing > >machinery clanks into action. Anyway, you might experiment with those > >and see if that can't get you where you hope to go. One little > >weirdness is that I think \pagegoal isn't set until something > >is applied to the page. > Indeed, on > > \documentclass{article} > \begin{document} > A > > \vspace{\textheight} > Z\the\pagetotal > \end{document} > > Z appears with a large pt value, while it is very close to the top of > the second page. I wasn't clear. \pagetotal is the accumulated distance from the top of the page, and when it *exceeds* \pagegoal, the machinery clanks and a new page is output. But sometimes not right away, either. Your example can be made even more entertaining: \documentclass{article} \begin{document} \the\pagegoal A \vspace{\textheight} Z\the\pagetotal\the\pagegoal \the\pagetotal\the\pagegoal \the\pagetotal\the\pagegoal \the\pagetotal\the\pagegoal \the\pagetotal\the\pagegoal \the\pagetotal\the\pagegoal \end{document} You'll see that the counters are close to page coordinates, but since the underlying design required something else, they are something else. -tom -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net From reinhard.kotucha at web.de Sun Dec 28 05:08:41 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 28 Dec 2008 05:08:41 +0100 Subject: [texhax] current position in output In-Reply-To: <6967.1230424599@as220.org> References: <903672.89177.qm@web52505.mail.re2.yahoo.com> <6967.1230424599@as220.org> Message-ID: <18774.64457.242323.990273@zaphod.ms25.net> tom sgouros writes: > > I don't know if you'll get the precision you seem to be looking for, but > you should try playing with \pagetotal, which is a length that marks > where you are on the page (measured from the top), and creeps up (down) > towards \pagegoal. When it gets to \pagegoal, the page-completing > machinery clanks into action. Anyway, you might experiment with those > and see if that can't get you where you hope to go. One little > weirdness is that I think \pagegoal isn't set until something > is applied to the page. Hi Tom, I doubt that this is a good advice. The only reasonable solution is what Martin proposed. Your last sentence describes the problem: The page breaking algorithm doesn't care about \pagegoal and \pagetotal at all. You are virtually writing on endless paper, but whenever a paragraph is finished, the output routine is called. If the page is not full at the end of a particular paragraph, nothing spectacular happens. Otherwise the last paragraph has to be split. The first part appears on page $n$ and the second part appears on page $n+1$. Now assume that you convince TeX to print the values of \pagegoal and \pagetotal to screen. If you do it at the very end of a paragraph which doesn't fit on a page completely, you'll notice that \pagetotal is larger than \pagegoal. If you ask for the page number, TeX will tell you that you are still on page $n$ while the stuff actually goes to page $n+1$. Where things appear on a page is only known after the output routine had been run and a new page had been shipped out. If you really want to know where on the page you are, you have to wait until the page is shipped out. This means that you have to modify the output routine. But this is extremely difficult and not advisable. The only reasonable solution is what Martin proposed. Everything else is inaccurate and unreliable and not worth to consider. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From reinhard.kotucha at web.de Sun Dec 28 05:48:32 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 28 Dec 2008 05:48:32 +0100 Subject: [texhax] current position in output In-Reply-To: <13657.1230436642@as220.org> References: <903672.89177.qm@web52505.mail.re2.yahoo.com> <5.1.0.14.0.20081228034806.02bb8bb0@pop3.web.de> <13657.1230436642@as220.org> Message-ID: <18775.1312.262367.490927@zaphod.ms25.net> tom sgouros writes: > I wasn't clear. \pagetotal is the accumulated distance from the top of > the page, and when it *exceeds* \pagegoal, the machinery clanks and a > new page is output. No! See my previous mail. Absolutely nothing happens when \pagetotal exceeds \pagegoal. The machinery simply doesn't work this way. > \the\pagetotal\the\pagegoal > > \the\pagetotal\the\pagegoal > > \the\pagetotal\the\pagegoal > > \the\pagetotal\the\pagegoal This is useless. Put these commands into paragraphs containing text, one near the beginning and one near the end of each paragraph and see what happens when a page break occurs. Use the pdfTeX primitives suggested by Martin instead. Everything else is useless. 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 tomfool at as220.org Sun Dec 28 05:51:34 2008 From: tomfool at as220.org (tom sgouros) Date: Sat, 27 Dec 2008 23:51:34 -0500 Subject: [texhax] current position in output In-Reply-To: <18774.64457.242323.990273@zaphod.ms25.net> References: <903672.89177.qm@web52505.mail.re2.yahoo.com> <6967.1230424599@as220.org> <18774.64457.242323.990273@zaphod.ms25.net> Message-ID: <15812.1230439894@as220.org> To the OP: Reinhard is mostly right and you should take Martin's advice. My advice is impractical, perhaps, but it works. Some years ago I used \pagegoal and \pagetotal in a package to insert predefined material on specific pages throughout a document, and it works ok for me. See examples at whatcheer.net, in the newsletter archive section on the left side. The masthead, subscription form, and mailer are all handled this way. Thanks, -tom Reinhard Kotucha wrote: > tom sgouros writes: > > > > I don't know if you'll get the precision you seem to be looking for, but > > you should try playing with \pagetotal, which is a length that marks > > where you are on the page (measured from the top), and creeps up (down) > > towards \pagegoal. When it gets to \pagegoal, the page-completing > > machinery clanks into action. Anyway, you might experiment with those > > and see if that can't get you where you hope to go. One little > > weirdness is that I think \pagegoal isn't set until something > > is applied to the page. > > Hi Tom, > I doubt that this is a good advice. The only reasonable solution is > what Martin proposed. > > Your last sentence describes the problem: The page breaking algorithm > doesn't care about \pagegoal and \pagetotal at all. You are virtually > writing on endless paper, but whenever a paragraph is finished, the > output routine is called. If the page is not full at the end of a > particular paragraph, nothing spectacular happens. Otherwise the last > paragraph has to be split. The first part appears on page $n$ and the > second part appears on page $n+1$. > > Now assume that you convince TeX to print the values of \pagegoal and > \pagetotal to screen. If you do it at the very end of a paragraph > which doesn't fit on a page completely, you'll notice that \pagetotal > is larger than \pagegoal. If you ask for the page number, TeX will > tell you that you are still on page $n$ while the stuff actually goes > to page $n+1$. > > Where things appear on a page is only known after the output routine > had been run and a new page had been shipped out. > > If you really want to know where on the page you are, you have to wait > until the page is shipped out. This means that you have to modify the > output routine. But this is extremely difficult and not advisable. > > The only reasonable solution is what Martin proposed. Everything else > is inaccurate and unreliable and not worth to consider. > > 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. > ---------------------------------------------------------------------------- > -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net From dak at gnu.org Sun Dec 28 11:39:44 2008 From: dak at gnu.org (David Kastrup) Date: Sun, 28 Dec 2008 11:39:44 +0100 Subject: [texhax] current position in output In-Reply-To: <5.1.0.14.0.20081228014741.02bc6bd0@pop3.web.de> ("Uwe =?iso-8859-1?Q?L=FCck=22's?= message of "Sun, 28 Dec 2008 02:59:48 +0100") References: <5.1.0.14.0.20081228014741.02bc6bd0@pop3.web.de> Message-ID: <85myegpor3.fsf@lola.goethe.zz> Uwe L?ck writes: > At 16:53 27.12.08, Cihan . wrote: >> >> Is there any command or way to get the current output position (xy >> coordinate) of things. I need a comand that can capture the position >> like >> >>\xyposition{words or things in there} >>\currentpagenumber > > Y+. One might think of a /geometrical/ unit like: "how many pt below the > top of the page is ...'' ... very hard ... my advice: forget it! > [or ask Donald Arseneau and/or David Kastrup] PDFTeX has \pdfsavepos, \pdflastxpos, \pdflastypos. That's actually tolerably easy to use and has for some years also worked in DVI mode. > Z. As for coordinates in terms of pt, TeX will be little helpful, > but perhaps PDFTeX can help you!? S.a. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum From hofri at WPI.EDU Sun Dec 28 18:52:14 2008 From: hofri at WPI.EDU (Micha Hofri) Date: Sun, 28 Dec 2008 12:52:14 -0500 (EST) Subject: [texhax] current position in output In-Reply-To: <85myegpor3.fsf@lola.goethe.zz> References: <5.1.0.14.0.20081228014741.02bc6bd0@pop3.web.de> <85myegpor3.fsf@lola.goethe.zz> Message-ID: A question about the frequent mention in this thread of pdftex, or pdflatex: it has been my understanding that as a frequent user of pstricks (a marvelous tool!) I cannot use pdflatex (and routinely go the dvi-postscript route, sometimes into pdf). Is this true? Is pdflatex still unable to "do" pstricks? On the other hand, pstricks seems to have awareness of the "current position" on the page, which I occasionally use by trial-and-error. is there a way to get pstricks to tell us where is what? Thank you, --Micha Hofri At 11:39 on 12/28/08 David Kastrup sent: : Uwe L?ck writes: : : > At 16:53 27.12.08, Cihan . wrote: : >> : >> Is there any command or way to get the current output position (xy : >> coordinate) of things. I need a comand that can capture the position : >> like : >> : >>\xyposition{words or things in there} : >>\currentpagenumber : > : > Y+. One might think of a /geometrical/ unit like: "how many pt below the : > top of the page is ...'' ... very hard ... my advice: forget it! : > [or ask Donald Arseneau and/or David Kastrup] : : PDFTeX has \pdfsavepos, \pdflastxpos, \pdflastypos. That's actually : tolerably easy to use and has for some years also worked in DVI mode. : : > Z. As for coordinates in terms of pt, TeX will be little helpful, : > but perhaps PDFTeX can help you!? : : S.a. : : From lists at larsko.org Sun Dec 28 19:12:51 2008 From: lists at larsko.org (Lars Kotthoff) Date: Sun, 28 Dec 2008 19:12:51 +0100 Subject: [texhax] current position in output In-Reply-To: References: <5.1.0.14.0.20081228014741.02bc6bd0@pop3.web.de> <85myegpor3.fsf@lola.goethe.zz> Message-ID: <20081228191251.2311efda@ronin.larsko.net> > Is this true? Is pdflatex still unable to "do" pstricks? Sort of, it can't do the "ps" part. You can use e.g. pdftricks [1] to get around this though. Lars [1] http://www.ctan.org/tex-archive/help/Catalogue/entries/pdftricks.html From martin at oneiros.de Sun Dec 28 19:25:03 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Sun, 28 Dec 2008 19:25:03 +0100 Subject: [texhax] current position in output In-Reply-To: <20081228191251.2311efda@ronin.larsko.net> References: <5.1.0.14.0.20081228014741.02bc6bd0@pop3.web.de> <85myegpor3.fsf@lola.goethe.zz> <20081228191251.2311efda@ronin.larsko.net> Message-ID: <68c491a60812281025x768f2adbh578273c7564f6b1a@mail.gmail.com> 2008/12/28 Lars Kotthoff : >> Is this true? Is pdflatex still unable to "do" pstricks? > > Sort of, it can't do the "ps" part. You can use e.g. pdftricks [1] to get around > this though. Or you run pdfTeX in dvi mode. Best Martin From uwe.lueck at web.de Sun Dec 28 23:25:09 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 28 Dec 2008 23:25:09 +0100 Subject: [texhax] PStricks in PDF [was `current position in output'] In-Reply-To: <20081228191251.2311efda@ronin.larsko.net> References: <5.1.0.14.0.20081228014741.02bc6bd0@pop3.web.de> <85myegpor3.fsf@lola.goethe.zz> Message-ID: <5.1.0.14.0.20081228223308.02fb6600@pop3.web.de> Via At 19:12 28.12.08, Lars Kotthoff wrote: > http://www.ctan.org/tex-archive/help/Catalogue/entries/pdftricks.html you find http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput which discusses quite a number of possibilities to use PostScript with pdfTeX, seems to intend completeness, yet ... At 19:25 28.12.08, Martin Schr?der wrote: >2008/12/28 Lars Kotthoff : > >> Is this true? Is pdflatex still unable to "do" pstricks? > > > > Sort of, it can't do the "ps" part. You can use e.g. pdftricks [1] to > get around > > this though. > >Or you run pdfTeX in dvi mode. Is this true? Then webmaster_at_PSTricks.de (for above web page) should be informed. Maybe almost nobody knows how to run pdfTeX in dvi mode on a LaTeX file, e.g.: + how to modify the local `pdflatex' command for this + how to make the favourite GUI TeX shell do this [for archive: subject started by Micha Hofri in `current position in output'] HTH -- Uwe From uwe.lueck at web.de Mon Dec 29 01:31:33 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 29 Dec 2008 01:31:33 +0100 Subject: [texhax] current position in output In-Reply-To: <18774.64457.242323.990273@zaphod.ms25.net> References: <6967.1230424599@as220.org> <903672.89177.qm@web52505.mail.re2.yahoo.com> <6967.1230424599@as220.org> Message-ID: <5.1.0.14.0.20081228235455.02fb3bd0@pop3.web.de> Intending clarification of the most important aspect of Reinhard's criticism of using \pagetotal [just sport]: At 05:08 28.12.08, Reinhard Kotucha wrote: >tom sgouros writes: > > I don't know if you'll get the precision you seem to be looking for, but > > you should try playing with \pagetotal, [...] >The only reasonable solution is what Martin proposed. [pdfTeX] >Everything else is inaccurate and unreliable and not worth to consider. At 05:48 28.12.08, Reinhard Kotucha wrote: >tom sgouros writes: > > > \the\pagetotal\the\pagegoal > > > > \the\pagetotal\the\pagegoal > > > > \the\pagetotal\the\pagegoal > >This is useless. Put these commands into paragraphs containing text, >one near the beginning and one near the end of each paragraph and see >what happens when a page break occurs. While processing input not containing any \par, the expansion of \the\pagetotal won't change [1]. So e.g., if you have an author like Heinrich von Kleist where a sentence may fill more than a page (f. Exercise 14.15 in the TeXbook) \the\pagetotal may expand to `0pt' all over the page. This means that \the\pagetotal may not give any clue as to the vertical position on the page. Rather it will just indicate the vertical position at which the previous paragraph ended. Cheers, Uwe ____________________________ [1] \begin{document} \newcommand{\ohmydear}{% Oh my dear! Oh my dear! Oh my dear! Oh my dear! Oh my dear! Oh my dear! Oh my dear! Oh my dear! Oh my dear! Oh my dear! \the\pagetotal\space} \ohmydear \ohmydear \ohmydear \ohmydear \ohmydear \end{document} From martin at oneiros.de Mon Dec 29 01:41:23 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Mon, 29 Dec 2008 01:41:23 +0100 Subject: [texhax] PStricks in PDF [was `current position in output'] In-Reply-To: <5.1.0.14.0.20081228223308.02fb6600@pop3.web.de> References: <5.1.0.14.0.20081228014741.02bc6bd0@pop3.web.de> <85myegpor3.fsf@lola.goethe.zz> <20081228191251.2311efda@ronin.larsko.net> <5.1.0.14.0.20081228223308.02fb6600@pop3.web.de> Message-ID: <68c491a60812281641s435a56dbu59144d4ca72ea853@mail.gmail.com> 2008/12/28 Uwe L?ck : > Maybe almost nobody knows how to run pdfTeX in dvi mode on a LaTeX file, > e.g.: > + how to modify the local `pdflatex' command for this You just run 'latex'. It now mostly uses pdfTeX, you know. :-) Or you read the beautiful pdftex manual, where you will find the \pdfoutput switch. Best Martin From Faraz_Hasan-S at email.ulster.ac.uk Mon Dec 29 12:57:46 2008 From: Faraz_Hasan-S at email.ulster.ac.uk (Syed Faraz Hasan) Date: Mon, 29 Dec 2008 11:57:46 +0000 Subject: [texhax] Using special characters like _ and " etc Message-ID: Hi everybody! Latex displays everything following an underscore _ or an inverted comma " in italics form. There seems to be a special way of using special characters in the text. Can some one please help me out at this. Regards, Faraz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081229/9c5b73f7/attachment.html From martin at oneiros.de Mon Dec 29 13:51:47 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Mon, 29 Dec 2008 13:51:47 +0100 Subject: [texhax] Using special characters like _ and " etc In-Reply-To: References: Message-ID: <68c491a60812290451k1eaa83f6wc322831705ae04bc@mail.gmail.com> 2008/12/29 Syed Faraz Hasan : > in italics form. There seems to be a special way of using special characters > in the text. Can some one please help me out at this. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=man-latex Best Martin From uwe.lueck at web.de Mon Dec 29 15:45:32 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 29 Dec 2008 15:45:32 +0100 Subject: [texhax] Using special characters like _ and " etc In-Reply-To: Message-ID: <5.1.0.14.0.20081229151216.0274cca0@pop3.web.de> At 12:57 29.12.08, Syed Faraz Hasan wrote: >Latex displays everything following an underscore _ or an inverted comma " >in italics form. There seems to be a special way of using special >characters in the text. `_' is a standard TeX matter. I experience here and myself that there are installations nowadays that don't stop at errors, so many users don't realize them! In your .log file, you will find `missing $ inserted'; in the old times, TeX stopped to tell you this on screen. `_' is only allowed in math mode, not in ordinary text. To get an underscore symbol, type `\_'. `_' in text doesn't really switch to italics, rather TeX treats it as `$_' and considers all following text a mathematical formula, until it finds a `$' or a \par. You also should have noticed that the first character after `_' appears as a subscript, that's what `_' is for. The TeXbook lists all these special characters on page 36. Perhaps looking for `category code' helps to find explanations of all of them in various documents on TeX and LaTeX. I am astonished that `"' should switch to something like italics. babel.sty and german.sty use it for generating certain language-specific letters or characters. Using it for quoting is ``deprecated'' in TeX which was made for high typographic ambitions. Best, Uwe. From freedman at physics.cornell.edu Mon Dec 29 04:54:11 2008 From: freedman at physics.cornell.edu (Daniel Freedman) Date: Sun, 28 Dec 2008 22:54:11 -0500 Subject: [texhax] Combining symbols (vertical placement of characters) Message-ID: <20081229035411.GK10043@cpe-67-241-17-133.twcny.res.rr.com> Hi, I'm trying to use symbols in an AMS LaTeX document similar to the \nwfilledspoon and \sefilledspoon (for those unfamiliar, these are diagonal arrows with solid circles instead of arrowheads). These symbols are provided as part of the MnSymbol package. Unfortunately, MnSymbol conflicts with AMS symbols and fonts, both of which I use heavily (I've looked into working around these conflicts, but it's proving problematic --- unless anyone has an easier method than those discussed in the _The Comprehensive LaTeX Symbol List_). Based upon advice from _The Comprehensive LaTeX Symbol List_, I've decided to try to construct replicas of these symbols, using other existing ones (AMS or otherwise). This is where I'm having trouble. I've consulted the aforemented guide, as well as the TeXHaX mailing archive, the _LaTeX Companion_ (2nd edition), and Gratzer's _Math into LaTeX_. Here's my thought process: Take a simple diagonal arrow (say: \searrow or \nwarrow) and position a bullet over the arrowhead. The bullet is large enough to cover the arrowheads (especially when bolded) and it could simulate the above \sefilledspoon or \nwfilledspoon. The main problem is that I'm having trouble controlling the vertical placement of the bullet. The horizontal overlap is easy enough with suitable negative mspace. I'm able to get the bullet higher using \overset's and \vphantom's (though, it's annoying that I seem to lose the \boldsymbol on the bullet, which helps fully obstruct the arrowheads, when I use \overset). However, it's been hard to get the bullet just a bit lower (\underset positions it too low, and no \vphantoms seem to help). I'm avoiding \overset, \stackrel, etc. on the *actual* arrows, but instead using separate \vphantom's, as I don't want the bullet centered horizontally on the arrow, since I need it to occlude the arrowheads on the endpoints. Here are some of my failed attempts: $\boldsymbol{\bullet\mspace{-14mu}\nwarrow}$ $\boldsymbol{\searrow\mspace{-14mu}\bullet}$ $\boldsymbol{\overset{\bullet}{\vspace{2ex}}\mspace{-12mu}\nwarrow}$ $\boldsymbol{\overset{\bullet}{\vphantom{\rule{0em}{0.4ex}}}\mspace{-12mu}\nwarrow}$ $\boldsymbol{\searrow\mspace{-12mu}\underset{\bullet}{\vphantom{\rule{0em}{-5.0ex}}}}$ I'd be grateful for any and all suggestions. Thanks, Daniel -- Daniel Freedman <{freedman at physics | dfreedman at cs}.cornell.edu> Post-Doc, Distributed Systems, Computer Science, Cornell University -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://tug.org/pipermail/texhax/attachments/20081228/f5e15787/attachment.bin From juergen.fenn at GMX.DE Mon Dec 29 13:08:28 2008 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Mon, 29 Dec 2008 13:08:28 +0100 Subject: [texhax] Using special characters like _ and " etc In-Reply-To: References: Message-ID: <4958BDBC.8040006@GMX.DE> Syed Faraz Hasan schrieb: > Latex displays everything following an underscore _ or an inverted comma > " in italics form. There seems to be a special way of using special > characters in the text. Can some one please help me out at this. Please see lshort.pdf, page 5 for how to input special characters in LaTeX. In case you want to quote a URL, have a look at url.sty (the manual can be found in the source code). For more packages producing verbatim output, see the TeX Catalogue. ftp://cam.ctan.org/tex-archive/info/lshort/english.zip ftp://cam.ctan.org/tex-archive/macros/latex/contrib/misc/url.sty http://texcatalogue.sarovar.org/bytopic.html#verbatim J?rgen. From johnp at palmyra.uklinux.net Mon Dec 29 20:32:24 2008 From: johnp at palmyra.uklinux.net (John Palmer) Date: Mon, 29 Dec 2008 19:32:24 +0000 Subject: [texhax] Combining symbols (vertical placement of characters) In-Reply-To: <20081229035411.GK10043@cpe-67-241-17-133.twcny.res.rr.com> References: <20081229035411.GK10043@cpe-67-241-17-133.twcny.res.rr.com> Message-ID: <200812291932.25082.johnp@palmyra.uklinux.net> On Monday 29 December 2008 03:54:11 Daniel Freedman wrote: > position a bullet over the arrowhead I have done this sort of thing by using \raisebox for vertical and \kern for horizontal movement, but there must be a more robust and elegant way, so I'll be interested in other replies ! Regards, John -- John Palmer Preston near Weymouth, Dorset, England e-mail: johnp at bcs.org.uk (plain text preferred) website: http://www.palmyra.uklinux.net/ From uwe.lueck at web.de Tue Dec 30 23:58:02 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 30 Dec 2008 23:58:02 +0100 Subject: [texhax] Combining symbols (vertical placement of characters) Message-ID: <5.1.0.14.0.20081230232458.02bb8d50@pop3.web.de> At 20:32 29.12.08, John Palmer wrote: >On Monday 29 December 2008 03:54:11 Daniel Freedman wrote: > > position a bullet over the arrowhead > >I have done this sort of thing by using \raisebox for vertical and \kern for >horizontal movement, but there must be a more robust and elegant way, so I'll >be interested in other replies ! If you really want to compose (running just TeX) new glyphs from existing ones, you should know how the latter were designed (and how they are coded in METAFONT), in terms of font dimensions, cf. TeXbook p. 433/447; or of the height of `(' (\mathstrut) ... and in your macros, you should refer to these (\fontdimen, ...) [I can't tell details here]. Referring to such dimensions would be better than trying various numbers ... Replacing the arrowhead with a bullet, you should refer to the height and width of the box enclosing the diagonal stroke and to the width of the bullet and the height of its center (I guess it's axis_height according to TeXbook p. 447). Don't forget \mathpalette ... But John: I wonder whether you are asking about creating new glyphs or just about placing one character over another. The latter task usually requires dimensions of enclosing boxes only; it can be performed through one-column ``tables'' (\oalign) or through the \accent primitive (depends ...). Are you thinking of specific examples that have bothered you? HTH -- Uwe. From reinhard.kotucha at web.de Wed Dec 31 02:36:16 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 31 Dec 2008 02:36:16 +0100 Subject: [texhax] Combining symbols (vertical placement of characters) In-Reply-To: <5.1.0.14.0.20081230232458.02bb8d50@pop3.web.de> References: <5.1.0.14.0.20081230232458.02bb8d50@pop3.web.de> Message-ID: <18778.52368.335140.266806@zaphod.ms25.net> Uwe L?ck writes: > At 20:32 29.12.08, John Palmer wrote: > >On Monday 29 December 2008 03:54:11 Daniel Freedman wrote: > > > position a bullet over the arrowhead > > > >I have done this sort of thing by using \raisebox for vertical and \kern for > >horizontal movement, but there must be a more robust and elegant way, so I'll > >be interested in other replies ! > > If you really want to compose (running just TeX) new glyphs from existing > ones, you should know how the latter were designed (and how they are coded > in METAFONT), in terms of font dimensions, cf. TeXbook p. 433/447; or of > the height of `(' (\mathstrut) ... and in your macros, you should refer to > these (\fontdimen, ...) [I can't tell details here]. Referring to such > dimensions would be better than trying various numbers ... Replacing the > arrowhead with a bullet, you should refer to the height and width of the > box enclosing the diagonal stroke and to the width of the bullet and the > height of its center (I guess it's axis_height according to TeXbook p. > 447). Don't forget \mathpalette ... > > But John: I wonder whether you are asking about creating new glyphs or just > about placing one character over another. The latter task usually requires > dimensions of enclosing boxes only; it can be performed through one-column > ``tables'' (\oalign) or through the \accent primitive (depends ...). Are > you thinking of specific examples that have bothered you? There is nothing wrong if new symbols are composed with \kern and \raisebox. Everything which works is fine. However, the most reasonable approach is to check whether a particular symbol exists already: http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-letter.pdf This should always be the first step. 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. ----------------------------------------------------------------------------