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 in a macro.
 
 i'll make them unexpandable although normally such commands are not used that
 way it does not hurt

Ok.
Or is there perhaps another command (for example \fromURL{}) that does
just this: \useURL[dummy][http://my-url/]\from[dummy];

Perhaps with alternative optional argument:
\fromURL[#1]{#2} = \useURL[dummy][#2][][#1]\from[dummy]

Cheers, Peter

P.S: Any news about the problems with \placehead and \lastpagenumber ?

-- 
Contact information: http://pmrb.free.fr/contact/

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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/texlua

So the mtxrun script should be run by texlua, which is again a symlink to
luatex:

  $ ls -l /usr/bin/texlua
  lrwxrwxrwx 1 root root 6 2009-05-07 11:26 /usr/bin/texlua - luatex

Perhaps you don't have luatex installed, or you are missing this symlink?

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 this solution: \goto{...}[url(...)]Wolfgang___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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 optional argument:
 
   \fromURL[#1]{#2} = \useURL[dummy][#2][][#1]\from[dummy]
 
 
 Hans gave *you* a while ago this solution: \goto{...}[url(...)]

Indeed, I suppose you mean
http://archive.contextgarden.net/message/20090504.084528.4e8ad6f9.en.html

I did not need this solution, because

1.) my little helper-macro
   \def\gotoURL{\dosingleempty\dogotoURL}
   \def\dogotoURL[#1]#2{\iffirstargument\useURL[dummyRefUseURL][#2][][#1]\else
 \useURL[dummyRefUseURL][#2]\fi\from[dummyRefUseURL]}
   worked just fine

2.) \goto{...}[url(...)] does not break URLs

But now I see, that even \from[...] does not breaks URLs neither...

It seems, the only way to get hyphenated url is without interaction.

Here a general test-file with all possibilities to print URLs, that I'm
aware of:

\setupinteraction[state=start]
\useURL[myURL][http://url.com/index.html]
\starttext
\hsize1pt
% hyphen introduced in url, no special color/style:
\from[myURL]
% same as \from, but \tt style:
\url[myURL]
% hyphenated without hyphens but no color/style/interaction:
\hyphenatedurl{http://url.com/index.html}
% interaction and color, but not hyphenated:
\goto{http://url.com/index.html}[url(http://url.com/index.html)]
\stoptext

The best would be, to have a command that:
- makes interactive links like \from[]
- uses \tt style like \url[]
- breaks URLs like \hyphenatedurl{}
- uses color like \goto{}[]

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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/tex/--current is not a  
valid TEXROOT path.
There is no file /Users/hans/TeX/context/current/tex/--current/texmf/ 
tex/plain/base/plain.tex

Setting /Users/hans/TeX/context/current/tex as TEXROOT instead.

I guess this cannot be the intent of setuptex. It was the intention to  
just use

/Users/hans/TeX/context/current/tex/
as the TEXROOT path.
Is there a simple solution?

Hans van der Meer




___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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/hans/TeX/context/current/tex/--current is not a 
valid TEXROOT path.
There is no file 
/Users/hans/TeX/context/current/tex/--current/texmf/tex/plain/base/plain.tex 


Setting /Users/hans/TeX/context/current/tex as TEXROOT instead.

I guess this cannot be the intent of setuptex. It was the intention to 
just use

/Users/hans/TeX/context/current/tex/
as the TEXROOT path.
Is there a simple solution?


what is --current supposed to do? shouldn't you use:

source ./setuptex /Users/hans/TeX/context/current/tex/


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 $#
  source /opt/context/tex/setuptex

- 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...)

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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.com/test\textdiaresis test}
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 gerben.wie...@rna.nl writes:


  Gerben verb-sql.tex seems not to work correctly. Is it broken or
  Gerben am I doing something wrong?

What if you use lowercase?


For 'SQL' I assume I should use 'sql'. When I do that, exactly the  
same happens.


Yours,

Gerben

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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

2009-06-11 Thread Berend de Boer
 Gerben == Gerben Wierda gerben.wie...@rna.nl 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 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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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
\startitemize
\item bla\FlushStep
  \footnote{footnote}\FlushStep
\item bla\FlushStep
\stopitemize
\StopSteps

\page
Here it's ok:
\StartSteps
bla\FlushStep
\footnote{footnote}\FlushStep
bla\FlushStep
\StopSteps
\stoptext

TIA for any help!
Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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}
\gotoURL{http://test.com/test\textdiaresis test}
\stoptext


in mkiv .. just utf8


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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 both? (I  
am assuming that installing one of both of these modules will take  
care of steps 1–4 of the post-ConTeXt 2005.12.19 instructions on http://wiki.contextrarden.net/Chinese 
.)


By the way, the LaTeX file that I am working from has

\begin{TChinese}ËëõÊ¥™\end{TChinese}

where

\newenvironment{TChinese}{%
\CJKfamily{bsmi}%
%\CJKfamily{bkai}%
  \CJKtilde
  \CJKnospace}{}

Alan



___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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.acbo...@princeton.edu wrote:
  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 both? (I am assuming that installing one
 of both of these modules will take care of steps 1–4 of the post-ConTeXt
 2005.12.19 instructions on http://wiki.contextrarden.net/Chinese.)
 By the way, the LaTeX file that I am working from has
 \begin{TChinese}ËëõÊ¥™\end{TChinese}
 where
 \newenvironment{TChinese}{%
 \CJKfamily{bsmi}%
 %\CJKfamily{bkai}%
   \CJKtilde
   \CJKnospace}{}
 Alan



 ___
 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/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___





-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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][stopper={.}]) using XeConTeXt or MKII, i get the  
result i need.  can anybody tell me how to go about this in mkiv?


also, how do you go about producing a Table 1.1 or a Table 1-1 in  
the captions?  couldn't find the answer in the manuals or in the web.   
any help would be greatly appreciated.


Thanks all! :-)

joel mendoza
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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}
  \gotoURL{http://test.com/test\#test}
  \gotoURL{http://test.com/test\string#test}
  \gotoURL{http://test.com/test\textdiaresis test}
  \stoptext
 
 in mkiv .. just utf8

Excuse me, I mixed up diaeresis with the number sign...

So here the real question:

How can I get a number sign in a url with \goto?

Cheers, Peter


P.S.: You have a little spelling error at line 247 in enco-uc.tex:
\definecharacter textdiaresis {\uchar0{168}}

-- 
Contact information: http://pmrb.free.fr/contact/

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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



___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 that?


The same question was asked in the past by someone else and your 
should find it
together with the answer in the mail archive, search for 
\startcombination

or \bTD[nx=2] ...

Wolfgang

Thanks Wolfgang for your answer. I use google and I not found it, But I 
solve that with nested combinations.


Xan.
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 Thu, Jun 11, 2009 at 4:39 AM, Hans Hagen pra...@wxs.nl wrote:

 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 Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
 -

 ___
 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/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 [conversion=characters] is displayed at the top of the file. - I  
assume, that this is an issue related to the new sectioning code...


Otherwise compliation of your code in MKII results in a correct  
conversion of the numbers to characters, but indeed the width is  
restricted to a fairly small column. You can circumvent this by  
adding a width= to the list of options [conversion=characters, width= 
\.9\textwidth]


Kind regards

Willi
On Jun 9, 2009, at 5:43 PM, Bowen Alan C. wrote:

I need a table that has local notes, but have not been able to get  
them into the proper position (at the left margin of the table) or   
the the proper length ( extending full length of table if needed).  
What am I missing in the following reduced example?


\starttext

\startlocalfootnotes[conversion=character]
\placetable[][]
{}
\placelegend
{\starttables[|p|p|p|p|p|p|]
\NC numbers 
\NC (*) \footnote{This is the first footnote.}
\NC stuff \footnote{This is the second footnote.}   
\NC stuff\footnote{This is the third footnote.}
\NC more stuff\footnote{This is the fourth footnote}
\NC and yet more\NC\SR
 \HL
\stoptables}
{\placelocalfootnotes}
\stoplocalfootnotes

\stoptext

Alan


__ 
_
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/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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 lines are.

The attached patch adds two new hooks, begin_of_buffer and end_of_buffer,
which will be called when typing a buffer or a file (e.g. \typebuffer or
\typefile). They are not called for typing a phrase (e.g. \type).

Is this patch acceptable for inclusion?

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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]

% module for flowchart

\usemodule[chart]

% use of bib module

\usemodule[bib]

\usemodule[bibltx]

\setupbibtex[database=OLNbib]

%\setuppublications[numbering=yes, sorttype=bbl,criterium=all]

\setuppublications[numbering=yes, sorttype=bbl]

\usemodule[newmat]

\usemodule[amsl]

%\usemodule[nath] % not use this module! amsl doesn't work anymore.

%\definebodyfont[ams]

% Figures and more

% USED IN example pgfmanual

\usemodule[xxcolor]

\usemodule[pifont]

\usemodule[latin1][inputenc]

\usemodule[version=latest][pgf]
### End. ###

But after the new installation ConTeXt cannot find
the modules amsmath and latexsym and more of these 
modules, you can read on the first line. 
What to do?? (newmat is not an option!!)
What I have to change such that ConTeXt find these 
packages, de style-files of amsmath, etc.,


greetings,


Rene' 



___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 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 [conversion=characters] is displayed at the top of the  
file. - I assume, that this is an issue related to the new  
sectioning code...


Otherwise compliation of your code in MKII results in a correct  
conversion of the numbers to characters, but indeed the width is  
restricted to a fairly small column. You can circumvent this by  
adding a width= to the list of options [conversion=characters, width= 
\.9\textwidth]


Kind regards

Willi
On Jun 9, 2009, at 5:43 PM, Bowen Alan C. wrote:

I need a table that has local notes, but have not been able to get  
them into the proper position (at the left margin of the table) or   
the the proper length ( extending full length of table if needed).  
What am I missing in the following reduced example?


\starttext

\startlocalfootnotes[conversion=character]
\placetable[][]
{}
\placelegend
{\starttables[|p|p|p|p|p|p|]
\NC numbers 
\NC (*) \footnote{This is the first footnote.}
\NC stuff \footnote{This is the second footnote.}   
\NC stuff\footnote{This is the third footnote.}
\NC more stuff\footnote{This is the fourth footnote}
\NC and yet more\NC\SR
\HL
\stoptables}
{\placelocalfootnotes}
\stoplocalfootnotes

\stoptext

Alan


___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 mail client)

Look into the ‘mailto’ URL type, e.g.,
\goto{mailto:y...@mail.net}[url(mailto:y...@mail.net)]
See http://www.outfront.net/tutorials_02/adv_tech/mailto.htm for more
on this.

—Joel Salomon
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 Jun 11, 2009, at 09;51,24 , Zhichu Chen wrote:


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.acbo...@princeton.edu wrote:
 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 both? (I am assuming that  
installing one
of both of these modules will take care of steps 1–4 of the post- 
ConTeXt

2005.12.19 instructions on http://wiki.contextrarden.net/Chinese.)
By the way, the LaTeX file that I am working from has
\begin{TChinese}ËëõÊ¥™\end{TChinese}
where
\newenvironment{TChinese}{%
\CJKfamily{bsmi}%
%\CJKfamily{bkai}%
  \CJKtilde
  \CJKnospace}{}
Alan



___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___






--
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 --context=current first-setup.log
 source ./tex/setuptex
 I get this message on ETEX in the call to first-setup.sh.
 ...hans/TeX/context/stable/tex/texmf-osx-ppc/bin/mtxrun:8707: attempt to
 concate
 nate a nil value
 (/Users/hans/TeX/context/stable/tex/texmf-context/tex/context/base/cont-en.tex
 (
 /Users/hans/TeX/context/stable/tex/texmf-context/tex/context/base/context.tex
 SORRY CONTEXT NOW NEEDS ETEX
  ) )
 Is there something wrong here?
 Hans van der Meer

The latest luatex binary doesn't work with current ConTeXt.

I'll fix it during the next conference (if I get there, but Hans will
release several new currents by then anyway :), until then you either
need to replace luatex with an older version (see
http://minimals.contextgarden.net/current/bin/osx-ppc/luatex/ - this
is prepared to handle choosing luatex version, but not implemented in
mtx-update.lua yet) or take the beta.

Sorry for the incovenience.

Mojca
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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,amsfonts,graphics,epsfig,makeidx,subfigure]


AFAIK, none of these modules ever existed.


\usemodule[tikz]

% module for flowchart

\usemodule[chart]

% use of bib module

\usemodule[bib]

\usemodule[bibltx]

\setupbibtex[database=OLNbib]

%\setuppublications[numbering=yes, sorttype=bbl,criterium=all]

\setuppublications[numbering=yes, sorttype=bbl]

\usemodule[newmat]

\usemodule[amsl]

%\usemodule[nath] % not use this module! amsl doesn't work anymore.

%\definebodyfont[ams]

% Figures and more

% USED IN example pgfmanual

\usemodule[xxcolor]

\usemodule[pifont]

\usemodule[latin1][inputenc]

\usemodule[version=latest][pgf]
### End. ###

But after the new installation ConTeXt cannot find
the modules amsmath and latexsym and more of these
modules, you can read on the first line.
What to do?? (newmat is not an option!!)


What features do you really need. ConTeXt now has in-built support for 
many amsmath environments. See

http://dl.contextgarden.net/myway/context-latex-math.pdf

Regarding latexsym, which symbols do you find missing from ConTeXt. It 
should be straight forward to add them to ConTeXt.


Aditya
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 command line interface. I'll be happy to test 
this option.


Kevin

On Thu, Jun 11, 2009 at 4:39 AM, Hans Hagen pra...@wxs.nl 
mailto:pra...@wxs.nl wrote:


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 Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
http://www.pragma-ade.com
| www.pragma-pod.nl
http://www.pragma-pod.nl
-

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

maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

___




___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
  

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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:
 mktexlsr: Done.
 The argument /Users/hans/TeX/context/current/tex/--current is not a valid
 TEXROOT path.
 There is no file
 /Users/hans/TeX/context/current/tex/--current/texmf/tex/plain/base/plain.tex
 Setting /Users/hans/TeX/context/current/tex as TEXROOT instead.
 I guess this cannot be the intent of setuptex. It was the intention to just
 use
 /Users/hans/TeX/context/current/tex/
 as the TEXROOT path.
 Is there a simple solution?
 Hans van der Meer

Maybe I'm wroing, but didn't it do that already? It said
   Setting /Users/hans/TeX/context/current/tex as TEXROOT
Well, it has complained a bit, but it nevertheless did it :)

setuptex tries to be clever about acceping an argument to pass some
other path. I don't know how shell expansion works, but it might
indeed be working a bit weird.

If you wrap the script setuptex into some other script, you could just
as well only set PATH (and maybe TEXMFCACHE).

Mojca
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 proposal :)

Mojca
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 12:12 PM, Mohamed Bana
mbana.li...@googlemail.comwrote:

 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 command line interface. I'll be happy to test this option.

 Kevin

 On Thu, Jun 11, 2009 at 4:39 AM, Hans Hagen pra...@wxs.nl mailto:
 pra...@wxs.nl wrote:

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 Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
http://www.pragma-ade.com
| www.pragma-pod.nl
http://www.pragma-pod.nl
-

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

maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

  
 ___


 


 ___
 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/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___



 ___
 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/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 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 12:12 PM, Mohamed Bana mbana.li...@googlemail.com
 wrote:
 
 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 command line interface. I'll be happy to test
 this option.
 
 Kevin
 
 On Thu, Jun 11, 2009 at 4:39 AM, Hans Hagen pra...@wxs.nl mailto:
 pra...@wxs.nl wrote:
 
    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 Hagen | PRAGMA ADE
                 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
    http://www.pragma-ade.com
                                                | www.pragma-pod.nl
    http://www.pragma-pod.nl
 
    -
  
  
 ___
    If your question is of interest to others as well, please add an
    entry to the Wiki!
 
    maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl /
 
    http://www.ntg.nl/mailman/listinfo/ntg-context
    webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
    archive  : https://foundry.supelec.fr/projects/contextrev/
    wiki     : http://contextgarden.net
  
  
 ___
 
 
 
 
 
 
 
 ___
 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/listinfo/
 ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 
 ___
  
 
 
 ___
 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/listinfo/
 ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 
 ___
 
 

 ___
 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/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


signature.asc
Description: Digital signature
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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  
krobb...@alumni.princeton.edu 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 command line interface. I'll be happy to test  
this option.


If you want something really comfortable for Windows users, try the  
Notepad++ setup:


http://wiki.contextgarden.net/Image:Npp_ConTeXt-Uni.zip

I don't have Vista, which uses a different dir structure for the files,  
but you can easily adopt this as needed.


Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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/beta/tex
 export PATH=$TEXROOT/texmf-osx-ppc/bin:$PATH
 export TEXMFCACHE=$TEXROOT/texmf-cache
 context $1
 This corresponds to the recipe step 3 of TeXShop installation and
 configuration.
 The result in TeXShop's console window is disappointing:
 MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

This looks like a missing luatools --generate.

I admit that I remember seing the automatic luatools --generate
that's executed with mtx-update.lua not create the right cache, but
I don't know or remember any details. Does running it manually under
the same set of settings help?

Mojca
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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...)
 
 I theory adjusting PATH should do, but it's a nice proposal :)

So TEXMFCACHE and TEXMFOS are not needed?
And what about the praxis in contrast do the theory?

Here my little test:
unset TEXMFOS 
unset TEXMFCACHE 
context test
- MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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
to be read again
   \egroup
\thisisdestination ... \dostartthisislocation {#1}
   
\dostopthisislocation \fi ...


\dodowritereference ...nceprefix \lastreference }}
  \referenceinfo  
\lastrefer...


\rawprocesscommaitem ...commalevel \endcsname {#1}
  \expandafter  
\rawprocessco...


\rawprocesscommalist ... \rawprocesscommaitem #1,]
  ,\global \advance  
\commale...


\writereference ...[\!!stringa ]\dowritereference
  \fi \fi
...
l.354 \footnotetext[a]
  {See \goto{Pingree 1977}[Pingree1977].}

Is there a way to reset the localfootnote counter so that ConTeXt is  
happy and the footnotes marked by arabic numerals are undisturbed.  
Something like \resetnumber[localfootnotes] perhaps, though this does  
not work.


Alan___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 be
\enableregime[latin1] in ConTeXt dialect.

Mojca
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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)]
Seehttp://www.outfront.net/tutorials_02/adv_tech/mailto.htm  for more
on this.
   


___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 ادريس سماوي حامد isha...@colostate.edu

 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 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.


 If you want something really comfortable for Windows users, try the
 Notepad++ setup:

 http://wiki.contextgarden.net/Image:Npp_ConTeXt-Uni.zip

 I don't have Vista, which uses a different dir structure for the files, but
 you can easily adopt this as needed.

 Best wishes
 Idris

 --
 Professor Idris Samawi Hamid, Editor-in-Chief
 International Journal of Shi`i Studies
 Department of Philosophy
 Colorado State University
 Fort Collins, CO 80523


 ___
 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/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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/bin/tex*
/usr/bin/textools*/usr/bin/texlinks*  /usr/bin/texhash@
/usr/bin/texshow* /usr/bin/texdoctk*
/usr/bin/texmfstart*  /usr/bin/texdoc*



how Do I install texlua? WHere is the download?

thank you
Ciro



-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre


On Thu, Jun 11, 2009 at 4:30 AM, Matthijs Kooijman matth...@stdin.nlwrote:

 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/texlua

 So the mtxrun script should be run by texlua, which is again a symlink to
 luatex:

  $ ls -l /usr/bin/texlua
  lrwxrwxrwx 1 root root 6 2009-05-07 11:26 /usr/bin/texlua - luatex

 Perhaps you don't have luatex installed, or you are missing this symlink?

 Gr.

 Matthijs

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAkowwKYACgkQz0nQ5oovr7zeCgCdGwt3hZS/7NGemZXl8cwZ3oiW
 nS0An2ZDjG9MaUZPYBoekIAjwbViSv52
 =TtML
 -END PGP SIGNATURE-


___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 to do and all minimal-users must change
   their habits...)

 I theory adjusting PATH should do, but it's a nice proposal :)

 So TEXMFCACHE and TEXMFOS are not needed?
 And what about the praxis in contrast do the theory?

 Here my little test:
 unset TEXMFOS
 unset TEXMFCACHE
 context test
 - MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

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 added the file now.

I guess that TEXMFOS is not needed either.
A month ago I decided to clean up setuptex a bit and removed
everything but PATH setting ... and then the lack of TEXMFOS has
destroyed the whole evening trying to figure out why it worked on
everyone's machine but mine ... The bug has been fixed though, so ...
if you update now to fetch that additional file ... does it work then?

If yes, I'll remove the two remaining variables from setuptex. (I
might be offline for a longer period though.)

Mojca
___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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 added the file now.

Great, it works now. Clean solution!

But I'm asking myself, how SELFAUTOPARENT works:
luatex is here: /opt/context/tex/texmf-linux-64/bin/luatex
So it seems, that SELFAUTOPARENT is /opt/context/tex
But I would have guessed that it's /opt/context/tex/texmf-linux-64 ...

I even suggest, to suppress setuptex and only write in the readme/wiki,
that the PATH must be adjusted so that context can be found, that's all.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___