[NTG-context] bug in beta from 2014.12.29 10:01

2014-12-29 Thread Pablo Rodriguez
Hans,

I have just updated ConTeXt Standalone to beta from 2014.12.29 10:01 and
I get the following error:

$ contextjit --version

mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'

I’m afraid this seems to be a bug.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Reference text differing from title

2014-12-29 Thread Wolfgang Schuster

> The example you have provided works well for section titles, table of 
> contents and references. What about bookmarks? The following extension of 
> your example produces a bookmark "1 chaptertitle{Long title for the 
> chapter}{Short title}":
> 
> \setupinteraction[state=start]
> \placebookmarks[chapter]
> \defineselector[chaptertitle][max=2,n=2]
> \setuphead[chapter][textcommand={\setupselector[chaptertitle][n=1]}]
> \starttext
> \startchapter[reference=sec:short,title=\select{chaptertitle}{Long title for 
> the chapter}{Short title}]
> \input knuth
> \about[sec:short]
> \stopchapter
> \stoptext
> 
> For setuphead, is there something like a "textcommand" key for bookmarks?

You can set the text for the bookmarks with \startchapter[bookmark=…,…]

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] OT: Asymptote in Context

2014-12-29 Thread Arthur Reutenauer
> I guess that "impress the gallery" is a translation of an expression in
> French referring to the upper, low-price, standing room only balcony in
> theaters, populated by an audience that is easily impressed...

  Actually, it's "amuser la galerie" - amuse / entertain the gallery,
rather than impress it.

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

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

Re: [NTG-context] Reference text differing from title

2014-12-29 Thread Christoph Reller
On Wed, Nov 26, 2014 at 6:32 AM, Christoph Reller <
christoph.rel...@gmail.com> wrote:
>
> On Tue, Nov 25, 2014 at 5:33 PM, Wolfgang Schuster wrote:
>
>> > Am 24.11.2014 um 14:00 schrieb Christoph Reller <
>> christoph.rel...@gmail.com>:
>> >
>> > Is it possible to change the text shown in \about[...] to be something
>> else than the text given to the title key of \startsection?
>> >
>> > \starttext
>> > \startsection[
>> >   title={Very Long},
>> > %  referencetext={Short}, % <- is there something like this?
>> >   reference=mysec]
>> >   We are now in \about[mysec]. % <- should render as "Short"
>> > \stopsection
>> > \stoptext
>> >
>> > Thank you for any help,
>>
>> You can use the selector mechanism to set multiple texts for the title.
>>
>> \defineselector[chaptertitle][max=2,n=2]
>>
>> \setuplist[chapter][textcommand={\setupselector[chaptertitle][n=1]}]
>> \setuphead[chapter][textcommand={\setupselector[chaptertitle][n=1]}]
>>
>> \starttext
>>
>> \completecontent
>>
>> \startchapter[reference=sec:short,title=\select{chaptertitle}{Long title
>> for the chapter}{Short title}]
>>
>> \input knuth
>>
>> \about[sec:short]
>>
>> \stopchapter
>>
>> \stoptext
>>
>> Wolfgang
>>
>
> Thank you Wolfgang! This is a perfect solution.
> Christoph
>

Dear Wolfgang,

The example you have provided works well for section titles, table of
contents and references. What about bookmarks? The following extension of
your example produces a bookmark "1 chaptertitle{Long title for the
chapter}{Short title}":

\setupinteraction[state=start]
\placebookmarks[chapter]
\defineselector[chaptertitle][max=2,n=2]
\setuphead[chapter][textcommand={\setupselector[chaptertitle][n=1]}]
\starttext
\startchapter[reference=sec:short,title=\select{chaptertitle}{Long title
for the chapter}{Short title}]
\input knuth
\about[sec:short]
\stopchapter
\stoptext

For setuphead, is there something like a "textcommand" key for bookmarks?

Thank you for any help,
Christoph
___
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] OT: Asymptote in Context

2014-12-29 Thread Alan BRASLAU
On Sun, 28 Dec 2014 18:07:38 +0100
luigi scarso  wrote:

> On Sun, Dec 28, 2014 at 5:51 PM, Alan BRASLAU 
> wrote:
> 
> > Sorry, but I fail to see what the 3D aspect of this drawing brings
> > to anything, other than to impress the gallery and look spiffy.
> >
> > I guess that we belong now to a society without any imagination,
> > requiring lots of colors, shadowing (and even animation) in order to
> > get an idea across...
> >
> > (At least make use of the third dimension to describe SOMETHING if
> > you are going to include it.)
> >
> >
> > http://www.pdf3d.com/gallery.php
> shows  other examples

I guess that "impress the gallery" is a translation of an expression in
French referring to the upper, low-price, standing room only balcony in
theaters, populated by an audience that is easily impressed...

Sorry, but I insurge against the frequent, abusive misuse of 3d-like
illustrations common in PowerPoint and other MSWord documents.

Sometimes, it is useful to illustrate something in perspective; in most
cases this turns out to be very marginal - nothing more than "eye
candy" - makes life sweeter!

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
___

[NTG-context] Footnote breaks tagging

2014-12-29 Thread Christoph Reller
Hi,

ConTeXt mkiv is the only TeX-based typesetting system that can produce
tagged PDFs and this is a really useful feature. Unfortunately, footnotes
seem to upset tagging. MWE:

\setuptagging[state=start]
\starttext
Text\footnote{Note}
\stoptext

In the resulting PDF, the structure tree seems okay to me, but the content
stream is defect:

0 g 0 G
BT
/F1 11.955168 Tf 1 0 0 1 280.5345 760.6422 Tm [<00520067>]TJ
ET
/document <>BDC
BT
/F1 11.955168 Tf 1 0 0 1 70.867 702.3845 Tm [<0068>82<003200740069>]TJ
ET
EMC
BT
/F6 7.970112 Tf 1 0 0 1 94.2752 706.0772 Tm [<0052>]TJ
ET
EMC
q
1 0 0 1 70.867 131.9542 cm
[]0 d 0 J 0.3985 w 0 0 m 85.0373 0 l S
Q
/descriptiontag <>BDC
0 g 0 G
EMC
BT
/F6 7.970112 Tf 1 0 0 1 61.6535 122.7515 Tm [<0052>]TJ
ET
EMC
/descriptioncontent <>BDC
BT
/F5 9.96264 Tf 1 0 0 1 70.867 119.0587 Tm [<004C005100690032>]TJ
ET
EMC

Clearly, in the content (around line 10) we miss something like
/sup <>BDC
I hope that this is a minor issue in the processing of footnotes. I would
very much appreciate if you could fix this bug.

Cheers,
Christoph
___
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] fluctuating baseline of header text

2014-12-29 Thread j. van den hoff
I observe a slight fluctuation of the baseline of text in the page header  
when going from one page to the next.

a minimal example follows:

\setupheader  [style=\smallbodyfont\ss\it]
\setupheadertexts [section]
\setuppagenumbering[location={header,margin}, style=\bfc]
\starttext
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\section{Introduction}
bla
\page[yes]
\stoptext

in this example (and with this font) the problem is only occuring when  
toggling between pages 6/7 or 7/8 (at sufficient zoom it's easy to see),
i.e.the header is shifted downward on page 7. in other docs with different  
fonts it happens across multiple pages. my guess would be it has to
do with the digit heights in the different fonts and the fact that the  
page numbers are much larger than the heading, but that's only a guess.


can someone confirm the problem?

thx,joerg




--
Using Opera's revolutionary email client: 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] Define a new type section with metafun

2014-12-29 Thread Fabrice

Hi Hans,
Thank you for your answer, text placement is correct as long as the 
policy is not too great.
For cons, I'll remove the red line separation because its placement is 
random.

Best regards,
Fabrice
___
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
___