Re: [NTG-context] possible problem with setuptex

2009-06-11 Thread Peter Münster
On Fri, 12 Jun 2009, Mojca Miklavec wrote: > I left TEXMFCACHE variable as an excuse for not adding texmfcnf.lua to > the distribution. (Though in theory it's still not needed, you just > need to regenerate the database since LuaTeX doesn't know about the > location of your old cache.) > > I have

Re: [NTG-context] possible problem with setuptex

2009-06-11 Thread Mojca Miklavec
On Thu, Jun 11, 2009 at 23:25, Peter Münster wrote: > On Thu, 11 Jun 2009, Mojca Miklavec wrote: > >> > - or setuptex should be rather an executable, that prints out the >> >  environment to apply, then one would do something like this: >> >  eval `setuptex` >> >  (cleaner solution, but some work t

Re: [NTG-context] MS Word/HTML examples needed

2009-06-11 Thread Vyatcheslav Yatskovsky
Thanks for kind replies. So, does anyone dare to send me an example document with footnotes? ;) Regards, Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

Re: [NTG-context] finding out what font are available

2009-06-11 Thread Ciro Soto
How do I solve the problem then? here is what I have: /usr/bin/texi2pdf*/usr/bin/texfont* /usr/bin/texconfig-sys* /usr/bin/texi2dvi*/usr/bin/texfind* /usr/bin/texconfig-dialog* /usr/bin/texindex*/usr/bin/texexec* /usr/bin/texconfig* /usr/bin/texutil* /usr/bin/texmacs* /usr/

Re: [NTG-context] stand-alone ConTeXt

2009-06-11 Thread Kevin D. Robbins
Thanks! I'll play around a bit with TeXWorks and Notepad++. Kevin 2009/6/11 Idris Samawi Hamid ادريس سماوي حامد > On Thu, 11 Jun 2009 09:05:07 -0600, Kevin D. Robbins < > krobb...@alumni.princeton.edu> wrote: > > Good news! I just wanted to say that including Scite with ConTeXt support >> in m

Re: [NTG-context] \goto and email

2009-06-11 Thread Vyatcheslav Yatskovsky
Excellent! Thank you, Joel! Vyatcheslav Look into the ?mailto? URL type, e.g., \goto{mailto:y...@mail.net}[url(mailto:y...@mail.net)] See for more on this. __

Re: [NTG-context] Problem with amsmath, etc.

2009-06-11 Thread Mojca Miklavec
On Thu, Jun 11, 2009 at 09:03, Rene Richard van Hassel wrote: > Hello members, > > \usemodule[latin1][inputenc] I don't know about others, but this looks like a 100% literal translation from LaTeX that has probably never worked in ConTeXt (but probably didn't complain too loud either). This would

[NTG-context] resetting localfootnote counter query

2009-06-11 Thread Bowen Alan C.
I currently have a document in which there are numerous tables each with local footnotes marked by alphabetic characters. When I process the file, I get complaints like: pdfTeX warning (ext4): destination with the same identifier (name{a}) has been already used, duplicate ignored

Re: [NTG-context] possible problem with setuptex

2009-06-11 Thread Peter Münster
On Thu, 11 Jun 2009, Mojca Miklavec wrote: > > - or setuptex should be rather an executable, that prints out the > >  environment to apply, then one would do something like this: > >  eval `setuptex` > >  (cleaner solution, but some work to do and all minimal-users must change > >  their habits...

Re: [NTG-context] minimals and TeXShop

2009-06-11 Thread Mojca Miklavec
On Wed, Jun 10, 2009 at 19:04, Hans van der Meer wrote: > The directives in the ContextGarden for working with the minimals in TeXShop > are not working for me on MacOSX. > I installed the minimals in ~/TeX/context/beta and then set the TeXShop > engine script to: > export TEXROOT="~/TeX/context/be

Re: [NTG-context] stand-alone ConTeXt

2009-06-11 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Thu, 11 Jun 2009 09:05:07 -0600, Kevin D. Robbins wrote: Good news! I just wanted to say that including Scite with ConTeXt support in minimals as an option will be very helpful to me, because I need to support users who only work on Windows and are not really comfortable using only a

Re: [NTG-context] stand-alone ConTeXt

2009-06-11 Thread Khaled Hosny
TeXworks would be a good choice too, if you want a simple interface that just works. It can be used as a portable application on windows too, and I believe it can combined easily with context minimals. On Thu, Jun 11, 2009 at 01:06:31PM -0600, Kevin D. Robbins wrote: > Well, I and another colleag

Re: [NTG-context] stand-alone ConTeXt

2009-06-11 Thread Kevin D. Robbins
Well, I and another colleague do use Emacs on Windows, Mac OS X, and Linux alike. The folks I'm planning to help get started with ConTeXt, though, are as intimidated by Emacs as they are by the command line. I'm hoping that Scite will feel a bit more natural to them. Kevin On Thu, Jun 11, 2009 at

Re: [NTG-context] possible problem with setuptex

2009-06-11 Thread Mojca Miklavec
> - or setuptex should be rather an executable, that prints out the >  environment to apply, then one would do something like this: >  eval `setuptex` >  (cleaner solution, but some work to do and all minimal-users must change >  their habits...) I theory adjusting PATH should do, but it's a nice

Re: [NTG-context] possible problem with setuptex

2009-06-11 Thread Mojca Miklavec
On Thu, Jun 11, 2009 at 12:26, Hans van der Meer wrote: > When loading minimals with a shell script it appears that setuptex takes > arguments from the calling shell script: > script called as "script --current" contains: > ... > source ./setuptex > ... > This result in the following error message:

Re: [NTG-context] stand-alone ConTeXt

2009-06-11 Thread Mohamed Bana
why not support Emacs? AucTeX is mature. Kevin D. Robbins wrote: Good news! I just wanted to say that including Scite with ConTeXt support in minimals as an option will be very helpful to me, because I need to support users who only work on Windows and are not really comfortable using only a

Re: [NTG-context] Problem with amsmath, etc.

2009-06-11 Thread Aditya Mahajan
On Thu, 11 Jun 2009, Rene Richard van Hassel wrote: Hello members, there is some problem. After I changed to Ubuntu version 9.04, ConTeXt is not working anymore as I expected. I'm using the following modules: ### Begin: ### % always used in pdflatex \usemodule[latexsym,amsmath,amssymb,amsfon

Re: [NTG-context] minimals missing etex?

2009-06-11 Thread Mojca Miklavec
On Wed, Jun 10, 2009 at 22:16, Hans van der Meer wrote: > After loading context stable minimals with the following script: > #!/bin/bash > curl -o first-setup.sh > http://minimals.contextgarden.net/setup/first-setup.sh > mkdir tex > ln -s $HOME/Library/texmf tex/texmf-local > sh ./first-setup.sh --

Re: [NTG-context] inserting Chinese characters (MKII)

2009-06-11 Thread Bowen Alan C.
A good idea. Thanks. I do not have LaTeX installed (only the ConTeXt Minimals) but I can use Acrobat Pro to capture the Chinese characters and take it from there. The result is not bad---the first character is not as clear as it might be if it were actually generated using ConTeXt. Alan On

Re: [NTG-context] \goto and email

2009-06-11 Thread Joel C. Salomon
Vyatcheslav Yatskovsky wrote: > I have success with \goto instead of \useURL. Actually, I like \goto > even more, because it is more simple. > > \goto{http://url.com/index.html}[url(http://url.com/index.html)] > > My question is: how to mark a email in this way? (So that clicking on it > opened m

Re: [NTG-context] Tables query (notes, MKII)

2009-06-11 Thread Bowen Alan C.
Thanks, Willi. I am now using the very latest ConTeXt minimals and find that setting width=fit works too. All best, Alan On Jun 11, 2009, at 11;05,47 , Willi Egger wrote: Hi Alan, I tried your code. Here with the latest beta and minimals from 11-06-2009 MKIV: I get the footnotes at the lef

[NTG-context] Problem with amsmath, etc.

2009-06-11 Thread Rene Richard van Hassel
Hello members, there is some problem. After I changed to Ubuntu version 9.04, ConTeXt is not working anymore as I expected. I'm using the following modules: ### Begin: ### % always used in pdflatex \usemodule[latexsym,amsmath,amssymb,amsfonts,graphics,epsfig,makeidx,subfigure] \usemodule[tikz

[NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-06-11 Thread Matthijs Kooijman
Hi all, while working on a custom pretty printer, I was having the need to keep some state variables for the duration of one buffer, and reset them again for the next buffer. With the current hooks a pretty printer has available, this is not possible, since you never know what the first and last l

Re: [NTG-context] Tables query (notes, MKII)

2009-06-11 Thread Willi Egger
Hi Alan, I tried your code. Here with the latest beta and minimals from 11-06-2009 MKIV: I get the footnotes at the left margin and they will fill the whole width of the table and break lines correctly. However the conversion of the numbers into characters does not work. Instead the [conv

Re: [NTG-context] stand-alone ConTeXt

2009-06-11 Thread Kevin D. Robbins
Good news! I just wanted to say that including Scite with ConTeXt support in minimals as an option will be very helpful to me, because I need to support users who only work on Windows and are not really comfortable using only a command line interface. I'll be happy to test this option. Kevin On T

Re: [NTG-context] startcombination alignment problem

2009-06-11 Thread Xan
En/na Wolfgang Schuster ha escrit: Am 10.06.2009 um 18:26 schrieb Xan: Hi, I want to put three graphics by this way: [graphic 1] [graphic 2] [graphic 3] where graphic 3 is centered. I use combination, but graphic 3 puts me in left [graphic 1] [graphic 2] [graphic 3] How can I solve th

[NTG-context] \goto and email

2009-06-11 Thread Vyatcheslav Yatskovsky
Hello, I have success with \goto instead of \useURL. Actually, I like \goto even more, because it is more simple. \goto{http://url.com/index.html}[url(http://url.com/index.html)] My question is: how to mark a email in this way? (So that clicking on it opened mail client) Best, Vyactheslav

[NTG-context] number sign in url (was: Re: diaresis in url with \goto)

2009-06-11 Thread Peter Münster
On Thu, 11 Jun 2009, Hans Hagen wrote: > Peter Münster wrote: > > Hello, > > > > How can I get a diaresis in a url with \goto? > > > > This is, what I've tried: > > > > \setupinteraction[state=start] > > \def\gotoURL#1{\tt\goto{#1}[url(#1)]} > > \starttext > > \gotoURL{http://test.com/test#test

[NTG-context] \setupcaption stopper does not work in mkiv

2009-06-11 Thread jm
hi, all! i have been trying to produce "Figure 1." in the figure caption of my document using mkiv and i just couldn't. i've searched through the ntg-context archives and the net for solutions but none seems to work. however, when i try the solutions posted (e.g. \setupcaption[figure][s

Re: [NTG-context] inserting Chinese characters (MKII)

2009-06-11 Thread Zhichu Chen
Since it's just two characters, why not make it a picture which you can generate it from your LaTeX output. That'll much easier than installing the Chinese fonts, generating the typescripts or so. On Thu, Jun 11, 2009 at 9:37 PM, Bowen Alan C. wrote: >  I have absolutely no knowledge of Chinese, b

[NTG-context] inserting Chinese characters (MKII)

2009-06-11 Thread Bowen Alan C.
I have absolutely no knowledge of Chinese, but I am publishing a review which inserts two Chinese characters into a document as follows, third century alchemist Ge Hong 葛洪 as another So which of the two Chinese modules on http:// modules.contextgarden.net/ should I install or do I need them

Re: [NTG-context] Pretty print SQL broken? Or am I doing something wrong?

2009-06-11 Thread Hans Hagen
Gerben Wierda wrote: Nobody has a solution for my problem with non-working colouration of code? the sql filter in mkii was not written by me ... (in mkiv we hav eno sql filter yet) Hans -

Re: [NTG-context] diaresis in url with \goto

2009-06-11 Thread Hans Hagen
Peter Münster wrote: Hello, How can I get a diaresis in a url with \goto? This is, what I've tried: \setupinteraction[state=start] \def\gotoURL#1{\tt\goto{#1}[url(#1)]} \starttext \gotoURL{http://test.com/test#test} \gotoURL{http://test.com/test\#test} \gotoURL{http://test.com/test\string#test

[NTG-context] problem with \footnote and \FlushStep (MKIV)

2009-06-11 Thread Peter Münster
Hello, Some weeks ago, this worked fine, but today: \usemodule[pre-stepwise] \setupinteraction[state=start] \starttext \chapter{Footnote appears too early} \StartSteps bla\FlushStep \footnote{footnote}\FlushStep bla\FlushStep \StopSteps \chapter{Footnote appears too late} \StartSteps \startitemi

Re: [NTG-context] Pretty print SQL broken? Or am I doing something wrong?

2009-06-11 Thread Berend de Boer
> "Gerben" == Gerben Wierda writes: Gerben> For 'SQL' I assume I should use 'sql'. When I do that, Gerben> exactly the same happens. I mean "select" instead of "SELECT". -- Groetjes, Berend. ___ If you

Re: [NTG-context] Pretty print SQL broken? Or am I doing something wrong?

2009-06-11 Thread Gerben Wierda
Nobody has a solution for my problem with non-working colouration of code? G On 9 Jun 2009, at 00:12, Gerben Wierda wrote: On 8 Jun 2009, at 09:59, Berend de Boer wrote: "Gerben" == Gerben Wierda writes: Gerben> verb-sql.tex seems not to work correctly. Is it broken or Gerben> am I

[NTG-context] diaresis in url with \goto

2009-06-11 Thread Peter Münster
Hello, How can I get a diaresis in a url with \goto? This is, what I've tried: \setupinteraction[state=start] \def\gotoURL#1{\tt\goto{#1}[url(#1)]} \starttext \gotoURL{http://test.com/test#test} \gotoURL{http://test.com/test\#test} \gotoURL{http://test.com/test\string#test} \gotoURL{http://test.

Re: [NTG-context] possible problem with setuptex

2009-06-11 Thread Peter Münster
On Thu, 11 Jun 2009, Hans van der Meer wrote: > When loading minimals with a shell script it appears that setuptex takes > arguments from the calling shell script: Indeed. 2 solutions: - treat or save your arguments before calling setuptex, for example: ARG1="$1" ARG2="$2" shift $# sourc

Re: [NTG-context] possible problem with setuptex

2009-06-11 Thread Hans Hagen
Hans van der Meer wrote: When loading minimals with a shell script it appears that setuptex takes arguments from the calling shell script: script called as "script --current" contains: source ./setuptex This result in the following error message: mktexlsr: Done. The argument "/Users

Re: [NTG-context] stand-alone ConTeXt

2009-06-11 Thread Hans Hagen
Carlos Breton Besnier wrote: stand-alone CONTEXTediting environment (windows) is not available? no, as i need to spend some time on getting scite into the minimals as option - Hans Ha

[NTG-context] possible problem with setuptex

2009-06-11 Thread Hans van der Meer
When loading minimals with a shell script it appears that setuptex takes arguments from the calling shell script: script called as "script --current" contains: ... source ./setuptex ... This result in the following error message: mktexlsr: Done. The argument "/Users/hans/TeX/context/current/t

[NTG-context] URLs: interaction, color/style, hyphenation (was: Re: Argument of \doswitchtotypeface has an extra })

2009-06-11 Thread Peter Münster
On Thu, 11 Jun 2009, Wolfgang Schuster wrote: > Am 11.06.2009 um 10:08 schrieb Peter Münster: > > Or is there perhaps another command (for example "\fromURL{}") > that does > > just this: "\useURL[dummy][http://my-url/]\from[dummy]"; > > > Perhaps with alternative optio

[NTG-context] stand-alone ConTeXt

2009-06-11 Thread Carlos Breton Besnier
stand-alone CONTEXTediting environment (windows) is not available? ___ 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/list

Re: [NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-11 Thread Peter Münster
On Thu, 11 Jun 2009, Hans Hagen wrote: > Peter Münster wrote: > \lastpagenumber ? > > should work in the beta Indeed, thanks! Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of

Re: [NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-11 Thread Wolfgang Schuster
Am 11.06.2009 um 10:08 schrieb Peter Münster:Or is there perhaps another command (for example "\fromURL{}") that doesjust this: "\useURL[dummy][http://my-url/]\from[dummy]"Perhaps with alternative optional argument:\fromURL[#1]{#2} = "\useURL[dummy][#2][][#1]\from[dummy]"Hans gave *you* a while ago

Re: [NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-11 Thread Hans Hagen
Peter Münster wrote: \lastpagenumber ? should work in the beta -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 |

Re: [NTG-context] finding out what font are available

2009-06-11 Thread Matthijs Kooijman
Hi Ciro, > I type: > sudo mtxrun -script fonts --list > > and I get: > sudo: unable to execute /usr/bin/mtxrun: No such file or directory Considering that mtxrun exist, I suspect the interpreter of the script does not exist, which is texlua on my system: $ head -1 /usr/bin/mtxrun #!/usr/bin

Re: [NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-11 Thread Peter Münster
On Wed, 10 Jun 2009, Hans Hagen wrote: > Peter Münster wrote: > > Hello, > > > > Here I get the error: > > > > \starttext > > bla\footnote{\useURL[bla][http://bla/]\from[bla]} > > \stoptext > > > > I use \useURL inside the footnote, because in my real code, I put \useURL > > and \from together