Re: [NTG-context] Local TOC after each chapter title (was: Re: Need help)

2012-07-19 Thread Steffen Wolfrum

Am 18.07.2012 um 16:56 schrieb Marco:

 On 2012-07-18 Wolfgang Schuster schuster.wolfg...@gmail.com wrote:
 
 When you use the start/stop-commands you can use “insidesection=…”
 which comes after the “after” key.
 
 Nice, I didn't know that one, yet. Wikified under \setupheads.


I searched for insidesection on this garden's page ...

http://wiki.contextgarden.net/Command/setuphead

... but couldn't find it. Is there yet another page for \setupheads?

Steffen
___
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] Local TOC after each chapter title (was: Re: Need help)

2012-07-19 Thread Marco
On 2012-07-19 Steffen Wolfrum cont...@st.estfiles.de wrote:

Hi Steffen

  Nice, I didn't know that one, yet. Wikified under \setupheads.
 
 
 I searched for insidesection on this garden's page ...
 
 http://wiki.contextgarden.net/Command/setuphead

http://wiki.contextgarden.net/Command/setupheads
  ^^^

Technically the command belongs to \setupheads, not to \setuphead.
However, in practice it is unlikely that one wants to apply
insidesection to all structures, I agree.

 ... but couldn't find it.

It takes a while for the garden to refresh the search index. Now you
can find it by typing “insidesection” in the search box.

Marco


___
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] Local TOC after each chapter title

2012-07-19 Thread Hans Hagen

On 19-7-2012 10:41, Marco wrote:

On 2012-07-19 Steffen Wolfrum cont...@st.estfiles.de wrote:

Hi Steffen


Nice, I didn't know that one, yet. Wikified under \setupheads.



I searched for insidesection on this garden's page ...

http://wiki.contextgarden.net/Command/setuphead


http://wiki.contextgarden.net/Command/setupheads
   ^^^

Technically the command belongs to \setupheads, not to \setuphead.
However, in practice it is unlikely that one wants to apply
insidesection to all structures, I agree.


... but couldn't find it.


It takes a while for the garden to refresh the search index. Now you
can find it by typing “insidesection” in the search box.


In mkiv we use a different cloning model and as a consequence the plural 
setup commands are sort of redundant in which case they are aliased to 
the singular variant. However, the plural form is somewhat more intuitive.


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] Critical editions with ConTeXt

2012-07-19 Thread MANUEL GONZALEZ SUAREZ
Hi Pablo..Thanks for your quick response. The truth is that I am very, very newbie working with ConTeXt (in fact I know only a few months) but I think the possibilities are extraordinary for all kinds of documents.The issue of critical issues is fairly well resolved in LaTeX with ledmac, but I think ConTeXt can have better choices (or at least easier).Thanks again. I'll try to CervanTeX.El 18/07/12, Pablo Rodríguez oi...@web.de escribió:On 18/07/12 12:09, Thomas A. Schmitz wrote: On 7/18/12 10:10 AM, MANUEL GONZALEZ SUAREZ wrote: Hey. First, thanks to Andreas for his solution to the bibliographies. Second, a question: is there a module to produce critical editions with ConTeXt? In critical editions usually have several groups of footnotes and reference is usually made by line number. With LaTeX can be done using ledmac, but perhaps would have to customize the footnotes with ConTeXt. Thank you.  No, there isn't a single module to do this. Most of the functionality is  there (search for linenotes in the mailing list and look at the TEI  xml example on the wiki), but you will still have to write your own  style/module.Hi Manuel,As Thomas replied, linenotes is your friend. TEI XML(http://wiki.contextgarden.net/TEI_xml) shows the features of criticaledition typesetting, but you have to learn XML, TEI, ConTeXt and howConTeXt deals directly with XML files . This is a much better way towork with documents, but you'll need to learn much more.I provide here a minimal example on how ConTeXt works with linenotes:\definelinenote[lnote]\setuplinenote[lnote][rule=off,paragraph=yes,numbercommand=,inbetween=\qquad]\setupdescriptions[lnote][display=yes,location=serried,distance=1em]\starttext\startlinenumberingEn un lugar\lnote{lugar: place} de la Mancha, de cuyonombre\lnote{nombre: name} no quiero\lnote{querer: want}acordarme\lnote{acordarse: remember}.\stoplinenumbering\stoptextI'm not a classical philologist, but the way ConTeXt works is muchclearer than ledmac to me (although I have only tested ledmac for acouple of days).But there are two features from ledmac that aren't available in ConTeXt(or at least I don't know how to achieve them):-ConTeXt numbers all linenotes that come from the same line and thereseems to be no way to limit number in the apparatus to only the firstlinenote from that line.-From the way linenotes are implemented, linenotes mark a point in thebody text, but not a text passage, so it seems to be impossible to referto a passage that is typeset in different lines (such as 2-3).Apart from these two issues and since the other issues involved inlinenotes are known to the ones in this mailing list, it might be easierthat you start a thread at the Spanish TeX mailing list (I'm alsosubscribed to that list). I'm only suggesting this, since it might beeasier for you, the topic is known to the members from this list and itmay be interesting for the members from ES-TEX (I apologize if I'm wrong).I hope this might help,Pablo-- http://www.ousia.tk___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-contextwebpage  : http://www.pragma-ade.nl / http://tex.aanhet.netarchive  : http://foundry.supelec.fr/projects/contextrev/wiki : http://contextgarden.net___-- Manuel González Suárez
___
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] A Lorem ipsum module?

2012-07-19 Thread Hans Hagen

On 19-7-2012 03:27, Rogers, Michael K wrote:

On 2012-07-18 Marcin Borkowski mbork@??? wrote:


in LaTeX, there is quite a useful package called lipsum, for
typesetting varioud amounts of Lorem ipsum stuff. Is there anything
like that in ConTeXt? (I know about \input knuth, \input tufte etc.,
but that is not exactly what I have in mind, especially when giving a
sample of some design to a customer;).)


The LaTeX lipsum seems to have been pre-download from 
lipsum.comhttp://lipsum.com.  ConTeXt makes this relatively easy.  The one 
problem that might be solved better is that the paragraphs come in a single xml node 
separated by single newlines.  I defined a lines environment to make these into 
paragraphs, which is not as pretty as I would like.

\startxmlsetups xml:Lorem:base
\xmlsetsetup{Lorem}{*}{-}
\xmlsetsetup{Lorem}{feed|lipsum}{xml:Lorem:*}
\stopxmlsetups
\xmlregisterdocumentsetup{Lorem}{xml:Lorem:base}
\startxmlsetups xml:Lorem:feed
   \xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:Lorem:lipsum
   \xmlflush{#1}
\stopxmlsetups
\definelines[LoremLines]
\def\Lorem#1{% #1 = number of paragraphs to request
   \startLoremLines
   
\xmlprocessfile{Lorem}{http://www.lipsum.com/feed/xml?amount=#1what=parasstart=yes}{}
   \stopLoremLines
}
\starttext
\setupindenting[yes,20pt]
\setuplines[LoremLines][command=\blank,indenting=yes]
\Lorem{12}
\stoptext


I've added a module m-ipsum. I have no clue if it provides what one 
expects from such a module  	


\usemodule[ipsum]
\setupbodyfont[dejavu,11pt]

\starttext

\ipsum[alternative=paragraph,before=\blank,after=\blank]

\ipsum[alternative=lines,n=2,right=\par,before=\blank,after=\blank]

\ipsum[alternative=lines,n=random,before=\blank,after=\blank]


\ipsum[alternative=lines,before=\startitemize,after=\stopitemize,left=\startitem,right=\stopitem]

\ipsum[alternative=words,left=(,right=),inbetween=\space]

\page

\defineipsum
  [ward]
  [file=ward,
   before=\blank,
   after=\blank]

\defineipsum
  [ward:itemize]
  [ward]
  [alternative=lines,
   before={\startitemize[packed]},
   after=\stopitemize,
   left=\startitem,
   right=\stopitem]

\defineipsum
  [ward:title]
  [ward]
  [alternative=lines,
   n=random]

\subject{\directipsum{ward:title}}

\ipsum[ward]
\ipsum[ward:itemize]

\stoptext

Rather trivial code.

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
___


[NTG-context] making my own simpleslides module

2012-07-19 Thread dalyoung
Dear Thomas,

I tested making my simpleslides module SsuWave by modifying 
simpleslides-s-Rounded.tex

(1) I just replaced MP figures for horizontal and title with some figures as 
follows for test : 

\defineoverlay
[simpleslides:background:horizontal]
% [\useMPgraphic{simpleslides:MP:horizontal}]
[\externalfigure[/Users/graph/Documents/figures/background/ssuwave1][]]

\defineoverlay
[simpleslides:background:title]
% [\useMPgraphic{simpleslides:MP:title}]
[\externalfigure[/Users/graph/Documents/figures/background/ssuwave][]]


But it does not work. I got error as follows:

! Argument of \douseexternalfigure has an extra }.

.
22 \stopitemize
23
24  \SlideTitle{벡터의 연산 }
25


inserted text
\par
to be read again
}
\pack_layers_set ...group \edef \currentlayer {#1}
\edef \p_pack_layers_state...
to be read again
{
\61simpleslides:background:horizontal ...uwave1]{
\executedefinedoverlay {si...
\pack_framed_process_background_indeed_external ...
\else \kern -\framedbackgr...
...

(2) In the log file, I checked that it was read during the process.

mkiv lua stats  loaded tex modules - 6 requested, 6 found (*-animation 
*-simpleslides *-simpleslides-s-SsuWave *-units simpleslides-f-default 
simpleslides-s-default), 0 missing
...

I think that it needs more job to do this.
Would you please tell me any ideas?

Thank you.

Best regards,

Dalyoung
___
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] making my own simpleslides module

2012-07-19 Thread Wolfgang Schuster

Am 19.07.2012 um 16:27 schrieb dalyoung:

 Dear Thomas,
 
 I tested making my simpleslides module SsuWave by modifying 
 simpleslides-s-Rounded.tex
 
 (1) I just replaced MP figures for horizontal and title with some figures as 
 follows for test : 
 
 \defineoverlay
 [simpleslides:background:horizontal]
 % [\useMPgraphic{simpleslides:MP:horizontal}]
 [\externalfigure[/Users/graph/Documents/figures/background/ssuwave1][]]
 
 \defineoverlay
 [simpleslides:background:title]
 % [\useMPgraphic{simpleslides:MP:title}]
 [\externalfigure[/Users/graph/Documents/figures/background/ssuwave][]]

You need braces around \externalfigure

  \defineoverlay[…][{\externalfigure[…]}]

and the second argument is optional and can be omitted.

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] making my own simpleslides module

2012-07-19 Thread Marco
On 2012-07-19 dalyoung hak...@me.com wrote:

Hi Thomas

 But it does not work. I got error as follows:
 
 ! Argument of \douseexternalfigure has an extra }.

You cannot simply nest argument with brackets (as opposed to braced
arguments). You need to put the inner command in a pair of extra
braces:

\defineoverlay
  [simpleslides:background:horizontal]
  [{\externalfigure[/Users/graph/Documents/figures/background/ssuwave1][]}]

And I would advice to have a look at the directory key of
\setupexternalfigures. It is almost always a mistake to have a hard
coded path in the code.

Marco


___
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] A Lorem ipsum module?

2012-07-19 Thread Marco
On 2012-07-19 Hans Hagen pra...@wxs.nl wrote:

 I've added a module m-ipsum. I have no clue if it provides what one 
 expects from such a module

 \ipsum[alternative=lines,n=random,before=\blank,after=\blank]

This line throws:

! LuaTeX error main ctx instance:53: bad argument #2 to 'random' (interval is 
empty)


Marco


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

2012-07-19 Thread Thomas A. Schmitz
I was writing a reply to Dalyoung, but Wolfgang beat me to it. So I'm 
going to ask a question myself:


I'm a bit desperate about columns. I want nothing fancy, just a simple 
two-columns layout for a few pages. Unfortunately, the two betas I have 
on my computer both have trouble. 2012-06-30 complains about \column: 
undefined control sequence. 2012-07-19 throws an error which I've 
never seen before:


system   tex  error on line 901 in file reader.tex: Bad 
register code ...


That's the line where I have \stopcolumns. The full error is this:


\page_mul_flush_preceding_ongrid ...ceding_height
  -\dp 
\d_page_mul_preceding...

\page_mul_flush_packaged_columns_indeed ...ongrid
  \else 
\page_mul_flush_prec...

\page_mul_flush_packaged_columns_continued ...eed
  \box \columnpagebox 
\egroup

\page_mul_routine_continue ...d_columns_continued

}\page_otr_construct_and_s...
\page_otr_command_routine ...mul_routine_continue
  \or 
\page_mul_routine_bala...

\page_otr_triggered_output_routine ...and_routine
  \fi

What does this bad register code mean? I don't even know where to 
begin to look for an error - there is one \start - \stopcolumns 
environment earlier in my document, which does appear to work normally. 
Any pointers?


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] A Lorem ipsum module?

2012-07-19 Thread Wolfgang Schuster

Am 19.07.2012 um 16:42 schrieb Marco:

 On 2012-07-19 Hans Hagen pra...@wxs.nl wrote:
 
 I've added a module m-ipsum. I have no clue if it provides what one 
 expects from such a module   
 
 \ipsum[alternative=lines,n=random,before=\blank,after=\blank]
 
 This line throws:
 
 ! LuaTeX error main ctx instance:53: bad argument #2 to 'random' (interval 
 is empty)

The example works on my system without any problems.

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] A Lorem ipsum module?

2012-07-19 Thread luigi scarso
On Thu, Jul 19, 2012 at 4:52 PM, Wolfgang Schuster 
schuster.wolfg...@gmail.com wrote:


 Am 19.07.2012 um 16:42 schrieb Marco:

  On 2012-07-19 Hans Hagen pra...@wxs.nl wrote:
 
  I've added a module m-ipsum. I have no clue if it provides what one
  expects from such a module
 
  \ipsum[alternative=lines,n=random,before=\blank,after=\blank]
 
  This line throws:
 
  ! LuaTeX error main ctx instance:53: bad argument #2 to 'random'
 (interval is empty)

 The example works on my system without any problems.

 it's ok also here.


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

2012-07-19 Thread Wolfgang Schuster

Am 19.07.2012 um 16:51 schrieb Thomas A. Schmitz:

 I was writing a reply to Dalyoung, but Wolfgang beat me to it. So I'm going 
 to ask a question myself:
 
 I'm a bit desperate about columns. I want nothing fancy, just a simple 
 two-columns layout for a few pages. Unfortunately, the two betas I have on my 
 computer both have trouble. 2012-06-30 complains about \column: undefined 
 control sequence. 2012-07-19 throws an error which I've never seen before:
 
 system   tex  error on line 901 in file reader.tex: Bad register 
 code ...
 
 That's the line where I have \stopcolumns. The full error is this:
 
 
 \page_mul_flush_preceding_ongrid ...ceding_height
  -\dp \d_page_mul_preceding...
 \page_mul_flush_packaged_columns_indeed ...ongrid
  \else \page_mul_flush_prec...
 \page_mul_flush_packaged_columns_continued ...eed
  \box \columnpagebox \egroup
 \page_mul_routine_continue ...d_columns_continued
 }\page_otr_construct_and_s...
 \page_otr_command_routine ...mul_routine_continue
  \or \page_mul_routine_bala...
 \page_otr_triggered_output_routine ...and_routine
  \fi
 
 What does this bad register code mean? I don't even know where to begin to 
 look for an error - there is one \start - \stopcolumns environment earlier in 
 my document, which does appear to work normally. Any pointers?

I can’t give a answer without more information but you can try to use the new 
columns mechanism with “\definemixedcolumns[columns]” at the begin of your 
document.

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

2012-07-19 Thread Thomas A. Schmitz

On 07/19/2012 05:03 PM, Wolfgang Schuster wrote:

I can’t give a answer without more information but you can try to use the new 
columns mechanism with “\definemixedcolumns[columns]” at the begin of your 
document.


Yes, this one works OK, thanks Wolfgang! I'll see if I can find a 
minimal example that triggers the error...


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] A Lorem ipsum module?

2012-07-19 Thread Marco
Hi Hans

sorry for the false alarm. The code works.

I had an old file ipsum.tex in my temp directory that was used
instead of the module.

I was already wondering why none of the options provided to \ipsum
had any effect.

Marco


___
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] making my own simpleslides module

2012-07-19 Thread dalyoung
Dear Woldgang and Marco,

Thank you for your correction.

It works after bracing the \externalfigure command.
Now, I have to modify the numbers of header, footer, etc to make my style.

I also change the order of  \setupexternalfigure[directory=...] and 
\usemodule[simpleslides]... to apply the relational position.

Now, I don't have to keep two mode my own and simple slides. Instead, I 
just use simpleslides-s-myown.

Thank you again.

Best regards,

Dalyoung

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

2012-07-19 Thread Hans Hagen

On 19-7-2012 17:12, Thomas A. Schmitz wrote:

On 07/19/2012 05:03 PM, Wolfgang Schuster wrote:

I can’t give a answer without more information but you can try to use
the new columns mechanism with “\definemixedcolumns[columns]” at the
begin of your document.


Yes, this one works OK, thanks Wolfgang! I'll see if I can find a
minimal example that triggers the error...


keep in mind that mixed columns is work in progress (e.g. I need to add 
some footnote handling qas currently all notes end in their column


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

2012-07-19 Thread Hans Hagen

On 19-7-2012 16:51, Thomas A. Schmitz wrote:


What does this bad register code mean? I don't even know where to
begin to look for an error - there is one \start - \stopcolumns
environment earlier in my document, which does appear to work normally.
Any pointers?


a box / dimen mixup .. fixing it now

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] A Lorem ipsum module?

2012-07-19 Thread Sietse Brouwer
Hans wrote:
 I've added a module m-ipsum.

Duly wikified, although heaven knows whether people will actually find
it that way. No matter: soon we will have navboxes and that will give
us a shot at coherent topic-based navigation. For now I've made a
pagelet at http://wiki.contextgarden.net/Dummy_text, as well as an
entry on the Modules page.

 I have no clue if it provides what one expects from such a module

Personally, I think the ability to write one's thesis is a reasonable
expectation. ;-)

% Shamelessly borrowed from
% http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/m-visual.mkiv#l234

\unexpanded\def\ipsumthesis
  {\setupsystem[random=1234]
   \title{\ipsum[alternative=lines, n=1]} % the first line from the sample text
   \placelist[chapter,section]
   \dorecurse{3}
 {\chapter{\ipsum[alternative=lines, n=random]}  % random sentence
from the sample text
  \dorecurse{5}
{\section{\ipsum[alternative=lines, n=random]}
 \dorecurse{4}
   {\dorecurse{3}{\ipsum[alternative=paragraph, n=random]\endgraf}
\placefigure
  {\ipsum[alternative=lines,n=random]}
  {\fakeimage{5cm}{3cm}{10cm}{5cm}}
\dorecurse{2}{\ipsum[alternative=paragraph, n=random]\endgraf}

Regards,

Sietse
___
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] Adding command pages to the wiki

2012-07-19 Thread Sietse Brouwer
Hi all,

When some command is mentioned on this mailing list, and people say
somebody might want to add this information to the wiki, and the
command page doesn't even *exist* yet — don't despair. Creating it is
easy, now.

* There's a proper copy-paste skeleton for new command pages, now; you
can copy it and fill in what you need with a minimum of fuss. It lives
at http://wiki.contextgarden.net/Help:Command_reference.
* Help:Command_reference is now linked from the [[Category:Commands]]
page, so it should be easy to find when you need it.
* No more interleaving your prose with code and tt tags:
{{cmd|defineparagraphs|[LeftRight]}} produces a linkified and
typewriter-fonted \defineparagraphs[LeftRight].
* Link to up-to-date versions of source files with
{{src|m-ipsum.mkiv}}. This links to the repository at
http://repo.or.cz/w/context.git.
* Mark code with {{code|...}} instead of code.../code. It codes
the same thing, but it's easier to type. (And easier to recode what it
encodes. Code code code.)

Speaking of the command reference: if you click on
http://wiki.contextgarden.net/Category:Commands, you'll see that there
are only 100 commands left to categorize. Some help would really be
appreciated at this stage. Just open two or three commands in tabs,
and change [[Category:Commands|mycommand]] to
[[Category:Command/SubCategory|mycommand]]; you can see the list of
subcategories at the top of the Category:Commands page.

Kind regards,

Sietse
(Esteis on the wiki)
___
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
___