Re: [XeTeX] Asymptote
On 25-05-2010 22:57, Peter Dyballa wrote: and I cannot exclude the possibility that my version is "broken" in some sense It is indeed! What you've found has been found and fixed earlier, last autumn, by Ross Moore. The cause is that PostScript and PDF divide one inch into 72 equal parts (TeX big points, bp) while TeX gets 72.27 equal parts from 1". Thanks a lot. Just update MiKTeX! I update my MiKTeX installation regularly. So, I suppose that it still uses the old version. Best regards, José Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] gloss-russian.ldf bug
** Vadim Radionov [2010-05-26 02:24:19 +0400]: > Dear all, > After upgrade to version [2010/03/23 v1.1.1] of polyglossia, i cannot switch > the family of what comes to running head: compare this and the same without > \setdefaultlanguage{russian} > \documentclass{book} > \usepackage{polyglossia} > \setdefaultlanguage{russian} > \setmainfont{CharterITC} > \makeatletter > \d...@oddhead{\em!! \rightmark\hfil\thepage} > \makeatother > \begin{document} > \markboth{even}{odd} > This is a test. > \end{document} (to clarify: 'odd' is not emphasized in header) This is common problem for all 'gloss-*.ldf' files which have '\normalfontlatin' in they definitions (for example: greek, bulgarian, ukrainian, serbian, coptic). If you comment '\normalfontlatin' in 'gloss-russian.ldf' you get desired result. This problem doesn't appear if you use 'fancyhdr' package (it should be loaded after polyglossia of course). System: TeX Live 2009 with latest updates. -- bug, n: An elusive creature living in a program that makes it incorrect. The activity of "debugging", or removing bugs from a program, ends when people get tired of doing it, not when the bugs are removed. -- "Datamation", January 15, 1984 -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
[XeTeX] gloss-russian.ldf bug
Dear all, After upgrade to version [2010/03/23 v1.1.1] of polyglossia, i cannot switch the family of what comes to running head: compare this and the same without \setdefaultlanguage{russian} \documentclass{book} \usepackage{polyglossia} \setdefaultlanguage{russian} \setmainfont{CharterITC} \makeatletter \d...@oddhead{\em!! \rightmark\hfil\thepage} \makeatother \begin{document} \markboth{even}{odd} This is a test. \end{document} -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Asymptote
Am 25.05.2010 um 19:19 schrieb José Carlos Santos: and I cannot exclude the possibility that my version is "broken" in some sense It is indeed! What you've found has been found and fixed earlier, last autumn, by Ross Moore. The cause is that PostScript and PDF divide one inch into 72 equal parts (TeX big points, bp) while TeX gets 72.27 equal parts from 1". Just update MiKTeX! If you don't want to perform this, you can also change graphics.sty: I'm trying to see how to force this extra scaling to occur, using the macros provided in LaTeX's graphics.sty . Here's how to remove the discrepancy: \piccommand }\dimen0=\wd0 \dimen2=\ht0 \edef\next{\egroup % \def\noexpand\...@urx{\strip@pt\dimen0}% replace these 2 lines % \def\noexpand\...@ury{\strip@pt\dimen2}% with the 2 that follow \def\noexpand\...@urx{\the\dimen0}% \def\noexpand\...@ury{\the\dimen2}% }% \next \...@defaultbp\gin@llx{0}% \...@defaultbp\gin@lly{0}% \expandafter\...@defaultbp\expandafter\gin@urx \expandafter{\...@urx}% \expandafter\...@defaultbp\expandafter\gin@ury \expandafter{\...@ury}% The difference occurs due to the last 2 lines, which provides a way to scale into big-points, using the factor: 72/72.27 ~ .996264 -- Greetings Pete Inside every small problem is a large problem struggling to get out. – Second Law of Blissful Ignorance -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Greek letterspacing with soul
Hi Pablo, On 26/05/2010, at 2:17 AM, Pablo Rodríguez wrote: On 05/25/2010 05:28 PM, Ulrike Fischer wrote: Am Tue, 25 May 2010 17:12:08 +0200 schrieb Pablo Rodríguez: (I know that \makeatletter ends with \makeatother, although I'm not sure what are they used for ;-).) Well \makeatletter makes @ (at) to a letter, which means that you can use commands with @ in their names (command names end at the first non-letter char), \makeatother makes @ to a "non-letter". Thanks for your clear explanation, Ulrike. But naming commands with @ is only a convention, isn't it? Yes, but it is more than just this. It means that a macro's meaning cannot be accidentally redefined, without first going to the trouble of changing the status of the @ character. Only someone who knows (pretty much) what they are doing will have tried that, so it serves as a safety mechanism too. Thanks again, Pablo Hope this helps, Ross Ross Moore ross.mo...@mq.edu.au Mathematics Department office: E7A-419 Macquarie University tel: +61 (0)2 9850 8955 Sydney, Australia 2109 fax: +61 (0)2 9850 8114 -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
[XeTeX] Asymptote
Hi all, Earlier today I reported this bug concerning Asymptote: https://sourceforge.net/tracker/index.php?func=detail&aid=3006849&group_id=12&atid=685683 John Bowman (who is, I think, member of the Asymptote team) made this comment: "This is not an Asymptote bug. In fact, it works fine for me with XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009) All that Asymptote does is prepare a XeLaTeX file for you; it won't fix a broken XeLaTeX installation. If some more recent version of xelatex fails you need to report that to the xelatex developers. Run asy -k -tex xelatex test.asy to generate the test_.tex and test_0.pdf..." Well, the XeTeX that I use has version number, 3.1415926-2.2-0.9995.1 and so it is not exactly the same as his and I cannot exclude the possibility that my version is "broken" in some sense. Nevertheless, I would like know the opinion of people with more knowledge about this than me. Best regards, Jose Carlos Santos -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Greek letterspacing with soul
On 05/25/2010 05:28 PM, Ulrike Fischer wrote: Am Tue, 25 May 2010 17:12:08 +0200 schrieb Pablo Rodríguez: (I know that \makeatletter ends with \makeatother, although I'm not sure what are they used for ;-).) Well \makeatletter makes @ (at) to a letter, which means that you can use commands with @ in their names (command names end at the first non-letter char), \makeatother makes @ to a "non-letter". Thanks for your clear explanation, Ulrike. But naming commands with @ is only a convention, isn't it? Thanks again, Pablo -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Greek letterspacing with soul
Am Tue, 25 May 2010 17:12:08 +0200 schrieb Pablo Rodríguez: > (I know that \makeatletter ends with \makeatother, > although I'm not sure what are they used for ;-).) Well \makeatletter makes @ (at) to a letter, which means that you can use commands with @ in their names (command names end at the first non-letter char), \makeatother makes @ to a "non-letter". -- Ulrike Fischer -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Greek letterspacing with soul
On 05/25/2010 09:37 AM, Ulrike Fischer wrote: Am Mon, 24 May 2010 19:16:07 +0200 schrieb Pablo Rodríguez: [...] Is there any way to solve it? I got the error only after I enabled the hyphenation patters. This indicates that the problem are not spaces but hyphenation. The documentation of soul says that "Reconstruction failed" means that soul gots confused about the width of the sylables. The width is measured by the width of -. So this need to be set too. So \makeatletter \font\s...@tt="FreeMono-Normal" \setbo...@\hbox{\soul@tt-} \s...@ttwidth\wd\z@ \makeatother should do the job (I had to use another font for testing.) Many thanks for your help. I knew that this happened when enabling hyphenation patterns, but I had no idea how to solve it. It works like charm. I will report it the fix to the soul/soulutf8 developers. Of course, giving you credit (because credit is due :-)). (And the second \makeatletter in my first posting was naturally simply a typo.) This was my fault, because I simply copied and pasted the code, without almost reading it. (I know that \makeatletter ends with \makeatother, although I'm not sure what are they used for ;-).) Many thanks again for your help, Pablo -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Greek letterspacing with soul
Am Mon, 24 May 2010 19:16:07 +0200 schrieb Pablo Rodríguez: > Many thanks for your help, Ulrike. > > FreeMono-Regular seems to do the job. > > But I get error messages from soul (Reconstruction failed) when there > are blank spaces. > > \documentclass[10pt]{book} > \usepackage{fontspec} > \setmainfont{Theano Didot} > \usepackage{polyglossia} > \setdefaultlanguage{greek} > \usepackage{soul} > \makeatletter\font\s...@tt="FreeMono-Normal"\makeatletter > \begin{document} > \so{ἐπεστείλατέ μοι νομίζειν δεῖν τὴν διάνοιαν ὑμῶν εἶναι τὴν αὐτὴν ἣν > εἶχεν καὶ Δίων, καὶ δὴ καὶ κοινωνεῖν διεκελεύεσθέ μοι, καθ᾽ ὅσον οἷός τέ > εἰμι ἔργῳ καὶ λόγῳ. ἐγὼ δέ, εἰ μὲν δόξαν καὶ ἐπιθυμίαν τὴν αὐτὴν ἔχετε > ἐκείνῳ, σύμφημι κοινωνήσειν, εἰ δὲ μή, βουλεύσεσθαι πολλάκις. τίς δ᾽ ἦν > ἡ ἐκείνου διάνοια καὶ ἐπιθυμία, σχεδὸν οὐκ εἰκάζων ἀλλ᾽ ὡς εἰδὼς σαφῶς > εἴποιμ᾽ ἄν.} > \end{document} > > Is there any way to solve it? I got the error only after I enabled the hyphenation patters. This indicates that the problem are not spaces but hyphenation. The documentation of soul says that "Reconstruction failed" means that soul gots confused about the width of the sylables. The width is measured by the width of -. So this need to be set too. So \makeatletter \font\s...@tt="FreeMono-Normal" \setbo...@\hbox{\soul@tt-} \s...@ttwidth\wd\z@ \makeatother should do the job (I had to use another font for testing.) (And the second \makeatletter in my first posting was naturally simply a typo.) -- Ulrike Fischer -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex