|
Bugzilla – Full Text Bug Listing |
| Summary: | xelatex crashes after latest update when mag!=1000 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Pablo Rodríguez <ousia> |
| Component: | Other | Assignee: | Dr. Werner Fink <werner> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
xelatex log file
geometry.sty -- experimental beta version 0.5 from Hideo Umeki geometry.sty beta 0.5 modifes dimensions |
||
Fresh from the TeX Live mailing list: > Hi, > > just fresh taken from a user report (http://bugzilla.novell.com/show_bug.cgi?id=559257) > the file > > \documentclass{article} > \usepackage[mag=1500]{geometry} Try: \usepackage[dvipdfm,mag=1500]{geometry} The documentation suggests the driver should be automagically detected, so this has a buggy flavour. > \begin{document} > Hi > \end{document} I get: gala:Werner gwhite$ xelatex t This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009) entering extended mode [...] (./t.aux) *geometry detected driver: dvipdfm* [1] (./t.aux) ) Output written on t.pdf (1 page). Transcript written on t.log. gala:Werner gwhite$ open t.pdf gala:Werner gwhite$ pdfinfo t.pdf Creator: XeTeX output 2009.12.03:1106 Producer: xdvipdfmx (0.7.8) CreationDate: Thu Dec 3 11:06:59 2009 Tagged: no Pages: 1 Encrypted: no Page size: 1376.99 x 1781.99 pts File size: 2003 bytes Optimized: no PDF version: 1.4 Just an other reply at http://tug.org/pipermail/tex-live/2009-December/023887.html from tex-live@tug.org only for documentation Thanks for the reply, Werner, but I'm afraid that the workaround doesn't work, as your own pdfinfo report shows: page size is wrong.
\documentclass{article}
\usepackage[dvipdfm,a4paper,truedimen,mag=1500]{geometry}
\begin{document}
Hi
\end{document}
pdfinfo shows from a.pdf when compiled with xelatex and dvipdfm:
Page size: 892.9 x 1262.81 pts
and when compiled with pdflatex or xelatex and pdftex:
Page size: 595.28 x 841.89 pts (A4)
I'm reporting the issue to Hideo Umeki, since it seems that the issue should be fixed in the xetex driver from geometry.
Thanks,
Pablo
It seems that Heiko Oberdiek has also realized that magnification is wrong with the dvipdfm driver and he offered a patch to use the pdftex dirver for geometry with XeLaTeX: http://tug.org/pipermail/tex-live/2009-December/023888.html Just in case it might help, Pablo This have to wait upto the point where upstream has accepted this change otherwise TeX Live on openSuSE would become incompatible. It seems that the fix for this might take longer than expected. A newer version of hyperref has been released and I think that the patch above doesn't work with it. I guess that until this is fixed in a proper way in both geometry and hyperref, providing the patch above with the current version in the openSUSE packaging would avoid problems to end-users. Thanks for your help,, Pablo Created attachment 338596 [details]
geometry.sty -- experimental beta version 0.5 from Hideo Umeki
please test out this style file. Simply copy if to
the same location as the test latex file and retry.
Created attachment 338802 [details]
geometry.sty beta 0.5 modifes dimensions
Beta version doesn't work fine, since it changes page dimensions.
Here you have the changed page dimensions with a working document (newer file is the beta version of geometry):
-------------------- Geometry parameters
paper: a4paper
+layout: a4paper
landscape: --
twocolumn: --
twoside: true
asymmetric: --
-h-parts: 68.2873pt, 0.7\paperwidth , 102.43098pt (default)
-v-parts: 96.57776pt, 0.7\paperheight , 144.86665pt (default)
+h-parts: 70.20584pt, 0.7\Gm@layoutwidth , 105.3088pt (default)
+v-parts: 90.85461pt, 0.7\Gm@layoutheight , 136.28198pt (default)
hmarginratio: 2:3
vmarginratio: 2:3
lines: --
@@ -501,11 +518,11 @@
-------------------- Page layout dimensions and switches
\paperwidth 569.05511pt
\paperheight 804.80649pt
-\textwidth 398.33684pt
-\textheight 563.36208pt
-\oddsidemargin -0.54102pt
-\evensidemargin 33.60268pt
-\topmargin -4.12434pt
+\textwidth 409.5282pt
+\textheight 529.97766pt
+\oddsidemargin 1.37753pt
+\evensidemargin 36.4805pt
+\topmargin -9.84749pt
\headheight 12.0pt
\headsep 19.8738pt
\footskip 30.0pt
@@ -517,7 +534,7 @@
\voffset 0.01117pt
\mag 1050
\@twosidetrue \@mparswitchtrue
-(1in=72.27pt, 1cm=28.45pt)
+(1in=72.27pt, 1cm=28.4528pt)
-----------------------
Complete diff in attachment. Reporting also to Hideo Umeki.
Thanks,
Pablo
Werner, I think the bug is already fixed, since TL2009 includes geometry 5.0. Since the following releases were also bugfixes only (see bellow, from http://mirror.ctan.org/macros/latex/contrib/geometry/changes.txt), I wonder wheter it should be included in TL2009. Thanks for your help, Pablo 2010-03-13 Release 5.3 * Fixed missed initialization of \Gm@lines. 2010-03-01 Release 5.2 * Fixed a bug that the papersize setting explicitly specified with \geometry or \usepackage in the preample didn't come to \newgeometry. * Added \mag offset adjustment for \newgeometry. * Added 'onecolumn' option as a shorthand for 'twocolumn=false'. * Changed the format of the verbose mode. 2010-02-15 Release 5.1 * Fixed a bug that caused an error in 'pass' option. done ... nevertheless I do *no* like to update every sub package of TeXLive ... this may cause other bugs due side effects (as seen with this update). |
Created attachment 330098 [details] xelatex log file Hi there, after updating texlive to the latest version in Publishing I get a crash from xelatex with the following code: \documentclass{article} \usepackage[mag=1500]{geometry} \begin{document} Hi \end{document} It didn't happened with the previous version and pdflatex compiles it fine. Attached xelatex log file. Thanks for your help, Pablo