* enco-ffr ?
@ 2006-11-26 0:06 Renaud Aubin
2006-11-26 16:25 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Renaud Aubin @ 2006-11-26 0:06 UTC (permalink / raw)
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.
<to be read again>
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.
<to be read again>
\edef
\directdiscretionary #1->\edef
\discretionarytoken {\detokenize
{#1}}\let \t...
<argument> 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)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enco-ffr ?
2006-11-26 0:06 enco-ffr ? Renaud Aubin
@ 2006-11-26 16:25 ` Hans Hagen
2006-11-26 18:32 ` Renaud Aubin
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2006-11-26 16:25 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enco-ffr ?
2006-11-26 16:25 ` Hans Hagen
@ 2006-11-26 18:32 ` Renaud Aubin
2006-11-27 8:59 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Renaud Aubin @ 2006-11-26 18:32 UTC (permalink / raw)
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.
<to be read again>
{
l.148 numeric u\directdiscretionary {
;}
Renaud
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enco-ffr ?
2006-11-26 18:32 ` Renaud Aubin
@ 2006-11-27 8:59 ` Hans Hagen
2006-12-01 23:33 ` Renaud Aubin
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2006-11-27 8:59 UTC (permalink / raw)
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.
> <to be read again>
> {
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enco-ffr ?
2006-11-27 8:59 ` Hans Hagen
@ 2006-12-01 23:33 ` Renaud Aubin
2006-12-02 0:13 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Renaud Aubin @ 2006-12-01 23:33 UTC (permalink / raw)
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.
<to be read again>
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.
<to be read again>
\edef
\directdiscretionary #1->\edef
\discretionarytoken {\detokenize
{#1}}\let \t...
<argument> tab:
objXP
\dodoexpandreferences ... \specialREFidentifier #1
\endcsname \edef
\expanded...
\doexpandreferences ...ences #1REF(\relax )\relax
\@EAEAEA
\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}</usr/local/share/
texmf/fonts/type1/bh/lucida/lbsl.pfb></usr/local/share/texmf/fonts/type1/bh/luc
ida/lbrsc.pfb></usr/local/share/texmf/fonts/type1/bh/lucida/lbr.pfb></usr/local
/share/texmf/fonts/type1/bh/lucida/lbd.pfb>
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.
>> <to be read again>
>> {
>> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enco-ffr ?
2006-12-01 23:33 ` Renaud Aubin
@ 2006-12-02 0:13 ` Hans Hagen
2006-12-02 1:24 ` Renaud Aubin
2006-12-02 23:49 ` Renaud Aubin
0 siblings, 2 replies; 8+ messages in thread
From: Hans Hagen @ 2006-12-02 0:13 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enco-ffr ?
2006-12-02 0:13 ` Hans Hagen
@ 2006-12-02 1:24 ` Renaud Aubin
2006-12-02 23:49 ` Renaud Aubin
1 sibling, 0 replies; 8+ messages in thread
From: Renaud Aubin @ 2006-12-02 1:24 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: enco-ffr ?
2006-12-02 0:13 ` Hans Hagen
2006-12-02 1:24 ` Renaud Aubin
@ 2006-12-02 23:49 ` Renaud Aubin
1 sibling, 0 replies; 8+ messages in thread
From: Renaud Aubin @ 2006-12-02 23:49 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-12-02 23:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-26 0:06 enco-ffr ? Renaud Aubin
2006-11-26 16:25 ` Hans Hagen
2006-11-26 18:32 ` Renaud Aubin
2006-11-27 8:59 ` Hans Hagen
2006-12-01 23:33 ` Renaud Aubin
2006-12-02 0:13 ` Hans Hagen
2006-12-02 1:24 ` Renaud Aubin
2006-12-02 23:49 ` Renaud Aubin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).