[NTG-context] two issues with inmargin attachments

2019-11-20 Thread Pablo Rodriguez
Hi Hans,

I have the following sample, using latest beta from 2019.11.14 17:07:

\setuppapersize[A5]
\showframe
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\starttext
a\attachment[file=xml-mkiv.pdf]
b\attachment[file=mkiv-publications.pdf]
c\attachment[file=onandon.pdf, location=inmargin]
d\attachment[file=notnow.pdf, location=inmargin]
e\attachment[file=about.pdf, location=text]
f\attachment[file=i-context.pdf, location=text]
\stoptext

The default location seems to be "text", but when specified as option it
prevents the attachment. The general configuration for location may be
different, but in that case it seems impossible to use "text" for a
single attachment.

"location=inmargin" seems to place all /FileAttachment annotations on
the same place (when from the same line, they have the same /Rect), as
shown in the excerpt:

21 0 obj
<<
  /Type /Annot
  /NM (attachment:3)
  /Subtype /FileAttachment
  /Rect [ 35.54572 493.13349 41.52002 499.1078 ]
>>
endobj

22 0 obj
<<
  /Type /Annot
  /NM (attachment:4)
  /Subtype /FileAttachment
  /Rect [ 35.54572 493.13349 41.52002 499.1078 ]
>>
endobj

Would it be possible that inmargin attachments allow more than one from
the same line?

Many thanks for your 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-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] (again) inmargin attachments in notes

2019-07-30 Thread Pablo Rodriguez
On 7/29/19 10:27 PM, Hans Hagen wrote:
> On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:
> [...]
> b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf]}}

Many thanks for your reply, Hans.

I didn’t know that placing margin data in notes was so complex.

Many thanks for your 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-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] (again) inmargin attachments in notes

2019-07-29 Thread Hans Hagen

On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:

Hi Hans,

I have the following sample:

 \showframe\showgrid
 \setupinteraction[state=start]
 \setupinteractionscreen[option=attachment]
 \setupattachment[location=inmargin]
 \starttext
 a\attachment[file=xml-mkiv.pdf]
 b\footnote{\attachment[file=i-context.pdf]}
 \stoptext

Inmargin attachment from notes aren’t shown in Acrobat nor displayed in
margin. Files are embedded.


b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf]}}

-
  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] (again) inmargin attachments in notes

2019-07-29 Thread Pablo Rodriguez
Hi Hans,

I have the following sample:

\showframe\showgrid
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setupattachment[location=inmargin]
\starttext
a\attachment[file=xml-mkiv.pdf]
b\footnote{\attachment[file=i-context.pdf]}
\stoptext

Inmargin attachment from notes aren’t shown in Acrobat nor displayed in
margin. Files are embedded.

I have a bunch of documents (over 100) in which I have to embed other
PDF documents and I need them to be in the marginal space from notes.

Sorry for reporting this again
(https://mailman.ntg.nl/pipermail/ntg-context/2019/094337.html), but
this issue is relevant for me.

Many thanks for your 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-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] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:50 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 20.03.19 um 20:43:
>> [...]
>> Is there a way with a \setupitemize (or \setupitemgroup) to configure
>> only one kind of numbered (or unnumbered, for that matter) item groups?
>
> You have to create a new itemgroup environment/instance.
>
> \defineitemgroup [romanitemize]
> \setupitemgroup  [romanitemize] [R,inmargin]

Many thanks for your help, Wolfgang.

This is exactly what I needed.

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-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] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 20.03.19 um 20:43:

On 3/20/19 8:09 PM, Wolfgang Schuster wrote:

Pablo Rodriguez schrieb am 20.03.19 um 20:03:

[...]
Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?


\startitemize[I,inmargin]


Many thanks for your reply, Wolfgang.

I need a \setup... command, since I’m going to use it in an environment
file to typeset XML sources.

Is there a way with a \setupitemize (or \setupitemgroup) to configure
only one kind of numbered (or unnumbered, for that matter) item groups?


You have to create a new itemgroup environment/instance.

\defineitemgroup [romanitemize]
\setupitemgroup  [romanitemize] [R,inmargin]

\starttext

\startromanitemize
\dorecurse{5}{\item item}
\stopromanitemize

\startitemgroup [romanitemize]
\dorecurse{5}{\item item}
\stopitemgroup

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


Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:09 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 20.03.19 um 20:03:
>> [...]
>> Is there a way to get only [option=inmargin] for the items that are
>> Roman-numbered?
>
> \startitemize[I,inmargin]

Many thanks for your reply, Wolfgang.

I need a \setup... command, since I’m going to use it in an environment
file to typeset XML sources.

Is there a way with a \setupitemize (or \setupitemgroup) to configure
only one kind of numbered (or unnumbered, for that matter) item groups?

Many thanks for your 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-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] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 20.03.19 um 20:03:

Dear list,

I have the following sample:

 \showframe
 \setupitemize[each][option=inmargin]
 \starttext
 \startitemize[n]
 \dorecurse{5}{\item item}
 \stopitemize

 \startitemize
 \dorecurse{5}{\item item}
 \stopitemize

 \startitemize[I]
 \dorecurse{5}{\item item}
 \stopitemize
 \stoptext

Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?


\startitemize[I,inmargin]

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


[NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\showframe
\setupitemize[each][option=inmargin]
\starttext
\startitemize[n]
\dorecurse{5}{\item item}
\stopitemize

\startitemize
\dorecurse{5}{\item item}
\stopitemize

\startitemize[I]
\dorecurse{5}{\item item}
\stopitemize
\stoptext

Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?

Many thanks for your 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-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] inmargin attachments from notes

2019-03-10 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setuppapersize[A9, landscape]
\starttext
\footnote{attachment\attachment
[xml-mkiv.pdf]
[location=inmargin]}
\stoptext

Using latest beta (from 2019.03.05 15:40), I’m afraid that inmargin
attachments aren’t displayed in footnotes.

It makes no difference with

\setupnotation[footnote][alternative=serried]

Am I missing something or have I hit a bug?

Many thanks for your 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-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] inmargin produces underfull hbox

2018-09-07 Thread Wolfgang Schuster
You can get of the warning by changing the alignment for the \margindata 
entries.


\setupmarginframed
  [inmargin]
  [align={flushright,broad}]

\starttext

Overfull\inmargin{abc}

\stoptext


You can produce the same message with the following example.

\starttext

\vbox
  {\hsize\leftmarginwidth
   \setupalign[flushright]
   \bf abc}

\stoptext


Wolfgang


Hans van der Meer schrieb am 07.09.18 um 13:02:

This minimal example:
\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing \ConTeXt macro\ \tex{inmargin}
\blank
Some text to fill the body of the text.\par
\inmargin{\hbox{abc}}
Some text to fill the body of the text\par
\stoptext

produces an underfull hbox:

Underfull \hbox (badness 1210) in paragraph at lines 6--6
 [][][]

the same happens with the line: \inmargin{abc}
Underfull \hbox (badness 1210) in paragraph at lines 6--6
 []<9: lmroman12-bold @ 12.0pt> abc[]

addition of \hfil or \hss doesn’t help.

My conclusion: this is somewhere located in \inmargin. It would be 
nice if this can be resolved, because in procession some 500 
\inmargin’s the log is cluttered with all these messages.


dr. 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://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] inmargin produces underfull hbox

2018-09-07 Thread Hans van der Meer
This minimal example:
\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing \ConTeXt macro\ \tex{inmargin}
\blank
Some text to fill the body of the text.\par
\inmargin{\hbox{abc}}
Some text to fill the body of the text\par
\stoptext

produces an underfull hbox:

Underfull \hbox (badness 1210) in paragraph at lines 6--6
 [][][]

the same happens with the line: \inmargin{abc}
Underfull \hbox (badness 1210) in paragraph at lines 6--6
 []<9: lmroman12-bold @ 12.0pt> abc[]

addition of \hfil or \hss doesn’t help.

My conclusion: this is somewhere located in \inmargin. It would be nice if this 
can be resolved, because in procession some 500 \inmargin’s the log is 
cluttered with all these messages.

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

Re: [NTG-context] Commands \inmargin and \inouter not working

2018-06-04 Thread Pablo Rodriguez
On 06/04/2018 08:35 PM, Marcus Vinicius Mesquita wrote:
> Thank you, Pablo. 
> 
> My version was from 2 of June. I updated again today, and the problem
> was solved.

I knew that you generated the PDF document with that beta.

But I don’t have that version, so I wasn’t able to check with it.

Glad to read that it worked. Best wishes,

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-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] Commands \inmargin and \inouter not working

2018-06-04 Thread Marcus Vinicius Mesquita
Thank you, Pablo.

My version was from 2 of June. I updated again today, and the problem was
solved.

Greetings

Marcus Vinicius
___
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] Commands \inmargin and \inouter not working

2018-06-04 Thread Pablo Rodriguez
On 06/04/2018 02:25 AM, Marcus Vinicius Mesquita wrote:
> Dear list,
> 
> After updating ConTeXt, commands \inmargin and \inouter do not work anymore.

Hi Marcus Vinicius,

I’m using latest beta (from 2018.06.04 12:18) and both commands work
fine. I’m on linux-64 too.

My previous beta is from 2018.05.24 15:49 and both commands work fine there.

I guess you should try to update to latest beta. If that doesn’t work,
check the minimal working sample with a clean install.

I hope it helps,

Pablo


> MWE:
> 
> \starttext
> This is an example of a simple margin note set in the slanted font
> of the document. If used correctly, the note \inmargin{Here is a
> simple margin note.} should print on the side with the command
> \type {\inmargin} placed in the text. You will of course want to
> adjust your margins to accommodate the type.
> 
> This is an example of a simple margin note set in the slanted font
> of the document. If used correctly, the note \inouter{Here is a
> simple margin note.} should print on the side with the command
> \type {\inouter} placed in the text. You will of course want to
> adjust your margins to accommodate the type.
> 
> \stoptext
> 
> 
> My ConTeXt version:
> 
> mkiv lua stats > used platform: linux-64, type: unix, binary subtree:
> texmf-linux-64
> mkiv lua stats > used engine: luatex version 1.08 with functionality
> level 6731, banner: this is luatex, version 1.08.0 (tex live 2018)
> mkiv lua stats > lua properties: engine: lua 5.3, used memory: 79 MB
> (ctx: 79 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
> 
> Marcus Vinicius 
> 
> 
> ___
> 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
> ___
> 


-- 
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-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] Commands \inmargin and \inouter not working

2018-06-03 Thread Marcus Vinicius Mesquita
Dear list,

After updating ConTeXt, commands \inmargin and \inouter do not work anymore.

MWE:

\starttext
This is an example of a simple margin note set in the slanted font
of the document. If used correctly, the note \inmargin{Here is a
simple margin note.} should print on the side with the command
\type {\inmargin} placed in the text. You will of course want to
adjust your margins to accommodate the type.

This is an example of a simple margin note set in the slanted font
of the document. If used correctly, the note \inouter{Here is a
simple margin note.} should print on the side with the command
\type {\inouter} placed in the text. You will of course want to
adjust your margins to accommodate the type.

\stoptext


My ConTeXt version:

mkiv lua stats > used platform: linux-64, type: unix, binary subtree:
texmf-linux-64
mkiv lua stats > used engine: luatex version 1.08 with functionality level
6731, banner: this is luatex, version 1.08.0 (tex live 2018)
mkiv lua stats > lua properties: engine: lua 5.3, used memory: 79 MB (ctx:
79 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)

Marcus Vinicius


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

Re: [NTG-context] anchor points for \inmargin

2015-11-12 Thread DesdeChaves
Thanks a lot for this great solution.

2015-11-12 18:14 GMT+00:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>:

> DesdeChaves <desdecha...@gmail.com>
> 11. November 2015 um 19:01
> Dear Sirs,
>
> I'm trying to make a exam for my students. After the question I should
> provide a blank space for the answer. In the margin I want write the
> partial scores for the answer. The problem  occurs when I force a new page.
> In this case the text in the margin is flushed to the next page. I don't
> want this behavior. How can I can  this?
>
> Margin texts are flushed with the next paragraph but you can start one for
> the points only with the \dontleavehmode command.
>
> \define[1]\Info
>   {\dontleavehmode\margindata[inmargin]{\rotate{#1}}}
>
> Another question: How can I anchor the scores in the middle of the
> vertical blank space?  This  \vskip4cm\Info{scores}\vskip4cm don't make the
> job.
>
> You can use the \framed command to reserve the space for the answer and
> place with the score with a layer as background for the frame.
>
> \setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle]
> \setupmarginframed[inmargin][align=middle,location=outer]
>
> \definelayer[infolayer][width=\framedwidth,height=\framedheight]
>
> \startsetups[infolayer:place]
>
> \setlayer[infolayer][preset=middleright]{\rotate{\getvariable{infotext}{points}}}
> \stopsetups
>
>
> \defineframed[infobox][frame=off,width=max,background=infolayer,setups=infolayer:place]
>
> \define[2]\Info
>   {\par
>\setvariable{infotext}{points}{#2}%
>\infobox[height=#1]{}}
>
> \starttext
>
> \startitemize[n]
> \starthead{Question 1}
> \Info{9cm}{20 \periods[3] 15 \periods[3] 10}
> \stophead
> \starthead{Question 2}
> \Info{8cm}{20 \periods[3] 15 \periods[3] 10}
> \stophead
> \starthead{Question 3}
> \Info{6cm}{20 \periods[3] 15 \periods[3] 10}
> \stophead
> \stopitemize
>
> \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
>
> ___
>



-- 
Atentamente

DesdeChaves
___
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] anchor points for \inmargin

2015-11-12 Thread Wolfgang Schuster

DesdeChaves <mailto:desdecha...@gmail.com>
11. November 2015 um 19:01
Dear Sirs,

I'm trying to make a exam for my students. After the question I should 
provide a blank space for the answer. In the margin I want write the 
partial scores for the answer. The problem  occurs when I force a new 
page. In this case the text in the margin is flushed to the next page. 
I don't want this behavior. How can I can  this?
Margin texts are flushed with the next paragraph but you can start one 
for the points only with the \dontleavehmode command.


\define[1]\Info
  {\dontleavehmode\margindata[inmargin]{\rotate{#1}}}

Another question: How can I anchor the scores in the middle of the 
vertical blank space?  This  \vskip4cm\Info{scores}\vskip4cm don't 
make the job.
You can use the \framed command to reserve the space for the answer and 
place with the score with a layer as background for the frame.


\setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle]
\setupmarginframed[inmargin][align=middle,location=outer]

\definelayer[infolayer][width=\framedwidth,height=\framedheight]

\startsetups[infolayer:place]

\setlayer[infolayer][preset=middleright]{\rotate{\getvariable{infotext}{points}}}

\stopsetups

\defineframed[infobox][frame=off,width=max,background=infolayer,setups=infolayer:place]

\define[2]\Info
  {\par
   \setvariable{infotext}{points}{#2}%
   \infobox[height=#1]{}}

\starttext

\startitemize[n]
\starthead{Question 1}
\Info{9cm}{20 \periods[3] 15 \periods[3] 10}
\stophead
\starthead{Question 2}
\Info{8cm}{20 \periods[3] 15 \periods[3] 10}
\stophead
\starthead{Question 3}
\Info{6cm}{20 \periods[3] 15 \periods[3] 10}
\stophead
\stopitemize

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

[NTG-context] anchor points for \inmargin

2015-11-11 Thread DesdeChaves
Dear Sirs,

I'm trying to make a exam for my students. After the question I should
provide a blank space for the answer. In the margin I want write the
partial scores for the answer. The problem  occurs when I force a new page.
In this case the text in the margin is flushed to the next page. I don't
want this behavior. How can I can  this?

Another question: How can I anchor the scores in the middle of the vertical
blank space?  This  \vskip4cm\Info{scores}\vskip4cm don't make the job.

Thanks in advance.

Jorge


Code:

\setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle]
\setupmarginframed[inmargin][align=middle,location=outer]
\def\Info#1{\margindata[inmargin]{\rotate{#1}\ignorespaces}}

\starttext
\startitemize[n]
\item Question 1
\vskip8cm
\Info{20 \periods[3] 15 \periods[3] 10}
\vskip1cm

\item Question 2
\vskip8cm
\Info{20 \periods[3] 15 \periods[3] 10}
\page %%% --> problematic
\item Question 3


\stoptext
___
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] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Philipp A.
example:

\enableregime[utf-8]
\mainlanguage[de]

\starttext

\subject{Works}

1
\margintext{a}

\subject{Doesn’t work}

\margintext{b}

\stoptext
___
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] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Hans Hagen

On 3/19/2015 11:39 AM, Philipp A. wrote:

|\enableregime[utf-8]


^^^ no need for that


\mainlanguage[de]

\starttext

\subject{Works}

1
\margintext{a}

\subject{Doesn’t work}

\margintext{b}


\margintext{c} \strut


\stoptext|


margintexts need to bind to something

--

-
  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] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Philipp A.
thank you!

what’s \strut? can’t find it in the wiki…

Hans Hagen pra...@wxs.nl schrieb am Do., 19. März 2015 um 11:52 Uhr:

 On 3/19/2015 11:39 AM, Philipp A. wrote:
  |\enableregime[utf-8]

 ^^^ no need for that

  \mainlanguage[de]
 
  \starttext
 
  \subject{Works}
 
  1
  \margintext{a}
 
  \subject{Doesn’t work}
 
  \margintext{b}

 \margintext{c} \strut

  \stoptext|

 margintexts need to bind to something

 --

 -
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
 
 ___
___
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] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Hans Hagen

On 3/19/2015 1:55 PM, Philipp A. wrote:

thank you!

what’s \strut? can’t find it in the wiki…


add \showstruts at the top of your document and you'll see them

(add \showmakup and you will be even more enlightened about tex's 
whatabouts)



Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl schrieb am Do., 19.
März 2015 um 11:52 Uhr:

On 3/19/2015 11:39 AM, Philipp A. wrote:
  |\enableregime[utf-8]

^^^ no need for that

  \mainlanguage[de]
 
  \starttext
 
  \subject{Works}
 
  1
  \margintext{a}
 
  \subject{Doesn’t work}
 
  \margintext{b}

\margintext{c} \strut

  \stoptext|

margintexts need to bind to something

--

--__--__-
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
http://www.pragma-ade.com
   | www.pragma-pod.nl
http://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 mailto:ntg-context@ntg.nl /
http://www.ntg.nl/mailman/__listinfo/ntg-context
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/
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
___




--

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

2014-12-30 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear Syndicate,

ConTeXt  ver: 2014.12.30 09:48 MKIV beta
This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX)

The following used to work:

\starttext
\define[5]\EDUITEM{\framed[frame=off,align=width,width=broad]
{{\bf #1 }\inmargin{\it #2}\ (#3).\crlf
{\bf #4}, #5.\blank[small]}}

\EDUITEM{Certificate of Proficiency}{2005}{\ConTeXt\ Studies}{\ConTeXt\  
Seminary}{\TeX{ville}, \TeX{land}}		

\stoptext

Now I get nothing in the margin. Please advise!

Best wishes
Idris
--
Idris Samawi Hamid
Professor 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] \inmargin

2014-12-30 Thread Wolfgang Schuster

 Am 30.12.2014 um 22:15 schrieb Idris Samawi Hamid ادريس سماوي حامد 
 isha...@colostate.edu:
 
 Dear Syndicate,
 
 ConTeXt  ver: 2014.12.30 09:48 MKIV beta
 This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX)
 
 The following used to work:
 
 \starttext
 \define[5]\EDUITEM{\framed[frame=off,align=width,width=broad]
   {{\bf #1 }\inmargin{\it #2}\ (#3).\crlf
{\bf #4}, #5.\blank[small]}}
   
 \EDUITEM{Certificate of Proficiency}{2005}{\ConTeXt\ Studies}{\ConTeXt\ 
 Seminary}{\TeX{ville}, \TeX{land}}
 \stoptext
 
 Now I get nothing in the margin. Please advise!

Use \inmargin[scope=local]{…} when you use the command within a box structure.

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

2014-12-30 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 30 Dec 2014 14:50:25 -0700, Wolfgang Schuster  
schuster.wolfg...@gmail.com wrote:


Use \inmargin[scope=local]{…} when you use the command within a box  
structure.


Thanks, Wolfgang!

--
Idris Samawi Hamid
Professor 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] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-19 Thread Wolfgang Schuster

Am 19.04.2014 um 02:11 schrieb Rik Kabel cont...@rik.users.panix.com:

 On 2014-04-18 17:36, Aditya Mahajan wrote:
 On Fri, 18 Apr 2014, Thangalin wrote:
 
 Hi Rik,
 
 The example isn't quite as minimal as it could be... Here is a
 simplified version demonstrating the problem:
 
 \setuplayout[backspace=4cm]
 
 \define[2]\MarginHead{\inmargin{#1 #2}}
 
 \setuphead[section][
 alternative=text,
 command=\MarginHead,
 ]
 
 \defineitemgroup[itemz]
 \setupitemgroup[itemz][each][joinedup]
 
 \startbuffer[Item]
 \startitemz
   \item Item
   \item Item
 \stopitemz
 \stopbuffer
 
 \starttext
 \section{No Whitespace}
 No extra whitespace before items.
 \getbuffer[Item]
 
 \section{Extra Whitespace}
 \getbuffer[Item]
 Unexpected extra whitespace before items.
 \stoptext
 
 Here is one way to get rid of the extra white-space. I could not figure out 
 a clean way of adding this signal to the setup.
 
 \setuplayout[backspace=6cm, leftmargin=5.5cm]
 
 \define[2]\MarginHead{\inmargin{#1 #2}}
 
 \setuphead[section]
  [
command=\MarginHead,
alternative=text,
distance=\zeropoint,
  ]
 
 \unprotect
  \def\SIGNAL{\hskip\d_strc_itemgroups_signal}
 \protect
 \defineitemgroup[itemz]
 \setupitemgroup[itemz][each][joinedup]
 
 \startbuffer[Item]
  \startitemz
\item Item
\item Item
  \stopitemz
 \stopbuffer
 
 \starttext
  \section{No Whitespace}
  No extra whitespace before items.
  \getbuffer[Item]
 
  \section{Extra Whitespace} \SIGNAL
  \getbuffer[Item]
  Unexpected extra whitespace before items.
 \stoptext
 
 Pretty ugly, but thank you for that, Aditya.
 
 Is there a similar kludge for tabulate? (That was part of my original 
 problem, removed in the subsequent simplification of the example.)

\setuphead
  [section]
  [alternative=text,
   command=\SectionCommand,
   distance=0pt,
   insidesection={\blank[overlay]}]

\define[2]\SectionCommand
  {\inmargin{#1 – #2}}

\setuplayout[backspace=4cm]

\starttext

\startsection[title={First}]

\input ward

\stopsection

\startsection[title={Second}]

\startitemize
\item One
\item Two
\stopitemize

\stopsection

\startsection[title={Third}]

\starttabulate
\NC Knuth \NC \input{knuth} \NC\NR
\NC Tufte \NC \input{tufte} \NC\NR
\stoptabulate

\stopsection

\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] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-19 Thread Thangalin
Hi,

insidesection={\blank[overlay]}]

This appears to require the latest beta.
___
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] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-19 Thread Rik

On 2014-04-19 04:55, Wolfgang Schuster wrote:

\setuphead
  [section]
  [alternative=text,
   command=\SectionCommand,
   distance=0pt,
   insidesection={\blank[overlay]}]

\define[2]\SectionCommand
  {\inmargin{#1 -- #2}}

\setuplayout[backspace=4cm]

\starttext

\startsection[title={First}]

\input ward

\stopsection

\startsection[title={Second}]

\startitemize
\item One
\item Two
\stopitemize

\stopsection

\startsection[title={Third}]

\starttabulate
\NC Knuth \NC \input{knuth} \NC\NR
\NC Tufte \NC \input{tufte} \NC\NR
\stoptabulate

\stopsection

\stoptext

Wolfgang


Thank you, Wolfgang. This works mostly, but not completely, for 
start/stop sectioning (not for classic sectioning).


I do notice that there is still a problem with tabulations if you add a 
horizontal line (\HL or \FL) to the beginning of the table. New example, 
building on yours:


   \setuphead
  [section]
  [alternative=text,
   command=\SectionCommand,
   distance=0pt,
   insidesection={\blank[overlay]}]

   \define[2]\SectionCommand
  {\inmargin{#1 -- #2}}

   \setuplayout[backspace=4cm]

   \starttext

   \startsection[title={Okay with text here}]

   Text here
   \starttabulate
   \FL \NC Knuth \NC \input{knuth} \NC\NR
   \NC Tufte \NC \input{tufte} \NC\NR
   \stoptabulate

   \stopsection

   \startsection[title={Fails with no text}]

   \starttabulate
   \FL \NC Knuth \NC \input{knuth} \NC\NR
   \NC Tufte \NC \input{tufte} \NC\NR
   \stoptabulate

   \stopsection

   \stoptext


--
RIk Kabel

___
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] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Thangalin
Hi Rik,

The example isn't quite as minimal as it could be... Here is a
simplified version demonstrating the problem:

\setuplayout[backspace=4cm]

\define[2]\MarginHead{\inmargin{#1 #2}}

\setuphead[section][
  alternative=text,
  command=\MarginHead,
]

\defineitemgroup[itemz]
\setupitemgroup[itemz][each][joinedup]

\startbuffer[Item]
  \startitemz
\item Item
\item Item
  \stopitemz
\stopbuffer

\starttext
  \section{No Whitespace}
  No extra whitespace before items.
  \getbuffer[Item]

  \section{Extra Whitespace}
  \getbuffer[Item]
  Unexpected extra whitespace before items.
\stoptext
___
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] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Aditya Mahajan

On Fri, 18 Apr 2014, Thangalin wrote:


Hi Rik,

The example isn't quite as minimal as it could be... Here is a
simplified version demonstrating the problem:

\setuplayout[backspace=4cm]

\define[2]\MarginHead{\inmargin{#1 #2}}

\setuphead[section][
 alternative=text,
 command=\MarginHead,
]

\defineitemgroup[itemz]
\setupitemgroup[itemz][each][joinedup]

\startbuffer[Item]
 \startitemz
   \item Item
   \item Item
 \stopitemz
\stopbuffer

\starttext
 \section{No Whitespace}
 No extra whitespace before items.
 \getbuffer[Item]

 \section{Extra Whitespace}
 \getbuffer[Item]
 Unexpected extra whitespace before items.
\stoptext


Here is one way to get rid of the extra white-space. I could not figure 
out a clean way of adding this signal to the setup.


\setuplayout[backspace=6cm, leftmargin=5.5cm]

\define[2]\MarginHead{\inmargin{#1 #2}}

\setuphead[section]
  [
command=\MarginHead,
alternative=text,
distance=\zeropoint,
  ]

\unprotect
  \def\SIGNAL{\hskip\d_strc_itemgroups_signal}
\protect
\defineitemgroup[itemz]
\setupitemgroup[itemz][each][joinedup]

\startbuffer[Item]
  \startitemz
\item Item
\item Item
  \stopitemz
\stopbuffer

\starttext
  \section{No Whitespace}
  No extra whitespace before items.
  \getbuffer[Item]

  \section{Extra Whitespace} \SIGNAL
  \getbuffer[Item]
  Unexpected extra whitespace before items.
\stoptext
___
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] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Rik Kabel

On 2014-04-18 17:36, Aditya Mahajan wrote:

On Fri, 18 Apr 2014, Thangalin wrote:


Hi Rik,

The example isn't quite as minimal as it could be... Here is a
simplified version demonstrating the problem:

\setuplayout[backspace=4cm]

\define[2]\MarginHead{\inmargin{#1 #2}}

\setuphead[section][
 alternative=text,
 command=\MarginHead,
]

\defineitemgroup[itemz]
\setupitemgroup[itemz][each][joinedup]

\startbuffer[Item]
 \startitemz
   \item Item
   \item Item
 \stopitemz
\stopbuffer

\starttext
 \section{No Whitespace}
 No extra whitespace before items.
 \getbuffer[Item]

 \section{Extra Whitespace}
 \getbuffer[Item]
 Unexpected extra whitespace before items.
\stoptext


Here is one way to get rid of the extra white-space. I could not 
figure out a clean way of adding this signal to the setup.


\setuplayout[backspace=6cm, leftmargin=5.5cm]

\define[2]\MarginHead{\inmargin{#1 #2}}

\setuphead[section]
  [
command=\MarginHead,
alternative=text,
distance=\zeropoint,
  ]

\unprotect
  \def\SIGNAL{\hskip\d_strc_itemgroups_signal}
\protect
\defineitemgroup[itemz]
\setupitemgroup[itemz][each][joinedup]

\startbuffer[Item]
  \startitemz
\item Item
\item Item
  \stopitemz
\stopbuffer

\starttext
  \section{No Whitespace}
  No extra whitespace before items.
  \getbuffer[Item]

  \section{Extra Whitespace} \SIGNAL
  \getbuffer[Item]
  Unexpected extra whitespace before items.
\stoptext


Pretty ugly, but thank you for that, Aditya.

Is there a similar kludge for tabulate? (That was part of my original 
problem, removed in the subsequent simplification of the example.)


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


[NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-17 Thread Rik Kabel
(This appears to be the same issue which was raised by Alexandros 
Frantzis in October 2008; see the thread at 
http://www.mail-archive.com/ntg-context%40ntg.nl/msg32125.html. No 
resolution was proposed at that time, and the problem still exists.)


Extra whitespace occurs before itemizations and tabulations (and quite 
possibly other structures) which appear immediately following an 
in-margin heading. The following example illustrates this.


   \setuplayout [backspace=7cm,leftmargin=6cm]

   \setuphead   [chapter][]

   \setuphead   [subsection]
 [alternative=normal,command=,distance=1em]

   \setuphead   [subsubsection]
 [alternative=normal,command=,distance=1em]

   \setuphead   [section][distance=0pt,
  alternative=text,
  command=\MarginHead]

   \define[2]\MarginHead{\inmargin{#1 #2}}

   \startbuffer[Item]
  \startitemize
\item Item
\item Idem
  \stopitemize
   \stopbuffer
   \startbuffer[Table]
  \starttabulate[|l|l|]
\FL\NC Entry \NC one \NC\NR
   \NC Entry \NC two \NC\NR\LL
  \stoptabulate
   \stopbuffer

   \starttext

   \chapter{Itemize}

   \section{No extra whitespace}
   With text here there is no extra whitespace before the itemization.
   \getbuffer[Item]

   \subsection{No extra whitespace}
   With text here there is no extra whitespace before the itemization.
   \getbuffer[Item]

   \section{Extra whitespace}
   \getbuffer[Item]
   With no text before the itemization there is extra space after the
   heading.

   \subsection{No extra whitespace}
   \getbuffer[Item]
   With no text before the itemization there is extra space after the
   heading.

   \chapter{Tabulate}

   \section{No extra whitespace}
   With text here there is no extra whitespace before the table.
   \getbuffer[Table]

   \subsection{No extra whitespace}
   With text here there is no extra whitespace before the table.
   \getbuffer[Table]

   \section{Extra whitespace}
   \getbuffer[Table]
   With no text before the table there is extra space after the heading.

   \subsection{No extra whitespace}
   \getbuffer[Table]
   With no text before the table there is extra space after the heading.

   \stoptext

Is this unresolvable? Like Alexandros, I have tried many of the options 
that looked appropriate, but nothing seems to work.


--
Rik Kabel
___
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] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setupheads\setuphead[chapter][sectionsegments=chapter, align=center]
\setuphead[section][alternative=inmargin]
\setuplist[section][alternative=d, style=\itx]
\starttext
\placecontent
\startfrontmatter
\dorecurse{2}{\chapter{Chapter}
\dorecurse{10}{\section{Section}\input zapf}}
\startfrontmatter
\startbodymatter
\dorecurse{2}{\part{Part}
\dorecurse{2}{\chapter{Chapter}
\dorecurse{10}{\section{Section}\input knuth}}}
\stopbodymatter
\stoptext

My question is: how can I achieve
\setuplist[chapter][alternative=inmargin] and
\setuplist[section][sectionsegments=section]?

I know these options are not implemented for \setuplist, but I think
they would be extremely useful, if they were implemented.

Many thanks for your 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-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] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Wolfgang Schuster

Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez oi...@gmx.es:

 Dear list,
 
 I have the following sample:
 
 \setupheads\setuphead[chapter][sectionsegments=chapter, align=center]
 \setuphead[section][alternative=inmargin]
 \setuplist[section][alternative=d, style=\itx]
 \starttext
 \placecontent
 \startfrontmatter
 \dorecurse{2}{\chapter{Chapter}
 \dorecurse{10}{\section{Section}\input zapf}}
 \startfrontmatter
 \startbodymatter
 \dorecurse{2}{\part{Part}
 \dorecurse{2}{\chapter{Chapter}
 \dorecurse{10}{\section{Section}\input knuth}}}
 \stopbodymatter
 \stoptext
 
 My question is: how can I achieve
 \setuplist[chapter][alternative=inmargin] and

Write your own list layout.

 \setuplist[section][sectionsegments=section]?

\setuplist[section][numbersegments=section]

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] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
 Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez:
 [...]
 My question is: how can I achieve
 \setuplist[chapter][alternative=inmargin] and
 
 Write your own list layout.

Many thanks for your reply, Wolfgang.

I have no idea about how to do it. What should I start reading?

 \setuplist[section][sectionsegments=section]?
 
 \setuplist[section][numbersegments=section]

Exactly what I wanted.

Many thanks for your 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-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] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Wolfgang Schuster

Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es:

 On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
 Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez:
 [...]
 My question is: how can I achieve
 \setuplist[chapter][alternative=inmargin] and
 
 Write your own list layout.
 
 Many thanks for your reply, Wolfgang.
 
 I have no idea about how to do it. What should I start reading?

Search for \definelistalternative or \setuplist in combination with 
alternative=command.

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] \setuplist[alternative=inmargin?

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 08:26 PM, Wolfgang Schuster wrote:
 Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez:
 On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
 [...]
 Write your own list layout.

 I have no idea about how to do it. What should I start reading?
 
 Search for \definelistalternative or \setuplist in combination with 
 alternative=command.

Many thanks for your reply, Wolfgang.

After reading strc-lst.mkvi (and trying something), I thought of a
different approach:

\showframe\showgrid
\setupinteraction[state=start]
\setupcombinedlist[content][interaction=all]
\setuplist[chapter][numbercommand=\listchapter,width=0pt]
\definemargindata[listchapter][hoffset=1em,location=left,style=]
\setupinterlinespace[line=3.3ex]
\setupwhitespace[small]
\setupindenting[medium,always]
\starttext
\placecontent
\dorecurse{10}{\chapter{Chapter}}
\stoptext

The only side-effect is that interaction doesn’t work for the chapter
number.

Is there any way to enable it again?

Many thanks for your 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-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] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Hans Hagen

On 6/18/2013 6:11 AM, Malte Stien wrote:

Wolfgang,

I have to come back to this solution you provided me with some time ago. I have 
more reading in the meantime and have gained a deeper understanding of how this 
actually works. However...

1. I noticed that the text in the margin is not actually quite aligned with the 
top of the figure; I think the text starts at the baseline of the line that 
would be there if the figure was not, if you know what I am getting at. That is 
at 12pt font size the text is about 12pt below the top of the figure. I tried 
to fix that with some negative \vskip, but that does not seem to work. Could 
you suggest an alternative please and maybe even explain why the code below 
does not compile


You can set the text in the margin with the second argument of 
\startplacefigure.

\define\FigureText
  {\dowithnextbox
 {\startlinealignment[middle]
  
\copy\nextbox\rlap{\hskip\rightmargindistance\vskip-12pt\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
  \stoplinealignment}
 \hbox}



2. Currently the code always uses the right margin; I need it to use the outer 
margin. I experimented swapping the \rlap for \llap, but then I still have to 
negatively \hskip the entire text width to the left. Even if I got that to 
work, I will have to wrap everything in an if-statement and have one branch for 
left and one for right pages. Right? How do I find out whether I am on a left 
or a right page? In other words, how would the if-statement look like.



\setuppagenumbering[alternative=doublesided]

\starttext

\definelayer
  [extrafiguretextlayer:l]
  [width=\overlaywidth,
   height=\overlayheight,
   corner={right,top},
   location={right,bottom},
   x=-1cm]

\definelayer
  [extrafiguretextlayer:r]
  [width=\overlaywidth,
   height=\overlayheight,
   corner={left,top},
   location={left,bottom},
   x=-1cm]

\startsetups extrafiguretext
\signalouterrealign
\setlayerframed
  [extrafiguretextlayer:\rightorleftpageaction rl]
  []
  [width=\marginwidth,
   align={lohi,middle},
   foregroundstyle=\tx]
  {\floatuserdataparameter{text}}
\flushlayer
  [extrafiguretextlayer:\rightorleftpageaction rl]
\stopsetups

\defineoverlay
  [extrafiguretext]
  [\setups{extrafiguretext}]

\setupfloat
  [figure]
  [background={foreground,extrafiguretext}]

\dorecurse {20} {

\startplacefigure[title=Dummy figure][text={margin dummy text #1}]
\externalfigure[dummy][width=.8\textwidth]
\stopplacefigure

}

\stoptext


Thank you,
Malte.


--
“The Electric Monk was a labour-saving device, like a dishwasher or a video 
recorder... Electric Monks believed things for you, thus saving you what was 
becoming an increasingly onerous task, that of believing all the things the 
world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

On 29/04/2013, at 9:04 PM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:



Am 29.04.2013 um 09:33 schrieb Malte Stien ma...@stien.de:


Hi,

I need to associate a bit of text with a figure in a book. The text is 
not---and cannot be---the figure caption (it's providing some explanation with 
respect to some labels in the figure). I have tried the following based on some 
other post on the mailing list:

\definepapersize[eightsquare][width=8in, height=8in]
\setuppapersize[eightsquare]

\setuplayout[
location=doublesided, marking=on, backspace=43mm, leftmargin=18mm,
leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, 
rightedgewidth=6mm,
topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm
]

\starttext

\startplacefigure[location=force, title={First dummy caption}]
\inmargin{First margin dummy}
\externalfigure[dummy][width=115mm]
\stopplacefigure

\stoptext

However, that results in the text being down the bottom of the figure. I need 
the text to be vertically aligned with the top of the figure. I have attached 
the resulting PDF for illustration purposes (is that okay on this mailing list? 
It's very small).

Any hints would be much appreciated.



You can set the text in the margin with the second argument of 
\startplacefigure.

\define\FigureText
  {\dowithnextbox
 {\startlinealignment[middle]
  
\copy\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
  \stoplinealignment}
 \hbox}

\setupfloat[figure][command=\FigureText]

\starttext

\startplacefigure[title=Dummy figure][text=Margin dummy]
\externalfigure[dummy][width=.8\textwidth]
\stopplacefigure

\stoptext

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

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Wolfgang Schuster

Am 18.06.2013 um 06:11 schrieb Malte Stien ma...@stien.de:

 2. Currently the code always uses the right margin; I need it to use the 
 outer margin. I experimented swapping the \rlap for \llap, but then I still 
 have to negatively \hskip the entire text width to the left. Even if I got 
 that to work, I will have to wrap everything in an if-statement and have one 
 branch for left and one for right pages. Right? How do I find out whether I 
 am on a left or a right page? In other words, how would the if-statement look 
 like.


\define\FigureText
  {\dowithnextbox
 {\signalrightpage
  \doifrightpageelse\donetrue\donefalse
  \scratchdimen\nextboxht
  \hbox\bgroup
\ifdone
  
\midaligned{\flushnextbox}\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\scratchdimen]{\floatuserdataparameter{text}}}%
\else 
  
\llap{\framed[frame=off,width=\rightmarginwidth,height=\scratchdimen]{\floatuserdataparameter{text}}\hskip\leftmargindistance}\midaligned{\flushnextbox}%
\fi
  \egroup}
 \hbox}

\setupfloat[figure][command=\FigureText]

\setuppagenumbering[alternative=doublesided]

\starttext \showgrid

\dorecurse{4}{\input knuth\par}

\startplacefigure[title=Dummy figure][text=Margin dummy]
\externalfigure[dummy][width=.8\textwidth]
\stopplacefigure

\dorecurse{4}{\input knuth\par}

\startplacefigure[title=Dummy figure][text=Margin dummy]
\externalfigure[dummy][width=.8\textwidth]
\stopplacefigure

\dorecurse{4}{\input knuth\par}

\startplacefigure[title=Dummy figure][text=Margin dummy]
\externalfigure[dummy][width=.8\textwidth]
\stopplacefigure

\dorecurse{4}{\input knuth\par}

\startplacefigure[title=Dummy figure][text=Margin dummy]
\externalfigure[dummy][width=.8\textwidth]
\stopplacefigure

\dorecurse{4}{\input knuth\par}

\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] Vertically Aligning inmargin Text to Figure

2013-06-17 Thread Malte Stien
Wolfgang,

I have to come back to this solution you provided me with some time ago. I have 
more reading in the meantime and have gained a deeper understanding of how this 
actually works. However...

1. I noticed that the text in the margin is not actually quite aligned with the 
top of the figure; I think the text starts at the baseline of the line that 
would be there if the figure was not, if you know what I am getting at. That is 
at 12pt font size the text is about 12pt below the top of the figure. I tried 
to fix that with some negative \vskip, but that does not seem to work. Could 
you suggest an alternative please and maybe even explain why the code below 
does not compile

 You can set the text in the margin with the second argument of 
 \startplacefigure.
 
 \define\FigureText
  {\dowithnextbox
 {\startlinealignment[middle]
  
 \copy\nextbox\rlap{\hskip\rightmargindistance\vskip-12pt\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
  \stoplinealignment}
 \hbox}


2. Currently the code always uses the right margin; I need it to use the outer 
margin. I experimented swapping the \rlap for \llap, but then I still have to 
negatively \hskip the entire text width to the left. Even if I got that to 
work, I will have to wrap everything in an if-statement and have one branch for 
left and one for right pages. Right? How do I find out whether I am on a left 
or a right page? In other words, how would the if-statement look like.

Thank you,
Malte.


--
“The Electric Monk was a labour-saving device, like a dishwasher or a video 
recorder... Electric Monks believed things for you, thus saving you what was 
becoming an increasingly onerous task, that of believing all the things the 
world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

On 29/04/2013, at 9:04 PM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 29.04.2013 um 09:33 schrieb Malte Stien ma...@stien.de:
 
 Hi,
 
 I need to associate a bit of text with a figure in a book. The text is 
 not---and cannot be---the figure caption (it's providing some explanation 
 with respect to some labels in the figure). I have tried the following based 
 on some other post on the mailing list:
 
 \definepapersize[eightsquare][width=8in, height=8in]
 \setuppapersize[eightsquare]
 
 \setuplayout[
  location=doublesided, marking=on, backspace=43mm, leftmargin=18mm,
  leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, 
 rightedgewidth=6mm,
  topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm
 ]
 
 \starttext
 
 \startplacefigure[location=force, title={First dummy caption}]
 \inmargin{First margin dummy}
 \externalfigure[dummy][width=115mm]
 \stopplacefigure
 
 \stoptext
 
 However, that results in the text being down the bottom of the figure. I 
 need the text to be vertically aligned with the top of the figure. I have 
 attached the resulting PDF for illustration purposes (is that okay on this 
 mailing list? It's very small).
 
 Any hints would be much appreciated.
 
 
 You can set the text in the margin with the second argument of 
 \startplacefigure.
 
 \define\FigureText
  {\dowithnextbox
 {\startlinealignment[middle]
  
 \copy\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
  \stoplinealignment}
 \hbox}
 
 \setupfloat[figure][command=\FigureText]
 
 \starttext
 
 \startplacefigure[title=Dummy figure][text=Margin dummy]
 \externalfigure[dummy][width=.8\textwidth]
 \stopplacefigure
 
 \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
 ___

___
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] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Malte Stien
Wolfgang,

Thank you for this. I can see what you are trying to do here, but this does not 
actually compile for me. Unfortunately, I don't know enough about the 
implementation of ConTeXt to track the problem down. I am getting:

! Undefined control sequence.

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

 4  
\copy\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
 5  \stoplinealignment}
 6 \hbox}
 7 
 8 \setupfloat[figure][command=\FigureText]
 9 
10 \starttext
11 
12 \startplacefigure[title=Dummy figure][text=Margin dummy]
13 \externalfigure[dummy][width=.8\textwidth]
14   \stopplacefigure
15 
16 \stoptext
17 


\syst_boxes_with_next_box -\startlinealignment 
[middle] \copy \nextbox \rla...
\strc_floats_place_packaged_boxes_indeed ...tbox }
  }\strc_floats_set_natural_...
\strc_floats_finish_placement ...e_packaged_boxes 
  \dostoptagged \global \d_p...
l.14 \stopplacefigure

Admittedly, I am on version 2012.10.20, which is about six months old now, but 
I am hesitant to update as I have a lot of co-workers using the same version 
and our configuration management processes dictate that we always update 
together.

Could you please help me out.

Thank you,
Malte.


--
“The Electric Monk was a labour-saving device, like a dishwasher or a video 
recorder... Electric Monks believed things for you, thus saving you what was 
becoming an increasingly onerous task, that of believing all the things the 
world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

On 29/04/2013, at 9:04 PM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 29.04.2013 um 09:33 schrieb Malte Stien ma...@stien.de:
 
 Hi,
 
 I need to associate a bit of text with a figure in a book. The text is 
 not---and cannot be---the figure caption (it's providing some explanation 
 with respect to some labels in the figure). I have tried the following based 
 on some other post on the mailing list:
 
 \definepapersize[eightsquare][width=8in, height=8in]
 \setuppapersize[eightsquare]
 
 \setuplayout[
  location=doublesided, marking=on, backspace=43mm, leftmargin=18mm,
  leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, 
 rightedgewidth=6mm,
  topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm
 ]
 
 \starttext
 
 \startplacefigure[location=force, title={First dummy caption}]
 \inmargin{First margin dummy}
 \externalfigure[dummy][width=115mm]
 \stopplacefigure
 
 \stoptext
 
 However, that results in the text being down the bottom of the figure. I 
 need the text to be vertically aligned with the top of the figure. I have 
 attached the resulting PDF for illustration purposes (is that okay on this 
 mailing list? It's very small).
 
 Any hints would be much appreciated.
 
 
 You can set the text in the margin with the second argument of 
 \startplacefigure.
 
 \define\FigureText
  {\dowithnextbox
 {\startlinealignment[middle]
  
 \copy\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
  \stoplinealignment}
 \hbox}
 
 \setupfloat[figure][command=\FigureText]
 
 \starttext
 
 \startplacefigure[title=Dummy figure][text=Margin dummy]
 \externalfigure[dummy][width=.8\textwidth]
 \stopplacefigure
 
 \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
 ___

___
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] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Hans Hagen

On 5/24/2013 8:46 AM, Malte Stien wrote:

Wolfgang,

Thank you for this. I can see what you are trying to do here, but this does not 
actually compile for me. Unfortunately, I don't know enough about the 
implementation of ConTeXt to track the problem down. I am getting:

! Undefined control sequence.

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

  4 
\copy\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
  5 \stoplinealignment}
  6 \hbox}
  7
  8 \setupfloat[figure][command=\FigureText]
  9
10 \starttext
11
12 \startplacefigure[title=Dummy figure][text=Margin dummy]
13 \externalfigure[dummy][width=.8\textwidth]
14   \stopplacefigure
15
16 \stoptext
17


\syst_boxes_with_next_box -\startlinealignment
 [middle] \copy \nextbox \rla...
\strc_floats_place_packaged_boxes_indeed ...tbox }
   }\strc_floats_set_natural_...
\strc_floats_finish_placement ...e_packaged_boxes
   \dostoptagged \global \d_p...
l.14 \stopplacefigure

Admittedly, I am on version 2012.10.20, which is about six months old now, but 
I am hesitant to update as I have a lot of co-workers using the same version 
and our configuration management processes dictate that we always update 
together.

Could you please help me out.


you can do a fresh install alongside an existing one and then run some 
tests


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] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Wolfgang Schuster

Am 24.05.2013 um 08:46 schrieb Malte Stien ma...@stien.de:

 Wolfgang,
 
 Thank you for this. I can see what you are trying to do here, but this does 
 not actually compile for me. Unfortunately, I don't know enough about the 
 implementation of ConTeXt to track the problem down. I am getting:
 
 ! Undefined control sequence.
 
 system   tex  error on line 14 in file test.tex: Undefined control 
 sequence ...
 
 4 
 \copy\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
 5 \stoplinealignment}
 6 \hbox}
 7 
 8 \setupfloat[figure][command=\FigureText]
 9 
 10 \starttext
 11 
 12 \startplacefigure[title=Dummy figure][text=Margin dummy]
 13 \externalfigure[dummy][width=.8\textwidth]
 14   \stopplacefigure
 15 
 16 \stoptext
 17 
 
 
 \syst_boxes_with_next_box -\startlinealignment 
[middle] \copy \nextbox \rla...
 \strc_floats_place_packaged_boxes_indeed ...tbox }
  }\strc_floats_set_natural_...
 \strc_floats_finish_placement ...e_packaged_boxes 
  \dostoptagged \global \d_p...
 l.14 \stopplacefigure
 
 Admittedly, I am on version 2012.10.20, which is about six months old now, 
 but I am hesitant to update as I have a lot of co-workers using the same 
 version and our configuration management processes dictate that we always 
 update together.
 
 Could you please help me out.


You can replace \startlinealignment … \stoplinealignment with \midaligned:

\define\FigureText
 {\dowithnextbox
{\scratchdimen\nextboxht
 \midaligned\bgroup
   
\flushnextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\scratchdimen]{\floatuserdataparameter{text}}}
 \egroup}
\hbox}

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] Vertically Aligning inmargin Text to Figure

2013-04-29 Thread Malte Stien
Hi,

I need to associate a bit of text with a figure in a book. The text is 
not---and cannot be---the figure caption (it's providing some explanation with 
respect to some labels in the figure). I have tried the following based on some 
other post on the mailing list:

\definepapersize[eightsquare][width=8in, height=8in]
\setuppapersize[eightsquare]

\setuplayout[
location=doublesided, marking=on, backspace=43mm, leftmargin=18mm,
leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, 
rightedgewidth=6mm,
topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm
]

\starttext

\startplacefigure[location=force, title={First dummy caption}]
\inmargin{First margin dummy}
\externalfigure[dummy][width=115mm]
\stopplacefigure

\stoptext

However, that results in the text being down the bottom of the figure. I need 
the text to be vertically aligned with the top of the figure. I have attached 
the resulting PDF for illustration purposes (is that okay on this mailing list? 
It's very small).

Any hints would be much appreciated.

Thank you,
Malte.



test.pdf
Description: Adobe PDF document

--
“The Electric Monk was a labour-saving device, like a dishwasher or a video 
recorder... Electric Monks believed things for you, thus saving you what was 
becoming an increasingly onerous task, that of believing all the things the 
world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

___
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] Vertically Aligning inmargin Text to Figure

2013-04-29 Thread Wolfgang Schuster

Am 29.04.2013 um 09:33 schrieb Malte Stien ma...@stien.de:

 Hi,
 
 I need to associate a bit of text with a figure in a book. The text is 
 not---and cannot be---the figure caption (it's providing some explanation 
 with respect to some labels in the figure). I have tried the following based 
 on some other post on the mailing list:
 
 \definepapersize[eightsquare][width=8in, height=8in]
 \setuppapersize[eightsquare]
 
 \setuplayout[
   location=doublesided, marking=on, backspace=43mm, leftmargin=18mm,
   leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, 
 rightedgewidth=6mm,
   topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm
 ]
 
 \starttext
 
 \startplacefigure[location=force, title={First dummy caption}]
 \inmargin{First margin dummy}
 \externalfigure[dummy][width=115mm]
 \stopplacefigure
 
 \stoptext
 
 However, that results in the text being down the bottom of the figure. I need 
 the text to be vertically aligned with the top of the figure. I have attached 
 the resulting PDF for illustration purposes (is that okay on this mailing 
 list? It's very small).
 
 Any hints would be much appreciated.


You can set the text in the margin with the second argument of 
\startplacefigure.

\define\FigureText
  {\dowithnextbox
 {\startlinealignment[middle]
  
\copy\nextbox\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\nextboxht]{\floatuserdataparameter{text}}}
  \stoplinealignment}
 \hbox}

\setupfloat[figure][command=\FigureText]

\starttext

\startplacefigure[title=Dummy figure][text=Margin dummy]
\externalfigure[dummy][width=.8\textwidth]
\stopplacefigure

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


[NTG-context] Lua inmargin inframed

2013-01-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

the inframed B in margin created by Lua doesn't appear, although 
corresponding Ctx code works:


\starttext
  \inmargin{\inframed{A}}
  \input knuth

  \blank
  \directlua{context.inmargin(context.delayed.inframed(B)); context(Test.)}
\stoptext


What am I doing wrong?

TIA.

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t.mkiv
Description: Binary data


t.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] Lua inmargin inframed

2013-01-04 Thread Wolfgang Schuster

Am 04.01.2013 um 16:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 the inframed B in margin created by Lua doesn't appear, although 
 corresponding Ctx code works:
 
 
 \starttext
  \inmargin{\inframed{A}}
  \input knuth
 
  \blank
  \directlua{context.inmargin(context.delayed.inframed(B)); context(Test.)}
 \stoptext
 
 
 What am I doing wrong?

\starttext

\inmargin{\inframed{A}}
\input knuth

\blank

\ctxlua{context.inmargin(context.nested.inframed(B))}
\input knuth

\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] Lua inmargin inframed

2013-01-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster 
wolfgang.schus...@gmail.com wrote:


\starttext

\inmargin{\inframed{A}}
\input knuth

\blank

\ctxlua{context.inmargin(context.nested.inframed(B))}
\input knuth

\stoptext

Wolfgang


Great, thanks!

Any info about usage of .nested or .nested vs. delayed?

(I've never used .nested so far, .delayed did the work if it was 
necessary...)

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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] Lua inmargin inframed

2013-01-04 Thread Wolfgang Schuster

Am 04.01.2013 um 16:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 On Fri, 04 Jan 2013 16:48:45 +0100, Wolfgang Schuster 
 wolfgang.schus...@gmail.com wrote:
 
 \starttext
 
 \inmargin{\inframed{A}}
 \input knuth
 
 \blank
 
 \ctxlua{context.inmargin(context.nested.inframed(B))}
 \input knuth
 
 \stoptext
 
 Wolfgang
 
 Great, thanks!
 
 Any info about usage of .nested or .nested vs. delayed?
 
 (I've never used .nested so far, .delayed did the work if it was 
 necessary…)

No, I played only with a few commands mentioned in the manual.

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] Problem with \inmargin on \item lines

2012-05-02 Thread Hans Hagen

On 2-5-2012 06:33, Malte Stien wrote:

Hi everyone,

I am experiencing a problem with \inmargin{some text} in \itemized lists. I am 
using them a lot in my documents, and it is kind of annoying. It appears that 
if one uses the \inmargin macro just prior to the \item macro, the in-margin 
text is typeset against the previous line, not the line with the \item. Minimal 
example.

\starttext
\startitemize
\item This is just a normal completely innocent paragraph against which 
one will be able to judge the amount of indentation of the next paragraph.
\inmargin{Duck}\item This paragraph has a duck inmargin comment
\stopitemize
\stoptext

That seems fair enough and even makes sense on some level. If however, one 
reverses the two macros, like so:

\item\inmargin{Duck} This paragraph has a duck inmargin comment

the leading space just after the closing brace is actually printed. I take this 
to be a bug, or is this by design? The only way I can around this is to not use 
a space, like so:

\item\inmargin{Duck}This paragraph has a duck inmargin comment

But I don't find that to be a satisfying solution. After all I am using ConTeXt 
because I am a bit pedantic about text, even the source code in this case.


the magin note has to anchor somewhere so the second approach is the 
best as after all \item can start with doing spacing things


concerning the space ... sometimes you want a space so gobbling the next 
one is debatable; you can of course wrap the command, as in:


\def\myinmargin#1{\inmargin{#1}\ignorespaces}


-
  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] Problem with \inmargin on \item lines

2012-05-02 Thread Rogers, Michael K
Hi,

It is not a bug. It is standard TeX: a space counts after } and is ignored 
immediately after a control sequence such as \item.  To override either, you 
have to be explicit, \ignorespaces as Hans suggested in your case and \  
(backslash-space) in the other to put a space in.  My preferred, idiosyncratic, 
pedantic way to ignore spaces in this case is a comment symbol and newlines:

\starttext
\startitemize
\item
This is just a normal completely innocent paragraph against which one will be 
able to judge the amount of indentation of the next paragraph.
\item\inmargin{Duck}%
This paragraph has a duck inmargin comment
\stopitemize
\stoptext

But I like newlines in my code, probably because I started editing text on 
24x80 crt that would show only the first 80 characters of a line.

Michael

On May 2, 2012, at 12:33 AM, Malte Stien wrote:

 Hi everyone,

 I am experiencing a problem with \inmargin{some text} in \itemized lists. I 
 am using them a lot in my documents, and it is kind of annoying. It appears 
 that if one uses the \inmargin macro just prior to the \item macro, the 
 in-margin text is typeset against the previous line, not the line with the 
 \item. Minimal example.

 \starttext
 \startitemize
   \item This is just a normal completely innocent paragraph against which 
 one will be able to judge the amount of indentation of the next paragraph.
   \inmargin{Duck}\item This paragraph has a duck inmargin comment
 \stopitemize
 \stoptext

 That seems fair enough and even makes sense on some level. If however, one 
 reverses the two macros, like so:

   \item\inmargin{Duck} This paragraph has a duck inmargin comment

 the leading space just after the closing brace is actually printed. I take 
 this to be a bug, or is this by design? The only way I can around this is to 
 not use a space, like so:

   \item\inmargin{Duck}This paragraph has a duck inmargin comment

 But I don't find that to be a satisfying solution. After all I am using 
 ConTeXt because I am a bit pedantic about text, even the source code in this 
 case.

 Regards,
 Malte.




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] Problem with \inmargin on \item lines

2012-05-01 Thread Malte Stien
Hi everyone,

I am experiencing a problem with \inmargin{some text} in \itemized lists. I am 
using them a lot in my documents, and it is kind of annoying. It appears that 
if one uses the \inmargin macro just prior to the \item macro, the in-margin 
text is typeset against the previous line, not the line with the \item. Minimal 
example.

\starttext
\startitemize
\item This is just a normal completely innocent paragraph against which 
one will be able to judge the amount of indentation of the next paragraph.
\inmargin{Duck}\item This paragraph has a duck inmargin comment
\stopitemize
\stoptext

That seems fair enough and even makes sense on some level. If however, one 
reverses the two macros, like so:

\item\inmargin{Duck} This paragraph has a duck inmargin comment

the leading space just after the closing brace is actually printed. I take this 
to be a bug, or is this by design? The only way I can around this is to not use 
a space, like so:

\item\inmargin{Duck}This paragraph has a duck inmargin comment

But I don't find that to be a satisfying solution. After all I am using ConTeXt 
because I am a bit pedantic about text, even the source code in this case.

Regards,
Malte.

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

2012-03-04 Thread S Barmeier
I had a look at the garden reference of \setupinmargin. Trying to set
width=70mm, I get no change.

The default seems to be bold and aligned right. Changing the style
works, but trying to align inner/left also has no effect.

Any help?

Thank you,
Severin
___
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] \inmargin

2012-03-04 Thread Wolfgang Schuster

Am 04.03.2012 um 10:39 schrieb S Barmeier:

 I had a look at the garden reference of \setupinmargin. Trying to set
 width=70mm, I get no change.

\setuplayout
  [backspace=8cm,
   leftmargin=7cm,
   cutspace=2cm,
   width=middle]

\starttext

\inmargin{\input ward }
\input knuth

\stoptext

 The default seems to be bold and aligned right. Changing the style
 works, but trying to align inner/left also has no effect.

Style and color:

\setupmargindata[…][style=…,color=…]

Alignment:

\setupmarginframed[align=…]

Can be also done direct:

\inmargin[style=…,color=…][align=…]{…}

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

2012-03-03 Thread S Barmeier
Could someone savant provide me with a rough overview of how to place
text in a margin these days, or else point me to a reference. (I
searched the garden without success.)

Many thanks,
Severin
___
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] \inmargin

2012-03-03 Thread Wolfgang Schuster

Am 03.03.2012 um 16:59 schrieb S Barmeier:

 Could someone savant provide me with a rough overview of how to place
 text in a margin these days, or else point me to a reference. (I
 searched the garden without success.)


You place them in the same way as you did it in the past:

\starttext

\input ward

\inmargin{INMARGIN}

\input ward

\inleft {INLEFT}
\inright{INRIGHT}

\input ward

\ininner{INNER}
\inouter{OUTER}

\input ward

\stoptext

What has changed is how to defined a new command (\defineinmargin vs. 
\definemargindata)
and how to customize these commands (\setupinmargin vs. \setupmargindata + 
\setupmarginframed).

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

2012-03-03 Thread S Barmeier
Great, thank you.

Just in case I missed it on the mailing list... Is there a way of
floating a margin text to the top/bottom of the page (aligning with the
top/bottom of the text area)?

 Could someone savant provide me with a rough overview of how to place
 text in a margin these days, or else point me to a reference. (I
 searched the garden without success.)
 
 
 You place them in the same way as you did it in the past:
 
 \starttext
 
 \input ward
 
 \inmargin{INMARGIN}
 
 \input ward
 
 \inleft {INLEFT}
 \inright{INRIGHT}
 
 \input ward
 
 \ininner{INNER}
 \inouter{OUTER}
 
 \input ward
 
 \stoptext
 
 What has changed is how to defined a new command (\defineinmargin vs. 
 \definemargindata)
 and how to customize these commands (\setupinmargin vs. \setupmargindata + 
 \setupmarginframed).
 
 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] how to keep inmargin texts above the base of the page

2011-02-27 Thread Dinh Tran
Hello.

If I have a lot of inmargin or margintext, they will extend into the base of
the page (defined by bottomspace).  Is there a way to remedy this by some
setup?  This was compiled with xetex option b/c inmargin stack doesn't fully
work in mkiv.

Thanks,
Dinh

--
\setuppapersize[letter][letter]

% margins etc.
\setuplayout[location=middle,
  topspace=1.87cm,
  header=0cm,
  width=middle,
  cutspace=3.1cm, %From right edge of paper to right of text area
  height=fit,
  backspace=6.1cm, %from left edge of paper to left of text area
  rightmargin=1.5cm,
  leftmargin=3.7cm,
  leftmargindistance=1cm, %from right of leftmargin to left of textbody
  bottomspace=1.62cm,
  footer=1.49cm,
%  grid=yes, % to align text on a grid.  If this is on, setupwhitespace and
setupinterlinespace doesn't work.
  setup=strict]

\showframe

\setupinmargin[stack=yes]

\starttext

\dorecurse{25}{This is some text in the page.\margintext{This is text in the
margin.} \par}

\stoptext


sample-inmargin_exceed_boundary.pdf
Description: Adobe PDF document


sample-margintext_exceed_boundary.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] inmargin problem in mkiv with luatex when specified with stack

2011-02-25 Thread Wolfgang Schuster

Am 25.02.2011 um 05:20 schrieb Dinh Tran:

 Hello,
 
 Running the following context code doesn't seem to work with context 
 --luatex.  Works with context --xetex however.

It works in a (currently private) beta but stacking isn’t perfect yet.

BTW: The --luatex switch isn’t necessary to run MkIV.

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] inmargin problem in mkiv with luatex when specified with stack

2011-02-24 Thread Dinh Tran
Hello,

Running the following context code doesn't seem to work with context
--luatex.  Works with context --xetex however.

--
\setuplayout[backspace=5cm,margin=3cm,margindistance=.5cm,width=middle]
\setupinmargin[stack=yes]

\starttext

A\margintext{A} B\margintext{B}.

C\inmargin{C} D\inmargin{D}.

\stoptext

-
I get the following error:

11   C\inmargin{C} D\inmargin{D}.
12
13 \stoptext
14


\ctxcommand ...\directlua \zerocount {commands.#1}

\@@ar@@1 ...se \currentposition \previousposition
  {\scratchskip \dimexpr
\MP...
\redoloop -\expandrecursecontent
  \endofloop
to be read again
   {
inserted text
2
\dodoloop ...mexpr \recurselevel +\plusone \relax
  }
...
l.11 C
  \inmargin{C} D\inmargin{D}.

%Dinh


stack_inmargin-xetex.pdf
Description: Adobe PDF document


stack_inmargin-luatex.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] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-27 Thread Otared Kavian
Thanks to Wolfgang and Renaud for sharing all this…

However, Renaud, I didn't notice what you says about having « É » in the title: 
it seems that everything works as expected: see
http://dl.dropbox.com/u/4316076/inmargin-fullwidth-1.pdf

(using, ConTeXt  ver: 2010.11.26 22:49 MKIV, on MacOS 10.6.5).
Best regards: OK

On 26 nov. 2010, at 20:25, Renaud AUBIN wrote:

 Hi Wolfgang,
 
 First, thank you!
 
 Now, if I use some accentuated letters in title (the É just after the
 second subsection and before \input zapf), there is an unwanted vertical
 space… Bug, feature or misuse???
 Could you confirm the bug? (the resulting pdf:
 http://dl.dropbox.com/u/5289718/testWolfgang.pdf)
 
 I use the latest minimals on debian 64.
 
 Test −−
 \setupbodyfont[10pt]
 
 \setuplayout
  [leftedge=0mm,
   leftmargin=45mm,
   rightedge=0mm,
   rightmargin=0mm,
   backspace=60mm,
   topspace=10mm,
   bottomspace=10mm,
   header=0mm,
   headerdistance=0mm,
   footer=0mm,
   footerdistance=0mm,
   margindistance=0mm,
   height=middle,
   width=middle,
   grid=yes]
 
 \setuppagenumbering[state=stop]
 
 \setuphead[section]   [style=,command=\SectionCommand]
 \setuphead[subsection][style=,command=\SubsectionCommand]
 
 \define[2]\SectionCommand
  {\inleftmargin{\leftaligned{\structuretitle}}%
   \blackrule
 [ width=\textwidth,
  height=+.3\lineheight,
   depth=-.2\lineheight]}
 
 \define[2]\SubsectionCommand
   {\vbox\bgroup
  \inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
  {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
 %  \blank
  {\em\structureuservariable{info}}%
\egroup}
 
 \starttext
 
 \startsection[title={A Section}]
 
 \startsubsection
  [title={The detailled topic (which takes more than one line)}]
  [date={The date},topic={Knuth’s topic},info={some text}]
 
 \input knuth
 
 \stopsubsection
 
 \startsubsection
  [title={Éhe detailled topic (which takes more than one line)}]
  [date={Another date},topic={Zapf},info={some text}]
 
 É
 \input zapf
 
 \stopsubsection
 
 \startsubsection
  [title={The detailled topic (which takes more than one line)}]
  [date={Another date},topic={Zapf},info={some text}]
 
 \input zapf
 
 \stopsubsection
 
 \stopsection
 
 \startsection[title={Section}]
 
 \startsubsection
  [title={Some details}]
  [date={A date},topic={Tufte}]
 
 \input tufte
 
 \stopsubsection
 
 \stopsection
 
 \stoptext
 
 −
 
 
 
 ___
 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
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 aveue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr



___
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] \inmargin / full textwidth line interaction (was Toward the use of inleft…)

2010-11-26 Thread Wolfgang Schuster

Am 25.11.2010 um 21:27 schrieb Renaud AUBIN:

 Since my previous post doesn't seem inspiring at all (sniff), here is a
 simplified and more precise description of what need to be done:
 
 [...]

\setupbodyfont[10pt]

\setuplayout
  [leftedge=0mm,
   leftmargin=45mm,
   rightedge=0mm,
   rightmargin=0mm,
   backspace=60mm,
   topspace=10mm,
   bottomspace=10mm,
   header=0mm,
   headerdistance=0mm,
   footer=0mm,
   footerdistance=0mm,
   margindistance=0mm,
   height=middle,
   width=middle,
   grid=yes]

\setuppagenumbering[state=stop]

\setuphead[section]   [style=,command=\SectionCommand]
\setuphead[subsection][style=,command=\SubsectionCommand]

\define[2]\SectionCommand
  {\inleftmargin{\leftaligned{\structuretitle}}%
   \blackrule
 [ width=\textwidth,
  height=+.3\lineheight,
   depth=-.2\lineheight]}

\define[2]\SubsectionCommand
   {\vbox\bgroup
  \inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
  {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
  \blank
  {\em\structureuservariable{info}}%
\egroup}

\starttext

\startsection[title={A Section}]

\startsubsection
  [title={The detailled topic (which takes more than one line)}]
  [date={The date},topic={Knuth’s topic},info={some text}]

\input knuth

\stopsubsection

\startsubsection
  [title={The detailled topic (which takes more than one line)}]
  [date={Another date},topic={Zapf},info={some text}]

\input zapf

\stopsubsection

\stopsection

\startsection[title={Section}]

\startsubsection
  [title={Some details}]
  [date={A date},topic={Tufte}]

\input tufte

\stopsubsection

\stopsection

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


[NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
Hi Wolfgang,

First, thank you!

Now, if I use some accentuated letters in title (the É just after the
second subsection and before \input zapf), there is an unwanted vertical
space… Bug, feature or misuse???
Could you confirm the bug? (the resulting pdf:
http://dl.dropbox.com/u/5289718/testWolfgang.pdf)

I use the latest minimals on debian 64.

Test −−
\setupbodyfont[10pt]

\setuplayout
  [leftedge=0mm,
   leftmargin=45mm,
   rightedge=0mm,
   rightmargin=0mm,
   backspace=60mm,
   topspace=10mm,
   bottomspace=10mm,
   header=0mm,
   headerdistance=0mm,
   footer=0mm,
   footerdistance=0mm,
   margindistance=0mm,
   height=middle,
   width=middle,
   grid=yes]

\setuppagenumbering[state=stop]

\setuphead[section]   [style=,command=\SectionCommand]
\setuphead[subsection][style=,command=\SubsectionCommand]

\define[2]\SectionCommand
  {\inleftmargin{\leftaligned{\structuretitle}}%
   \blackrule
 [ width=\textwidth,
  height=+.3\lineheight,
   depth=-.2\lineheight]}

\define[2]\SubsectionCommand
   {\vbox\bgroup
  \inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
  {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
%  \blank
  {\em\structureuservariable{info}}%
\egroup}

\starttext

\startsection[title={A Section}]

\startsubsection
  [title={The detailled topic (which takes more than one line)}]
  [date={The date},topic={Knuth’s topic},info={some text}]

\input knuth

\stopsubsection

\startsubsection
  [title={Éhe detailled topic (which takes more than one line)}]
  [date={Another date},topic={Zapf},info={some text}]

É
\input zapf

\stopsubsection

\startsubsection
  [title={The detailled topic (which takes more than one line)}]
  [date={Another date},topic={Zapf},info={some text}]

\input zapf

\stopsubsection

\stopsection

\startsection[title={Section}]

\startsubsection
  [title={Some details}]
  [date={A date},topic={Tufte}]

\input tufte

\stopsubsection

\stopsection

\stoptext

−



___
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? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
Ok, that seems to be due to grid=yes…

Le 26/11/2010 20:25, Renaud AUBIN a écrit :
 \setupbodyfont[10pt]

 \setuplayout
   [leftedge=0mm,
leftmargin=45mm,
rightedge=0mm,
rightmargin=0mm,
backspace=60mm,
topspace=10mm,
bottomspace=10mm,
header=0mm,
headerdistance=0mm,
footer=0mm,
footerdistance=0mm,
margindistance=0mm,
height=middle,
width=middle,
grid=yes]

 \setuppagenumbering[state=stop]

 \setuphead[section]   [style=,command=\SectionCommand]
 \setuphead[subsection][style=,command=\SubsectionCommand]

 \define[2]\SectionCommand
   {\inleftmargin{\leftaligned{\structuretitle}}%
\blackrule
  [ width=\textwidth,
   height=+.3\lineheight,
depth=-.2\lineheight]}

 \define[2]\SubsectionCommand
{\vbox\bgroup
   \inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
   {\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
 %  \blank
   {\em\structureuservariable{info}}%
 \egroup}

 \starttext

 \startsection[title={A Section}]

 \startsubsection
   [title={The detailled topic (which takes more than one line)}]
   [date={The date},topic={Knuth’s topic},info={some text}]

 \input knuth

 \stopsubsection

 \startsubsection
   [title={Éhe detailled topic (which takes more than one line)}]
   [date={Another date},topic={Zapf},info={some text}]

 É
 \input zapf

 \stopsubsection

 \startsubsection
   [title={The detailled topic (which takes more than one line)}]
   [date={Another date},topic={Zapf},info={some text}]

 \input zapf

 \stopsubsection

 \stopsection

 \startsection[title={Section}]

 \startsubsection
   [title={Some details}]
   [date={A date},topic={Tufte}]

 \input tufte

 \stopsubsection

 \stopsection

 \stoptext

___
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] \inmargin / full textwidth line interac tion (was Toward the use of inleft…)

2010-11-25 Thread Renaud AUBIN
Since my previous post doesn't seem inspiring at all (sniff), here is a
simplified and more precise description of what need to be done:

1 − I need a full textwidth black line as separator with a short title
centered vertically at left
2 − This separator must be followed by text, and the inbetween vertical
space must be configurable (i.e. .5lineheight or a full lineheight
doesn't satisfy me)

My first idea has been to combine a vertically centered line with inleft
or inmargin but that introduces an annoying afterspace…
Another idea could be to combine some \hairlines or full textwidth
fillinline but then don't know how to vertically align my inmargin text…

−−− TEST
\setuplayout[reset]
\setuplayout[
  location=singlesided,
  leftedge=0mm,
  leftmargin=25mm,
  rightedge=0mm,
  rightmargin=0mm,
  backspace=40mm,
  topspace=10mm,
  bottomspace=10mm,
  header=0mm,
  headerdistance=0mm,
  footer=0mm,
  footerdistance=0mm,
  margindistance=0mm,
  height=fit,
  width=fit,
  grid=yes]

\setuppagenumbering[state=stop]

\setupinmargin[style=normal,align=outer]

\starttext

\inmargin{blurp}{\line{\leaders\hbox{\vrule width 1pt height .5\strutht
depth -\dimexpr.5\strutht-\linewidth\relax} \hfil}}
This is not a test

\stoptext
−−−
___
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] \section{\inmargin{}} doesn't work in MkIV

2010-06-04 Thread Hans Hagen

On 2-6-2010 10:35, Rogutės Sparnuotos wrote:

I've quickly run a (MkII) document under MkIV after updating to
2010.05.27, but it didn't compile (perhaps this is related to the other
interaction bugs in MkIV):

\setupinteraction[state=start]
\starttext
\section{\inmargin{}}
\stoptext


using inmargin inside a title is sort of unpredictable

\margintitle{...}

\section{...}

with margintext=yes in the head setup might work better


-
  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] \section{\inmargin{}} doesn't work in MkIV

2010-06-02 Thread Rogutės Sparnuotos
I've quickly run a (MkII) document under MkIV after updating to
2010.05.27, but it didn't compile (perhaps this is related to the other
interaction bugs in MkIV):

\setupinteraction[state=start]
\starttext
\section{\inmargin{}}
\stoptext

-- 
--  Rogutės Sparnuotos
___
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] \startitemize[4,inmargin]

2010-01-20 Thread Vedran Miletić
Hi,

I'm working on three-column document and I would like to put symbols a
bit closer to text (but still leave them in margin). Is there an
option that does it? I tried with margin=, width= and distance=, but
it put them outside the margin and turned symbols into black dots, and
that's not quite what I wanted.

Regards,

-- 
Vedran Miletić
___
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] \inmargin followed by \startlines = alignment fault?

2009-05-14 Thread Corsair
On Thu, May 14, 2009 at 09:11:04AM +0200, Hans Hagen wrote:
 Corsair wrote:
  Hi guys,
  
  I find that the `lines' environment (or description, itemize, etc.)
  after text in margin does not align right.  Consider the following
  code:
 
 in that case you can try \margintext {...} which saves the note and 
 flushes it later

Wow~  It works.  Thank you very much!  I should read the manual more
carefully next time :-p.

-- 
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force.


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


[NTG-context] \inmargin followed by \startlines = alignment fault?

2009-05-13 Thread Corsair
Hi guys,

I find that the `lines' environment (or description, itemize, etc.)
after text in margin does not align right.  Consider the following
code:

\starttext
\inmargin{What I want}
First line \crlf
Second line

\vskip 1cm

\inmargin{What it renders}
\startlines
  First line
  Second line
\stoplines
\stoptext

The \crlf approach is the effect I want while the `lines' approach
fails to do it.  So is it a feature or a bug?  Or I understand
something totally wrong?  I know I can put the \inmargin in the
`lines' environment, but this time I really need it outside.

Thanks.

Corsair
-- 
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force.


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


[NTG-context] inmargin

2007-06-29 Thread Hans van der Meer
I was thinking that things placed in the margin (\inmargin,\inright, 
\inleft) would not take up vertical space, but it seems to do just  
that inside an itemize.


Example:

\starttext
\textwidth=4cm
\hairline
%(1)
\startitemize[n,joinedup]
\item abc
\item cde
\stopitemize
\hairline
%(2)
% This seems to me the logical place for the remark.
\startitemize[n,joinedup]   \inright{pqr}  %  squeezing spaces does  
not help

\item abc
\item cde
\stopitemize
\hairline
%(3)
\startitemize[n,joinedup]
% But it has to be placed here to get the result wanted.
\item abc   \inright{pqr}
\item cde
\stopitemize
\hairline
\stoptext

I wanted a remark in the right margin logically applying to the  
itemize as a whole.
Placing it as in (2) looked the right way, but then the next item is  
placed lower on the page. That becomes a problem when a nested  
itemize is put there resulting in an empty line at the first  
itemmarker. Placing the \inright on the first item of the inner  
itemize seems an illogical place to me. It is, of course, not really  
problem because trial (3) shows how to avoid this.


Still the question remains if there is some misbehaviour here in  
either the code for \inright or for \itemize? Therefore I am pointing  
this out just in case it might reveal a more or less subtle bug too  
more wiser ConTeXt-brains then mine.


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


Re: [NTG-context] Chapter/section text inmargin

2006-07-11 Thread Jason Knight
Thanks, Taco -- this gets me going in the direction I want to go.

jason

Taco Hoekwater wrote:
 
 Jason Knight wrote:
 
I'm attempting to do some formatting similar to Bringhurst's Elements of
 Typographic Style and am getting a bit stymied, where section titles
are in the margin right next to the text.

Here's what I've got so far in ConTeXt (and it gets me close):

\setupheads[sectionnumber=no]
\setuphead[chapter][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[section][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[subsection][textcommand=\inmargin,style=\scx,before=\nowhitespace,after=\nowhitespace]

This places the chapter/section/subsection titles in the margin alright,
but it is still above the text it refers to. How do I get it alongside?
 
 
 The head is always at least one line high, even if it is in the margin. 
 Something as simple as this may be sufficient for you needs:
 
\setuphead
  [section]
  [textcommand=\inmargin,
   style=\tfa,
   before=\nowhitespace,
   after={\kern -12pt}]
 
 Good luck, Taco
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 

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


[NTG-context] Chapter/section text inmargin

2006-07-03 Thread Jason Knight
I'm attempting to do some formatting similar to Bringhurst's Elements of
 Typographic Style and am getting a bit stymied, where section titles
are in the margin right next to the text.

Here's what I've got so far in ConTeXt (and it gets me close):

\setupheads[sectionnumber=no]
\setuphead[chapter][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[section][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[subsection][textcommand=\inmargin,style=\scx,before=\nowhitespace,after=\nowhitespace]

This places the chapter/section/subsection titles in the margin alright,
but it is still above the text it refers to. How do I get it alongside?

Thanks for your help!

Jason Knight

-- 
Jason Knight
Systems-Analyst-at-large
They fix 'em, I break 'em. Thus, analysis.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Bug with 'inmargin' head-setup in Beta

2006-06-28 Thread Hans Hagen
Johannes Graumann wrote:
 Hello,

 Consider this code example - the section titles are preceded by inapropriate
 vertical whitespace.

 \setupheads[alternative=inmargin]
 \starttext
   \section{Hello}
 \subsection{Wie geht's?}
   \subsubsection{Gut'n Tach!}
 \stoptext
   
ah  ... wrong inheritance

 \c!strut=\@@koindentnext,

should be 

\c!strut=\@@kostrut,

i'll fix it 

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
-

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


Re: [NTG-context] Bug with 'inmargin' head-setup in Beta

2006-06-28 Thread Johannes Graumann
Hans Hagen wrote:

  \c!strut=\@@koindentnext,
 
 should be
 
 \c!strut=\@@kostrut,

That indeed fixes it.

Joh

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


[NTG-context] Bug with 'inmargin' head-setup in Beta

2006-06-27 Thread Johannes Graumann
Hello,

Consider this code example - the section titles are preceded by inapropriate
vertical whitespace.

\setupheads[alternative=inmargin]
\starttext
  \section{Hello}
\subsection{Wie geht's?}
  \subsubsection{Gut'n Tach!}
\stoptext

Joh

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


Re: [NTG-context] \inmargin footnotes

2006-01-11 Thread Taco Hoekwater


I can verify the problem, but I do not know what is wrong.

Taco

Charles Doherty wrote:

Dear all,

When I put a footnote reference within \inmargin

 \setupinmargin[style=\tfxx\setupinterlinespace]

he sent one of his followers to the man of God to put out his  rekindled 
fire \inmargin{This is a reference to the \italic{tellach} 
\footnote{Cf.\ Fergus Kelly, \slanted{A Guide to Early Irish Law},  68.} 
procedure for laying claim to land.} and ordered him to be  expelled 
from the territory.


When the footnote is typeset the footnote number is placed beneath  the 
first line of the footnote text. What can I do to have the  footnote 
number in its normal position?


Thanks,
Charlie


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

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


[NTG-context] placefigure inmargin; inmargin justification

2005-05-11 Thread David Wooten
Greetings all,
I've been experimenting a little with margin-notes, and am wondering  
if there is support for running the inmargin text around a figure, e.g.

\inmargin{\placefigure[left]{none}{\externalfigure[Figgy][width=4em]}  
Interesting words.}

The above places the figure and the text on top of each other.
It also appears that there is no option in an inmargin text to have  
both-sides-justified. Is this a general stylistic assumption? In this  
instance, my margins are to be unusually large.

And finally, if it's simply the case here, is there a nice way to  
achieve a similar result (as margin notes) on multiple pages, two- 
sided, where the main text width runs normally from page to page? I'm  
thinking of perhaps pseudo-columns.

Thanks,
David Wooten
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-09 Thread Hans Hagen
Taco Hoekwater wrote:
If there are a lot of margin notes, this can clutter the output
considerably, and that's not so much a problem, but an annoyance.
I've run into this as well, in context as well as in latex and
in my own macros. The problem is usually something like:
i've added a \dontcomplain to the main macro now
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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-09 Thread Idris Samawi Hamid
Hi Hans

Could you send me/post a copy of the modified macro/file (I'm at a 
mission-critical stage on a project and don't want to install a new beta 
before it's 
done unless absolutely necessary-)

Also, is there a similar \dontcomplain fix for \start-\stopalignment[left] 
(underfull hbox)?

Idris
= Original Message From Hans Hagen [EMAIL PROTECTED] =
 If there are a lot of margin notes, this can clutter the output
 considerably, and that's not so much a problem, but an annoyance.
 I've run into this as well, in context as well as in latex and
 in my own macros. The problem is usually something like:

i've added a \dontcomplain to the main macro now


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-08 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
Taco, any more hacks up your sleeve?
;-)
And thank you very much for the last ones!
It seems you have a working solution now, but
I'll look into this next week to see if I we can
come up with a more permanent solution.
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-08 Thread Hans Hagen
Idris Samawi Hamid wrote:
CORRECTION: should be
===
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
\def\INMARGIN#1{{\advance\leftskip by -2\parindent
\inmargin{#1}
\advance\rightskip by -2\parindent}}
===
can you make me a minimal example showing the problem?
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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-08 Thread Taco Hoekwater
Hans Hagen wrote:
can you make me a minimal example showing the problem?
Idris' original example shows the 'problem':
  \setupindenting[medium]
  \starttext
  \input knuth \inmargin{This is a test.}
  \stoptext
The output will be fine, but there will be one  'Overfull hbox'
message printed on the terminal for each \inmargin command.
If there are a lot of margin notes, this can clutter the output
considerably, and that's not so much a problem, but an annoyance.
I've run into this as well, in context as well as in latex and
in my own macros. The problem is usually something like:
   \vbox{\hsize 0pt \dontleavehmode}
Greetings, Taco

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


RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-08 Thread Idris Samawi Hamid
= Original Message From Hans Hagen [EMAIL PROTECTED] =
can you make me a minimal example showing the problem?

Sure, here are 2: both produce overfull hboxes.

All the best
Idris
==
\setupoutput[pdftex]%

\setupindenting[medium]

\starttext

\input knuth \inmargin{This is a test.}

\stoptext


log=
systems : begin file test at line 5
(c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex)
Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7
[][]

\hbox(10.41603+4.05064)x0.0
.\hbox(0.0+0.0)x17.62474
.\hbox(10.41603+4.05064)x0.0
.\rule(10.41603+4.05064)x0.0
.\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 1
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0
===

===
\setupoutput[pdftex]%

\definestartstop
[quote]
[before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]

\starttext

\startquote

\input knuth \inmargin{This is a test.}

\stopquote

\stoptext
==


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
Hi Taco,
Ok your hack works for small files but in my larger work this is causing TeX's 
capacity to overload (indeed, I don't think I've run into this particular 
overload message before; does the `255' signify some ceiling here?):
The definition is not recursive, but it should not be executed more 
than once because it saves the definition of \inmargin. Perhaps 
you have the \let line inside another macro or inside a buffer that 
is called more than once something similar.

If you can't figure out what goes wrong, send me a file please?
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
I placed your definition in a \start-\stopenvironment file. The \inmargins are 
in \product files each of which calls the environment file in its preamble. If 
I compile just one product (say the second \product from the project), there 
appears to be no problem. But if I compile the entire project, TeX chokes on 
that same product.

Do you think this may be the problem?
Yes, because the environment file is read twice, you need a guard against 
redefining the redefinition. Placing a guard around it, like this, should work:
 \expandafter\ifx\csname normalinmargin \endcsname  \relax \else
   \let\normalinmargin\inmargin
   \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
 \fi
(yes, that is an ugly hack, but it is one I can write withour actually having 
to test it before sending :))
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Idris Samawi Hamid
Hi Taco and all,

More on \inmargin and overfull boxes: If I define, e.g. a quote \start-stop 
the overfull boxes come back, even with Taco's definition:

==
\setupoutput[pdftex]%
\setupindenting[medium]

\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt\normalinmargin{#1}}}

\definestartstop
  [quote]
  [before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]

\starttext

\startquote

\input knuth \inmargin{This is a test.}

\input knuth {\parindent0pt\inmargin{This is a test.}}

\stopquote

\stoptext
==

Taco, any more hacks up your sleeve?
;-)

And thank you very much for the last ones!

Best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Idris Samawi Hamid
Hi Taco and all,

I found a temporary solution: Given a \start-\stopnarrower environment like

===
\definestartstop
  [quote]
  [before={\startnarrower[1*middle]\blank[big]},
after={\stopnarrower\blank[big]}]
===

Then the following will avoid the overfull box:

===
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}

\def\INMARGIN#1{\advance\leftskip by -2\parindent
\inmargin{#1}
\advance\rightskip by -2\parindent}
===

Of course this solution is not general, and depends on the actual setup of 
\start-\stopnarrower. The general problem with \inmargin appears to be that 
all parindents need to be reset.

I could not find a correct way to incorporate my solution above into Taco's 
original definition. If any of you have a better idea, please let me know!

Best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Idris Samawi Hamid
CORRECTION: should be

===
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}

\def\INMARGIN#1{{\advance\leftskip by -2\parindent
\inmargin{#1}
\advance\rightskip by -2\parindent}}
===


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: Fwd: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-06 Thread Taco Hoekwater
Hi Idris,
It's definately a \parindent, but I cannot figure whence it came.
Anyway, if you need an immediate fix, the following hack works:
  \let\normalinmargin\inmargin
  \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
Greetings, Taco
Idris Samawi Hamid wrote:
Hi gang,
I sent this about ten days ago; trying again:-)
Best
Idris
--- Forwarded message ---
Dear cartel,
Here is one for you-) If you uncomment the \setupindenting you will get an
overfull hbox; a real nuisance when you have dozens of \inmargin's...
Awaiting advice:-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: Fwd: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-06 Thread Idris Samawi Hamid
Hi Taco,
On Fri, 06 May 2005 08:46:04 +0200, Taco Hoekwater [EMAIL PROTECTED] 
wrote:

Hi Idris,
It's definately a \parindent, but I cannot figure whence it came.
Anyway, if you need an immediate fix, the following hack works:
   \let\normalinmargin\inmargin
   \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
Thank you for the fix; I'll test it after work.
This is interesting, because the original output looks fine in the 
argument to \inmargin, there is no actual indentation going on...

Thnx again
Idris
--- Forwarded message ---
Dear cartel,
Here is one for you-) If you uncomment the \setupindenting you will get 
an
overfull hbox; a real nuisance when you have dozens of \inmargin's...
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-06 Thread Idris Samawi Hamid
Hi Taco,

Ok your hack works for small files but in my larger work this is causing TeX's 
capacity to overload (indeed, I don't think I've run into this particular 
overload message before; does the `255' signify some ceiling here?):

===
! TeX capacity exceeded, sorry [grouping levels=255].
\normalinmargin #1-{
 \parindent 0pt \normalinmargin {#1}}
\normalinmargin ...indent 0pt \normalinmargin {#1}
  }
\normalinmargin ...indent 0pt \normalinmargin {#1}
  }
\normalinmargin ...indent 0pt \normalinmargin {#1}
  }
\normalinmargin ...indent 0pt \normalinmargin {#1}
  }
\normalinmargin ...indent 0pt \normalinmargin {#1}
  }
...
=

Although if I implement this manually it does not overload TeX:

===
\setupoutput[pdftex]%

\setupindenting[medium]

%\let\normalinmargin\inmargin
%\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}

\starttext

\input knuth {\parindent0pt\inmargin{This is a test.}}

\stoptext
===

Something about that pseudo-recursive definition I suppose? It may take a 
while for me to narrow this new problem down to a small file, but I can 
privately send you the larger files if you care to look at this.

Thnx 4 all your help.

Best
Idris

= Original Message From Taco Hoekwater [EMAIL PROTECTED] =
Hi Idris,

It's definately a \parindent, but I cannot figure whence it came.
Anyway, if you need an immediate fix, the following hack works:


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Fwd: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-05 Thread Idris Samawi Hamid
Hi gang,
I sent this about ten days ago; trying again:-)
Best
Idris
--- Forwarded message ---
Dear cartel,
Here is one for you-) If you uncomment the \setupindenting you will get an
overfull hbox; a real nuisance when you have dozens of \inmargin's...
Awaiting advice:-)
Best
Idris
==
\setupoutput[pdftex]%
%\setupindenting[medium]
\starttext
\input knuth \inmargin{This is a test.}
\stoptext

log=
systems : begin file test at line 5
(c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex)
Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7
[][]
\hbox(10.41603+4.05064)x0.0
.\hbox(0.0+0.0)x17.62474
.\hbox(10.41603+4.05064)x0.0
..\rule(10.41603+4.05064)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 1
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0
===
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-04-26 Thread Idris Samawi Hamid
Dear cartel,
Here is one for you-) If you uncomment the \setupindenting you will get an 
overfull hbox; a real nuisance when you have dozens of \inmargin's...

Awaiting advice:-)

Best
Idris

==
\setupoutput[pdftex]%

%\setupindenting[medium]

\starttext

\input knuth \inmargin{This is a test.}

\stoptext


log=
systems : begin file test at line 5
(c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex)
Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7
[][]

\hbox(10.41603+4.05064)x0.0
.\hbox(0.0+0.0)x17.62474
.\hbox(10.41603+4.05064)x0.0
..\rule(10.41603+4.05064)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 1
.\glue(\parfillskip) 0.0 plus 1.0fil
.\glue(\rightskip) 0.0
===


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] space in \inmargin

2004-09-15 Thread Martin Kolarík
Hi all,

there is probably somewhere a space in some macro called inside \inmargin.
See example:

\starttext

\setbox0\hbox{\inmargin{XX}}

\showbox0

A\box0 B

\stoptext

and a part of log with \showbox0:

\hbox(10.41603+4.05064)x3.91663
.\glue 3.91663 plus 1.95831 minus 1.30554
.\hbox(10.41603+4.05064)x0.0
...

The first glue inside hbox seems to be product of \inmargin. Does somebody
know where the space is? I did not dig into sources yet,

have a nice day and thanks,

Martin

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


[NTG-context] Re: inmargin text problems remain

2003-10-31 Thread Patrick Gundlach
Willi Egger [EMAIL PROTECTED] writes:

Hello Willi and others,


 Does anybody see the clue, how to tell Context to use the full marginwidth?

I strongly believe that this is a bug. left/right should change to
inner/outer on doublesided layout. But it does not (really):

\showframe
\setuppagenumbering [alternative=doublesided]
\setuplayout[backspace=1cm,leftmargin=.5cm]
\starttext
\dorecurse{4}{\input tufte \inleft{\the\hsize}\inright{\the\hsize} \page}
\showsetups
\stoptext

I have no idea what is going on. 

Patrick
-- 
You are your own rainbow!
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] inmargin text problems remain

2003-10-16 Thread Bill McClain
On Thu, 16 Oct 2003 14:57:12 +0200
Willi Egger [EMAIL PROTECTED] wrote:

 Does anybody see the clue, how to tell Context to use the full
 marginwidth?

The problem is that notes in the left page outer margin do not use the
full margin width, right? If you change your setup to
use leftmargin=18mm it will match the outer margin on the right pages,
which is already set to 18mm.

If this case, rightmargin and leftmargin seem to refer to the outer
margins on the right and left pages, not the outer and gutter margins on
a single page.

-Bill
-- 
Sattre PressThe King in Yellow
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://kiy.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \inmargin{} problems with typsetting inmargin texts

2003-10-12 Thread Bill McClain
On Sun, 12 Oct 2003 22:20:30 +0200
Willi Egger [EMAIL PROTECTED] wrote:

 The strange thing is, that on lefthandpages the inmargin text 
 is typset in the left (outer) margin but it is typeset on two lines, 
 indicating that the measures of the leftmargin of the righthandpage is
 used.

Does \showframe show symmetrical left and right margin areas?

I have a margin notes example on my help page. I define the right and
left margin areas explicitly like so:

\setuplayout[backspace=0.9375in, width=3.25in,
rightmargindistance=.25in, rightmargin=1.125in,
leftmargindistance=.25in, leftmargin=1.125in]
\setuppagenumbering[alternative=doublesided]

-Bill
-- 
Sattre PressCuriosities of the Sky
http://sattre-press.com/by Garrett Serviss
[EMAIL PROTECTED]http://csky.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Pagenumber Footnotenumber - inmargin

2003-09-09 Thread Steffen Wolfrum
Hi,

ConTeXt seems to have two different interpretations of inmargin:

\setuppagenumbering [alternative=doublesided,location={header,inmargin}]

isn't the same as

\setupfootnotedefinition[location=inmargin]

How can I place the footnote's number into the margin the same way as 
the pagenumber is?
(I mean to place both numbers above/under each other on even pages)

Thank you,

Steffen

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


  1   2   >