Re: [NTG-context] System variable HOME

2012-11-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Mon, 05 Nov 2012 18:46:18 +0100, Hans Hagen pra...@wxs.nl wrote:


On 11/5/2012 12:15 AM, Sietse Brouwer wrote:


(2) why would mtxrun set the variables and risk overwriting something?
The comments suggest it is for the benefit of the cnf files, but still
--- why overwrite?
 ossetenv(HOME,   homedir) -- can be used in unix cnf files
 ossetenv(USERPROFILE,homedir) -- can be used in windows cnf files



Wouldn't be better to set the HOME variable ONLY in the case it has not been 
defined?

If I keep the code mentioned by Sietse - Below: relevant code from mtxrun, lines 
11681-11696


local homedir = --osgetenv(ostype == windows and 'USERPROFILE' or 'HOME') 
or ''

osgetenv(HOME) or ostype == windows and 
osgetenv('USERPROFILE') -- - MY PROPOSAL HERE

if not homedir or homedir ==  then
homedir = char(127) -- we need a value, later we wil trigger on it
end

homedir = file.collapsepath(homedir)

ossetenv(HOME,   homedir) -- can be used in unix cnf files
ossetenv(USERPROFILE,homedir) -- can be used in windows cnf files

environment.homedir = homedir


Lukas




it just sets them local (for this run + subruns)

Hans



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Latex to ConTeXt

2012-11-19 Thread Manuel González Suárez
Thanks very much, Hans.
The second solution is very good.
Manuel

2012/11/17 Hans Hagen pra...@wxs.nl

 On 11/15/2012 9:20 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

 On Thu, 15 Nov 2012 09:07:55 +0100, MANUEL GONZALEZ SUAREZ
 gonzalezsman...@uniovi.es wrote:


 Hello.

 I wish someone would help me translate this code LaTeX to ConTeXt.
 It is a
 command to do word by word translations, so that a word appears under
 another.

 Here's the code:

 \newcommand\dos[2]{\begin{**tabular}{@{}c}{\textDidot{\**
 footnotesize#1}}\\{\**scriptsize\em#2}\end{tabular}}


 A picture of the result would be nice - we probably won't know what to
 reach.



 Thanks


 Something like this?

 
 %
 \newcommand\dos[2]{\begin{**tabular}{@{}c}{\textDidot{\**
 footnotesize#1}}\\{\**scriptsize\em#2}\end{tabular}}


 \define[2]\dos{%
\bTABLE
  \setupTABLE[align=middle]
  \setupTABLE[r][1][style=\**small]
  \setupTABLE[r][2][style={\**small\small\em}]
  \bTR\bTD#1\eTD\eTR
  \bTR\bTD#2\eTD\eTR
\eTABLE
 }

 \starttext
Some text \dos{Abc}{Def}
 \stoptext


 more efficient:

 \unexpanded\def\dos#1#2%
   {\dontleavehmode
\begingroup
\setbox0\struttedbox{#1}%
\setbox2\struttedbox{#2}%
\ifdim\wd0\wd2
  \setbox2\hbox to \wd0{\hss\box2\hss}%
\else
  \setbox0\hbox to \wd2{\hss\box0\hss}%
\fi
\box0
\kern-\wd2
\raise\lineheight\box2
\endgroup}



 --

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

[NTG-context] Equivalent of Includeonly?

2012-11-19 Thread H. Özoguz
Is there an equivalent of the LaTeX \includeonly ? - I'm working on 
books (nearly only on books), so such a command would speed up my work.


Huseyin
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Wolfgang Schuster

Am 19.11.2012 um 09:30 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Is there an equivalent of the LaTeX \includeonly ? - I'm working on books 
 (nearly only on books), so such a command would speed up my work.

No there isn’t.


@Hans: With with \includeonly and \excludeonly command you can specify which 
external files should be included in the document by the \inlcude{…} (a special 
version of \input{…}) command.

When you add \includeonly{one,three} in the following example only the files 
“one.tex” and “three.tex” will be included and the other two are ignored. With 
\excludeonly{two,three} the files “one.tex” and “four.tex” are read but two and 
three are ignored.

\startproduct mydocument

\component one
\component two
\component three
\component four

\stopproduct

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Schmitz Thomas A.

On Nov 19, 2012, at 9:47 AM, Wolfgang Schuster wolfgang.schus...@gmail.com 
wrote:

 No there isn’t.
 
 
 @Hans: With with \includeonly and \excludeonly command you can specify which 
 external files should be included in the document by the \inlcude{…} (a 
 special version of \input{…}) command.
 
 When you add \includeonly{one,three} in the following example only the files 
 “one.tex” and “three.tex” will be included and the other two are ignored. 
 With \excludeonly{two,three} the files “one.tex” and “four.tex” are read but 
 two and three are ignored.
 
 \startproduct mydocument
 
 \component one
 \component two
 \component three
 \component four
 
 \stopproduct
 
 Wolfgang
 _

That reminds me: at the context meeting 2011, we talked about the possibility 
of retaining page numbers, cross-references, etc. when compiling just one 
component. Hans. you, said this wasn't too complex (because all the information 
is already there in the tuc file). Is this possible now, or can we have that in 
the near future? :-)

Thomas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] TeX files in fonts/ directory

2012-11-19 Thread Hans Hagen

On 11/19/2012 2:08 AM, Aditya Mahajan wrote:

Hi,

I am using ConTeXt standalone. Normally I unzip or git clone the fonts
that I regularly use in $HOME/texmf/fonts/opentype/data directory, since
I assume that all the extra files in there will simply be ignored by TeX.

However, I recently noticed that MkIV finds a test.tex file from inside
the fonts/ directory. In particular:

 $ luatools test.tex
 /home/adityam/texmf/fonts/opentype/data/euler-otf/tests/test.tex

Should luatools only search for tex files inside $TEXMF/tex directories?


it follows some rules, like looking for a 'tex' file (with one of the 
tex suffixes) using TEXINPUTS; normally that is restrictive enough


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Marco Patzer
2012-11-19 H. Özoguz:

 Is there an equivalent of the LaTeX \includeonly ?

You can place individual chapters in components and use the mode
mechanism:

  \startproduct *

  \startmodeset
[alpha] {\component [alpha]}
[beta]  {\component [beta]}
[gamma] {\component [gamma]}
  \stopmodeset

  \stopproduct

Then compile with `context --mode=alpha,gamma main.tex`.

http://wiki.contextgarden.net/Project_structure


Marco

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Hans Hagen

On 11/19/2012 9:56 AM, Schmitz Thomas A. wrote:


On Nov 19, 2012, at 9:47 AM, Wolfgang Schuster wolfgang.schus...@gmail.com 
wrote:


No there isn’t.


@Hans: With with \includeonly and \excludeonly command you can specify which 
external files should be included in the document by the \inlcude{…} (a special 
version of \input{…}) command.

When you add \includeonly{one,three} in the following example only the files 
“one.tex” and “three.tex” will be included and the other two are ignored. With 
\excludeonly{two,three} the files “one.tex” and “four..tex” are read but two 
and three are ignored.

\startproduct mydocument

\component one
\component two
\component three
\component four

\stopproduct

Wolfgang
_


That reminds me: at the context meeting 2011, we talked about the possibility 
of retaining page numbers, cross-references, etc. when compiling just one 
component. Hans. you, said this wasn't too complex (because all the information 
is already there in the tuc file). Is this possible now, or can we have that in 
the near future? :-)


this is already in place for a while given that one uses the right 
structures:


http://www.pragma-ade.com/general/magazines/mag-1103.pdf

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Hans Hagen

On 11/19/2012 9:47 AM, Wolfgang Schuster wrote:


Am 19.11.2012 um 09:30 schrieb H. Özoguz h.oezo...@mmnetz.de:


Is there an equivalent of the LaTeX \includeonly ? - I'm working on books 
(nearly only on books), so such a command would speed up my work.


No there isn’t.


@Hans: With with \includeonly and \excludeonly command you can specify which 
external files should be included in the document by the \inlcude{…} (a special 
version of \input{…}) command.

When you add \includeonly{one,three} in the following example only the files 
“one.tex” and “three.tex” will be included and the other two are ignored. With 
\excludeonly{two,three} the files “one.tex” and “four.tex” are read but two and 
three are ignored.

\startproduct mydocument

\component one
\component two
\component three
\component four

\stopproduct


\startproduct mysmalldocument

\component one
\component three

\stopproduct



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread H. Özoguz




\startproduct mydocument

\component one
\component two
\component three
\component four

\stopproduct

Wolfgang


I always use \input for the chapters of books - what is the difference to 
component? I looked into the wiki, but didn't get the difference.

Huseyin


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Herbert Voss

Am 19.11.2012 10:47, schrieb H. Özoguz:




\startproduct mydocument

\component one
\component two
\component three
\component four

\stopproduct

Wolfgang


I always use \input for the chapters of books - what is the difference
to component? I looked into the wiki, but didn't get the difference.


see
http://projekte.dante.de/DanteFAQ/GrosseDokumente
if you are familiar with german.

Suppose you have a 1500 pages document,  but you really
work only on the 7th chapter which has 30 pages with lots
of references to other chapters/sectionb/images/

with \includeonly{chap7} you get a 30 pages document but
with correct page numbers and correct references.

With only \input chap7  you have wrong page numbers and
missing references

Herbert
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Wolfgang Schuster

Am 19.11.2012 um 10:35 schrieb Hans Hagen pra...@wxs.nl:

 On 11/19/2012 9:47 AM, Wolfgang Schuster wrote:
 
 Am 19.11.2012 um 09:30 schrieb H. Özoguz h.oezo...@mmnetz.de:
 
 Is there an equivalent of the LaTeX \includeonly ? - I'm working on books 
 (nearly only on books), so such a command would speed up my work.
 
 No there isn’t.
 
 
 @Hans: With with \includeonly and \excludeonly command you can specify which 
 external files should be included in the document by the \inlcude{…} (a 
 special version of \input{…}) command.
 
 When you add \includeonly{one,three} in the following example only the files 
 “one.tex” and “three.tex” will be included and the other two are ignored. 
 With \excludeonly{two,three} the files “one.tex” and “four.tex” are read but 
 two and three are ignored.
 
 \startproduct mydocument
 
 \component one
 \component two
 \component three
 \component four
 
 \stopproduct
 
 \startproduct mysmalldocument
 
 \component one
 \component three
 
 \stopproduct

This doesn’t the same because with \includeonly the chapter/figure/page/etc. 
counters from the skipped files are honored like they do with single component 
files from Thomas request.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Herbert Voss
Wolfgang Schuster schrieb:

 \startproduct mysmalldocument

 \component one
 \component three

 \stopproduct

 This doesn’t the same because with \includeonly the
 chapter/figure/page/etc. counters from the skipped files are honored like
 they do with single component files from Thomas request.

because every file defined with \includeonly gets its own .aux file which
is _aöways_ read by the main tex file. The reason why all page numbers and
refences are correct.

Herbert

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Thomas A. Schmitz

On 11/19/2012 10:33 AM, Hans Hagen wrote:

this is already in place for a while given that one uses the right
structures:

http://www.pragma-ade.com/general/magazines/mag-1103.pdf


Oops, sorry, I must have missed this! But I can't get it working. After 
adding


\setupreferencing[autofile=yes]
\setupinteraction[state=start]

to all components, compiling single components fails with

! LuaTeX error 
...text/tex/texmf-context/tex/context/base/strc-ref.lua:902: table index 
is nil

stack traceback:
	...text/tex/texmf-context/tex/context/base/strc-ref.lua:902: in 
function 'loadproductreferences'
	...text/tex/texmf-context/tex/context/base/strc-ref.lua:1021: in 
function 'loadpresets'
	...text/tex/texmf-context/tex/context/base/strc-ref.lua:1043: in 
function 'useproduct'

main ctx instance:1: in main chunk.

system   tex  error on line 6 in file test.tex: LuaTeX error  ...

Any idea what this might mean?

All best

Thomas
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Hans Hagen

On 11/19/2012 12:47 PM, Thomas A. Schmitz wrote:

On 11/19/2012 10:33 AM, Hans Hagen wrote:

this is already in place for a while given that one uses the right
structures:

http://www.pragma-ade.com/general/magazines/mag-1103.pdf


Oops, sorry, I must have missed this! But I can't get it working. After
adding

\setupreferencing[autofile=yes]
\setupinteraction[state=start]

to all components, compiling single components fails with

! LuaTeX error
text/tex/texmf-context/tex/context/base/strc-ref.lua:902: table
index is nil
stack traceback:
 ...text/tex/texmf-context/tex/context/base/strc-ref.lua:902: in
function 'loadproductreferences'
 ...text/tex/texmf-context/tex/context/base/strc-ref.lua:1021: in
function 'loadpresets'
 ...text/tex/texmf-context/tex/context/base/strc-ref.lua:1043: in
function 'useproduct'
 main ctx instance:1: in main chunk.

system   tex  error on line 6 in file test.tex: LuaTeX error  ...

Any idea what this might mean?


that there is a lua error ...

can you try with:

if not component or component == componentname then
-- skip
else


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \dorecurse and \startcombination

2012-11-19 Thread Alan BRASLAU
Hello,

Does anyone have a suggestion how to use \dorecurse within combinations?
(without having to use lua...)

Alan

minimal example:

\starttext
\startcombination [2]
\dorecurse{2}{{#1}{#1}}
\stopcombination
\stoptext


! Missing { inserted.

system   tex  error on line 3 in file foo.tex: Missing { inserted ...

1 \starttext
2 \startcombination [2]
3   \dorecurse{2}{{#1}{#1}}
4 \stopcombination
5 \stoptext
6 

to be read again 
   \global 
\syst_helpers_recurse_x #1#2-\global 
  \advance \outerrecurse \plusone \globa...
l.3 \dorecurse{2}{{#1}{#1}}
   
? 
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Parameters for Texworks

2012-11-19 Thread Hans Hagen

On 11/18/2012 8:08 PM, H. Özoguz wrote:

Hi there,

Im happy to have found the correct parameters for Texworks and MarkVI
(and Standalone Context) after hours, wtih the kindly help of Hans and
SciTE. They are:

Programm: mtxrun
Parameters: --script context --synctec $fullname

Perhaps it would be useful to add this into the wiki, since there is
only a guide in texworks for MarkIV.


feel free to update ...

(wondering: does mtxrun --script texworks --start works ok?)

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Suddenly can't run context

2012-11-19 Thread Aditya Mahajan

On Mon, 19 Nov 2012, Mojca Miklavec wrote:


On Mon, Nov 19, 2012 at 4:34 AM, Aditya Mahajan wrote:

On Sun, 18 Nov 2012, Bill Meahan wrote:


2. Something is messed up in $HOME/texmf or $HOME/.texlive2012. Rename
these directories to something different and try again.



Done that several times -- no dice


I normally do not use TL, but looked into it, and the texmfcnf.lua script
distributed with texlive does not look right. I am attaching the output of
mtxrun --generate that I get. Note the following liines:

resolvers   | resolving | variable 'SELFAUTOLOC' set to '/usr/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to '/usr'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to '.'


It looks as if you were using Debian/Ubuntu? Or any other flavour of
Linux with a native TeX Live package?


Yes and sorry, I should have mentioned that. I am using Texlive from 
archlinux. I was under the impression that archlinux simply includes the 
upstream pacakges without any changes, but it appears that TL expects that 
it will be installed in /usr/local/ so installing the binaries i n 
/usr/bin confuses texmfcnf.lua



So I wonder how does context (MkIV) work at all with TL2012!


Maybe it just doesn't work with your linux box :P
One explanation could be that texmfcnf.lua hasn't been configured properly.
It works with plain TeX Live with default installation.


I'll check if Archlinux uses the same texmfcnf.lua as TL or not. If not, 
I'll report a bug upstream to archlinux.


Is the expectation that texmfcnf.lua will work out of the box for a 
standard linux installation (just like texmf.cnf), or should each 
distribution tweak texmfcnf.lua?


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [***SPAM***] \inright[][location=hanging]{} does not do what is expected.

2012-11-19 Thread Bill Meahan
Maybe I'm reading the documentation (such as it is) wrong but  I would 
expect specifying [location=hanging] to drop the margin text down 
alongside what follows instead of raising up to be even with what has 
preceded it.


Minimal example:

\starttext

\input montgomery
\inright[][align=right,location=hanging]{Shoulder Text}
\input knuth

\stoptext


The Shoulder Text is aligned upward from the end of ward so it is 
alongside the ward quote. I would have expected it to be aligned 
downward alongside the knuth quote.  Am I missing something?


--
Bill Meahan
Westland, Michigan USA

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \unit problem with powers of ten.

2012-11-19 Thread Romain Diss
Hi all,

I got some problems to express powers of ten in the \unit command. See the 
strange behaviour with these two minimal examples.

\starttext
\unit{10^2 meter}\\
\unit{10^{-12} second}
\stoptext

However, there is no problem with this one: \unit{1e-4 kilogram}.

Is this a bug or are these expressions not supported?

Thanks.

-- 
Romain Diss
romain.d...@yahoo.fr
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Parameters for Texworks

2012-11-19 Thread H. Özoguz

Am 19.11.2012 23:23, schrieb ntg-context-requ...@ntg.nl:

feel free to update ...

(wondering: does mtxrun --script texworks --start works ok?)

Hans

No, it does not.

Huseyin
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___