Re: [NTG-context] pgfplots module wrecks in latest

2023-01-17 Thread Aditya Mahajan via ntg-context
On Mon, 16 Jan 2023, Aditya Mahajan via ntg-context wrote:

> On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote:
> 
> > make sure to get rid of the t-tikz modules
> 
> Tested again. Downloaded the latest context and pgf.tds.zip from ctan. Unizip 
> pgf by using 'unzip -x "**/t-*.*" so that no t- modules from tikz are 
> unzipped but still get the following error on a simple hello world example:
> 
> \usemodule[tikz]
> 
> \starttext
> Hello
> \stoptext
> 
> gives the attached log.

In case anyone else needs a temp workaround until this is resolved:

\usemodule[filter]

\startbuffer[tikz-start]
\usemodule[tikz]
% Add font setup
% Add  tikz setup
\starttext
\startTEXpage
\starttikzpicture
\stopbuffer

\startbuffer[tikz-stop]
\stoptikzpicture
\stopTEXpage
\stoptext
\stopbuffer

\defineexternalfilter
[tikzpicture]
[
  filter=context --luatex --once,
  cache=yes,
  output=\externalfilterbasefile.pdf,
  readcommand=\IncludeTikzPicture,
  bufferbefore=tikz-start,
  bufferafter=tikz-stop,
]

\define[1]\IncludeTikzPicture{\externalfigure[#1]}


\starttext
Hello

\starttikzpicture
  \draw (0,0) -- (1,1);
\stoptikzpicture
\stoptext

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Minor bug in Lua or ConTeXt

2023-01-17 Thread Bruce Horrocks via ntg-context
ConTeXt  ver: 2023.01.04

The following MWE won't compile because of the \dummycommand line even though 
it is a comment. Not sure whether it's a minor bug or an unavoidable aspect of 
allowing embedded Lua.

\startluacode
-- \dummycommand
\stopluacode
\starttext
Hello
\stoptext

—
Bruce Horrocks
Hampshire, UK

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] multimedia inclusion added to the wiki

2023-01-17 Thread Willi Egger via ntg-context
Pablo, thanks for this nice article!

Willi

> On 16 Jan 2023, at 19:00, Pablo Rodriguez via ntg-context 
>  wrote:
> 
> Dear list,
> 
> just in case it might help, I have just added a new wiki article about
> how to add multimedia in PDF documents.
> 
>  https://wiki.contextgarden.net/Multimedia_Inclusion
> 
> I hope it helps,
> 
> Pablo
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___