Re: [NTG-context] textext sync problem?

2013-08-28 Thread Aditya Mahajan
On 2013-08-28, at 1:40 PM, Meer, H. van der h.vanderm...@uva.nl wrote: I am using textext to draw text from inside a metapost program. The drawoptions macro is used by metapost to set drawing options such as color. As I understand, the textext call is handled by the tex-side

Re: [NTG-context] textext sync problem?

2013-08-28 Thread Meer, H. van der
to apply, but submitting textext(\orange\tfb text) makes the text orange coloured in spit of the drawoptions setting. Thus textext seems to behave differently for getting an explicit color for its content or not. Before ripping the program for a minimal example I would like to first have a clear

Re: [NTG-context] textext sync problem?

2013-08-28 Thread Aditya Mahajan
. On input textext(\tfb text) the above seems to apply, but submitting textext(\orange\tfb text) makes the text orange coloured in spit of the drawoptions setting. Thus textext seems to behave differently for getting an explicit color for its content or not. Before ripping the program for a minimal

Re: [NTG-context] textext sync problem?

2013-08-28 Thread Hans Hagen
. On input textext(\tfb text) the above seems to apply, but submitting textext(\orange\tfb text) makes the text orange coloured in spit of the drawoptions setting. Thus textext seems to behave differently for getting an explicit color for its content or not. Before ripping the program

Re: [NTG-context] [***SPAM***] Continuous preview

2013-08-27 Thread Aditya Mahajan
of the programmers have time for this ... :) I use the perl program `atchange`[1] for continous preview. For simple documents, you can just run atchange filename.tex context --batch filename For more complicated documents (depending on multiple files and figures), you can create a automate

Re: [NTG-context] Problem with context in windows

2013-08-19 Thread Oualkacha, Karim
\oualkacha_k\AppData\Local\MiKTeX\2.9)... Skipping common root directory (C:\ProgramData\MiKTeX\2.9)... Skipping common root directory (C:\Program Files\MiKTeX 2.9)... C:\Users\oualkacha_ktexexec --make --all mtxrun | kpse fallback with progname 'context' initialized in 0.05

Re: [NTG-context] Problem with context in windows

2013-08-19 Thread Mica Semrick
)... Skipping common root directory (C:\Program Files\MiKTeX 2.9)... ** ** *C:\Users\oualkacha_ktexexec --make --all* ** ** mtxrun | kpse fallback with progname 'context' initialized in 0.05 seconds ** ** *C:\Users\oualkacha_kmktexlsr* Creating fndb for user root directory

Re: [NTG-context] Problem with context in windows

2013-08-19 Thread Oualkacha, Karim
)... Skipping common root directory (C:\ProgramData\MiKTeX\2.9)... Skipping common root directory (C:\Program Files\MiKTeX 2.9)... C:\Users\oualkacha_ktexexec --make --all mtxrun | kpse fallback with progname 'context' initialized in 0.05 seconds C:\Users\oualkacha_kmktexlsr

Re: [NTG-context] Some questions about the letter module

2013-07-12 Thread Hans Hagen
://portablesigner.sourceforge.net/ to sign finished PDF files, but it would be neat to have the process integrated in ConTeXt. afaik it has to be done on a finished document (postprocessing) so best if to call a program like qpdf afterwards or so

Re: [NTG-context] luatex core dump

2013-07-04 Thread Mojca Miklavec
/cont-en --lua=/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en.lui --backend=pdf ./bug.tex \stoptext You can do the same now, I'm only not sure how much usable information you would get out of it, hopefully more than just sorry, program crashed. There were some

Re: [NTG-context] PdfXChange Viewer (slightly related to Overriding pdfview)

2013-07-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
here: c:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe or %ProgramFiles%\Tracker Software\PDF Viewer\PDFXCview.exe I guess the snippet might become a part of the standard ConTeXt Suite. Lukas Hans -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon

Re: [NTG-context] Overriding pdfview

2013-06-30 Thread David Rogers
Keith J. Schultz keithjschu...@web.de writes: Hi All, I would agree that the users default should be respected. I will have to contradict my last post them. My suggestion them is to use a system variable such as ConTeXtViewer. This variable would contain the program to be called

Re: [NTG-context] Overriding pdfview

2013-06-28 Thread Keith J. Schultz
Hi All, I would agree that the users default should be respected. I will have to contradict my last post them. My suggestion them is to use a system variable such as ConTeXtViewer. This variable would contain the program to be called. If it is not set or empty context simply finishes up what

Re: [NTG-context] Overriding pdfview

2013-06-28 Thread Hans Hagen
On 6/28/2013 10:56 AM, Keith J. Schultz wrote: Hi All, I would agree that the users default should be respected. I will have to contradict my last post them. My suggestion them is to use a system variable such as ConTeXtViewer. This variable would contain the program to be called

Re: [NTG-context] Overriding pdfview

2013-06-28 Thread Keith J. Schultz
suggestion them is to use a system variable such as ConTeXtViewer. This variable would contain the program to be called. If it is not set or empty context simply finishes up what ever it is doing and exits. in that case it would be a directive in texmfcnf.lua (probably in the texmflocal instance

Re: [NTG-context] Overriding pdfview

2013-06-27 Thread Sietse Brouwer
Instead of choosing our own default PDF viewer, we should probably invoke the user's default PDF viewer. Every OS has a command-line program to open a file with the system default program: On OS X: open myfile.pdf On Windows: start myfile.pdf On Linux, there separate programmes for KDE, new

Re: [NTG-context] Overriding pdfview

2013-06-27 Thread Mica Semrick
, Sietse Brouwer sbbrou...@gmail.com wrote: Instead of choosing our own default PDF viewer, we should probably invoke the user's default PDF viewer. Every OS has a command-line program to open a file with the system default program: On OS X: open myfile.pdf On Windows: start myfile.pdf

Re: [NTG-context] Overriding pdfview

2013-06-27 Thread Aditya Mahajan
On Thu, 27 Jun 2013, Sietse Brouwer wrote: Instead of choosing our own default PDF viewer, we should probably invoke the user's default PDF viewer. Every OS has a command-line program to open a file with the system default program: On OS X: open myfile.pdf On Windows: start myfile.pdf

Re: [NTG-context] Overriding pdfview

2013-06-27 Thread Hans Hagen
On 6/27/2013 5:15 PM, Sietse Brouwer wrote: Instead of choosing our own default PDF viewer, we should probably invoke the user's default PDF viewer. Every OS has a command-line program to open a file with the system default program: On OS X: open myfile.pdf On Windows: start myfile.pdf

Re: [NTG-context] Overriding pdfview

2013-06-27 Thread Pavneet Arora
a program such as run-mailcap or see which choose the viewer based on mailcap preferences. I am half joking here; don't go down this route. One can simply leave it to the user to write a wrapper to context that calls the PDF viewer when context is finished. Aditya -- Pavneet

[NTG-context] context command behaviour

2013-06-26 Thread Meer, H. van der
below. Because I would like to run context silently from within a Lua program, I would appreciate if this can be repaired. Hans van der Meer 105 videots: context --noconsole --once eng-dvb.tex mtx-context | run 1: luatex --fmt=/Users/hansm/TeX/context-10/tex/texmf-cache/luatex-cache/context

Re: [NTG-context] [***SPAM***] Can't find recommended tool

2013-06-23 Thread d.henman
I did find a nice article, but it says to use the program texfont, which ships with ConTex, but I do not have any such file. texfont --ve=sil --co=gentium --makepath --install I am using the TexLive version. Is there any simple method to get this font so that it can be used

[NTG-context] [***SPAM***] Can't find recommended tool

2013-06-22 Thread hwitloc
I am trying to install a font so that Context cn use it. I am using the simplefont module and have a ttf that I'd like to use. There is a lot of conflicting information out about to do this and som is outdated. As for ContTeX I did find a nice article, but it says to use the program

Re: [NTG-context] [***SPAM***] Can't find recommended tool

2013-06-22 Thread Pablo Rodríguez
a nice article, but it says to use the program texfont, which ships with ConTex, but I do not have any such file. texfont --ve=sil --co=gentium --makepath --install I am using the TexLive version. Is there any simple method to get this font so that it can be used by ConTex MKIV ? Yes

[NTG-context] (forw) Fraktur fonts

2013-06-17 Thread Rudolf Bahr
members, an only-a-few-days-fan of Context writes to you for the first time. I'm pleased to have found a program closer to TeX and younger than LaTeX. In the last years I used LaTeX for a bigger family project with good success, but experienced some difficulties in arranging minipages containing

Re: [NTG-context] Learning ConTeXt from the Ground Up

2013-06-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
am saying is, that I would like to gain a much deeper understanding of ConTeXt which will allow me to program in ConTeXt rather than just using the documented command. To gather information about ConTeXt I have - read the ConTeXt Reference Manual (http://pmrb.free.fr/contextref.pdf) - bought

[NTG-context] Fraktur fonts

2013-06-13 Thread Rudolf Bahr
Hello list members, an only-a-few-days-fan of Context writes to you for the first time. I'm pleased to have found a program closer to TeX and younger than LaTeX. In the last years I used LaTeX for a bigger family project with good success, but experienced some difficulties in arranging

Re: [NTG-context] Fraktur fonts

2013-06-13 Thread luigi scarso
On Wed, Jun 12, 2013 at 11:28 AM, Rudolf Bahr qu...@quasi.de wrote: Hello list members, an only-a-few-days-fan of Context writes to you for the first time. I'm pleased to have found a program closer to TeX and younger than LaTeX. In the last years I used LaTeX for a bigger family project

Re: [NTG-context] Fraktur fonts

2013-06-13 Thread Khaled Hosny
word-end or syllable-end s) as needed in Fraktur. And, my texexec doesn't know anything about umlauts and sharp s. Whereas my context (translating the same program), dosn't know Fraktur, but knows umlauts. For context (ConTeXt MkIV), you may want to try an OpenType Fraktur font, like

Re: [NTG-context] Fraktur fonts

2013-06-13 Thread Hans Hagen
no different s (one inner-word and one word-end or syllable-end s) as needed in Fraktur. And, my texexec doesn't know anything about umlauts and sharp s. Whereas my context (translating the same program), dosn't know Fraktur, but knows umlauts. For context (ConTeXt MkIV), you may want to try

[NTG-context] Learning ConTeXt from the Ground Up

2013-06-13 Thread Malte Stien
which will allow me to program in ConTeXt rather than just using the documented command. To gather information about ConTeXt I have - read the ConTeXt Reference Manual (http://pmrb.free.fr/contextref.pdf) - bought a couple of the published books by Hans Hagen - started reading the TeX book by Donald

[NTG-context] math guru wanted

2013-06-09 Thread Steffen Wolfrum
Hi, whats wrong with this formula (see below)? It runs into error: ! Missing \endgroup inserted. system tex error on line 10 in file /Volumes/daten_pro/_AKTUELL/BRUNNER/mathml_test/mathml_test1.tex: Missing ... 1 %context 2 %!TEX TS-program = luatex 3 4 5

Re: [NTG-context] Woe is me :( mkiv misbehaving.

2013-06-09 Thread john Culleton
On Sat, 8 Jun 2013 22:02:35 +0200 luigi scarso luigi.sca...@gmail.com wrote: On Sat, Jun 8, 2013 at 8:45 PM, john Culleton j...@wexfordpress.com wrote: After fiddling with some unrelated issues involving a python program called makehuman my well behaved context mkiv job is acting up

Re: [NTG-context] ConTeXt with TeXnicCenter, Hans Hagen pragma at wxs.nl

2013-06-08 Thread Ulrike Fischer
Am Fri, 07 Jun 2013 17:22:26 +0200 schrieb Hans Hagen: --script context --synctex %bm In that case the main program calls is mtxrun, so: mtxrun --script context %bm I don't know what to do about synctex (never used it). The last time I looked sumatra needed an uncompressed synctex

[NTG-context] Woe is me :( mkiv misbehaving.

2013-06-08 Thread john Culleton
After fiddling with some unrelated issues involving a python program called makehuman my well behaved context mkiv job is acting up. It finds all kinds of unrelated modules but no longer can find the OTF fonts I use in /usr/share/fonts/OTF. here is a brief sample of some of the output I get now

Re: [NTG-context] Woe is me :( mkiv misbehaving.

2013-06-08 Thread luigi scarso
On Sat, Jun 8, 2013 at 8:45 PM, john Culleton j...@wexfordpress.com wrote: After fiddling with some unrelated issues involving a python program called makehuman my well behaved context mkiv job is acting up. It finds all kinds of unrelated modules but no longer can find the OTF fonts I use

Re: [NTG-context] ConTeXt with TeXnicCenter, Hans Hagen pragma at wxs.nl

2013-06-07 Thread Hans Hagen
On 6/7/2013 4:22 PM, H. Özoguz wrote: something context --synctex %bm @Hans, Luigi: The above does not work here, but I have found a working solution, one needs --script --script context --synctex %bm In that case the main program calls is mtxrun, so: mtxrun --script context %bm I

Re: [NTG-context] ConTeXt with TeXnicCenter, Hans Hagen pragma at wxs.nl

2013-06-07 Thread Wim W. Wilhelm
with Asymptote on Windows withour problems. I use the following settings: (La)Tex Path to the (LA)Tex compiler c:\texlive\2012\bin\win32\context.exe Command line argumnets to pass to the compiler %bm Viewer C:\PROGRAM FILES\ADOBE\READER 9.0\READER\ACRORD32.EXE Succes! Wim W. Wilhelm

Re: [NTG-context] Off-topic: Convert PDF to (Con/La)TeX

2013-05-15 Thread Xan
for passing to tex symbols. For me it's vital to pass mathematical symbols like (\int) to tex symbol and not like utf-8 symbols. Thanks a lot, Xan. Have you seen the mudraw program of mupdf http://www.mupdf.com/ ? It has a -t switch that outputs txt and a -tt and -ttt switches

Re: [NTG-context] Off-topic: Convert PDF to (Con/La)TeX

2013-05-15 Thread luigi scarso
. Have you seen the mudraw program of mupdf http://www.mupdf.com/ ? It has a -t switch that outputs txt and a -tt and -ttt switches that output xml. -- luigi Thank you for answering and sorry for delay. I will check it, but I suspect that if I have $$\int_{i=1}^{\infty} x^2

Re: [NTG-context] Off-topic: Convert PDF to (Con/La)TeX

2013-05-13 Thread luigi scarso
like (\int) to tex symbol and not like utf-8 symbols. Thanks a lot, Xan. Have you seen the mudraw program of mupdf http://www.mupdf.com/ ? It has a -t switch that outputs txt and a -tt and -ttt switches that output xml. -- luigi

Re: [NTG-context] fontsize drawing in metapost

2013-05-06 Thread Meer, H. van der
I did some further experimentation, hoping using dimexp calculations would help. But either I am doing somthing wrong or I do not understand the innards of bodyfont switching well enough. The example program seems to have accessed a 30 pt font (see the log file) but did not typeset

[NTG-context] Project structure and path evaluation

2013-04-25 Thread contact
Hello, I am experimenting with the project structure feature of ConTeXt and so far it seems that paths used with \project, \product and \component are relative to the current working directory of the context program. What I am doing right now, I use paths relative to my project file project.tex

[NTG-context] A simpler way to make a bibliography

2013-04-23 Thread john Culleton
to a Vector Drawing Program}. Upper Saddle River, New Jersey: Prentice-Hall, 2011 \crlf ISBN 978-0-13-276414-8 Culleton, John R. Jr. {\it Create Book Covers with Scribus} (pdf e-book). Eldersburg, Maryland: Wexford Press, 2012 \crlf ISBN 978-1-60019-002-5 Drew, Ned and Paul Sternberger. {\it By its

Re: [NTG-context] Can't make ISBN print in bibliography

2013-04-19 Thread john Culleton
of the standard format files (apa) and ran things again. Still no isbn data. Sometimes it is easier to write a program than to modify someone else's. The task is not that complex. So I will write my own program to extract data from a file of information, perhaps the existing .bbl, file and format

Re: [NTG-context] ConText on webspace

2013-04-19 Thread Henning Hraban Ramm
Am 2013-04-19 um 14:50 schrieb Jan Heinen: Is it possible to instal and runl ConText on webspace? Which requirements and limitations are needed? I run ConTeXt as typesetting machine behind my (Django/Gunicorn/NginX) webserver on my own virtual machine. You cannot run any independent program

Re: [NTG-context] Two Bibliography questions

2013-04-18 Thread john Culleton
to the ISBN in the cont-ab.bst which apparently is designed to work with Context. However when I use the cont-ab alternative and add an isbn in the sample.bib file it does not appear on the page, e.g.: @BOOK{Bah2011, title = {Inkscape: Guide to a Vector Drawing Program}, publisher = {Prentice-Hall

[NTG-context] Can't make ISBN print in bibliography

2013-04-18 Thread john Culleton
[]{Tavmjong}[T.]{}{Bah} \pubyear{2011} \title{Inkscape: Guide to a Vector Drawing Program} \isbn{978-0-13-27641-8} \city{Upper Saddle River, NJ} \pubname{Prentice-Hall} \stoppublication Any suggestions? Using MKIV currently. -- John Culleton Wexford Press Free list of books for self-publishers: http

[NTG-context] bodyfont size in margin?

2013-04-17 Thread Meer, H. van der
I would like to have the same font and especially the same size for inmargin texts. Why is the following program not honouring the size setting? % Font in margin text \def\MarkMaster{\inmargin[location=left]{{\switchtobodyfont[sans,8pt]\red MASTER SECTION}}} \starttext \startchapter[title

[NTG-context] How to find the source code/documentation for a specific command

2013-04-16 Thread contact
Hello ConTeXt list, I am a new user of ConTeXt and I am trying to write my very first document with this program. However, it is often difficult to find explanation about commands and their options. Most of the documentation and examples seems outdated or incomplete... I know that you

Re: [NTG-context] How to find the source code/documentation for a specific command

2013-04-16 Thread Hans Hagen
On 4/16/2013 6:07 PM, cont...@thomas-corbiere.name wrote: Hello ConTeXt list, I am a new user of ConTeXt and I am trying to write my very first document with this program. However, it is often difficult to find explanation about commands and their options. Most of the documentation and examples

Re: [NTG-context] How to find the source code/documentation for a specific command

2013-04-16 Thread contact
list, I am a new user of ConTeXt and I am trying to write my very first document with this program. However, it is often difficult to find explanation about commands and their options. Most of the documentation and examples seems outdated or incomplete... I know that you are currently

Re: [NTG-context] Too many word-breaks in consecutive lines

2013-04-13 Thread Hans Hagen
, and even (far) beyond that. Chess has quite precise rules (and I wonder if a chess program will choose an nice but risky step over a winning one) while typesetting also involves esthetics and therefore only a simulation of what goes on into someones head can help out. It will probably take some

Re: [NTG-context] bug in new beta

2013-03-18 Thread Xenia
time it loads a new font - that is, the first time that a new (known to mtxrun) font is actually used in a document and loaded into the cache. The error seems to be due to luatex (? or whatever program does this) trying to compile a .tma file from the cache into a .tmc file, but the .tma file

Re: [NTG-context] bug in new beta

2013-03-18 Thread Wolfgang Schuster
did figure out is that it seems to throw that error the first time it loads a new font - that is, the first time that a new (known to mtxrun) font is actually used in a document and loaded into the cache. The error seems to be due to luatex (? or whatever program does this) trying to compile

Re: [NTG-context] bug in new beta

2013-03-18 Thread Xenia
(? or whatever program does this) trying to compile a .tma file from the cache into a .tmc file, but the .tma file doesn't exist. I think it then goes to the .otf file, loads it, and is OK. Indeed. I fixed it. It has to do with a test for a tmc file (when we run luajittex I need to make sure that a tmb

Re: [NTG-context] bug in new beta

2013-03-17 Thread Hans Hagen
time that a new (known to mtxrun) font is actually used in a document and loaded into the cache. The error seems to be due to luatex (? or whatever program does this) trying to compile a .tma file from the cache into a .tmc file, but the .tma file doesn't exist. I think it then goes to the .otf file

[NTG-context] [***SPAM***] Re: How to fix a break

2013-03-17 Thread hwitloc
stub for instance and has its own file database; so, if 'context' does not run, it's because either mtxrun (without suffix on unix) is not updated if you see kpse being initialized (or any kpse related program being run) you're in troubleL Hans

[NTG-context] How to fix a break

2013-03-16 Thread hwitloc
. Is there a program I can run to go through a texlive installation and rebuild the TDS database? Thanks ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] How to fix a break

2013-03-16 Thread Hans Hagen
the paths or tex path database used by kpathse, etc. Is there a program I can run to go through a texlive installation and rebuild the TDS database? mtxrun --generate context runs quite independent of the texlive infrastructure; mtxrun is its own stub for instance and has its own file database; so

Re: [NTG-context] bug in new beta

2013-03-16 Thread Jonathan Barchi
it loads a new font - that is, the first time that a new (known to mtxrun) font is actually used in a document and loaded into the cache. The error seems to be due to luatex (? or whatever program does this) trying to compile a .tma file from the cache into a .tmc file, but the .tma file doesn't exist

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread john Culleton
external to the tex program, and then take a second run without recording page numbers. There is a command for this. With Context this might be too complex. I see no problem with having a page number on chapter 1 however. Most books look that way. The Chicago Manual of Style has: Proofs (a chapter

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread Jonathan Barchi
versions of TeX (eplain comes to mind) You can edit the TOC file external to the tex program, and then take a second run without recording page numbers. There is a command for this. With Context this might be too complex. I see no problem with having a page number on chapter 1 however. Most books

[NTG-context] Fwd: EuroBachoTeX 2013 ante portas

2013-03-05 Thread Willi Egger
Dear TeX friends, I got the message hereunder from the organizers of the EuroBachoTeX meeting. Please consider to join and possibly add a presentation to the program! Best wishes Willi Egger Secretary NTG Secretary Context Group Begin forwarded message: From: Jerzy Ludwichowski

[NTG-context] startchapter?

2013-02-24 Thread Meer, H. van der
Previously I could use \chapter[reference-to-this-chapter]{title} Now the preferred way seems to be \startchapter[title=the-title], but how do I program now the reference to this chapter? The Wiki does not contains a page for \startchapter and the section on command only gives info

Re: [NTG-context] startchapter?

2013-02-24 Thread Reviczky Adam
-to-this-chapter]{title} Now the preferred way seems to be \startchapter[title=the-title], but how do I program now the reference to this chapter? The Wiki does not contains a page for \startchapter and the section on command only gives info and examples on the \chapter macro. Hans van der

Re: [NTG-context] startchapter?

2013-02-24 Thread Meer, H. van der
: Previously I could use \chapter[reference-to-this-chapter]{title} Now the preferred way seems to be \startchapter[title=the-title], but how do I program now the reference to this chapter? The Wiki does not contains a page for \startchapter and the section on command only gives info and examples

[NTG-context] Processing MP graphics without interference

2013-02-01 Thread Marco Patzer
Hi, I have MetaPost graphics that are generated by an external program. Each graphic is an individual file and the code is enclosed by beginfig(1) … endfig; end The beginfig argument is always “1”, it does not increment. Including the graphics using MPrun fails, since the first

Re: [NTG-context] Processing MP graphics without interference

2013-02-01 Thread Aditya Mahajan
On Fri, 1 Feb 2013, Marco Patzer wrote: Hi, I have MetaPost graphics that are generated by an external program. Each graphic is an individual file and the code is enclosed by beginfig(1) … endfig; end The beginfig argument is always “1”, it does not increment. Including the graphics

Re: [NTG-context] Coming back to ConTeXt

2013-01-28 Thread Alain Delmotte
. In TeXworks one needs to be careful about paths in either case. (But then again, there's the same issue with basically any GUI program that runs TeX. PATH usually needs to be set up separately from the shell.) My paths are defined in Windows, but with TeXworks they also appear in the definition

Re: [NTG-context] Finding documentation for ConTeXt

2013-01-28 Thread Mari Voipio
for my recent MetaPosting excursions). A slightly off-topic thought: there are hundreds of manuals on Microsoft Word. However, once you start going deeper into the program, it is not *that* easy to find a single good manual on the subject. With ConTeXt it is the other way round, finding 'for Dummies

Re: [NTG-context] Finding documentation for ConTeXt

2013-01-28 Thread Keith J. Schultz
on the Lua side and then visualize with ConTeXt in the form of UML, flowcharts, program specifications and documentation and the output of the actual programming code. Also, there are the things that ConTeXt and Lua(La)TeX do not offer or are not the way I like it. From your Link to the co

Re: [NTG-context] Coming back to ConTeXt

2013-01-27 Thread Mojca Miklavec
. In TeXworks one needs to be careful about paths in either case. (But then again, there's the same issue with basically any GUI program that runs TeX. PATH usually needs to be set up separately from the shell.) Mojca

[NTG-context] Problem with arguments in macro

2013-01-21 Thread PELLOUIN Christophe
Hello, When writing a macro, I observed that some arguments are not transmitted correctly, particularly when the type is defined as text. Here is an example with the macro max defined in the file plain.mp With this program: beginfig(1) show(first test); show max

Re: [NTG-context] Problem with arguments in macro

2013-01-21 Thread Hans Hagen
On 1/21/2013 7:26 PM, PELLOUIN Christophe wrote: Hello, When writing a macro, I observed that some arguments are not transmitted correctly, particularly when the type is defined as text. Here is an example with the macro max defined in the file plain.mp With this program: beginfig(1

Re: [NTG-context] Problem with arguments in macro

2013-01-21 Thread PELLOUIN Christophe
plain.mp With this program: beginfig(1) show(first test); show max (1,2,8,5,15,2,1,4); numeric u_; v_=15; show(second test); show max (1,2,8,5,v_,2,1,4); numeric u_; u_=15% u_ variable is also defined in the macro max

Re: [NTG-context] Problem with arguments in macro

2013-01-21 Thread Hans Hagen
is an example with the macro max defined in the file plain.mp With this program: beginfig(1) show(first test); show max (1,2,8,5,15,2,1,4); numeric u_; v_=15; show(second test); show max (1,2,8,5,v_,2,1,4); numeric u_; u_=15

Re: [NTG-context] Problem with arguments in macro

2013-01-21 Thread PELLOUIN Christophe
the type is defined as text. Here is an example with the macro max defined in the file plain.mp With this program: beginfig(1) show(first test); show max (1,2,8,5,15,2,1,4); numeric u_; v_=15; show(second test); show max (1,2,8,5,v_

[NTG-context] Opening external documents with external application

2013-01-07 Thread Matthias Weber
Dear All, I used to write \goto{\externalfigure[cuteimage]}[program(file.ext)] to get an image, that, when clicked, will open an application that will open file.ext. This currently still works on my Mac (10.8) with the TeXShop preview and with Skim. I does not work anymore with Adobe Acrobat

Re: [NTG-context] Opening external documents with external application

2013-01-07 Thread Wolfgang Schuster
Am 07.01.2013 um 19:45 schrieb Matthias Weber matwe...@indiana.edu: Dear All, I used to write \goto{\externalfigure[cuteimage]}[program(file.ext)] to get an image, that, when clicked, will open an application that will open file.ext. This currently still works on my Mac (10.8

Re: [NTG-context] Was: Opening external documents ... - Can ConTeXt reduce size of images?

2013-01-07 Thread Matthias Weber
improved so that it changes the behavior wrt external links. In case somebody wants to try: Typeset \setupinteraction[page=yes,state=start] \starttext \goto{click}[program(test.tex)] \stoptext Open test.pdf with Acrobat. Clicking on click opens test.tex with your designated TeX editor. Close file

[NTG-context] Cannot Install Win Minimals: rsync.exe

2012-12-14 Thread DB
the file myself. When I ran first-setup.bat again, the program reported that something was missing from cygwin1.dll and that rsync.exe still could not run. Has something changed in the minimal installation package in the last few days? This has never happened before. Thank you

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
not part of the EPUB2 specification which is what most current systems use. EPUB3 is very new and hasn't been widely implemented yet. Anyway, this really isn't a question for this forum. Actually, it is. ConTeXt is capable of generating EPUB2 as well as PDF (no conversion program required

Re: [NTG-context] Problems with Standalone ConTeXt

2012-11-18 Thread Rogers, Michael K
) that calls standalone dir/tex/texmf-osx-64/bin/context directly with the argument $fullname. When I tried out TeXWorks after your post, I had to put the standalone binary path, standalone dir/tex/texmf-osx-64/bin, above /usr/texbin. It seems the scripts all run a program with the name context

Re: [NTG-context] \chapter{} vs \startchapter..\stopchapter

2012-11-09 Thread Hans Hagen
in the beta test program. And normally Martin announces new acrobats so maybe the new version has a very low profile.) Unfortunately the pdfopen program cannot handle acrobat reader xi (but I use full acrobat x so it's no big deal). As far as I can see, the reader does not support showing

Re: [NTG-context] System variable HOME

2012-11-05 Thread Procházka Lukáš Ing . - Pontex s . r . o .
to change this variable to my value d:/Lukas as many programs may suppose location c:/Document and Settings and don't need to use %HOMEPATH% when they want to obtain the directory of user settings/data. So, if possible (= when I CAN AFFECT some program behavior; like Ctx, gnuplot and other command

Re: [NTG-context] System variable HOME

2012-11-03 Thread Procházka Lukáš
using the windows default shell - cmd.exe; it is interactive in the manner that you can type a command on the command prompt and the command (or a program) is executed. In Windows, when a process is created, it inherits current system variables. If you launch a program from cmd.exe (= command line

Re: [NTG-context] scripts

2012-10-30 Thread Pontus Lurcock
a package ‘devscripts’ which includes a program ‘checkbashisms’ to catch such things (Ubuntu started using dash as the default sh back in 2006). Ubuntu also has some advice on strict-POSIX shell scripting: https://wiki.ubuntu.com/DashAsBinSh#I_am_a_developer._How_can_I_avoid_this_problem_in_future.3F

Re: [NTG-context] scripts

2012-10-30 Thread Hans Hagen
. is a bash-ism FWIW, Debian and Ubuntu have a package ‘devscripts’ which includes a program ‘checkbashisms’ to catch such things (Ubuntu started using dash as the default sh back in 2006). Ubuntu also has some advice hm, so i wonder why setuptex fails on that box then (not that i care much as i can

Re: [NTG-context] scripts

2012-10-30 Thread Pontus Lurcock
On Tue 30 Oct 2012, Hans Hagen wrote: FWIW, Debian and Ubuntu have a package ‘devscripts’ which includes a program ‘checkbashisms’ to catch such things (Ubuntu started using dash as the default sh back in 2006). Ubuntu also has some advice hm, so i wonder why setuptex fails on that box

Re: [NTG-context] scripts

2012-10-30 Thread Hans Hagen
. is a bash-ism FWIW, Debian and Ubuntu have a package ‘devscripts’ which includes a program ‘checkbashisms’ to catch such things (Ubuntu started using dash as the default sh back in 2006). Ubuntu also has some advice on strict-POSIX shell scripting: https://wiki.ubuntu.com/DashAsBinSh#I_am_a_developer

Re: [NTG-context] scripts

2012-10-30 Thread Hans Hagen
. is a bash-ism FWIW, Debian and Ubuntu have a package ‘devscripts’ which includes a program ‘checkbashisms’ to catch such things (Ubuntu started using dash as the default sh back in 2006). Ubuntu also has some advice on strict-POSIX shell scripting: https://wiki.ubuntu.com/DashAsBinSh#I_am_a_developer

Re: [NTG-context] scripts

2012-10-30 Thread Hans Hagen
On 30-10-2012 18:50, Pontus Lurcock wrote: On Tue 30 Oct 2012, Hans Hagen wrote: FWIW, Debian and Ubuntu have a package ‘devscripts’ which includes a program ‘checkbashisms’ to catch such things (Ubuntu started using dash as the default sh back in 2006). Ubuntu also has some advice hm, so i

Re: [NTG-context] Lua in Ctx: require() fails?

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
[resolvers.libraries] Hans I attached the log (and all files). Here's the output (trying to require Test.lua now, which is in d:\Lukas\Lua\Test.lua): C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Txt.mkiv C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Txset PATH=c:\ConTeXt\tex\texmf-mswin\bin;C:\Program Files

Re: [NTG-context] PDF security settings

2012-10-14 Thread Andre Caldas
allow/disallow printing c. Set it free!!! :-P Technically speaking, I'd like to tell you that there is no easy way (without controlling the user's computer) to disallow printing. The viewer program has to VOLUNTARILY refuse itself to obey the user and opt to obey you. There is no easy way

[NTG-context] Lua in Ctx: require() fails?

2012-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
is active (C:/Lukas/ConTeXt/Test/t-Req.mkiv ! LuaTeX error main ctx instance:2: module 'Test-U' not found: no field package.preload['Test-U'] no file 'Test-U.dll' no file 'c:\Program Files\Lua\5.1\clibs\Test-U.dll' no file 'C:\Lukas\Lua\Test-U.dll' stack traceback

Re: [NTG-context] Lua in Ctx: require() fails?

2012-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
- \enabletrackers[resolvers.libraries] \startluacode require Test-U \stopluacode \starttext A \stoptext - I'm getting: C:\Lukas\ConTeXt\Testt-Req.mkiv C:\Lukas\ConTeXt\Testset PATH=c:\ConTeXt\tex\texmf-mswin\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\WINDOWS

Re: [NTG-context] Current source directory.

2012-09-28 Thread Andre Caldas
Dear Sietse, Thanks a lot!!! Finally found it, after lots of trial-and-erroring through likely-looking table names in file-job.lua: the stack of input files is kept in resolvers.inputstack. I don't program any lua. But I was taking a look at file-job.lua myself. I have a lot to learn

Re: [NTG-context] Russian sentence in Czech text in Mark II in ConTeXt Suite installation on Linux in UTF8

2012-09-24 Thread Mojca Miklavec
[gentium][t2a] \starttypescript [gentium-rus] [t2a] \definetypeface [gentium] [rm] [serif] [gentium] [default] [encoding=\typescripttwo] \stoptypescript \usetypescript[gentium][ec] \usetypescript[gentium-rus][t2a] \setupbodyfont[gentium] \starttext program pro počítačovou sazbu {\switchtobodyfont

Re: [NTG-context] output of token.command_name() [was: Ctx: list of commands]

2012-09-18 Thread Philipp Gesang
the macros that have been defined and invalidated, but are kept on the hash anyways because of some issues involving \gdef? (I remember reading about this in “TeX the Program” but I can’t look it up right now as it is buried somewhere deep inside a book crate.) Philipp

<    2   3   4   5   6   7   8   9   10   11   >