Re: [NTG-context] Numbering in Table of Content

2010-08-12 Thread Cedric Mauclair
Hi,

You could also use the \chapter command but in the front matter as it
has no number there (and do not increment the counter either).

Best regards.

-- Cédric



On Thu, Aug 12, 2010 at 03:08, Martin Althoff martin.alth...@yahoo.com wrote:
 Basically I need a few
 unnumbered entries at the top of the table (like abstract,
 acknowledgements, etc)

 Rio,

 I handle this through using the unnumbered sectioning (\title, \subject..) 
 and then a

 \definecombinedlist [content][title,chapter]

 Essentially you add title to the already predefined list or combindedlist 
 content. Read contextref for details. This then generates a TOC with 
 \completecontent which includes the unnumbered sections/headers.

 Regarding the numbering, you might gleen that from the sample document here:

 http://wiki.contextgarden.net/Biochemistry_textbook


 It all kind of goes like this:

 \starttext

 \startfrontmatter
 \setuppagenumbering[conversion=romannumerals]
 \completecontent
 \stopfrontmatter

 \startbodymatter
 \setuppagenumbering[conversion=]
 \setuppagenumber[number=1]
 \title {Introduction}
 \dorecurse{5}{\input tufte\par}
 \chapter{Some Stuff}
 \dorecurse{5}{\input tufte\par}
 \stopbodymatter
 \stoptext


 best, Martin



 ___
 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] interesting LaTeX package for flowing text

2010-08-12 Thread luigi scarso
On Wed, Aug 11, 2010 at 11:54 PM, Piotr Kopszak kops...@gmail.com wrote:
 Columns are excellent, no doubt, but as far as I understand them, they
 don't allow to flow text to boxes in arbitrary locations.

Sorry, I meant
www.pragma-ade.com/general/manuals/columns.pdf


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] interesting LaTeX package for flowing text

2010-08-12 Thread Piotr Kopszak
Yes, I delved pretty deep in columns but could not find a solution for
a problem I finally decided to tackle with Scribus.
I have text pepperred with tiny drawings which are surrounded by text
on all sides. Sometimes as much as 8 drawings per page in changing
locations. The only, rather painstaking, solution is to divide all
text areas into boxes on layers BUT each box has to have the text of
exact length input manually, which in my opinion is completely
unfeasible. Well, unless you want to spend couple of years.
Fortunately, it was the only case when I had to  give up ConTeXt in
almost ten years.

Piotr

2010/8/12 luigi scarso luigi.sca...@gmail.com:
 On Wed, Aug 11, 2010 at 11:54 PM, Piotr Kopszak kops...@gmail.com wrote:
 Columns are excellent, no doubt, but as far as I understand them, they
 don't allow to flow text to boxes in arbitrary locations.

 Sorry, I meant
 www.pragma-ade.com/general/manuals/columns.pdf


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

 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___




-- 
http://okle.pl
___
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] interesting LaTeX package for flowing text

2010-08-12 Thread luigi scarso
On Thu, Aug 12, 2010 at 10:17 AM, Piotr Kopszak kops...@gmail.com wrote:
 Yes, I delved pretty deep in columns but could not find a solution for
 a problem I finally decided to tackle with Scribus.
 I have text pepperred with tiny drawings which are surrounded by text
 on all sides. Sometimes as much as 8 drawings per page in changing
 locations. The only, rather painstaking, solution is to divide all
 text areas into boxes on layers BUT each box has to have the text of
 exact length input manually, which in my opinion is completely
 unfeasible. Well, unless you want to spend couple of years.
 Fortunately, it was the only case when I had to  give up ConTeXt in
 almost ten years.
I don't know if it's your  case
but shapepar (search on ctan) maybe can help.
Anyway, it's an idea to build a module to integrate scribus into context

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] an issues with resume module

2010-08-12 Thread views63
Oh,sorry. I mean the results of \setresumevalue{mobile}
{mobile(optional)} only “mobile (optional)} ”
 missing  symbol of mobile(see the picture)So,I have to do use
\setresumevalue{mobile} {\symbol[martinvogel 2][Mobilephone]mobile
(optional)} ,
but the symbol of \symbol[martinvogel 2][FAX] upward bias than the
baseline. The order of \setresumevalue{quote}{Some quote (optional)}
is invalid.

--
Best regards,

Huang Ze

2010/8/12 Wolfgang Schuster schuster.wolfg...@googlemail.com:
  Am 11.08.10 02:12, schrieb views63:

 BTW: In the old version beta some symbol is invalid such as
 \setresumevalue{mobile}

 I’m sorry but I don’t know what you mean.

 Wolfgang


attachment: LaTeX moderncv.gifattachment: modify resumetest-classic.gifattachment: original resumetest-classic.gif___
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] lettrine and setupalign cause Overfull \hbox errors

2010-08-12 Thread Taco Hoekwater


Martin Althoff wrote:
 Both are attempting to do something special with the
 paragraph
 shape, and the interaction is causing trouble.
 
 Taco, thanks. Does that mean I have either live with it or forget about left 
 alignment?

For the moment, at least. Lettrine could be made smarter in mkiv,
but I have no time.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] caught in the grid

2010-08-12 Thread Steffen Wolfrum

Am 12.08.2010 um 00:31 schrieb Hans Hagen:

 On 11-8-2010 9:49, Steffen Wolfrum wrote:
 Hi,
 
 
 as there is no setup for paragraphs (see thread before), I really don' know 
 how to come out of this trap:
 
 I need a tight interlinespace for the normal body text, but no lunatic 
 headings!!
 
 
 Have a look, please:
 
 I have no time now. I will document the grid snapper once I've finished the 
 (still somewhat experimental) mechanism.



OK. ... Just to avoid basic mistakes:

What is right syntax (direct/indirect)?
The results differ (see below) ...

Steffen



\definegridsnapping[MyGrid][no]

%\setuplayout[grid=no] % - alternative a
\setuplayout[grid=MyGrid] % - alternative b

\showgrid


\setuphead[chapter]

\starttext
   \chapter{one} \input tufte
   \chapter{one\\two}\input tufte
   \chapter{one\\two\\three} \input tufte
\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] caught in the grid

2010-08-12 Thread Piotr Kopszak
You can play with embedding \section inside \start and
\stoplinecorrection to get rid of overlapping, but I'm not sure if
it's the right thing to do.

Piotr

2010/8/12 Steffen Wolfrum cont...@st.estfiles.de:

 Am 12.08.2010 um 00:31 schrieb Hans Hagen:

 On 11-8-2010 9:49, Steffen Wolfrum wrote:
 Hi,


 as there is no setup for paragraphs (see thread before), I really don' know 
 how to come out of this trap:

 I need a tight interlinespace for the normal body text, but no lunatic 
 headings!!


 Have a look, please:

 I have no time now. I will document the grid snapper once I've finished the 
 (still somewhat experimental) mechanism.



 OK. ... Just to avoid basic mistakes:

 What is right syntax (direct/indirect)?
 The results differ (see below) ...

 Steffen

 

 \definegridsnapping[MyGrid]    [no]

 %\setuplayout[grid=no] % - alternative a
 \setuplayout[grid=MyGrid] % - alternative b

 \showgrid


 \setuphead[chapter]

 \starttext
   \chapter{one}             \input tufte
   \chapter{one\\two}        \input tufte
   \chapter{one\\two\\three} \input tufte
 \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
 ___




-- 
http://okle.pl
___
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] \version[temporary] doesn't show registers

2010-08-12 Thread Michael Murphy
As far as I understand it, \version[temporary] should show the registers 
(for example, the indexed values) in each page in the margin. But it 
doesn't. Has this command changed?


--
Michael Murphy MPhys

___
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] caught in the grid

2010-08-12 Thread Hans Hagen

On 12-8-2010 12:30, Piotr Kopszak wrote:

You can play with embedding \section inside \start and
\stoplinecorrection to get rid of overlapping, but I'm not sure if
it's the right thing to do.


there will be more control over nested snapping

as said, the current mechanism is experimental

-
  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] \version[temporary] doesn't show registers

2010-08-12 Thread Hans Hagen

On 12-8-2010 12:47, Michael Murphy wrote:

As far as I understand it, \version[temporary] should show the registers
(for example, the indexed values) in each page in the margin. But it
doesn't. Has this command changed?


in mkiv this is not (yet) supported


-
  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] caught in the grid

2010-08-12 Thread Steffen Wolfrum
This can only be used in single, controlled situations.
Look what happens when the section is to be placed at top of page:

\definegridsnapping[MyGrid] [off]
\showframe

\starttext

\setuplayout[grid=MyGrid]

\switchtobodyfont[42pt]
\setupinterlinespace[line=30pt]

Big text\crlf written in\crlf three row

\startlinecorrection
\section{One\\Two\\Three}
\stoplinecorrection

Big text\crlf written in\crlf three row

Big text\crlf written in\crlf three row

\startlinecorrection
\section{One\\Two\\Three}
\stoplinecorrection

Big text\crlf written in\crlf three row

\stoptext


Steffen



Am 12.08.2010 um 12:30 schrieb Piotr Kopszak:

 You can play with embedding \section inside \start and
 \stoplinecorrection to get rid of overlapping, but I'm not sure if
 it's the right thing to do.
 
 Piotr
 
 2010/8/12 Steffen Wolfrum cont...@st.estfiles.de:
 
 Am 12.08.2010 um 00:31 schrieb Hans Hagen:
 
 On 11-8-2010 9:49, Steffen Wolfrum wrote:
 Hi,
 
 
 as there is no setup for paragraphs (see thread before), I really don' 
 know how to come out of this trap:
 
 I need a tight interlinespace for the normal body text, but no lunatic 
 headings!!
 
 
 Have a look, please:
 
 I have no time now. I will document the grid snapper once I've finished the 
 (still somewhat experimental) mechanism.
 
 
 
 OK. ... Just to avoid basic mistakes:
 
 What is right syntax (direct/indirect)?
 The results differ (see below) ...
 
 Steffen
 
 
 
 \definegridsnapping[MyGrid][no]
 
 %\setuplayout[grid=no] % - alternative a
 \setuplayout[grid=MyGrid] % - alternative b
 
 \showgrid
 
 
 \setuphead[chapter]
 
 \starttext
   \chapter{one} \input tufte
   \chapter{one\\two}\input tufte
   \chapter{one\\two\\three} \input tufte
 \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
 ___
 
 
 
 
 -- 
 http://okle.pl
 ___
 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] ConTeXt meeting programme

2010-08-12 Thread Jano Kula

Hello,

the preliminary programme was updated with the TeXperience 2010 talks on 
Saturday and Sunday:

http://meeting.contextgarden.net/2010/programme.shtml

Jano
http://meeting.contextgarden.net/2010/


On 08/05/2010 02:02 PM, Taco Hoekwater wrote:


Hi all,

Jano has put up the preliminary programme for our meeting:

http://meeting.contextgarden.net/2010/programme.shtml

For those of you that are still in doubt or simply waiting with
registration: As Jano wrote last week, the registration is still open
and will remain open until we reach the available capacity. But it
is possible that the maximum capacity actually *will* be reached,
so it is not wise to delay your decision until the very last moment.

Hope to see you in Brejlov,

Taco


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt meeting programme

2010-08-12 Thread Henning Hraban Ramm


Am 2010-08-12 um 15:02 schrieb Jano Kula:


Hello,

the preliminary programme was updated with the TeXperience 2010  
talks on Saturday and Sunday:

http://meeting.contextgarden.net/2010/programme.shtml


a printable version would be nice - white text on a dark background is  
either invisible (if I disable printing backgrounds) or needs too much  
ink/toner...



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] ConTeXt meeting programme

2010-08-12 Thread Peter Rolf
Am 12.08.2010 15:51, schrieb Henning Hraban Ramm:
 
 Am 2010-08-12 um 15:02 schrieb Jano Kula:
 
 Hello,

 the preliminary programme was updated with the TeXperience 2010 talks
 on Saturday and Sunday:
 http://meeting.contextgarden.net/2010/programme.shtml
 
 a printable version would be nice - white text on a dark background is
 either invisible (if I disable printing backgrounds) or needs too much
 ink/toner...

You can try the Firefox menu 'Ansicht--Websiten-Stil--Kein Stil'
(probably 'view--website style--no style' in (d)english). No eye candy
but printer conform.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt meeting programme

2010-08-12 Thread Jano Kula

Hi,

On 08/12/2010 03:51 PM, Henning Hraban Ramm wrote:


Am 2010-08-12 um 15:02 schrieb Jano Kula:


Hello,

the preliminary programme was updated with the TeXperience 2010 talks
on Saturday and Sunday:
http://meeting.contextgarden.net/2010/programme.shtml


a printable version would be nice - white text on a dark background is
either invisible (if I disable printing backgrounds) or needs too much
ink/toner...



Printable PDF above the programme. Be aware the program is still in 
development: http://meeting.contextgarden.net/2010/programme.pdf


Jano
http://meeting.contextgarden.net/2010/

___
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] \startnarrower as \abstract in LaTeX and bottom layer as footnote without markers

2010-08-12 Thread Xan

Hi,

I try to duplicate this [http://arxiv.org/abs/0901.1458] article to 
ConTeXt. The original article was written in LaTeX. I have to troubles 
in this duplication:


- abstract: I emulate LaTeX abstract environment with \startnarrower 
... \stopnarrower, as this 
[http://wiki.contextgarden.net/Article_Abstracts] wiki page suggests. 
But I see that the space between lines is much bigger in ConTeXt than 
LaTeX and that if we put $n^2$ for example in abstract, ConTeXt displays 
too big, as a normal text, instead of LaTeX where all is \small sized.


- for the other hand, I want to put a layer as a footnote without 
markers. In the original article it begins with Date:  How can I 
achieve that?


- Finally, I want to put my name and title alternatively in the 
headertexts, in odd and even pages. How can I do that?



Anyone could help me?

Thanks a lot,
Xan.

PS: Please CC-me.
___
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] ConTeXt meeting programme

2010-08-12 Thread Henning Hraban Ramm

Am 2010-08-12 um 16:22 schrieb Peter Rolf:
a printable version would be nice - white text on a dark background  
is
either invisible (if I disable printing backgrounds) or needs too  
much

ink/toner...

You can try the Firefox menu 'Ansicht--Websiten-Stil--Kein Stil'
(probably 'view--website style--no style' in (d)english). No eye  
candy

but printer conform.


Good idea, should have thought of switching off styles myself (in  
Safari it's in the Developer menu); the meals stay dark, but that's ok.



Am 2010-08-12 um 17:04 schrieb Jano Kula:
Printable PDF above the programme. Be aware the program is still in  
development: http://meeting.contextgarden.net/2010/programme.pdf


Thank you, but every day on a single page is a bit too much paper...

BTW: Looks like Excel - would look better with ConTeXt ;-)
Sorry for nagging.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] Footnote texts mistakenly appearing on page prior to call up

2010-08-12 Thread Elias Oltmanns
Hi there,

the document attached below produces rather unexpected results. Even
though footnote number 6 is called for on page 3, the associated
footnote text appears on the previous page. Using location=page in the
footnote setup restores the expected behaviour, but in this case the
footnote text does not wrap at the end of the margin but is cut off
instead. This cannot even be prevented by setting
width=\rightmarginwidth in the footnote setup.

Any ideas? (This is with MkIV)

Elias


\setuplayout[backspace=5cm,width=middle,rightmarginwidth=3cm,rightmargindistance=1mm]
\setupalign[line]
\setupnote[footnote][location=text,rule=off,align=right]
\setupnotedefinition[footnote][location=left]
\setuptexttexts[margin][][
  {\framed[frame=off,offset=none,align=low,height=\textheight,width=broad]
{\placenotes[footnote]}}]
\starttext
\dorecurse{10}{%
  \section{Section}
  As Knuth himself wrote\footnote{See knuth.tex (part of
every \CONTEXT--distribution)}: \input knuth\par}
\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] \startnarrower as \abstract in LaTeX and bottom layer as footnote without markers

2010-08-12 Thread Wolfgang Schuster

Am 12.08.10 17:29, schrieb Xan:

Hi,

I try to duplicate this [http://arxiv.org/abs/0901.1458] article to
ConTeXt. The original article was written in LaTeX. I have to troubles
in this duplication:

- abstract: I emulate LaTeX abstract environment with \startnarrower
... \stopnarrower, as this
[http://wiki.contextgarden.net/Article_Abstracts] wiki page suggests.
But I see that the space between lines is much bigger in ConTeXt than
LaTeX and that if we put $n^2$ for example in abstract, ConTeXt displays
too big, as a normal text, instead of LaTeX where all is \small sized.

- for the other hand, I want to put a layer as a footnote without
markers. In the original article it begins with Date:  How can I
achieve that?

- Finally, I want to put my name and title alternatively in the
headertexts, in odd and even pages. How can I do that?



\definedelimitedtext
 [abstract]
 [leftmargin=yes,
  spacebefore=line,
  before=\smallbodyfont]

\setupheadertexts[\midaligned{Title}][][\midaligned{Ben Lee User}][]

\starttext

\footnotetext[-]{Date: \currentdate}

\startabstract
\WORD{Abstract:} \input ward
\stopabstract

\dorecurse{10}{\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] ConTeXt meeting programme

2010-08-12 Thread Jano Kula

On 08/12/2010 05:31 PM, Henning Hraban Ramm wrote:

Am 2010-08-12 um 17:04 schrieb Jano Kula:

Printable PDF above the programme. Be aware the program is still in
development: http://meeting.contextgarden.net/2010/programme.pdf


Thank you, but every day on a single page is a bit too much paper...

BTW: Looks like Excel - would look better with ConTeXt ;-)
Sorry for nagging.


It is an exercise on rearranging pages in mkiv to use less paper. If 
still too much, then Read Out Loud in Acrobat Reader.


J.

___
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] checking for module parameters

2010-08-12 Thread Philipp Gesang
Hi,

is there a way to check whether an option was specified through \usemodule?
Couldn't find anything like that in core-fil.mkiv.

I'd imagined some branching as with the system macros:

·· Wishful thinking ···

\doifmoduleparameter{modulename}{key}  % in the module code
  {\somecommand[\moduleparameter{modulename}{key}]}

\usemodule % user code
  [modulename]
  [key=val]

· /Wishful thinking ···

Thanks for any suggestions,

Philipp

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


pgpVHD5ZklFoi.pgp
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Numbering in Table of Content

2010-08-12 Thread Riobard
Hi Martin,

I tried this 

---
\starttext

\startfrontmatter
\setuppagenumbering[conversion=romannumerals]

\title{Title}
\subject{Abstract}
\subject{Acknowledgements}
\definecombinedlist [content][title,subject,chapter]
\completecontent

\stopfrontmatter

\startbodymatter
\setuppagenumbering[conversion=]
\setuppagenumber[number=1]
\title {Introduction}
\dorecurse{5}{\input tufte\par}
\chapter{Some Stuff}
\dorecurse{5}{\input tufte\par}
\stopbodymatter
\stoptext


and it doesn't work. The title and subject parts never get into the generated 
TOC. Any idea why? Thanks very much! 



Rio

On 2010-08-12, at 03:08, Martin Althoff wrote:

 
 I handle this through using the unnumbered sectioning (\title, \subject..) 
 and then a 
 
 \definecombinedlist [content][title,chapter]

___
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] Roman page numbers

2010-08-12 Thread Hongwen Qiu

 于 2010年08月13日 00:21, Wolfgang Schuster 写道:

Should be \setupuserpagenumber.

Thanks, this works.
___
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] lettrine and setupalign cause Overfull \hbox errors

2010-08-12 Thread Martin Althoff

 For the moment, at least. Lettrine could be made smarter in
 mkiv, 

Good to know

 but I have no time.

I know that feeling! Not a big problem for me, I mean the errors. Good thing 
needs good time (Gut Ding braucht gut Weile.)

Take care, Martin



___
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] checking for module parameters

2010-08-12 Thread Wolfgang Schuster

 Am 13.08.10 00:20, schrieb Philipp Gesang:

Hi,

is there a way to check whether an option was specified through \usemodule?
Couldn't find anything like that in core-fil.mkiv.

I'd imagined some branching as with the system macros:

·· Wishful thinking ···

\doifmoduleparameter{modulename}{key}  % in the module code
   {\somecommand[\moduleparameter{modulename}{key}]}

\usemodule % user code
   [modulename]
   [key=val]

· /Wishful thinking ···

Thanks for any suggestions,


You can set a empty value for the kay in your module and check if the 
user has set a value with \usemodule:


\setupmodule[key=]

\doifsomething{\currentmoduleparameter{key}}{\setupsomething[key=\currentmoduleparameter{key}]}

For a better answer i have to know for what purpose you need this 
information.


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
___