Public bug reported:

Binary package hint: xfig

A file called temp.tex was compiled using LaTeX and contained the line

\input{decoration.pstex_t}

where the .pstex_t file was exported from xfig using the "export as
combined PS/LaTeX (both parts)" option. The only text in this file read

$D=(0,1)$

The rest of the file consisted of three lines drawn with xfig.

If the file had the "Special Flag" option set to "Normal" there was no
problem.  However, if the "Special Flag" option was set to "Special" two
things happened:

1. The LaTeX file produced the following error message upon compilation

./temp.tex:14:Undefined control sequence. }}}}

2. Surprisingly, if the .dvi file had already been created (when the
"Special Flag" was set to "Normal") the .dvi file got updated, but the
text that was supposed to read "D=(0,1)" now read "[rbg]0,0,0D=(0,-49)"
where the "D=(0,-49)" sequence had a nice LaTeX appearance.

The error message seems to be from the "\put" routine in the last lines
of the .pstex_t file.  Here is the decoration.pstex_t file that was
produced from xfig:

\begin{picture}(0,0)%
\includegraphics{decoration.pstex}%
\end{picture}%
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFontNFSS\undefined%
\gdef\SetFigFontNFSS#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(2424,1704)(1189,-1633)
\put(2490,-1182){\makebox(0,0)[lb]{\smash{{\SetFigFontNFSS{11}{13.2}{\familydefault}{\mddefault}{\updefault}{\color[rgb]{0,0,0}$D=(0,-49)$}%
}}}}
\end{picture}%

** Affects: xfig (Ubuntu)
     Importance: Undecided
         Status: New

-- 
special flag for latex symbols not working in xfig
https://bugs.launchpad.net/bugs/136281
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to