[NTG-context] Different behaviours between header and footer

2014-03-19 Thread Flavien Lambert
Dear all, in the following example, header and footer behave differently,
the frame at the bottom being out of the footer space. Could you tell me
how to obtain a frame inside the footer like the header one?
Thanks a lot,
Flavien.

\setupheadertexts[{\framed[frame=off,width=\textwidth,height=\headerheight]{not
offset}}][]
\setupfootertexts[{\framed[frame=on,height=\footerheight]{offset}}][]
\showframe
\starttext
\input knuth
\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] Blank page

2014-03-19 Thread Philippe Figon
Hello to you all,

Forgive me if this is a newbie question, but I can't understand why when I try 
to compile this :

--
\environment simple-env
\starttext
\chapter{}

This is an example

\stoptext


with simple-env file containing only 

-
\startenvironment simple-env
\setuppagenumbering[alternative=doublesided]
\setuphead
 [chapter] [page=right]
\stopenvironment
-

The text only appears on page 3 and I can't never make start on page 1.

But if I try this :


\setuppagenumbering[alternative=doublesided]
\setuphead
 [chapter] [page=right]

\starttext
\chapter{}

This is an example

\stoptext

--
 
It starts on page 1 as wanted.

Is there something with the environment inclusion?

Thanks
___
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] Blank page

2014-03-19 Thread Wolfgang Schuster

Am 18.03.2014 um 23:39 schrieb Philippe Figon philippe.fi...@gmail.com:

 Hello to you all,
 
 Forgive me if this is a newbie question, but I can't understand why when I 
 try to compile this :
 
 --
 \environment simple-env
 \starttext
 \chapter{}
 
   This is an example
 
 \stoptext
 
 
 with simple-env file containing only 
 
 -
 \startenvironment simple-env
 \setuppagenumbering[alternative=doublesided]
 \setuphead
 [chapter] [page=right]
 \stopenvironment
 -
 
 The text only appears on page 3 and I can't never make start on page 1.
 
 But if I try this :
 
 
 \setuppagenumbering[alternative=doublesided]
 \setuphead
 [chapter] [page=right]
 
 \starttext
 \chapter{}
 
 This is an example
 
 \stoptext
 
 --
 
 It starts on page 1 as wanted.
 
 Is there something with the environment inclusion?

I can’t reproduce you problem. To say what’s wrong you have to provide more 
information.

1. Which version do you use?

ConTeXt  ver: 2014.03.16 19:58 MKIV beta  fmt: 2014.3.19  int: 
english/english

2. Send us the test files (make a zip out of them) from your system because 
sometimes invisible characters are the cause for such problems.

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] \seeindex and secondary index (register) levels

2014-03-19 Thread Hans Hagen

On 3/19/2014 1:11 AM, Rik Kabel wrote:

How can I get \seeindex to refer to other than the top-level of an index
entry? In the following MWE, I would like to link to /text+more/, not
/text,/ and not /text+some/. That is, the highlight should include the
name of the lower level(s). The actual link should be to the page with
the entry for the reference text in the case that the top level is on
one page of the index and the secondary entry on the next page.

If this cannot be done, I can live with a separate \index{text, more}
entry, but that is ugly when there are other text+something entries.

I would also like to be able to specify the format of the reference,
perhaps with before/middle/after keys. This would allow /text - more/
or otherwise as my publisher's style guide may require.

\setupinteraction[state=start]

\starttext

Some text\index{text+some}.

More text\index{text+more}.

And more\seeindex{I want}{text+more} and more\seeindex{I get}{text}.

\placefootnotes

\placeindex

\stoptext


cheat: And more\seeindex{I want}{text{+}more} and more\seeindex{I 
get}{text}.



-
  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] Blank page

2014-03-19 Thread Philippe Figon
Thanks Wolfgang.

It was indeed a file problem. I opened and resaved the same files in Sublime 
text in place of Texshop 

and ran context from the terminal. Everything's just fine know. So I guess 
Texshop added some extra invisible

character that made chapter start on a new page.

 

Le 19 mars 2014 à 12:48, Wolfgang Schuster schuster.wolfg...@gmail.com a 
écrit :

 
 Am 18.03.2014 um 23:39 schrieb Philippe Figon philippe.fi...@gmail.com:
 
 Hello to you all,
 
 Forgive me if this is a newbie question, but I can't understand why when I 
 try to compile this :
 
 --
 \environment simple-env
 \starttext
 \chapter{}
 
  This is an example
 
 \stoptext
 
 
 with simple-env file containing only 
 
 -
 \startenvironment simple-env
 \setuppagenumbering[alternative=doublesided]
 \setuphead
[chapter] [page=right]
 \stopenvironment
 -
 
 The text only appears on page 3 and I can't never make start on page 1.
 
 But if I try this :
 
 
 \setuppagenumbering[alternative=doublesided]
 \setuphead
[chapter] [page=right]
 
 \starttext
 \chapter{}
 
 This is an example
 
 \stoptext
 
 --
 
 It starts on page 1 as wanted.
 
 Is there something with the environment inclusion?
 
 I can’t reproduce you problem. To say what’s wrong you have to provide more 
 information.
 
 1. Which version do you use?
 
ConTeXt  ver: 2014.03.16 19:58 MKIV beta  fmt: 2014.3.19  int: 
 english/english
 
 2. Send us the test files (make a zip out of them) from your system because 
 sometimes invisible characters are the cause for such problems.
 
 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
___

[NTG-context] suppressing console output

2014-03-19 Thread Lars Huttar
Hello,

I'm running context mkiv, version: 2013.05.28 00:36 (from the 2013 TeX
Live CD).
We're getting floods of output from context, including lots of Underfull
hboxes, and the names of .tex files that are being opened and closed.
This is all within a build script that does several other things besides
running context.
I'd like to suppress non-critical output from context so that other
important output from the script doesn't get so easily lost.
I'm already logging that output to a file, but I'd like to be able to
take advantage of the console as well.

I've tried the following command-line options to context, as suggested
by context --help:
--batchmode
--silent
--silent=typesetting
--noconsole

but none of these seem to have any effect on the output!
I could just have the script discard stdout from context; I'm not sure
how much of the output that would get rid of, but it may be good enough.
However it's not ideal.
(When an error occurs, as sometimes happens, I don't want the error
message and its context to be hidden while the console waits for the
user to respond blindly. I assume that would be on stderr anyway though...)

Can anyone tell me how to suppress non-critical messages from context as
it runs?

Thanks,
Lars

___
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] vertical alignment of margindata

2014-03-19 Thread Thomas A. Schmitz

Hi,

apologies for the slightly silly example, but I hope it shows my 
problem: from processing an xml file, I have material which is best 
typeset in some sort of table environment (I think). It also has some 
sort of sectioning mechanism which is displayed as margindata. If you 
typeset the example, you can see that these margindata are aligned to 
the bottom line of the table. Is there any way to make them align to the 
top? Bonus points if they are aligned with the content of the first 
table row (and not with the top border of the table).


Thanks and all best

Thomas

\setuppapersize [A5]

\setupbodyfont [times,12pt]

\definemargindata [SYM]  [left] [hoffset=1.5em,style=bold]

\starttext

\SYM{1} test

\blank[line]

\SYM{2} \dontleavehmode \startxtable
\startxrow
\startxcell
Hello
\stopxcell
\startxcell
			I want to make this line slightly longer to see what happens if it 
exceeds the width of the paper.

\stopxcell
\stopxrow
\startxrow
\startxcell
World
\stopxcell
\startxcell
this line can be shorter.
\stopxcell
\stopxrow
\stopxtable

\blank[line]

\SYM{3} \dontleavehmode \bTABLE
\bTR
\bTD
Hello
\eTD
\bTD
			I want to make this line slightly longer to see what happens if it 
exceeds the width of the paper.

\eTD
\eTR
\bTR
\bTD
World
\eTD
\bTD
this line can be shorter.
\eTD
\eTR
\eTABLE

\blank[line]

\SYM{4} \dontleavehmode \starttabulate[|lw(2cm)|p|]
\NC Hello \NC I want to make this line slightly longer to see what 
happens if it exceeds the width of the paper. \NC \NR

\NC World \NC this line can be shorter. \NC\NR
\stoptabulate

\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] suppressing console output

2014-03-19 Thread Aditya Mahajan

On Wed, 19 Mar 2014, Lars Huttar wrote:


Can anyone tell me how to suppress non-critical messages from context as
it runs?


There are two types of messages that ConTeXt generates: Messages that come 
from TeX engine and messages that come from ConTeXt macro code. If you use


context --noconsole filename

the messages from ConTeXt are suppressed. I don't know of a way to 
suppress messages that originate from TeX engine.


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

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


Re: [NTG-context] suppressing console output

2014-03-19 Thread Hans Hagen

On 3/19/2014 4:03 PM, Aditya Mahajan wrote:

On Wed, 19 Mar 2014, Lars Huttar wrote:


Can anyone tell me how to suppress non-critical messages from context as
it runs?


There are two types of messages that ConTeXt generates: Messages that
come from TeX engine and messages that come from ConTeXt macro code. If
you use

context --noconsole filename

the messages from ConTeXt are suppressed. I don't know of a way to
suppress messages that originate from TeX engine.


\dontcomplain

-
  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] suppressing console output

2014-03-19 Thread Aditya Mahajan

On Wed, 19 Mar 2014, Hans Hagen wrote:


On 3/19/2014 4:03 PM, Aditya Mahajan wrote:

On Wed, 19 Mar 2014, Lars Huttar wrote:


Can anyone tell me how to suppress non-critical messages from context as
it runs?


There are two types of messages that ConTeXt generates: Messages that
come from TeX engine and messages that come from ConTeXt macro code. If
you use

context --noconsole filename

the messages from ConTeXt are suppressed. I don't know of a way to
suppress messages that originate from TeX engine.


\dontcomplain


And what about these messages:

context --noconsole test

mtx-context | warning: no (local) file './test', proceeding
mtx-context | run 1: luatex 
--fmt=/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en 
--jobname=test 
--lua=/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui 
--no-parse-first-line --c:currentrun=1 --c:directives=logs.target=file 
--c:fulljobname=./test --c:input=./test --c:kindofrun=1 
--c:maxnofruns=8 --c:noconsole cont-yes.mkiv

This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627)
 \write18 enabled.
(/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.12.24 17:52 MKIV beta  fmt: 2013.12.24  int: 
english/english


(/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv) 
(/tmp/test.tex{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/pdftex/context/mkiv-base.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-math.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-rm.map} 
(/home/adityam/media/opt/context-minimals/texmf-context/tex/context/sample/knuth.tex) 
) 
)/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/opentype/public/lm/lmroman12-regular.otf

system  | total runtime: 0.495 seconds


Can one get rid of these?

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

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


Re: [NTG-context] suppressing console output

2014-03-19 Thread Lars Huttar
On 3/19/2014 11:09 AM, Hans Hagen wrote:
 On 3/19/2014 4:03 PM, Aditya Mahajan wrote:
 On Wed, 19 Mar 2014, Lars Huttar wrote:

 Can anyone tell me how to suppress non-critical messages from
 context as
 it runs?

 There are two types of messages that ConTeXt generates: Messages that
 come from TeX engine and messages that come from ConTeXt macro code. If
 you use

 context --noconsole filename

 the messages from ConTeXt are suppressed.

Thanks, Aditya. I will try adding a filename argument.
This does seem to get rid of a lot of non-critical output, though not
all, as you noted in your followup email.

 I don't know of a way to
 suppress messages that originate from TeX engine.

 \dontcomplain

Is there any documentation about what kinds of complaints this
suppresses? I couldn't find any in the usual places. Apparently it is a
ConTeXt command rather than a primitive TeX one.

Lars

___
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] suppressing console output

2014-03-19 Thread Hans Hagen

On 3/19/2014 4:15 PM, Aditya Mahajan wrote:

On Wed, 19 Mar 2014, Hans Hagen wrote:


On 3/19/2014 4:03 PM, Aditya Mahajan wrote:

On Wed, 19 Mar 2014, Lars Huttar wrote:


Can anyone tell me how to suppress non-critical messages from
context as
it runs?


There are two types of messages that ConTeXt generates: Messages that
come from TeX engine and messages that come from ConTeXt macro code. If
you use

context --noconsole filename

the messages from ConTeXt are suppressed. I don't know of a way to
suppress messages that originate from TeX engine.


\dontcomplain


And what about these messages:

context --noconsole test

mtx-context | warning: no (local) file './test', proceeding
mtx-context | run 1: luatex
--fmt=/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en
--jobname=test
--lua=/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui
--no-parse-first-line --c:currentrun=1 --c:directives=logs.target=file
--c:fulljobname=./test --c:input=./test --c:kindofrun=1
--c:maxnofruns=8 --c:noconsole cont-yes.mkiv
This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627)
  \write18 enabled.
(/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-yes.mkiv


ConTeXt  ver: 2013.12.24 17:52 MKIV beta  fmt: 2013.12.24  int:
english/english

(/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv)
(/tmp/test.tex{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/pdftex/context/mkiv-base.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-math.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-rm.map}
(/home/adityam/media/opt/context-minimals/texmf-context/tex/context/sample/knuth.tex)
)
)/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/opentype/public/lm/lmroman12-regular.otf


currently there is no callback for open/close file message but at some 
point we can also intercept these (low priority, to be done when the 
luatex io is cleaned up)


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] suppressing console output

2014-03-19 Thread Hans Hagen

On 3/19/2014 4:29 PM, Lars Huttar wrote:

On 3/19/2014 11:09 AM, Hans Hagen wrote:

On 3/19/2014 4:03 PM, Aditya Mahajan wrote:

On Wed, 19 Mar 2014, Lars Huttar wrote:


Can anyone tell me how to suppress non-critical messages from
context as
it runs?


There are two types of messages that ConTeXt generates: Messages that
come from TeX engine and messages that come from ConTeXt macro code. If
you use

context --noconsole filename

the messages from ConTeXt are suppressed.


Thanks, Aditya. I will try adding a filename argument.
This does seem to get rid of a lot of non-critical output, though not
all, as you noted in your followup email.


I don't know of a way to
suppress messages that originate from TeX engine.


\dontcomplain


Is there any documentation about what kinds of complaints this
suppresses? I couldn't find any in the usual places. Apparently it is a
ConTeXt command rather than a primitive TeX one.


\show\dontcomplain

if console output is slowing down a run make sure you have an efficient 
console (i use conemu on windows and on unixes i always make sure that i 
use a proper font); sometimes you can set delays (standard cmd on 
windows is char-by-char but there are variants); when one runs from an 
editor normally the drawbacks are neglectable (at leats in scite)


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] \seeindex and secondary index (register) levels

2014-03-19 Thread Rik Kabel

On 2014-03-19 08:30, Hans Hagen wrote:

On 3/19/2014 1:11 AM, Rik Kabel wrote:

How can I get \seeindex to refer to other than the top-level of an index
entry? In the following MWE, I would like to link to /text+more/, not
/text,/ and not /text+some/. That is, the highlight should include the
name of the lower level(s). The actual link should be to the page with
the entry for the reference text in the case that the top level is on
one page of the index and the secondary entry on the next page.

If this cannot be done, I can live with a separate \index{text, more}
entry, but that is ugly when there are other text+something entries.

I would also like to be able to specify the format of the reference,
perhaps with before/middle/after keys. This would allow /text - more/
or otherwise as my publisher's style guide may require.

\setupinteraction[state=start]

\starttext

Some text\index{text+some}.

More text\index{text+more}.

And more\seeindex{I want}{text+more} and more\seeindex{I get}{text}.

\placefootnotes

\placeindex

\stoptext


cheat: And more\seeindex{I want}{text{+}more} and more\seeindex{I 
get}{text}.




Hans,

This does not do anything different, and in particular it does not 
create a link.

Perhaps this new example better illustrates the problem:

   \setupinteraction[state=start]
   \setupregister[index][n=1]
   \setuppapersize[A7]
   \starttext

   \type{Dilbert} should be a link to the second-level on page~3 (or
   perhaps to the top level on page~2) in this example.

   \type{Dilbert} is \type{Adams+Scott} and \type{Catbert} is
   \type{Adams{+}Scott}. They link nowhere. \type{Dogbert} is
   \type{Adams}, which links to page~2.
   \index{Adams+Douglas}\index{Adams+Amy}\index{Adams+John}
   \index{Adams+John Quincy}\index{Adams+Sam}\index{Adams+Scott}
   \seeindex{Dilbert}{Adams+Scott}
   \seeindex{Catbert}{Adams{+}Scott}
   \seeindex{Dogbert}{Adams}
   \index{A}\index{AA}\index{AAA}\index{}\index{AB}\index{AAB}
   \index{ABB}\index{AABB}
   \page
   \placeindex
   \stoptext

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

Re: [NTG-context] suppressing console output

2014-03-19 Thread Lars Huttar
On 3/19/2014 11:33 AM, Hans Hagen wrote:
 On 3/19/2014 4:15 PM, Aditya Mahajan wrote:
 On Wed, 19 Mar 2014, Hans Hagen wrote:

 On 3/19/2014 4:03 PM, Aditya Mahajan wrote:
 On Wed, 19 Mar 2014, Lars Huttar wrote:

 Can anyone tell me how to suppress non-critical messages from
 context as
 it runs?

 There are two types of messages that ConTeXt generates: Messages that
 come from TeX engine and messages that come from ConTeXt macro
 code. If
 you use

 context --noconsole filename

 the messages from ConTeXt are suppressed. I don't know of a way to
 suppress messages that originate from TeX engine.

 \dontcomplain

 And what about these messages:

 context --noconsole test

 mtx-context | warning: no (local) file './test', proceeding
 mtx-context | run 1: luatex
 --fmt=/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en

 --jobname=test
 --lua=/home/adityam/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui

 --no-parse-first-line --c:currentrun=1 --c:directives=logs.target=file
 --c:fulljobname=./test --c:input=./test --c:kindofrun=1
 --c:maxnofruns=8 --c:noconsole cont-yes.mkiv
 This is LuaTeX, Version beta-0.76.0-2013040516 (rev 4627)
   \write18 enabled.
 (/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-yes.mkiv



 ConTeXt  ver: 2013.12.24 17:52 MKIV beta  fmt: 2013.12.24  int:
 english/english

 (/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv)

 (/tmp/test.tex{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/pdftex/context/mkiv-base.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-math.map}{/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/map/dvips/lm/lm-rm.map}

 (/home/adityam/media/opt/context-minimals/texmf-context/tex/context/sample/knuth.tex)

 )
 )/home/adityam/media/opt/context-minimals/texmf-fonts/fonts/opentype/public/lm/lmroman12-regular.otf


 currently there is no callback for open/close file message but at some
 point we can also intercept these (low priority, to be done when the
 luatex io is cleaned up)

 Hans


Thanks.
In our case these amount to pages and pages of output, because our
document consists of many many files that reference each other
(including images). So I would vote a big +1 for that change.

Lars

___
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] suppressing console output

2014-03-19 Thread Hans Hagen

On 3/19/2014 4:37 PM, Lars Huttar wrote:


In our case these amount to pages and pages of output, because our
document consists of many many files that reference each other
(including images). So I would vote a big +1 for that change.


doesn't --batchmode help then?

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

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


Re: [NTG-context] suppressing console output

2014-03-19 Thread Lars Huttar
On 3/19/2014 11:36 AM, Hans Hagen wrote:
 On 3/19/2014 4:29 PM, Lars Huttar wrote:


 Is there any documentation about what kinds of complaints this
 suppresses? I couldn't find any in the usual places. Apparently it is a
 ConTeXt command rather than a primitive TeX one.

 \show\dontcomplain


system  tex  error on line 2 in file
C:/Users/Huttar/Documents/work/tex/test-dontcomplain.tex: ? ...


1 \starttext

2  \show\dontcomplain

3 \stoptext

4


l.2 \show\dontcomplain


?


 if console output is slowing down a run make sure you have an
 efficient console (i use conemu on windows and on unixes i always make
 sure that i use a proper font); sometimes you can set delays (standard
 cmd on windows is char-by-char but there are variants); when one runs
 from an editor normally the drawbacks are neglectable (at leats in scite)


Thanks, the slowdown is one of our concerns. I will look into
alternative terminals.

Lars

___
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] Missinentries in index register

2014-03-19 Thread Hans Hagen

On 3/19/2014 4:50 PM, Rik Kabel wrote:

Another index register buglet, possibly a regression. Two entries should
be created, but only one appears. This does not occur with TL2013
context It does occur with the current (20140316) standalone beta.

\starttext
Why is there no AB entry in this index with current beta?
(Not a problem in TL2013.)
\index{AB}\index{AA}
\placeindex
\stoptext


that's a bug in mixed columns (now used) (turning off balancing shows 
two entries)


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] Endnotes bug

2014-03-19 Thread Hans Hagen

On 3/19/2014 12:58 AM, Rik Kabel wrote:

Using both TL2013 and the current standalone beta (2014-03-16) I see a
spurious comma in index entries referring to endnote locations. The
following MWE shows the problem:

\setupnote[footnote][location=none]
\starttext
Index in endnote.\footnote{\index{Why a comma?}Endnote.}
\placefootnotes
\placeindex
\stoptext


fixed (sort of) but i'm not sure about side effects

-
  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] Missinentries in index register

2014-03-19 Thread Rik Kabel
Another index register buglet, possibly a regression. Two entries should 
be created, but only one appears. This does not occur with TL2013 
context It does occur with the current (20140316) standalone beta.


   \starttext
   Why is there no AB entry in this index with current beta?
   (Not a problem in TL2013.)
   \index{AB}\index{AA}
   \placeindex
   \stoptext

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

Re: [NTG-context] vertical alignment of margindata

2014-03-19 Thread Hans Hagen

On 3/19/2014 3:57 PM, Thomas A. Schmitz wrote:

Hi,

apologies for the slightly silly example, but I hope it shows my
problem: from processing an xml file, I have material which is best
typeset in some sort of table environment (I think). It also has some
sort of sectioning mechanism which is displayed as margindata. If you
typeset the example, you can see that these margindata are aligned to
the bottom line of the table. Is there any way to make them align to the
top? Bonus points if they are aligned with the content of the first
table row (and not with the top border of the table).

Thanks and all best

Thomas

\setuppapersize [A5]

\setupbodyfont [times,12pt]

\definemargindata [SYM]  [left] [hoffset=1.5em,style=bold]


method=top


\starttext

\SYM{1} test

\blank[line]

\SYM{2} \dontleavehmode \startxtable
 \startxrow
 \startxcell
 Hello
 \stopxcell
 \startxcell
 I want to make this line slightly longer to see what
happens if it exceeds the width of the paper.
 \stopxcell
 \stopxrow
 \startxrow
 \startxcell
 World
 \stopxcell
 \startxcell
 this line can be shorter.
 \stopxcell
 \stopxrow
\stopxtable

\blank[line]

\SYM{3} \dontleavehmode \bTABLE
 \bTR
 \bTD
 Hello
 \eTD
 \bTD
 I want to make this line slightly longer to see what
happens if it exceeds the width of the paper.
 \eTD
 \eTR
 \bTR
 \bTD
 World
 \eTD
 \bTD
 this line can be shorter.
 \eTD
 \eTR
\eTABLE

\blank[line]

\SYM{4} \dontleavehmode \starttabulate[|lw(2cm)|p|]
\NC Hello \NC I want to make this line slightly longer to see what
happens if it exceeds the width of the paper. \NC \NR
\NC World \NC this line can be shorter. \NC\NR
\stoptabulate

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




--

-
  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] suppressing console output

2014-03-19 Thread Aditya Mahajan

On Wed, 19 Mar 2014, Lars Huttar wrote:


On 3/19/2014 11:36 AM, Hans Hagen wrote:

On 3/19/2014 4:29 PM, Lars Huttar wrote:



Is there any documentation about what kinds of complaints this
suppresses? I couldn't find any in the usual places. Apparently it is a
ConTeXt command rather than a primitive TeX one.


\show\dontcomplain



system  tex  error on line 2 in file
C:/Users/Huttar/Documents/work/tex/test-dontcomplain.tex: ? ...


context --pipe

mtx-context | entering scrollmode, end job with \endThis is LuaTeX, 
Version beta-0.76.0-2013040516 (rev 4627)

 \write18 enabled.

ConTeXt  ver: 2013.12.24 17:52 MKIV beta  fmt: 2013.12.24  int: 
english/english



system   'cont-new.mkiv' loaded
(/home/adityam/media/opt/context-minimals/texmf-context/tex/context/base/cont-new.mkiv)
system   files  jobname 'cont-new', input 'cont-new', result 
'cont-new'

fontslatin modern fonts are not preloaded
languageslanguage 'en' is active

*\show\dontcomplain

\dontcomplain=\protected macro:
-\hbadness \plustenthousand \vbadness \plustenthousand \hfuzz \maxdimen 
\vfuzz \maxdimen .


system   tex  error on line 0 in file : ? ...

empty file

* \show\dontcomplain


*

This gets rid of underfull overfull hbox messages.

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

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


[NTG-context] Index register page entry numbers missing

2014-03-19 Thread Rik Kabel
In the following example, page number entries in the index are not 
displayed when a blank line is inserted in the text, but do appear 
without that blank. This happens with both the current 20140316 
standalone beta and with TL2013.


(I noticed this constructing MWEs for other index register problems. It 
is likely not a problem in real life, but may provide insight into other 
issues.)


   \starttext
   Why do the entry page numbers disappear when a blank line follows
   this line, and reappear when the blank line is removed? (Current
   beta and TL2013.)

   \index{AA}
   \placeindex
   \stoptext

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

Re: [NTG-context] suppressing console output

2014-03-19 Thread Lars Huttar
On 3/19/2014 11:45 AM, Hans Hagen wrote:
 On 3/19/2014 4:37 PM, Lars Huttar wrote:

 In our case these amount to pages and pages of output, because our
 document consists of many many files that reference each other
 (including images). So I would vote a big +1 for that change.

 doesn't --batchmode help then?

My mistake... --batchmode does seem to get rid of the file open/close
messages. (Until I learned that --noconsole takes an argument, there was
still so much output that it was hard to see a difference in output due
to --batchmode.)

Unfortunately, --batchmode also seems to suppresses printing fatal error
messages and stopping on them (as its --help documentation suggests). So
when the tex code has an error, the compilation continues to the end
(wasting significant time) and then exits with a failure status code,
but no indication of where the error occurred.

So --batchmode doesn't really seem to be an option for us.
Unless we use batchmode most of the time and then rerun without
batchmode after an error occurs.

I tried having the build script discard stdout from the context process
(with --noconsole=tmp.log but without --batchmode). But apparently, the
error output of context goes to stdout instead of stderr: Context stops
on a fatal error but the error message and prompt are lost, and the
process hangs, waiting for the user to respond to a message they can't see.

Lars

___
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] suppressing console output

2014-03-19 Thread Hans Hagen

On 3/19/2014 4:46 PM, Lars Huttar wrote:

On 3/19/2014 11:36 AM, Hans Hagen wrote:

On 3/19/2014 4:29 PM, Lars Huttar wrote:



Is there any documentation about what kinds of complaints this
suppresses? I couldn't find any in the usual places. Apparently it is a
ConTeXt command rather than a primitive TeX one.


\show\dontcomplain



system  tex  error on line 2 in file
C:/Users/Huttar/Documents/work/tex/test-dontcomplain.tex: ? ...


1 \starttext

2  \show\dontcomplain

3 \stoptext

4


l.2 \show\dontcomplain


?



if console output is slowing down a run make sure you have an
efficient console (i use conemu on windows and on unixes i always make
sure that i use a proper font); sometimes you can set delays (standard
cmd on windows is char-by-char but there are variants); when one runs
from an editor normally the drawbacks are neglectable (at leats in scite)



Thanks, the slowdown is one of our concerns. I will look into
alternative terminals.


a simple \dorecurse can help to test it


\starttext
\dorecurse{1000}{test\page}
\stoptext

% mkiv lua stats   runtime: 1.949 seconds, 1000 processed pages, 1000 
shipped pages, 513.084 pages/second
% mkiv lua stats   runtime: 1.906 seconds, 1000 processed pages, 1000 
shipped pages, 524.659 pages/second (--jit)


\starttext
\dorecurse{1000}{\input tufte\page}
\stoptext

% mkiv lua stats   runtime: 4.918 seconds, 1000 processed pages, 1000 
shipped pages, 200.080 pages/second
% mkiv lua stats   runtime: 3.500 seconds, 1000 processed pages, 1000 
shipped pages, 285.714 pages/second (--jit)



-
  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] Floats to the side of headers

2014-03-19 Thread Philipp A.
Hi, i have a float that happens just to be as high as the page when placed
with location=right.

how do i convince my header to be on the same page (i.e. at the top, with
the top of the floar to the right of it)
___
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] suppressing console output

2014-03-19 Thread Wolfgang Schuster

Am 19.03.2014 um 16:46 schrieb Lars Huttar lars_hut...@sil.org:

 On 3/19/2014 11:36 AM, Hans Hagen wrote:
 On 3/19/2014 4:29 PM, Lars Huttar wrote:
 
 
 Is there any documentation about what kinds of complaints this
 suppresses? I couldn't find any in the usual places. Apparently it is a
 ConTeXt command rather than a primitive TeX one.
 
 \show\dontcomplain
 
 
 system  tex  error on line 2 in file
 C:/Users/Huttar/Documents/work/tex/test-dontcomplain.tex: ? ...
 
 
 1 \starttext
 
 2  \show\dontcomplain
 
 3 \stoptext
 
 4
 
 
 l.2 \show\dontcomplain
 
 
 ?

Read the output which comes before the error message:

 \dontcomplain=\protected macro:
-\hbadness \plustenthousand \vbadness \plustenthousand \hfuzz \maxdimen \vfuzz 
\maxdimen .

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] Index register page entry numbers missing

2014-03-19 Thread Hans Hagen

On 3/19/2014 4:59 PM, Rik Kabel wrote:

In the following example, page number entries in the index are not
displayed when a blank line is inserted in the text, but do appear
without that blank. This happens with both the current 20140316
standalone beta and with TL2013.

(I noticed this constructing MWEs for other index register problems. It
is likely not a problem in real life, but may provide insight into other
issues.)

\starttext
Why do the entry page numbers disappear when a blank line follows
this line, and reappear when the blank line is removed? (Current
beta and TL2013.)

\index{AA}
\placeindex
\stoptext


an index entry needs an anchor so

\index{AA}x

works ok


-
  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] suppressing console output

2014-03-19 Thread Hans Hagen

On 3/19/2014 5:37 PM, Lars Huttar wrote:


Unfortunately, --batchmode also seems to suppresses printing fatal error
messages and stopping on them (as its --help documentation suggests). So
when the tex code has an error, the compilation continues to the end
(wasting significant time) and then exits with a failure status code,
but no indication of where the error occurred.


Normally more runtime is lost as side effect of (inefficient) settings 
than by messages to the console -)


How many pps do you get in a run? What kind of hardware?

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] \setupnotation[footnote][numberconversion=numerals] in latest beta

2014-03-19 Thread Pablo Rodriguez
Dear list,

I have the following sample that I cannot compile with latest beta:

\setupnotation[footnote][numberconversion=numerals]

\starttext
Text\footnote{Text.}.
\stoptext

numberconversion=numerals seems to be the problematic part.

Has this option been changed or is it 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \setupnotation[footnote][numberconversion=numerals] in latest beta

2014-03-19 Thread Wolfgang Schuster

Am 19.03.2014 um 22:04 schrieb Pablo Rodriguez oi...@gmx.es:

 Dear list,
 
 I have the following sample that I cannot compile with latest beta:
 
 \setupnotation[footnote][numberconversion=numerals]
 
 \starttext
 Text\footnote{Text.}.
 \stoptext
 
 numberconversion=numerals seems to be the problematic part.
 
 Has this option been changed or is it a bug?

There is a typo in strc-doc.lua (missing c in front of tx_convertnumber):

local function 
process(index,numbers,ownnumbers,criterium,separatorset,conversion,conversionset,index,entry,result,preceding,done)
-- todo: too much (100 steps)
local number = numbers and (numbers[index] or 0)
local ownnumber = ownnumbers and ownnumbers[index] or 
if number  criterium or (ownnumber ~= ) then
local block = (entry.block ~=  and entry.block) or 
sections.currentblock() -- added
if preceding then
local separator = 
sets.get(structure:separators,block,separatorset,preceding,.)
if separator then
if result then
result[#result+1] = strippedprocessor(separator)
else
applyprocessor(separator)
end
end
preceding = false
end
if result then
if ownnumber ~=  then
result[#result+1] = ownnumber
elseif conversion and conversion ~=  then -- traditional (e.g. 
used in itemgroups) .. inherited!
result[#result+1] = converters.convert(conversion,number)
else
local theconversion = 
sets.get(structure:conversions,block,conversionset,index,numbers)
result[#result+1] = converters.convert(theconversion,number)
end
else
if ownnumber ~=  then
applyprocessor(ownnumber)
elseif conversion and conversion ~=  then -- traditional (e.g. 
used in itemgroups)
-   tx_convertnumber(conversion,number)
+   ctx_convertnumber(conversion,number)
else
local theconversion = 
sets.get(structure:conversions,block,conversionset,index,numbers)
local data = startapplyprocessor(theconversion)
ctx_convertnumber(data or numbers,number)
stopapplyprocessor()
end
end
return index, true
else
return preceding or false, done
end
end

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] \setupnotation[footnote][numberconversion=numerals] in latest beta

2014-03-19 Thread Pablo Rodriguez
On 03/19/2014 10:12 PM, Wolfgang Schuster wrote:
 
 Am 19.03.2014 um 22:04 schrieb Pablo Rodriguez oi...@gmx.es:
 
 Dear list,

 I have the following sample that I cannot compile with latest beta:

 \setupnotation[footnote][numberconversion=numerals]

 \starttext
 Text\footnote{Text.}.
 \stoptext

 numberconversion=numerals seems to be the problematic part.

 Has this option been changed or is it a bug?
 
 There is a typo in strc-doc.lua (missing c in front of tx_convertnumber):

Many thanks for your quick reply and fix, Wolfgang.


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] hyperlinks in latest beta?

2014-03-19 Thread Pablo Rodriguez
On 03/18/2014 07:56 PM, Hans Hagen wrote:
 On 3/17/2014 10:06 PM, Pablo Rodriguez wrote:
 On 03/17/2014 06:12 PM, Alan Bowen wrote:
 The following code produces the right cross-references but dead links,
 at least at my end.
 [...]
 Is this a problem with the latest beta (ConTeXt  ver: 2014.03.16 19:58
 MKIV beta)?

 Hi Alan,

 links work fine with beta from  2014.03.07 11:42.

 But they seem to be broken in latest beta.
 
 will be fixed in next beta

Sorry, Hans, but I’m afraid that they aren’t fixed in latest beta
(2014.03.19 16:13).

Also PDF document creation and modification date and time are wrong
(both fixed to Mon 02 Dec 2013 11:09:00 PM CET).


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] hyperlinks in latest beta?

2014-03-19 Thread Hans Hagen

On 3/19/2014 10:38 PM, Pablo Rodriguez wrote:

On 03/18/2014 07:56 PM, Hans Hagen wrote:

On 3/17/2014 10:06 PM, Pablo Rodriguez wrote:

On 03/17/2014 06:12 PM, Alan Bowen wrote:

The following code produces the right cross-references but dead links,
at least at my end.
[...]
Is this a problem with the latest beta (ConTeXt  ver: 2014.03.16 19:58
MKIV beta)?


Hi Alan,

links work fine with beta from  2014.03.07 11:42.

But they seem to be broken in latest beta.


will be fixed in next beta


Sorry, Hans, but I’m afraid that they aren’t fixed in latest beta
(2014.03.19 16:13).

Also PDF document creation and modification date and time are wrong
(both fixed to Mon 02 Dec 2013 11:09:00 PM CET).


are you sure? you can look in the pdf file with:

\nopdfcompression

-
  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] hyperlinks in latest beta?

2014-03-19 Thread Alan Bowen
Pablo, Hans--

Just checked. The links are not working for me either in ConTeXt  ver:
2014.03.19 23:11 MKIV beta.

Alan


On Wed, Mar 19, 2014 at 6:20 PM, Hans Hagen pra...@wxs.nl wrote:

 On 3/19/2014 10:38 PM, Pablo Rodriguez wrote:

 On 03/18/2014 07:56 PM, Hans Hagen wrote:

 On 3/17/2014 10:06 PM, Pablo Rodriguez wrote:

 On 03/17/2014 06:12 PM, Alan Bowen wrote:

 The following code produces the right cross-references but dead links,
 at least at my end.
 [...]
 Is this a problem with the latest beta (ConTeXt  ver: 2014.03.16 19:58
 MKIV beta)?


 Hi Alan,

 links work fine with beta from  2014.03.07 11:42.

 But they seem to be broken in latest beta.


 will be fixed in next beta


 Sorry, Hans, but I'm afraid that they aren't fixed in latest beta
 (2014.03.19 16:13).

 Also PDF document creation and modification date and time are wrong
 (both fixed to Mon 02 Dec 2013 11:09:00 PM CET).


 are you sure? you can look in the pdf file with:

 \nopdfcompression


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