Re: [NTG-context] columnar footnotes

2012-04-01 Thread Wolfgang Schuster

Am 31.03.2012 um 23:25 schrieb Pablo Rodríguez:

 I'm trying to get a particular footnote series in columns. The body and
 other footnotes and line notes have no columns.
 
 Consulting the wiki, I thought this is the right code for it:
 
 \setupcolumns[n=2]
 \definenote[dict]
 \setupnote[dict][before=\stopcolumns, after=\startcolumns]

\setupnote[dict][n=2]

The columns environment can only be used in the normal text.

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] columnar footnotes

2012-04-01 Thread Pablo Rodríguez
On 01/04/12 09:31, Wolfgang Schuster wrote:
 Am 31.03.2012 um 23:25 schrieb Pablo Rodríguez:
 [...]
 \setupcolumns[n=2]
 \definenote[dict]
 \setupnote[dict][before=\stopcolumns, after=\startcolumns]
 
 \setupnote[dict][n=2]
 
 The columns environment can only be used in the normal text.

Many thanks for your help, Wolfgang.

I'll add this to the wiki.


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
___


[NTG-context] sorting footnotes alphabetically

2012-04-01 Thread Pablo Rodríguez
Hi there,

I read in strc-not.mkvi that footnotes can be treated as lists. And the
reference manual deals in section 12.3 with sorting lists.

My basic sample is the following:

\definenote[dict]
\setupnotation[dict][number=no]
\starttext
This is my dictionary\dict{dictionary: vocabulario}
command\dict{command: orden} for a complex\dict{complex: complejo}
text\dict{text: texto}.
\stoptext

What I'm trying to achieve is that the \dict footnotes are sorted
alphabetically.

Adding the code from sorted lists, I get the following:

\definesorting[meaning][meanings]
\setupsorting[meaning][criterium=all]
\definenote[dict]
\setupnote[dict][number=no,command=\placelistofmeanings]
\setupnotation[dict][number=no,command=\meaning]
\starttext
This is my dictionary\dict{dictionary: vocabulario}
command\dict{command: orden} for a complex\dict{complex: complejo}
text\dict{text: texto}.
\stoptext

It compiles fine, but the footnotes aren't alphabetically sorted.

Is there any way to achieve this?

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] Strange errors on using setupheader

2012-04-01 Thread Malte Stien
Hi Wolfgang,

Thank you so much for that. It did work. And yes, I was wondering whether there 
was a more elegant way of doing this. This way of setting and using variables 
does not seem to be all that well documented; it's not in the ConTeXt Manual, 
presumably because it is new, right?

I think I mostly worked it out, though, except for: What does this line mean:

  set=\texsetup{titlepage}

Thank you again,
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] Strange errors on using setupheader

2012-04-01 Thread Hans Hagen

On 1-4-2012 12:35, Malte Stien wrote:

Hi Wolfgang,

Thank you so much for that. It did work. And yes, I was wondering whether there 
was a more elegant way of doing this. This way of setting and using variables 
does not seem to be all that well documented; it's not in the ConTeXt Manual, 
presumably because it is new, right?

I think I mostly worked it out, though, except for: What does this line mean:

   set=\texsetup{titlepage}


that the setup names 'titlepage' will be invoked each time after you set 
variables in this category so when you've set some titlepage properties 
a titlepage will be generated


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Using comma character inside chemical

2012-04-01 Thread Jaroslav Hajtmar

Hello all,

Is there a way to use comma character or semicolon character inside the 
chemical formula?

Comma character is used as a delimiter of individual items in the formula.

When is there command for example \lettertilde, is there something like 
\lettercomma (\charcomma), \lettersemicolon (\charcomma) and others 
nonalphanumerics characters (which would be used inside chemical or 
mathematical environment)?


Emergency, we can solve as follows:
\unexpanded\def\charcomma{,}
\chemical{0\charcomma5\cdot, etc.}

Is there is a more elegant solution?

Thanx
Jaroslav

___
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] Using comma character inside chemical

2012-04-01 Thread Hans Hagen

On 1-4-2012 15:15, Jaroslav Hajtmar wrote:

Hello all,

Is there a way to use comma character or semicolon character inside the
chemical formula?
Comma character is used as a delimiter of individual items in the formula.

When is there command for example \lettertilde, is there something like
\lettercomma (\charcomma), \lettersemicolon (\charcomma) and others
nonalphanumerics characters (which would be used inside chemical or
mathematical environment)?

Emergency, we can solve as follows:
\unexpanded\def\charcomma{,}
\chemical{0\charcomma5\cdot, etc.}

Is there is a more elegant solution?


normally

a,b,c,{,},d,e

works in comma separated lists


-
  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] Using comma character inside chemical

2012-04-01 Thread Jaroslav Hajtmar

Thanx Hans.
This is unexpectedly simple solution.  :-)
I can not believe it not occurred to me!

Thanks so much.

Jaroslav Hajtmar

Dne 1.4.2012 15:32, Hans Hagen napsal(a):

On 1-4-2012 15:15, Jaroslav Hajtmar wrote:

Hello all,

Is there a way to use comma character or semicolon character inside the
chemical formula?
Comma character is used as a delimiter of individual items in the 
formula.


When is there command for example \lettertilde, is there something like
\lettercomma (\charcomma), \lettersemicolon (\charcomma) and others
nonalphanumerics characters (which would be used inside chemical or
mathematical environment)?

Emergency, we can solve as follows:
\unexpanded\def\charcomma{,}
\chemical{0\charcomma5\cdot, etc.}

Is there is a more elegant solution?


normally

a,b,c,{,},d,e

works in comma separated lists


-
  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] Troubles with paragraph width in tabulate

2012-04-01 Thread Willi Egger
Hi,

I think there is a bug in the tabulate environment. When setting two columns 
with the p template without giving a width, all is well. However is I set the 
paragraph width to a specific value things go wrong. Please refer to the small 
example thereunder:

\starttext

\starttabulate[|p|p|]
\NC first \NC \input ward \NC\NR
\NC \input ward \NC second \NC\NR
\stoptabulate

\starttabulate[|p(3cm)|p(5cm)|]
\NC first \NC \input ward \NC\NR
\NC \input ward \NC second \NC\NR
\stoptabulate

\stoptext

Willi
___
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] sorting footnotes alphabetically

2012-04-01 Thread Wolfgang Schuster

Am 01.04.2012 um 12:15 schrieb Pablo Rodríguez:

 Hi there,
 
 I read in strc-not.mkvi that footnotes can be treated as lists. And the
 reference manual deals in section 12.3 with sorting lists.
 
 My basic sample is the following:
 
 \definenote[dict]
 \setupnotation[dict][number=no]
 \starttext
 This is my dictionary\dict{dictionary: vocabulario}
 command\dict{command: orden} for a complex\dict{complex: complejo}
 text\dict{text: texto}.
 \stoptext
 
 What I'm trying to achieve is that the \dict footnotes are sorted
 alphabetically.
 
 Adding the code from sorted lists, I get the following:
 
 \definesorting[meaning][meanings]
 \setupsorting[meaning][criterium=all]
 \definenote[dict]
 \setupnote[dict][number=no,command=\placelistofmeanings]
 \setupnotation[dict][number=no,command=\meaning]
 \starttext
 This is my dictionary\dict{dictionary: vocabulario}
 command\dict{command: orden} for a complex\dict{complex: complejo}
 text\dict{text: texto}.
 \stoptext
 
 It compiles fine, but the footnotes aren't alphabetically sorted.
 
 Is there any way to achieve this?

I’m sorry to disappoint you but notes can’t be sorted.

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] footnotes

2012-04-01 Thread Thomas A. Schmitz

hi all,

would a kind soul please enlighten me about the new footnote commands? I 
can't find a way to achieve what I was able to achieve in older 
versions. The following code is on the wiki. It is supposed to give us 
the footnote marker aligned with the text area, then some blank space, 
then the footnote text:


\definepapersize[wiki][width=8cm,height=8cm]

\setuppapersize[wiki][wiki]

\starttext

\showframe

\setupnote[footnote][margindistance=0em,command=\myfootnotecommand]
\setupnotation[footnote][location=left,hang=1]

\def\myfootnotecommand#1{\hbox to 1.5em{#1.}}

test \footnote{test}

\stoptext

It doesn't work with the current beta, and I' completely lost about
\setupnote[footnote]
\setupnotation[footnote]
\setupfootnotes

What is doing what now?

Thanks!

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

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


Re: [NTG-context] Typescript not found

2012-04-01 Thread Wolfgang Schuster

Am 30.03.2012 um 11:47 schrieb Hans Hagen:

 On 30-3-2012 01:12, S Barmeier wrote:
 On 03/29/2012 03:33 PM, Wolfgang Schuster wrote:
 
 Am 28.03.2012 um 09:32 schrieb S Barmeier:
 
 I have some typescript problems.
 
 The output says
 
 fonts  typescripts  unknown: library 'mytypescript'
 fonts  typescripts  unknown: library 'Myface'
 fonts  preloading latin modern fonts (third stage)
 
 In my environment file I have
 
 \usetypescriptfile[mytypescript]
 \usetypescript[MyIPAex]
 \setupbodyfont[Myface,rm,12pt]
 
 and the typescript file is in the same folder as the source files.
 
 What am I doing wrong?
 
 Has your typescript file “type-” as prefix?
 
 It did until recently, is that a problem? Now I called it mytypescript
 with an output just as above, i.e. still unable to find the typescript.
 
 There is some lookup-logic involved. If you have typescripts that need to b 
 eloaded explicitly or automatically, use type-imp-yourname.mkiv (or tex) 
 names. Alternatively you can just put the definitions in an environment that 
 you load as part of the document style.

I think it’s better to use “imp” only for files in the distribution and third 
party or user files should just use type-….tex|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
___


Re: [NTG-context] Typescript not found

2012-04-01 Thread Hans Hagen

On 1-4-2012 23:04, Wolfgang Schuster wrote:


I think it’s better to use “imp” only for files in the distribution and third party 
or user files should just use type-….tex|mkiv.


we have no strong rules for this so users are free to choose what they 
like; as long as they make sure that they use verbose names that are 
unlikely to clash


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Multiple font fallbacks

2012-04-01 Thread S Barmeier
I tried

\definefontfallback[fallback1]
\definefontfallback[fallback2]

and then

\definefontsynonym[][][fallbacks={fallback1,fallback2}]

and failed. What is the correct syntax?

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
___


[NTG-context] Text background broken frame

2012-04-01 Thread Kip Warner
Hey list,

The following minimal seems to identify a problem with making the frame
border's of text backgrounds vanish.

\definetextbackground[ExampleFrame]
   [frame=on]

\definetyping
[Example]
[before=\startExampleFrame,
after=\stopExampleFrame]

% To move footnotes inside of text boxes to the bottom of the page with
%  the rest of the footnotes. When uncommented, kills frame...
\kindofpagetextareas\plusone

\starttext
\startExample
Some text
\stopExample
\stoptext


If you comment out the \kindofpagetextareas\plusone line, it works fine.
Is this the expected behaviour? I am using it at the suggestion of Hans
to help mitigate a problem with footnotes inside of text boxes.

http://archive.contextgarden.net/message/20111222.082458.06567594.en.html

I am using ConTeXt version 2012.03.30 16:16.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Multiple font fallbacks

2012-04-01 Thread Wolfgang Schuster

Am 02.04.2012 um 03:31 schrieb S Barmeier:

 I tried
 
 \definefontfallback[fallback1]
 \definefontfallback[fallback2]
 
 and then
 
 \definefontsynonym[][][fallbacks={fallback1,fallback2}]
 
 and failed. What is the correct syntax?

Use the same name for both \definefontfallback calls.

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

2012-04-01 Thread Wolfgang Schuster

Am 02.04.2012 um 00:02 schrieb Alan Bowen:

 I have a product file
 
 \startproduct prd_Aestimatio_vol-09
 %prelims
 \setuppagenumber[numberconversion=romannumerals]
 \setuppagenumber[number=1]
 \setupfootnotes[conversion=numbers]
 
 \component c_A
 \component c_B
 \component c_C
 ...
 %text
 \setuppagenumber[numberconversion=numbers]
 \setuppagenumber[number=1]

\resetpagenumber

or use section blocks (frontpart, bodypart etc.) with block wise numbering.

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] TABLE not splitting across page boundary

2012-04-01 Thread Kip Warner
Hey list,

I am having difficulty getting my table to split across page boundaries.
It doesn't have, nor need, headers, but just individual unrelated rows.
Here is a minimal illustrating the problem I am having:

\starttext
Here is some text.
\placetable[force,nonumber,right]{}
{
\bTABLE[width=0.25\textwidth,split=yes]
\setupTABLE[column][1]
[align={middle,lohi},
 style=\bfxx,
 width=2.3cm]
\setupTABLE[column][2]
[align=flushleft,
 option=stretch]
\setupTABLE[each][each]
[style=\tfxx]

\bTABLEbody

\dorecurse{100}{
\bTR
  \bTC  body \eTC
  \bTC  body \eTC
\eTR
}

\eTABLEbody

\eTABLE
}

\stoptext

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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