From tug-news at tug.org Thu Jan 12 01:18:15 2017 From: tug-news at tug.org (TeX Users Group) Date: Thu, 12 Jan 2017 00:18:15 GMT Subject: [texhax] Jan17 TUG news: election, conferences, membership, calendar, review Message-ID: <201701120018.v0C0IF4s032730@freefriends.org> Fellow TeX-ers, It is dark here in the US. Fortunately, there are lots of good things in the TeX world, including a calendar on which to mark the days until the thaw; see item 7. 0) But first, allow us to mention TUG memberships for the new year. If you've already renewed, or automatically renew your membership, thanks! Otherwise, you can find the membership form and information at http://tug.org/join.html, and would greatly appreciate your consideration and support. This year we have doubled the discount for electronic memberships to try to help where finances are a concern. 1) Also on the organizational front, this is an election year for TUG. A number of seats on the Board expire in 2017, including that of President; see http://tug.org/election/. The deadline for submissions is Feb 1, 2017, 5pm PST. Note that this deadline is firm. Direct inquiries to the election committee, whose address is on that page. Please consider running. TUG depends on all of us to continue the good work, and being on the Board is a great way to make a contribution. 2) Next year's TUG conference will be at the annual BachoTeX conference April 29-May 3, 2017. We will be joining the Polish TeX group GUST for their 25th birthday. More information will be appearing in this newsletter and at http://tug.org/tug2017/. If you are thinking about your trip I urge you to read the page, "Things you always wanted to know about Bachotek" at http://tug.org/tug2017/bachotex.html. 3) Very important: the deadline for Bursary Fund applications for the TUG conference is January 15, 2017. This fund helps members of the TeX community who would, for financial reasons, otherwise be unable to attend a TUG conference. Full information is on http://tug.org/bursary/. (Please consider making a donation to the TUG Bursary Fund. One hundred percent of the money donated is used to help people attend the conference. Thanks for your consideration.) 4) With the end of the year, we have ended the year's membership campaign (http://tug.org/membership/). Thanks to all TUG members who invited others to join and to our new members. And congratulations to the winner of the drawing, Doug Marmion, who will receive a limited edition of *Manuale Zapficum, 2009: Typographic arrangements of the words by and about the work of Hermann Zapf & Gudrun Zapf von Hesse* from RIT Press. 5) The next TUGboat is a regular issue, 38:1; the submission deadline is February 24, 2017. Submissions are most welcome, particularly of introductory and survey articles. 6) Looking forward, the 11th ConTeXt meeting will take place at Butzbach-Maibach, Germany, on September 11-17, 2017. The theme will be ConTeXt Gardening. See http://meeting.contextgarden.net/2017/. This meeting will host ConTeXt and LuaTeX developers as well as users. It gives you the chance to present your results, experiences, and ideas on future development. The talks will be followed by tutorials on ConTeXt and LuaTeX techniques. 7) Peter Wilson of Herries Press has prepared a 2017 calendar of historical Japanese woodblocks. The a4 version is at http://tug.org/calendar/17/tug-cal17-a4.pdf, and the US letter version is at http://tug.org/calendar/17/tug-cal17-letter.pdf. 8) Boris Veytsman has done another review, this time of the seminar *Presenting data and information* by Edward Tufte. Many TeX-ers will know Tufte's work, and the review is fascinating. See http://tug.org/books/reviews/tb118reviews-tufte.html. Happy TeXing, Jim Hefferon, for the TUG Board From th.chousiadas at gmail.com Thu Jan 12 13:06:14 2017 From: th.chousiadas at gmail.com (Thanasis Housiadas) Date: Thu, 12 Jan 2017 14:06:14 +0200 Subject: [texhax] Installing Tex Live Message-ID: Hello my name is Thanasis. I send you an email because I cannot figure out how to install Tex Live in Ubuntu (xenial). I use MikTex in Windows 10 and I am new in a Unix environment. I have seen the site but there are vast information. Firstly, I have downloaded the install-tl-unx.tar.gz. I continued and read the site Quick Install but I did not understand a lot. How can I proceed? Thank you very much, Thanasis Housiadas -------------- next part -------------- An HTML attachment was scrubbed... URL: From es at enricoschumann.net Thu Jan 12 18:20:18 2017 From: es at enricoschumann.net (Enrico Schumann) Date: Thu, 12 Jan 2017 18:20:18 +0100 Subject: [texhax] Installing Tex Live In-Reply-To: (Thanasis Housiadas's message of "Thu, 12 Jan 2017 14:06:14 +0200") References: Message-ID: <87fukoxkj1.fsf@enricoschumann.net> On Thu, 12 Jan 2017, Thanasis Housiadas writes: > Hello my name is Thanasis. I send you an email because I cannot figure out > how to install Tex Live in Ubuntu (xenial). I use MikTex in Windows 10 and > I am new in a Unix environment. I have seen the site but there are vast > information. > > Firstly, I have downloaded the install-tl-unx.tar.gz. I continued and read > the site Quick Install but I did not understand a lot. How can I proceed? > > Thank you very much, > Thanasis Housiadas Hi Thanasis, the easiest way should be to use Ubuntu's Software Centre. Just search for "texlive" or "texlive-full" (the latter gives you a complete TeX Live distribution). See also https://www.tug.org/texlive/debian.html, under "Installing the Debian/Ubuntu packages". kind regards Enrico -- Enrico Schumann Lucerne, Switzerland http://enricoschumann.net From hzmonte at hotmail.com Tue Jan 17 06:08:19 2017 From: hzmonte at hotmail.com (hz hzmonte) Date: Tue, 17 Jan 2017 05:08:19 +0000 Subject: [texhax] Bug in TexLive installer Message-ID: I just downloaded the install-tl-windows.exe for Windows from https://www.tug.org/texlive/acquire-netinstall.html for my Win XP. It has been a big hassle to install it. I think at least part of the problems is that an outdated version of perl - perl522.dll (and maybe other files as well) was included in \install-tl-20170116\tlpkg\tlperl\bin. The installer looked for perl524.dll ! From tomas at basun.net Fri Jan 27 14:31:35 2017 From: tomas at basun.net (Tomas By) Date: Fri, 27 Jan 2017 14:31:35 +0100 Subject: [texhax] typesetting source code (Funnelweb) In-Reply-To: References: Message-ID: <1e7c3ef006ebc8b88567fd5338e7b2dd@basun.net> Hi all, I posted this to the Texlive mailing list, but this seems to be a more appropriate forum. Am using the Funnelweb literate programming tool, producing Tex output. In some code I have, I need to insert ASCII code 25 in the C source code. This works fine as far as producing the C code, but when I run Latex on the .tex file, I get: | ! Text line contains an invalid character. | l.1573 ... | ^^Y The relevant piece of the .tex file is: | \fwbtx[ ... | ^Y ... | ] (in Emacs; the ^Y is one character, not two) and the "fwbtx" macro is defined as: | \def\fwbtx[{% | \begingroup% | \def\par{\leavevmode\endgraf}% | \catcode`\`=\active% | \obeylines% | \def\do##1{\catcode`##1=12 }\dospecials% | \obeyspaces | \parskip=0pt% | \tt% | \fwverbatimgobble} | \def\fwverbatimgobble#1]fwetx={#1\endgroup} which, I believe, is supposed to escape all non-ASCII characters, so that Tex does not complain. Can anybody explain what goes wrong? Is there some simple work-around? Replace the "fwbtx" macro with something? Any help appreciated. /Tomas From cramsay at unl.edu Sat Jan 28 13:51:39 2017 From: cramsay at unl.edu (Colin Ramsay) Date: Sat, 28 Jan 2017 12:51:39 +0000 Subject: [texhax] Latex Currency Symbols Message-ID: I would like to use currency symbols from as many countries as possible, (beyond those from the textcomp package). I am especially interested in currency symbols from Israel, China, Iran, and Saudi Arabia. Are there Latex (not XeLatex or LuaLatex) code for currencies from these countries? If yes, where are they available? Is there a complete list of currency symbols available/possible in Latex? If yes, where is it available? I use LaTex via TexLive 2016 as well as Miktex 2.9. -------------- next part -------------- An HTML attachment was scrubbed... URL: From herries.press at earthlink.net Sat Jan 28 19:20:10 2017 From: herries.press at earthlink.net (Peter Wilson) Date: Sat, 28 Jan 2017 18:20:10 +0000 Subject: [texhax] Latex Currency Symbols In-Reply-To: References: Message-ID: <0eb63121-ac5e-31b0-015d-3d0ef5e95278@earthlink.net> Try: > texdoc comprehensive for a list of all symbols. On 28/01/17 12:51, Colin Ramsay wrote: > > I would like to use currency symbols from as many countries as possible, > > (beyond those from the textcomp package). > > I am especially interested in currency symbols from Israel, China, > Iran, and Saudi Arabia. > > Are there Latex (not XeLatex or LuaLatex) code for currencies from > these countries? > > If yes, where are they available? > > Is there a complete list of currency symbols available/possible in Latex? > > If yes, where is it available? > > I use LaTex via TexLive 2016 as well as Miktex 2.9. > > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.p.carlisle at gmail.com Sat Jan 28 19:29:26 2017 From: d.p.carlisle at gmail.com (David Carlisle) Date: Sat, 28 Jan 2017 18:29:26 +0000 Subject: [texhax] Latex Currency Symbols In-Reply-To: References: Message-ID: On 28 January 2017 at 12:51, Colin Ramsay wrote: > I would like to use currency symbols from as many countries as possible, > In addition to fonts, you may find it easier with pdftex to use images, just collect images (.pdf, or .png or whatever) for each currency and then you can use \includeraphics[height=1.2ex]{currency-of-abc}123 to include an image of the abc currency symbol scaled to something relative to the current font size. From great123456 at mail.com Mon Jan 30 21:13:18 2017 From: great123456 at mail.com (David Niklas) Date: Mon, 30 Jan 2017 15:13:18 -0500 Subject: [texhax] How to change fonts for numbers vs. letters Message-ID: <20170130151318.789d03d6@ulgy_thing> Hello, I selected a cool font in Latex but the numbers are offset from each other. For example, the 2 is larger than the one in the number 12, like this: 1 2 2 I could select another font, or repeatedly switch, but I'd like to know if I can use a different font for number vs. letters/punctuation. Thanks, David From bd at bdtechconcepts.com Tue Jan 31 03:43:37 2017 From: bd at bdtechconcepts.com (Brian Dunn) Date: Mon, 30 Jan 2017 20:43:37 -0600 Subject: [texhax] Latex Currency Symbols In-Reply-To: References: Message-ID: <20170130204337.2d1dc09f@mach1> > I would like to use currency symbols from as many countries as > possible See the "newunicode" package for a way to map unicode symbols to graphics images. -- Brian Dunn BD Tech Concepts LLC http://www.BDTechConcepts.com bd at BDTechConcepts.com http://www.linkedin.com/in/bdtechconcepts/ From P.Taylor at Rhul.Ac.Uk Tue Jan 31 11:20:13 2017 From: P.Taylor at Rhul.Ac.Uk (Philip Taylor) Date: Tue, 31 Jan 2017 10:20:13 +0000 Subject: [texhax] How to change fonts for numbers vs. letters In-Reply-To: <20170130151318.789d03d6@ulgy_thing> References: <20170130151318.789d03d6@ulgy_thing> Message-ID: <98e16fc2-82c9-52b6-554a-eaf0b5fb0713@Rhul.Ac.Uk> On 30/01/2017 20:13, David Niklas wrote: > I selected a cool font in Latex but the numbers are offset from each > other. For example, the 2 is larger than the one in the number 12 > I could select another font, or repeatedly switch, but I'd like to know > if I can use a different font for number vs. letters/punctuation. You should look at the font properties to see if it offers a choice between lining and non-lining numerals; if it does, you may be able to instruct it to use your preferred variant. Since you are using LaTeX, of which I am completely ignorant, I cannot suggest /how/ you would "instruct it to use your preferred variant", as that is LaTeX-specific. Alternatively, if you are using XeLaTeX, you could use \XeTeXinterchartoks and friends to elegantly handle the transition between non-numerals and numerals and back again. Philip Taylor From rdt at cs.queensu.ca Tue Jan 31 04:02:50 2017 From: rdt at cs.queensu.ca (Bob Tennent) Date: Mon, 30 Jan 2017 22:02:50 -0500 Subject: [texhax] How to change fonts for numbers vs. letters In-Reply-To: <20170130151318.789d03d6@ulgy_thing> References: <20170130151318.789d03d6@ulgy_thing> Message-ID: <20170131030250.d5ZeX1Ks0%rdt@cs.queensu.ca> >|I selected a cool font in Latex but the numbers are >|offset from each other. For example, the 2 is larger than >|the one in the number 12, like this: >|1 2 >| 2 It would be nice if you could tell us what this "cool font" is because your description of the problem makes no sense to me. I suppose you mean wider rather than "larger"? >|I could select another font, or repeatedly switch, but >|I'd like to know if I can use a different font for number >|vs. letters/punctuation. I suppose one could create a virtual font. Bob T. From cryan at binghamton.edu Tue Jan 31 23:33:18 2017 From: cryan at binghamton.edu (Christopher W Ryan) Date: Tue, 31 Jan 2017 17:33:18 -0500 Subject: [texhax] include a pdf graphics file whose name includes a varying date In-Reply-To: References: Message-ID: I'm resurrecting a thread from back in October (month 10--two digits--this is of consequence). My challenge was this: I am using R and Sweave and MikTeX on Windows 7. I use this workflow to generate a recurring report quarterly. Same report, just new data. The R code generates a graph, saving it as a pdf file, the filename including the system date., like this: >= # make the major graph pdf(file=paste(" NaloxoneUseEMS-timeseriesplot-", Sys.Date(), ".pdf", sep=""), height=8, width=12) ## bunch of R code in here to create a graph dev.off() @ Each time I run the report, the name of the saved pdf file changes, to match the system date. I want to include the most current graph in my pdf output. William Adams kindly provided this excellent solution: \documentclass{article} \usepackage{datenumber} \begin{document} NaloxoneUseEMS-timeseriesplot-\thedateyear-\thedatemonth-\thedateday \end{document} Which worked very well for a while. But now that it is January (month 1, or 01, and there is the crux of the problem) it no longer does. Here is part of the latex error message that provides a clue: ERROR: LaTeX Error: File `ERROR: LaTeX Error: File `ERROR: LaTeX Error: File `NaloxoneUseEMS-timeseriesplot-2017-1-31' not found. So it appears that the Latex package datenumber is searching for the graphics file called NaloxoneUseEMS-timeseriesplot-2017-1-31.pdf (which of course does not exist) whereas my R code is creating the graphics file called NaloxoneUseEMS-timeseriesplot-2017-01-31.pdf (which was successfully created and is sitting in the proper directory.) Can I make datenumber use 2 digits for \thedatemonth? Thanks. --Chris Ryan On Fri, Oct 14, 2016 at 3:15 PM, Christopher W Ryan wrote: > William-- > > Fantastic! Thanks! > > --Chris > > On Fri, Oct 14, 2016 at 2:43 PM, William Adams > wrote: > > \documentclass{article} > > > > \usepackage{datenumber} > > > > \begin{document} > > > > NaloxoneUseEMS-timeseriesplot-\thedateyear-\thedatemonth-\thedateday > > > > \end{document} > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.p.carlisle at gmail.com Tue Jan 31 23:39:50 2017 From: d.p.carlisle at gmail.com (David Carlisle) Date: Tue, 31 Jan 2017 22:39:50 +0000 Subject: [texhax] include a pdf graphics file whose name includes a varying date In-Reply-To: References: Message-ID: \ifnum\thedatemonth<10 0\fi\thedatemonth David On 31 January 2017 at 22:33, Christopher W Ryan wrote: > I'm resurrecting a thread from back in October (month 10--two digits--this > is of consequence). My challenge was this: > > I am using R and Sweave and MikTeX on Windows 7. I use this workflow > to generate a recurring report quarterly. Same report, just new data. > > The R code generates a graph, saving it as a pdf file, the filename > including the system date., like this: > > >= > # make the major graph > pdf(file=paste(" > NaloxoneUseEMS-timeseriesplot-", Sys.Date(), ".pdf", > sep=""), height=8, width=12) > ## bunch of R code in here to create a graph > dev.off() > @ > > > Each time I run the report, the name of the saved pdf file changes, to > match the system date. I want to include the > most current graph in my pdf output. > > William Adams kindly provided this excellent solution: > > \documentclass{article} > > \usepackage{datenumber} > > \begin{document} > > NaloxoneUseEMS-timeseriesplot-\thedateyear-\thedatemonth-\thedateday > > \end{document} > > > Which worked very well for a while. But now that it is January (month 1, or > 01, and there is the crux of the problem) it no longer does. Here is part > of the latex error message that provides a clue: > > > ERROR: LaTeX Error: File `ERROR: LaTeX Error: File `ERROR: LaTeX Error: File > `NaloxoneUseEMS-timeseriesplot-2017-1-31' not found. > > > So it appears that the Latex package datenumber is searching for the > graphics file called > > > NaloxoneUseEMS-timeseriesplot-2017-1-31.pdf (which of course does not exist) > > > > whereas my R code is creating the graphics file called > > > NaloxoneUseEMS-timeseriesplot-2017-01-31.pdf (which was successfully created > and is sitting in the proper directory.) > > > Can I make datenumber use 2 digits for \thedatemonth? > > > Thanks. > > > --Chris Ryan > > > > > > > > > > On Fri, Oct 14, 2016 at 3:15 PM, Christopher W Ryan > wrote: >> >> William-- >> >> Fantastic! Thanks! >> >> --Chris >> >> On Fri, Oct 14, 2016 at 2:43 PM, William Adams >> wrote: >> > \documentclass{article} >> > >> > \usepackage{datenumber} >> > >> > \begin{document} >> > >> > NaloxoneUseEMS-timeseriesplot-\thedateyear-\thedatemonth-\thedateday >> > >> > \end{document} > > > > _______________________________________________ > 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