Re: [NTG-context] Setting up protrusion, side-effects

2010-07-30 Thread Martin Althoff
> Could as well be a luatex backend problem so I have to
> discuss it with Taco and Hartmut.
> 
> Hans
> 

Hi Hans,

Thanks for  looking into this further. I have tried to drill down the effect 
being switchable through \setupfootertexts here are my results.

In the example below, I get (with the stress about the latest update, I 
refrained, running: LuaTeX, Version beta-0.60.2-2010070117; ConTeXt  ver: 
2010.07.27 16:30) I can switch/influence the horizontal collapse by (this is 
not a series of steps, each statement assumes starting with the example as 
given):

-- as given, the lines collapse.

-- en-/disabling \sc makes problem switchable

-- en-/disabling \setupfootertexts, problem switchable, however, once 
\setuppagenumbering is commented out, this does not work anymore. The error 
stays permanently.

-- enabling "\input tufte" in front of the \sc line causes the problem to 
appear permanently now. 

-- adding more tuftes before or after shifts the problem either way. But now 
the permutation of cases gets a bit much...





% protusion 
\definefontfeature [default][default][protrusion=quality,expansion=quality]
\setupalign[hz,hanging]


\setupfootertexts[chapter][pagenumber]
\setuppagenumbering [location=] 


\usetypescript[palatino]
\setupbodyfont[times,12pt]

\starttext

%\input tufte
%\dorecurse {5}{\input tufte}

{\sc Die Exposition der Frage}

Notwendigkeit, Struktur und Vorrang der Frage

\section {Wiederholung der Frage}

\dorecurse {5}{\input tufte}

\stoptext




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

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


Re: [NTG-context] how to jump to figure and return to the original postion?

2010-07-30 Thread dalyoung
Dear Hans,

Thank you for a nice solution.
It is really cool!
I always wonder what is the limit of ConTeXt.
But I think that I am using very small portion of it.

Here I'd like to ask one more thing.
I downloaded the example of "Euro symbol" animation.
Both button "here" and "restart" worked fine.
However,  a new pdf file of Euro symbol animation which was madden by 
recompiling the source not properly working in my macbook. "here" button works 
fine while "restart" lost the position.(just blank window is appeared)

I tried a similar step by step drawing and got the same situation.

Is it a problem in my machine only?

Mac OSX 10.6.4
ConTeXt  ver: 2010.06.23 12:45 MKIV  fmt: 2010.7.18  int: english/english
 - this is luatex, version beta-0.60.2-2010070117

Thank you for your help.

Best regards,

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

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


Re: [NTG-context] no indent after blank

2010-07-30 Thread Aditya Mahajan

On Sat, 31 Jul 2010, Hans Hagen wrote:


 [1] http://bitbucket.org/wolfs/fancybreak/src


I'll have a more detailed look at it later (remind me that we need to 
formalize this \ namespace for modules issue; we might need \??? for the 
core soon as we run out of \??'s).


I have started use \??whatever?? to avoid clashing with Wolfgang :-)

As you write nice and clean modules that are perfect examples for others, we 
should take some time at the context conference and see if we can derive some 
'module writing conventions'.


+1

I wonder if I should finaly make a definer for \fancybreakparameter like 
cases. I had one once but it looked quite horrible and there are subtle 
differences between all cases but I'll give it a try some day soon.


Wolfgang taught me how to use them and now I use
(http://github.com/adityam/filter/blob/master/t-filter.tex)

\def\externalfilterparameter 
#1{\csname\docheckparentparameter{\??externalfilter??\currentexternalfilter}#1\endcsname}


\def\docheckparentparameter 
#1#2{\ifcsname#1#2\endcsname#1#2\else\expandafter\redocheckparentparameter\csname#1\s!parent\endcsname#2\fi}


\def\redocheckparentparameter#1#2{\ifx#1\relax\s!empty\else\docheckparentparameter#1#2\fi}

I am pretty sure this does not cover all the situations that arise in the 
core.


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] part problems

2010-07-30 Thread Alan BRASLAU
On Friday 30 July 2010 23:00:16 Henning Hraban Ramm wrote:
> Am 2010-07-30 um 22:46 schrieb luigi scarso:
> > 
> > Hm, Hraban needs really to come to Brejlov
> 
> And yes, I'll try to come to Brejlov, still waiting for an answer from
> my lift...

Using parts is not as simple as it seems and is still somewhat problematic,
or maybe I, too, am unable to read the source.

Will someone be giving a special lecture on structure?

As to the lift, I am almost decided to indeed drive as we are for now
at least three...

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

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


Re: [NTG-context] no indent after blank

2010-07-30 Thread Hans Hagen

Hi Wolfgang,


Am 30.07.10 18:37, schrieb Henning Hraban Ramm:

(latest beta MkIV)

With
\setupindenting[yes, medium]
there shouldn't be an indent after a \blank IMO.

How can I suppress it?

\setupindenting[yes,medium]
\starttext
\input knuth
\blank
\noindentation\input ward
\stoptext

or you use my fancybreak [1] module:

\usemodule[fancybreak]
\setupindenting[yes,medium]
\setupfancybreak[indentnext=no]
\starttext
\input knuth
\fancybreak
\input ward
\stoptext

[1] http://bitbucket.org/wolfs/fancybreak/src


I'll have a more detailed look at it later (remind me that we need to 
formalize this \ namespace for modules issue; we might need \??? for 
the core soon as we run out of \??'s).


I wonder what the side effects of \everyvbox are as the next box content 
can have vboxes itself (ok, you can do an everyvbox\emptytoks inside the 
\everyvbox); maybe \dowithnextboxcontent can be used here


\def\dodofancybreak
  {\begingroup
   \everyvbox
 {\setupalign[\fancybreakparameter\c!align]%
  \doifmode\s!mkiv{\dosetfancybreakattributes\c!style\c!color}}%
   \dowithnextbox
 {\blank[\fancybreakparameter\c!spacebefore]%
  \flushnextbox
  \blank[\fancybreakparameter\c!spaceafter]%
  \checknextindentation[\fancybreakparameter\c!indentnext]%
  \dorechecknextindentation
  \endgroup}
 \normalvbox}

so:

   \dowithnextboxcontent
 {\setupalign[\fancybreakparameter\c!align]%
  \doifmode\s!mkiv{\dosetfancybreakattributes\c!style\c!color}}%
 {\blank[\fancybreakparameter\c!spacebefore]%
  \flushnextbox

Another convention could be

\doifmode\s!mkiv{\let\dosetfancybreakattributes\gobbletwoarguments}

so that you then get (less testing):

   \dowithnextboxcontent
 {\setupalign[\fancybreakparameter\c!align]%
  \dosetfancybreakattributes\c!style\c!color}%
 {\blank[\fancybreakparameter\c!spacebefore]%
  \flushnextbox

As you write nice and clean modules that are perfect examples for 
others, we should take some time at the context conference and see if we 
can derive some 'module writing conventions'.


I wonder if I should finaly make a definer for \fancybreakparameter like 
cases. I had one once but it looked quite horrible and there are subtle 
differences between all cases but I'll give it a try some day soon.


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] Footnotes into a single paragraph (mkiv)

2010-07-30 Thread Hans Hagen

On 30-7-2010 5:04, Markus Finke wrote:

Can anybody help me? I don’t want to fall back on LaTeX because I would
miss a lot of features for fonts and I prefer the smoother usability
writing in ConTEXt.

Is there any hope for this (not to rare) design in footnotes?


I uploaded an alpha release. You need to take the alpha zip from the 
website and unpack it in texmf-context.


This is just a test.

% \enabletrackers[structure.notes]

\setupnote 
[footnote][paragraph=yes,numbercommand=,inbetween=\hskip.5em\vl\hskip.5em]
\setupdescriptions[footnote][paragraph=no,location=serried,distance=.5em] % 
before=,after=


\starttext

\startlocalfootnotes
local 1a\footnote{local note 1a}
local 1b\footnote{local note 1b}
\placelocalfootnotes
\stoplocalfootnotes

\blank
global 1a\footnote{global note 1a}
global 1b\footnote{global note 1b}
\blank

\startlocalfootnotes
local 2a\footnote{local note 2a}
local 2b\footnote{local note 2b}
\placelocalfootnotes
\stoplocalfootnotes

\blank
global 2a\footnote{global note 2a}
global 2b\footnote{global note 2b}
\blank

\startlocalfootnotes
local 3a\footnote{local note 3a}
local 3b\footnote{local note 3b}
\placelocalfootnotes
\stoplocalfootnotes

\blank
global 2a\footnote{\input tufte }
global 2b\footnote{global note 2b}
\blank

\stoptext

You need to be a bit tolerant with this mechanism. It uses the same 
trick as in mkii, and you can find more about the trick used on pages 
398 and 399 of the texbook.


The inbetween material cannot be too large. Also, the distance between 
the text and footnotes should be large enough to catch a potential 
overflow, although normally there is enough stretch in a paragraph.


(I can support ragged right if needed, but it would involve another trick.)

ps for Wolfgang: we need to discuss this at the context meeting. Maybe 
we should have some predefined variants. As you're looking into 
parameters (the cont-en.xml thing) ... we need to check those related to 
notes and descriptions, as there are some subtle differences with mkii.


-
  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] Footnotes into a single paragraph (mkiv)

2010-07-30 Thread Markus Finke

local notes or page notes


There is no ready for use implementation for critical typesetting. So I 
have to  recreate the appearance of it:


http://www.djdekker.net/ledmac/sample-edition.pdf

It’s necessary to suppress all footnotenumbers and to set linenumbers 
instead (\inline[ab:c] whitout the output »line«).


I would really appreciate a solution in that sense.


Thanks a lot of all your efforts!

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

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


Re: [NTG-context] no indent after blank

2010-07-30 Thread Henning Hraban Ramm

Am 2010-07-30 um 22:55 schrieb Wolfgang Schuster:


Am 30.07.10 18:37, schrieb Henning Hraban Ramm:

(latest beta MkIV)

With
\setupindenting[yes, medium]
there shouldn't be an indent after a \blank IMO.

How can I suppress it?

\setupindenting[yes,medium]
\starttext
\input knuth
\blank
\noindentation\input ward
\stoptext


Yes, I tried that. I should have asked "how can I suppress it  
*generally*".

Like in
\def\Gap{\blank[big]\noindent}


or you use my fancybreak [1] module:

\usemodule[fancybreak]
\setupindenting[yes,medium]
\setupfancybreak[indentnext=no]
\starttext
\input knuth
\fancybreak
\input ward
\stoptext

[1] http://bitbucket.org/wolfs/fancybreak/src



Great, works like expected. Thank you!
(I'll probably need fancy breaks anyway...)

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

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

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


Re: [NTG-context] part problems

2010-07-30 Thread luigi scarso
On Fri, Jul 30, 2010 at 11:00 PM, Henning Hraban Ramm  wrote:

> And yes, I'll try to come to Brejlov, still waiting for an answer from my
> lift...
good.

-- 
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] part problems

2010-07-30 Thread Henning Hraban Ramm

Am 2010-07-30 um 22:46 schrieb luigi scarso:


On Fri, Jul 30, 2010 at 10:37 PM, Wolfgang Schuster
 wrote:

 Am 30.07.10 19:30, schrieb Henning Hraban Ramm:


(MkIV, latest beta)

I'm trying to get a title page for book parts:

\def\FPart#1#2{#2}

\setupheads[align=right, tolerance=verytolerant,
   before=\nohyphen\startlinecorrection,
   after=\stoplinecorrection, number=no]
\setuphead[part][command=\FPart, page=right, style={\bfc}]

\part{My First Part}


But the page is empty, also without "command", also with a suitable
"textcommand", also without "style".


\setuphead[part][placehead=yes]

Hm, Hraban needs really to come to Brejlov


Because I can't read the docs?
Sorry.
I browsed so much in wiki, source and reference that I'm confused ;-)
Coming back to ConTeXt after a while for a new project is always a bit  
hard - a new program every time ;-)
And yes, I'll try to come to Brejlov, still waiting for an answer from  
my lift...


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] part problems

2010-07-30 Thread Henning Hraban Ramm

Thank you!

Am 2010-07-30 um 22:37 schrieb Wolfgang Schuster:

I'm trying to get a title page for book parts:
But the page is empty, also without "command", also with a suitable  
"textcommand", also without "style".

\setuphead[part][placehead=yes]


Good

To disable hyphenation in headers you can set  
'align={right,nothyphenated}'.


Even better ;-)

In my ToC I get "Part  My First Part". (Or "Part 1  My First Part",  
if I enable the number.)

How can I suppress that piece of text ("Part")?

\setuplist[part][label=no]


also good

Generally, what's the best approach to get a fixed font size for  
some titles, e.g. the part title should have 64 pt.

Should I use \setuphead[part][before={\switchtobodyfont[64pt]}] ?

\definefont[PartStyle][Serif sa 64pt]
\setuphead[part][style=PartStyle]


That doesn't work. I get:

structure   : part @ level 1 : 1 -> Märchen
! Missing number, treated as zero.

   \edef
\lowleveldefinefont ... \scaledfontsize \fi \edef
  \somefontspec {at  
\number ...

\dododefinefont ...inefont {#2}\rawfontidentifier
  \csname  
\rawfontidentifier...

\dosetfontattribute ...me #1...@ea \endcsname \fi
  \empty
\doplacestructureheadtext ...ucturehead }\c!style
   
\structureheadparameter \c...

\dohandlestructurehead ...\placestructureheadtext
  \fi  
\dostructureheadspacin...

l.9 \part{Märchen}


Did you mean "Serif at 64pt"? That works.


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

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

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


Re: [NTG-context] no indent after blank

2010-07-30 Thread Wolfgang Schuster

 Am 30.07.10 18:37, schrieb Henning Hraban Ramm:

(latest beta MkIV)

With
\setupindenting[yes, medium]
there shouldn't be an indent after a \blank IMO.

How can I suppress it?

\setupindenting[yes,medium]
\starttext
\input knuth
\blank
\noindentation\input ward
\stoptext

or you use my fancybreak [1] module:

\usemodule[fancybreak]
\setupindenting[yes,medium]
\setupfancybreak[indentnext=no]
\starttext
\input knuth
\fancybreak
\input ward
\stoptext

[1] http://bitbucket.org/wolfs/fancybreak/src

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] part problems

2010-07-30 Thread luigi scarso
On Fri, Jul 30, 2010 at 10:37 PM, Wolfgang Schuster
 wrote:
>  Am 30.07.10 19:30, schrieb Henning Hraban Ramm:
>>
>> (MkIV, latest beta)
>>
>> I'm trying to get a title page for book parts:
>>
>> \def\FPart#1#2{#2}
>>
>> \setupheads    [align=right, tolerance=verytolerant,
>>        before=\nohyphen\startlinecorrection,
>>        after=\stoplinecorrection, number=no]
>> \setuphead[part][command=\FPart, page=right, style={\bfc}]
>>
>> \part{My First Part}
>>
>>
>> But the page is empty, also without "command", also with a suitable
>> "textcommand", also without "style".
>
> \setuphead[part][placehead=yes]
Hm, Hraban needs really to come to Brejlov

-- 
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] part problems

2010-07-30 Thread Wolfgang Schuster

 Am 30.07.10 19:30, schrieb Henning Hraban Ramm:

(MkIV, latest beta)

I'm trying to get a title page for book parts:

\def\FPart#1#2{#2}

\setupheads[align=right, tolerance=verytolerant,
before=\nohyphen\startlinecorrection,
after=\stoplinecorrection, number=no]
\setuphead[part][command=\FPart, page=right, style={\bfc}]

\part{My First Part}


But the page is empty, also without "command", also with a suitable 
"textcommand", also without "style".

\setuphead[part][placehead=yes]

To disable hyphenation in headers you can set 'align={right,nothyphenated}'.

Next problem:
In my ToC I get "Part  My First Part". (Or "Part 1  My First Part", if 
I enable the number.)

How can I suppress that piece of text ("Part")?


\setuplist[part][label=no]
Generally, what's the best approach to get a fixed font size for some 
titles, e.g. the part title should have 64 pt.

Should I use \setuphead[part][before={\switchtobodyfont[64pt]}] ?

\definefont[PartStyle][Serif sa 64pt]

\setuphead[part][style=PartStyle]

Wolfgang

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

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


[NTG-context] part problems

2010-07-30 Thread Henning Hraban Ramm

(MkIV, latest beta)

I'm trying to get a title page for book parts:

\def\FPart#1#2{#2}

\setupheads [align=right, tolerance=verytolerant,
before=\nohyphen\startlinecorrection,
after=\stoplinecorrection, number=no]
\setuphead[part][command=\FPart, page=right, style={\bfc}]

\part{My First Part}


But the page is empty, also without "command", also with a suitable  
"textcommand", also without "style".



Next problem:
In my ToC I get "Part  My First Part". (Or "Part 1  My First Part", if  
I enable the number.)

How can I suppress that piece of text ("Part")?


Generally, what's the best approach to get a fixed font size for some  
titles, e.g. the part title should have 64 pt.

Should I use \setuphead[part][before={\switchtobodyfont[64pt]}] ?


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

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

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


Re: [NTG-context] Footnotes into a single paragraph (mkiv)

2010-07-30 Thread Hans Hagen

On 30-7-2010 5:04, Markus Finke wrote:

Can anybody help me? I don’t want to fall back on LaTeX because I would
miss a lot of features for fonts and I prefer the smoother usability
writing in ConTEXt.

Is there any hope for this (not to rare) design in footnotes?


local notes or page notes

in mkii there is an option (n=0,location=text) but not yet in mkiv ... I 
delayed it till we had opened up more of the pagebuilder in luatex (as 
now we need some real hackery .. inserts are not really made for that)


i can have a look at it

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] no indent after blank

2010-07-30 Thread Henning Hraban Ramm

(latest beta MkIV)

With
\setupindenting[yes, medium]
there shouldn't be an indent after a \blank IMO.

How can I suppress it?


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

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

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


Re: [NTG-context] new current

2010-07-30 Thread Vnpenguin
On Fri, Jul 30, 2010 at 17:35, Mojca Miklavec
 wrote:
>> Extracted  & copied luatex.dll & luatex.exe from luatex-dev.zip into
>> "C:\context\bin".
>
> No, not that one, but C:\context\tex\texmf-mswin\bin.
>

Ah, I don't know this folder yet :) It works without error now.

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] new current

2010-07-30 Thread Taco Hoekwater

On 07/30/2010 05:35 PM, Mojca Miklavec wrote:

Extracted&  copied luatex.dll&  luatex.exe from luatex-dev.zip into
"C:\context\bin".


No, not that one, but C:\context\tex\texmf-mswin\bin.


Ran "context --generate" already. But the same error.

Is there any way to return to previous release ? It's quite annoying for me :(


You can try with "--context=current" switch in first-setup.bat, but I
do not dare to 100% guarantee that it works (else you can always use
TeX Live :).

Alternatively Taco could publish his MinGW luatex.exe somewhere.


http://foundry.supelec.fr/gf/download/frsrelease/380/1532/luatex-beta-0.61.0-win32-mingw.zip

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

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


Re: [NTG-context] new current

2010-07-30 Thread Mojca Miklavec
> Extracted  & copied luatex.dll & luatex.exe from luatex-dev.zip into
> "C:\context\bin".

No, not that one, but C:\context\tex\texmf-mswin\bin.

> Ran "context --generate" already. But the same error.
>
> Is there any way to return to previous release ? It's quite annoying for me :(

You can try with "--context=current" switch in first-setup.bat, but I
do not dare to 100% guarantee that it works (else you can always use
TeX Live :).

Alternatively Taco could publish his MinGW luatex.exe somewhere.

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
___


Re: [NTG-context] new current

2010-07-30 Thread Vnpenguin
On Fri, Jul 30, 2010 at 17:09, Mojca Miklavec
 wrote:
> On Fri, Jul 30, 2010 at 16:39, Hans Hagen wrote:
>>
>> It works ok here ... what platform are you on? maybe luatex is not yet 0.61
>> for your platform?
>
> Only cygwin, freebsd-amd64 and kfreebsd-* lack the proper binaries.
> Oh, and windows ... but there's not much that I can do with it since
> http://w32tex.org/ still holds only 0.60.2. (You can try to fetch the
> luatex dll from luatex-dev zip from that page if that would help in
> any way.)
>

Extracted  & copied luatex.dll & luatex.exe from luatex-dev.zip into
"C:\context\bin".
Ran "context --generate" already. But the same error.

Is there any way to return to previous release ? It's quite annoying for me :(

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] new current

2010-07-30 Thread Mojca Miklavec
On Fri, Jul 30, 2010 at 16:39, Hans Hagen wrote:
>
> It works ok here ... what platform are you on? maybe luatex is not yet 0.61
> for your platform?

Only cygwin, freebsd-amd64 and kfreebsd-* lack the proper binaries.
Oh, and windows ... but there's not much that I can do with it since
http://w32tex.org/ still holds only 0.60.2. (You can try to fetch the
luatex dll from luatex-dev zip from that page if that would help in
any way.)



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
___


Re: [NTG-context] Footnotes into a single paragraph (mkiv)

2010-07-30 Thread Markus Finke
Can anybody help me? I don’t want to fall back on LaTeX because I would 
miss a lot of features for fonts and I prefer the smoother usability 
writing in ConTEXt.


Is there any hope for this (not to rare) design in footnotes?
___
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] new current

2010-07-30 Thread Vnpenguin
On Fri, Jul 30, 2010 at 16:39, Hans Hagen  wrote:
> On 30-7-2010 4:19, Vnpenguin wrote:
>
>> Hi,
>> I modified _nothing_ within ConTeXt installation tree, except
>> "texmf-local" folder. Everything was rsynced from
>> rsync://contextgarden.net/minimals/setup by using unmodified-script
>> "first-setup.bat". So if something is missing it's on Rsync server,
>> not on my PC, right ?
>
> It works ok here ... what platform are you on? maybe luatex is not yet 0.61
> for your platform?
>

Windows XP SP3

E:\>context --version

MTXrun | main context file:
C:/context/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2010.07.30 11:35

E:\>luatex --version
This is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736)

Execute  'luatex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2. For more
information about these matters, see the file named COPYING and
the LuaTeX source.

Copyright 2010 Taco Hoekwater, the LuaTeX Team.
___
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] new current

2010-07-30 Thread Hans Hagen

On 30-7-2010 4:19, Vnpenguin wrote:


Hi,
I modified _nothing_ within ConTeXt installation tree, except
"texmf-local" folder. Everything was rsynced from
rsync://contextgarden.net/minimals/setup by using unmodified-script
"first-setup.bat". So if something is missing it's on Rsync server,
not on my PC, right ?


It works ok here ... what platform are you on? maybe luatex is not yet 
0.61 for your platform?


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] new current

2010-07-30 Thread Vnpenguin
On Fri, Jul 30, 2010 at 16:01, Hans Hagen  wrote:
>>>
>>> no clue but minimals are normally synced each hour so maybe wait 15
>>> minutes
>>> and try again.
>>
>> It's 15:54 now (your post is at 12:51). Just updated but ConTeXt is
>> always broken !!!
>>
>> E:\tex\Temp>context test1.tex
>>
>> MTXrun | run 1: luatex
>>
>> --fmt="C:/context/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en"
>> --lua="C:/context/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc
>> 7e3383ec8c3a00c/formats/cont-en.lui" --backend=pdf "./test1.tex"This
>> is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736)
>>  \write18 enabled.
>> This went wrong:
>> text/tex/texmf-context/tex/context/base/lpdf-nod.lua:18: table
>> index is nil
>> ..
>> <*>
>>     ./test1.tex
>> ?
>
> this is strange as it does make a proper format here and on taco's machine;
> your problem comes from
>
> local variables = interfaces.variables
>
> you can add a line table.print(variables) to see what is in there
>
> if it's empty ... you might be missing mult-def.lua
>
> Hans
>

Hi,
I modified _nothing_ within ConTeXt installation tree, except
"texmf-local" folder. Everything was rsynced from
rsync://contextgarden.net/minimals/setup by using unmodified-script
"first-setup.bat". So if something is missing it's on Rsync server,
not on my PC, right ?

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] new current

2010-07-30 Thread Hans Hagen

On 30-7-2010 3:56, Vnpenguin wrote:

On Fri, Jul 30, 2010 at 12:51, Hans Hagen  wrote:

On 30-7-2010 12:19, Vnpenguin wrote:


Just updated on my WinXP ConTeXt minimal. I do a simple test:

\starttext
\input knuth
\stoptext

And here is compiling error :


no clue but minimals are normally synced each hour so maybe wait 15 minutes
and try again.


It's 15:54 now (your post is at 12:51). Just updated but ConTeXt is
always broken !!!

E:\tex\Temp>context test1.tex

MTXrun | run 1: luatex
--fmt="C:/context/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en"
--lua="C:/context/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc
7e3383ec8c3a00c/formats/cont-en.lui" --backend=pdf "./test1.tex"This
is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736)
  \write18 enabled.
This went wrong:
text/tex/texmf-context/tex/context/base/lpdf-nod.lua:18: table
index is nil
..
<*>
 ./test1.tex
?


this is strange as it does make a proper format here and on taco's 
machine; your problem comes from


local variables = interfaces.variables

you can add a line table.print(variables) to see what is in there

if it's empty ... you might be missing mult-def.lua

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] new current

2010-07-30 Thread Vnpenguin
On Fri, Jul 30, 2010 at 12:51, Hans Hagen  wrote:
> On 30-7-2010 12:19, Vnpenguin wrote:
>
>> Just updated on my WinXP ConTeXt minimal. I do a simple test:
>>
>> \starttext
>> \input knuth
>> \stoptext
>>
>> And here is compiling error :
>
> no clue but minimals are normally synced each hour so maybe wait 15 minutes
> and try again.

It's 15:54 now (your post is at 12:51). Just updated but ConTeXt is
always broken !!!

E:\tex\Temp>context test1.tex

MTXrun | run 1: luatex
--fmt="C:/context/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en"
--lua="C:/context/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc
7e3383ec8c3a00c/formats/cont-en.lui" --backend=pdf "./test1.tex"This
is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736)
 \write18 enabled.
This went wrong:
...text/tex/texmf-context/tex/context/base/lpdf-nod.lua:18: table
index is nil
.
<*>
./test1.tex
?
___
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] 4th ConTeXt Meeting, update

2010-07-30 Thread Jano Kula

On 07/28/2010 09:20 PM, Henning Hraban Ramm wrote:

Am 2010-07-26 um 15:20 schrieb Jano Kula:


There are few weeks left till the 4th ConTeXt Meeting on September
13-18, 2010 in Brejlov, Czech Republic.
We have collected interesting talks and tutorials (25+) on ConTeXt,
LuaTeX, Lua, fonts, OpenType math, Metapost and more:
http://meeting.contextgarden.net/2010/abstracts.shtml

...

After the deadline, the registration for the meeting is still open
until we reach the available capacity.



I'm really tempted to attend!


"The only way to get rid of temptation is to yield to it."

-- Oscar Wilde

"We regret only journeys, we never made."

-- Jan Zábrana

___
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] new current

2010-07-30 Thread Hans Hagen

On 30-7-2010 12:19, Vnpenguin wrote:


Just updated on my WinXP ConTeXt minimal. I do a simple test:

\starttext
\input knuth
\stoptext

And here is compiling error :


no clue but minimals are normally synced each hour so maybe wait 15 
minutes and try again.


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] Error in newest beta/current

2010-07-30 Thread Andreas Harder

Am 30.07.2010 um 12:26 schrieb Hans Hagen:

> On 30-7-2010 11:22, Andreas Harder wrote:
>> Hi,
>> 
>> the compilation of:
>> 
>> \setupinteraction[state=start]
>> \starttext
>> test\footnote{test}
>> \stoptext
> 
> i'm uploading a fix
Thanks

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

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


Re: [NTG-context] Error in newest beta/current

2010-07-30 Thread Hans Hagen

On 30-7-2010 11:22, Andreas Harder wrote:

Hi,

the compilation of:

\setupinteraction[state=start]
\starttext
test\footnote{test}
\stoptext


i'm uploading a fix

-
  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] new current

2010-07-30 Thread Vnpenguin
On Fri, Jul 30, 2010 at 10:45, Hans Hagen  wrote:
> Hi,
>
> I uploaded a current release that matches luatex 0.61 beta (released a few
> days ago). The release notes will follow. Apart from a couple of fixes in
> mkiv the main additions are tagged pdf and the possibility to include pages
> from pdf documents with hyperlinks which is controlled by the 'interaction'
> key (given that interaction is enabled).
>
> \externalfigure[file.pdf][page=1,scale=700,frame=on,interaction=yes]
>
> This is experimental code and it will be extended in the future. Also more
> control will provided. Future releases will also deal with layers in
> embedded images (all within reasonable bounds).
>
> The current code still supports older mplib although so this current might
> work with alpha 0.61 versions.
>
> We expect a next beta if luatex in a couple of weeks so there will for sure
> be beta releases of context in the meantime.
>
> Hans
>

Just updated on my WinXP ConTeXt minimal. I do a simple test:

\starttext
\input knuth
\stoptext

And here is compiling error :

E:\Temp>context test1.tex

MTXrun | run 1: luatex
--fmt="C:/context/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en"
--lua="C:/context/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc
7e3383ec8c3a00c/formats/cont-en.lui" --backend=pdf "./test1.tex"This
is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736)
 \write18 enabled.
This went wrong:
...text/tex/texmf-context/tex/context/base/lpdf-nod.lua:18: table
index is nil
.
<*>
./test1.tex


Info of ConTeXt:

MTXrun | main context file:
C:/context/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2010.07.30 10:40

Something broken here ?

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] new current

2010-07-30 Thread Wolfgang Schuster

 Am 30.07.10 11:53, schrieb Henning Hraban Ramm:

Am 2010-07-30 um 10:45 schrieb Hans Hagen:


the main additions are tagged pdf


Very nice! How can we use that? Must we provide a complete content 
stream "manually", or can ConTeXt generate it?


You can enable it with \setupstructure[state=start], many command (like 
itemize,

headers, tabulate, natural tables) have it build-in, for others you can use

\startelement[]
...
\stopelement

To tag paragraphs you need

\startparagraph ... \stopparagraph

Wolfgang

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

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


[NTG-context] complicated layout - impostion

2010-07-30 Thread Jan Pohanka

Hallo,
I need to create a document with complicated layout.

four A6 pages on one side of A4 sheet (two upper ones with bottom up)
two  A5 landscape pages on back side of A4 sheet (upper one with bottom up)

How can I reach this in Context please?
\setuppapersize[A6][A4]
\setuparranging[2*4]
This code works fine for A6 pages, but I'm not sure how to include also A5  
landscape pages.


Whole work should end with a document similar to  
http://www.eprona.com/kdp/data/skladacka2010.pdf


greetings Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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] new current

2010-07-30 Thread Henning Hraban Ramm

Am 2010-07-30 um 10:45 schrieb Hans Hagen:


the main additions are tagged pdf


Very nice! How can we use that? Must we provide a complete content  
stream "manually", or can ConTeXt generate it?



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

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

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


Re: [NTG-context] Expansion and database module

2010-07-30 Thread Hans Hagen

On 30-7-2010 10:53, Jaroslav Hajtmar wrote:

appendix:
Is it possible that the error is in the Mojca database module??


no, it's related to the nature of the module ... it operates on raw data 
and avoids expansion as well as uses line endings with a different 
catcode ... there is no way around it and as the module is already 
somewhat complex it will not be touched


it might be easier to manage your data in lua tables and then write out 
context commands


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] Error in newest beta/current

2010-07-30 Thread Andreas Harder
Hi,

the compilation of:

\setupinteraction[state=start]
\starttext
test\footnote{test}
\stoptext

ends with:

! LuaTeX error ...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:66: 
pdf.pageref() needs page number > 0
stack traceback:
[C]: in function 'pdfpagereference'
...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:66: in function 
'pagedest'
...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:140: in 
function <...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:79>
(tail call): ?
...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:302: in 
function 'action'
...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:182: in 
function 'pdfaction'
...text/tex/texmf-context/tex/context/base/lpdf-ano.lua:208: in 
function 'prerollreference'
...text/tex/texmf-context/tex/context/base/node-ref.lua:331: in 
function 'setreference'
...text/tex/texmf-context/tex/context/base/node-ref.lua:476: in 
function 'inject'
:1: in main chunk.
\directgotobox ...,nil,\extrareferencearguments )}
  \dostoptagged \setlocation...
\typesetsomenotesymbol ...age("#1",\number #2)})]}
  \globallet \lastnotesymbol...
\@@notemakedescription ...ymbol \dolastnotesymbol 
  \else \unskip \unskip \glo...

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

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


Re: [NTG-context] Expansion and database module

2010-07-30 Thread Jaroslav Hajtmar

appendix:
Is it possible that the error is in the Mojca database module??

Jaroslav


Dne 30.7.2010 10:50, Jaroslav Hajtmar napsal(a):

Thanx Hans, but your example do not print anything.
I dont know why, but output is empty...

Jaroslav


Dne 30.7.2010 10:34, Hans Hagen napsal(a):

On 30-7-2010 10:29, Jaroslav Hajtmar wrote:

Hello all,

My big weakness in TeX practice is working with the expansion. Perhaps
because he speaks so Lua.
I would like to ask whether there is any possibility of printing table
columns (throw Mojca database module) when the column data are 
contained

in a separate macro.


Example:

\usemodule[database]

\defineseparatedlist
[NaturalTable]
[separator=comma,
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]

\def\tabrow{A, B, C}


\starttext

\startseparatedlist[NaturalTable]
a,b,c
A,B,C
\stopseparatedlist

\blank[big]

\startseparatedlist[NaturalTable]
\tabrow
\stopseparatedlist


\expanded{\startseparatedlist[NaturalTable]
\tabrow}
\stopseparatedlist

might work




%But I would like get table with three separate columns

\stoptext


While I can parsing column data contained in macro \tabrow, anyway I
cant transmit column data to \startseparatedlist[NaturalTable] ..
\stopseparatedlist environment to make it work.

Thanx Jaroslav


___ 



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

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








___ 

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] Expansion and database module

2010-07-30 Thread Jaroslav Hajtmar

Thanx Hans, but your example do not print anything.
I dont know why, but output is empty...

Jaroslav


Dne 30.7.2010 10:34, Hans Hagen napsal(a):

On 30-7-2010 10:29, Jaroslav Hajtmar wrote:

Hello all,

My big weakness in TeX practice is working with the expansion. Perhaps
because he speaks so Lua.
I would like to ask whether there is any possibility of printing table
columns (throw Mojca database module) when the column data are contained
in a separate macro.


Example:

\usemodule[database]

\defineseparatedlist
[NaturalTable]
[separator=comma,
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]

\def\tabrow{A, B, C}


\starttext

\startseparatedlist[NaturalTable]
a,b,c
A,B,C
\stopseparatedlist

\blank[big]

\startseparatedlist[NaturalTable]
\tabrow
\stopseparatedlist


\expanded{\startseparatedlist[NaturalTable]
\tabrow}
\stopseparatedlist

might work




%But I would like get table with three separate columns

\stoptext


While I can parsing column data contained in macro \tabrow, anyway I
cant transmit column data to \startseparatedlist[NaturalTable] ..
\stopseparatedlist environment to make it work.

Thanx Jaroslav


___ 



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

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








___
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] new current

2010-07-30 Thread Hans Hagen

Hi,

I uploaded a current release that matches luatex 0.61 beta (released a 
few days ago). The release notes will follow. Apart from a couple of 
fixes in mkiv the main additions are tagged pdf and the possibility to 
include pages from pdf documents with hyperlinks which is controlled by 
the 'interaction' key (given that interaction is enabled).


\externalfigure[file.pdf][page=1,scale=700,frame=on,interaction=yes]

This is experimental code and it will be extended in the future. Also 
more control will provided. Future releases will also deal with layers 
in embedded images (all within reasonable bounds).


The current code still supports older mplib although so this current 
might work with alpha 0.61 versions.


We expect a next beta if luatex in a couple of weeks so there will for 
sure be beta releases of context in the meantime.


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] Expansion and database module

2010-07-30 Thread Hans Hagen

On 30-7-2010 10:29, Jaroslav Hajtmar wrote:

Hello all,

My big weakness in TeX practice is working with the expansion. Perhaps
because he speaks so Lua.
I would like to ask whether there is any possibility of printing table
columns (throw Mojca database module) when the column data are contained
in a separate macro.


Example:

\usemodule[database]

\defineseparatedlist
[NaturalTable]
[separator=comma,
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]

\def\tabrow{A, B, C}


\starttext

\startseparatedlist[NaturalTable]
a,b,c
A,B,C
\stopseparatedlist

\blank[big]

\startseparatedlist[NaturalTable]
\tabrow
\stopseparatedlist


\expanded{\startseparatedlist[NaturalTable]
\tabrow}
\stopseparatedlist

might work




%But I would like get table with three separate columns

\stoptext


While I can parsing column data contained in macro \tabrow, anyway I
cant transmit column data to \startseparatedlist[NaturalTable] ..
\stopseparatedlist environment to make it work.

Thanx Jaroslav


___

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

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




--

-
  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] Expansion and database module

2010-07-30 Thread Jaroslav Hajtmar

Hello all,

My big weakness in TeX practice is working with the expansion. Perhaps 
because he speaks so Lua.
I would like to ask whether there is any possibility of printing table 
columns (throw Mojca database module) when the column data are contained 
in a separate macro.



Example:

\usemodule[database]

\defineseparatedlist
[NaturalTable]
[separator=comma,
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]

\def\tabrow{A, B, C}


\starttext

\startseparatedlist[NaturalTable]
a,b,c
A,B,C
\stopseparatedlist

\blank[big]

\startseparatedlist[NaturalTable]
\tabrow
\stopseparatedlist


%But I would like get table with three separate columns

\stoptext


While I can parsing column data contained in macro \tabrow, anyway I 
cant transmit column data to \startseparatedlist[NaturalTable] .. 
\stopseparatedlist environment to make it work.


Thanx Jaroslav


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

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


Re: [NTG-context] Passing info from MetaPost to TeX

2010-07-30 Thread Taco Hoekwater

On 07/30/2010 08:20 AM, Oliver Buerschaper wrote:

No answer :-( Does that mean it's impossible with current technology?


Well, you could create a temporary file from withing the metapost
graphic, then read that file back on the TeX side, and then shift
the image vertically based on the info from that.

Complicated and a bit ugly, but doable. A nicer solution is to
adjust the bounging box of the image itself so that it does the
right thing. This seems to do the trick (but I recall there is
a way to pass a TeX variable to the figure; and that would be much
cleaner; but I don't remember how offhand).


\startuseMPgraphic{diagram2}
   u := StrutHeight;
   draw origin--(2u,0)--(u,sqrt(3)*u)--cycle;
   currentpicture := currentpicture shifted (0,-(sqrt(3)*u/3));
   setbounds currentpicture to (origin--(2u,0)--(u,sqrt(3)*u)--cycle);
\stopuseMPgraphic

\starttext

\startformula
  A\raise\Umathaxis\displaystyle\hbox{\useMPgraphic{diagram2}}
  =B
\stopformula

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