Re: [NTG-context] Error with tikz in newest beta

2016-02-26 Thread Jannik Voges
Thanks to Mojca for the hint to update again. That solved the problem.


Jannik


> Am 26.02.2016 um 19:14 schrieb Jannik Voges :
> 
> Hello,
> 
> 
> when I try to compile the following file with the newest ConTeXt-beta:
> 
> \usemodule[tikz]
> 
> 
> \starttext
> ABC
> \stoptext
> 
> the compilation aborts with the following log-file:
> 
> 
> system  > synctex functionality is enabled (1), expect runtime 
> overhead!
> 
> system  > callbacks > not registering frozen 'find_format_file'
> 
> open source > 1 > 1 > 
> /usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
> 
> ConTeXt  ver: 2016.02.25 14:00 MKIV beta  fmt: 2016.2.26  int: english/english
> 
> system  > 'cont-new.mkiv' loaded
> open source > 2 > 2 > 
> /usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
> close source> 2 > 2 > 
> /usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
> system  > files > jobname 'foo', input '/Volumes/Daten/Desktop/Neuer 
> Ordner 4/foo', result 'foo'
> fonts   > latin modern fonts are not preloaded
> languages   > language 'en' is active
> open source > 2 > 3 > /Volumes/Daten/Desktop/Neuer Ordner 4/foo.tex
> resolvers   > modules > 'tikz' is loaded
> open source > 3 > 4 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex
> loading > ConTeXt User Module / tikz
> open source > 4 > 5 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex
> loading > ConTeXt User Module / pgf
> open source > 5 > 6 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex
> loading > ConTeXt User Module / pgfcor
> open source > 6 > 7 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex
> loading > ConTeXt User Module / pgfsys
> open source > 7 > 8 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
> loading > ConTeXt User Module / pgfrcs
> open source > 8 > 9 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
> loading > ConTeXt User Module / pgfmodules
> close source> 8 > 9 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
> open source > 8 > 10 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex
> open source > 9 > 11 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex
> close source> 9 > 11 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex
> close source> 8 > 11 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex
> open source > 8 > 12 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
> close source> 8 > 12 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
> open source > 8 > 13 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex
> close source> 8 > 13 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex
> close source> 7 > 13 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
> open source > 7 > 14 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex
> close source> 7 > 14 > 
> /usr/local/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex
> close source> 6 > 14 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex
> close source> 5 > 14 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex
> close source> 4 > 14 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex
> close source> 3 > 14 > 
> /usr/local/context/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex
> close source> 2 > 14 > /Volumes/Daten/Desktop/Neuer Ordner 4/foo.tex
> close source> 1 > 14 > 
> /usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv
> 
> *
> 
> tex error   > tex error on line 0 in file : ! Emergency stop
> 
> <*> cont-yes.mkiv
> 
> 
> 
> 
> End of file on the terminal!
> 
> 
> Maybe somebody can fix the tikz-module.
> 
> 
> Thanks
> 
> Jannik
> ___
> 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 with tikz in newest beta

2016-02-26 Thread Jannik Voges
Hello,


when I try to compile the following file with the newest ConTeXt-beta:

\usemodule[tikz]


\starttext
ABC
\stoptext

the compilation aborts with the following log-file:


system  > synctex functionality is enabled (1), expect runtime overhead!

system  > callbacks > not registering frozen 'find_format_file'

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

ConTeXt  ver: 2016.02.25 14:00 MKIV beta  fmt: 2016.2.26  int: english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > 
/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
close source> 2 > 2 > 
/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
system  > files > jobname 'foo', input '/Volumes/Daten/Desktop/Neuer 
Ordner 4/foo', result 'foo'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > /Volumes/Daten/Desktop/Neuer Ordner 4/foo.tex
resolvers   > modules > 'tikz' is loaded
open source > 3 > 4 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex
loading > ConTeXt User Module / tikz
open source > 4 > 5 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex
loading > ConTeXt User Module / pgf
open source > 5 > 6 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex
loading > ConTeXt User Module / pgfcor
open source > 6 > 7 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex
loading > ConTeXt User Module / pgfsys
open source > 7 > 8 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
loading > ConTeXt User Module / pgfrcs
open source > 8 > 9 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
loading > ConTeXt User Module / pgfmodules
close source> 8 > 9 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
open source > 8 > 10 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 9 > 11 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 9 > 11 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common-lists.tex
close source> 8 > 11 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex
open source > 8 > 12 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
close source> 8 > 12 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def
open source > 8 > 13 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 8 > 13 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex
close source> 7 > 13 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
open source > 7 > 14 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex
close source> 7 > 14 > 
/usr/local/context/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex
close source> 6 > 14 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex
close source> 5 > 14 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex
close source> 4 > 14 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex
close source> 3 > 14 > 
/usr/local/context/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex
close source> 2 > 14 > /Volumes/Daten/Desktop/Neuer Ordner 4/foo.tex
close source> 1 > 14 > 
/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv

*

tex error   > tex error on line 0 in file : ! Emergency stop

<*> cont-yes.mkiv
  



End of file on the terminal!


Maybe somebody can fix the tikz-module.


Thanks

Jannik
___
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] Is there “toffset” option for \setupbackgrounds in context

2016-02-26 Thread Wolfgang Schuster

Bou Salim 
26. Februar 2016 um 12:44
I'm trying to learn `context`, and I'm satisfied with their capacities.

I read in contextgarden 
 that options 
of `\setupbackgrounds` inherit from `\setupframed`, but if I setup 
`toffset=5mm` for 
 `\setupbackgrounds[text][text][frame=on,toffset=5mm]` I have no effect?


With `frameoffset` you can modify the four directions but how about a 
single direction?
The background mechanism for the text areas supports only a fraction of 
the normal framed options but you can do a lot when you use Metapost to 
draw the background.


\startuniqueMPgraphic{TextBackground}
path p ; p := unitsquare xscaled OverlayWidth yscaled OverlayHeight ;
draw p topenlarged 5mm ;
setbounds currentpicture to OverlayBox ;
\stopuniqueMPgraphic

\defineoverlay[TextBackground][\uniqueMPgraphic{TextBackground}]

\setuppapersize[A4]
\setuppagenumbering[state=none]

\setupbackgrounds[text][text][background=TextBackground]

\starttext

\input knuth

\stoptext

BTW: It’s rude to crosspost without mentioning this 
(http://tex.stackexchange.com/questions/296037/is-there-toffset-option-for-setupbackgrounds-in-context)


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] Is there “toffset” option for \setupbackgrounds in context

2016-02-26 Thread Bou Salim
I'm trying to learn `context`, and I'm satisfied with their capacities.

I read in  contextgarden
 that options of
`\setupbackgrounds` inherit from `\setupframed`, but if I setup
`toffset=5mm` for  `\setupbackgrounds[text][text][frame=on,toffset=5mm]` I
have no effect?

With `frameoffset` you can modify the four directions but how about a
single direction?

Code

\setuppapersize[A4]
\setuppagenumbering[state=none]

\setupbackgrounds[text][text][frame=on,toffset=5mm]

\starttext

\input knuth


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

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

Re: [NTG-context] TEI to context XML mappings?

2016-02-26 Thread Hans Hagen

On 2/26/2016 8:52 AM, Pablo Rodriguez wrote:

On 02/25/2016 10:48 AM, Hans Hagen wrote:

[...]
i'm still puzzled what you want


Hans,

I’m only guessing (after testing the XML analyzing ability that you
discovered us with a single XML file).

The analysis is important, but after that I have to write the actual
environment.

I think that the basic structure that I sent in
https://mailman.ntg.nl/pipermail/ntg-context/2016/084582.html is useful
to avoid writing myself the environment.


You want to autogenerate that? That could become quite huge (And 
probably most would be discarded later anyway of you want all 
permutations of elements and attributes)



I mean, of course I have to add the relevant commands to handle in
ConTeXt each element. But with the basic scheme, I know which elements
(in the broadest sense) I have to setup.

I want to avoid writing the whole element list in the environment by
hand. But I may be doing wrong (this is totally new to me).

Or do you write (type) each environment from scratch after using the
report generated by ConTeXt?


We just start with the trivial things and then look at the specific 
structures. We get either relative simple html like xml or we get quite 
complex educational markup, with quite demanding rendering and multiple 
products. The good news is that the number of elements is always limited 
(analyzing would not really work well because it can be that thousands 
of files need to be loaded and merged which itself is not a problem, but 
one then always need to interpret what needs to get loaded).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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
___