[XeTeX] [OS X TeX] Unexpected quotation marks

Michael Kubovy kubovy at virginia.edu
Sun Jun 10 19:14:47 CEST 2007


On Jun 10, 2007, at 11:38 AM, Peter Dyballa wrote:

> Am 10.06.2007 um 16:24 schrieb Bruno Voisin:
>
>> If I remember correctly, support of tikz (or was it pstricks?) is
>> still largely experimental, and not yet included in TeXLive. At the
>> moment, I think it requires modifying driver files (the .def files
>> that XeLaTeX reads) and/or editing the xdvipdfmx sources and
>> recompiling xdvipdfmx from these modified sources. Not for the faint
>> of heart, in any case!
>
> Tikz works straight:
>
> 	\usepackage[dvipdfm]{pgf}
> 	\usepackage{tikz}
>
> +
> 	xelatex -output-driver='xdvipdfmx -q -E'
>
> plus it has to be TeX Live 2007.

This .tex file:
************************
%%!TEX TS-program = XeLaTeX-xdvipdfmx
%%!TEX encoding = UTF-8 Unicode

\documentclass[twocolumn,11pt]{article}
%\usepackage[LY1]{fontenc}
%\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{mathpazo}

\usepackage[cm-default]{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Palatino}
\usepackage{graphicx}
\usepackage[dvipdfm]{pgf}
\usepackage{tikz}

\title{Article}
\author{Author}
\date{}

\begin{document}
\maketitle

Text:

\textit{p}(\textbf{a})/\textit{p}(\textbf{b}) = log{1234567890}

Math:
\[\frac{p(\mathbf{a})}{p(\mathbf{b})} = \log{1234567890}\]

\end{document}
************************
fails (console output):
************************
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,  
dumylang, noh
...
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
...
(/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/utilities/pgfutil- 
common.te
x)
(/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/utilities/pgfutil- 
latex.def
) (/Users/mk/Library/texmf/tex/generic/pgf/utilities/pgfrcs.code.tex))

! LaTeX Error: Unknown option `dvipdfm' for package `pgf'.
************************
XeLaTeX-xdvipdfmx.engine reads:
************************
#!/bin/tcsh

set path= ($path /usr/texbin /usr/local/bin)
xelatex -output-driver="xdvipdfmx -q -E" "$1"
************************
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/




More information about the XeTeX mailing list