[NTG-context] Project automatic lookup for included directories

2012-08-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I have a product file which includes an environment file placed two directories 
up.

What is the default lookup of \environment? I thought it were at least one 
level up, but I'm not sure.

My code so far is:


\usepath[{.,..,../..}]

\environment _e-Geom.mkiv % In fact in '../../_e-Geom.mkiv'

\startproduct *
  AAA

  \section{SSS}
\stopproduct


The code works; but what members in '\usepath[{.,..,../..,../../..}]' are 
really necessary (so what lookup is performed automatically? - '.' = the 
current directory? and/or '..' = the parent directory?)?

Suppose having 3 files:

_e-Geom.mkiv
../_e-Geom.mkiv
../../_e-Geom.mkiv

Which of them will be used when I write '\environment _e-Geom.mkiv' and

a) I specify explicitly \usepath[{../..}]?
b) I don't use '\usepath'?

TIA.

Lukas


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


[NTG-context] running context mcommon.tex

2012-08-15 Thread john Culleton

Downloaded and installed context  minimal in  my user
directory. Ran setuptex 
  mktexlsr
 texexec --make --alone
and so on. Now I want to process the
manual mcommon.tex. I tried context mcommon.tex. I got lots of
messages but no pdf file. In the same directory I ran 
context mreadme.tex and that processed ok. 

Do I need some special parameter for mcommmon.tex? I tried some
--mode parameters but none seemed to help. I also have a texlive
install but I thought setuptex took care of that.

-- 
John Culleton
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Police Procedural and Expose: Death Wore Black
Create Book Covers with Scribus
http://www.booklocker.com/books/4055.html
___
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] Grid lines color and disable

2012-08-15 Thread Xan

Al 14/08/12 19:32, En/na Hans Hagen ha escrit:

On 14-8-2012 16:52, Xan wrote:

Hi,

I want to change color to red to black in \showgrid. Is it possible?
By the other hand, I want to enable/disable the grid alternatively: I
want to have for example 5 blank new pages and then leave the grid:

\showgrid[nonumber]{{\dorecurse{80}\page[empty]}}

What command I have to run to disable grid in the next page?

I use MKIV with minimals


\starttext

\definepalet
  [layout]
  [grid=darkred,
   page=darkgreen]

\dorecurse{3}{\page[empty]}
{\showgrid[nonumber]{{\dorecurse{3}{\page[empty]
\dorecurse{3}{\page[empty]}

\stoptext


Thank you very much for the color set.

Yesterday I found solution for enable/disable the grid:

\bgroup
\setuplayout[grid=yes]
\showgrid[nonumber]{{\dorecurse{10}{\page[yes, empty]\par\crlf}}}
\page[yes]
\setuplayout[grid=no]
\egroup


Is it equivalent?

By the other hand, can I put the grid only for example in half of the 
height of the page? (the bottom half for example)


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


[NTG-context] linenotes space for compress

2012-08-15 Thread Pablo Rodríguez
Hi there,

I have tried to add the compress option for linenotes to a commented
edition that I'm trying to typeset (http://geoffreysteadman.com/).

Sample is attached. And the relevant code for both apparatuses are:

\definenote[dict]
\setupnote[dict][n=2,rule=off, split=strict, inbetween=\hskip1.5em]
\setupnotation[dict][number=no]
\definelinenote[contxt]
\setupnote[contxt][rule=off, paragraph=yes, split=strict,
inbetween=\hskip1.5em]
\setupnotation[contxt][numbercommand=,alternative=serried,distance=1em,compress=yes,compressseparator=]

There is a problem (shown in the second apparatus from pages 1-3):
compression space is also shown at line start with no previous text on
that line. I'm afraid this is a bug.

There is another issue with the blank space between compressed notes.
They have more space than normal notes. This can be observed comparing
the first compressed notes and the first numbered ones. I guess
compressed notes have both spaces from numbered notes (the space before
and the space after the number [inbetween option from setupnote and
distance option from setupnotation]). I think there should be less space
for compressed notes than for numbered notes. I think Idris and Thomas
might give some insight into this issue. My suggestion would be to
reduce the compressed space to the space before the number (inbetween
option from setupnotes) or to enable a compressspace option in
setupnotation (which would make sense mainly when compressseparator were
disabled).

There is another issue on pages 2 and 3: the separation between body and
the dict linenotes is almost non-existent. I'm afraid this may be bug.

BTW, I would like to put the contxt linenote numbers in old style.
\setff{oldn} would be the command, but
\setupnotation[contxt][numbercommand=\setff{oldn}] doesn't work. How can
I get this?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk


symposium.pdf
Description: video/flv
___
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
___