Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Akira Kakuto

Dear Mikael,

An example from PGFPlots Gallery.
Please try if it works. Here on windows, it seems to work.
Attached files are tt.log.txt and tt.pdf.

Best,
Akira

%
% tt.tex: from PGFPlots Gallery
%
\setupcolors[state=start]
\usemodule[tikz]
\usemodule[pgfplots]

\starttext

\midaligned{%
\starttikzpicture
\startaxis[
xmin=-3, xmax=3,
ymin=-3, ymax=3,
extra x ticks={-1,1},
extra y ticks={-2,2},
extra tick style={grid=major},
]
\draw[red] \pgfextra{
\pgfpathellipse{\pgfplotspointaxisxy{0}{0}}
{\pgfplotspointaxisdirectionxy{1}{0}}
{\pgfplotspointaxisdirectionxy{0}{2}}
% see also the documentation of
% 'axis direction cs' which
% allows a simpler way to draw this ellipse
};
\draw[blue] \pgfextra{
\pgfpathellipse{\pgfplotspointaxisxy{0}{0}}
{\pgfplotspointaxisdirectionxy{1}{1}}
{\pgfplotspointaxisdirectionxy{0}{2}}
};
\addplot [only marks,mark=*] coordinates { (0,0) };
\stopaxis
\stoptikzpicture
}

\stoptext

open source > 1 > 1 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.11.04 19:10 MKIV beta  fmt: 2014.11.5  int: english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv
close source> 2 > 2 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv
system  > files > jobname 'tt', input './tt', result 'tt'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > c:/usr/work/edrive/send/tt.tex
colors  > 'rgb' color space is supported
colors  > 'cmyk' color space is supported
resolvers   > modules > 'tikz' is loaded
open source > 3 > 4 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/frontendlayer/t-tikz.tex
loading > ConTeXt User Module / tikz
open source > 4 > 5 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/basiclayer/t-pgf.tex
loading > ConTeXt User Module / pgf
open source > 5 > 6 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/basiclayer/t-pgfcor.tex
loading > ConTeXt User Module / pgfcor
open source > 6 > 7 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/systemlayer/t-pgfsys.tex
loading > ConTeXt User Module / pgfsys
open source > 7 > 8 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfrcs.tex
loading > ConTeXt User Module / pgfrcs
open source > 8 > 9 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfmod.tex
loading > ConTeXt User Module / pgfmodules
close source> 8 > 9 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfmod.tex
open source > 8 > 10 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 9 > 11 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 9 > 11 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 8 > 11 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 8 > 12 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-context.def
close source> 8 > 12 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-context.def
open source > 8 > 13 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 8 > 13 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 7 > 13 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfrcs.tex
open source > 7 > 14 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 8 > 15 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 9 > 16 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 9 > 16 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 8 > 16 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 8 > 17 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
close source> 8 > 17 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
Driver file for pgf: pgfsys-pdftex.def
open source > 8 > 18 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
open source > 9 > 19 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 9 > 19 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 8 > 19 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
open source > 8 > 20 > tt.pgf
close source> 8 > 20 > tt.pgf
close source> 7 > 20 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 7 > 21 > 
c:/usr/local/share/texmf-

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-04 Thread Christoph Reller
> On 11/2/2014 2:27 PM, Christoph Reller wrote:
> > Hi,
> >
> > Why does \type{...} introduce spaces when used inside natural tables?
> >
> > MWE:
> >
> > \starttext
> > \type{\test\test} %<- no space introduced
> > \bTABLE
> > \bTR \bTD \typ{\test\test} \eTD \eTR %<- space introduced
> > \eTABLE
> > \stoptext
>
> it's the way tex works (when passing arguments) .. you can use this (and
> wikify it):
>
> \definetype[ctype][compact=absolute]
>
> \bTABLE
>  \bTR \bTD \ctype{\test\test} \eTD \eTR
> \eTABLE

Thank you very much Hans!

Maybe you could tell me why the following still produces a space in front
of the full stop:

\definetype[ctype][compact=absolute]
\starttext
\bTABLE
  \bTR \bTD \ctype{\test.txt} \eTD \eTR
\eTABLE
\stoptext

If this issue is resolved I will be glad to wikify.

Regards,
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] Font Sizing in Layers

2014-11-04 Thread jdh


I wanted to change character sizes in a letter head but the \tfa... 
macro doesn't work.


Here is a minimum example   See how the letter head does not give larger 
fonts as requested with the \tfc{}  command.  See the difference 
with the table in the body of the letter.



Regards,
   darel
___
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] pgfplots broken?

2014-11-04 Thread Akira Kakuto

you can try with \enabletrackers[resolvers.swiglib] to see what gets checked


I (if you meant me) get the attached log file.


A log file in my case for

\enabletrackers[resolvers.swiglib]
\usemodule[pgfplots]
\starttext
Foo
\stoptext

is attached.

Best,
Akira

open source > 1 > 1 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.11.04 11:02 MKIV beta  fmt: 2014.11.4  int: english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv
close source> 2 > 2 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv
system  > files > jobname 't', input './t', result 't'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > c:/usr/work/edrive/send/t.tex
resolvers   > modules > 'pgfplots' is loaded
open source > 3 > 4 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgfplots/t-pgfplots.tex
loading > ConTeXt User Module / Pgfplots
resolvers   > modules > 'tikz' is loaded
open source > 4 > 5 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/frontendlayer/t-tikz.tex
loading > ConTeXt User Module / tikz
open source > 5 > 6 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/basiclayer/t-pgf.tex
loading > ConTeXt User Module / pgf
open source > 6 > 7 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/basiclayer/t-pgfcor.tex
loading > ConTeXt User Module / pgfcor
open source > 7 > 8 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/systemlayer/t-pgfsys.tex
loading > ConTeXt User Module / pgfsys
open source > 8 > 9 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfrcs.tex
loading > ConTeXt User Module / pgfrcs
open source > 9 > 10 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfmod.tex
loading > ConTeXt User Module / pgfmodules
close source> 9 > 10 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfmod.tex
open source > 9 > 11 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 10 > 12 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 10 > 12 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 9 > 12 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 9 > 13 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-context.def
close source> 9 > 13 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-context.def
open source > 9 > 14 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 9 > 14 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 8 > 14 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfrcs.tex
open source > 8 > 15 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 9 > 16 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 10 > 17 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 10 > 17 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 9 > 17 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 9 > 18 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
close source> 9 > 18 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
Driver file for pgf: pgfsys-pdftex.def
open source > 9 > 19 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
open source > 10 > 20 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 10 > 20 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 9 > 20 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
open source > 9 > 21 > t.pgf
close source> 9 > 21 > t.pgf
close source> 8 > 21 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 8 > 22 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
close source> 8 > 22 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
open source > 8 > 23 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
close source> 8 > 23 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
close source> 7 > 23 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/systemlayer/t-pgfsys.tex
open source > 7 > 24 > 
c:/usr/local/share/texmf-dist/tex/g

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-04 Thread Fabrice

Hi,
The problem is the \setupTABLE [column] [1] [[width = 4cm, align = 
{right, lohi}, frame = on,

FrameColor = H1prime].
We must not put FrameColor = H1prime.
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
___

Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Mikael P. Sundqvist
On Tue, Nov 4, 2014 at 8:12 PM, Hans Hagen  wrote:
> you can try with \enabletrackers[resolvers.swiglib] to see what gets checked

I (if you meant me) get the attached log file.

/Mikael
open source > 1 > 1 > /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.11.04 11:02 MKIV beta  fmt: 2014.11.4  int: english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
close source> 2 > 2 > /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system  > files > jobname 't', input './t', result 't'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > /home/mickep/tmp/t.tex
resolvers   > modules > 'pgfplots' is loaded
open source > 3 > 4 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/third/pgfplots/t-pgfplots.tex
loading > ConTeXt User Module / Pgfplots
resolvers   > modules > 'tikz' is loaded
open source > 4 > 5 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex
loading > ConTeXt User Module / tikz
open source > 5 > 6 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex
loading > ConTeXt User Module / pgf
open source > 6 > 7 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex
loading > ConTeXt User Module / pgfcor
open source > 7 > 8 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex
loading > ConTeXt User Module / pgfsys
open source > 8 > 9 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
loading > ConTeXt User Module / pgfrcs
open source > 9 > 10 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
loading > ConTeXt User Module / pgfmodules
close source> 9 > 10 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
open source > 9 > 11 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 10 > 12 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 10 > 12 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 9 > 12 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 9 > 13 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
close source> 9 > 13 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
open source > 9 > 14 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 9 > 14 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 8 > 14 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
open source > 8 > 15 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 9 > 16 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 10 > 17 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 10 > 17 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 9 > 17 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 9 > 18 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg
close source> 9 > 18 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg
Driver file for pgf: pgfsys-pdftex.def
open source > 9 > 19 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
open source > 10 > 20 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 10 > 20 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 9 > 20 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
close source> 8 > 20 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 8 > 21 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
close source> 8 > 21 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
open source > 8 > 22 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
close source> 8 > 22 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
close source> 7 > 22 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/p

Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Hans Hagen

On 11/4/2014 7:13 PM, Mikael P. Sundqvist wrote:

On Tue, Nov 4, 2014 at 3:44 PM, Akira Kakuto  wrote:

Can confirm not working in latest Beta.


you can try with \enabletrackers[resolvers.swiglib] to see what gets 
checked



It looks like there is no problem here.
mtx-context | current version: 2014.11.04 11:02

Best,
Akira

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



Intresting. I provide the log file I get (running ubuntu linux if that
matters, I see that you run windows). I just reinstalled my ConTeXt
folder, so no old files should be in there. Same error as before.

/Mikael



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

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




--

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

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

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-04 Thread Robert Blackstone

On 4 Nov 2014, at 15:27 , Michał Goliński   wrote
> 
> A few weeks back I've asked here about the structure of titles, as the 
> PDF bookmarks didn't work for me. I was given a solution, which should 
> work, but unfortunately it doesn't. I don't know if this is a bug or is 
> this expected behaviour.
> 
> For the file:
> 
> \setupinteraction[state=start]
> \placebookmarks[part,chapter,section]
> \setupinteractionscreen[option=bookmark]
> \starttext
> \placecontent
> 
> \startfrontmatter
>  \startchapter[title=Prologue]
>  \input knuth
>  \stopchapter
> \stopfrontmatter
> 
> \startpart[title={Part A}]
>   \startchapter[title=One]
>   \input knuth
>   \stopchapter
> \stoppart
> 
> \startbackmatter
>  \startchapter[title=Epilogue]
>  \input knuth
>  \stopchapter
> \stopbackmatter
> \stoptext
> 
> 
> ConTeXt (Mk IV) generates a PDF file which has only one item in the 
> bookmarks -- the Prologue. The other chapters show up only if the file 
> is changed with
> 
> \placebookmarks[chapter,section]
> 
> but then of course there is no sign of Part A in the bookmarks.
> 
> I would expect the bookmarks to look like this:
> 
> Prologue
> Part A
>   One
> Epilogue

Hi, 
I think it is a  very recent bug. Only the standalone I installed  today gives 
the same wrong result that you get. 
My previous standalones, of which the most recent was installed two days ago, 
on  november 2, all give the correct result. That is, the bookmarks look OK but 
Part A starts on empty page 3 (no head) and Chapter 1 starts on page 4.
Is that really what you want?


Best regards,
Robert Blackstone
___
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] pgfplots broken?

2014-11-04 Thread Mikael P. Sundqvist
On Tue, Nov 4, 2014 at 3:44 PM, Akira Kakuto  wrote:
>> Can confirm not working in latest Beta.
>
>
> It looks like there is no problem here.
> mtx-context | current version: 2014.11.04 11:02
>
> Best,
> Akira
>
> ___
> 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
> ___


Intresting. I provide the log file I get (running ubuntu linux if that
matters, I see that you run windows). I just reinstalled my ConTeXt
folder, so no old files should be in there. Same error as before.

/Mikael
open source > 1 > 1 > /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.11.04 11:02 MKIV beta  fmt: 2014.11.4  int: english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
close source> 2 > 2 > /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system  > files > jobname 't', input './t', result 't'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > /home/mickep/tmp/t.tex
resolvers   > modules > 'pgfplots' is loaded
open source > 3 > 4 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/third/pgfplots/t-pgfplots.tex
loading > ConTeXt User Module / Pgfplots
resolvers   > modules > 'tikz' is loaded
open source > 4 > 5 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex
loading > ConTeXt User Module / tikz
open source > 5 > 6 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex
loading > ConTeXt User Module / pgf
open source > 6 > 7 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex
loading > ConTeXt User Module / pgfcor
open source > 7 > 8 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex
loading > ConTeXt User Module / pgfsys
open source > 8 > 9 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
loading > ConTeXt User Module / pgfrcs
open source > 9 > 10 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
loading > ConTeXt User Module / pgfmodules
close source> 9 > 10 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
open source > 9 > 11 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 10 > 12 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 10 > 12 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 9 > 12 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 9 > 13 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
close source> 9 > 13 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
open source > 9 > 14 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 9 > 14 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 8 > 14 > /home/mickep/ConTeXt/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
open source > 8 > 15 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 9 > 16 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 10 > 17 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 10 > 17 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 9 > 17 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 9 > 18 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg
close source> 9 > 18 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgf.cfg
Driver file for pgf: pgfsys-pdftex.def
open source > 9 > 19 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
open source > 10 > 20 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 10 > 20 > /home/mickep/ConTeXt/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 9 > 2

Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Hans Hagen

On 11/4/2014 4:49 PM, Mikael P. Sundqvist wrote:


ConTeXt$ find . -iname '*pgfluamath*'
./tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgfluamath.parser.lua
./tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgfluamath.functions.lua
./tex/texmf-modules/tex/generic/pgfplots/lua/pgfplotsoldpgfsupp_pgfluamath.parser.lua
./tex/texmf-modules/tex/generic/pgfplots/lua/pgfplotsoldpgfsupp_pgfluamath.functions.lua


require("foo.bar")

means: look for file [configured paths]/foo/bar.[so|dll|lua]

so, those filenames looks weird. I have no clue how e.g. latex or plain 
looks for files with require (maybe they kick in some kpse lookup) but 
i'm not going to add such an exception to context


local foo = dofile(resolvers.findfile(foo.bar.lua"))

might work for such files

-
  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] pgfplots broken?

2014-11-04 Thread Mikael P. Sundqvist
On Tue, Nov 4, 2014 at 4:32 PM, Hans Hagen  wrote:
> On 11/4/2014 12:42 PM, Mikael P. Sundqvist wrote:
>>
>> Hi, pgfplots seems broken with the latest standalone.With the example
>>
>> \usemodule[pgfplots]
>> \starttext
>> Foo
>> \stoptext
>
>
> Is there a "pgfluamath.*" file on the system?
>
> Hans
>
>
>> Best regards, Mikael
>>
>> lua error   > error on line 75 in file
>>
>> /opt/ConTeXt/tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex:
>>
>> .../ConTeXt/tex/texmf-context/tex/context/base/util-lib.lua:246:
>> module 'pgfluamath.functions' not found:
>>  no field package.preload['pgfluamath.functions']
>>  no file '/usr/local/share/lua/5.2/pgfluamath/functions.lua'
>>  no file '/usr/local/share/lua/5.2/pgfluamath/functions/init.lua'
>>  no file '/usr/local/lib/lua/5.2/pgfluamath/functions.lua'
>>  no file '/usr/local/lib/lua/5.2/pgfluamath/functions/init.lua'
>>  no file './pgfluamath/functions.lua'
>>  no file '/usr/local/lib/lua/5.2/pgfluamath/functions.so'
>>  no file '/usr/local/lib/lua/5.2/loadall.so'
>>  no file './pgfluamath/functions.so'
>>  no file '/usr/local/lib/lua/5.2/pgfluamath.so'
>>  no file '/usr/local/lib/lua/5.2/loadall.so'
>>  no file './pgfluamath.so'
>> stack traceback:
>>  [C]: in function 'savedrequire'
>>  .../ConTeXt/tex/texmf-context/tex/context/base/util-lib.lua:246:
>> in function 'require'
>>  [\directlua]:1: in main chunk
>>
>> 65   \let\pgfutil@directlua\directlua
>> 66   \pgfutil@directlua{%
>> 67 tex.enableprimitives('pgfutil@',{'luaescapestring'})}
>> 68 \else
>> 69   \def\pgfutil@directlua#1{}
>> 70   \def\pgfutil@luaescapestring#1{}
>> 71 \fi
>> 72
>> 73 \pgfutil@directlua{%
>> 74   pgfluamathfunctions = require("pgfluamath.functions")
>> 75 >>pgfluamathparser = require("pgfluamath.parser")}
>> 76
>> 77
>> 78 % Patch some configuration macros such that the modifications are
>> 79 % available in LUA as well:
>> 80 \pgfkeys{
>> 81 /pgf/trig format/deg/.add
>>
>> code={}{\directlua{pgfluamathfunctions.setTrigFormat("deg")}\aftergroup\pgfmath@settrigformat},
>> 82 /pgf/trig format/rad/.add
>>
>> code={}{\directlua{pgfluamathfunctions.setTrigFormat("rad")}\aftergroup\pgfmath@settrigformat},
>> 83 }
>> 84 % ... and reactivate the key:
>> 85 \pgfmathiftrigonometricusesdeg{%
>>
>> ___
>> 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
> ___

Yes,

ConTeXt$ find . -iname '*pgfluamath*'
./tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgfluamath.parser.lua
./tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgfluamath.functions.lua
./tex/texmf-modules/tex/generic/pgfplots/lua/pgfplotsoldpgfsupp_pgfluamath.parser.lua
./tex/texmf-modules/tex/generic/pgfplots/lua/pgfplotsoldpgfsupp_pgfluamath.functions.lua

Best regards, Mikael
___
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] pgfplots broken?

2014-11-04 Thread Hans Hagen

On 11/4/2014 1:58 PM, luigi scarso wrote:


 no field package.preload['pgfluamath.functions']
 no file '/usr/local/share/lua/5.2/pgfluamath/functions.lua'



is it "pgfluamath.functions.lua" a safe name for a Lua module ?


the is in fact a path separator there

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] pgfplots broken?

2014-11-04 Thread Hans Hagen

On 11/4/2014 12:42 PM, Mikael P. Sundqvist wrote:

Hi, pgfplots seems broken with the latest standalone.With the example

\usemodule[pgfplots]
\starttext
Foo
\stoptext


Is there a "pgfluamath.*" file on the system?

Hans



Best regards, Mikael

lua error   > error on line 75 in file
/opt/ConTeXt/tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex:

.../ConTeXt/tex/texmf-context/tex/context/base/util-lib.lua:246:
module 'pgfluamath.functions' not found:
 no field package.preload['pgfluamath.functions']
 no file '/usr/local/share/lua/5.2/pgfluamath/functions.lua'
 no file '/usr/local/share/lua/5.2/pgfluamath/functions/init.lua'
 no file '/usr/local/lib/lua/5.2/pgfluamath/functions.lua'
 no file '/usr/local/lib/lua/5.2/pgfluamath/functions/init.lua'
 no file './pgfluamath/functions.lua'
 no file '/usr/local/lib/lua/5.2/pgfluamath/functions.so'
 no file '/usr/local/lib/lua/5.2/loadall.so'
 no file './pgfluamath/functions.so'
 no file '/usr/local/lib/lua/5.2/pgfluamath.so'
 no file '/usr/local/lib/lua/5.2/loadall.so'
 no file './pgfluamath.so'
stack traceback:
 [C]: in function 'savedrequire'
 .../ConTeXt/tex/texmf-context/tex/context/base/util-lib.lua:246:
in function 'require'
 [\directlua]:1: in main chunk

65   \let\pgfutil@directlua\directlua
66   \pgfutil@directlua{%
67 tex.enableprimitives('pgfutil@',{'luaescapestring'})}
68 \else
69   \def\pgfutil@directlua#1{}
70   \def\pgfutil@luaescapestring#1{}
71 \fi
72
73 \pgfutil@directlua{%
74   pgfluamathfunctions = require("pgfluamath.functions")
75 >>pgfluamathparser = require("pgfluamath.parser")}
76
77
78 % Patch some configuration macros such that the modifications are
79 % available in LUA as well:
80 \pgfkeys{
81 /pgf/trig format/deg/.add
code={}{\directlua{pgfluamathfunctions.setTrigFormat("deg")}\aftergroup\pgfmath@settrigformat},
82 /pgf/trig format/rad/.add
code={}{\directlua{pgfluamathfunctions.setTrigFormat("rad")}\aftergroup\pgfmath@settrigformat},
83 }
84 % ... and reactivate the key:
85 \pgfmathiftrigonometricusesdeg{%
___
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] pgfplots broken?

2014-11-04 Thread Akira Kakuto

Can confirm not working in latest Beta.


It looks like there is no problem here.
mtx-context | current version: 2014.11.04 11:02

Best,
Akira

open source > 1 > 1 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.11.04 11:02 MKIV beta  fmt: 2014.11.4  int: english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv
close source> 2 > 2 > 
c:/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv
system  > files > jobname 't', input './t', result 't'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > c:/usr/work/edrive/send/t.tex
resolvers   > modules > 'pgfplots' is loaded
open source > 3 > 4 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgfplots/t-pgfplots.tex
loading > ConTeXt User Module / Pgfplots
resolvers   > modules > 'tikz' is loaded
open source > 4 > 5 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/frontendlayer/t-tikz.tex
loading > ConTeXt User Module / tikz
open source > 5 > 6 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/basiclayer/t-pgf.tex
loading > ConTeXt User Module / pgf
open source > 6 > 7 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/basiclayer/t-pgfcor.tex
loading > ConTeXt User Module / pgfcor
open source > 7 > 8 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/systemlayer/t-pgfsys.tex
loading > ConTeXt User Module / pgfsys
open source > 8 > 9 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfrcs.tex
loading > ConTeXt User Module / pgfrcs
open source > 9 > 10 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfmod.tex
loading > ConTeXt User Module / pgfmodules
close source> 9 > 10 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfmod.tex
open source > 9 > 11 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 10 > 12 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 10 > 12 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 9 > 12 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 9 > 13 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-context.def
close source> 9 > 13 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-context.def
open source > 9 > 14 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 9 > 14 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 8 > 14 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/utilities/t-pgfrcs.tex
open source > 8 > 15 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 9 > 16 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 10 > 17 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 10 > 17 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
close source> 9 > 17 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
open source > 9 > 18 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
close source> 9 > 18 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
Driver file for pgf: pgfsys-pdftex.def
open source > 9 > 19 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
open source > 10 > 20 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 10 > 20 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
close source> 9 > 20 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
open source > 9 > 21 > t.pgf
close source> 9 > 21 > t.pgf
close source> 8 > 21 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
open source > 8 > 22 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
close source> 8 > 22 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
open source > 8 > 23 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
close source> 8 > 23 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
close source> 7 > 23 > 
c:/usr/local/share/texmf-dist/tex/context/third/pgf/systemlayer/t-pgfsys.tex
open source > 7 > 24 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
open source > 8 > 25 > 
c:/usr/local/share/texmf-dist/tex/generic/pgf/mat

Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Keith J. Schultz
Can confirm not working in latest Beta.

BUT, works in TeXLive version!!

so, something has changed on our side!

regards
Keith.

> Am 04.11.2014 um 12:42 schrieb Mikael P. Sundqvist :
> 
> Hi, pgfplots seems broken with the latest standalone.With the example
> 
> \usemodule[pgfplots]
> \starttext
> Foo
> \stoptext
> 
> Best regards, Mikael
> 

___
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] pgfplots broken?

2014-11-04 Thread luigi scarso
On Tue, Nov 4, 2014 at 12:42 PM, Mikael P. Sundqvist 
wrote:

> Hi, pgfplots seems broken with the latest standalone.With the example
>
> \usemodule[pgfplots]
> \starttext
> Foo
> \stoptext
>
> Best regards, Mikael
>
> lua error   > error on line 75 in file
>
> /opt/ConTeXt/tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex:
>
> .../ConTeXt/tex/texmf-context/tex/context/base/util-lib.lua:246:
> module 'pgfluamath.functions' not found:
> no field package.preload['pgfluamath.functions']
> no file '/usr/local/share/lua/5.2/pgfluamath/functions.lua'
> no file '/usr/local/share/lua/5.2/pgfluamath/functions/init.lua'
> no file '/usr/local/lib/lua/5.2/pgfluamath/functions.lua'
> no file '/usr/local/lib/lua/5.2/pgfluamath/functions/init.lua'
> no file './pgfluamath/functions.lua'
> no file '/usr/local/lib/lua/5.2/pgfluamath/functions.so'
> no file '/usr/local/lib/lua/5.2/loadall.so'
> no file './pgfluamath/functions.so'
> no file '/usr/local/lib/lua/5.2/pgfluamath.so'
> no file '/usr/local/lib/lua/5.2/loadall.so'
> no file './pgfluamath.so'
> stack traceback:
> [C]: in function 'savedrequire'
> .../ConTeXt/tex/texmf-context/tex/context/base/util-lib.lua:246:
> in function 'require'
> [\directlua]:1: in main chunk
>
> 65   \let\pgfutil@directlua\directlua
> 66   \pgfutil@directlua{%
> 67 tex.enableprimitives('pgfutil@',{'luaescapestring'})}
> 68 \else
> 69   \def\pgfutil@directlua#1{}
> 70   \def\pgfutil@luaescapestring#1{}
> 71 \fi
> 72
> 73 \pgfutil@directlua{%
> 74   pgfluamathfunctions = require("pgfluamath.functions")
> 75 >>pgfluamathparser = require("pgfluamath.parser")}
> 76
> 77
> 78 % Patch some configuration macros such that the modifications are
> 79 % available in LUA as well:
> 80 \pgfkeys{
> 81 /pgf/trig format/deg/.add
>
> code={}{\directlua{pgfluamathfunctions.setTrigFormat("deg")}\aftergroup\pgfmath@settrigformat
> },
> 82 /pgf/trig format/rad/.add
>
> code={}{\directlua{pgfluamathfunctions.setTrigFormat("rad")}\aftergroup\pgfmath@settrigformat
> },
> 83 }
> 84 % ... and reactivate the key:
> 85 \pgfmathiftrigonometricusesdeg{%
>
>
is it "pgfluamath.functions.lua" a safe name for a Lua module ?

http://www.lua.org/manual/5.2/manual.html#pdf-package.searchers

"""
The fourth searcher tries an all-in-one loader. It searches the C path for
a library for the root name of the given module. For instance, when
requiring a.b.c, it will search for a C library for a. If found, it looks
into it for an open function for the submodule; in our example, that would
be luaopen_a_b_c. With this facility, a package can pack several C
submodules into one single library, with each submodule keeping its
original open function.
"""


tex/texmf-modules/t-tikz/tex/generic/pgf/libraries/luamath$ ls -1
pgflibraryluamath.code.tex
pgfluamath.functions.lua
pgfluamath.parser.lua



tex/texmf-modules/t-tikz/tex/generic/pgf/libraries/luamath$ lua
Lua 5.2.3  Copyright (C) 1994-2013 Lua.org, PUC-Rio
> require('pgfluamath.functions')
stdin:1: module 'pgfluamath.functions' not found:
no field package.preload['pgfluamath.functions']
no file '/usr/local/share/lua/5.2/pgfluamath/functions.lua'
no file '/usr/local/share/lua/5.2/pgfluamath/functions/init.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions/init.lua'
no file '/usr/share/lua/5.2/pgfluamath/functions.lua'
no file '/usr/share/lua/5.2/pgfluamath/functions/init.lua'
no file './pgfluamath/functions.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/pgfluamath/functions.so'
no file '/usr/lib/lua/5.2/pgfluamath/functions.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './pgfluamath/functions.so'
no file '/usr/local/lib/lua/5.2/pgfluamath.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/pgfluamath.so'
no file '/usr/lib/lua/5.2/pgfluamath.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './pgfluamath.so'
stack traceback:
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?
> require('pgfluamath.functions.lua')
stdin:1: module 'pgfluamath.functions.lua' not found:
no field package.preload['pgfluamath.functions.lua']
no file '/usr/local/share/lua/5.2/pgfluamath/functions/lua.lua'
no file '/usr/local/share/lua/5.2/pgfluamath/functions/lua/init.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions/lua.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions/lua/init.lua'
no file '/usr/share/lua/5.2/pgfluamath/functions/lua.lua'
no file '/usr/share/lua/5.2/pgfluamath/functions/lua/init.lua'
no file './pgfluamath/functions/lua.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions/lua.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.2/pgfluamath/functions/lua.so'
no file '/usr/lib/lua/5.2/pgfluamath/functions/lua.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './pgflua

[NTG-context] Problem with PDF bookmarks (outline)

2014-11-04 Thread Michał Goliński
A few weeks back I've asked here about the structure of titles, as the 
PDF bookmarks didn't work for me. I was given a solution, which should 
work, but unfortunately it doesn't. I don't know if this is a bug or is 
this expected behaviour.


For the file:

\setupinteraction[state=start]
\placebookmarks[part,chapter,section]
\setupinteractionscreen[option=bookmark]
\starttext
\placecontent

\startfrontmatter
 \startchapter[title=Prologue]
 \input knuth
 \stopchapter
\stopfrontmatter

\startpart[title={Part A}]
  \startchapter[title=One]
  \input knuth
  \stopchapter
\stoppart

\startbackmatter
 \startchapter[title=Epilogue]
 \input knuth
 \stopchapter
\stopbackmatter
\stoptext


ConTeXt (Mk IV) generates a PDF file which has only one item in the 
bookmarks -- the Prologue. The other chapters show up only if the file 
is changed with


\placebookmarks[chapter,section]

but then of course there is no sign of Part A in the bookmarks.

I would expect the bookmarks to look like this:

Prologue
Part A
  One
Epilogue

Regards
Michał
___
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] pgfplots broken?

2014-11-04 Thread Mikael P. Sundqvist
Hi, pgfplots seems broken with the latest standalone.With the example

\usemodule[pgfplots]
\starttext
Foo
\stoptext

Best regards, Mikael

lua error   > error on line 75 in file
/opt/ConTeXt/tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex:

.../ConTeXt/tex/texmf-context/tex/context/base/util-lib.lua:246:
module 'pgfluamath.functions' not found:
no field package.preload['pgfluamath.functions']
no file '/usr/local/share/lua/5.2/pgfluamath/functions.lua'
no file '/usr/local/share/lua/5.2/pgfluamath/functions/init.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions/init.lua'
no file './pgfluamath/functions.lua'
no file '/usr/local/lib/lua/5.2/pgfluamath/functions.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './pgfluamath/functions.so'
no file '/usr/local/lib/lua/5.2/pgfluamath.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './pgfluamath.so'
stack traceback:
[C]: in function 'savedrequire'
.../ConTeXt/tex/texmf-context/tex/context/base/util-lib.lua:246:
in function 'require'
[\directlua]:1: in main chunk

65   \let\pgfutil@directlua\directlua
66   \pgfutil@directlua{%
67 tex.enableprimitives('pgfutil@',{'luaescapestring'})}
68 \else
69   \def\pgfutil@directlua#1{}
70   \def\pgfutil@luaescapestring#1{}
71 \fi
72
73 \pgfutil@directlua{%
74   pgfluamathfunctions = require("pgfluamath.functions")
75 >>pgfluamathparser = require("pgfluamath.parser")}
76
77
78 % Patch some configuration macros such that the modifications are
79 % available in LUA as well:
80 \pgfkeys{
81 /pgf/trig format/deg/.add
code={}{\directlua{pgfluamathfunctions.setTrigFormat("deg")}\aftergroup\pgfmath@settrigformat},
82 /pgf/trig format/rad/.add
code={}{\directlua{pgfluamathfunctions.setTrigFormat("rad")}\aftergroup\pgfmath@settrigformat},
83 }
84 % ... and reactivate the key:
85 \pgfmathiftrigonometricusesdeg{%
___
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] Equivalent of os.resultof(...) in LaTeX

2014-11-04 Thread Herbert Voss
Am 04.11.2014 um 08:55 schrieb Xan:
> Xan  ha escrit:
> 
> It does not work:>

That is not a useful error description ...

Herbert



 \documentclass{article}
>>> \begin{document}
>>> \directlua{
>>>  local handle = io.popen("sha256sum \jobname.tex | cut -c -5","r")
>>>  if handle then
>>>local result = handle:read("*all") or ""
>>>handle:close()
>>>tex.print(result)
>>>  end
>>> }
>>> \end{document}
>>
>> Neither this:
>>
>>> \directlua{
>>>  require "lualibs-os"
>>>  tex.sprint(os.resultof("sha256sum \jobname.tex | cut -c  -5"))
>>> }
>>
>>
>> Blank. Nothing displayed.
> ___
> 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
___