Re: [XeTeX] Why I do get nonsense characters when I use unicode characters inside \message with XeTeX?

2011-11-05 Thread Arthur Reutenauer
Thanks, it confirms what I suspected (I tried to compile your TeX file but didn't get the same result; the xepersian version was too old on the computer I was using then, I guess). XeTeX really seems to take bytes in account when printing messages to the log file and terminal; not characters.

Re: [XeTeX] Anchor names

2011-11-05 Thread Heiko Oberdiek
On Sat, Nov 05, 2011 at 02:45:32PM +, Jonathan Kew wrote: On 5 Nov 2011, at 10:24, Akira Kakuto wrote: Dear Heiko, Conclusion: * The encoding mess with 8-bit characters remain even with XeTeX. I have disabled to reencode pdf strings to UTF-16 in xdvipdfmx: TL trunk r24508.

Re: [XeTeX] Anchor names

2011-11-05 Thread Heiko Oberdiek
On Sun, Nov 06, 2011 at 12:57:12AM +0900, Akira Kakuto wrote: I have disabled to reencode pdf strings to UTF-16 in xdvipdfmx: TL trunk r24508. Now /Dc3a46e6368c3b872 and /Names[c3a46e6368c3b8727 0 R] We can choose that both of the above are UTF16BE with BOM, by

Re: [XeTeX] Anchor names

2011-11-05 Thread Akira Kakuto
Dear Jonathan, Heiko, IIRC (it's a while since I looked at any of this), I believe Unicode bookmark strings work deliberately (not accidentally) - I think this came up early on as an issue, and encoding-form conversion was implemented to ensure that it works. (It's possible there are bugs,

[XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Karljurgen Feuerherm
Hi Usually, I need to use US letter paper size--but for one document I'm working on, I want B5. I'm using Memoir for this one, and have set B5 accordingly. Typesets fine... But the output PDF is still letter size--slightly annoying in terms of visual impressions. Is there a way to get tell the

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Martin Schröder
2011/11/5 Karljurgen Feuerherm kfeuerh...@wlu.ca: Typesets fine... But the output PDF is still letter size--slightly annoying in terms of visual impressions. Is there a way to get tell the system to adjust the PDF output size to match? Either within the TeX source or as an option at typeset

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Peter Dyballa
Am 05.11.2011 um 19:06 schrieb Karljurgen Feuerherm: Typesets fine... But the output PDF is still letter size Either set \pdfpagewidth=176truemm \pdfpageheight=250truemm or use the geometry package! -- Mit friedvollen Grüßen Pete I hope to die before I *have* to use

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Peter Dyballa
Am 05.11.2011 um 19:06 schrieb Karljurgen Feuerherm: Typesets fine... But the output PDF is still letter size There are two more options, of course, because it's a (well) known problem: xelatex -papersize=b5 … # don't know by heart what's supported xdvipdfmx -p b5 … #

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Karljurgen Feuerherm
I was using that, switched to Memoir. Surely there must be another way? Thanks, though... K On Sat, Nov 5, 2011 at 2:34 PM, in message cap7dcdfg94tb9mk3whvntv3xt9s8jbvzdombrya207f01pe...@mail.gmail.com, Martin Schrödermar...@oneiros.de wrote: 2011/11/5 Karljurgen Feuerherm

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Karljurgen Feuerherm
Hmm. Is there not an integrated solution, set one thing to do it both places? K On Sat, Nov 5, 2011 at 2:41 PM, in message 0115a439-cce7-4ac5-9b9e-104be45fe...@web.de, Peter Dyballa peter_dyba...@web.de wrote: Am 05.11.2011 um 19:06 schrieb Karljurgen Feuerherm: Typesets fine... But the

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Karljurgen Feuerherm
Ok! I was looking for something along those lines. Will try this. Thanks K On Sat, Nov 5, 2011 at 2:48 PM, in message 7af28486-bcbb-4049-8811-abff42fb5...@web.de, Peter Dyballa peter_dyba...@web.de wrote: Am 05.11.2011 um 19:06 schrieb Karljurgen Feuerherm: Typesets fine... But the

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Martin Schröder
2011/11/5 Karljurgen Feuerherm kfeuerh...@wlu.ca: I was using that, switched to Memoir. Surely there must be another way? geometry doesn't work with Memoir? Best Martin -- Subscriptions, Archive, and List information, etc.:

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Philip TAYLOR (Webmaster, Ret'd)
Karljurgen Feuerherm wrote: Hmm. Is there not an integrated solution, set one thing to do it both places? Well, specifying a given constant in exactly one place is certainly a cornerstone of rigorous and defensive programming, so I for one am all in favour of such solutions. Here, by way

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Heiko Oberdiek
On Sat, Nov 05, 2011 at 02:06:43PM -0400, Karljurgen Feuerherm wrote: Usually, I need to use US letter paper size--but for one document I'm working on, I want B5. I'm using Memoir for this one, and have set B5 accordingly. Memoir is already capable to tell the media size to XeTeX and it does

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Karljurgen Feuerherm
Oh, well--maybe it does. I was thinking of them as alternative 'book' packages. I'm still working out the pros and cons of all these things... K On Sat, Nov 5, 2011 at 4:38 PM, in message CAP7DCDc7Mj8xA8Yupe0as3a_ANnPa=2NrsU=mei5kje3mej...@mail.gmail.com, Martin Schrödermar...@oneiros.de

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Karljurgen Feuerherm
Yes, thanks, I see. I starting doing something similar earlier today. It is true, of course, that one may *not* want B5 pdf when the page is B5 (say to allow for trim), so forcing the two to be identical wouldn't be the thing to do either... K On Sat, Nov 5, 2011 at 4:55 PM, in message

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Karljurgen Feuerherm
Hello Well, that's interesting. My Memoir isn't from the Stone Age, it's from TeXLive 2011. And although the typesetting was B5, the (pdf) paper wasn't. But I had B5. b5paper seems to have worked. Looking at the documentation again, I see no plain B5 so I must have put that due to something I

Re: [XeTeX] Synching PDF paper size with typesetting size

2011-11-05 Thread Zdenek Wagner
2011/11/5 Karljurgen Feuerherm kfeuerh...@wlu.ca: Yes, thanks, I see. I starting doing something similar earlier today. It is true, of course, that one may *not* want B5 pdf when the page is B5 (say to allow for trim), so forcing the two to be identical wouldn't be the thing to do either...