Re: [NTG-context] Bug in math integral

2012-10-23 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes:

 Keep in mind that mkiv and mkii will never produce the same results
 (e.g.: more granularity in font metrics in mkiv, less juggling with
 combined shapes in mkiv, etc). SO, it can never be the pixel wise
 reference.

I'm well aware of this, but having something at least similar which can
be compared easily is better than nothing. Once you say the issue can be
considered fixed, I'll replace the reference with the new, good one.
Having a failing test, reminding that the issue is open, makes sense to
me.

Best wishes

-- 
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] [test suite] Bidi and line numbering

2012-10-23 Thread Marco Pessotto

Hello there.

https://github.com/melmothx/context-unofficial-test-suite/blob/master/src/mkiv/bidi/linenumbers-001.tex

The line numbering positioning is messed up and overlaps the text, or is
on the wrong side. With TL12 the output was good.

Cheers


-- 
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] TABLE: header with a thick bottom line

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Mon, 22 Oct 2012 17:45:21 +0200, Marco Patzer home...@lavabit.com wrote:


http://wiki.contextgarden.net/TABLE#Rules_with_different_thickness


... I knew this snippet; unfortunately, there were some bindings or 
relationships that I didn't understand fully.


Marco


Anyway, after some experiments, based on Wolfgang's code on wiki, I reached the 
following minimal working example:


\startuseMPgraphic{MP:thickBtm}
  draw bottomboundary OverlayBox withpen pensquare scaled 
\frameddimension{bottomrulethickness};
  clip currentpicture to OverlayBox;
  setbounds currentpicture to OverlayBox;
\stopuseMPgraphic

\defineoverlay[OL:thickBtm][\useMPgraphic{MP:thickBtm}]

\starttext
  \bTABLE
\setupTABLE[align=middle]
\setupTABLE[header][background={OL:thickBtm},bottomrulethickness=3mm]
\setupTABLE[row][4][background={OL:thickBtm},bottomrulethickness=1.5mm]
%
\bTABLEhead\bTR\dorecurse{3}{\bTH#1\eTH}\eTR\eTABLEhead
\bTABLEbody\dorecurse{6}{\bTR\dorecurse{3}{\bTD#1-##1\eTD}\eTR}\eTABLEbody
  \eTABLE
\stoptext


Best regards,

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

t-Tab-ThkBtm.mkiv
Description: Binary data


t-Tab-ThkBtm.pdf
Description: Adobe PDF document
___
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] [test suite] Column-related fails to compile

2012-10-23 Thread Marco Pessotto

https://github.com/melmothx/context-unofficial-test-suite/blob/master/src/mkiv/columns/sets-001.tex
fails to compile, but it's not a regression since TL, where it fails too.

Cheers

system   tex  error on line 20 in file sets-001.tex: Missing number, 
treated as zero ...

10 
11 \showframe
12 
13 \starttext
14 
15 \setuppagenumbering[alternative=doublesided]]
16 \definecolumnset[mycolumnset][n=2]
17 
\definecolumnsetarea[einschub][left][x=1,y=1,nx=3,ny=20,background=contrast,state=start,leftoffset=1cm,rightoffset=1cm]
18 
19 \startcolumnset[mycolumnset]
20   \dorecurse{15}{\input tufte\par}
21 \stopcolumnset
22 
23 \stoptext
24 
25 

to be read again 
   \advance 
\docalculatecolumnsetspan ...c!backspace \advance 
  \!!widtha \namedlayoutpara...
\dodoplacecolumntextareas ...lculatecolumnsetspan 
  \!!heighta \columntextarea...
\docommand ...oplacecolumntextareas {#1}{\v!left }
  \else \doglobal \removefro...
\91 #1,-\docommand {#1}
  \syst_helpers_do_process_comma_item 
\syst_helpers_do_process_comma_list ...rgument #1,
  ]\relax \global \advance \...
...
l.20 \dorecurse{15}{\input tufte\par}
 
? X



-- 
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] [test suite] two linenote related testfiles fail

2012-10-23 Thread Marco Pessotto

FAILING:

https://github.com/melmothx/context-unofficial-test-suite/blob/master/src/mkiv/critical/testlinenotes-007.tex

and 

https://github.com/melmothx/context-unofficial-test-suite/blob/master/src/mkiv/critical/testlinenotes-008.tex

Also, it appears that \linenote was not present in TL12, so I don't have
a reference for all the testlinenotes files.

I'd be glad if someone more introduced to this feature let me know if
the output with the latest beta is fine.

! Missing number, treated as zero.

system   tex  error on line 9 in file testlinenotes-007.tex: Missing 
number, treated as zero ...

 1 \starttext
 2 
 3 \setuppapersize[S6][S6]
 4 
\setuplayout[width=middle,height=middle,margin=1.5cm,footer=0pt,header=1cm]
 5 
 6 \setupcolors[state=start] \setuptyping[option=color]
 7 
 8 \definelinenote[extralinenote][rule=off,frame=on,framecolor=darkgreen]
 9   \setuplinenote [linenote] [rule=off,frame=on,framecolor=darkred,n=2]
10 
11 \showframe
12 
13 \title{Bidi}
14 
15 \subject{Issues:}
16 
17 \startitemize
18 \item Line-numeral ranges need to be configurable: 1--4 and 4--1. It 
should
19 not be harwired, since eg, Persian, may prefer to keep an LR-style range.

to be read again 
   \relax 
\dorecurse #1-\ifcase #1\relax 
\expandafter \gobbletwoarguments \or \expand...
inserted text ...c!levels }\dorecurse \p_levels 
  {\strc_define_commands_not...
\define_notation ...\fi \the \everydefinenotation 
  \let \currentnotation \sav...
inserted text ...noteparent ][\c!type =\v!note ]
  \fi \ctxcommand {definenot...
\define_note ...te }\fi \fi \the \everydefinenote 
  \let \currentnote \saved_d...
...
l.9 \setuplinenote
   [linenote] [rule=off,frame=on,framecolor=darkred,n=2]
? X


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


[NTG-context] Suppressing Page Numbers

2012-10-23 Thread Malte Stien
Hi,

Thank you again for all the great help, I have received here in recent weeks; 
it is much appreciated.

I have page numbering setup in my layout.tex environment file, which I use for 
all of our documents.

% Show the page number in the middle of the footer
\setuppagenumbering[
alternative=singlesided,
location={header, margin},
style=bold,
]

For a particular document, though, I don't want page numbers. Is there a way of 
locally suppressing the page numbers while still importing (via environment) 
the layout.tex file? I guess, what I am asking is, is there a way to override 
the setuppagenumbering setup locally?

A workaround would be to have a second layout.tex file, just for this document, 
but I much prefer not to.

Regards,
Malte.

___
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] Suppressing Page Numbers

2012-10-23 Thread Marco Patzer
2012-10-23 Malte Stien:

Hi Malte

 For a particular document, though, I don't want page numbers. Is
 there a way of locally suppressing the page numbers while still
 importing (via environment) the layout.tex file? I guess, what I
 am asking is, is there a way to override the setuppagenumbering
 setup locally?

\setuppagenumbering
  [state=stop]


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
___


[NTG-context] \copypages[][n=...] not working

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I've just updated Ctx:


ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.23  int: english/english


- it seems \copypages ignores the 'n' specification:


\starttext
  \copypages[t2.pdf][n=1]
\stoptext


- both t2.pdf pages are inserted.

Any command option changed? Fix needed?

Best regards,

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

t.mkiv
Description: Binary data


t.pdf
Description: Adobe PDF document


t2.pdf
Description: Adobe PDF document
___
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] using two columns on a poster (\setlayerframed)

2012-10-23 Thread Aditya Mahajan

Perhaps, \startsimplecolumns

Aditya

On Tue, 23 Oct 2012, Mojca Miklavec wrote:


Hello,

this is probably the most trivial question, but I'm still confused:
how can I use two columns inside \setlayerframed?

\startbuffer[abstract]
\startcolumns[two] % doesn't help
\input tufte

\input tufte
\stopcolumns
\stopbuffer

\definelayer[paper][width=\paperwidth,height=\paperheight]
\setupbackgrounds[page][background=paper]

\setlayerframed[paper]
 [preset=lefttop,hoffset=.05\paperwidth,voffset=5cm]
 [width=0.9\paperwidth,align=normal,offset=5mm]
 {\getbuffer[abstract]}

I would be grateful for any hints,
   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  : 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
___


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

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

my trick with LUAINPUTS system variable stopped working after the today's Ctx 
update.

So I'm trying again to solve the problem that


\startluacode
  require LPr-U
\stopluacode


doesn't load the file at d:/Lukas/Lua/LPr-U.lua.

On Mon, 15 Oct 2012 20:29:53 +0200, Hans Hagen pra...@wxs.nl wrote:


On 8-10-2012 15:57, Procházka Lukáš Ing. - Pontex s. r. o. wrote:


The intention is Ctx to find and load its original texmfcnf.lua and
then to load my texmfcnf.lua which would modify only some elements
(namely: the LUAINPUTS member).


texmf-local\web2c


I'd like to keep factory texmfcnf.lua settings as much as possible.


Hans


Following Hans' advice, I created d:/texmf-local/web2c/contextcnf.lua with 
the following content:


return
  { LUAINPUTS = d:/Lukas/Lua/,
  }


but I'm still getting error with require.

What other steps do I have to do to make it work?

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

contextcnf.lua
Description: Binary data


t.mkiv
Description: Binary data
___
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] Lua in Ctx: require() fails?

2012-10-23 Thread Hans Hagen

On 23-10-2012 16:14, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

my trick with LUAINPUTS system variable stopped working after the
today's Ctx update.


afaik nothing changed; best run with \enabletrackers[resolvers.libraries]

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] using two columns on a poster (\setlayerframed)

2012-10-23 Thread Mojca Miklavec
On Tue, Oct 23, 2012 at 4:05 PM, Aditya Mahajan wrote:
 Perhaps, \startsimplecolumns

Ouch. It seems like I'm asking the same question over and over again,
and always get the same answer - to simplify things ;) This works in
MKIV, but I have some problems with math in MKIV. In MKII this fails
with

! Incomplete \iffalse; all text was ignored after line 49.
inserted text
\fi
* poster.tex

?

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


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

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Tue, 23 Oct 2012 16:13:31 +0200, Hans Hagen pra...@wxs.nl wrote:


On 23-10-2012 16:14, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

my trick with LUAINPUTS system variable stopped working after the
today's Ctx update.


afaik nothing changed; best run with \enabletrackers[resolvers.libraries]

Hans


I attached the log (and all files).

Here's the output (trying to require Test.lua now, which is in 
d:\Lukas\Lua\Test.lua):


C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Txt.mkiv

C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Txset 
PATH=c:\ConTeXt\tex\texmf-mswin\bin;C:\Program Files\Windows Resource 
Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\Common Files\Autodesk 
Shared\;C:\PROGRA~1\COMMON~1\AUTODE~1\GIS\IMPORT~1\1.0;c:\Program Files\Microsoft 
SQL Server\100\DTS\Binn\;C:\Program Files\Lua\5.1;C:\Program 
Files\Lua\5.1\clibs;C:\Lukas\..\Programs.Con\Ponton;C:\Program 
Files\Pandoc\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Tes
seract-OCR;C:\Lukas/Bat;C:\Lukas/../Programs.Con;;C:\PROGRA~1\COMMON~1\AUTODE~1

C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Txset LUAINPUTS=;d:/Lukas/Lua/?.lua

mtx-context | run 1: luatex --fmt=c:/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en 
--interaction=nonstopmode --jobname=t 
--lua=c:/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en.lui --no-parse-first-line 
--c:FILE=t.mkiv --c:currentrun=1 --c:fulljobname=C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv --c:halt-on-error 
--c:input=C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv --c:kindofrun=1
 --c:mode=t --c:nonstopmode cont-yes.mkiv
This is LuaTeX, Version beta-0.70.2-2012101522 (TeX Live 2012/W32TeX)
 \write18 enabled.
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.23  int: english/english

system   cont-new.mkiv loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   files  jobname: t, input: 
C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv, result: t
fontslatin modern fonts are not preloaded
languageslanguage en is active
(C:/Lukas/Jobs/HubI-ISK.DSP/SO_210/Statics.Tx/t.mkiv
resolverslibraries  ! locating Test as Test.lua using formats 
texlua
resolverslibraries  ! checking for Test.lua' using format tex
resolverslibraries  ! checking for Test.lua' using format lua
resolverslibraries  ! locating Test as Test.dll using formats 
lib
resolverslibraries  ! checking for Test.dll' using format lib
resolverslibraries  ! locating Test as Test.lua on lua paths
resolverslibraries  ! checking for Test.lua using lua path .
resolverslibraries  ! checking for Test.lua using lua path 
C:/Documents and Settings/LPR/texmf/tex/context/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-project/tex/context/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-fonts/tex/context/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-local/tex/context/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-modules/tex/context/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-context/tex/context/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-mswin/tex/context/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf/tex/context/
resolverslibraries  ! checking for Test.lua using lua path 
C:/Documents and Settings/LPR/texmf/tex/plain/base/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-project/tex/plain/base/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-fonts/tex/plain/base/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-local/tex/plain/base/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-modules/tex/plain/base/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-context/tex/plain/base/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-mswin/tex/plain/base/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf/tex/plain/base/
resolverslibraries  ! checking for Test.lua using lua path 
C:/Documents and Settings/LPR/texmf/tex/generic/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-project/tex/generic/
resolverslibraries  ! checking for Test.lua using lua path 
c:/ConTeXt/tex/texmf-fonts/tex/generic/
resolverslibraries  

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

2012-10-23 Thread Hans Hagen

On 23-10-2012 16:37, Procházka Lukáš Ing. - Pontex s. r. o. wrote:


resolverslibraries  ! checking for Test.lua using lua path
d:/Lukas/Lua/?.lua


in the output log but d:\Lukas\Lua\Test.lua is not found here (?!).

So - ?


no clue ... maybe an error in test.lua


  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] using two columns on a poster (\setlayerframed)

2012-10-23 Thread Hans Hagen

On 23-10-2012 16:21, Mojca Miklavec wrote:

On Tue, Oct 23, 2012 at 4:05 PM, Aditya Mahajan wrote:

Perhaps, \startsimplecolumns


Ouch. It seems like I'm asking the same question over and over again,
and always get the same answer - to simplify things ;) This works in
MKIV, but I have some problems with math in MKIV. In MKII this fails
with

! Incomplete \iffalse; all text was ignored after line 49.
inserted text
 \fi
* poster.tex

?


so how does your code look

-
  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] Lua in Ctx: require() fails?

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Tue, 23 Oct 2012 16:53:01 +0200, Hans Hagen pra...@wxs.nl wrote:


On 23-10-2012 16:37, Procházka Lukáš Ing. - Pontex s. r. o. wrote:


resolverslibraries  ! checking for Test.lua using lua path
d:/Lukas/Lua/?.lua


in the output log but d:\Lukas\Lua\Test.lua is not found here (?!).

So - ?


no clue ... maybe an error in test.lua


... Have you seen the content of Test.lua? It just prints some text...

When I downgraded Ctx to the previous installed version, it works...

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
___


Re: [NTG-context] TABLE: header with a thick bottom line

2012-10-23 Thread Rogers, Michael K
One issue is that the overlay overlaps the text space (reduces whitespace or 
potentially overlaps letters).  One could use a blank row with a black 
background, but a row seems to have a minimum height of about 2mm.  I 
discovered the boffset key, which can be used with the overlay, but it's 
kludgy.

Perhaps there is a better way...

Michael


\startuseMPgraphic{MP:thickBtm}
 draw bottomboundary OverlayBox withpen pensquare scaled 
\frameddimension{bottomrulethickness};
 clip currentpicture to OverlayBox;
 setbounds currentpicture to OverlayBox;
\stopuseMPgraphic

\defineoverlay[OL:thickBtm][\useMPgraphic{MP:thickBtm}]

\starttext
 \bTABLE % Overlay method
   \setupTABLE[align=middle]
   % By eye, by trial: boffset = bottomrulethickness/2 - 0.2mm
   
\setupTABLE[header][background={OL:thickBtm},bottomrulethickness=3mm,boffset=1.3mm]
   \setupTABLE[row][4][background={OL:thickBtm},bottomrulethickness=1.5mm, 
boffset=.55mm]
   %
   \bTABLEhead\bTR\dorecurse{3}{\bTH#1\eTH}\eTR\eTABLEhead
   \bTABLEbody\dorecurse{6}{\bTR\dorecurse{3}{\bTD#1-##1\eTD}\eTR}\eTABLEbody
 \eTABLE
\stoptext




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
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] Lua in Ctx: require() fails?

2012-10-23 Thread Hans Hagen

On 23-10-2012 16:58, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

On Tue, 23 Oct 2012 16:53:01 +0200, Hans Hagen pra...@wxs.nl wrote:


On 23-10-2012 16:37, Procházka Lukáš Ing. - Pontex s. r. o. wrote:


resolverslibraries  ! checking for Test.lua using lua path
d:/Lukas/Lua/?.lua


in the output log but d:\Lukas\Lua\Test.lua is not found here (?!).

So - ?


no clue ... maybe an error in test.lua


 Have you seen the content of Test.lua? It just prints some text...

When I downgraded Ctx to the previous installed version, it works...


When I make

e:\tmp\whatever.lua (current path)
e:\tmp\whatever\something.lua

And run

\starttext

\enabletrackers[resolvers.libraries]

\startluacode
print(LUAINPUTS,os.getenv(LUAINPUTS))

require(whatever) ;
require(something) ;
\stopluacode

\stoptext

i get

LUAINPUTS   e:/tmp/whatever
resolverslibraries  ! locating whatever as whatever.lua 
using formats texlua
resolverslibraries  ! checking for whatever.lua' using 
format tex

resolverslibraries  ! lib whatever.lua located on whatever.lua
whatever
resolverslibraries  ! locating something as something.lua 
using formats texlua
resolverslibraries  ! checking for something.lua' using 
format tex
resolverslibraries  ! checking for something.lua' using 
format lua
resolverslibraries  ! lib something.lua located on 
e:/tmp/whatever/something.lua

something

so it must be something with your path spec

-
  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] Some odd behaviour I noticed in MkIV with respect to enumerations

2012-10-23 Thread Shane Peelar
Hello everyone,

I was going through a tutorial to learn how to set up theorem-like
environments in ConTeXt:
http://www.ntg.nl/maps/36/09.pdf

and I noticed a few strange behaviours.  I recognize that this tutorial was
written for MkII ConTeXt,
but after consulting the documentation in the latest ConTeXt manual and the
wiki, I have determined
that these features should still work.  I'm looking at the list
functionality of enumerations and descriptions.
In MkII, you can do the following:

\defineenumeration[blah][
...
list=listname,
listtext={Text goes here}]

and every time the enumeration is used, it'll be placed in the list you
specify.
The tutorial referenced above uses this to place a list of theorems with
proper naming and numbering,
as well as lemmas and other math things.  In MkIV, I noticed that this
functionality doesn't work, or at least not in the same way.  I was not
able to do:

\placelist[enumeration:listname]

for example.  I was able to do \placelist[blah], however.  After scouring
this mailing list and consulting the source code, I haven't been able to
find anything that would give me this functionality in MkIV.  Was this
intentional, or is there another way to get this functionality back?

The other strangeness I noticed was the separator option in
defineenumeration.
Normally one could do:
\defineenumeration[blah2][
...
separator=--]

and things would work as they should, however this doesn't seem to work in
MkIV.  The last piece of functionality I noticed was not being able to set
the number style in defineenumeration (which again works in MkII, tested
this morning), like so:

\defineenumeration[blah3][
numberstyle=bold]

The wiki shows that these options should all be there, and they appear to
be at least referenced in the source code, but I'm not familiar enough with
the codebase to really give a good judgment of that.  I noticed in one file
strc-des.mkiv it says in a comment lists and titles are experimental.
Could anyone please help me out with these features?

Thanks,
Shane Peelar
___
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] Some odd behaviour I noticed in MkIV with respect to enumerations

2012-10-23 Thread Wolfgang Schuster

Am 23.10.2012 um 17:58 schrieb Shane Peelar lookatyouhac...@gmail.com:

 Hello everyone,
 
 I was going through a tutorial to learn how to set up theorem-like 
 environments in ConTeXt:
 http://www.ntg.nl/maps/36/09.pdf
 
 and I noticed a few strange behaviours.  I recognize that this tutorial was 
 written for MkII ConTeXt,
 but after consulting the documentation in the latest ConTeXt manual and the 
 wiki, I have determined
 that these features should still work.  I'm looking at the list 
 functionality of enumerations and descriptions.
 In MkII, you can do the following:
 
 \defineenumeration[blah][
 ...
 list=listname,
 listtext={Text goes here}]
 
 and every time the enumeration is used, it'll be placed in the list you 
 specify.
 The tutorial referenced above uses this to place a list of theorems with 
 proper naming and numbering,
 as well as lemmas and other math things.  In MkIV, I noticed that this 
 functionality doesn't work, or at least not in the same way.  I was not able 
 to do:
 
 \placelist[enumeration:listname]
 
 for example.  I was able to do \placelist[blah], however.  After scouring 
 this mailing list and consulting the source code, I haven't been able to find 
 anything that would give me this functionality in MkIV.  Was this 
 intentional, or is there another way to get this functionality back?
 
 The other strangeness I noticed was the separator option in 
 defineenumeration.
 Normally one could do:
 \defineenumeration[blah2][
 ...
 separator=--]
 
 and things would work as they should, however this doesn't seem to work in 
 MkIV.  The last piece of functionality I noticed was not being able to set 
 the number style in defineenumeration (which again works in MkII, tested this 
 morning), like so:
 
 \defineenumeration[blah3][
 numberstyle=bold]
 
 The wiki shows that these options should all be there, and they appear to be 
 at least referenced in the source code, but I'm not familiar enough with the 
 codebase to really give a good judgment of that.  I noticed in one file 
 strc-des.mkiv it says in a comment lists and titles are experimental.  
 Could anyone please help me out with these features?

\defineseparatorset[dash][][--]

\defineenumeration
  [test]
  [text=Test,
   headstyle=bolditalic,
   numberseparatorset=dash]

\starttext

\placelist[test]

\starttest[title={Knuth}]
\input knuth
\stoptest

\startsubtest[title={Zapf}]
\input zapf
\stopsubtest

\stoptext

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] ntg-context Digest, Vol 100, Issue 63

2012-10-23 Thread Shane Peelar
 still work.  I'm looking at the list
 functionality of enumerations and descriptions.
 In MkII, you can do the following:

 \defineenumeration[blah][
 ...
 list=listname,
 listtext={Text goes here}]

 and every time the enumeration is used, it'll be placed in the list you
 specify.
 The tutorial referenced above uses this to place a list of theorems with
 proper naming and numbering,
 as well as lemmas and other math things.  In MkIV, I noticed that this
 functionality doesn't work, or at least not in the same way.  I was not
 able to do:

 \placelist[enumeration:listname]

 for example.  I was able to do \placelist[blah], however.  After scouring
 this mailing list and consulting the source code, I haven't been able to
 find anything that would give me this functionality in MkIV.  Was this
 intentional, or is there another way to get this functionality back?

 The other strangeness I noticed was the separator option in
 defineenumeration.
 Normally one could do:
 \defineenumeration[blah2][
 ...
 separator=--]

 and things would work as they should, however this doesn't seem to work in
 MkIV.  The last piece of functionality I noticed was not being able to set
 the number style in defineenumeration (which again works in MkII, tested
 this morning), like so:

 \defineenumeration[blah3][
 numberstyle=bold]

 The wiki shows that these options should all be there, and they appear to
 be at least referenced in the source code, but I'm not familiar enough with
 the codebase to really give a good judgment of that.  I noticed in one file
 strc-des.mkiv it says in a comment lists and titles are experimental.
 Could anyone please help me out with these features?

 Thanks,
 Shane Peelar
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://www.ntg.nl/pipermail/ntg-context/attachments/20121023/aa97590f/attachment-0001.html
 

 --

 Message: 7
 Date: Tue, 23 Oct 2012 18:21:09 +0200
 From: Wolfgang Schuster wolfgang.schus...@gmail.com
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Subject: Re: [NTG-context] Some odd behaviour I noticed in MkIV with
 respect to enumerations
 Message-ID: eaa672f0-522d-48f4-8dfb-e52f670ec...@gmail.com
 Content-Type: text/plain; charset=iso-8859-1


 Am 23.10.2012 um 17:58 schrieb Shane Peelar lookatyouhac...@gmail.com:

  Hello everyone,
 
  I was going through a tutorial to learn how to set up theorem-like
 environments in ConTeXt:
  http://www.ntg.nl/maps/36/09.pdf
 
  and I noticed a few strange behaviours.  I recognize that this tutorial
 was written for MkII ConTeXt,
  but after consulting the documentation in the latest ConTeXt manual and
 the wiki, I have determined
  that these features should still work.  I'm looking at the list
 functionality of enumerations and descriptions.
  In MkII, you can do the following:
 
  \defineenumeration[blah][
  ...
  list=listname,
  listtext={Text goes here}]
 
  and every time the enumeration is used, it'll be placed in the list you
 specify.
  The tutorial referenced above uses this to place a list of theorems with
 proper naming and numbering,
  as well as lemmas and other math things.  In MkIV, I noticed that this
 functionality doesn't work, or at least not in the same way.  I was not
 able to do:
 
  \placelist[enumeration:listname]
 
  for example.  I was able to do \placelist[blah], however.  After
 scouring this mailing list and consulting the source code, I haven't been
 able to find anything that would give me this functionality in MkIV.  Was
 this intentional, or is there another way to get this functionality back?
 
  The other strangeness I noticed was the separator option in
 defineenumeration.
  Normally one could do:
  \defineenumeration[blah2][
  ...
  separator=--]
 
  and things would work as they should, however this doesn't seem to work
 in MkIV.  The last piece of functionality I noticed was not being able to
 set the number style in defineenumeration (which again works in MkII,
 tested this morning), like so:
 
  \defineenumeration[blah3][
  numberstyle=bold]
 
  The wiki shows that these options should all be there, and they appear
 to be at least referenced in the source code, but I'm not familiar enough
 with the codebase to really give a good judgment of that.  I noticed in one
 file strc-des.mkiv it says in a comment lists and titles are
 experimental.  Could anyone please help me out with these features?

 \defineseparatorset[dash][][--]

 \defineenumeration
   [test]
   [text=Test,
headstyle=bolditalic,
numberseparatorset=dash]

 \starttext

 \placelist[test]

 \starttest[title={Knuth}]
 \input knuth
 \stoptest

 \startsubtest[title={Zapf}]
 \input zapf
 \stopsubtest

 \stoptext

 Wolfgang
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://www.ntg.nl/pipermail/ntg-context/attachments/20121023/acad7702/attachment.html

Re: [NTG-context] Some odd behaviour I noticed in MkIV with respect to enumerations

2012-10-23 Thread Wolfgang Schuster

Am 23.10.2012 um 19:36 schrieb Shane Peelar lookatyouhac...@gmail.com:

 Hi Wolfgang,
 
 Thanks for the quick and helpful reply.  Is there also a way to change just 
 the number colour and style in the example you provided?

\defineseparatorset [testseparator] [][–]

\defineprocessor[teststyle][style=bolditalic]
\defineconversionset[testconversion][][teststyle-number]

%\defineprocessor[one][style=italic,color=red]
%\defineprocessor[two][style=normal,color=blue]
%\defineconversionset[testconversion][one-number,two-number][teststyle-number]

\defineenumeration
  [test]
  [text=Test,
   headstyle=bold,
   numberconversionset=testconversion,
   numberseparatorset=testseparator]

\starttext

\placelist[test]

\starttest[title={Knuth}]
\input knuth
\stoptest

\startsubtest[title={Zapf}]
\input zapf
\stopsubtest

\stoptext

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] using two columns on a poster (\setlayerframed)

2012-10-23 Thread Mojca Miklavec
On Tue, Oct 23, 2012 at 4:54 PM, Hans Hagen wrote:
 On 23-10-2012 16:21, Mojca Miklavec wrote:

 On Tue, Oct 23, 2012 at 4:05 PM, Aditya Mahajan wrote:

 Perhaps, \startsimplecolumns


 Ouch. It seems like I'm asking the same question over and over again,
 and always get the same answer - to simplify things ;) This works in
 MKIV, but I have some problems with math in MKIV. In MKII this fails
 with

 ! Incomplete \iffalse; all text was ignored after line 49.
 inserted text
  \fi
 * poster.tex

 ?

 so how does your code look

Totally weird. I just realized that the percentage sign makes a
difference in whether it compiles or not (as soon as I remove the
percentage sign it starts working). I added the percentage sign since
that was the only way to prevent unwanted vertical space. (I'm not
sure what adds it.)

\definelayer[paper][width=\paperwidth,height=\paperheight]

\startbuffer[abstract]% - this '%' is problematic
\startsimplecolumns
\input tufte

\input tufte
\stopsimplecolumns
\stopbuffer

\setlayerframed[paper]
[voffset=1cm]
[width=0.9\paperwidth]
{\getbuffer[abstract]}

\starttext

abc

\stoptext

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


[NTG-context] interlinespace and whitespace different for footnotes

2012-10-23 Thread Pablo Rodríguez
Hi there,

I have the following settings for a document.

\setupinterlinespace[line=3.2ex]
\setupwhitespace[medium]

But I would like to have diferent values for interlinear space and
between paragraphs.

strc-not.mkvi shows that the after option from \setupnotation does the
work with the space between paragraphs.

But how can I set the interlinear space value for footnotes?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] Serious problems with kerning in setlayerframed

2012-10-23 Thread Hans Hagen

On 23-10-2012 21:01, Mojca Miklavec wrote:

Hello,

I have some serious issues with kerning in MKIV, so I'll probably have
to end up with MKII after all. I wonder what is going on in the
following example where framed completely distorts the kerning.

\setuppagenumbering
[location=]
\definepapersize
[poster]
[width=36cm,height=55cm]

\starttext

\setupbackgrounds[page][background=paper]

\definelayer[paper]
[width=\paperwidth,height=\paperheight]

\startbuffer[title]
\definedfont[Bold at 38pt] Kerning Screw Up
\stopbuffer

\setlayerframed[paper]
[preset=lefttop,hoffset=.05\paperwidth,voffset=1cm]
[width=0.9\paperwidth,align=middle,offset=4mm]
{\getbuffer[title]}

\definedfont[Bold at 38pt] No Kerning Screw Up
\stoptext

Mojca


When you change the font inside, the par happens after a group and as a 
consequence the spacing is the one outside the framed. So, in case you 
want to set a font (normally only needed with a larger one) this way:


\starttext

\setupbackgrounds[page][background=paper]

\definelayer[paper]
[width=\paperwidth,height=\paperheight]

\definefont[MyFont][Bold*default at 38pt]

\startbuffer[title]
Kerning Screw Up
\stopbuffer

\setlayerframed[paper]
[preset=lefttop,hoffset=.05\paperwidth,voffset=1cm]
[width=0.9\paperwidth,align=middle,foregroundstyle=\MyFont,strut=no]
{\getbuffer[title]}

\definedfont[Bold*default at 38pt] No Kerning Screw Up

\stoptext

Also, if you omit *default your inter character kerning will not show up 
either.


(lucky me framed is pretty stable and predictable)

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] interlinespace and whitespace different for footnotes

2012-10-23 Thread Wolfgang Schuster

Am 23.10.2012 um 20:54 schrieb Pablo Rodríguez oi...@web.de:

 Hi there,
 
 I have the following settings for a document.
 
 \setupinterlinespace[line=3.2ex]
 \setupwhitespace[medium]
 
 But I would like to have diferent values for interlinear space and
 between paragraphs.
 
 strc-not.mkvi shows that the after option from \setupnotation does the
 work with the space between paragraphs.
 
 But how can I set the interlinear space value for footnotes?

\startsetups[setups:footnote]

  \setupinterlinespace[line=2.8ex]

\stopsetups

\setupnote[footnote][setups=setups:footnote]

\starttext
…
\stoptext

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] using two columns on a poster (\setlayerframed)

2012-10-23 Thread luigi scarso
On Tue, Oct 23, 2012 at 8:42 PM, Mojca Miklavec 
mojca.miklavec.li...@gmail.com wrote:

 On Tue, Oct 23, 2012 at 4:54 PM, Hans Hagen wrote:
  On 23-10-2012 16:21, Mojca Miklavec wrote:
 
  On Tue, Oct 23, 2012 at 4:05 PM, Aditya Mahajan wrote:
 
  Perhaps, \startsimplecolumns
 
 
  Ouch. It seems like I'm asking the same question over and over again,
  and always get the same answer - to simplify things ;) This works in
  MKIV, but I have some problems with math in MKIV. In MKII this fails
  with
 
  ! Incomplete \iffalse; all text was ignored after line 49.
  inserted text
   \fi
  * poster.tex
 
  ?
 
  so how does your code look

 Totally weird. I just realized that the percentage sign makes a
 difference in whether it compiles or not (as soon as I remove the
 percentage sign it starts working). I added the percentage sign since
 that was the only way to prevent unwanted vertical space. (I'm not
 sure what adds it.)

 \definelayer[paper][width=\paperwidth,height=\paperheight]

 \startbuffer[abstract]% - this '%' is problematic
 \startsimplecolumns
 \input tufte

 \input tufte
 \stopsimplecolumns
 \stopbuffer

 \setlayerframed[paper]
 [voffset=1cm]
 [width=0.9\paperwidth]
 {\getbuffer[abstract]}

 \starttext

 abc

 \stoptext

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

 ___


It's ok here with and without the % sign

\definelayer[paper][width=\paperwidth,height=\paperheight]

\starttext

\startbuffer[abstract]%
\startsimplecolumns
\input tufte

\input tufte
\stopsimplecolumns
\stopbuffer

\setlayerframed[paper]
[voffset=1cm]
[width=0.9\paperwidth]
{\getbuffer[abstract]}
\setupbackgrounds[page][background=paper]




abc

\stoptext


-- 
luigi
___
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] interlinespace and whitespace different for footnotes

2012-10-23 Thread Pablo Rodríguez
On 23/10/12 21:19, Wolfgang Schuster wrote:
 Am 23.10.2012 um 20:54 schrieb Pablo Rodríguez oi...@web.de:
 [...]
 But I would like to have different values for interlinear space and
 between paragraphs.
 [...]
 But how can I set the interlinear space value for footnotes?
 
 \startsetups[setups:footnote]
 
   \setupinterlinespace[line=2.8ex]
 
 \stopsetups
 
 \setupnote[footnote][setups=setups:footnote]
 
 \starttext
 …
 \stoptext

Many thanks for your help, Wolfgang.

I think I wouldn't have discovered that in years.


Pablo
-- 
http://www.ousia.tk
___
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] ntg-context Digest, Vol 100, Issue 65

2012-10-23 Thread Shane Peelar
 Date: Tue, 23 Oct 2012 20:31:01 +0200
 From: Wolfgang Schuster wolfgang.schus...@gmail.com
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Subject: Re: [NTG-context] Some odd behaviour I noticed in MkIV with
 respect to enumerations
 Message-ID: 8f139542-5a13-4fdd-b916-c4ed1065b...@gmail.com
 Content-Type: text/plain; charset=windows-1252


 Am 23.10.2012 um 19:36 schrieb Shane Peelar lookatyouhac...@gmail.com:

  Hi Wolfgang,
 
  Thanks for the quick and helpful reply.  Is there also a way to change
 just the number colour and style in the example you provided?

 \defineseparatorset [testseparator] [][?]

 \defineprocessor[teststyle][style=bolditalic]
 \defineconversionset[testconversion][][teststyle-number]

 %\defineprocessor[one][style=italic,color=red]
 %\defineprocessor[two][style=normal,color=blue]

 %\defineconversionset[testconversion][one-number,two-number][teststyle-number]

 \defineenumeration
   [test]
   [text=Test,
headstyle=bold,
numberconversionset=testconversion,
numberseparatorset=testseparator]

 \starttext

 \placelist[test]

 \starttest[title={Knuth}]
 \input knuth
 \stoptest

 \startsubtest[title={Zapf}]
 \input zapf
 \stopsubtest

 \stoptext

 Wolfgang


Thanks!  This worked out perfectly.
___
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] math: \text does not scale properly

2012-10-23 Thread Aditya Mahajan

On Sun, 21 Oct 2012, Hans Hagen wrote:


On 21-10-2012 04:35, Aditya Mahajan wrote:

On Sat, 20 Oct 2012, Aditya Mahajan wrote:


On Thu, 4 Oct 2012, Andreas Mang wrote:


Hi there,

As Aditya mentioned in a former posting (*) that \text{ ... }
should scale properly when used as super- or subscript, I have
prepared a minimal example to demonstrate that it doesn't. In my
document I have switched from \text{ } to \normal, which works.


There is another bug with \text.



How about:
[]



I don't understand the fix, but it gives the correct output.

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