Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Alan Braslau
On Fri, 5 Oct 2018 20:07:27 +0200 Hans Hagen wrote: > > I want to fill it in with numbers that r reads from a csv file and > > processes. > Can you give an example? Do you only need R for reading the csv? The processing is done by R. Of course, it *could* be done in Lua, but this all depends

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Hans Hagen
On 10/5/2018 8:00 PM, Kelley, Claire wrote: Thank you for all the answers so far ! Ive gathered from that I need to use filter to call R externally. What I am still most interested in is how I could get a single value from R to be part of the Context code. (Like you would do with \Sexpr{}

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Kelley, Claire
Thank you for all the answers so far ! Ive gathered from that I need to use filter to call R externally. What I am still most interested in is how I could get a single value from R to be part of the Context code. (Like you would do with \Sexpr{} in sweave. The use case for this is that I hav

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Pablo Rodriguez
On 10/5/18 4:55 PM, Kelley, Claire wrote: > Hi All,  > I am very interested in creating pdf documents using Context with > calculations done in R or Python and then added into the document.  Hi Claire, ConTeXt MkIV comes with Lua inside. Would Lua fit your purposes? > If you were using traditio

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Henning Hraban Ramm
Am 2018-10-05 um 16:55 schrieb Kelley, Claire : > Hi All, > I am very interested in creating pdf documents using Context with > calculations done in R or Python and then added into the document. > > If you were using traditional latex this could be accomplished through R > markdown or Sweave-

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
Axel Kielhorn schrieb am 05.10.18 um 18:44: Am 05.10.2018 um 17:33 schrieb Wolfgang Schuster : I took a look at your example files and there a few things which can be improved. Product file: 1. You don’t need the actual name of the current file and use * instead 2. You can use brackets a

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Axel Kielhorn
> Am 05.10.2018 um 17:33 schrieb Wolfgang Schuster > : > > I took a look at your example files and there a few things which can be > improved. > > > Product file: > > 1. You don’t need the actual name of the current file and use * instead > > 2. You can use brackets as delimiters for the fi

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 04.10.18 um 09:27: Hi, On 4 Oct 2018, at 08:47, Axel Kielhorn wrote: Hello, this is my second try to start with context and I can’t even do the first step. I’m planing to convert a large but simple document to context. The document consists of 3 Parts. Each part h

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
I took a look at your example files and there a few things which can be improved. Product file: 1. You don’t need the actual name of the current file and use * instead 2. You can use brackets as delimiters for the file name instead of a space after the name 3. In products you can put all c

Re: [NTG-context] Magic Elimination

2018-10-05 Thread Wolfgang Schuster
The following examples are taken from mtx-context-meaning.tex context --extra=meaning --pattern=*paper* context --extra=meaning setuplayout context --extra=meaning setup_layout context --extra=meaning --once --noconsole --nostatistics setuplayout mtxrun --silent --script context --extra=meaning -

[NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Kelley, Claire
Hi All, I am very interested in creating pdf documents using Context with calculations done in R or Python and then added into the document. If you were using traditional latex this could be accomplished through R markdown or Sweave- is there any way to connect these to Context? Best, Claire __

[NTG-context] Magic Elimination

2018-10-05 Thread Sebastian Miele
ConTeXt contains a lot of magic. Is there a very plain-ish X between iniLuaTeX and MKIV, plus a tool that does the following: Given an MKIV document, reduce the document to X, especially including a solid deal of dead code and magic elimination? I.e. a tool that leaves a "How it can be done without

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Henning Hraban Ramm
Am 2018-10-05 um 08:31 schrieb Axel Kielhorn : > How about offering a skeleton project for download? I’m offering a Python script that creates projects: https://github.com/fiee/tools/blob/master/contextproject.py This avoids renaming everything. In my bigger projects I use additional shell scrip