[NTG-context] Bug with location=nonumber

2011-11-21 Thread Aditya Mahajan

Hi,

Consider the following test file

\starttext
\startplacefigure[location={here,nonumber}, title=none]
  test
\stopplacefigure

\startplacefigure[location={here,nonumber}, title={test}]
  test
\stopplacefigure
\stoptext

The title of the second figure is displayed. The bug is because I have 
used location=nonumber in the first figure. If I remove `nonumber` from 
the first figure and use


  \startplacefigure[location=here, title=none]

then the title of the second figure is displayed.

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] Overview screen containing multiple pages

2011-11-21 Thread Aditya Mahajan

On Sun, 20 Nov 2011, Wolfgang Schuster wrote:



Am 20.11.2011 um 19:37 schrieb Aditya Mahajan:


There is a python script called impressive (http://impressive.sourceforge.net/) 
that adds some eyecandy to presentations. One of the features that it has is an 
overview screen at the end, like this: 
http://impressive.sourceforge.net/oview.png
This is similar to the overview screen used in the ConTeXt showcase by Hans: 
http://pragma-ade.com/show-man.pdf

I want to include such an overview in my slides, but am not sure if it can be 
done without using a separate tex file. My slides look like this (sorry Thomas, 
I am not using simpleslides at the moment)


You can save a copy of the page in a box and print the collection of all boxes 
at the end of the document.

\newcount\sectionpage

\installpagehandler{sectionpage}%
 {\global\advance\sectionpage\plusone
  \global\expandafter\newbox\csname sectionpage:\number\sectionpage\endcsname
  \dowithnextbox
{\global\expandafter\setbox\csname 
sectionpage:\number\sectionpage\endcsname\copy\nextbox
 \actualshipout{\flushnextbox}}
\normalhbox}

\starttext

\setuppaper[method=sectionpage]


Thanks a lot! I think that I will be able to tweak this to get overview 
slides.


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] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-21 Thread Hans Hagen

On 21-11-2011 02:00, Robin Kirkham wrote:


Over the weekend I've discovered a couple more problems with \unit so I'll
make up some test cases and desired output and post it in a few days.


ok, I'll wait for that then


-
  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] Chart module

2011-11-21 Thread Hans Hagen

On 20-11-2011 03:52, Aditya Mahajan wrote:

Hi,

Nested flow charts do not work in the current chart module.

\usemodule[chart]
\startFLOWchart[A]
\startFLOWcell
\name{A}
\location{1,1}
\text{A}
\stopFLOWcell
\stopFLOWchart

\startFLOWchart[B]
\includeFLOWchart[A][x=1,y=1]
\stopFLOWchart

\startFLOWchart[C]
\includeFLOWchart[B][x=1,y=1]
\stopFLOWchart

\starttext
\FLOWchart[A]

\FLOWchart[B]

\FLOWchart[C]
\stoptext


quick fix, line 324:

for i=1,#subdata do
local si = subdata[i]
if si.include then
inject(si,data,hash)
else
local t = {
x= si.x + xoffset,
y= si.y + yoffset,
settings = settings,
}
setmetatableindex(t,si)
data[#data+1] = t
hash[si.name or #data] = t
end
end



-
  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] setupinteraction kills dodoubleargument

2011-11-21 Thread Hans van der Meer
In my documents I use a macro in footnotes, which is defined though 
\dodoubleargument.
However, enabling interactions (which must be done too) plays havoc with 
\dodoubleargument, though \dosingleargument seems to escape unharmed.

Why is this? Can it be repaired?

Hans van der Meer

% Indexing in footnotes
\setuppapersize[A5][A5]
\setupinteraction[state=start] % [state=stop] = OK
\starttext
\type{ConTeXt  ver: 2011.11.17 23:31 MKIV}\blank
\def\testa{\dosingleargument\dotesta}
\def\dotesta[#1]#2{#1#2}
OK: \type{\testa{abc}} \testa{abc}\par
OK: \type{\testa[def]{abc}} \testa[def]{abc}\par
OK: Now in footnote\footnote{testa{abc}}\par
OK: Now in footnote\footnote{\testa[def]{abc}}\par
\blank
\def\testb{\dodoubleargument\dotestb}
\def\dotestb[#1][#2]#3{#1#2#3}
OK: \type{\testb{abc}} \testb{abc}\par
OK: \type{\testb[def]{abc}} \testb[def]{abc}\par
OK: \type{\testb[ghi][def]{abc}} \testb[ghi][def]{abc}\par
OK: Now in footnote\footnote{testb{abc}}\par
ERROR: Now in footnote\footnote{\testb[def]{abc}}\par
errmessage: ! Argument of \string\dotestb\ has an extra \}.\par
OK: Now in footnote\footnote{\testb[ghi][def]{abc}}\par
\stoptext




withindex.pdf
Description: Adobe PDF document
___
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] setupinteraction kills dodoubleargument

2011-11-21 Thread Wolfgang Schuster

Am 21.11.2011 um 14:25 schrieb Hans van der Meer:

 In my documents I use a macro in footnotes, which is defined though 
 \dodoubleargument.
 However, enabling interactions (which must be done too) plays havoc with 
 \dodoubleargument, though \dosingleargument seems to escape unharmed.
 
 Why is this? Can it be repaired?

Change your definition for \testa and \testb to

  \unexpanded\def\testa{\dosingleempty\dotesta}

and

  \unexpanded\def\testb{\dodoubleempty\dotestb}

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] setupinteraction kills dodoubleargument

2011-11-21 Thread Meer, H. van der

On 21 nov. 2011, at 14:55, Wolfgang Schuster wrote:

 
 Am 21.11.2011 um 14:25 schrieb Hans van der Meer:
 
 In my documents I use a macro in footnotes, which is defined though 
 \dodoubleargument.
 However, enabling interactions (which must be done too) plays havoc with 
 \dodoubleargument, though \dosingleargument seems to escape unharmed.
 
 Why is this? Can it be repaired?
 
 Change your definition for \testa and \testb to
 
  \unexpanded\def\testa{\dosingleempty\dotesta}

Not needed, because \dosingleargument, \dosingleempty are not harmed.
 
 and
 
  \unexpanded\def\testb{\dodoubleempty\dotestb}

This is a solution, so I can go on with my document.

But isn't it better in general when the problem is solved in \footnote? Because 
outside it I encountered no problem with the \dodouble's. It would be a pity if 
everyone who tries to something of the sort, will have to tackle this problem 
(unless looking into the archives of this group, of course). I was lucky, 
because the addition of \setupinteraction[state=start] was one of the last 
things I changed and thus suggested itself readily as the source of the 
troubles. 
Maybe it can be put on some todo/later-todo list?
 
 Wolfgang
 ___

Hans van der Meer



___
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] setupinteraction kills dodoubleargument

2011-11-21 Thread Hans Hagen

On 21-11-2011 15:50, Meer, H. van der wrote:


On 21 nov. 2011, at 14:55, Wolfgang Schuster wrote:



Am 21.11.2011 um 14:25 schrieb Hans van der Meer:


In my documents I use a macro in footnotes, which is defined though 
\dodoubleargument.
However, enabling interactions (which must be done too) plays havoc with 
\dodoubleargument, though \dosingleargument seems to escape unharmed.

Why is this? Can it be repaired?


Change your definition for \testa and \testb to

  \unexpanded\def\testa{\dosingleempty\dotesta}


Not needed, because \dosingleargument, \dosingleempty are not harmed.


and

  \unexpanded\def\testb{\dodoubleempty\dotestb}


This is a solution, so I can go on with my document.

But isn't it better in general when the problem is solved in \footnote? Because 
outside it I encountered no problem with the \dodouble's. It would be a pity if 
everyone who tries to something of the sort, will have to tackle this problem 
(unless looking into the archives of this group, of course). I was lucky, 
because the addition of \setupinteraction[state=start] was one of the last 
things I changed and thus suggested itself readily as the source of the 
troubles.
Maybe it can be put on some todo/later-todo list?


not really as do*empty is not the problem .. if \testa is expandable and 
\dosingleargument isn't, you still have an expandable dotesta left


I'll make the \do*arguments unexpandable (just like their cousins) but 
it won't help you much


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] Bug with location=nonumber

2011-11-21 Thread Hans Hagen

On 21-11-2011 09:38, Aditya Mahajan wrote:

Hi,

Consider the following test file

\starttext
\startplacefigure[location={here,nonumber}, title=none]
test
\stopplacefigure

\startplacefigure[location={here,nonumber}, title={test}]
test
\stopplacefigure
\stoptext

The title of the second figure is displayed. The bug is because I have
used location=nonumber in the first figure. If I remove `nonumber` from
the first figure and use

\startplacefigure[location=here, title=none]

then the title of the second figure is displayed.


I'm not sure if I understand the problem ... can you check with the 
upcoming beta?


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] Rotating natural Tables

2011-11-21 Thread Christian
Hello,

quick question:

How do I rotate a floating TABLE when using \startplacetable[title={My long 
title},list={Short title}] and \stopplacetable?

What is the parameter equivalent to \placetable{orientation=90} in this case?

___
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] inactive hyperlink?

2011-11-21 Thread Hans van der Meer
There is something with creating hyperlinks I do not understand.

Did \setupinteraction[state=start]
Situation-1: \placefigure[][reftofigure].. gives me with \in.. a clickable link.
Situation-2: \pagereference[reftoplace] (or \textreference, \reference} do give 
me a link-colored text with \in{txt}[reftoplace] but nothing happens.

What in my definition of the link is wrong? Adding 
\setupreferencing[interaction=all] didn't help.

Hans van der Meer



___
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] equation numbering

2011-11-21 Thread Meer, H. van der
ConTeXt still has some mysteries for me ;-)
This time it is the equationnumbering.
Doing \placeformula\startformula..\stopformula gives the equation a certain 
number, lets say (1.5).
Now I change the call to \placeformula[equ:thisfml]\startformula..\stopformula 
and the number changes to (1.6).

Why is this? What I have in mind is to number all formula consecutively with 
(chapternumber.1), chapternumber.2) etc. Regardless whether I want to reference 
some of the equations later on and some can stay without a reference because 
that is not needed. Nevertheless, the ascending numbering pleases me.

Hans van der Meer



___
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] pagenumbering and part options

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear gang,

Ok this is embarrassing, but I can't seen to figure this one out. To solve
the current issue I need either

1. a \part, let's define it as \partsuper, that does one thing and ONLY
one thing:

\starttext

\partsuper{Super Part 1}

text page numbers 1, 2, 3, , n

\partsuper{Super Part 2}

text page numbers 1, 2, 3, , n

\stoptext

So after each partsuper, the pagenumber is reset to one. But the partsuper
is not typeset, does not generate anything in the listings, toc, etc etc.
In other words, it's completely invisible in the output, except that the
pagenumbering in reset.

One possibility: In addition to resetting the page no, \partsuper may
create document numbers of the form

\starttext

\partsuper{Super Part 1}

text page my-prefix-1, my-prefix-2, my-prefix-3, ,
my-prefix-n

\partsuper{Super Part 2}

text page numbers my-other-prefix-1, my-other-prefix-2,
my-other-prefix-3, , my-other-prefix-n

\stoptext



2. The other, less sophisticated option: How do I get \setuppagenumbering
to simply just reset the current pagenumber to 1 and start from 1
again?

Again I can do my-prefix for the first range of pagenumbers and
my-other-prefix for the second.

===

Let me explain the big picture. I have two (rather large) structured
documents. I need to

a) compile both at the same time to manage cross-references between each;

b) have each start at page 1. \setuppagenumbering[number=1] does not seem  
to work:


===

===

For cross references I have defined a mirror for each document structure
element. For \chapter in Book One we use \chaptertwo in Book Two etc., so
each book has its own TOC that does not interfere with the other etc.

===

With this in mind, I need your help, gang!

Best wishes
Idris




--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد

[please ignore other one]

Dear gang,

Ok this is embarrassing, but I can't seen to figure this one out. To solve
the current issue I need either

1. a \part, let's define it as \partsuper, that does one thing and ONLY
one thing:

\starttext

\partsuper{Super Part 1}

text page numbers 1, 2, 3, , n

\partsuper{Super Part 2}

text page numbers 1, 2, 3, , n

\stoptext

So after each partsuper, the pagenumber is reset to one. But the partsuper
is not typeset, does not generate anything in the listings, toc, etc etc.
In other words, it's completely invisible in the output, except that the
pagenumbering in reset.

One possibility: In addition to resetting the page no, \partsuper may
create document numbers of the form

\starttext

\partsuper{Super Part 1}

text page my-prefix-1, my-prefix-2, my-prefix-3, ,
my-prefix-n

\partsuper{Super Part 2}

text page numbers my-other-prefix-1, my-other-prefix-2,
my-other-prefix-3, , my-other-prefix-n

\stoptext



2. The other, less sophisticated option: How do I get \setuppagenumbering
to simply just reset the current pagenumber to 1 and start from 1
again?

Again I can do my-prefix for the first range of pagenumbers and
my-other-prefix for the second.

===

Let me explain the big picture. I have two (rather large) structured
documents. I need to

a) compile both at the same time to manage cross-references between each;

b) have each start at page 1. \setuppagenumbering[number=1] does not seem
to work:

===
\starttext
\dorecurse{28}{\input knuth\par }
\setuppagenumbering[state=stop]
\dorecurse{28}{\input knuth\par }
\setuppagenumbering[state=start]
\dorecurse{28}{\input knuth\par }
\setuppagenumbering[number=1]
\dorecurse{28}{\input knuth\par }
\stoptext
===

For cross references I have defined a mirror for each document structure
element. For \chapter in Book One we use \chaptertwo in Book Two etc., so
each book has its own TOC that does not interfere with the other etc.

===

With this in mind, I need your help, gang!

Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد

[please ignore other one]

Dear gang,

Ok this is embarrassing, but I can't seen to figure this one out. To solve
the current issue I need either

1. a \part, let's define it as \partsuper, that does one thing and ONLY
one thing:

\starttext

\partsuper{Super Part 1}

text page numbers 1, 2, 3, , n

\partsuper{Super Part 2}

text page numbers 1, 2, 3, , n

\stoptext

So after each partsuper, the pagenumber is reset to one. But the partsuper
is not typeset, does not generate anything in the listings, toc, etc etc.
In other words, it's completely invisible in the output, except that the
pagenumbering in reset.

One possibility: In addition to resetting the page no, \partsuper may
create document numbers of the form

\starttext

\partsuper{Super Part 1}

text page my-prefix-1, my-prefix-2, my-prefix-3, ,
my-prefix-n

\partsuper{Super Part 2}

text page numbers my-other-prefix-1, my-other-prefix-2,
my-other-prefix-3, , my-other-prefix-n

\stoptext



2. The other, less sophisticated option: How do I get \setuppagenumbering
to simply just reset the current pagenumber to 1 and start from 1
again?

Again I can do my-prefix for the first range of pagenumbers and
my-other-prefix for the second.

===

Let me explain the big picture. I have two (rather large) structured
documents. I need to

a) compile both at the same time to manage cross-references between each;

b) have each start at page 1. \setuppagenumbering[number=1] does not seem
to work:

===
\starttext
\dorecurse{28}{\input knuth\par }
\setuppagenumbering[state=stop]
\dorecurse{28}{\input knuth\par }
\setuppagenumbering[state=start]
\dorecurse{28}{\input knuth\par }
\setuppagenumbering[number=1]
\dorecurse{28}{\input knuth\par }
\stoptext
===

For cross references I have defined a mirror for each document structure
element. For \chapter in Book One we use \chaptertwo in Book Two etc., so
each book has its own TOC that does not interfere with the other etc.

===

With this in mind, I need your help, gang!

Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Pontus Lurcock
On Mon 21 Nov 2011, Idris Samawi Hamid ادريس   سماوي حامد wrote:

 2. The other, less sophisticated option: How do I get
 \setuppagenumbering to simply just reset the current pagenumber to
 1 and start from 1 again?

I think that what you want (untested) is \setuppagenumber[number=1]
rather than \setuppagenumbering[number=1] (as I understand it
\setuppagenumbering controls the way in which page numbers are
displayed and \setuppagenumber controls the numbers themselves).

 Let me explain the big picture. I have two (rather large) structured
 documents. I need to

 a) compile both at the same time to manage cross-references between each;

Could the recent work on cross-document referencing (
http://www.pragma-ade.com/general/magazines/mag-1103.pdf ) remove this
requirement?

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] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Aditya Mahajan

On Tue, 22 Nov 2011, Pontus Lurcock wrote:


On Mon 21 Nov 2011, Idris Samawi Hamid ادريس   سماوي حامد wrote:


2. The other, less sophisticated option: How do I get
\setuppagenumbering to simply just reset the current pagenumber to
1 and start from 1 again?


I think that what you want (untested) is \setuppagenumber[number=1]
rather than \setuppagenumbering[number=1] (as I understand it
\setuppagenumbering controls the way in which page numbers are
displayed and \setuppagenumber controls the numbers themselves).


There is also \setupuserpagenumber[number=1] and 
\setupuserpagenumber[way=bysuperpart] (if superpart is defined using 
\definehead).


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] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد

On Mon, 21 Nov 2011 15:02:51 -0700, Pontus Lurcock p...@talvi.net wrote:


On Mon 21 Nov 2011, Idris Samawi Hamid ادريس   سماوي حامد wrote:


2. The other, less sophisticated option: How do I get
\setuppagenumbering to simply just reset the current pagenumber to
1 and start from 1 again?


I think that what you want (untested) is \setuppagenumber[number=1]
rather than \setuppagenumbering[number=1] (as I understand it
\setuppagenumbering controls the way in which page numbers are
displayed and \setuppagenumber controls the numbers themselves).


Aaarrrghgh ... It's so embarrassing to miss the obvious

\setuppagenumber[number=1]

does its job ... thnx!




Let me explain the big picture. I have two (rather large) structured
documents. I need to

a) compile both at the same time to manage cross-references between  
each;


Could the recent work on cross-document referencing (
http://www.pragma-ade.com/general/magazines/mag-1103.pdf ) remove this
requirement?


Now this I was unaware of ... I will study it. Hopefully it works between  
components ...


You've been a BIG help, Pontus, and

Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد

Hi Aditya,

On Mon, 21 Nov 2011 15:09:23 -0700, Aditya Mahajan adit...@umich.edu  
wrote:


There is also \setupuserpagenumber[number=1] and  
\setupuserpagenumber[way=bysuperpart] (if superpart is defined using  
\definehead).


Hmm, I was wondering if there was something like this in the system ...  
how do we get \setupuserpagenumber to replace \setuppagenumber? Or is it  
automatic when declared?


Thanks, Aditya and

Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 21 Nov 2011 15:18:46 -0700, Idris Samawi Hamid ادريس   سماوي حامد  
isha...@colostate.edu wrote:




Could the recent work on cross-document referencing (
http://www.pragma-ade.com/general/magazines/mag-1103.pdf ) remove this
requirement?


Now this I was unaware of ... I will study it. Hopefully it works  
between components ...


\startproduct cross-100
\component cross-001
\component cross-002
\stopproduct

Ah ... EXACTLY what I was looking for! And EXACTLY how my master file is  
structured!


Thanks again, Pontus, and

Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] cross referencing suite

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear Knights,

http://www.pragma-ade.com/general/magazines/mag-1103.pdf

mentions a 4-file test site, but I can't find it in my context tree ...  
Can someone point me to it?


Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] cross referencing suite

2011-11-21 Thread Aditya Mahajan

On Mon, 21 Nov 2011, Idris Samawi Hamid ادريس   سماوي حامد wrote:


Dear Knights,

http://www.pragma-ade.com/general/magazines/mag-1103.pdf

mentions a 4-file test site, but I can't find it in my context tree ... Can 
someone point me to it?


The test suite used to refer to http://wiki.contextgarden.net/Test, but it 
hasn't been updated in years. Perhaps Hans has a local version of the test 
suite.


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] cross referencing suite

2011-11-21 Thread Andreas Harder

On 22.11.2011, at 00:13, Aditya Mahajan wrote:

 On Mon, 21 Nov 2011, Idris Samawi Hamid ادريس   سماوي حامد wrote:
 
 Dear Knights,
 
 http://www.pragma-ade.com/general/magazines/mag-1103.pdf
 
 mentions a 4-file test site, but I can't find it in my context tree ... Can 
 someone point me to it?
 
 The test suite used to refer to http://wiki.contextgarden.net/Test, but it 
 hasn't been updated in years. Perhaps Hans has a local version of the test 
 suite.

http://pragma-ade.com/download-4.htm

There you will find a folder named project …

Greeting
Andreas
___
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] cross referencing suite

2011-11-21 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 21 Nov 2011 17:25:43 -0700, Andreas Harder  
ahar...@uni-koblenz.de wrote:



http://pragma-ade.com/download-4.htm



There you will find a folder named project …


Excellent .. thnx!!

Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] pagenumbering and part options [CORRECTED]

2011-11-21 Thread Wolfgang Schuster

Am 21.11.2011 um 23:20 schrieb Idris Samawi Hamid ادريس سماوي حامد:

 Hi Aditya,
 
 On Mon, 21 Nov 2011 15:09:23 -0700, Aditya Mahajan adit...@umich.edu wrote:
 
 There is also \setupuserpagenumber[number=1] and 
 \setupuserpagenumber[way=bysuperpart] (if superpart is defined using 
 \definehead).
 
 Hmm, I was wondering if there was something like this in the system ... how 
 do we get \setupuserpagenumber to replace \setuppagenumber? Or is it 
 automatic when declared?

\setuppagenumber is a synonym for \setupusepagenumber

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] Text in a box now broken

2011-11-21 Thread Kip Warner
Hey folks,

I noticed as of maybe a week ago, that all of the text I have positioned
inside of a box has disappeared. I can see everything else, as before,
but not the stuff in the box. The box just shows up as a mangled line.

The following is a minimal example from ConTeXt version 2011.11.17
09:18. This code was working just fine a few days ago.

\definestartstop
[TimelineDocument]
[before={
\crlf
\setupbackground[frame=on,
 before=\blank,
 after=\blank,
 corner=round,
 topoffset=0.5cm,
 leftoffset=0.5cm,
 rightoffset=0.5cm,
 bottomoffset=0.5cm]
\startbackground
},
 after={
\stopbackground
\crlf
   },
 commands={\setupalign[yes]},
 style=italic]

\starttext
\startTimelineDocument
Some stuff in a box.
\stopTimelineDocument
\stoptext

Thanks a lot.

-- 
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] Text in a box now broken

2011-11-21 Thread Wolfgang Schuster

Am 22.11.2011 um 06:23 schrieb Kip Warner:

 Hey folks,
 
 I noticed as of maybe a week ago, that all of the text I have positioned
 inside of a box has disappeared. I can see everything else, as before,
 but not the stuff in the box. The box just shows up as a mangled line.
 
 The following is a minimal example from ConTeXt version 2011.11.17
 09:18. This code was working just fine a few days ago.


This is tested and works on my machine:

\definebackground
  [TimelineDocumentFrame]
  [frame=on,
   before=\blank,
   after=\blank,
   corner=round,
   topoffset=0.5cm,
   rightoffset=0.5cm]

\definestartstop
  [TimelineDocument]
  [before=\startTimelineDocumentFrame,
   after=\stopTimelineDocumentFrame,
   style=italic]

\starttext

\startTimelineDocument
Some stuff in a box.
\stopTimelineDocument

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