[NTG-context] Simple backgrounds not working

2012-05-25 Thread Aditya Mahajan

Hi,

Simple backgrounds are not working with the latest beta. The following has 
no background color.


\setupbackground
  [background=color, backgroundcolor=red]
\starttext
\startbackground
  ABC
\stopbackground
\stoptext

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] Use figures without file extension

2012-05-25 Thread Aditya Mahajan
Currently, ConTeXt only recognizes the type of figure from the file 
extension. If a filename does not have an extension, \externalfigure 
fails.


For example:

$ cp `luatools hacker.jpg` something

Then,

\starttext
\externalfigure[something]
\stoptext

fails. However, if I set

\externalfigure[something][method=jpg]

the figure loads correctly. But what is surprising is that if I set

\externalfigure[something][method=pdf]

then also the figure loads correctly! This means that context has the code to
recognize the figure type (even without the extension), but that fails when
method is not set.

Setting a global

\setupexternalfigures[method=pdf]

does not work because method is reset to empty by \resetfiguresettings.


Any ideas on how to load an external figure without a file extension and not
specifying the figure type by hand?

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

2012-05-25 Thread Hans Hagen

On 25-5-2012 23:14, Meer, H. van der wrote:

Is there something local in \xmlmapvalue?
Because \xmlmapvalue in the current tree (with \xmlsetup{#1}{command}) makes 
\xmlvalue find the mapping, but having it executed on a different tree (with 
\xmlprocessbuffer{root}{buffer}{}) makes it unreachable and \xmlvalue fails.
How to solve this?


\xmlmapvalue and \xmlvalue don't have an #1 == node so they are 
independent of where they are called




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

2012-05-25 Thread Meer, H. van der
Is there something local in \xmlmapvalue?
Because \xmlmapvalue in the current tree (with \xmlsetup{#1}{command}) makes 
\xmlvalue find the mapping, but having it executed on a different tree (with 
\xmlprocessbuffer{root}{buffer}{}) makes it unreachable and \xmlvalue fails.
How to solve this?

Hans van der Meer



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

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

Re: [NTG-context] \typefile does not obey global path settings

2012-05-25 Thread Marco
On 2012-05-25 Hans Hagen  wrote:

> >> the \typefile command does not obey the \usepath setting any more.
> >
> > Still failing in current beta.
> 
> it was never part of the idea ..

Then it happened to work by accident. I am currently revising an old
document (but already MkIV) and it doesn't use paths in the
\typefile calls. Except of this and a few other glitches it was easy
to adapt it to a current beta.

> added in next beta

Thanks Hans.


Marco


___
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] \typefile does not obey global path settings

2012-05-25 Thread Hans Hagen

On 25-5-2012 12:29, Marco wrote:

On 2012-05-20 Marco  wrote:


the \typefile command does not obey the \usepath setting any more.


Still failing in current beta.


it was never part of the idea .. added in next beta


% file: test.tex
\usepath [code]
\starttext

   % fails
   % \typefile{somefile}

   % works
   \typefile{code/somefile}
\stoptext

% file: code/somefile
This should be printed.



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

2012-05-25 Thread Willi Egger
Thank you very much for pointing this out. - I am able to typeset the text in 
the way I would like. I tried a couple of options but not all of them have 
effects. - I can understand that, because it looks like this mechanism is under 
further construction …

Willi
On May 25, 2012, at 1:59 PM, Rogers, Michael K wrote:

> On May 25, 2012, at 6:33 AM, Willi Egger wrote:
>> Hi,
>> On May 25, 2012, at 12:30 PM, Willi Egger wrote:
>> 
>>> Oh dear, stupid me…
>>> 
>>> Still I have two things:
>>> 
>>> - It appears that the intent option is not honored and the numbers appear 
>>> always in the margin.
>> 
>> should read as intext ..  ;-)
>>> - The numbers are flush right in the margin, but after line >99 the third 
>>> number is placed outside the margin towards the text.
>>> 
>>> Willi
> 
> Try
>\setuplinenumbering[step=5,location=text]
> 
> From page.lin.mkiv, there seems to be these options now:
>\setnewconstant\linenumberlocation \plusone  % 0=middle, 1=left, 2=right, 
> 3=inner, 4=outer, 5=text, 6=begin, 7=end
> One may also use command=\myLocation, e.g., to put the line number in text at 
> right, use
>\def\myLocation#1{\rlap{\hskip\leftmargindistance\hskip\textwidth{#1}}}
> 
> Note:  Changing to location=middle in your (or any) example gives an error, 
> \domakelinenumber undefined:
> 
> \starttext
> \setuplinenumbering[step=5,location=middle]
> \startlinenumbering
> \startlines
> Een nieuwe lente en een nieuw geluid:
> Ik wil dat dit lied klinkt als het gefluit,
> Dat ik vaak hoorde voor een zomernacht,
> In een oud stadje, langs de watergracht ---
> In huis was 't donker, maar de stille straat
> Vergaarde schemer, aan de lucht blonk laat
> Nog licht, er viel een gouden blanke schijn
> Over de gevels van mijn raamkozijn.
> \stoplines
> \stoplinenumbering
> \stoptext
> 
> 
> 
> 
> This e-mail message (including any attachments) is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information. If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, distribution
> or copying of this message (including any attachments) is strictly
> prohibited.
> 
> If you have received this message in error, please contact
> the sender by reply e-mail message and destroy all copies of the
> original message (including attachments).
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

___
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] Thank you

2012-05-25 Thread luigi scarso
On Fri, May 25, 2012 at 2:30 PM, Marco  wrote:
> On 2012-05-25 Henning Hraban Ramm  wrote:
>
>> Can we do anything WRT quality assurance?
>
> An test suite with unit tests for each feature and maybe some larger
> documents to detect interferences between individual features. Which
> needs to be run and passed before a beta is uploaded.
There is a zip with examples/tests at
http://www.pragma-ade.com/download-4.htm
(also search this ml for cont-tst.7z)

Another one is
Documentation of the source code
at
http://wiki.contextgarden.net/Main_Page
The original idea was to document all the files used to build the
format, but in the end it's more useful as another  test suite.
(unfortunately I've no time to follow this project)

-- 
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] Thank you

2012-05-25 Thread Hans Hagen

On 25-5-2012 14:30, Marco wrote:

On 2012-05-25 Henning Hraban Ramm  wrote:


Can we do anything WRT quality assurance?


An test suite with unit tests for each feature and maybe some larger
documents to detect interferences between individual features. Which
needs to be run and passed before a beta is uploaded.


Well, in that case I need way more time and extremely fast computers, so 
I happily leave that to others to organize. There is a growing test 
suite available.


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] Thank you

2012-05-25 Thread Marco
On 2012-05-25 Henning Hraban Ramm  wrote:

> Can we do anything WRT quality assurance?

An test suite with unit tests for each feature and maybe some larger
documents to detect interferences between individual features. Which
needs to be run and passed before a beta is uploaded.

Marco


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

2012-05-25 Thread Rogers, Michael K
On May 25, 2012, at 6:33 AM, Willi Egger wrote:
> Hi,
> On May 25, 2012, at 12:30 PM, Willi Egger wrote:
>
>> Oh dear, stupid me…
>>
>> Still I have two things:
>>
>> - It appears that the intent option is not honored and the numbers appear 
>> always in the margin.
>
> should read as intext ..  ;-)
>> - The numbers are flush right in the margin, but after line >99 the third 
>> number is placed outside the margin towards the text.
>>
>> Willi

Try
\setuplinenumbering[step=5,location=text]

>From page.lin.mkiv, there seems to be these options now:
\setnewconstant\linenumberlocation \plusone  % 0=middle, 1=left, 2=right, 
3=inner, 4=outer, 5=text, 6=begin, 7=end
One may also use command=\myLocation, e.g., to put the line number in text at 
right, use
\def\myLocation#1{\rlap{\hskip\leftmargindistance\hskip\textwidth{#1}}}

Note:  Changing to location=middle in your (or any) example gives an error, 
\domakelinenumber undefined:

\starttext
\setuplinenumbering[step=5,location=middle]
\startlinenumbering
\startlines
Een nieuwe lente en een nieuw geluid:
Ik wil dat dit lied klinkt als het gefluit,
Dat ik vaak hoorde voor een zomernacht,
In een oud stadje, langs de watergracht ---
In huis was 't donker, maar de stille straat
Vergaarde schemer, aan de lucht blonk laat
Nog licht, er viel een gouden blanke schijn
Over de gevels van mijn raamkozijn.
\stoplines
\stoplinenumbering
\stoptext




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Thank you

2012-05-25 Thread Henning Hraban Ramm
I’d like to thank you wizards and workers for fixing the bugs that  
bothered me with my current book project just in time!

(I’ll never update any more ;---)

It’s sometimes a bit difficult to get a version of ConTeXt that  
supports all needed features at the same time...

Can we do anything WRT quality assurance?


Greetlings, Hraban
___
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] Linenumbering

2012-05-25 Thread Willi Egger
Hi,
On May 25, 2012, at 12:30 PM, Willi Egger wrote:

> Oh dear, stupid me…
> 
> Still I have two things:
> 
> - It appears that the intent option is not honored and the numbers appear 
> always in the margin.

should read as intext ..  ;-)
> - The numbers are flush right in the margin, but after line >99 the third 
> number is placed outside the margin towards the text.
> 
> Willi
> 
> 
> On May 25, 2012, at 10:48 AM, Hans Hagen wrote:
> 
>> On 25-5-2012 10:07, Willi Egger wrote:
>>> Hi all,
>>> 
>>> may be i am mistaken, but I can't get line numbering to show in the beta of 
>>> yesterday afternoon.
>>> 
>>> \starttext
>>> \setuplinenumbering[step=5,location=intext]
>>> \startlines
>>> Een nieuwe lente en een nieuw geluid:
>>> Ik wil dat dit lied klinkt als het gefluit,
>>> Dat ik vaak hoorde voor een zomernacht,
>>> In een oud stadje, langs de watergracht ---
>>> In huis was 't donker, maar de stille straat
>>> Vergaarde schemer, aan de lucht blonk laat
>>> Nog licht, er viel een gouden blanke schijn
>>> Over de gevels van mijn raamkozijn.
>>> \stoplines
>>> \stoptext
>>> 
>>> It compiles ok, no error messages.
>> 
>> at least make sure that you *do* number:
>> 
>> \setuplinenumbering[step=5,location=intext]
>> \startlinenumbering
>> \startlines
>> Een nieuwe lente en een nieuw geluid:
>> Ik wil dat dit lied klinkt als het gefluit,
>> Dat ik vaak hoorde voor een zomernacht,
>> In een oud stadje, langs de watergracht ---
>> In huis was 't donker, maar de stille straat
>> Vergaarde schemer, aan de lucht blonk laat
>> Nog licht, er viel een gouden blanke schijn
>> Over de gevels van mijn raamkozijn.
>> \stoplines
>> \stoplinenumbering
>> 
>> lines and linenumbering are independent mechanisms
>> 
>> 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
>> ___
> 
> ___
> 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] Linenumbering

2012-05-25 Thread Willi Egger
Oh dear, stupid me…

Still I have two things:

- It appears that the intent option is not honored and the numbers appear 
always in the margin.
- The numbers are flush right in the margin, but after line >99 the third 
number is placed outside the margin towards the text.

Willi



test-linenumbering.tex
Description: Binary data

On May 25, 2012, at 10:48 AM, Hans Hagen wrote:

> On 25-5-2012 10:07, Willi Egger wrote:
>> Hi all,
>> 
>> may be i am mistaken, but I can't get line numbering to show in the beta of 
>> yesterday afternoon.
>> 
>> \starttext
>> \setuplinenumbering[step=5,location=intext]
>> \startlines
>> Een nieuwe lente en een nieuw geluid:
>> Ik wil dat dit lied klinkt als het gefluit,
>> Dat ik vaak hoorde voor een zomernacht,
>> In een oud stadje, langs de watergracht ---
>> In huis was 't donker, maar de stille straat
>> Vergaarde schemer, aan de lucht blonk laat
>> Nog licht, er viel een gouden blanke schijn
>> Over de gevels van mijn raamkozijn.
>> \stoplines
>> \stoptext
>> 
>> It compiles ok, no error messages.
> 
> at least make sure that you *do* number:
> 
> \setuplinenumbering[step=5,location=intext]
> \startlinenumbering
> \startlines
> Een nieuwe lente en een nieuw geluid:
> Ik wil dat dit lied klinkt als het gefluit,
> Dat ik vaak hoorde voor een zomernacht,
> In een oud stadje, langs de watergracht ---
> In huis was 't donker, maar de stille straat
> Vergaarde schemer, aan de lucht blonk laat
> Nog licht, er viel een gouden blanke schijn
> Over de gevels van mijn raamkozijn.
> \stoplines
> \stoplinenumbering
> 
> lines and linenumbering are independent mechanisms
> 
> 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
> ___

___
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] \typefile does not obey global path settings

2012-05-25 Thread Marco
On 2012-05-20 Marco  wrote:

> the \typefile command does not obey the \usepath setting any more.

Still failing in current beta.

% file: test.tex
\usepath [code]
\starttext

  % fails
  % \typefile{somefile}

  % works
  \typefile{code/somefile}
\stoptext

% file: code/somefile
This should be printed.


Marco


___
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] Citations in a frontmatter fail when placed in a component

2012-05-25 Thread Marco
On 2012-05-24 Hans Hagen  wrote:

> You can check the next beta.

Works perfectly, thanks for the fix.


Marco


___
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] Small integral signes with Palatino

2012-05-25 Thread Hans Hagen

On 25-5-2012 00:43, Aditya Mahajan wrote:


It's more complicated because tx-fonts behaves correctly.


indeed, and I always thought that these fonts were similar in setup

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] Small integral signes with Palatino

2012-05-25 Thread Hans Hagen

On 25-5-2012 00:40, Aditya Mahajan wrote:


I tested with asana, hoping that opentype fonts will behave better, but
asana is hopelessly broken in the other direction: too big integrals and
sums. To fix asana, change

DisplayOperatorMinHeight = more,

to

DisplayOperatorMinHeight = 0,


fixed


{ name = "texgyrepagella-bold.otf", vector = "tex-bf", skewchar=0x7F } ,

(but even after that change $\hat {\bi A}$ is set incorrectly).


fixed

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

2012-05-25 Thread Hans Hagen

On 25-5-2012 10:07, Willi Egger wrote:

Hi all,

may be i am mistaken, but I can't get line numbering to show in the beta of 
yesterday afternoon.

\starttext
\setuplinenumbering[step=5,location=intext]
\startlines
Een nieuwe lente en een nieuw geluid:
Ik wil dat dit lied klinkt als het gefluit,
Dat ik vaak hoorde voor een zomernacht,
In een oud stadje, langs de watergracht ---
In huis was 't donker, maar de stille straat
Vergaarde schemer, aan de lucht blonk laat
Nog licht, er viel een gouden blanke schijn
Over de gevels van mijn raamkozijn.
\stoplines
\stoptext

It compiles ok, no error messages.


at least make sure that you *do* number:

\setuplinenumbering[step=5,location=intext]
\startlinenumbering
\startlines
Een nieuwe lente en een nieuw geluid:
Ik wil dat dit lied klinkt als het gefluit,
Dat ik vaak hoorde voor een zomernacht,
In een oud stadje, langs de watergracht ---
In huis was 't donker, maar de stille straat
Vergaarde schemer, aan de lucht blonk laat
Nog licht, er viel een gouden blanke schijn
Over de gevels van mijn raamkozijn.
\stoplines
\stoplinenumbering

lines and linenumbering are independent mechanisms

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

2012-05-25 Thread Willi Egger
Hi all,

may be i am mistaken, but I can't get line numbering to show in the beta of 
yesterday afternoon.

\starttext
\setuplinenumbering[step=5,location=intext]
\startlines
Een nieuwe lente en een nieuw geluid:
Ik wil dat dit lied klinkt als het gefluit,
Dat ik vaak hoorde voor een zomernacht,
In een oud stadje, langs de watergracht ---
In huis was 't donker, maar de stille straat
Vergaarde schemer, aan de lucht blonk laat
Nog licht, er viel een gouden blanke schijn
Over de gevels van mijn raamkozijn.
\stoplines
\stoptext

It compiles ok, no error messages.


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] Missing "missing character" warning

2012-05-25 Thread Marco Pessotto
Hans Hagen  writes:

> On 25-5-2012 09:45, luigi scarso wrote:
>
>> enabletrackers[fonts.missing]
>> \mainlanguage[hr]
>> \starttext ȃ\stoptext
>
> indeed better
>

Wikified.

http://wiki.contextgarden.net/Fonts_in_LuaTeX#Get_a_warning_if_the_glyph_is_missing

Cheers

-- 
Marco

___
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] updated binaries, please keep testing TL 2012

2012-05-25 Thread luigi scarso
On Fri, May 25, 2012 at 9:47 AM, Philipp Gesang
 wrote:
> This works alright now, the error is gone after an update. Big
> thanks to everybody involved.

It's ok also here (Linux Ubuntu 10.04 LTS, 32bit)
And latest tlmgr is  fixed.
-- 
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] Missing "missing character" warning

2012-05-25 Thread Hans Hagen

On 25-5-2012 09:45, luigi scarso wrote:


enabletrackers[fonts.missing]
\mainlanguage[hr]
\starttext ȃ\stoptext


indeed better

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] Missing "missing character" warning

2012-05-25 Thread luigi scarso
On Fri, May 25, 2012 at 9:45 AM, luigi scarso  wrote:
> On Fri, May 25, 2012 at 9:40 AM, Hans Hagen  wrote:
>> On 25-5-2012 09:15, Marco Pessotto wrote:
>>>
>>>
>>> Hello all.
>>>
>>> Reading the manual “Fonts in ConTeXt” I found the following statement
>>> (p.97):
>>>
>>> “In both cases we end up with a message in the log file and a resulting
>>> file with missing data”. [When the font doesn't provide a glyph].
>>>
>>> Now, the only case when the warning is issued is using mkii with xetex
>>> (texexec -xtx), not with mkiv. (Unsurprisingly, the file with missing
>>> data is always there :-)
>>>
>>> Minimal example:
>>>
>>> %% start
>>> \mainlanguage[hr]
>>>
>>> \starttext
>>> Ja sam sȃm, i sȃm sam došao da izvršim pravdu.
>>> \stoptext
>>> %% stop
>>>
>>> The name of the char is: LATIN SMALL LETTER A WITH INVERTED BREVE (0x0203)
>>>
>>> So:
>>>
>>> $ context prova.tex
>>>
>>> $ grep -i -E '(warn|miss)' prova.*
>>> [ match nothing ]
>>>
>>> $ texexec --xtx prova.tex
>>>
>>> $ grep -i -E '(warn|miss)' prova.*
>>> prova.log:Missing character: There is no ȃ in font
>>> [lmroman12-regular]:+liga;+kern;mappi
>>> prova.log:Missing character: There is no ȃ in font
>>> [lmroman12-regular]:+liga;+kern;mappi
>>>
>>> It's not a regression, since the behaviour is the same with the last
>>> year ConTeXt.
>>
>>
>> You can add this:
>>
>> \checkcharactersinfont
>>
>> and get missing characters reported to the terminal. Unfortunately I forgot
>> () when adapting this command to the command namespace ...
>>
>> \unexpanded\def\checkcharactersinfont {\ctxcommand{checkcharactersinfont()}}
>>
>> (fixed in next beta)
>>
>> Hans
>
> Also
>
> enabletrackers[fonts.missing]
> \mainlanguage[hr]
> \starttext ȃ\stoptext
Uh I mean
\enabletrackers[fonts.missing]
\mainlanguage[hr]
\starttext ȃ\stoptext



-- 
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] Missing "missing character" warning

2012-05-25 Thread Marco Pessotto
Hans Hagen  writes:

> You can add this:
>
> \checkcharactersinfont
>
> and get missing characters reported to the terminal. Unfortunately I
> forgot () when adapting this command to the command namespace ...
>
> \unexpanded\def\checkcharactersinfont
> {\ctxcommand{checkcharactersinfont()}}
>
> (fixed in next beta)

And indeed this works.

Thanks!


-- 
Marco
___
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] updated binaries, please keep testing TL 2012

2012-05-25 Thread Philipp Gesang
On 2012-05-24 13:15, Philipp Gesang wrote:
> On 2012-05-24 03:31, Mojca Miklavec wrote:
> > In the morning you should also see an update of ConTeXt in TeX Live
> > 2012, matching the latest beta from yesterday. Please post feedback or
> > any issues that you might experience.
> 
> Hi Mojca,
> 
> I did a pretest install with the cli helper; completed without
> errors. However, I can’t seem to “context --make” because:

This works alright now, the error is gone after an update. Big
thanks to everybody involved.

Philipp




> 
> \loadmarkfile #1->\normalinput #1.\mksuffix \relax 
> #1<-catc-ini
> {\input}
> 
> \mksuffix ->mkiv
> ! I can't find file `catc-ini.mkiv'.
>  
>   \relax 
> l.81 \loadmarkfile{catc-ini}
> 
> (This is line 81 because I added a \tracingall after
> syst-ini.mkiv is loaded.) “mtxrun --find-file” shows the correct
> location, though:
> 
> > mtxrun --find-file catc-ini.mkiv
> 
> /media/data/src/tl_pretest/tl2012/texmf-dist/tex/context/base/catc-ini.mkiv
> 
> Minimals and TL2011 work fine, though. Anything I can do?
> 
> PS: Is there a way to get mtxrun to log the format generation? It
> doesn’t honor --nonstopmode and I can’t redirect stdout if it
> fails (waiting for input).
> 
> Regards
> Philipp
> 
> 
> 
> > 
> > Mojca
> > ___
> > 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
> > ___
> 
> -- 
> ()  ascii ribbon campaign - against html e-mail
> /\  www.asciiribbon.org   - against proprietary attachments



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


pgpOzDuggpqEg.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] Missing "missing character" warning

2012-05-25 Thread luigi scarso
On Fri, May 25, 2012 at 9:40 AM, Hans Hagen  wrote:
> On 25-5-2012 09:15, Marco Pessotto wrote:
>>
>>
>> Hello all.
>>
>> Reading the manual “Fonts in ConTeXt” I found the following statement
>> (p.97):
>>
>> “In both cases we end up with a message in the log file and a resulting
>> file with missing data”. [When the font doesn't provide a glyph].
>>
>> Now, the only case when the warning is issued is using mkii with xetex
>> (texexec -xtx), not with mkiv. (Unsurprisingly, the file with missing
>> data is always there :-)
>>
>> Minimal example:
>>
>> %% start
>> \mainlanguage[hr]
>>
>> \starttext
>> Ja sam sȃm, i sȃm sam došao da izvršim pravdu.
>> \stoptext
>> %% stop
>>
>> The name of the char is: LATIN SMALL LETTER A WITH INVERTED BREVE (0x0203)
>>
>> So:
>>
>> $ context prova.tex
>>
>> $ grep -i -E '(warn|miss)' prova.*
>> [ match nothing ]
>>
>> $ texexec --xtx prova.tex
>>
>> $ grep -i -E '(warn|miss)' prova.*
>> prova.log:Missing character: There is no ȃ in font
>> [lmroman12-regular]:+liga;+kern;mappi
>> prova.log:Missing character: There is no ȃ in font
>> [lmroman12-regular]:+liga;+kern;mappi
>>
>> It's not a regression, since the behaviour is the same with the last
>> year ConTeXt.
>
>
> You can add this:
>
> \checkcharactersinfont
>
> and get missing characters reported to the terminal. Unfortunately I forgot
> () when adapting this command to the command namespace ...
>
> \unexpanded\def\checkcharactersinfont {\ctxcommand{checkcharactersinfont()}}
>
> (fixed in next beta)
>
> Hans

Also

enabletrackers[fonts.missing]
\mainlanguage[hr]
\starttext ȃ\stoptext



-- 
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] Missing "missing character" warning

2012-05-25 Thread Hans Hagen

On 25-5-2012 09:15, Marco Pessotto wrote:


Hello all.

Reading the manual “Fonts in ConTeXt” I found the following statement
(p.97):

“In both cases we end up with a message in the log file and a resulting
file with missing data”. [When the font doesn't provide a glyph].

Now, the only case when the warning is issued is using mkii with xetex
(texexec -xtx), not with mkiv. (Unsurprisingly, the file with missing
data is always there :-)

Minimal example:

%% start
\mainlanguage[hr]

\starttext
Ja sam sȃm, i sȃm sam došao da izvršim pravdu.
\stoptext
%% stop

The name of the char is: LATIN SMALL LETTER A WITH INVERTED BREVE (0x0203)

So:

$ context prova.tex

$ grep -i -E '(warn|miss)' prova.*
[ match nothing ]

$ texexec --xtx prova.tex

$ grep -i -E '(warn|miss)' prova.*
prova.log:Missing character: There is no ȃ in font 
[lmroman12-regular]:+liga;+kern;mappi
prova.log:Missing character: There is no ȃ in font 
[lmroman12-regular]:+liga;+kern;mappi

It's not a regression, since the behaviour is the same with the last
year ConTeXt.


You can add this:

\checkcharactersinfont

and get missing characters reported to the terminal. Unfortunately I 
forgot () when adapting this command to the command namespace ...


\unexpanded\def\checkcharactersinfont 
{\ctxcommand{checkcharactersinfont()}}


(fixed in next beta)

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] TABLE with split=repeat and headings

2012-05-25 Thread Andreas Schneider
On Thursday, March 22, 2012, at 15:56 Andreas Schneider wrote:
> Hello,

> I  have several natural tables with the split=repeat option set. Those
> tables  are  directly  after  a  subsubsubject.  Every now and then it
> happens,  that  the  heading stays on the previous page (as last line)
> and the table slips to the next page.

> Without  split=repeat  it  correctly takes the header to the next page
> too. Can I consider this a bug or am I doing something wrong?

> The attached example demonstrates this problem.

> Testet with
> ConTeXt  ver: 2012.01.02 21:59 MKIV  fmt: 2012.1.24  int: english/english

> and
> 201200310 13:15 MKIV

I  hate  to  bump  my  own threads, but that problem still exists. Any
ideas how to fix it?

ConTeXt  ver: 2012.05.24 19:36 MKIV  fmt: 2012.5.25  int: english/english

-- 
Best Regards,
Andreas

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

[NTG-context] Missing "missing character" warning

2012-05-25 Thread Marco Pessotto

Hello all.

Reading the manual “Fonts in ConTeXt” I found the following statement
(p.97):

“In both cases we end up with a message in the log file and a resulting
file with missing data”. [When the font doesn't provide a glyph].

Now, the only case when the warning is issued is using mkii with xetex
(texexec -xtx), not with mkiv. (Unsurprisingly, the file with missing
data is always there :-)

Minimal example:

%% start
\mainlanguage[hr]

\starttext
Ja sam sȃm, i sȃm sam došao da izvršim pravdu.
\stoptext
%% stop

The name of the char is: LATIN SMALL LETTER A WITH INVERTED BREVE (0x0203)

So: 

$ context prova.tex

$ grep -i -E '(warn|miss)' prova.* 
[ match nothing ]

$ texexec --xtx prova.tex

$ grep -i -E '(warn|miss)' prova.*
prova.log:Missing character: There is no ȃ in font 
[lmroman12-regular]:+liga;+kern;mappi
prova.log:Missing character: There is no ȃ in font 
[lmroman12-regular]:+liga;+kern;mappi

It's not a regression, since the behaviour is the same with the last
year ConTeXt.

Best wishes

-- 
Marco

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