Re: [NTG-context] Undefined control sequence error message

2023-03-16 Thread Pablo Rodriguez via ntg-context
On 3/16/23 17:44, Leah Neukirchen via ntg-context wrote:
> Hi,
> 
> LMTX prints a bit weird error message for undefined control
> sequences:
> 
> \starttext
> \zong
> \stoptext
> 
> tex error  > tex error on line 2 in file ./foo.tex: Undefined
>  control sequence \undefined
> [...] 
> Shouldn't it print "\zong" in the "tex error" line too?

Hi Leah,

I totally agree: "Undefined control sequence \zong" would be better.

Pablo

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Undefined control sequence error message

2023-03-16 Thread Leah Neukirchen via ntg-context
Hi,

LMTX prints a bit weird error message for undefined control sequences:

\starttext
\zong
\stoptext

tex error   > tex error on line 2 in file ./foo.tex: Undefined control 
sequence \undefined 

 
\zong

Shouldn't it print "\zong" in the "tex error" line too?

-- 
Leah Neukirchenhttps://leahneukirchen.org/
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Undefined control sequence \bodyfontsizevariable

2022-10-30 Thread Henning Hraban Ramm via ntg-context

Latest LMTX, probably an error in mkxl/s-fonts-show.mkxl:


\starttext

\showbodyfont

\showbodyfontenvironment % error!

As you can see, the font class is called \quotation{\fontclass} and the 
bodyfont is typeset from \quotation{\fontname\font} in 
\the\globalbodyfontsize.


\stoptext


Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] undefined control sequence c!symbolcolor in MkIV, was new upload

2022-01-19 Thread Hans Hagen via ntg-context

On 1/19/2022 6:29 PM, Rik Kabel wrote:

This is still (or perhaps once again) a problem using the latest MkIV 
(context --luatex).

not twice a day upload for something like that -)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] undefined control sequence c!symbolcolor in MkIV, was new upload

2022-01-19 Thread Adam Reviczky via ntg-context
Hi Rik,

In the interim you can change one more occurrence of "symbolcolor" in line
317:
https://github.com/reviczky/context-mirror/commit/f4bfe0baaeb4bdcc6b8098de6ef1f8c96f928d07

Adam

On Wed, Jan 19, 2022 at 5:31 PM Rik Kabel via ntg-context <
ntg-context@ntg.nl> wrote:

> On 2022-01-15 14:29, Hans Hagen wrote:
> > On 1/15/2022 7:34 PM, Rik Kabel via ntg-context wrote:
> >> MWE:
> >>
> >> \definelabel[xx][headcolor=red]
> >> \starttext
> >> ab\xx
> >> \stoptext
> >>
> >> fails, reporting in log:
> >>
> >> tex error   > tex error on line 4 in file G:/Desktop/mwe.tex: !
> >> Undefined control sequence
> >>
> >>  \c!symbolcolor
> >>
> >> \labelparameter #1->\csname \ifcsname \??labels \currentlabel :#1
> >> \endcsname \??labels \currentlabel :#1\else \expandafter
> >> \dolabelparentparameter \csname \??labels \currentlabel :\s!parent
> >> \endcsname {#1}\fi \endcsname
> >> \useconstructionstyleandcolor ...pty \else
> >> \dousecurrentstyleparameter \fi \edef \currentcolorparameter
> >> {\labelparameter {#2}
> >>
> >> MkIV only, no problem in LMTX.
> > replace by \c!numbercolor and remake the format
> >
> >
> This is still (or perhaps once again) a problem using the latest MkIV
> (context --luatex).
>
> --
> Rik
>
>
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] undefined control sequence c!symbolcolor in MkIV, was new upload

2022-01-19 Thread Rik Kabel via ntg-context

On 2022-01-15 14:29, Hans Hagen wrote:

On 1/15/2022 7:34 PM, Rik Kabel via ntg-context wrote:

MWE:

    \definelabel[xx][headcolor=red]
    \starttext
    ab\xx
    \stoptext

fails, reporting in log:

    tex error   > tex error on line 4 in file G:/Desktop/mwe.tex: !
    Undefined control sequence

     \c!symbolcolor

    \labelparameter #1->\csname \ifcsname \??labels \currentlabel :#1
    \endcsname \??labels \currentlabel :#1\else \expandafter
    \dolabelparentparameter \csname \??labels \currentlabel :\s!parent
    \endcsname {#1}\fi \endcsname
    \useconstructionstyleandcolor ...pty \else
    \dousecurrentstyleparameter \fi \edef \currentcolorparameter
    {\labelparameter {#2}

MkIV only, no problem in LMTX.

replace by \c!numbercolor and remake the format


This is still (or perhaps once again) a problem using the latest MkIV 
(context --luatex).


--
Rik

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] undefined control sequence c!symbolcolor in MkIV, was new upload

2022-01-15 Thread Hans Hagen via ntg-context

On 1/15/2022 7:34 PM, Rik Kabel via ntg-context wrote:

MWE:

\definelabel[xx][headcolor=red]
\starttext
ab\xx
\stoptext

fails, reporting in log:

tex error   > tex error on line 4 in file G:/Desktop/mwe.tex: !
Undefined control sequence

 \c!symbolcolor

\labelparameter #1->\csname \ifcsname \??labels \currentlabel :#1
\endcsname \??labels \currentlabel :#1\else \expandafter
\dolabelparentparameter \csname \??labels \currentlabel :\s!parent
\endcsname {#1}\fi \endcsname
\useconstructionstyleandcolor ...pty \else
\dousecurrentstyleparameter \fi \edef \currentcolorparameter
{\labelparameter {#2}

MkIV only, no problem in LMTX.

replace by \c!numbercolor and remake the format


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] undefined control sequence c!symbolcolor in MkIV, was new upload

2022-01-15 Thread Rik Kabel via ntg-context

MWE:

   \definelabel[xx][headcolor=red]
   \starttext
   ab\xx
   \stoptext

fails, reporting in log:

   tex error   > tex error on line 4 in file G:/Desktop/mwe.tex: !
   Undefined control sequence

\c!symbolcolor

   \labelparameter #1->\csname \ifcsname \??labels \currentlabel :#1
   \endcsname \??labels \currentlabel :#1\else \expandafter
   \dolabelparentparameter \csname \??labels \currentlabel :\s!parent
   \endcsname {#1}\fi \endcsname
   \useconstructionstyleandcolor ...pty \else
   \dousecurrentstyleparameter \fi \edef \currentcolorparameter
   {\labelparameter {#2}

MkIV only, no problem in LMTX.

--
Rik
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Undefined control sequence \??markingfilter, with MWE to recreate

2021-10-10 Thread Hans Hagen via ntg-context

On 10/9/2021 9:53 PM, Rik Kabel via ntg-context wrote:

Error with 20211008 ConTeXt:
%\setupheadertexts [][][{\it\getmarking[chapter]}][]  % fails
\setupheadertexts [][][{\getmarking[chapter]}][] % fails
%\setupheadertexts [][][\getmarking[chapter]][]   % succeeds

\starttext

\chapter{abc}
abc
\chapter{def}
def
\stoptext
no failure here, but actually the last one should fail (dummy page) due 
to nested []


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Undefined control sequence \??markingfilter, with MWE to recreate

2021-10-09 Thread Rik Kabel via ntg-context

Note, this is not a problem in MkIV, just LMTX

On 10/9/2021 15:53, Rik Kabel via ntg-context wrote:


Error with 20211008 ConTeXt:

ConTeXt  ver: 2021.10.08 20:18 LMTX fmt: 2021.10.9  int:
english/english

...

tex error   > tex error on line 1 in file ./mmm.tex: Undefined
control sequence \??markingfilter




    \csname \??markingfilter
    \v!default \endcsname {chapter}
 \sectionheadmarkingtitle
    #1#2->\clf_markingtitle {#1}{#2
    }
 \strc_markings_get_yes
    ...rking \begincsname \??markingclass #1\endcsname
{#2}{#3}}\fi \orelse \ifparameter #2\or \markingcommand
{#1}{\csname \??markingfilter #2\endcsname {#1}}\else
\markingcommand {#1}{\csname \??markingfilter \v!default
\endcsname {#1}}
    \fi \endgroup ...


    \fi
 \page_layouts_process_element_indeed
    ...andcolor #1#2\begincsname \??layouttextstrut
\layoutelementparameter \c!strut \endcsname \ignorecrlf \edef
\p_width {\layoutelementparameter #3}\ifempty \p_width \else
\expandafter \page_layouts_process_element_limited \fi \p_text
    \endgroup
 \currentlayoutelement
    ...kern -\makeupwidth \fi \letfromlayoutelementparameter
\p_text \c!righttext \ifempty \p_text \kern \makeupwidth \else
\hbox to \makeupwidth \bgroup \hss
\page_layouts_process_element_indeed \c!rightstyle \c!rightcolor
\c!rightwidth
    \egroup \fi
 ...


    \stoptext

 1 >>
 2 %\setupheadertexts [][][{\it\getmarking[chapter]}][] % fails
 3 \setupheadertexts [][][{\getmarking[chapter]}][] % fails
 4 %\setupheadertexts [][][\getmarking[chapter]][] % succeeds

MWE to create. Note that the \it is not necessary to trigger the
error, just the braces.

%\setupheadertexts [][][{\it\getmarking[chapter]}][]  % fails
\setupheadertexts [][][{\getmarking[chapter]}][] % fails
%\setupheadertexts [][][\getmarking[chapter]][]   % succeeds

\starttext

\chapter{abc}
abc
\chapter{def}
def
\stoptext

--
Rik


___
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://context.aanhet.net
archive  :https://bitbucket.org/phg/context-mirror/commits/
wiki :http://contextgarden.net
__
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Undefined control sequence \??markingfilter, with MWE to recreate

2021-10-09 Thread Rik Kabel via ntg-context

Error with 20211008 ConTeXt:

   ConTeXt  ver: 2021.10.08 20:18 LMTX fmt: 2021.10.9  int: english/english

   ...

   tex error   > tex error on line 1 in file ./mmm.tex: Undefined
   control sequence \??markingfilter



   
    \csname \??markingfilter
    \v!default \endcsname {chapter}
\sectionheadmarkingtitle
    #1#2->\clf_markingtitle {#1}{#2
    }
\strc_markings_get_yes
    ...rking \begincsname \??markingclass #1\endcsname {#2}{#3}}\fi
   \orelse \ifparameter #2\or \markingcommand {#1}{\csname
   \??markingfilter #2\endcsname {#1}}\else \markingcommand
   {#1}{\csname \??markingfilter \v!default \endcsname {#1}}
    \fi \endgroup ...
   

    \fi
\page_layouts_process_element_indeed
    ...andcolor #1#2\begincsname \??layouttextstrut
   \layoutelementparameter \c!strut \endcsname \ignorecrlf \edef
   \p_width {\layoutelementparameter #3}\ifempty \p_width \else
   \expandafter \page_layouts_process_element_limited \fi \p_text
    \endgroup
\currentlayoutelement
    ...kern -\makeupwidth \fi \letfromlayoutelementparameter
   \p_text \c!righttext \ifempty \p_text \kern \makeupwidth \else \hbox
   to \makeupwidth \bgroup \hss \page_layouts_process_element_indeed
   \c!rightstyle \c!rightcolor \c!rightwidth
    \egroup \fi
 ...

   
    \stoptext

 1 >>
 2 %\setupheadertexts [][][{\it\getmarking[chapter]}][]  % fails
 3 \setupheadertexts [][][{\getmarking[chapter]}][] % fails
 4 %\setupheadertexts [][][\getmarking[chapter]][]   % succeeds

   MWE to create. Note that the \it is not necessary to trigger the
   error, just the braces.

   %\setupheadertexts [][][{\it\getmarking[chapter]}][]  % fails
   \setupheadertexts [][][{\getmarking[chapter]}][] % fails
   %\setupheadertexts [][][\getmarking[chapter]][]   % succeeds

   \starttext

   \chapter{abc}
   abc
   \chapter{def}
   def
   \stoptext

--
Rik
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2020-06-22 Thread Aditya Mahajan

On Mon, 22 Jun 2020, Aditya Mahajan wrote:

Replying to an old thread ... but drops module does not work with lmtx 
because 
\pxdimen is not defined.


On Thu, 10 Mar 2016, Hans Hagen wrote:


On 3/10/2016 12:03 AM, Aditya Mahajan wrote:

The drops module uses the primitive \pdfpxdimen in a couple of places,
but that is no longer defined in the current beta. What is the
equivalent command now?

Examples of usage:

\pdfpxdimen1in\relax\divide\pdfpxdimen\numexpr\dropsparameter\c!
resolution\relax % set actual pixel dimension


just \pxdimen (as it's not related to pdf)


What will be the equivalent of \pxdimen in LMTX?


Just realized that this is a bug in t-drops: Line 143 of t-dropx.mkiv says

\doifundefined{pdfvariable} {\let\pxdimen\pdfpxdimen} % \pxdimen in luatex 0.85

Commenting that out fixes the bug.

Aditya


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Undefined control sequence: \pdfpxdimen

2020-06-22 Thread Aditya Mahajan
Replying to an old thread ... but drops module does not work with lmtx because 
\pxdimen is not defined.


On Thu, 10 Mar 2016, Hans Hagen wrote:


On 3/10/2016 12:03 AM, Aditya Mahajan wrote:

The drops module uses the primitive \pdfpxdimen in a couple of places,
but that is no longer defined in the current beta. What is the
equivalent command now?

Examples of usage:

\pdfpxdimen1in\relax\divide\pdfpxdimen\numexpr\dropsparameter\c!
resolution\relax % set actual pixel dimension


just \pxdimen (as it's not related to pdf)


What will be the equivalent of \pxdimen in LMTX?

Thanks,
Aditya
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Undefined control sequence | $\shortmid$ | $\shortparallel$

2016-12-14 Thread Richard Mahoney | Indica et Buddhica
On Tue, 13 Dec 2016 17:32:09 -0800 (PST)
Aditya Mahajan  wrote:

> On Wed, 14 Dec 2016, Richard Mahoney | Indica et Buddhica wrote:
> 
> > Although I've enabled this module:
> >
> > \usemodule[fnt-25]
> >
> > both of the following:
> >
> > $\shortmid$ 
> >
> > $\shortparallel$
> >
> > result in:
> >
> > tex error ... ! Undefined control sequence
> >
> >
> > Does anyone know if these commands are available under in math
> > mode?  
> 
> AFAIK, these symbols are not defined. Do you know if unicode math
> fonts provide these symbols and if they are part of Unicode math
> symbol list?
> 
> Aditya

I'm not sure. That said, XeTeX can render them using Latin Modern Roman
and Math so they are available.

For what its worth they can be found in `Binary Relations II' of:

 LaTeX and AMS-LaTeX Symbols, Emre Sermutlu, March 17, 2008

 http://zelmanov.ptep-online.com/ctan/symbols.pdf


Best, Richard



--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Undefined control sequence | $\shortmid$ | $\shortparallel$

2016-12-13 Thread Aditya Mahajan

On Wed, 14 Dec 2016, Richard Mahoney | Indica et Buddhica wrote:


Although I've enabled this module:

\usemodule[fnt-25]

both of the following:

$\shortmid$ 


$\shortparallel$

result in:

tex error ... ! Undefined control sequence


Does anyone know if these commands are available under in math mode?


AFAIK, these symbols are not defined. Do you know if unicode math fonts 
provide these symbols and if they are part of Unicode math symbol list?


Aditya
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Undefined control sequence | $\shortmid$ | $\shortparallel$

2016-12-13 Thread Richard Mahoney | Indica et Buddhica
Although I've enabled this module:

\usemodule[fnt-25]

both of the following:

$\shortmid$ 

$\shortparallel$

result in:

tex error ... ! Undefined control sequence


Does anyone know if these commands are available under in math mode?

ConTeXt  ver: 2016.05.17 19:20 MKIV


Best, Richard




--
  Richard Mahoney | INDICA ET BUDDHICA
 Littledene  Bay Road  Oxford  New Zealand
T: +64-3-312-1699 | www.indica-et-buddhica.org
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
Wolfgang Schuster  writes:

> context 

Ahh, that is embarrassing. :-(

It seems the time is ripe to dive more seriously into ConTeXt…


Sincerely,
Gour

-- 
Before giving up this present body, if one is able to tolerate
the urges of the material senses and check the force of desire and
anger, he is well situated and is happy in this world.

___
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] ’Undefined control sequence’ with basic example

2016-04-29 Thread Wolfgang Schuster

Saša Janiška 
29. April 2016 um 11:05
Hello,

I had to prepare some text for my mother by extracting some portions
from her book (done in LyX/LaTeX) and now wanted to use it as example to
see the quality of job done by LuaTeX…

However, converting LyX —> LaTeX —> Pandoc –> ConTeXt failed and I tried
with the simple example
(http://wiki.contextgarden.net/Command/startsection):

% mode=mkiv
\setuppapersize[A5]
\starttext

\startsection[
reference=sec:One,
title={Section One},
]

For a subsection, see \in{subsection}[sec:Two:Sec].

\stopsection

\startsection[
reference=sec:Two,
title={Section Two},
]
[a_variable={some value}]

a_variable=\quote{\structureuservariable{a_variable}}.

\startsubsection[
reference=sec:Two:Sec,
title={Here’s a subsection},
]

In this subsection there’s some text\ldots

\stopsubsection
\stopsection
\stoptext

but running it under Debian (Sid) gives:

[gour@atmarama ~/prj/knjiga]$ luatex t.tex

context 

Wolfgang
___
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] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
Hello,

I had to prepare some text for my mother by extracting some portions
from her book (done in LyX/LaTeX) and now wanted to use it as example to
see the quality of job done by LuaTeX…

However, converting LyX —> LaTeX —> Pandoc –> ConTeXt failed and I tried
with the simple example
(http://wiki.contextgarden.net/Command/startsection):

% mode=mkiv
\setuppapersize[A5]
\starttext

\startsection[
reference=sec:One,
title={Section One},
]

For a subsection, see \in{subsection}[sec:Two:Sec].

\stopsection

\startsection[
reference=sec:Two,
title={Section Two},
]
[a_variable={some value}]

a_variable=\quote{\structureuservariable{a_variable}}.

\startsubsection[
reference=sec:Two:Sec,
title={Here’s a subsection},
]

In this subsection there’s some text\ldots

\stopsubsection
\stopsection
\stoptext

but running it under Debian (Sid) gives:

[gour@atmarama ~/prj/knjiga]$ luatex t.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/Debian) (rev 5238) 
 restricted \write18 enabled.
(./t.tex
! Undefined control sequence.
l.2 \setuppapersize
 [A5]
? l
Type  to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
? x
No pages of output.
Transcript written on t.log.
[gour@atmarama ~/prj/knjiga]$ less t.tex
[gour@atmarama ~/prj/knjiga]$ luatex t.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/Debian) (rev 5238) 
 restricted \write18 enabled.
(./t.tex
! Undefined control sequence.
l.2 \setuppapersize
 [A5]
? 


What is wrong?


Sincerely,
Gour

-- 
A person who has given up all desires for sense gratification,
who lives free from desires, who has given up all sense of
proprietorship and is devoid of false ego — he alone can
attain real peace.

___
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] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Aditya Mahajan

On Thu, 10 Mar 2016, Peter Rolf wrote:


Am 10.03.2016 um 00:03 schrieb Aditya Mahajan:

The drops module uses the primitive \pdfpxdimen in a couple of places,
but that is no longer defined in the current beta. What is the
equivalent command now?

Examples of usage:

\pdfpxdimen1in\relax\divide\pdfpxdimen\numexpr\dropsparameter\c!
resolution\relax % set actual pixel dimension



I have fixed that incompatibility some weeks ago and also posted the new
version on this list. Just look at the source for the details (changes
are minimal).

https://spideroak.com/browse/share/indiego/public/ConTeXt/drops/


Thanks!

Aditya
___
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] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Peter Rolf
Am 10.03.2016 um 00:03 schrieb Aditya Mahajan:
> The drops module uses the primitive \pdfpxdimen in a couple of places,
> but that is no longer defined in the current beta. What is the
> equivalent command now?
> 
> Examples of usage:
> 
> \pdfpxdimen1in\relax\divide\pdfpxdimen\numexpr\dropsparameter\c!
> resolution\relax % set actual pixel dimension
>

I have fixed that incompatibility some weeks ago and also posted the new
version on this list. Just look at the source for the details (changes
are minimal).

https://spideroak.com/browse/share/indiego/public/ConTeXt/drops/


Peter


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

___
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] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Hans Hagen

On 3/10/2016 12:03 AM, Aditya Mahajan wrote:

The drops module uses the primitive \pdfpxdimen in a couple of places,
but that is no longer defined in the current beta. What is the
equivalent command now?

Examples of usage:

\pdfpxdimen1in\relax\divide\pdfpxdimen\numexpr\dropsparameter\c!
resolution\relax % set actual pixel dimension


just \pxdimen (as it's not related to pdf)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Aditya Mahajan

On Wed, 9 Mar 2016, Aditya Mahajan wrote:

The drops module uses the primitive \pdfpxdimen in a couple of places, but 
that is no longer defined in the current beta. What is the equivalent 
command now?


Examples of usage:

\pdfpxdimen1in\relax\divide\pdfpxdimen\numexpr\dropsparameter\c! 
resolution\relax % set actual pixel dimension


Also, t-drops.lua uses:

local px = tex.pdfpxdimen

etc.

Aditya
___
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] Undefined control sequence: \pdfpxdimen

2016-03-09 Thread Aditya Mahajan
The drops module uses the primitive \pdfpxdimen in a couple of places, but 
that is no longer defined in the current beta. What is the equivalent 
command now?


Examples of usage:

\pdfpxdimen1in\relax\divide\pdfpxdimen\numexpr\dropsparameter\c! 
resolution\relax % set actual pixel dimension


Aditya
___
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] Undefined control sequence: setupresume

2014-04-02 Thread Bart Wise
I am unable to compile anything using the resume module from Wolfgang's
t-letter package.
I had to put a symlink from t-cor-03.tex - t-resume.tex

Here's the source:

\usemodule[resume][interface=moderncv,style=classic]
\starttext
Hello World!

\stoptext

Excerpts from the log file:

ConTeXt  ver: 2014.01.03 00:40 MKIV current

system   'cont-new.mkiv' loaded
(/home/bart/context/20140314-stable/tex/texmf-context/tex/context/base/cont-new.mkiv)
system   files  jobname 'test', input './test', result 'test'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(/home/bart/tmp/test.tex
resolversmodules  'resume' is loaded
(/home/bart/texmf/tex/context/t-cor-03.tex
loading  Context User Module / Framework for Resumes
resolversmodules  'correspondence' is loaded
(/home/bart/texmf/tex/context/third/letter/base/t-correspondence.mkiv
loading  Context User Module / Correspondence
)
correspondence   loading 'resume' 'interface' 'moderncv.nri'
(/home/bart/texmf/tex/context/third/letter/interface/moderncv.nri
colors   'rgb' color space is supported
colors   'cmyk' color space is supported
correspondence   loading 'resume' 'style' 'classic.nrs'
(/home/bart/texmf/tex/context/third/letter/style/classic.nrs
! Undefined control sequence.

system   tex  error on line 191 in file
/home/bart/texmf/tex/context/third/letter/style/classic.nrs: Undefined
control sequence ...

181 \setupresumestyle
182   [\v!nextfoot]
183   [\v!layer]
184   [\c!preset=\v!left\v!bottom,
185\c!hoffset=\backspace,
186\c!voffset=2cm]
187
188 %D Default style for the user information
189
190 \setupresume[\v!quote] [\c!style=\v!italic,\c!color=resume:4]
191   \setupresume[\v!firstname] [\c!style=\c!tf\c!d,\c!color=resume:1]

I'm stumped.  I'm not sure which module setupresume is defined, unless
it's the t-resume.xml file.

What am I doing wrong?

Thanks,
Bart
___
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] Undefined control sequence

2011-12-19 Thread Vladimir Lomov
Hello,
** Kip Warner [2011-12-18 20:48:11 -0800]:

 On Sat, 2011-12-17 at 11:56 +0900, Vladimir Lomov wrote:
 system   cont-new.mkiv loaded
 (/usr/share/texmf/tex/context/base/cont-new.mkiv
 system   beware: some patches loaded from cont-new.mkiv
 )
 but this and other paths are odd, this is not context-suite (aka context
 minimal). Are you sure that you use correct version? I suspect that you
 have Ubuntu with TL installed (therefore /usr/share/...), and may be
 context suite somewhere.

 I am using Ubuntu, and I'm not sure what TL is. I think that might mean
 Texlive,
Yes
 which I don't know much about.
it doesn't matter.

 Please provide more information:
 - either you use context suite (which version, where it is installed,
 how you set up PATH,...),
 - or you use PPA,
 - or TL with context from Ubuntu package repository.

 I am using context from Adam's PPA, version 2:2011.11.29~maverick1:
 https://launchpad.net/~reviczky/+archive/context-daily
As I thought, (all those /usr/share... paths) but this version differs
from that your log tells (2011.11 and 2011.12). I would recommend to use
context suite (aka context minimal), see context garden. For example,
you could install CS (= context suite) either under $HOME/context or
under /usr/local/opt or under /opt (i.e. to the location where you have
permission to write).

 I also apparently have a shitload of texlive* packages installed. They
 all look like they are official Ubuntu packages. Should I keep them?
As simple advice: don't touch them (this is another story). You could
use CS independently from these packages.

---
WBR, Vladimir Lomov

-- 
Catproof is an oxymoron, childproof nearly so.
___
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] Undefined control sequence

2011-12-18 Thread Kip Warner
On Sat, 2011-12-17 at 06:27 +0100, Wolfgang Schuster wrote:
 I uploaded a new revision of the module which should be in the minimals in a 
 few hours.

It still bails, but now for apparently a different reason. I find it
very hard to read the error messages ConTeXt throws. I'm accustomed to
gcc style output with...

application: file: line: description

...type error messages. I wonder if there is any way to make it more
readable. This is the current output now up until it bails.

$ context Source/Handbook.tex --result=Avaneya Project Crew
Handbook.pdf --purgeresult

resolvers   | resolving | loading configuration file
'selfautodir:/share/texmf/web2c/contextcnf.lua'
resolvers   | resolving | loading configuration file
'/usr/share/texmf/web2c/contextcnf.lua'
mtx-context | run 1: luatex
--fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en
 
--lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui
 --backend=pdf Source/Handbook.tex \stoptext
This is LuaTeX, Version beta-0.71.0-2011101421 (rev 4358) 
 \write18 enabled.

resolversresolving  loading configuration file
'/usr/share/texmf/web2c/contextcnf.lua'
(Source/Handbook.tex

ConTeXt  ver: 2011.12.17 10:04 MKIV  fmt: 2011.12.18  int:
english/english

system   cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   Handbook.top loaded
(Handbook.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
(/usr/share/texmf/tex/context/base/type-siz.mkiv)
(/usr/share/texmf/tex/context/base/type-otf.mkiv)
filesreadfile  asked name: 'loc', not found
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath7-Regular subfont 9
with name stmary10.afm at 458752 is skipped, not found
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath9-Regular subfont 9
with name stmary10.afm at 589824 is skipped, not found
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath12-Regular subfont 9
with name stmary10.afm at 786432 is skipped, not found
fontsfallback modern rm 12pt is loaded
(Source/Environment.tex
resolversmodules  loaded: 'units'
(/usr/share/texmf/tex/context/base/m-units.mkiv
+ /usr/share/texmf/tex/context/base/x-mathml.lua)
resolversmodules  loaded: 'simplefonts'
(/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex
loading  ConTeXt User Module / Simplefonts
+ /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua)
fontsbeware: fontclass ignored (if needed use:
[fontclass][size][settings])
)
backend  xmp  using file
'/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
 Source/Makeup/Images/m_k_i_v_Bazaar_Logo.pdf
Source/Makeup/Images/m_k_i_v_ConTeXt_Logo.pdf
pagesflushing realpage 2, userpage 1, subpage 2
structuresectioning  title @ level 2 : 0.0 - \headtext
{content}
(Source/Preface/Preface.tex
pagesflushing realpage 3, userpage 1, subpage 1
structuresectioning  chapter @ level 2 : 0.1 - Preface
backend  references  invalid page reference: 0
references   unknown reference [Preface][Revision Control
Management]
backend  references  invalid page reference: 0
)
pagesflushing realpage 4, userpage 2, subpage 1
(Source/Core_Leitmotifs/Core_Leitmotifs.tex
structuresectioning  chapter @ level 2 : 0.1 - Core
Leitmotifs
references   unknown reference [Core Leitmotifs][Communication]
backend  references  invalid page reference: 0
references   unknown reference [Core Leitmotifs][Resources For
Everyone]
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
references   unknown reference [Core Leitmotifs][Genuine Progress
Indicator]
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  references  invalid page reference: 0
backend  

Re: [NTG-context] Undefined control sequence

2011-12-18 Thread Kip Warner
On Sat, 2011-12-17 at 11:56 +0900, Vladimir Lomov wrote:
  system   cont-new.mkiv loaded
  (/usr/share/texmf/tex/context/base/cont-new.mkiv
  system   beware: some patches loaded from cont-new.mkiv
  )
 but this and other paths are odd, this is not context-suite (aka context
 minimal). Are you sure that you use correct version? I suspect that you
 have Ubuntu with TL installed (therefore /usr/share/...), and may be
 context suite somewhere.

I am using Ubuntu, and I'm not sure what TL is. I think that might mean
Texlive, which I don't know much about.

 Please provide more information:
 - either you use context suite (which version, where it is installed,
 how you set up PATH,...),
 - or you use PPA,
 - or TL with context from Ubuntu package repository.

I am using context from Adam's PPA, version 2:2011.11.29~maverick1:
https://launchpad.net/~reviczky/+archive/context-daily

I also apparently have a shitload of texlive* packages installed. They
all look like they are official Ubuntu packages. Should I keep them?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Undefined control sequence

2011-12-16 Thread Kip Warner
Hey folks,

As of today's nightly build, my typesetting won't compile anymore. The
following is the console output:

$ context Source/Handbook.tex --result=Avaneya Project Crew
Handbook.pdf --purgeresult

resolvers   | resolving | loading configuration file
'selfautodir:/share/texmf/web2c/contextcnf.lua'
resolvers   | resolving | loading configuration file
'/usr/share/texmf/web2c/contextcnf.lua'
mtx-context | run 1: luatex
--fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en
 
--lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui
 --backend=pdf Source/Handbook.tex \stoptext
This is LuaTeX, Version beta-0.71.0-2011101421 (rev 4358) 
 \write18 enabled.

resolversresolving  loading configuration file
'/usr/share/texmf/web2c/contextcnf.lua'
(Source/Handbook.tex

ConTeXt  ver: 2011.12.16 17:07 MKIV  fmt: 2011.12.16  int:
english/english

system   cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   Handbook.top loaded
(Handbook.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
(/usr/share/texmf/tex/context/base/type-siz.mkiv)
(/usr/share/texmf/tex/context/base/type-otf.mkiv)
filesreadfile  asked name: 'loc', not found
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath7-Regular subfont 9
with name stmary10.afm at 458752 is skipped, not found
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath9-Regular subfont 9
with name stmary10.afm at 589824 is skipped, not found
fontsdefining  forced type afm of stmary10 not found
fontsdefining  font with asked name 'stmary10' is not
found using lookup 'file'
fontsvirtual math  loading font LMMath12-Regular subfont 9
with name stmary10.afm at 786432 is skipped, not found
fontsfallback modern rm 12pt is loaded
(Source/Environment.tex
resolversmodules  loaded: 'units'
(/usr/share/texmf/tex/context/base/m-units.mkiv
+ /usr/share/texmf/tex/context/base/x-mathml.lua)
resolversmodules  loaded: 'simplefonts'
(/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex)
! Undefined control sequence.
l.136 \setmainfont
  [Ubuntu]
?

I'm not sure why it is bailing now, since I still have the same Ubuntu
font installed (haven't changed that). I also have
\usemodule[simplefonts] specified in the environment file, and nothing
really has changed other than the version of ConTeXt.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Undefined control sequence

2011-12-16 Thread Vladimir Lomov
Hello,
** Kip Warner [2011-12-16 16:41:14 -0800]:

 Hey folks,

 As of today's nightly build, my typesetting won't compile anymore. The
 following is the console output:
My reply won't help you much but this is strange:

 $ context Source/Handbook.tex --result=Avaneya Project Crew
 Handbook.pdf --purgeresult

 resolvers   | resolving | loading configuration file
 'selfautodir:/share/texmf/web2c/contextcnf.lua'
 resolvers   | resolving | loading configuration file
 '/usr/share/texmf/web2c/contextcnf.lua'
 mtx-context | run 1: luatex
 --fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en
  
 --lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui
  --backend=pdf Source/Handbook.tex \stoptext
 This is LuaTeX, Version beta-0.71.0-2011101421 (rev 4358) 
  \write18 enabled.

 resolversresolving  loading configuration file
 '/usr/share/texmf/web2c/contextcnf.lua'
 (Source/Handbook.tex

 ConTeXt  ver: 2011.12.16 17:07 MKIV  fmt: 2011.12.16  int:
 english/english
This version seems Ok,

 system   cont-new.mkiv loaded
 (/usr/share/texmf/tex/context/base/cont-new.mkiv
 system   beware: some patches loaded from cont-new.mkiv
 )
but this and other paths are odd, this is not context-suite (aka context
minimal). Are you sure that you use correct version? I suspect that you
have Ubuntu with TL installed (therefore /usr/share/...), and may be
context suite somewhere.
 system   Handbook.top loaded
 (Handbook.top)
 fontslatin modern fonts are not preloaded
 languageslanguage en is active
 {/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
 fontspreloading latin modern fonts (second stage)
 (/usr/share/texmf/tex/context/base/type-siz.mkiv)
 (/usr/share/texmf/tex/context/base/type-otf.mkiv)
 filesreadfile  asked name: 'loc', not found
 {/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
 fontsdefining  forced type afm of stmary10 not found
 fontsdefining  font with asked name 'stmary10' is not
 found using lookup 'file'
 fontsvirtual math  loading font LMMath7-Regular subfont 9
 with name stmary10.afm at 458752 is skipped, not found
 fontsdefining  forced type afm of stmary10 not found
 fontsdefining  font with asked name 'stmary10' is not
 found using lookup 'file'
 fontsvirtual math  loading font LMMath9-Regular subfont 9
 with name stmary10.afm at 589824 is skipped, not found
 fontsdefining  forced type afm of stmary10 not found
 fontsdefining  font with asked name 'stmary10' is not
 found using lookup 'file'
 fontsvirtual math  loading font LMMath12-Regular subfont 9
 with name stmary10.afm at 786432 is skipped, not found
 fontsfallback modern rm 12pt is loaded
 (Source/Environment.tex
 resolversmodules  loaded: 'units'
 (/usr/share/texmf/tex/context/base/m-units.mkiv
 + /usr/share/texmf/tex/context/base/x-mathml.lua)
 resolversmodules  loaded: 'simplefonts'
 (/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex)
 ! Undefined control sequence.
 l.136 \setmainfont
   [Ubuntu]
 ?

 I'm not sure why it is bailing now, since I still have the same Ubuntu
 font installed (haven't changed that). I also have
 \usemodule[simplefonts] specified in the environment file, and nothing
 really has changed other than the version of ConTeXt.

Please provide more information:
- either you use context suite (which version, where it is installed,
how you set up PATH,...),
- or you use PPA,
- or TL with context from Ubuntu package repository.

---
WBR, Vladimir Lomov

-- 
QOTD:
Do you smell something burning or is it me?
-- Joan of Arc
___
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] Undefined control sequence

2011-12-16 Thread Wolfgang Schuster

Am 17.12.2011 um 01:41 schrieb Kip Warner:

 Hey folks,
 
 As of today's nightly build, my typesetting won't compile anymore. The
 following is the console output:

I uploaded a new revision of the module which should be in the minimals in a 
few hours.

Wolfgang
___
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] Undefined control sequence

2011-12-16 Thread Kip Warner
On Sat, 2011-12-17 at 06:27 +0100, Wolfgang Schuster wrote:
 I uploaded a new revision of the module which should be in the minimals in a 
 few hours.

Thanks Wolfgang. =)

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Undefined control sequence with latest beta

2011-11-13 Thread Peter Münster
Hello,

When running `context test.cld' on this file:

--8---cut here---start-8---
io.outputmy-env.tex
io.write\\startenvironment my-env\n\\def\\myTest{bla}\n\\stopenvironment\n
context.environment{my-env}
context.starttext()
context.myTest()
context.stoptext()
--8---cut here---end---8---

I get an `undefined control sequence' error for \myTest.

How could I solve this problem please?

TIA for any help,
-- 
   Peter
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-07 Thread Ulrike Fischer
Am Sat, 04 Jun 2011 11:26:37 +0200 schrieb Taco Hoekwater:

 Thank you everybody for your answers.  Writing Tr{\a}ger as Thomas
 suggested works well, but unfortunately, I'm using Mendeley Desktop
 for the management of my bibtex file and I can't seem to be able to
 influence the way in which it encodes the special characters.

 Find a different program, then. Bibtex does *not* deal with UTF-8 
 correctly, period. (complaints to Oren Patashnik please ;))

Doesn't context support biber? Or could Julian save its bib in an
8bit-encoding and context read the bbl as 8bit?


-- 
Ulrike Fischer 

___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-06 Thread Arthur Reutenauer
 Well, there *is* more than one way to represent ä in UTF-8

  If you mean non-shortest forms such as 0xE0 0x83 0xA4 or 0xF0 0x80 0x83
0xA4, then no, they have been forbidden since Unicode 3 in 2000 (formally
Corrigendum #1, see http://www.unicode.org/versions/corrigendum1.html).

Arthur
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-06 Thread Pontus Lurcock
On Mon 06 Jun 2011, Arthur Reutenauer wrote:

  Well, there *is* more than one way to represent ä in UTF-8
 
 If you mean non-shortest forms such as 0xE0 0x83 0xA4 or 0xF0 0x80
 0x83 0xA4, then no, they have been forbidden since Unicode 3 in 2000
 (formally Corrigendum #1, see
 http://www.unicode.org/versions/corrigendum1.html).

I was actually thinking of precomposed vs. combining diacritics. I was
blissfully unaware of the non-shortest-form problem up until now...

Pont
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-06 Thread Arthur Reutenauer
 I was actually thinking of precomposed vs. combining diacritics. I was
 blissfully unaware of the non-shortest-form problem up until now...

  Ah, OK.  But that's exactly the issue for which canonical equivalence
was designed, and in a Unicode-aware version of BibTeX that shouldn't be
an issue.  However, for now...

Arthur
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-04 Thread Julian Becker
Thank you everybody for your answers.  Writing Tr{\a}ger as Thomas
suggested works well, but unfortunately, I'm using Mendeley Desktop for the
management of my bibtex file and I can't seem to be able to influence the
way in which it encodes the special characters.

@Mojca: Indeed, it also fails if I just write Träger in UTF-8 encoding
(however, Schräger works just fine. All combinations where the ä is at
the third place of the word seem to fail.). The error message is similar but
slightly different now. The log file shows the following:
---
system  begin file test.tex at line 3
publications  loading database from test.bbl
(test.bbl
! String contains an invalid utf-8 sequence.
l.1 \setuppublicationlist[samplesize={Tr
Ã06},totalnumber=1]
A funny symbol that I can't read has just been (re)read.
Just continue, I'll change it to 0xFFFD.

! String contains an invalid utf-8 sequence.
l.5 n=1,s=Tr
Ã06]
A funny symbol that I can't read has just been (re)read.
Just continue, I'll change it to 0xFFFD.

! String contains an invalid utf-8 sequence.
\doifassignmentelse ...gnmentelse \detokenize {#1}
=@@\@end@ \expandafter \se...
\dostartpublication ... -\doifassignmentelse {#1}
{\getparameters [\??pb ][k...
l.9 \stoppublication

A funny symbol that I can't read has just been (re)read.
Just continue, I'll change it to 0xFFFD.

)
---

Julian


2011/6/4 Pontus Lurcock p...@talvi.net

 On Fri 03 Jun 2011, Thomas A. Schmitz wrote:

  But I admit it's not easy to know that, bibtex documentation is a
  real mess

 Patience please! ‘This document will be expanded when BibTEX version
 1.00 comes out’ -- BIBTEXing, February 8, 1988.

 :-)

 Pont

 ___
 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-04 Thread Julian Becker
I can also add that in the first case with the author name Träger, the
generated bbl-file looks messed up and (Notepad++ doesn't recognize the
encoding as UTF8. Changing the encoding to UTF8 manually shows the complete
names Träger correctly, but the abbreviations (what should have been
Trä06) seem to be messed up.

I'm not familiar with the intricacies and details of UTF8 encoding, but is
it possible that there is a byte missing from the ä which has been cut off
during the abbreviation process?

The abbreviated Trä06 seems to be incorrectly encoded (in hexadecimal) as:
54 C3 A4 30 36,
while it should be: 54 72 C3 A4 30 36.

So in the abbreviation process, the encoding of some characters over several
bytes seems to be neglected.

I attached the bbl-files for both cases to this e-mail, since I don't know,
what would happen to the encoding, if I just pasted them as plain text here.

Julian


2011/6/4 Julian Becker becker.jul...@gmail.com

 Thank you everybody for your answers.  Writing Tr{\a}ger as Thomas
 suggested works well, but unfortunately, I'm using Mendeley Desktop for the
 management of my bibtex file and I can't seem to be able to influence the
 way in which it encodes the special characters.

 @Mojca: Indeed, it also fails if I just write Träger in UTF-8 encoding
 (however, Schräger works just fine. All combinations where the ä is at
 the third place of the word seem to fail.). The error message is similar but
 slightly different now. The log file shows the following:
 ---
 system  begin file test.tex at line 3
 publications  loading database from test.bbl
 (test.bbl
 ! String contains an invalid utf-8 sequence.
 l.1 \setuppublicationlist[samplesize={Tr
 Ã06},totalnumber=1]
 A funny symbol that I can't read has just been (re)read.
 Just continue, I'll change it to 0xFFFD.

 ! String contains an invalid utf-8 sequence.
 l.5 n=1,s=Tr
 Ã06]
 A funny symbol that I can't read has just been (re)read.
 Just continue, I'll change it to 0xFFFD.

 ! String contains an invalid utf-8 sequence.
 \doifassignmentelse ...gnmentelse \detokenize {#1}
 =@@\@end@ \expandafter \se...
 \dostartpublication ... -\doifassignmentelse {#1}
 {\getparameters [\??pb ][k...
 l.9 \stoppublication

 A funny symbol that I can't read has just been (re)read.
 Just continue, I'll change it to 0xFFFD.

 )
 ---

 Julian


 2011/6/4 Pontus Lurcock p...@talvi.net

 On Fri 03 Jun 2011, Thomas A. Schmitz wrote:

  But I admit it's not easy to know that, bibtex documentation is a
  real mess

 Patience please! ‘This document will be expanded when BibTEX version
 1.00 comes out’ -- BIBTEXing, February 8, 1988.

 :-)

 Pont

 ___
 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

 ___




 --
 Julian Becker
 Institut für Angewandte Physik, R.123
 Westfälische Wilhelms-Universität Münster
 Corrensstr. 2/4
 48149 Münster / Westfalen
 Tel. 0251 83-3 61 53
 Mob. 0151 599 848 29
 e-mail: j_bec...@uni-muenster.de

 Keep thy heart with all diligence; for it is the wellspring of life.




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.


testA.bbl
Description: Binary data


testB.bbl
Description: Binary data
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-04 Thread Taco Hoekwater

On 06/04/2011 11:23 AM, Julian Becker wrote:


Thank you everybody for your answers.  Writing Tr{\a}ger as Thomas
suggested works well, but unfortunately, I'm using Mendeley Desktop
for the management of my bibtex file and I can't seem to be able to
influence the way in which it encodes the special characters.


Find a different program, then. Bibtex does *not* deal with UTF-8 
correctly, period. (complaints to Oren Patashnik please ;))


Best wishes,
Taco
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-04 Thread Pontus Lurcock
On Sat 04 Jun 2011, Julian Becker wrote:

 I'm not familiar with the intricacies and details of UTF8 encoding,
 but is it possible that there is a byte missing from the ä which
 has been cut off during the abbreviation process?

Well, there *is* more than one way to represent ä in UTF-8, but it's
my understanding that anything beyond ASCII is simply not supported by
BibTeX. You can get away with it in fields that just get pasted
verbatim into the output (usually), but the first three letters of the
first author's name are used to construct the key (which is why
‘Schräger’ worked) so there's no way around using the officially
sanctioned {\a} form.

  unfortunately, I'm using Mendeley Desktop for the management of my
  bibtex file and I can't seem to be able to influence the way in
  which it encodes the special characters.

This is one reason why I still use plain emacs as a bibliography
manager -- sooner or later you need a hack, and that's harder when the
raw BibTeX is hidden or generated. In this case you may need to
put the hack between Mendeley and BibTeX: pipe the file through 
‘sed -e 's/ä/{\\a}/g'’ or something similar. And/or ask in the Mendeley 
support forums, since this is a fairly well-known BibTeX ‘feature’
so perhaps someone else has had to deal with it there.

Hope this helps,

Pont
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-04 Thread Julian Becker
I think I'll go for the piping option then, which seems to be the easiest
way out.

Thanks for the insights, I didn't actually know much about the interplay of
context and bibtex until this little problem occured to me...

Julian


2011/6/4 Pontus Lurcock p...@talvi.net

 On Sat 04 Jun 2011, Julian Becker wrote:

  I'm not familiar with the intricacies and details of UTF8 encoding,
  but is it possible that there is a byte missing from the ä which
  has been cut off during the abbreviation process?

 Well, there *is* more than one way to represent ä in UTF-8, but it's
 my understanding that anything beyond ASCII is simply not supported by
 BibTeX. You can get away with it in fields that just get pasted
 verbatim into the output (usually), but the first three letters of the
 first author's name are used to construct the key (which is why
 ‘Schräger’ worked) so there's no way around using the officially
 sanctioned {\a} form.

   unfortunately, I'm using Mendeley Desktop for the management of my
   bibtex file and I can't seem to be able to influence the way in
   which it encodes the special characters.

 This is one reason why I still use plain emacs as a bibliography
 manager -- sooner or later you need a hack, and that's harder when the
 raw BibTeX is hidden or generated. In this case you may need to
 put the hack between Mendeley and BibTeX: pipe the file through
 ‘sed -e 's/ä/{\\a}/g'’ or something similar. And/or ask in the Mendeley
 support forums, since this is a fairly well-known BibTeX ‘feature’
 so perhaps someone else has had to deal with it there.

 Hope this helps,

 Pont

 ___
 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

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-03 Thread Julian Becker
I came across an issue in context (context ver. 2011.05.18 22:26, LuaTeX
ver: beta-0.65.0-2010121421 (rev 4034) ) when trying to cite a bibliography
item having an author with a German umlaut ä

Compiling the short example below, produces the following output and then
-
...
system  begin file test.tex at line 3
publications  loading database from test.bbl
(test.bbl
! Undefined control sequence.
\@@pbs -Tr\0
6
\dostartpublication ...@@pby \noexpand \or \@@pbs
\noexpand \or \@@pbn \noex...
l.9 \stoppublication

)
backend  xmp  using file
'M:/Programs/context/tex/texmf-local/tex/context/base/lpdf-pdx.xml'
pages  flushing realpage 1, userpage 1, subpage 1
system  end file test.tex at line 5
...
mtx-context | fatal error: return code: 1
--

The strange thing is that when I change the Tr\{a}ger to Schr\{a}ger,
everything works just fine.
Does anybody know what's going on here?!

Julian


---test.tex-
\setuppublications[alternative=apa,sorttype=bbl]
\setupbibtex[database=test.bib]
\starttext
I'd like to cite \cite[Entry1].
\stoptext


-test.bib:---this one produces an error-
@misc{Entry1,
author = {Tr\{a}ger, D},
title = {{Some Document}},
year = {2006}
}
--

test.bib--this works---
@misc{Entry1,
author = {Schr\{a}ger, D},
title = {{Some Document}},
year = {2006}
}
--

-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-03 Thread Thomas A. Schmitz

On Jun 3, 2011, at 8:38 PM, Julian Becker wrote:

 I came across an issue in context (context ver. 2011.05.18 22:26, LuaTeX ver: 
 beta-0.65.0-2010121421 (rev 4034) ) when trying to cite a bibliography item 
 having an author with a German umlaut ä
 

From btxdoc, which is part of texlive:

you must place the entire accented character in braces; in this case either 
{\a} or {\{a}} will do. Furthermore these braces must not themselves be 
enclosed in braces (other than the ones that might delimit the entire field or 
the entire entry); and there must be a backslash as the very first character 
inside the braces...

Thusly: Tr{\a}ger

But I admit it's not easy to know that, bibtex documentation is a real mess, 
and Oren Patashnik appears to suffer from a real disease which prevents him 
from writing clear sentences and easily parsable documents.

Thomas
___
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] undefined control sequence bug with German umlaut in bibliography

2011-06-03 Thread Pontus Lurcock
On Fri 03 Jun 2011, Thomas A. Schmitz wrote:

 But I admit it's not easy to know that, bibtex documentation is a
 real mess

Patience please! ‘This document will be expanded when BibTEX version
1.00 comes out’ -- BIBTEXing, February 8, 1988.

:-)

Pont
___
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] ! Undefined control sequence

2010-04-27 Thread Wolfgang Schuster

Am 26.04.10 21:59, schrieb Wolfgang Werners-Lucchini:

Hi Wolfgang,
my question was: Why is this \setvariables[tst][set=...
necessary at all. The following example worked without that.
   

See my other answer to Peter.

Wolfgang

___
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] ! Undefined control sequence

2010-04-26 Thread Wolfgang Werners-Lucchini
  What is the following command for:
 
 
 \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broa
 d]
  }]
 
  This is enough, or are there any problems?
 
  \setupTst[1][n,\getvariable{tst}{broad}*broad]
 
 To explain it with simpler macros
 
 \setvariables[tst][set={...}] is similar to
 
 \def\tstset{\setupTst[1][n,\tstbroad*broad]}
 
 and
 
 \setvariables[tst][broad=5] is similar to
 
 \def\tstbroad{5}
 
 but the special thing is now that \setvariables calls \tstset (or to
 be concrete the value of the 'set' key in \setvariables after the) value was 
 assigned to broad.
 
 In a complete and simple example this is what happens:
 
 \defineitemgroup[Tst]
 
 \def\tstset{\setupTst[1][\tstbroad*broad]}
 
 \starttext
 
 \startTst
 \item text
 \stopTst
 
 \def\tstbroad{5}\tstset
 
 \startTst
 \item text
 \stopTst
 
 \stoptext
 
 Wolfgang
 

Hi Wolfgang,

my question was: Why is this \setvariables[tst][set=...
necessary at all. The following example worked without that.

\defineitemgroup[Tst]

\setupTst[1][n,\getvariable{tst}{broad}*broad]

\starttext

\startTst
\item text
\stopTst

\setvariables[tst][broad=5]

\startTst
\item text
\stopTst

\setvariables[tst][broad=9]

\startTst
\item text
\stopTst

% \showvariable{tst}{broad}
\stoptext

Wolfgang
___
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] ! Undefined control sequence

2010-04-24 Thread Wolfgang Schuster

Am 23.04.10 22:24, schrieb Peter Münster:

On Fri, Apr 23 2010, Wolfgang Schuster wrote:

   

\setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad]}]
 

Hello Wolfgang,

It works event without \setvariables:

\defineitemgroup[Tst]
\setupTst[1][n,\getvariable{tst}{broad}*broad]
\starttext
\setvariables[tst][broad=1]
\startTst
\item text
\stopTst
\setvariables[tst][broad=5]
\startTst
\item text
\stopTst
\stoptext

But why? I don't see any \noexpand in the definition of \getvariable...
   

Not sure but it could be possible \setvariables makes only a one level
expansion and in this case you get '\csname ...broad\endcsname*broad'
but not the the number itself.

Wolfgang

___
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] ! Undefined control sequence

2010-04-23 Thread Wolfgang Werners-Lucchini
Hallo,

I have a little problem which I can not solve.
The following example works with the definition
of \broad in position 1 and it fails in position 2.

-
% Position 1
% \def\broad{5*broad}

\defineitemgroup[Tst]
\setupitemgroup[Tst][1][n,\broad ]

% Position 2
\def\broad{5*broad}

\starttext
\startTst
\item Test
\stopTst
\stoptext
-

Why is this? And how can I make it work in position 2?

Wolfgang
___
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] ! Undefined control sequence

2010-04-23 Thread Taco Hoekwater

-

Why is this? 


Because \setupitemgroup expands its third argument.


And how can I make it work in position 2?


  \setupitemgroup[Tst][1][n,\noexpand\broad ]

Best wishes,
Taco
___
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] ! Undefined control sequence

2010-04-23 Thread Wolfgang Schuster

Am 23.04.10 17:32, schrieb Taco Hoekwater:

-

Why is this? 


Because \setupitemgroup expands its third argument.


And how can I make it work in position 2?


  \setupitemgroup[Tst][1][n,\noexpand\broad ]

Best wishes,
Taco


Taco,

don't you think it's better to show users a better alternative if possible?

\defineitemgroup[Tst]

\setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad]}]

\starttext

\startTst
\item text
\stopTst

\setvariables[tst][broad=5]

\startTst
\item text
\stopTst

\stoptext

Wolfgang

___
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] ! Undefined control sequence

2010-04-23 Thread Taco Hoekwater

Wolfgang Schuster wrote:


don't you think it's better to show users a better alternative if possible?


You are assuming I know how ;)

Nice solution, btw.

Best wishes,
Taco
___
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] ! Undefined control sequence

2010-04-23 Thread Peter Münster
On Fri, Apr 23 2010, Wolfgang Schuster wrote:

 \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad]}]

Hello Wolfgang,

It works event without \setvariables:

\defineitemgroup[Tst]
\setupTst[1][n,\getvariable{tst}{broad}*broad]
\starttext
\setvariables[tst][broad=1]
\startTst
\item text
\stopTst
\setvariables[tst][broad=5]
\startTst
\item text
\stopTst
\stoptext

But why? I don't see any \noexpand in the definition of \getvariable...

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] Undefined control sequence in ConTeXt ver: 2010.04.10 13:44 MKIV

2010-04-13 Thread Hans Hagen

On 13-4-2010 6:20, Wolfgang Schuster wrote:

Am 12.04.10 21:53, schrieb Bernhard Rosensteiner:

Hello,

i just updated my minimals and now i get an undefined control sequence
error with my previous working file
attached is the log file. Please help!

Make a minimal example!


should work ok in beta


-
  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] Undefined control sequence in ConTeXt ver: 2010.04.10 13:44 MKIV

2010-04-12 Thread Bernhard Rosensteiner
Hello,

i just updated my minimals and now i get an undefined control sequence error 
with my previous working file
attached is the log file. Please help!

best regards
Bernhard




Proposal_MicroCT.log
Description: Binary data
___
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] Undefined control sequence in ConTeXt ver: 2010.04.10 13:44 MKIV

2010-04-12 Thread Bernhard Rosensteiner
Hello,

i just updated my minimals and now i get an undefined control sequence error 
with my previous working file
attached is the log file. Please help!

best regards
Bernhard




Proposal_MicroCT.log
Description: Binary data
___
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] Undefined control sequence in ConTeXt ver: 2010.04.10 13:44 MKIV

2010-04-12 Thread Hans Hagen

On 12-4-2010 9:55, Bernhard Rosensteiner wrote:

Hello,

i just updated my minimals and now i get an undefined control sequence error 
with my previous working file
attached is the log file. Please help!


in page-flt you cann patch

%def\dofloatflushedinfo

-

\def\dofloatflushedinfo

(i'm in the process of upgrading float management)

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] Undefined control sequence in ConTeXt ver: 2010.04.10 13:44 MKIV

2010-04-12 Thread Wolfgang Schuster

Am 12.04.10 21:53, schrieb Bernhard Rosensteiner:

Hello,

i just updated my minimals and now i get an undefined control sequence error 
with my previous working file
attached is the log file. Please help!
   

Make a minimal example!

Wolfgang

___
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] Undefined control sequence: \_

2009-01-13 Thread Peter Münster
Hello,

With the following test file, I get an undefined control sequence error:

\starttext
cc\_KNX

\starttable[|c|]
\NC cc\_KNX \NC\AR % here is the error
\stoptable
\stoptext

But only with MKIV, no problem with MKII.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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


Re: [NTG-context] Undefined control sequence: \_

2009-01-13 Thread Hans Hagen

Peter Münster wrote:

Hello,

With the following test file, I get an undefined control sequence error:

\starttext
cc\_KNX

\starttable[|c|]
\NC cc\_KNX \NC\AR % here is the error
\stoptable
\stoptext

But only with MKIV, no problem with MKII.


ok, i fixed the beta

-
  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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Undefined control sequence.

2006-06-18 Thread Bernd Militzer
 And if you want to avoid redundancy:
 
 \definesynonyms[PID][PIDs][\doGetPID]
 
 \def\getPID#1{Militzer, \doGetPID{#1}~(#1)}
 
 \PID{8}{Hermann Paul}
 \PID{16}{Johann Wilhelm Hermann}

my solution ist now:

\definesynonyms[PID][PIDs][\doGetPID]

\def\getPID#1{\doGetPID{#1}~(#1)}

\def\getPIDGeb#1{\doGetPID{#1}~(#1) -- Geburt}
\def\getPIDHei#1{\doGetPID{#1}~(#1) -- Heirat}
\def\getPIDTod#1{\doGetPID{#1}~(#1) -- Tod}

\PID{8}{Militzer, Hermann Paul}
\PID{16}{Militzer, Johann Wilhelm Hermann}
\PID{17}{Fischer, Johanna Christiane Pauline}
\PID{34}{Fischer, Joha\={n} Gottlieb}
\PID{35}{Werner, Johanne Christiane Dorothee}
\PID{67}{Rudolph, Joha\={n}e Christiane Friedericke}

Thanks Peter
Bernd

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


[NTG-context] Undefined control sequence.

2006-06-17 Thread Bernd Militzer
Hi,

for a large project I defined names for a lot of persons like

\global\def\PIDacht{Militzer, Hermann Paul (8)}
\global\def\PIDeinsacht{Militzer, Johann Wilhelm Hermann (16)}
\global\def\PIDdreidrei{Militzer, Henriette (33)}
\global\def\PIDachtviervieracht{Militzer, Adam (8448)}

\starttext
\PIDachtviervieracht
is ok

but

\section[UkPID8A]{\PIDacht\ -- Allgemein}
does not work!
\stoptext

I get:
(./FamMilitzerUrkunden.tuo) (./FamMilitzerUrkunden.tuo
! Undefined control sequence.
argument \PIDacht
\ -- Allgemein
\sanitizePDFdocencoding ...docencoding \edef #2{#1
  }
\doPDFinsertbookmark ...oding #3\to \bookmarktext
  \stripstring
\bookmarktext...
argument \flushbookmark
  \dodoputbookmarkelement {\v!
section }{3}{2}{\PIDei...
 
\secondoftwoarguments #1#2-#2
   
l.14 ...sacht \ -- Geburt}{1::0:0:2:0:0:0:0::1}{7}
   
?
! Emergency stop.

What is wrong?

thanks,

Bernd Militzer


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


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Peter Münster
On Sat, 17 Jun 2006, Bernd Militzer wrote:

 for a large project I defined names for a lot of persons like
 
 \global\def\PIDacht{Militzer, Hermann Paul (8)}
 \global\def\PIDeinsacht{Militzer, Johann Wilhelm Hermann (16)}
 \global\def\PIDdreidrei{Militzer, Henriette (33)}
 \global\def\PIDachtviervieracht{Militzer, Adam (8448)}
 
 \starttext
 \PIDachtviervieracht
 is ok
 
 but
 
 \section[UkPID8A]{\PIDacht\ -- Allgemein}
 does not work!
 \stoptext

Hello Bernd,
you certainly have \setupinteraction[state=start] \placebookmarks[section]
somewhere at the beginning of your file.
Place the \placebookmarks[section] after your PID-definitions and it should
work.
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] Undefined control sequence.

2006-06-17 Thread Bernd Militzer
Am Samstag, den 17.06.2006, 14:33 +0200 schrieb Peter Münster:

 Hello Bernd,
 you certainly have \setupinteraction[state=start] \placebookmarks[section]
 somewhere at the beginning of your file.
 Place the \placebookmarks[section] after your PID-definitions and it should
 work.
 Cheers, Peter

yes it does now, thanks

Bernd

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


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Mojca Miklavec
On 6/17/06, Bernd Militzer wrote:
 Hi,

 for a large project I defined names for a lot of persons like

 \global\def\PIDacht{Militzer, Hermann Paul (8)}
 \global\def\PIDeinsacht{Militzer, Johann Wilhelm Hermann (16)}
 \global\def\PIDdreidrei{Militzer, Henriette (33)}
 \global\def\PIDachtviervieracht{Militzer, Adam (8448)}

What about the following?

% \PID will create a new ently and \getPID will recall an existing one
\definesynonyms[PID][PIDs][\getPID]

\PID{8}{Militzer, Hermann Paul (8)}
\PID{16}{Militzer, Johann Wilhelm Hermann (16)}
\PID{33}{Militzer, Henriette (33)}
\PID{8448}{Militzer, Adam (8448)}

\starttext

\section[UkPID8A]{\getPID{8}\ -- Allgemein}

\stoptext

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


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Bernd Militzer
Am Samstag, den 17.06.2006, 16:22 +0200 schrieb Mojca Miklavec:

 What about the following?
 
 % \PID will create a new ently and \getPID will recall an existing one
 \definesynonyms[PID][PIDs][\getPID]
 
 \PID{8}{Militzer, Hermann Paul (8)}
 \PID{16}{Militzer, Johann Wilhelm Hermann (16)}
 \PID{33}{Militzer, Henriette (33)}
 \PID{8448}{Militzer, Adam (8448)}
 
 \starttext
 
 \section[UkPID8A]{\getPID{8}\ -- Allgemein}
 
 \stoptext
 
 Mojca

thanks, that solution ist perfect. 

Bernd

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


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Peter Münster
On Sat, 17 Jun 2006, Mojca Miklavec wrote:

 % \PID will create a new ently and \getPID will recall an existing one
 \definesynonyms[PID][PIDs][\getPID]
 
 \PID{8}{Militzer, Hermann Paul (8)}
 \PID{16}{Militzer, Johann Wilhelm Hermann (16)}
 \PID{33}{Militzer, Henriette (33)}
 \PID{8448}{Militzer, Adam (8448)}

And if you want to avoid redundancy:

\definesynonyms[PID][PIDs][\doGetPID]

\def\getPID#1{Militzer, \doGetPID{#1}~(#1)}

\PID{8}{Hermann Paul}
\PID{16}{Johann Wilhelm Hermann}
\PID{33}{Henriette}
\PID{8448}{Adam}

Cheers, Peter

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


[NTG-context] Undefined control sequence \starttypescriptcollection

2005-09-07 Thread Pearson, Mark (Capita Symonds)
Having successfully installed the latest ConTeXt within TeTeX 3.0
I'm having trouble getting a simple file to process. My test file
simple.tex contains:

 \starttext
 Hello World
 \stoptext

Invoking texexec with 'texexec simple.tex' produces the following:

- START OUTPUT -
$ texexec simple.tex

  TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

 fixing engine variable : pdfetex
 executable : pdfetex
 format : cont-en
  inputfile : simple
 output : standard
  interface : en
   current mode : none
TeX run : 1

 This is pdfeTeX, Version 3.141592-1.30.2-2.2 (Web2C 7.5.5)
  \write18 enabled.
  (/usr/local/teTeX/share/texmf-local/web2c/natural.tcx)
 entering extended mode
 (./simple.tex

 ConTeXt  ver: 2005.01.31  fmt: 2005.9.6  int: english  mes: english

 language: language en is active
 protectionstate 0
 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
 system (E-TEX) : [line 69]
 color   : palette rollover is available
 system (E-TEX) : [line 1166]
 system (E-TEX) : [line 1221]
 )
 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.rme loaded
 (/usr/local/teTeX/share/texmf-local/tex/context/user/cont-sys.rme
 (/usr/local/teTeX/share/texmf-local/tex/context/base/type-syn.tex
 ! Undefined control sequence.
 l.14 \starttypescriptcollection
[synonyms]
 ?
-- END OUTPUT --

texexec --version gives:

- START OUTPUT -
$ texexec --version

  TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeX, 3.141592-1.30.2-2.2 (Web2C 7.5.5)
context : ver: 2005.08.31
cont-en : ver: 2005.01.31  fmt: 2005.9.6  mes: english
cont-nl : ver: 2005.01.31  fmt: 2005.9.6  mes: dutch

 total run time : 4 seconds

-- END OUTPUT --

Any ideas what could be wrong?

Thanks in advance,

Mark Pearson BSc (hons) MSc DPhil
IT Consultant
Capita Symonds
The Capita Building, Kingmoor Business Park
Carlisle. CA6 4SJ.  

Tel: 01228 673023
Fax: 01228 673111
Web: www.capitasymonds.co.uk
 

**
This email and any files transmitted with it are confidential, and may be 
subject to legal privilege, and are intended solely for the use of the 
individual or entity to whom they are addressed.  
If you have received this email in error or think you may have done so, you may 
not peruse, use, disseminate, distribute or copy this message. Please notify 
the sender immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this 
e-mail for the presence of viruses. The Capita Group and its subsidiaries 
accept no liability for any damage caused by any virus transmitted by this 
e-mail.
***
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Undefined control sequence \starttypescriptcollection

2005-09-07 Thread luigi.scarso

Pearson, Mark (Capita Symonds) wrote:


- START OUTPUT -
$ texexec --version
 


what about
$texexec --verbose

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


Re: [NTG-context] Undefined control sequence \starttypescriptcollection

2005-09-07 Thread Taco Hoekwater

Pearson, Mark (Capita Symonds) wrote:

cont-en : ver: 2005.01.31  fmt: 2005.9.6  mes: english
cont-nl : ver: 2005.01.31  fmt: 2005.9.6  mes: dutch

 total run time : 4 seconds

-- END OUTPUT --

Any ideas what could be wrong?


The old format file is used instead of the new one.
Delete the old one; run mktexlsr; try again.

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


Re: [NTG-context] ! Undefined control sequence.

2005-02-08 Thread Taco Hoekwater
Hi,
You are still using an old format file, not the one from
the new context you downloaded. You could try creating the
format files manually:
  $ su
  # texexec --make --all
K. David Prince wrote:
TeXVersion 0.1 / Taco Hoekwater 2004
   texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.14159-1.10b-2.1 (Web2C 7.4.5)
   context : ver: 2005.01.31
   cont-en : ver: 2003.1.31  fmt: 2005.1.28  mes: english
That last line should probably have been:
 cont-en : ver: 2005.01.31  fmt: 2005.2.7  mes: english
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ! Undefined control sequence.

2005-02-08 Thread Vit Zyka
Taco Hoekwater wrote:
Hi,
You are still using an old format file, not the one from
the new context you downloaded. You could try creating the
format files manually:
  $ su
  # texexec --make --all
K. David Prince wrote:
TeXVersion 0.1 / Taco Hoekwater 2004
   texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.14159-1.10b-2.1 (Web2C 7.4.5)
 
You also need new pdfetex binary (at least 1.20). (TeXLive 2004, teTeX 3).
Vit Zyka
   context : ver: 2005.01.31
   cont-en : ver: 2003.1.31  fmt: 2005.1.28  mes: english

That last line should probably have been:
 cont-en : ver: 2005.01.31  fmt: 2005.2.7  mes: english
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
--
Vít Zýka --- http://typokvitek.com
Automatic document typesetting
Automaticka sazba dokumentu --
--

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


Re: [NTG-context] ! Undefined control sequence.

2005-02-08 Thread Matthew Huggett
  
K. David Prince wrote:
   =20
TeXVersion 0.1 / Taco Hoekwater 2004
   
   texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-200=
   5
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-200=
   4
   tex : pdfeTeX, 3.14159-1.10b-2.1 (Web2C 7.4.5)
 
   You also need new pdfetex binary (at least 1.20). (TeXLive 2004, teTeX 3)=
   =2E
   Vit Zyka


In which case, you may be better off using the minimal Context tree
for Linux from the Pragma site.  (I think you said you were running
Debian, so the packages are bound to be old.)

Matt 

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


[NTG-context] ! Undefined control sequence.

2005-02-07 Thread K. David Prince
0.  I'm using Debian/Testing.
1.  Downloaded: context/current/cont-tmf.zip  \
the main CONTEXT distribution \
2005-02-03 15:19  2356473 
from

http://www.pragma-ade.com/download-1.htm
2.  Installed according to:
http://levana.de/context/
[EMAIL PROTECTED]:~/Projects/ConTeXt$ ./texversion.pl
TeXVersion 0.1 / Taco Hoekwater 2004
   texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.14159-1.10b-2.1 (Web2C 7.4.5)
   context : ver: 2005.01.31
   cont-en : ver: 2003.1.31  fmt: 2005.1.28  mes: english
[EMAIL PROTECTED]:~/Projects/ConTeXt$
3.  Created hello.tex:
\starttext
Hello World
\stoptext
4.  texexec --pdf hello.tex  generates errors:
[EMAIL PROTECTED]:~/Projects/ConTeXt/Play$ texexec --pdf hello.tex
Use of uninitialized value in string eq at-\ 
/opt/context/2005.01.31/bin/texexec line 344.  |  I fixed this
Use of uninitialized value in string eq at |  in the previous
/opt/context/2005.01.31/bin/texexec line 348.version, but I
Use of uninitialized value in string eq at |  didn't do it because
/opt/context/2005.01.31/bin/texexec line 348.  /  of the error below.

 TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
executable : pdfetex
format : cont-en
 inputfile : hello
output : pdftex
 interface : en
  current mode : none
   TeX run : 1
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./hello.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
ConTeXt  ver: 2003.1.31  fmt: 2005.1.28  int: english  mes: english
language   : language en is active
protectionstate 0
system : cont-new loaded
(/opt/context/2005.01.31/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
! Undefined control sequence.
\@@toks -\everymathematics
\dodoappendtoks -\dodoglobal \@@toks
  [EMAIL PROTECTED] [EMAIL PROTECTED] \the [EMAIL PROTECTED] \@@toks 
\the ...
l.299 \to \everymathematics

? x  ==I just bailed out here.  hello.tex runs fine under the old
version.
No pages of output.
Transcript written on hello.log.
   return code : 256
  run time : 2 seconds
total run time : 3 seconds
[EMAIL PROTECTED]:~/Projects/ConTeXt/Play$
Additional info on my setup:
[EMAIL PROTECTED]:~/Projects/ConTeXt/Play$ echo $PATH
/opt/context/2005.01.31/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
[EMAIL PROTECTED]:~/Projects/ConTeXt/Play$
%%%
%%% KDP texmf.cnf Edits for ConTeXt upgrade
%%%
TEXMFCONTEXT = /opt/context/2005.01.31/texmf
TEXMF = 
{$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFOLDLOCAL,!!$VARTEXMF,!!$TEXMFCONTEXT,!!$TEXMFMAIN}
%%%
%%% End KDP ConTeXt Edits.
%%%
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Undefined control sequence. argument \c!gebied

2004-10-11 Thread Thomas A . Schmitz
OK, I tried several things to fix the error Undefined control 
sequence. argument \c!gebied, but it persists. I wiped out my entire 
texmf.local tree and started from scratch because I thought the 
c!gebied was residing in some older file that ha dnot been overwritten. 
But even starting from scratch wouldn't amend the situation; after 
regenerating the format, I get the same error. However, grepping for 
c!gebied in the newly created tree gives only this result:

grep -r 'c!gebied' ./*
./tex/context/base/cont-sys.ori:% \setupexternalfigures 
[\c!gebied={e:/fig/eps,t:/mine/figs}]
./tex/context/user/cont-sys.rme:% \setupexternalfigures 
[\c!gebied={e:/fig/eps,t:/mine/figs}]

So this shouldn't be the problem since these two lines in cont-sys.rme 
are commented out. Does anybody have an idea where the error is coming 
from? There must be some old config file re-introducing it into the 
format file, but I can't seem to find it.

Baffled
Thomas
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Undefined control sequence. argument \c!gebied

2004-10-11 Thread Thomas A . Schmitz
Thanks for your reply. Unfortunately, that's not the problem here: 
since I deleted the entire tree, there is no second texexec.pl in 
web2c/context/perltk (which is where the scripts used to reside). In 
your case, the problem went away after deleting the old scripts? 
Interesting, and mysterious.

Best
Thomas
On Oct 11, 2004, at 2:55 PM, Lutz Haseloff wrote:
I had the same problem.
There where two texexec.pl, one in perltk (the old place)
and one in scripts/context/perl
In the new texexec.pl the command is \c!directory.
The Solution was to delete the perlscripts in the directory
perltk.
Hope this helps.
Lutz
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context