Re: [XeTeX] Runaway argument issues

2011-10-11 Thread Zdenek Wagner
2011/10/12 Chris Travers :
> On Tue, Oct 11, 2011 at 3:53 PM, Peter Dyballa  wrote:
>>
>> Am 12.10.2011 um 00:10 schrieb Chris Travers:
>>
>>> texlive-xetex-2007-51.fc13.i686
>>
>> Now that the 2011 is almost finished you could consider updating to TeX Live 
>> 2011...
>>
> Less of an option when trying to support applications I write on
> long-term support distros like RHEL, Ubuntu LTS, and Debian..
>
I understand your demand for stability but sticking to some distros
need not be the best solution. For instance. RHEL 4.x always
distributed buggy ghostscript although the bug (reported by me) was
fixed years ago. The RHEL people prefer preserving the bug to
upgrading gs from 7.x to 8.x. It was upgraded in RHEL 5.0.

> Best Wishes,
> Chris Travers
>
>
>
> --
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



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


Re: [XeTeX] Runaway argument issues

2011-10-11 Thread Chris Travers
On Tue, Oct 11, 2011 at 3:53 PM, Peter Dyballa  wrote:
>
> Am 12.10.2011 um 00:10 schrieb Chris Travers:
>
>> texlive-xetex-2007-51.fc13.i686
>
> Now that the 2011 is almost finished you could consider updating to TeX Live 
> 2011…
>
Less of an option when trying to support applications I write on
long-term support distros like RHEL, Ubuntu LTS, and Debian..

Best Wishes,
Chris Travers



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


Re: [XeTeX] Runaway argument issues

2011-10-11 Thread Peter Dyballa

Am 12.10.2011 um 00:10 schrieb Chris Travers:

> texlive-xetex-2007-51.fc13.i686

Now that the 2011 is almost finished you could consider updating to TeX Live 
2011…

--
Greetings

  Pete

Rain is saved up in cloud banks.




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


Re: [XeTeX] Runaway argument issues

2011-10-11 Thread Chris Travers
I found the problem.  For some reason the file was being saved as the
wrong encoding.

Problem was fixed by:
iconv --from-code=ISO-8859-1 --to-code=UTF-8 ./invoice.tex > ./invoice2.tex

I am still having trouble getting xeLaTeX to play well with Perl's
Template::Latex module but I'm afraid that's beyond the scope of this
list :-)

Best Wishes,
Chris Travers


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


Re: [XeTeX] Runaway argument issues

2011-10-11 Thread Zdenek Wagner
2011/10/12 Herbert Schulz :
>
> On Oct 11, 2011, at 4:54 PM, Chris Travers wrote:
>
>> Here is a minimal sample to reproduce the problem:
>>
>> \documentclass{article}
>> \usepackage{longtable}
>> \begin{document}
>>
>> \begin{longtable}{ll}
>>
>>   \textbf{Número}
>>  & \textbf{Descripción}
>> \endhead
>> \end{longtable}
>>
>> \end{document}
>>
>>
>> When I run this with xelatex, I get:
>>
>> Runaway argument?
>> {Descripci�� \endhead \end {longtable} \par \end {document} \par
>> ! File ended while scanning use of \textbf .
>>
>> Now, if I replace the ó with \'o, that part works fine (but then why
>> would I be using xelatex?) but the Número ends up displaying as N.
>>
>> As far as I can tell the problem is with handling of multibyte
>> characters.  Removing the \textbf{} from around the problem phrase
>> ends up having it rendered as Descripciendhead, suggesting several
>> more bytes are being assumed to be part of the character than actually
>> are.
>>
>> Best Wishes,
>> Chris Travers
>
>
> Howdy,
>
> 1)Did you save the file as UTF-8 Unicode?
>
> 2)What you have will use Computer Modern which doesn't have the accented 
> characters as single glyphs so it doesn't know how to handle them. To use 
> Latin Modern by default add
>
> \usepackage{fontspec}
>
Moreover, without fontspec the definition of \textbf is different, I
have tried by \tracingall. Anyway, it compiled without "runaway
argument" at my computer.

> in the preamble and, if you want to use a system font (e.g., Linux Libertine) 
> ad the line
>
> \setmainfont{Linux Libertine}
>
> in the preamble after the fontspec load.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
>
> --
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



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


Re: [XeTeX] Runaway argument issues

2011-10-11 Thread Herbert Schulz

On Oct 11, 2011, at 4:54 PM, Chris Travers wrote:

> Here is a minimal sample to reproduce the problem:
> 
> \documentclass{article}
> \usepackage{longtable}
> \begin{document}
> 
> \begin{longtable}{ll}
> 
>   \textbf{Número}
>  & \textbf{Descripción}
> \endhead
> \end{longtable}
> 
> \end{document}
> 
> 
> When I run this with xelatex, I get:
> 
> Runaway argument?
> {Descripci�� \endhead \end {longtable} \par \end {document} \par
> ! File ended while scanning use of \textbf .
> 
> Now, if I replace the ó with \'o, that part works fine (but then why
> would I be using xelatex?) but the Número ends up displaying as N.
> 
> As far as I can tell the problem is with handling of multibyte
> characters.  Removing the \textbf{} from around the problem phrase
> ends up having it rendered as Descripciendhead, suggesting several
> more bytes are being assumed to be part of the character than actually
> are.
> 
> Best Wishes,
> Chris Travers


Howdy,

1)Did you save the file as UTF-8 Unicode?

2)What you have will use Computer Modern which doesn't have the accented 
characters as single glyphs so it doesn't know how to handle them. To use Latin 
Modern by default add

\usepackage{fontspec}

in the preamble and, if you want to use a system font (e.g., Linux Libertine) 
ad the line

\setmainfont{Linux Libertine}

in the preamble after the fontspec load.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






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


Re: [XeTeX] Runaway argument issues

2011-10-11 Thread Chris Travers
Two further notes:  I am using utf-8 as the input encoding, and
setting a main font doesn't help.

Also
[chris@chris-dev2 xetex_test]$ rpm -q texlive-xetex
texlive-xetex-2007-51.fc13.i686

Best Wishes,
Chris Travers


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


[XeTeX] Runaway argument issues

2011-10-11 Thread Chris Travers
Here is a minimal sample to reproduce the problem:

\documentclass{article}
\usepackage{longtable}
\begin{document}

\begin{longtable}{ll}

   \textbf{Número}
  & \textbf{Descripción}
\endhead
\end{longtable}

\end{document}


When I run this with xelatex, I get:

Runaway argument?
{Descripci�� \endhead \end {longtable} \par \end {document} \par
! File ended while scanning use of \textbf .

Now, if I replace the ó with \'o, that part works fine (but then why
would I be using xelatex?) but the Número ends up displaying as N.

As far as I can tell the problem is with handling of multibyte
characters.  Removing the \textbf{} from around the problem phrase
ends up having it rendered as Descripciendhead, suggesting several
more bytes are being assumed to be part of the character than actually
are.

Best Wishes,
Chris Travers



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