Re: [NTG-context] enco-ffr ?

2006-12-02 Thread Renaud Aubin
Hi Hans,
> i'm no sure what you mean here
>
> Hans
As a sample is better than words, the following code contains the 
problems induced by the use of \useencoding[ffr]. The first part is only 
here to ensure the correct horizontal spacing. The second part raises 
the problem related to the use of ":" within ref. The last part is 
dedicated to the well identified MP-related problem.

\useencoding[ffr]
\mainlanguage[fr]

\starttext

text:\blank
text;\blank
text?\blank
text!\blank

A sample table is given: \in{tableau}[tab:mytab].

\placetable[here][tab:mytab]{Test}{
\bTABLE
\bTR
\bTD test \eTD
\bTD test \eTD
\eTR
\eTABLE
}
\stopmode

\startuseMPgraphic{test}
numeric u;
u:=1cm;

draw origin--(10u,10u);
\stopuseMPgraphic

\useMPgraphic{test}

\stoptext


Renaud
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr ?

2006-12-01 Thread Renaud Aubin
Hi Hans,


Hans Hagen a écrit :
> i'm no sure what you mean here

I just mean that the problem was not correctly described in the 
"[NTG-context] \directdiscretionary & \mainlanguage[fr]" post because 
I've not cleaned up with texutil --purgeallfiles before to process 
prd_phd with texexec.

Could you describe how \installactivecharacter and "discretionaries" 
work ? (this way, next time I'll maybe be able to debug myself)


Renaud
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr ?

2006-12-01 Thread Hans Hagen
Renaud Aubin wrote:
> Hi Hans,
>
> This post deletes [NTG-context] \directdiscretionary & 
> \mainlanguage[fr], since I've forgot to exec texutil --purgeallfiles...
>
>   
i'm no sure what you mean here 

Hans 

-
  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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr ?

2006-12-01 Thread Renaud Aubin
Hi Hans,

This post deletes [NTG-context] \directdiscretionary & 
\mainlanguage[fr], since I've forgot to exec texutil --purgeallfiles...

I've just tested ConTeXt ver: 2006.11.29 09:55 and I have the same 
problem, i.e. even with
... (supp-mps.tex)
\appendtoks
  \disablediscretionaries
\to \everyMPgraphic
...

=>

TeXExec | processing graphic 'prd_phd-mpgraph'
This is MetaPost, Version 0.99 (Web2C 7.5.5)
(/home/renaud/texmf/web2c/natural.tcx)
(prd_phd-mpgraph.mp (mp-gnuplot.mp)
! Extra tokens will be flushed.

   directdiscretionary
l.74 enddef \directdiscretionary
 {;}
? x
Transcript written on prd_phd-mpgraph.log.
TeXExec | runtime: 1.627805
[MP prd_phd-mpgraph.1]
section : 1.1 Introduction
! Missing \endcsname inserted.

   \edef
\directdiscretionary #1->\edef
   \discretionarytoken {\detokenize 
{#1}}\let \t...
 tab:
   objXP
\dodoexpandreferences ... \specialREFidentifier #1
  \endcsname \edef 
\expanded...

\doexpandreferences ...ences #1REF(\relax )\relax
  [EMAIL PROTECTED] 
\doexpandreferenc...

\expandreferences ...count \doexpandreferences #1,
  ],
...
l.44 \in{tableau}[tab:objXP]
 reprend les principales objections à de telles
? x
{/usr/share/texmf-tetex/fonts/enc/dvips/psnfssx/texnansi.enc}
Output written on prd_phd.pdf (14 pages, 62525 bytes).
Transcript written on prd_phd.log.
TeXExec | runtime: 9.140667

...


Renaud (I begin to doubt on my ability to properly install ConTeXt...)

Hans Hagen a écrit :
> Renaud Aubin wrote:
>> Hans Hagen a �crit :
>>
>>> so i'll wait for the test file before i look into it
>>>
>> \useencoding[ffr]
>> \mainlanguage[fr]
>>
>> \starttext
>>
>> \section{\type{enco-ffr.tex} related issue}
>>
>> \startuseMPgraphic{mymptest}
>> numeric u;
>> u:=1cm;
>> draw origin--(10u,10u);
>> \stopuseMPgraphic
>>
>> \placefigure[here]{none}{\useMPgraphic{mymptest}}
>>
>> test:\blank
>> test;\blank
>> test!\blank
>> test?\blank
>>
>> \stoptext
>>
>> leads to
>>
>> ! Illegal suffix of declared variable will be flushed.
>> 
>> {
>> l.148 numeric u\directdiscretionary {
>> ;}
>>
>>
> i'll add
>
> \appendtoks
> \disablediscretionaries
> \disablecompoundcharacters
> \to\everyMPgraphic
>
> (i must have had a reason for removing it but i forgot what)
>
> Hans
>

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr ?

2006-11-27 Thread Hans Hagen
Renaud Aubin wrote:
> Hans Hagen a �crit :
>   
>> so i'll wait for the test file before i look into it
>> 
> \useencoding[ffr]
> \mainlanguage[fr]
>
> \starttext
>
> \section{\type{enco-ffr.tex} related issue}
>
> \startuseMPgraphic{mymptest}
> numeric u;
> u:=1cm;
> draw origin--(10u,10u);
> \stopuseMPgraphic
>
> \placefigure[here]{none}{\useMPgraphic{mymptest}}
>
> test:\blank
> test;\blank
> test!\blank
> test?\blank
>
> \stoptext
>
> leads to
>
> ! Illegal suffix of declared variable will be flushed.
> 
>{
> l.148 numeric u\directdiscretionary {
>  ;}
>
>   
i'll add

\appendtoks
\disablediscretionaries
\disablecompoundcharacters
\to\everyMPgraphic

(i must have had a reason for removing it but i forgot what)

Hans

-- 

-
  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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr ?

2006-11-26 Thread Renaud Aubin
Hans Hagen a écrit :
> so i'll wait for the test file before i look into it
\useencoding[ffr]
\mainlanguage[fr]

\starttext

\section{\type{enco-ffr.tex} related issue}

\startuseMPgraphic{mymptest}
numeric u;
u:=1cm;
draw origin--(10u,10u);
\stopuseMPgraphic

\placefigure[here]{none}{\useMPgraphic{mymptest}}

test:\blank
test;\blank
test!\blank
test?\blank

\stoptext

leads to

! Illegal suffix of declared variable will be flushed.

   {
l.148 numeric u\directdiscretionary {
 ;}



Renaud
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr ?

2006-11-26 Thread Hans Hagen
Renaud Aubin wrote:
> An idea...
>   
active chars ... always problematic
> Renaud (too tired this night to investigate, but tomorrow is another day)
>   
so i'll wait for the test file before i look into it 

Hans 


-
  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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] enco-ffr ?

2006-11-25 Thread Renaud Aubin
Hi all,

I've installed the latest ConTeXt (+ pdfTeX 
3.141592-1.40.0-beta-20061017-2.2 + MetaPost 0.99, the beta one) from 
scratch on a machine of mine... In order to test this brand new 
installation, I've processed my phd and experienced some problems:
1- the new enco-ffr contains
\installactivecharacter :
\installactivecharacter ;
\installactivecharacter ?
\installactivecharacter !
These \installactivecharacter yield to

! Extra tokens will be flushed.

directdiscretionary
l.54 } enddef \directdiscretionary
{;

Ok, the problem is solved if I comment out these lines and the 
horizontal spacing seems to be correct...

2- I have now the following error:

! Missing \endcsname inserted.

   \edef
\directdiscretionary #1->\edef
   \discretionarytoken {\detokenize 
{#1}}\let \t...
 tab:
   objXP
\mainreference ...csname \r!cross \fileprefix #1#2
  \endcsname \ifcase 
0#4\els...
l.67 ...s objections à l'expérimentation directe}}

due to "\in{tableau}[tab:objXP]"

An idea...

Renaud (too tired this night to investigate, but tomorrow is another day)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr again

2005-07-13 Thread Hans Hagen

Peter Münster wrote:


On Tue, 5 Jul 2005, Hans Hagen wrote:

 


Peter Münster wrote:
   


I've just discovered, that the problem is only with : and ; but not with ?
and !
Here my example files:

file env.tex:
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\stopenvironment

file test.tex:
\environment env
\starttext
No space before : nor ;
bla: bla; bla? bla!
\stoptext
 


see proposed solution in wiki bug page
   



Thank you, Hans!
So, if your solution is in the kernel now, can we delete this page?
Cheers, Peter

 


it will be in de kernel indeed

Hans

-
 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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr again

2005-07-12 Thread Peter Münster
On Tue, 5 Jul 2005, Hans Hagen wrote:

> Peter Münster wrote:
> > I've just discovered, that the problem is only with : and ; but not with ?
> > and !
> > Here my example files:
> > 
> > file env.tex:
> > \startenvironment env
> > \useencoding[ffr]
> > \mainlanguage[fr]
> > \stopenvironment
> > 
> > file test.tex:
> > \environment env
> > \starttext
> > No space before : nor ;
> > bla: bla; bla? bla!
> > \stoptext
> 
> see proposed solution in wiki bug page

Thank you, Hans!
So, if your solution is in the kernel now, can we delete this page?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enco-ffr again

2005-07-05 Thread Hans Hagen

Peter Münster wrote:

I've just discovered, that the problem is only with : and ; but not with ?
and !
Here my example files:

file env.tex:
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\stopenvironment

file test.tex:
\environment env
\starttext
No space before : nor ;
bla: bla; bla? bla!
\stoptext


see proposed solution in wiki bug page

Hans

-
  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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] enco-ffr again

2004-06-14 Thread Peter Münster
I've just discovered, that the problem is only with : and ; but not with ?
and !
Here my example files:

file env.tex:
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\stopenvironment

file test.tex:
\environment env
\starttext
No space before : nor ;
bla: bla; bla? bla!
\stoptext

Could someone help?
Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context