[XeTeX] using xetex, leaflet and includegraphics

2011-09-15 Thread Marc Hohl

Hello list,

I want to create a leaflet with some fancy font stuff
(therefore using XeTeX) and some graphics (in png format) included.

\documentclass[dvipdfm,12pt]{leaflet}
\usepackage{fontspec,xunicode,xltxtra}
\usepackage{graphicx}

\begin{document}
\includegraphics[width=3cm]{logo.png}
This is some more text.
\end{document}

Now, I have problems with the orientation of the paper.

I used xdvi instead of dvipdfm, and in both cases the orientation
is  correct, but I cannot include png graphics:

! LaTeX Error: File `logo.bb' not found.

I tried to omit the option or use dvipdfmx instead, which
includes the png but the page format is wrong and the third column
runs out of the paper.

I use texlive 2009 from the latest Ubuntu distro (11.04).

Thanks in advance for any ideas!

Marc


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


Re: [XeTeX] using xetex, leaflet and includegraphics

2011-09-15 Thread Peter Dyballa

Am 15.09.2011 um 10:13 schrieb Marc Hohl:

 I used xdvi instead of dvipdfm

How can you display an XDV (or PDF) file with xdvi?

Dvipdfm is neither able to use an XDV file, the intermediary output format of 
XeTeX, which you usually do not see, because it's piped to xdvipdfmx, which 
produces PDF.

 ! LaTeX Error: File `logo.bb' not found.

Ebb produces the BB (XBB) file for dvipdfm(x).


BTW, if you want to produce leaflets of arbitrary geometry, you should use the 
geometry package.

--
Mit friedvollen Grüßen

  Pete

A designer knows he has arrived at perfection not when there is no longer 
anything to add, but when there is no longer anything to take away.
– Antoine de Saint-Exupéry




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


Re: [XeTeX] using xetex, leaflet and includegraphics

2011-09-15 Thread Zdenek Wagner
2011/9/15 Peter Dyballa peter_dyba...@web.de:

 Am 15.09.2011 um 10:13 schrieb Marc Hohl:

 I used xdvi instead of dvipdfm

 How can you display an XDV (or PDF) file with xdvi?

 Dvipdfm is neither able to use an XDV file, the intermediary output format of 
 XeTeX, which you usually do not see, because it's piped to xdvipdfmx, which 
 produces PDF.

 ! LaTeX Error: File `logo.bb' not found.

Remember that graphics inclusion is not a job of TeX but a job of the
driver. You have to find what the driver can use. Original TeX itself
is not able to find the size of images, there are extensions that can
do it for some graphic formats. And of course, when using XeTeX, you
have to use a driver capable to process xdv.

 Ebb produces the BB (XBB) file for dvipdfm(x).


 BTW, if you want to produce leaflets of arbitrary geometry, you should use 
 the geometry package.

Or zwpagelayout.
 --
 Mit friedvollen Grüßen

  Pete

 A designer knows he has arrived at perfection not when there is no longer 
 anything to add, but when there is no longer anything to take away.
- Antoine de Saint-Exupéry




 --
 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] using xetex, leaflet and includegraphics

2011-09-15 Thread Peter Dyballa

Am 15.09.2011 um 19:07 schrieb Zdenek Wagner:

 Remember that graphics inclusion is not a job of TeX but a job of the
 driver.

I know. XeTeX does not produce such a message. It can easily handle PNG and 
others, without needing a BB or XBB file. This line comes from using dvipdfm. 
And dvipdfm cannot operate on XDV files.

--
Greetings

  Pete

A morning without coffee is like something without something else.




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


[XeTeX] selecting lucida sans oblique

2011-09-15 Thread Sébastien Mengin
Dear xelatex users,

Do you observe the same behaviour as I do with the following code:

\documentclass{book}
\RequirePackage{fontspec}
\RequirePackage{xunicode}
\RequirePackage[french]{babel}
\setmonofont{Lucida Sans Typewriter}

\begin{document}
\texttt{\emph{test}}

{\bfseries\texttt{\emph{test}}}

\end{document}

Here, both «test» are typeset BoldOblique.
What do I have to do to select italic with this font?

Thanks in advance,
S.

-- 
Sébastien Mengin -- GPG Id : 4725AC6E
Édition et logiciels libres
 Mise en page avec LaTeX 
http://edilibre.net
tél. : 05 81 27 67 93
jid. : sebastien-men...@jabber.org


signature.asc
Description: Digital signature


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


Re: [XeTeX] Longtable package

2011-09-15 Thread VAFA KHALIGHI
This is another attempt. It makes longtable RTL but also has some problems
so I am not yet happy with it.


test.tex
Description: TeX document


test.pdf
Description: Adobe PDF document


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


Re: [XeTeX] selecting lucida sans oblique

2011-09-15 Thread Steve Peter

On Sep 15, 2011, at 4:17 PM, Sébastien Mengin wrote:

 \documentclass{book}
 \RequirePackage{fontspec}
 \RequirePackage{xunicode}
 \RequirePackage[french]{babel}
 \setmonofont{Lucida Sans Typewriter}
 
 \begin{document}
 \texttt{\emph{test}}
 
 {\bfseries\texttt{\emph{test}}}
 
 \end{document}
 
 Here, both «test» are typeset BoldOblique.

The first one is not bold. 

 What do I have to do to select italic with this font?

I believe there is only an oblique version of Lucida Sans Typewriter, not a 
true italic. Thus, the behavior you see is correct, unless I'm missing 
something in your question.

Steve


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


Re: [XeTeX] Longtable package

2011-09-15 Thread VAFA KHALIGHI
This one is even better but I have to fix two problems:

1- why there is too much vertical space at the bottom of page 1?
2- Why the last \hline in page 1 is not shown? (I guess this is related to 1
too)


test.tex
Description: TeX document


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