Re: [NTG-context] MK II ( \mainlanguage[fr] && \useencoding[ffr] )+ mpost

2009-12-03 Thread Hans Hagen

Renaud AUBIN wrote:


OK, since I don't know the behavior of \setupcharacterspacing, the
following question may seem stupid to you:
How the following string will be processed « Did you notice that real
NO-BREAK SPACE chars are already there? »


why not just try it

currently only intermediate kerns, glue and spacing characters are 
considered



More over, since I have just forgotten my « Lexique des règles
typographiques en usage à l'imprimerie nationale »at work, I have to
wait the morrow to confirm the fact that some use of U+202F NARROW
NO-BREAK SPACE are necessary. Same question as the previous one applies
when NNBSP are already there…


it depends to what extend you want context to clean up and optimize 
spacing; it can be that 202F is there for other purposes (and maybe not 
even consistently used as it is kind of invisible); so it should 
probababluy configurable (we have already some modes)



And the last question of the day ;) : … expends to . . . with
french. Could that be easily corrected?


probably, but first i want proper specs on which most french users agree 
(so i do an extra cc to arthur who is sort of in charge of the french 
tex users)



(This flow of question comes from my recent experiments of the advanced
capabilities of bépo fr keyboard plus .XCompose usage).


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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MK II ( \mainlanguage[fr] && \useencoding[ffr] )+ mpost

2009-10-11 Thread Hans Hagen

au...@nibua-r.org wrote:

Hello,

I'm trying to compile a product of a complex structure (env + project + 
product).


- My useMPgraphics are included in a product using \input
- My environment starts with :
\enableregime[utf8]
\useencoding[ffr]
\mainlanguage[fr]
just before \startenvironment (else the horizontal spacing are not ok 
for my products, compiled as standalone documents)


As is, the metapost processing halts on
! Illegal suffix of declared variable will be flushed.

   {
l.149 path theshape\mathortext {
;}{;}



what happens if you put \string in front of : and ;


-
  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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MK II ( \mainlanguage[fr] && \useencoding[ffr] )+ mpost

2009-10-06 Thread aubin
Hello,
 I'm trying to compile a product of a complex structure (env +
project + product).
 - My useMPgraphics are included in a product using input
 - My environment starts with :
 enableregime[utf8]
 useencoding[ffr]
 mainlanguage[fr]
 just before startenvironment (else the horizontal spacing are not ok
for my products, compiled as standalone documents)
 As is, the metapost processing halts on 
 ! Illegal suffix of declared variable will be flushed.
{
 l.149 path theshapemathortext {
 ;}{;}
 If I comment out *only* mainlanguage[fr], metapost's processings are
OK but I have english labels (Content, Chapter...) instead of french
ones (obviously).
 If I comment out *only* useencoding[ffr], metapost's processing
areOK but horizontal spacing for punctation are not OK (i.e. with
respect to french typographic standards).
 My question is : how I can obtain french labels + french punctuation
SIMULTANEOUSLY ;)
 I use the up-to-date context/metapost from minimals... And I can't
use MK IV since I need t-vim...
 (useencoding[ffr] is not known by MK IV as typeSTUFF from t-vim)
 Renaud
  ___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Re: \useencoding[ffr] with \placebookmarks crashes (sometimes!)

2004-10-29 Thread Patrick Gundlach
Hello Steffen,

> processing a file like the one below breaks with an error (see log below too).
> But when \section is used instead of \EbeneZwei it works.

your code runs fine on live.contextgarden.net Perhaps something wrong
with your distribution?

Patrick

-- 
ConTeXt wiki: http://contextgarden.net
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Fwd: \useencoding[ffr] with \nolist crashes too

2004-10-29 Thread Steffen Wolfrum
->default:default->1->2:2 uk->default:default->2->2
:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:
2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 i
t->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded
specials   : tex,postscript,rokicki loaded
system : french.top loaded
(./french.top
specials   : loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
 
system (E-TEX) : [line 2256] \ifcsname 
 )
specials   : fdf loaded
 )
specials   : fdf,tpd loaded
)
encoding   : coding ffr is loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/enco-ffr.tex
system : macros of module tryout loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/m-tryout.tex)
language   : language specific options [default-fr] seamless appended
)
interaction: active
system : mark EbeneZwei defined [section]
system : mark EbeneZweinumber defined [sectionnumber]
(./french.tuo) (./french.tuo))
! Incomplete \iffalse; all text was ignored after line 15.
 
\fi 
<*> &cont-en french.tex
   
? 









>Date: Thu, 28 Oct 2004 17:15:55 +0200
>To: ConTeXt
>From: Steffen Wolfrum <[EMAIL PROTECTED]>
>Subject: \useencoding[ffr] with \placebookmarks crashes (sometimes!)
>Cc: 
>Bcc: 
>X-Attachments: 
>
>Hi,
>
>processing a file like the one below breaks with an error (see log below too).
>But when \section is used instead of \EbeneZwei it works.
>
>Sorry, I have no idea what this means. Anybody has?
>
>Thanks,
>
>Steffen
>
>
>
>TESTFILE:
>
>\useencoding[ffr]
>\mainlanguage[fr]
>
>
>\setupinteraction[state=start,style=]
>
>
>\definehead[EbeneZwei][section]
>
>\placebookmarks[EbeneZwei]
>
>\starttext
>
>%\section{Illustration: d\'{e}finition, tradition et survol de la critique}
>\EbeneZwei{Illustration: d\'{e}finition, tradition et survol de la critique}
>
>\stoptext
>
>
>
>
>
>ERROR LOG:
>
> TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004
>
>executable : pdfetex
>format : cont-en
> inputfile : french
>output : pdftex
> interface : en
>  current mode : none
>   TeX run : 1
>
>This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
> \write18 enabled.
>entering extended mode
>(./french.tex{/Users/himmelblau/Library/texmf/pdftex/config/pdftex.cfg}
>
>ConTeXt  ver: 2004.9.17  fmt: 2004.9.22  int: english  mes: english
>
>language   : language en is active
>
>system : cont-new loaded
>(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
>systems: beware: some patches loaded from cont-new.tex!
>color  : palette rollover is available
>system (E-TEX) : [line 921] 
>system (E-TEX) : [line 976] 
>)
>system : cont-old loaded
>(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
>loading: Context Old Macros
>)
>system : cont-fil loaded
>(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
>loading: Context File Synonyms
>)
>system : cont-sys loaded
>(/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.tex)
>bodyfont   : 12pt rm is loaded
>language   : patterns en->default:default->1->2:2 uk->default:default->2->2
>:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:
>2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 i
>t->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded
>specials   : tex,postscript,rokicki loaded
>system : french.top loaded
>(./french.top
>specials   : loading definition file tpd
>(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
>specials   : loading definition file fdf
>(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
> 
>system (E-TEX) : [line 2256] \ifcsname 
> )
>specials   : fdf loaded
> )
>specials   : fdf,tpd loaded
>)
>encoding   : coding ffr is loaded
>(/usr/local/teTeX/share/texmf.local/tex/context/base/enco-ffr.tex
>system : macros of module tryout loaded
>(/usr/local/teTeX/share/texmf.local/tex/context/base/m-tryout.tex)
>language   : language specific options [default-fr] seamless appended
>

[NTG-context] \useencoding[ffr] with \placebookmarks crashes (sometimes!)

2004-10-28 Thread Steffen Wolfrum
Hi,

processing a file like the one below breaks with an error (see log below too).
But when \section is used instead of \EbeneZwei it works.

Sorry, I have no idea what this means. Anybody has?

Thanks,

Steffen



TESTFILE:

\useencoding[ffr]
\mainlanguage[fr]


\setupinteraction[state=start,style=]


\definehead[EbeneZwei][section]

\placebookmarks[EbeneZwei]

\starttext

%\section{Illustration: d\'{e}finition, tradition et survol de la critique}
\EbeneZwei{Illustration: d\'{e}finition, tradition et survol de la critique}

\stoptext





ERROR LOG:

 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004

executable : pdfetex
format : cont-en
 inputfile : french
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 \write18 enabled.
entering extended mode
(./french.tex{/Users/himmelblau/Library/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.9.17  fmt: 2004.9.22  int: english  mes: english

language   : language en is active

system : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 921] 
system (E-TEX) : [line 976] 
)
system : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.tex)
bodyfont   : 12pt rm is loaded
language   : patterns en->default:default->1->2:2 uk->default:default->2->2
:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:
2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 i
t->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded
specials   : tex,postscript,rokicki loaded
system : french.top loaded
(./french.top
specials   : loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
 
system (E-TEX) : [line 2256] \ifcsname 
 )
specials   : fdf loaded
 )
specials   : fdf,tpd loaded
)
encoding   : coding ffr is loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/enco-ffr.tex
system : macros of module tryout loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/m-tryout.tex)
language   : language specific options [default-fr] seamless appended
)
interaction: active
system : mark EbeneZwei defined [section]
system : mark EbeneZweinumber defined [sectionnumber]
(./french.tuo) (./french.tuo)
! Undefined control sequence.
 \discretionarytoken 
   
\convertargument #1\to #2->\dodoglobal \edef #2
   {\detokenize {#1}}
\directdiscretionary ...#1\to \discretionarytoken 
  \let \textmodediscretionar...
 Illustration:
 d\'{e}finition, tradition et survol de la critique
\sanitizePDFdocencoding ...docencoding \edef #2{#1
  }
\doPDFinsertbookmark ...oding #3\to \bookmarktext 
  \scratchcounter #4\advance...
...
l.12 
 
? 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] hyperrefs and a) \useencoding[win] and b) opening other windows

2004-01-26 Thread Mathias Picker
Hopefully my last questions about context and pdf and urls

a) I get url targets with buildextacc if I use urls with german 
umlauts and \useencoding[win] Any idea how to get german umlauts if 
the file is iso8859-15 and still get usefull links?

b) when following links in the pdf I would like to open the documents in 
another window. My users view the pdf through a browser, and the pdf has 
links to many file types which I want to open in new browser windows, so 
the context of the main pdf file is not lost. Any way to do this??

Thanks a lot!

Mathias

--
 virtual earth
  Mathias Picker
  Geschäftsführer  Gesellschaft für Wissens re/prä sentation mbH
 [EMAIL PROTECTED]
 Fon +49 89  / 540 7425-1
 Fax +49 89  / 540 7425-9
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context