Re: [XeTeX] Pipes in XeTeX

2010-07-29 Thread Ulrike Fischer
Am Mon, 26 Jul 2010 16:37:02 +0200 schrieb Florian Gilcher:


> I really like the following feature of pdftex and others for development 
> purposes: 
 
>   \input{|"darcs changes -s"} % print a detailed log of changes
 
> and include that into my document as a "running log" for other reviewers. 
 

> xelatex does not seem to understand this line and prints "! LaTeX
> Error: File `|"darcs changes -s".tex'" instead. Is there any way
> of making xelatex to behave like pdflatex in that respect?

In miktex xetex supports pipes. 


-- 
Ulrike Fischer 



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


Re: [XeTeX] problem with flashcards, polyglossia and RTL-languages

2010-07-29 Thread Ulrike Fischer
Am Thu, 29 Jul 2010 11:21:47 +1000 schrieb Vafa Khalighi:

> having
> 
>  \documentclass[avery5371,frame,grid]{flashcards}
> 
> \begin{document}
> 
> \begin{flashcard}{texttexttext}
> 
> texttexttext
> 
> \end{flashcard}
> 
> \end{document}
> 
> 
> as my document and running either pdflatex or xelatex, I get this error:
> 
> 
>  ! Package geometry Error: \paperwidth (0.0pt) too short.
> 
> See the geometry package documentation for explanation.
> 
> Type H  for immediate help.
> 
> ...
> 
>  l.989 \...@process
> 
> 
> 
> I am using pretest TL10. Sorry but your example should run smoothly so that
> I can understand what is wrong.

As Fabian has described he has changed flashcard.cls in two places
to get around the problems with the new geometry. 



-- 
Ulrike Fischer 



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


[XeTeX] How to emulate an array of boxes?

2010-07-29 Thread Ron Aaron
I'm attempting to use high-numbered boxes as an array (since as far as I can  
tell there is no real array construct in XeTeX).  My desire is to be able to 
grab any one of a number of boxes, by number (without necessarily allocating 
the boxes beforehand).

So what I would like is to be able to, say:

\setbox\nextboxnumber\hbox{...}

where "nextboxnumber" is a count register which gets incremented.  Then, at 
some future point, iterate over the list of boxes and do something with them.

It may be that using an external file is the easiest way to accomplish what I 
want, but I was hoping for some more elegant solution.

Any ideas welcome!

Thanks,
Ron

-- 
For privacy, my GPG key signature is: AD29415D


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


Re: [XeTeX] pstricks and dvi output in xelatex

2010-07-29 Thread Ulrike Fischer
Am Wed, 28 Jul 2010 19:41:54 +0100 schrieb George:

> Is it possible to use pstricks in xelatex and get a dvi output so I
> can use the auto-updating feature of yap? I have a document that uses
> pstricks and diagrams don't show up correctly after compiling with
> xelatex because of the conversion to pdf. If I save to xdv then I
> can't view the file with yap to check if it rendered correctly.

No, this won't work. YAP uses dvips and mgs (the miktex ghostscript)
to show the documents, and dvips can't handle the extended dvi
(=xdv) of xetex. 

Use a pdf-viewer which allows auto-updating. 

 
-- 
Ulrike Fischer 



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


Re: [XeTeX] Problem: Beamer+xelatex+\XeTeXdefaultencoding

2010-07-29 Thread Стас Фомин
I tried TeX Live 2010 pretest  and the bug still exists…

On Fri, Jul 23, 2010 at 9:28 PM, Philip Taylor (Webmaster, Ret'd) <
p.tay...@rhul.ac.uk> wrote:

> Maybe ditch MikTeX ?  The version of XeTeX that comes
> with TeX Live 2010 pre-test (and accompanying support files)
> doesn't manifest this bug.
>


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


Re: [XeTeX] Problem: Beamer+xelatex+\XeTeXdefaultencoding

2010-07-29 Thread Philip Taylor (Webmaster, Ret'd)

Can you please confirm (by attaching the log file)
that the version of XeTeX that you were running
was the TL 2010 version and that you were not
accidentally picking up the MikTeX version even
after installing TL 2010 ?

Стас Фомин wrote:


I tried TeX Live 2010 pretest  and the bug still exists…



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


[XeTeX] bidi & colortbl bug

2010-07-29 Thread Volker Haas

Hi list,

I think I found a bug in the bidi package which occurs when the colortbl 
package is loaded as well.


The following example fails with the error
"! Extra alignment tab has been changed to \cr."

%

\documentclass[a4paper,12pt]{article}

\usepackage{fontspec}

\usepackage{colortbl}

\usepackage{longtable}
\usepackage{xunicode}
\usepackage{bidi}

\begin{document}

\begin{longtable}{|l|l|l|}
\begin{tabular}{ll}
\hline
bla & blub\\
bla & blub\\
\end{tabular} & bla & blub
\end{longtable}

\end{document}

%%%

The example works if any of the following things are done:
 * the hline is commented out
 * the bidi package is not loaded
 * the colortbl package is not loaded


I am using texlive 2009 and checked out the most recent bidi version 
from bitbucket.


Any advise would be appreciated, searching the web and poking around in 
the bidi-code didn't help so far.


Regards,
Volker

--
volker haas brainbot technologies ag
fon +49 6131 2116394boppstraße 64
fax +49 6131 211639255118 mainz
volker.h...@brainbot.comhttp://www.brainbot.com/



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


Re: [XeTeX] How to emulate an array of boxes?

2010-07-29 Thread Ron Aaron
On Thursday 29 July 2010 11:14:37 Ron Aaron wrote:
> My desire is to be
> able to grab any one of a number of boxes, by number

Never mind, I found the answer: "\globboxvector" and friends do exactly what I 
want...

-- 
For privacy, my GPG key signature is: AD29415D


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


Re: [XeTeX] Problem: Beamer+xelatex+\XeTeXdefaultencoding

2010-07-29 Thread Стас Фомин
>that you were not
>accidentally picking up the MikTeX version even
>after installing TL 2010 ?
Sorry, you are right.
"I accidentally picking up the MikTeX"
TL 2010  — OK.
May be anyone know how to patch MikTeX?


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


Re: [XeTeX] problem with flashcards, polyglossia and RTL-languages

2010-07-29 Thread François Charette

 On 29/07/2010 10:02, Ulrike Fischer wrote:


As Fabian has described he has changed flashcard.cls in two places
to get around the problems with the new geometry.

We had a discussion about this on the texlive mailing list last week. I would suggest 
Fabian to upload his patched version of flashcards to CTAN. I am told that this is 
possible even without taking over maintainance of the package. As the original maintainer 
is no longer locatable, that would be the easiest way to fix the flashcards package for 
the benefit of everyone!


Also I suggest you change:

\usepackage{polyglossia}
\usepackage{xltxtra}
\setmainlanguage{english}
\setotherlanguage{german}
\setotherlanguage{arabic}
\usepackage{fontspec,xunicode} 


into

\usepackage{fontspec,xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{german}
\setotherlanguage{arabic}

as fontspec is a dependency of polyglossia. The latter does load fontspec if it is not 
already loaded, but it is better practice to explicitly load fontspec before.


FC


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


[XeTeX] xunicode and TIPA

2010-07-29 Thread Andy Lin
I've actually made a teckit mapping for TIPA before. But this was just
for the A-Z, 0-9 mappings. It didn't include any of the commands
involving a backslash. What you could do is to change the definitions
of \|, etc. to different, safe/non-TIPA characters/strings (e.g. $|
for \|, and $; for \;), and then the teckit mapping would be able to
catch them.

A problem you might run into is the handling of the small caps
characters. Fonts like Charis SIL have the glyphs at the proper
Unicode addresses (and they're actually different from the small caps
you get if you use the OpenType small caps feature), but for other
fonts, you may need to fake them. I think there's a way to check the
presence of a glyph in a font, and from there choose the appropriate
behaviour, but this will also require support from outside the teckit
mapping.

-Andy


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


Re: [XeTeX] pstricks and dvi output in xelatex

2010-07-29 Thread George
On Thu, Jul 29, 2010 at 9:19 AM, Ulrike Fischer  wrote:
> Am Wed, 28 Jul 2010 19:41:54 +0100 schrieb George:
>
>> Is it possible to use pstricks in xelatex and get a dvi output so I
>> can use the auto-updating feature of yap? I have a document that uses
>> pstricks and diagrams don't show up correctly after compiling with
>> xelatex because of the conversion to pdf. If I save to xdv then I
>> can't view the file with yap to check if it rendered correctly.
>
> No, this won't work. YAP uses dvips and mgs (the miktex ghostscript)
> to show the documents, and dvips can't handle the extended dvi
> (=xdv) of xetex.
>
> Use a pdf-viewer which allows auto-updating.

Do you know of any such viewers?

Also, even if I do that, I still don't get pstricks diagrams to render
correctly with xelatex. The pstricks webpages instructs users to not use
pdflatex to compile, but rather to go down the dvi->ps->pdf route to get
pstricks diagrams to render correctly. How can I get correct diagrams in
xelatex?


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


Re: [XeTeX] pstricks and dvi output in xelatex

2010-07-29 Thread Andy Lin
On Windows, TeXworks will auto-update, as will Sumatra. To get
pstricks to work, if pdftricks or a similar package doesn't do what
you need, then I would compile the diagrams separately into eps or pdf
files, and then embed those into your document as graphics. The only
issue with this approach is that you will be limited to LaTeX fonts
and symbols. On the other hand, (pdf)LaTeX is a lot faster than
XeLaTeX, which is a good thing if you're still fine-tuning your
diagrams.

Hope this helps
-Andy


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


Re: [XeTeX] fontspec: loading different shapes/scales of one font as different font instances?

2010-07-29 Thread Will Robertson
On 2010-07-28 23:32:14 +0930, BPJ 
 said:



As the subject line says I wonder if it's possible
with fontspec to load different shapes of the same
font as different font instances?


I don't understand the question, sorry.
fontspec provides

\newfontfamily\foo[]{}

You can use this as many times as you like with whatever different 
options you like. Is there something missing?


Will




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


Re: [XeTeX] Pipes in XeTeX

2010-07-29 Thread Will Robertson
On 2010-07-28 22:10:49 +0930, Florian Gilcher 
 said:



Actually, pdftex in both texlive 2009 and 2010 supports it.

The difference between MiKTeX and texlive is that MiKTeX has a special 
CLI flag for it (--enable-pipes) while pdftex on texlive checks for 
(--shell-escape).


Thanks for the info. It's been a couple of years since I used pipes. Is 
this documented *anywhere*? Neither the pdftex nor the texlive 
documentation seem to have anything on this topic.


Well: the problem with \write18: it is not quite the same (for example, 
i cannot write to a pipe [1]), it clutters the file system


Since write18 is enabled anyway you can always "rm ..." or "del..." 
your temporary file.



 and I cannot read from any arbitrary source.


How so? (Not questioning, just curious. I've used write18 a bit and 
haven't run into trouble yet.)


Will




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