Bug#457622: context: Importing mps files from latex is broken

2007-12-24 Thread Norbert Preining
On Mo, 24 Dez 2007, Dylan Paul Thurston wrote:
> % mv test.0 test-0.mps

Ah, ok. That works now here. I will upload a new package in a minute
(after some testing)

Best wishes

Norbert

---
Dr. Norbert Preining <[EMAIL PROTECTED]>Vienna University of Technology
Debian Developer <[EMAIL PROTECTED]> Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
KIRBY (n.)
Small but repulsive piece of food prominently attached to a person's
face or clothing. See also CHIPPING ONGAR.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#457622: context: Importing mps files from latex is broken

2007-12-24 Thread Dylan Paul Thurston
On Mon, Dec 24, 2007 at 10:15:27AM +0100, Norbert Preining wrote:
> Hi Dylan,
> 
> On So, 23 Dez 2007, Dylan Thurston wrote:
> > With the latest version of context, including Metapost figures in
> > latex (using graphicx) is broken.  I've attached minimal test files,
> > and with thoose I get the error log below.
> 
> I want to upload a fixed version but I cannot test it because I don't
> know how to activate the mps to pdf converter.
> ...

Sorry, I should have said: I created the test-0.mps file by moving the
test.0 file (since latex recognizes the type of file solely by
extension).  So to recreate the problem from the files I sent, run

% mpost test
% mv test.0 test-0.mps
% latex t

Peace,
Dylan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#457622: context: Importing mps files from latex is broken

2007-12-24 Thread Norbert Preining
Hi Dylan,

On So, 23 Dez 2007, Dylan Thurston wrote:
> With the latest version of context, including Metapost figures in
> latex (using graphicx) is broken.  I've attached minimal test files,
> and with thoose I get the error log below.

I want to upload a fixed version but I cannot test it because I don't
know how to activate the mps to pdf converter.

> [Loading MPS to PDF converter (version 2006.09.02).]
> ) [MP to PDF] (./test-0.mps

I get[Loading MPS to PDF converter (version 2006.09.02).]
)

./t.tex:5: LaTeX Error: File `test-0' not found.


I have no idea where that can come from... yours is showing
[MP to PDF]
which is normally the output of
mptopdf
which is in my path and does work. But I don't get it ...

Did you change something on your system to get this working?

Best wishes

Norbert

---
Dr. Norbert Preining <[EMAIL PROTECTED]>Vienna University of Technology
Debian Developer <[EMAIL PROTECTED]> Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
BURLINGJOBB
A seventeenth-century crime by which excrement is thrown into the
street from a ground-floor window.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#457622: (fwd) Bug#457622: context: Importing mps files from latex is broken

2007-12-24 Thread Hans Hagen

Norbert Preining wrote:

Dear Hans, dear Taco, dear all,

we got a bug report on Debian after shipping context 2007.12.18 wrt
supp-pdf.tex, including .mp does not work anymore ...



quick fix   [EMAIL PROTECTED]

i'll look into it



- Forwarded message from Dylan Thurston <[EMAIL PROTECTED]> -


[Loading MPS to PDF converter (version 2006.09.02).]
) [MP to PDF] (./test-0.mps
! Undefined control sequence.
\doflushMPtext #1->\edef \!!stringa [EMAIL PROTECTED] 
 \dodoflushMPtext \!!stringa \re...

l.16 (Test) cmr10 9.96265 fshow


Minimal test files are:

- test.tex --
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{test-0}
\end{document}
- test.mp ---
beginfig(0);
  draw (0,0)--(1cm,1cm);
  label.lft("Test", (0,0));
endfig;
end
--

The error didn't occur with the supp-pdf.tex from context 2007.09.28.

I checked the two supp-pdf.tex codes and there are quite a lot of
differences. Is this a know problem and how should it be fixed?

Thanks a lot, all the best, and merry christmas

Norbert

---
Dr. Norbert Preining <[EMAIL PROTECTED]>Vienna University of Technology
Debian Developer <[EMAIL PROTECTED]> Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
GOOSECRUIVES (pl. n. archaic)
A pair of wooden trousers worn by poultry-keepers in the Middle Ages.
--- Douglas Adams, The Meaning of Liff



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#457622: (fwd) Bug#457622: context: Importing mps files from latex is broken

2007-12-23 Thread Norbert Preining
Dear Hans, dear Taco, dear all,

we got a bug report on Debian after shipping context 2007.12.18 wrt
supp-pdf.tex, including .mp does not work anymore ...

- Forwarded message from Dylan Thurston <[EMAIL PROTECTED]> -

> [Loading MPS to PDF converter (version 2006.09.02).]
> ) [MP to PDF] (./test-0.mps
> ! Undefined control sequence.
> \doflushMPtext #1->\edef \!!stringa [EMAIL PROTECTED] 
>  \dodoflushMPtext \!!stringa 
> \re...
> l.16 (Test) cmr10 9.96265 fshow

Minimal test files are:

- test.tex --
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{test-0}
\end{document}
- test.mp ---
beginfig(0);
  draw (0,0)--(1cm,1cm);
  label.lft("Test", (0,0));
endfig;
end
--

The error didn't occur with the supp-pdf.tex from context 2007.09.28.

I checked the two supp-pdf.tex codes and there are quite a lot of
differences. Is this a know problem and how should it be fixed?

Thanks a lot, all the best, and merry christmas

Norbert

---
Dr. Norbert Preining <[EMAIL PROTECTED]>Vienna University of Technology
Debian Developer <[EMAIL PROTECTED]> Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
GOOSECRUIVES (pl. n. archaic)
A pair of wooden trousers worn by poultry-keepers in the Middle Ages.
--- Douglas Adams, The Meaning of Liff



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#457622: context: Importing mps files from latex is broken

2007-12-23 Thread Dylan Thurston
Package: context
Version: 2007.12.18-1
Severity: normal

With the latest version of context, including Metapost figures in
latex (using graphicx) is broken.  I've attached minimal test files,
and with thoose I get the error log below.

The definition of doflushMPtext in the error is in supp-pdf.tex.  The
comment at the top of that file indicates it is only used outside of
Context itself, so I'm guessing this is a bug in context rather than
in the way it is called by graphicx.

This bug does not appear with context version 2007.09.28-1.

Log of the run:

[EMAIL PROTECTED]:/tmp$ pdflatex t
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./t.tex
LaTeX2e <2005/12/01>
Babel  and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, ukrainian, russian, bulgarian, basque, french, german, ngerman, pin
yin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))) (./t.aux)
(/usr/share/texmf/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
) [MP to PDF] (./test-0.mps
! Undefined control sequence.
\doflushMPtext #1->\edef \!!stringa [EMAIL PROTECTED] 
 \dodoflushMPtext \!!stringa \re...
l.16 (Test) cmr10 9.96265 fshow
   
? 


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages context depends on:
ii  lmodern1.010x-4  scalable PostScript and OpenType f
ii  ruby   1.8.2-2   An interpreter of object-oriented 
ii  tex-common 1.10  common infrastructure for building
ii  texlive-base   2007-13   TeX Live: Essential programs and f
ii  texlive-base-bin   2007.dfsg.1-2 TeX Live: Essential binaries
ii  texlive-metapost   2007.dfsg.1-2 TeX Live: MetaPost (and Metafont) 

Versions of packages context recommends:
ii  luatex0.20.2-1   next generation TeX engine

-- no debconf information
\documentclass{article}
\usepackage{graphicx}

\begin{document}
\includegraphics{test-0}
\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
beginfig(0);
  draw (0,0)--(1cm,1cm);
  label.lft("Test", (0,0));
endfig;
end