Re: [XeTeX] Wrong dimensions when using \XeTeXpicfile with CMYKimage

2015-02-19 Thread Akira Kakuto

Maybe problems are in xdvipdfmx,


FYI, the problem in xdvipdfmx was fixed in the TeX Live repository (r36287).

Best,
Akira



--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Akira Kakuto

Dear Stefan,


Thanks! I will do so.


If I use .aux file created by pdflatex,
xelatex seems to output a correct pdf:

1st run: pdflatex foo
2nd run: xelatex foo

Thus problems may be in used packages, as
Ulrike pointed out.

Best,
Akira



--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] geometry a3paper option error

2015-02-19 Thread Akira Kakuto

When I use the a3paper size option or papersize={297mm,420mm} with the
geometry package, graphics seem to get cut off to the right of 210mm
from the left edge (where the A4 right paper edge should be).


http://tex.stackexchange.com/questions/157216/xetex-pstricks-larger-page-size-is-cropped-to-a4/157281#157281


That was already fixed in the present TeX Live 2014. Please update.

Best,
Akira



--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] geometry a3paper option error

2015-02-19 Thread Daniel Greenhoe
On Thu, Feb 19, 2015 at 10:55 PM, Ulrike Fischer  wrote:
> http://tex.stackexchange.com/questions/157216/...

Thank you very much Ulrike. I added the option -sDEFAULTPAPERSIZE=a0 to the
'D  "rungs ...' line in the file dvipdfmx.cfg, and that works great  ^^

Happy Chinese New Year to all!
Dan

On Thu, Feb 19, 2015 at 10:55 PM, Ulrike Fischer  wrote:
> Am Thu, 19 Feb 2015 21:34:26 +0800 schrieb Daniel Greenhoe:
>
>> When I use the a3paper size option or papersize={297mm,420mm} with the
>> geometry package, graphics seem to get cut off to the right of 210mm
>> from the left edge (where the A4 right paper edge should be).
>
> http://tex.stackexchange.com/questions/157216/xetex-pstricks-larger-page-size-is-cropped-to-a4/157281#157281
>
>
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/
>
>
>
> --
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Stefan Müller
Thanks! I will do so.

Best

Stefan

Am 19.02.15 um 20:37 schrieb Ulrike Fischer:
> Am Thu, 19 Feb 2015 18:55:11 +0100 schrieb Stefan Müller:
> 
>> Am 19.02.15 um 18:21 schrieb Ulrike Fischer:
>>> Am Thu, 19 Feb 2015 17:09:08 +0100 schrieb Stefan Müller:
>>> Minimize the example. I certainly don't want to wander through a
>>> large forest tree to track down an error. It must be possible to
>>> remove quite a large part of your example. 
>>
>> Please find the reduced code below.
> 
> pulling it down a bit more it is obvious that tikzmarks in
> tikzpictures don't work correctly: they are all placed at the zero
> coordinate:
> 
> \documentclass{article}
> \usepackage{tikz}
> \usetikzlibrary{tikzmark}
> 
> 
> \begin{document}
> 
> x\pgfmark{tA}some text \pgfmark{tB} some text
> \begin{tikzpicture}[remember picture]
> \draw (0,0)node (A){A} rectangle (1,1)node (B){B};
> \end{tikzpicture}
> \begin{tikzpicture}[remember picture]
> \draw (0,0)node {\pgfmark{nA}} rectangle (1,1)node {\pgfmark{nB}};
> \end{tikzpicture}
> 
> \vspace{3cm}\centering
> \begin{tikzpicture}[overlay,remember picture]
> \draw[red,->] (0,0)--(pic cs:tA) (0,0)--(pic cs:tB);
> \draw[blue,->](0,0)--(pic cs:nA) (0,0)--(pic cs:nB); %nB faulty
> \draw[green,->](0,0)--(A) (0,0)--(B);
> \end{tikzpicture}
> 
> \end{document} 
> 
> As normal nodes works fine (see the node A and B) I suggest to
> contact the author of tikzmark.
> 



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Ulrike Fischer
Am Thu, 19 Feb 2015 18:55:11 +0100 schrieb Stefan Müller:

> Am 19.02.15 um 18:21 schrieb Ulrike Fischer:
>> Am Thu, 19 Feb 2015 17:09:08 +0100 schrieb Stefan Müller:
>> Minimize the example. I certainly don't want to wander through a
>> large forest tree to track down an error. It must be possible to
>> remove quite a large part of your example. 
> 
> Please find the reduced code below.

pulling it down a bit more it is obvious that tikzmarks in
tikzpictures don't work correctly: they are all placed at the zero
coordinate:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{tikzmark}


\begin{document}

x\pgfmark{tA}some text \pgfmark{tB} some text
\begin{tikzpicture}[remember picture]
\draw (0,0)node (A){A} rectangle (1,1)node (B){B};
\end{tikzpicture}
\begin{tikzpicture}[remember picture]
\draw (0,0)node {\pgfmark{nA}} rectangle (1,1)node {\pgfmark{nB}};
\end{tikzpicture}

\vspace{3cm}\centering
\begin{tikzpicture}[overlay,remember picture]
\draw[red,->] (0,0)--(pic cs:tA) (0,0)--(pic cs:tB);
\draw[blue,->](0,0)--(pic cs:nA) (0,0)--(pic cs:nB); %nB faulty
\draw[green,->](0,0)--(A) (0,0)--(B);
\end{tikzpicture}

\end{document} 

As normal nodes works fine (see the node A and B) I suggest to
contact the author of tikzmark.

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Stefan Müller
Hi,

tikzmark stores coordinates and draws items in the second pass, so in
order to compare things you have to run everything two times.

Best

Stefan


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Apostolos Syropoulos
When using XeLaTeX I get some curly arrows above V which are not there when
using pdfLaTeX. So I am bit confused!

A/S/

 --
Apostolos Syropoulos
Xanthi, Greece


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Stefan Müller
Am 19.02.15 um 18:21 schrieb Ulrike Fischer:
> Am Thu, 19 Feb 2015 17:09:08 +0100 schrieb Stefan Müller:
> Minimize the example. I certainly don't want to wander through a
> large forest tree to track down an error. It must be possible to
> remove quite a large part of your example. 

Please find the reduced code below.

>> I thought that this shows that there
>> must be something wrong with xelatex.
> 
> And which part of xelatex? The tikz code? The graphicx code? The
> xetex binary? xdvipdfmx? 

If you compile this with pdflatex you get an arrow to the 1 and 2. If
you use xelatex instead the arrows are above the topmost V, which is wrong.

With my naive understanding of everything I would say it is the xelatex
part since the other parts are used by pdflatex as well. But maybe this
is wrong and there are special parts of the mentioned packages for
xelatex vs. pdflatex.

Thanks for your help!

Best

Stefan


\documentclass{article}
\usepackage{forest}

\usetikzlibrary{tikzmark}


\begin{document}


\begin{forest}
[V
[\tikzmark{ap1}{AP}
[ungewaschen]]
[V{[ \tikzmark{arg11}{1}, \tikzmark{arg12}{2} ]}
[isst]]]
\end{forest}
\begin{forest}
[V
[\tikzmark{ap2}{AP}
[ungewaschen]]
[V{[\tikzmark{arg21}{1} ]}]]
\end{forest}
\begin{tikzpicture}[overlay,remember picture]
\draw[->, bend angle=40, bend left] ($(pic cs:ap1)+(1ex,2ex)$) to($(pic
cs:arg11)+(1ex,2.5ex)$);
\draw[->, bend angle=40, bend left] ($(pic cs:ap1)+(1ex,2ex)$) to($(pic
cs:arg12)+(1ex,2.5ex)$); % 1ex links, 2ex hoch
%
\draw[->, bend angle=40, bend left] ($(pic cs:ap2)+(1ex,2ex)$) to($(pic
cs:arg21)+(1ex,2.5ex)$);
\end{tikzpicture}


\end{document}


-- 
Stefan Müller   Tel: (+49) (+30) 838 52973
Fax: (+49) (030) 838 4 52973
Institut für Deutsche und Niederländische Philologie
Deutsche Grammatik
Habelschwerdter Allee 45
14 195 Berlin

http://hpsg.fu-berlin.de/~stefan/

http://langsci-press.org/

http://hpsg.fu-berlin.de/Projects/CoreGram.html


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Ulrike Fischer
Am Thu, 19 Feb 2015 17:09:08 +0100 schrieb Stefan Müller:

>> Well, it is a bit early to claim a xetex bug. You are using a quite
>> complicated package which beside others loads specific drivers for
>> xetex (xetex.def, pgfsys-xetex.def, pgfsys-dvipdfmx.def). 

> OK. Thanks! So, what can I do?

Minimize the example. I certainly don't want to wander through a
large forest tree to track down an error. It must be possible to
remove quite a large part of your example. 

> I thought that this shows that there
> must be something wrong with xelatex.

And which part of xelatex? The tikz code? The graphicx code? The
xetex binary? xdvipdfmx? 

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Stefan Müller

> Well, it is a bit early to claim a xetex bug. You are using a quite
> complicated package which beside others loads specific drivers for
> xetex (xetex.def, pgfsys-xetex.def, pgfsys-dvipdfmx.def). 

OK. Thanks! So, what can I do? Whom should I ask for help. It works with
pdflatex but does not with xelatex. I thought that this shows that there
must be something wrong with xelatex.

> Beside this: You should simplify your example. It is in no way a
> "minimal" example. 
> 
>> \label{anal-er-die-frau-nackt-sieht}
> 
> And you should perhaps check the names of your labels before you
> send them in the wild. 

Ups. I always use anal as an abbreviation for analysis and the text is
about depictive secondary predicates. The he the woman naked sees is the
standard example from the eighties. I changed it for obvious reasons,
but the label stayed there. Interesting that it survived the editings on
stack exchange ...

Sorry for this.

Best wishes

Stefan

PS: Maybe I should shorten my abbreviation for analysis by one letter ...

St.


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Dominik Wujastyk
On 19 February 2015 at 16:15, Ulrike Fischer  wrote:

> And you should perhaps check the names of your labels before you
> send them in the wild.
>
>
​lol!​


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Bug in xetex?

2015-02-19 Thread Ulrike Fischer
Am Thu, 19 Feb 2015 15:29:34 +0100 schrieb Stefan Müller:

> Hi,
> 
> I think I discovered a bug in xetex. At least it behaves different from
> pdflatex on an example and I prefer the pdflatex behaviour. This is a
> minimal example and a description:
> 
> http://tex.stackexchange.com/questions/217626/having-two-forest-figures-and-using-tikzmark
> 
> See last figure in the question and code in the answer.
> 
> Thanks for help!

Well, it is a bit early to claim a xetex bug. You are using a quite
complicated package which beside others loads specific drivers for
xetex (xetex.def, pgfsys-xetex.def, pgfsys-dvipdfmx.def). 

Beside this: You should simplify your example. It is in no way a
"minimal" example. 

> \label{anal-er-die-frau-nackt-sieht}

And you should perhaps check the names of your labels before you
send them in the wild. 

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] geometry a3paper option error

2015-02-19 Thread Ulrike Fischer
Am Thu, 19 Feb 2015 21:34:26 +0800 schrieb Daniel Greenhoe:

> When I use the a3paper size option or papersize={297mm,420mm} with the
> geometry package, graphics seem to get cut off to the right of 210mm
> from the left edge (where the A4 right paper edge should be).

http://tex.stackexchange.com/questions/157216/xetex-pstricks-larger-page-size-is-cropped-to-a4/157281#157281


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] Bug in xetex?

2015-02-19 Thread Stefan Müller
Hi,

I think I discovered a bug in xetex. At least it behaves different from
pdflatex on an example and I prefer the pdflatex behaviour. This is a
minimal example and a description:

http://tex.stackexchange.com/questions/217626/having-two-forest-figures-and-using-tikzmark

See last figure in the question and code in the answer.

Thanks for help!

Best wishes

Stefan

-- 
Stefan Müller   Tel: (+49) (+30) 838 52973
Fax: (+49) (030) 838 4 52973
Institut für Deutsche und Niederländische Philologie
Deutsche Grammatik
Habelschwerdter Allee 45
14 195 Berlin

http://hpsg.fu-berlin.de/~stefan/

http://langsci-press.org/

http://hpsg.fu-berlin.de/Projects/CoreGram.html


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] geometry a3paper option error

2015-02-19 Thread Zdenek Wagner
It seems to be a problem of pstricks, not geometry. I tried the code
with zwpagelayout and the result is the same. This is my sample file:

\documentclass{article}
\usepackage{pstricks}
\usepackage[a3,margins=10mm]{zwpagelayout}
\begin{document}%
\thispagestyle{empty}%
\mbox{}\vfill%
\psset{unit=1mm}%
\fbox{\begin{pspicture}(-130,-180)(130,180)%
  \psframe[linewidth=3pt,linecolor=red](-100,-50)(100,50)%
  \rput(0,0){\Huge$\cdot$}%
\end{pspicture}}%
\\\vfill%
\end{document}%
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


2015-02-19 14:34 GMT+01:00 Daniel Greenhoe :
> When I use the a3paper size option or papersize={297mm,420mm} with the
> geometry package, graphics seem to get cut off to the right of 210mm
> from the left edge (where the A4 right paper edge should be).
>
> I am compiling with xelatex  Version 3.14159265-2.6-0.1 (TeX Live
> 2014/W32TeX). I compiled a book cover using this same kind of
> technique in 2013 using Version 3.1415926-2.5-0..2 (TeX Live
> 2012/W32TeX) (format=xelatex 2013.4.4) with no problem.
>
> A somewhat minimal example follows, and is also attached along with
> pdf and log file to this email...
> 
> \documentclass{article}
> \usepackage{pstricks}
> \usepackage{geometry}
> \geometry{
>   xetex,truedimen,
>   paper=a3paper,
>   %papersize={297mm,420mm},% A3 paper dimensions
>   centering,twoside=false,noheadfoot,nomarginpar,ignoreall,
>   inner=10mm,outer=10mm,top=10mm,bottom=10mm,
>   showframe
>   }
> \begin{document}%
> \thispagestyle{empty}%
> \mbox{}\vfill%
> \psset{unit=1mm}%
> \fbox{\begin{pspicture}(-130,-180)(130,180)%
>   \psframe[linewidth=3pt,linecolor=red](-100,-50)(100,50)%
>   \rput(0,0){\Huge$\cdot$}%
> \end{pspicture}}%
> \\\vfill%
> \end{document}%
> 
>
> Many many thanks in advance,
> Dan
>
>
>
> --
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex
>



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] geometry a3paper option error

2015-02-19 Thread Daniel Greenhoe
When I use the a3paper size option or papersize={297mm,420mm} with the
geometry package, graphics seem to get cut off to the right of 210mm
from the left edge (where the A4 right paper edge should be).

I am compiling with xelatex  Version 3.14159265-2.6-0.1 (TeX Live
2014/W32TeX). I compiled a book cover using this same kind of
technique in 2013 using Version 3.1415926-2.5-0..2 (TeX Live
2012/W32TeX) (format=xelatex 2013.4.4) with no problem.

A somewhat minimal example follows, and is also attached along with
pdf and log file to this email...

\documentclass{article}
\usepackage{pstricks}
\usepackage{geometry}
\geometry{
  xetex,truedimen,
  paper=a3paper,
  %papersize={297mm,420mm},% A3 paper dimensions
  centering,twoside=false,noheadfoot,nomarginpar,ignoreall,
  inner=10mm,outer=10mm,top=10mm,bottom=10mm,
  showframe
  }
\begin{document}%
\thispagestyle{empty}%
\mbox{}\vfill%
\psset{unit=1mm}%
\fbox{\begin{pspicture}(-130,-180)(130,180)%
  \psframe[linewidth=3pt,linecolor=red](-100,-50)(100,50)%
  \rput(0,0){\Huge$\cdot$}%
\end{pspicture}}%
\\\vfill%
\end{document}%


Many many thanks in advance,
Dan


a3.log
Description: Binary data


a3.pdf
Description: Adobe PDF document


a3.tex
Description: TeX document


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex