[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-15 Thread Jim
ut I keep getting that error message.) I also tried mtxrun --script synctex --goto --page=4 --x=100 --y=100 a.synctex and that silently returns without apparently doing anything. (While I don't have a 'scite' editor, I created a program called 'scite' that pops

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Hans Hagen
On 11/12/2023 10:26 AM, Henning Hraban Ramm wrote: Am 12.11.23 um 00:59 schrieb Jim: Hi, I've read the wiki, looked at workflows-synctex.tex, searched the web, and scratched my head, all to no avail.  So here I am, cap in hand... When I run context, I get a .synctex file which has some infor

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Henning Hraban Ramm
Am 12.11.23 um 00:59 schrieb Jim: Hi, I've read the wiki, looked at workflows-synctex.tex, searched the web, and scratched my head, all to no avail. So here I am, cap in hand... When I run context, I get a .synctex file which has some information in it, but I can't find any invocation of synct

[NTG-context] context not producing synctex output that my synctex program can use

2023-11-11 Thread Jim
Hi, I've read the wiki, looked at workflows-synctex.tex, searched the web, and scratched my head, all to no avail. So here I am, cap in hand... When I run context, I get a .synctex file which has some information in it, but I can't find any invocation of synctex to return anything useful. Nor d

[NTG-context] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
I'm trying to typeset some program listings with annotations alongside. I've tried both columns and tabulate but both have (different) issues: 1) Plain \typefile won't allow the line numbers to be in the text - they stay in the margin whch I don't want. 2) \typefile using a

Re: [NTG-context] check installed program using Lua

2021-11-02 Thread Pablo Rodriguez via ntg-context
On 11/1/21 5:13 PM, Hans Hagen via ntg-context wrote: > On 11/1/2021 2:26 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Is there a way to wrap os.exec() in the sample so that it only runs if >> "dir" is available? >> >> I know that os.name would be an option here, but not in my real world

Re: [NTG-context] check installed program using Lua

2021-11-02 Thread Pablo Rodriguez via ntg-context
On 11/1/21 3:10 PM, Taco Hoekwater via ntg-context wrote: >> [...] >> Is there a way to wrap os.exec() in the sample so that it only runs if >> "dir" is available? > > if os.which(‘dir’) then > ... > end > > But note that os.which() may be unreliable in various cases (like it > will fail for shel

Re: [NTG-context] check installed program using Lua

2021-11-01 Thread Hans Hagen via ntg-context
On 11/1/2021 2:26 PM, Pablo Rodriguez via ntg-context wrote: Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filen

Re: [NTG-context] check installed program using Lua

2021-11-01 Thread Taco Hoekwater via ntg-context
> On 1 Nov 2021, at 14:26, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > is there a way if a program is installed on the computer using Lua. > > I have the following sample: > > \starttext > \startluacode > filename = tex.jobname ..

[NTG-context] check installed program using Lua

2021-11-01 Thread Pablo Rodriguez via ntg-context
Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filename) \stopluacode \stoptext Is there a way to wrap os.exec() in the sa

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread Alan Braslau
o:end}] > \stoptext > > Wolfgang > > N. Raghavendra <mailto:nyraghu27...@gmail.com> > > 21. April 2018 um 16:00 > > I am writing some notes using ConTeXt, which involves displaying > > parts of some program source files. At present, I am manually > > cutting

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread N. Raghavendra
At 2018-04-21T17:29:58+02:00, Wolfgang Schuster wrote: > The verbatim commands have a range key which let you select parts of > the code, you can use line numbers to include a small block > (e.g. range={3,10} or range {3,+7}) or you put labels in your code. Many thanks! It works perfectly, with s

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread Wolfgang Schuster
,cmd:two:end}] \stoptext Wolfgang N. Raghavendra <mailto:nyraghu27...@gmail.com> 21. April 2018 um 16:00 I am writing some notes using ConTeXt, which involves displaying parts of some program source files. At present, I am manually cutting and pasting the parts into the ConTeXt file. Is it po

[NTG-context] Including part of a program source file

2018-04-21 Thread N. Raghavendra
I am writing some notes using ConTeXt, which involves displaying parts of some program source files. At present, I am manually cutting and pasting the parts into the ConTeXt file. Is it possible to make ConTeXt do that for me? I am thinking of including each part of the Coq sources between tags

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Taco Hoekwater
On 02/16/11 23:46, Martin Schröder wrote: > 2011/2/16 Hans Hagen : >> I would put them in a lua table and access them when needed (you can load >> that table from an external file) > > Which precision do we have in luatex? Single or double? double. Best wishes, Taco ___

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Martin Schröder
2011/2/16 Hans Hagen : > I would put them in a lua table and access them when needed (you can load > that table from an external file) Which precision do we have in luatex? Single or double? Best Martin ___ If your

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Vnpenguin
sured. I thought I could use ConTeXt with LuaTeX to do all > the calculations instead of the calculator and enter the results by hand > or a spreadsheet program. > > Would I enter the values (not many) at the top of the TeX document and > refer to them in the other places? Is an extr

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Hans Hagen
to do all the calculations instead of the calculator and enter the results by hand or a spreadsheet program. Would I enter the values (not many) at the top of the TeX document and refer to them in the other places? Is an extra file a better approach? I would put them in a lua table and access

Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Wolfgang Schuster
I thought I could use ConTeXt with LuaTeX to do all > the calculations instead of the calculator and enter the results by hand > or a spreadsheet program. > > Would I enter the values (not many) at the top of the TeX document and > refer to them in the other places? Is an extra fi

[NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Paul Menzel
the calculator and enter the results by hand or a spreadsheet program. Would I enter the values (not many) at the top of the TeX document and refer to them in the other places? Is an extra file a better approach? Thanks, Paul [1] http://wiki.contextgarden.net/Programming_in_LuaTeX

Re: [NTG-context] Importing program text.

2010-03-27 Thread Peter Münster
On Fri, Mar 26 2010, John Culleton wrote: > > I want to import the text of several programs in my latest book. > My requirements are: > 1. Monospaced font. \setuptyping[style=\tt] > 2. Courier or similar typeface I don't know. > 3. Smaller than normal typeface (to avoid wraparound.) \setu

[NTG-context] Importing program text.

2010-03-26 Thread John Culleton
I want to import the text of several programs in my latest book. My requirements are: 1. Monospaced font. 2. Courier or similar typeface 3. Smaller than normal typeface (to avoid wraparound.) I have been fiddling with \typefile but I am having trouble accomplishing the above. -- John Culle

[NTG-context] concert program

2009-05-07 Thread R. Bastian
Gruezi, is somewhere a template for a concert program in Context ? a+ ___ 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

Re: [NTG-context] start a program with a particular file

2003-06-16 Thread Sytse Knypstra
PQRS]. for launching my program PQRS (without opening a file). Unfortunately I could not get Hans' suggestion \naar{programma PQRS}[PQRS.exe] working for this case, maybe because the fs does not support it? Neither could I start my program Sila.exe with a particular file `Sila.spf':

Re: [NTG-context] start a program with a particular file

2003-06-14 Thread Hans Hagen
At 11:12 12/06/2003 +0200, you wrote: Dear ConTeXt users, Can anybody tell me whether it is possible to start a program with a particular file? Let's say I want to start mediaplayer with the file MyMusic.wav. in addition to adam's answer, you can use \goto {something} [program(som

Re: [NTG-context] start a program with a particular file

2003-06-12 Thread Adam Lindsay
Sytse Knypstra said this at Thu, 12 Jun 2003 11:12:01 +0200: >Let's say I want to start mediaplayer with the file MyMusic.wav. Well, for this specific example, why not \useexternalsoundtrack (core-fig)? Acrobat seems to support a fair number of media types in a cross-platform way, which could get

[NTG-context] start a program with a particular file

2003-06-12 Thread Sytse Knypstra
Dear ConTeXt users, Can anybody tell me whether it is possible to start a program with a particular file? Let's say I want to start mediaplayer with the file MyMusic.wav. Thank you, Sytse Knypstra ___ ntg-context mailing list [EMAIL PROTECTED]