[NTG-context] xtreme tables repeating header

2011-10-29 Thread Patrick Gundlach
Hi,

I can't get the repeating header to work with the new extreme tables (the new 
column A should be on the second page). What is the error here? 

Thanks

Patrick



\setuppapersize [a5][a5]

\starttext

\setupxtable
  [width=.5\textwidth,
   split=yes,
   header=repeat,
   footer=repeat]

\startxtable
 \startxtablehead
 \startxrow
  \startxcell  Column A \stopxcell
  \startxcell  Column B  \stopxcell
\stopxrow
\stopxtablehead
\startxtablenext
 \startxrow
  \startxcell  new column A \stopxcell
  \startxcell  new column B  \stopxcell
\stopxrow
\stopxtablenext
\startxtablebody
\startxrow
  \startxcell \vrule height  7cm \stopxcell
  \startxcell x \stopxcell
\stopxrow
\startxrow
  \startxcell \vrule height  7cm \stopxcell
  \startxcell x \stopxcell
\stopxrow
\startxrow
  \startxcell \vrule height  7cm \stopxcell
  \startxcell x \stopxcell
\stopxrow
\stopxtablebody

\stopxtable
\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] xtables-mkiv: Metadata of manual not stored in PDF metadata (was: beta)

2011-10-29 Thread Paul Menzel
Dear Hans,


Am Freitag, den 28.10.2011, 16:24 +0200 schrieb Hans Hagen:

 I uploaded a new beta. The biggest new thing is that there is yet 
 another table mechanism: extreme tables.

thank you for this new table.

 There is a manual too:
 
 http://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf

I just wanted to note that displaying the PDF properties (in Evince
using Alt + return) the title is just the file name and the author is
set to unknown.

Seeing that there is a colophon storing that metadata at the right place
should not be a problem, I guess.

[…]


Thanks,

Paul


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
___

[NTG-context] `\reference` does not print number

2011-10-29 Thread Paul Menzel
Dear ConTeXt folks,


using

ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.15  int: 
english/english

the example from the Wiki page for `\reference` [1] does not work.

\starttext
See page \ref[p][myref 1] and \ref[p][myref 2].
\page
\reference[myref 1]{} This is the first reference.
\page
\reference[myref 2]{} This is the second one.
\stoptext

The numbers are not printed into the resulting file. Please find the
source file and resulting PDF file attached.


Thanks,

Paul


[1] http://wiki.contextgarden.net/Reference/en/reference


test.pdf
Description: Adobe PDF document
\starttext
See page \ref[p][myref 1] and \ref[p][myref 2].
\page
\reference[myref 1]{} This is the first reference.
\page
\reference[myref 2]{} This is the second one.
\stoptext


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] `\reference` does not print number

2011-10-29 Thread Wolfgang Schuster

Am 29.10.2011 um 18:03 schrieb Paul Menzel:

 Dear ConTeXt folks,
 
 
 using
 
ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.15  int: 
 english/english
 
 the example from the Wiki page for `\reference` [1] does not work.
 
\starttext
See page \ref[p][myref 1] and \ref[p][myref 2].
\page
\reference[myref 1]{} This is the first reference.
\page
\reference[myref 2]{} This is the second one.
\stoptext
 
 The numbers are not printed into the resulting file. Please find the
 source file and resulting PDF file attached.

Use “page” as keyword for the first argument or get the pagenumber with 
“\at[myref 1]”.

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] ⅛ not displayed

2011-10-29 Thread Paul Menzel
Dear ConTeXt folks,


some fractions (input using Compose) are not displayed in the resulting
PDF files.

\starttext
⅛ ist $\frac18$.

½, ⅓, ¼, ⅕, ⅙, ⅛
\stoptext

I guess this is a font problem, but maybe fall backs could be added?


Thanks,

Paul


eigths.pdf
Description: Adobe PDF document
\starttext
⅛ ist $\frac18$.

½, ⅓, ¼, ⅕, ⅙, ⅛
\stoptext


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
___

[NTG-context] issue with section title and numbers in margin

2011-10-29 Thread Pablo Rodríguez
Hi there,

I would like to get section titles that have aalt (actually, smcp and
onum) and numbers in margin.

It works fine with the following code:

\setuphead[section][style=\sc\os,alternative=inmargin]
\starttext
\section{This is a title}
\input{knuth}
\stoptext

But in-margin numbers don't work when adding OT features:

\usemodule[simplefonts][size=12pt]
\setmainfont[TeX Gyre Pagella]
\definefontfeature[scttitle][default][aalt=yes]
\setuphead[section][style=,alternative=inmargin,command=\addfs{scttitle}]
\starttext
\section{This is a title}
\input{knuth}
\stoptext

Is there another way to add font features to \setuphead{} or have I hit
a bug?

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] issue with section title and numbers in margin

2011-10-29 Thread Wolfgang Schuster

Am 29.10.2011 um 19:29 schrieb Pablo Rodríguez:

 Hi there,
 
 I would like to get section titles that have aalt (actually, smcp and
 onum) and numbers in margin.
 
 It works fine with the following code:
 
 \setuphead[section][style=\sc\os,alternative=inmargin]
 \starttext
 \section{This is a title}
 \input{knuth}
 \stoptext
 
 But in-margin numbers don't work when adding OT features:
 
 \usemodule[simplefonts][size=12pt]
 \setmainfont[TeX Gyre Pagella]
 \definefontfeature[scttitle][default][aalt=yes]
 \setuphead[section][style=,alternative=inmargin,command=\addfs{scttitle}]

\definefontfeature[section][onum=yes,smcp=yes]
\setuphead[section][style=\tfa\addfs{section},alternative=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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] issue with section title and numbers in margin

2011-10-29 Thread Pablo Rodríguez
On 10/29/2011 07:51 PM, Wolfgang Schuster wrote:
 Am 29.10.2011 um 19:29 schrieb Pablo Rodríguez:

 But in-margin numbers don't work when adding OT features:

 \usemodule[simplefonts][size=12pt]
 \setmainfont[TeX Gyre Pagella]
 \definefontfeature[scttitle][default][aalt=yes]
 \setuphead[section][style=,alternative=inmargin,command=\addfs{scttitle}]
 
 \definefontfeature[section][onum=yes,smcp=yes]
 \setuphead[section][style=\tfa\addfs{section},alternative=inmargin]

Many thanks for your help, Wolfgang.

-- 
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] title numbering

2011-10-29 Thread Pablo Rodríguez
Hi there,

I have been searching in the documentation (ConTeXt Reference Manual,
ConTeXt: An Excursion and the wiki) and I don't know how to implement a
basic feature: different title numbers.

I want to have chapters numbered with Roman numbers and sections with
capital letters and that none of them contains any other number than its
own (no part or/and chapter in chapter or section titles).

How can I achieve that? I guess this is basic functionality, but I'm not
able to find it in the documentation.

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] ⅛ not displayed in Latin Modern

2011-10-29 Thread Paul Menzel
Dear ConTeXt folks,


Am Samstag, den 29.10.2011, 18:27 +0200 schrieb Paul Menzel:

 some fractions (input using Compose) are not displayed in the resulting
 PDF files.
 
 \starttext
 ⅛ ist $\frac18$.
 
 ½, ⅓, ¼, ⅕, ⅙, ⅛
 \stoptext
 
 I guess this is a font problem,

using XITS [1][2] (Is that the also the fonts name?), everything is
shown correctly.

\setupbodyfont[xits]

\starttext
⅛ ist $\frac18$.

½, ⅓, ¼, ⅕, ⅙, ⅛
\stoptext

 but maybe fall backs could be added?

Since I am wondering why ½ should work but not for example ⅛.


Thanks,

Paul


eigths.pdf
Description: Adobe PDF document
\setupbodyfont[xits]

\starttext
⅛ ist $\frac18$.

½, ⅓, ¼, ⅕, ⅙, ⅛
\stoptext


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] ⅛ not displayed in Latin Modern

2011-10-29 Thread Paul Menzel
Dear ConTeXt folks,


I forgot to append the links.

Am Samstag, den 29.10.2011, 23:12 +0200 schrieb Paul Menzel:

 Am Samstag, den 29.10.2011, 18:27 +0200 schrieb Paul Menzel:
 
  some fractions (input using Compose) are not displayed in the resulting
  PDF files.
  
  \starttext
  ⅛ ist $\frac18$.
  
  ½, ⅓, ¼, ⅕, ⅙, ⅛
  \stoptext
  
  I guess this is a font problem,
 
 using XITS [1][2] (Is that the also the fonts name?), everything is
 shown correctly.
 
 \setupbodyfont[xits]
 
 \starttext
 ⅛ ist $\frac18$.
 
 ½, ⅓, ¼, ⅕, ⅙, ⅛
 \stoptext
 
  but maybe fall backs could be added?
 
 Since I am wondering why ½ should work but not for example ⅛.


Thanks,

Paul


[1] https://github.com/khaledhosny/xits-math
[2] https://en.wikipedia.org/wiki/XITS_font_project


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
___

[NTG-context] No numbers with `\ref` and floats like `\placetable`

2011-10-29 Thread Paul Menzel
Dear ConTeXt folks,


I am sorry for another reference related question. Using

ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.15  int: 
english/english

the following example does not work. Either no number is shown or »??«.

\starttext

Table \ref[][tab:reference] is a nice table. But referencing does not 
work \ref[tab:reference].

\placetable[][tab:reference]
{The table should be set up better.}
{
\startluacode
context.bTABLE()
  context.bTR()
context.bTD() context(n) context.eTD()
for j=1,10 do
  context.bTD() context($10^{ .. j .. }$) context.eTD()
end
  context.eTR()
  t = { 1, 2, 4, 8 }
  for index, i in ipairs(t) do
context.bTR()
context.bTD() context($n^{ .. -i .. }$) context.eTD()
for j=1,10 do
  context.bTD() context(\%.4f, 10^(-j/i)) context.eTD()
end
context.eTR()
  end
context.eTABLE()
\stopluacode
}
\stoptext

Please find the source file and the resulting PDF file attached.


Thanks,

Paul


ref.pdf
Description: Adobe PDF document
\starttext

Table \ref[][tab:reference] is a nice table. But referencing does not work \ref[tab:reference].

\placetable[][tab:reference]
{The table should be set up better.}
{
\startluacode
context.bTABLE()
  context.bTR()
context.bTD() context(n) context.eTD()
for j=1,10 do
  context.bTD() context($10^{ .. j .. }$) context.eTD()
end
  context.eTR()
  t = { 1, 2, 4, 8 }
  for index, i in ipairs(t) do
context.bTR()
context.bTD() context($n^{ .. -i .. }$) context.eTD()
for j=1,10 do
  context.bTD() context(\%.4f, 10^(-j/i)) context.eTD()
end
context.eTR()
  end
context.eTABLE()
\stopluacode
}
\stoptext


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] No numbers with `\ref` and floats like `\placetable`

2011-10-29 Thread Andreas Harder

On 29.10.2011, at 23:47, Paul Menzel wrote:

 Dear ConTeXt folks,
 
 
 I am sorry for another reference related question. Using
 
ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.15  int: 
 english/english

That's also true for yesterdays beta.

\starttext
  \placeformula[eq:1]
  \startformula a+b \stopformula
  \in{Equation:}[eq:1]
\stoptext

Regards
Andreas

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

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