Christophe Poulain | 21 Jul 2009 16:16
Favicon

Bug ?

Hi,

with the code and Metapost 1.204

>8>8>8>8>8>8>8>8>8
verbatimtex
%&latex
\documentclass{article}
\usepackage{fourier}
\begin{document}
etex

beginfig(1);
  label(btex \eurologo etex,(10,10));
endfig;
end
beginfig(2);
  label(btex \textgreek{\euro} etex,(10,10));
endfig;
>8>8>8>8>8>8>8>8

why Metapost search to compile the fig number 2 and make an error
(error who is true because the command \textgreek is unknown)

Greetings,
Christophe Poulain.
--
http://tug.org/metapost/

(Continue reading)

Taco Hoekwater | 21 Jul 2009 17:41
Gravatar

Re: Bug ?


Hi Christophe,

Christophe Poulain wrote:
> Hi,
> 
> with the code and Metapost 1.204
> 
>> 8>8>8>8>8>8>8>8>8
> verbatimtex
> %&latex
> \documentclass{article}
> \usepackage{fourier}
> \begin{document}
> etex
> 
> beginfig(1);
>   label(btex \eurologo etex,(10,10));
> endfig;
> end
> beginfig(2);
>   label(btex \textgreek{\euro} etex,(10,10));
> endfig;
>> 8>8>8>8>8>8>8>8
> 
> why Metapost search to compile the fig number 2 and make an error
> (error who is true because the command \textgreek is unknown)

If I understand you correctly you want metapost to ignore the
latex error that your input causes? Why would that make sense?
(Continue reading)

Pétiard François | 21 Jul 2009 18:46
Picon
Favicon

Re: Bug ?

Le 21/07/2009 17:41, Taco Hoekwater a écrit :
> Hi Christophe,
> 
> Christophe Poulain wrote:
>> Hi,
>>
>> with the code and Metapost 1.204
>>
>>> 8>8>8>8>8>8>8>8>8
>> verbatimtex
>> %&latex
>> \documentclass{article}
>> \usepackage{fourier}
>> \begin{document}
>> etex
>>
>> beginfig(1);
>>   label(btex \eurologo etex,(10,10));
>> endfig;
>> end
>> beginfig(2);
>>   label(btex \textgreek{\euro} etex,(10,10));
>> endfig;
>>> 8>8>8>8>8>8>8>8
>> why Metapost search to compile the fig number 2 and make an error
>> (error who is true because the command \textgreek is unknown)
> 
> If I understand you correctly you want metapost to ignore the
> latex error that your input causes? Why would that make sense?
> If latex fails, then your figure is broken?
(Continue reading)

Taco Hoekwater | 21 Jul 2009 18:58
Gravatar

Re: Bug ?

Pétiard François wrote:
>>> why Metapost search to compile the fig number 2 and make an error
>>> (error who is true because the command \textgreek is unknown)
>>
>> If I understand you correctly you want metapost to ignore the
>> latex error that your input causes? Why would that make sense?
>> If latex fails, then your figure is broken?
> 
> If I understand Christophe, the question is : "why MetaPost doesn't stop 
> at the command end and try to compile the fig 2 ?"

Ah. Because all the btex.. etex label processing for the whole file 
takes place before anything else happens (otherwise each of the labels
would need its own private latex run).

Best wishes,
Taco
--
http://tug.org/metapost/

Christophe Poulain | 21 Jul 2009 20:54
Favicon

Re: Bug ?

Le Tue, 21 Jul 2009 18:58:57 +0200,
Taco Hoekwater <taco <at> elvenkind.com> a écrit :

> Pétiard François wrote:
> >>> why Metapost search to compile the fig number 2 and make an error
> >>> (error who is true because the command \textgreek is unknown)
> >>
> >> If I understand you correctly you want metapost to ignore the
> >> latex error that your input causes? Why would that make sense?
> >> If latex fails, then your figure is broken?
> > 
> > If I understand Christophe, the question is : "why MetaPost doesn't
> > stop at the command end and try to compile the fig 2 ?"
> 
> Ah. Because all the btex.. etex label processing for the whole file 
> takes place before anything else happens (otherwise each of the labels
> would need its own private latex run).

OK, it's very clear :)
I've to do so :-)

> 
> Best wishes,
> Taco
> --
> http://tug.org/metapost/

Greetings,
Christophe Poulain.
--
(Continue reading)


Gmane