[NTG-context] underbar not colored

2012-07-04 Thread Meer, H. van der
I wonder. Shouldn't the underbar show up colored too?

Hans van der Meer

Example:
\starttext
\underbar{color this}:
\startcolor[red]\underbar{but the underbar isn't!}\stopcolor
\stoptext



underbar.pdf
Description: underbar.pdf
___
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] problem with aligncharacter=yes

2012-07-04 Thread Hans Hagen

On 4-7-2012 00:37, Peter Münster wrote:

Hi,

This file generates an error (Missing control sequence inserted) with
the latest beta version:

--8---cut here---start-8---
\starttext
\bTABLE[aligncharacter=yes]
\bTR \bTD 3.3 \eTD \eTR
\eTABLE
\stoptext
--8---cut here---end---8---


you can put \unexpanded in front of

\unexpanded\def\tabl_ntb_table_push

(and the next three ones)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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] clutter with \start and \stop

2012-07-04 Thread Hans Hagen

On 4-7-2012 00:51, Peter Münster wrote:

Hi,

Say I want Tufte in 2 columns and Knuth in 1 column:

--8---cut here---start-8---
\starttext
\startcolumns[n=2]
   \startsection[title=Tufte]
 \input tufte
   \stopsection
   \startsection[title=Tufte and Knuth]
 \input tufte
\stopcolumns
 \input knuth  % \startcolumns[n=1] knuth \stopcolumns does not work
\startcolumns[n=2]
 \input tufte
   \stopsection
\stopcolumns
\stoptext
--8---cut here---end---8---

It works, but isn't this a bit ugly to mix up the \starts and \stops ?
In XML, that would be wrong.

Is this just the normal ConTeXt way, or is there a cleaner method?


no, mixing this way is asking for troubles, if not now, than maybe in 
the future


just use \section

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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] upload

2012-07-04 Thread Hans Hagen

Hi,

I uploaded a beta. There has been the usual amount of renamings going on 
so there might be problems.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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] underbar not colored

2012-07-04 Thread luigi scarso
On Wed, Jul 4, 2012 at 10:02 AM, Meer, H. van der h.vanderm...@uva.nlwrote:

  I wonder. Shouldn't the underbar show up colored too?

  Hans van der Meer

  Example:
  \starttext
 \underbar{color this}:
 \startcolor[red]\underbar{but the underbar isn't!}\stopcolor
 \stoptext

 \starttext
\underbar{color this}:
\startcolor[red]
\setupbar[color=blue]
\underbar{but the underbar isn't!}
\stopcolor
\setupbar[color=]
\stoptext

You can also define you underbar(s): See  node-rul.mkiv .

-- 
luigi
___
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] upload

2012-07-04 Thread Hongwen Qiu

On 07/04/2012 04:56 PM, Hans Hagen wrote:

Hi,

I uploaded a beta. There has been the usual amount of renamings going 
on so there might be problems.


Hans 

This is broken:

! Undefined control sequence.

system   tex  error on line 4 in file test.tex: Undefined 
control sequence ...


1 \starttext
2 \startformula
3 a
4   \stopformula
5 \stoptext
6

argument vspacing(\p_spaceafter
   )
\ctxcommand #1-\directlua \zerocount {commands.#1
  }
\spac_vspacing_yes_indeed ...mand {vspacing(#1)}
  \fi
\afterdisplayspace ...else \blank [\p_spaceafter ]
  \fi
\stopdisplaymath ...ath $$\par \afterdisplayspace
  \par \egroup
\strc_formulas_stop_formula ...native \v!formula }
  \dostoptagged 
\dostoptagge...

l.4 \stopformula
___
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] upload

2012-07-04 Thread Hans Hagen

On 4-7-2012 12:40, Hongwen Qiu wrote:

On 07/04/2012 04:56 PM, Hans Hagen wrote:

Hi,

I uploaded a beta. There has been the usual amount of renamings going
on so there might be problems.

Hans

This is broken:

! Undefined control sequence.

system   tex  error on line 4 in file test.tex: Undefined
control sequence ...


in strc-mat.mkiv patch

\unexpanded\def\afterdisplayspace
  {\edef\p_spaceafter{\formulaparameter\c!spaceafter}%
   \ifx\p_spaceafter\v!none \else
 \blank[\p_spaceafter]%
   \fi}

fixed in next beta

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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] linenumbering per page

2012-07-04 Thread Wolfgang Schuster

Am 04.07.2012 um 16:50 schrieb Martin:

 Hi, I would like to place line numbers in a multipage document.
 
 \startlinenumbering
 lots of text filling several pages
 \stoplinenumbering
 
 What I would like to have, and fail to find, is an option to that would 
 restart the numbering on every page as I do not need to reference each line. 
 e.g. finding line 15 on page 6 is fine.
 
 
 \setuplinenumbering doesn't seem to provide an option.
 
 Anything I can do? Thanks!

\starttext

\setuplinenumbering[method=page]

\startlinenumbering
\dorecurse{20}{\input knuth\par}
\stoplinenumbering

\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] upload

2012-07-04 Thread Philipp Gesang
···date: 2012-07-04, Wednesday···from: Hans Hagen···

 Hi,
 
 I uploaded a beta. There has been the usual amount of renamings
 going on so there might be problems.

syst-aux.mkiv, line 2449:

-\def\syst_helpers_seventupleempty_four_yes#1#2#3#4[#5]%
+\def\syst_helpers_seventuple_empty_four_yes#1#2#3#4[#5]%

Philipp

 
 Hans
 
 
 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 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
 ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpwJsgCxQmSY.pgp
Description: PGP signature
___
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] startalign broken in latest checkout

2012-07-04 Thread Prashanth

Hi,
The latest checkout has a problem with even the most trivial example of 
\startalign (taken from the wiki):

\starttext
\startformula \startalign
 \NC v \NC = u + at \NR
 \NC h \NC= ut + \frac12 gt^2 \NR
\stopalign \stopformula
\stoptext


% context --version

mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file: 
/opt/context-minimals/texmf-context/tex/context/base/context.mkiv

mtx-context | current version: 2012.07.04 15:55

Output
*
* ConTeXt-IV output:
* cd /home/3shared/Source/prash/doc/context-trials
* context --nonstopmode demo.context
*

mtx-context | run 1: luatex 
--fmt=/home/prash/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en 
--interaction=nonstopmode --jobname=demo 
--lua=/home/prash/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en.lui 
--no-parse-first-line --c:currentrun=1 --c:input=./demo.context 
--c:kindofrun=1 --c:nonstopmode cont-yes.mkiv

This is LuaTeX, Version beta-0.70.2-2012052410 (TeX Live 2012)
 \write18 enabled.
(/opt/context-minimals/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2012.07.04 15:55 MKIV  fmt: 2012.7.4  int: english/english

system  gt; cont-new.mkiv loaded
(/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv
system  gt; beware: some patches loaded from cont-new.mkiv
)
fonts   gt; latin modern fonts are not preloaded
languages   gt; language en is active
(demo.context{/opt/context-minimals/texmf-fonts/fonts/map/pdftex/context/mkiv-base.map}
fonts   gt; preloading latin modern fonts (second stage)
fonts   gt; typescripts gt; unknown: library 'loc'
{/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-math.map}{/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-rm.map}
fonts   gt; virtual math gt; unable to resolve name mapsfromchar
fonts   gt; fallback modern rm 12pt is loaded
! Use of \expandafter doesn't match its definition.

system  gt; tex gt; error on line 4 in file demo.context: Use 
of  ...


1 \starttext
2
3 \startformula \startalign
4 gt;gt;   \NC v \NC = u + at \NR
5  \NC h \NC= ut + \frac12 gt^2 \NR
6 \stopalign \stopformula
7
8 \stoptext
9


\math_both_eqalign_no_aligned ...andafter \bgroup
  \the \scratchtoks \crcr
lt;to be read againgt;
   \NC
l.4  \NC
 v \NC = u + at \NR
! Missing { inserted.

system  gt; tex gt; error on line 4 in file demo.context: 
Missing { inserted ...


1 \starttext
2
3 \startformula \startalign
4 gt;gt;   \NC v \NC = u + at \NR
5  \NC h \NC= ut + \frac12 gt^2 \NR
6 \stopalign \stopformula
7
8 \stoptext
9

lt;to be read againgt;
   \crcr
lt;to be read againgt;
   \NC
l.4  \NC
 v \NC = u + at \NR
! Missing # inserted in alignment preamble.

system  gt; tex gt; error on line 4 in file demo.context: 
Missing # inserted in alignment preamble ...


1 \starttext
2
3 \startformula \startalign
4 gt;gt;   \NC v \NC = u + at \NR
5  \NC h \NC= ut + \frac12 gt^2 \NR
6 \stopalign \stopformula
7
8 \stoptext
9

lt;to be read againgt;
   \crcr
lt;to be read againgt;
   \NC
l.4  \NC
 v \NC = u + at \NR
! Extra alignment tab has been changed to \cr.

system  gt; tex gt; error on line 4 in file demo.context: 
Extra alignment tab has been changed to \cr ...


1 \starttext
2
3 \startformula \startalign
4 gt;gt;   \NC v \NC = u + at \NR
5  \NC h \NC= ut + \frac12 gt^2 \NR
6 \stopalign \stopformula
7
8 \stoptext
9

lt;templategt; \endtemplate

\math_alignment_NC -gt;\aligntab

l.4  \NC v \NC
   = u + at \NR
! Extra alignment tab has been changed to \cr.

system  gt; tex gt; error on line 4 in file demo.context: 
Extra alignment tab has been changed to \cr ...


1 \starttext
2
3 \startformula \startalign
4 gt;gt;   \NC v \NC = u + at \NR
5  \NC h \NC= ut + \frac12 gt^2 \NR
6 \stopalign \stopformula
7
8 \stoptext
9

lt;templategt; \endtemplate

\NR -gt;\aligntab
\dostoptagged \dodoubleempty \math_alignment_NR_indeed
l.4  \NC v \NC = u + at \NR

! Use of \expandafter doesn't match its definition.

system  gt; tex gt; error on line 5 in file demo.context: Use 
of  ...


1 \starttext
2
3 \startformula \startalign
4  \NC v \NC = u + at \NR
5 gt;gt;   \NC h \NC= ut + \frac12 gt^2 \NR
6 \stopalign \stopformula
7
8 \stoptext
9


\syst_helpers_inspect_next_optional_character ...
  \fi
lt;to be read againgt;
   \NC
l.5  \NC
 h \NC= ut + \frac12 gt^2 \NR
! Extra alignment tab has been changed to \cr.

system  gt; tex gt; error on line 5 in file demo.context: 
Extra alignment 

Re: [NTG-context] startalign broken in latest checkout

2012-07-04 Thread Wolfgang Schuster

Am 04.07.2012 um 18:24 schrieb Prashanth:

 Hi,
 The latest checkout has a problem with even the most trivial example of 
 \startalign (taken from the wiki):
 \starttext
 \startformula \startalign
  \NC v \NC = u + at \NR
  \NC h \NC= ut + \frac12 gt^2 \NR
 \stopalign \stopformula
 \stoptext

strc-mat.mkiv (I’m not sure if the first change after \dorecurse is correct)

\def\math_build_eqalign
  {\scratchtoks\emptytoks
-  \dorecurse{\mathalignmentparameter\c!m}\def\math_build_eqalign
+  \dorecurse{\mathalignmentparameter\c!m}\math_build_eqalign_step
   \normalexpanded{\scratchtoks{\the\scratchtoks\the\c_math_align_c}}}

\def\math_alignment_NR_indeed[#1][#2]%
- {\donestedformulanumber{#1}{#2}% to be tagged (better an attribute)
+ {\strc_formulas_place_number_nested{#1}{#2}% to be tagged (better an 
attribute)
   \crcr
   \dostoptagged % finish row
   \noalign{\glet\math_alignment_NC\math_alignment_NC_first}} % noalign used 
for change state, conditional does not work here

\def\math_align_NR_generic[#1][#2]%
- {\donestedformulanumber{#1}{#2}\crcr}
+ {\strc_formulas_place_number_nested{#1}{#2}\crcr}

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] clutter with \start and \stop

2012-07-04 Thread Peter Münster
On Wed, Jul 04 2012, Hans Hagen wrote:

 no, mixing this way is asking for troubles, if not now, than maybe in the
 future

 just use \section

Yes, but isn't \startsection the recommended method for the future and
needed for XML output?

-- 
   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] clutter with \start and \stop

2012-07-04 Thread Hans Hagen

On 4-7-2012 22:29, Peter Münster wrote:

On Wed, Jul 04 2012, Hans Hagen wrote:


no, mixing this way is asking for troubles, if not now, than maybe in the
future

just use \section


Yes, but isn't \startsection the recommended method for the future and
needed for XML output?


Indeed, but there is no easy way out of this dilemma

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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] clutter with \start and \stop

2012-07-04 Thread Rogers, Michael K
On Jul 4, 2012, at 1:29 PM, Peter Münster wrote:
 On Wed, Jul 04 2012, Hans Hagen wrote:

 no, mixing this way is asking for troubles, if not now, than maybe in the
 future

 just use \section

 Yes, but isn't \startsection the recommended method for the future and
 needed for XML output?

XML documents should form a tree, so a structure like

\startA % A
\startB % B
\stopA % /A
\stopB % /B

won't translate to XML.

Grouping in TeX follows the same restrictions, and \start... and \stop... 
behave like \begingroup and \endgroup.  The \stop... is supposed to restore the 
state before the corresponding \start... (at least I assume so -- \endgroup 
works that way).  One cannot stop A in the middle of B and return to the state 
before \startA without also stopping B.  So one should put \stopB before 
\stopA, not after it.

Have you considered structuring your example like this?:

\starttext
\startsection[title=Tufte]
\startcolumns[n=2]
\input tufte
\stopcolumns
\stopsection
\startsection[title=Tufte and Knuth]
\startcolumns[n=2]
\switchtobodyfont[big] % Note that the font size is switched back after 
\stopcolumns
\input tufte
\stopcolumns
\input knuth
\startcolumns[n=2]
\input tufte
\stopcolumns
\stopsection
\stoptext

XML seems a nice way for machines to deal with data.  But it's not a very human 
way to speak.  I mean, if I write \section{One}...\section{Two} isn't it 
obvious that section One ends when section Two begins?  Why should I have to 
write \endsection, when the machine can do the bookkeeping for me?  The 
start/stop mechanism is nice as an option, if you plan to produce an XML 
document from ConTeXt.  However the XML translator could implement 'if not 
first section then /sectionsection else section' and add if 
in_a_section then /section' when \stoptext is reached.



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] Broken Nightly 2012.07.04

2012-07-04 Thread Kip Warner
Hey list,

Nightly 2012.07.04 appears to break when compiling my book. I see the
following:

! Undefined control sequence.
\math_arrows_construct_single ...s \p_mathspacing 
  \endcsname
\p_mathspacing ...
\math_arrows_handle_finalize ...7}{#1}{#4}{#8}{#9}
  }\else \mathrel
{\math_arr...
\mathematics ...mmode #1\else \normalstartimath #1
  \normalstopimath \fi 
\445i:gives ...e \mathematics {\xrightarrow {}{}}
  \enspace 
l.11 \chemicalgives
   
\inlinechemical ...emicals.inline(\!!bs #1\!!es )}
  }
l.128 \inlinechemical{CO_2,+,H_2,+,-,H_2O,+,CO}

E
? You want to edit file Terms_and_Concepts/Terms_and_Concepts.tex at
line 11

The file in question is located here:

https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Terms_and_Concepts/Terms_and_Concepts.tex

-- 
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] bug in latest beta

2012-07-04 Thread JIN Xiao-Yong
I got the following error in the minimal example (which is all shown in the
output below)

system   tex  error on line 4 in file simpl.tex: Undefined
control sequence ...

1 \setuphead[section][before={\column}]
2 \starttext
3 \startcolumns[n=2]
4   \section{this is a section}
5 \section{another section in a new column}
6 \stopcolumns
7 \stoptext
8


\208multicolumn:yes -\par {\testrulewidth
\zeropoint \ruledvskip
\textheig...
\page_breaks_columns_process ...dle_direct \v!yes
  \fi \relax \the
\everyafte...
to be read again
   \relax
\dohandleheadpagebreakyes ...ter \c!before \relax
  \doif {\headparameter
\c!a...
\docheckheadbefore ...se \continuoussectionhead #1
  \fi
\doheadspacingbeforeyes ...handleheadpagebreakyes
  \headparameter
\c!inbetwee...
...
l.4 \section{this is a section}

Basically, the first line in the file introduces the error.  It worked a
few weeks ago.
___
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] clutter with \start and \stop

2012-07-04 Thread Peter Münster
On Thu, Jul 05 2012, Rogers, Michael K wrote:

 Have you considered structuring your example like this?:

The output is not the same...

-- 
   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] clutter with \start and \stop

2012-07-04 Thread Rogers, Michael K

On Jul 4, 2012, at 9:42 PM, Peter Münster wrote:

 On Thu, Jul 05 2012, Rogers, Michael K wrote:

 Have you considered structuring your example like this?:

 The output is not the same...

Sorry, I misunderstood.



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] clutter with \start and \stop

2012-07-04 Thread luigi scarso
On Thu, Jul 5, 2012 at 12:44 AM, Rogers, Michael K mrog...@emory.eduwrote:


 XML seems a nice way for machines to deal with data.  But it's not a very
 human way to speak.  I mean, if I write \section{One}...\section{Two}
 isn't it obvious that section One ends when section Two begins?  Why should
 I have to write \endsection, when the machine can do the bookkeeping for
 me?  The start/stop mechanism is nice as an option, if you plan to produce
 an XML document from ConTeXt.  However the XML translator could implement
 'if not first section then /sectionsection else section' and add
 if in_a_section then /section' when \stoptext is reached.

 Hm, consider this
\section{One} \input knuth
Text
\section{Two} \input knuth
and
\startsection{One} \input knuth
\stopsection
Text
\startsection{Two} \input knuth
\stopsection

In the last one it's clear that Text is not in the section One  or in the
section Two: In the first one, Text is in section One ---  but how can I
put Text so that is not in section One and not in section Two ?
Most of the time section One  ends where section Two begins, but  it's
not true that *always* section One  ends where section Two begins :  infact
the last one is a legal example.



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