[NTG-context] movie in pdf example in wiki

2009-04-14 Thread Bill Long


I try the example to embedded video in wiki, but it doesn't work. 


\starttext
\externalfigure[./file_server.mov][label=demo,width=4cm,height=4cm,preview=yes]
\stoptext

when i execute texexec test.tex 

it said 

TeXUtil | running texmfstart rlxtools --identify 
/home/weilai/pages/wiki/private/file_server.mov
identify: no decode delegate for this image format 
`/home/weilai/pages/wiki/private/file_server.mov'.
RlxTools | unable to identify /home/weilai/pages/wiki/private/file_server.mov
TeXExec | runtime: 2.602059

any idea?

___
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] How to update Context on Windows (with Texlive 2008)

2009-04-14 Thread abhseth2107


I have TeXLive 2008 installed on Windows (on a path with no spaces). I 
wanted to update ConTexT, so ran the following commands (using cygwin), 
following instructions from wiki


rsync -av rsync://contextgarden.net/minimals/current/context/current/ 
/cygdrive/c/texlive/2008/texmf-dist/


which ran  fine.

However the next command

rsync -av 
rsync://contextgarden.net/minimals/current/bin/luatex/win32/bin/luatex 
/cygdrive/c/texlive/2008/bin/win32/


fails, producing

rsync: change_dir /current/bin/luatex/win32 (in minimals) failed: No 
such file or directory


So the question is, how do I update the ConTexT and luatex for windows 
(TeXLive installation)?


Note that, luatools --generate generates no cnf files found message.

Regards
Abhishek 


___
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] movie in pdf example in wiki

2009-04-14 Thread Bill Long
Sorry, I should read the mail list first, now it work.

On Tue, Apr 14, 2009 at 02:29:56PM +0800, Bill Long wrote:
 
 
 I try the example to embedded video in wiki, but it doesn't work. 
 
 
 \starttext
 \externalfigure[./file_server.mov][label=demo,width=4cm,height=4cm,preview=yes]
 \stoptext
 
 when i execute texexec test.tex 
 
 it said 
 
 TeXUtil | running texmfstart rlxtools --identify 
 /home/weilai/pages/wiki/private/file_server.mov
 identify: no decode delegate for this image format 
 `/home/weilai/pages/wiki/private/file_server.mov'.
 RlxTools | unable to identify /home/weilai/pages/wiki/private/file_server.mov
 TeXExec | runtime: 2.602059
 
 any idea?
 
 ___
 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
 ___

-- 
   卷318_13 【和黄门武相公诏还题石门洞】赵宗儒 

益部恩辉降,同荣汉相还。韶芳满归路,轩骑出重关。 
望日朝天阙,披云过蜀山。更题风雅韵,永绝翠岩间。



___
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] colored backgrounds in displayed math

2009-04-14 Thread luigi scarso
On Mon, Apr 13, 2009 at 8:53 PM, Sanjoy Mahajan san...@mit.edu wrote:

 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:

  Hi Sanjoy, welcome back

 Thanks!  It's absurdly enjoyable but exhausting raising a small child
 (22 months old)...and we have only one so I don't know how people with
 two or more children manage even to tie their shoes.

Ah, it's easy for me : all you need is...
...uhm, I don't remember what...


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


Re: [NTG-context] How to update Context on Windows (with Texlive 2008)

2009-04-14 Thread Mojca Miklavec
On Mon, Apr 13, 2009 at 09:38,  abhseth2...@live.in wrote:

 I have TeXLive 2008 installed on Windows (on a path with no spaces). I
 wanted to update ConTexT, so ran the following commands (using cygwin),
 following instructions from wiki

 rsync -av rsync://contextgarden.net/minimals/current/context/current/
 /cygdrive/c/texlive/2008/texmf-dist/

 which ran  fine.

 However the next command

 rsync -av
 rsync://contextgarden.net/minimals/current/bin/luatex/win32/bin/luatex
 /cygdrive/c/texlive/2008/bin/win32/

 fails, producing

 rsync: change_dir /current/bin/luatex/win32 (in minimals) failed: No such
 file or directory

Sorry, for windows it's a bit different. It should have been
rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/mswin/bin/
/cygdrive/c/texlive/2008/bin/win32/

 So the question is, how do I update the ConTexT and luatex for windows
 (TeXLive installation)?

See above.

But (see below) I fear that you also need to update mtxtools and
luatools manually. For the moment maybe you could try to replace the
two *.lua files in bin with the one found inside
texmf-dist/scripts/context/lua/

(Though it might still be easier to fetch minimals; at least you'll
have two versions of ConTeXt installed - usually the only one you have
fails one day before the deadline anyway*** :) :) :) :)

 Note that, luatools --generate generates no cnf files found message.

Hmmm ... I fear that I forgot to fix something on Windows (some
symbolic links) when I was fixing a few issues for unix. As far as I
can recall, somebody should test the change before commiting it, but
then we forgot the issue.

But I'm not sure if I'm talking about the same thing. Maybe it's
something different on windows. Does anyone else use TeX Live on
windows?


Mojca

*** Not to be taken too serously, but it might happen that when you're
working on something and find a bug, the bug usually gets fixed with
please update ConTeXt remark. You need to update in order to get the
bug resolved, but it may happen that a few other problems pop up in
the meantime. So it's always better to have at least two versions of
ConTeXt installed. One to work with and one just in case.
___
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] [***SPAM***] Re: Table placement with forced width

2009-04-14 Thread Bill Long
I think the natural table works fine with your requirements.

http://www.pragma-ade.com/general/manuals/enattab.pdf

On Mon, Apr 13, 2009 at 01:31:09PM -0600, Design Department wrote:
 Hi all,
 
 I need a table that is 2/3 \pagewidth and placed against the right page 
 margin.
 
 \SetTableToWidth{6in}
 \setuptables[split=repeat]
 \starttablehead
 \NC Description \NC Quantity \NC Units \NC Rate \NC Amount \NC \NR
 \HL
 \stoptablehead
 \starttabletail
 \NC \SL This ticket is not an invoice. Pay on receipt of invoice.
 \NC\FOUR \NC\NR
 \stoptabletail
 
 \placetable[right,5*line,split=repeat][tab:costs]{}
 \starttables[|l|c|c|c|r|]
 \NC 1 man unit \NC 4 \NC hr \NC 125.00 \NC 500.00 \NC \NR
 \NC Kilometre charges \NC 100 \NC km \NC .85 \NC 85.00 \NC \NR
 \NC Field Kit \NC 1 \NC day \NC 50.0 \NC 50.00 \NC \NR
 \HL
 \NC \bold{Total:} (all work performed on this ticket, before taxes)
 \NC\THREE \NC \$ 635.00 \NC \NR
 \stoptables
 
 The table flows into, and off the right margin area. What am I doing wrong?
 Also, \SetTableToWidth{.67\pagewidth} produces an error. Is there a
 way to specify a fraction of \pagewidth?
 
 Even though this example is short, the table may run to multiple pages
 and I need both headers and footers to repeat.
 I also need to eventually shade alternate row backgrounds.
 Is there a better table macro choice?
 

-- 
   卷137_28 【送丘健至州敕放作时任下邽县】储光羲 

太史登观台,天街耀旄头。大君忽霆震,诏爵冠军侯。 
南必梁孙源,西将圉昆丘。河陇征击卒,虎符到我州。 
朝集咸林城,师言乱啁啾。杀气变木德,凛凛如高秋。 
元戎启神皇,庙堂发嘉谋。息兵业稼穑,归马复休牛。 
和风开阴雪,大耀中天流。欢声殷河岳,涵荡非烟浮。 
邦牧新下车,德礼彼甿讴。乾坤日交泰,吾亦遂优游。



___
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] how to use attachment file as a script argument

2009-04-14 Thread Bill Long
based on the example of use mplayer play the movie, I write down
sthing like

\defineprogram[sample.data][sample.data.sh]
\goto{\externalfigure[sample.data][width=0.48\textwidth]}[program(sample.data{})]

and the content of  sample.data.sh  is

#!/bin/bash
 FILE=$(basename $0); gnome-terminal -e cat ${FILE/.sh/}

it does work, but I wanna know if there are better way to
make this. as this way has some obvious problem:
  
 1. if I send this pdf file to other guy, the script won't  execute, as it
 can't find out the sample.data file. same thing will happen if I move
 my sample.data to other directory.

 2. it's take too much effort if I have lots of file to analysis, I
 have to write lots of file like sample.data1.sh,
 sample.data2.sh... with same content, soft link maybe a solution, but
 I hope there are more easy solution.

___
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] context mkiv nomenclature problem (bug)

2009-04-14 Thread Thomas Prochaska
Am Samstag, 11. April 2009 08:28:33 schrieb Wolfgang Schuster:
 Am 10.04.2009 um 10:28 schrieb Thomas Prochaska:
  Hi!
 
  this simple example works with texexec but not with context.
 
  %-
  \definesynonyms[nomenclature][nomenclatures][\infull]
  \setupsynonyms[nomenclature][criterium=all,width=broad]
 
  \nomenclature[a]{abcdefg}{alphabet}
  \nomenclature[b]{b}{letter b}
 
  \starttext
  xxx
  \completelistofnomenclatures
  yyy
  \stoptext
  %-
 
  is this bug known? i couldn't find anything on the web or in the
  mailinglist
  archive.
 
  thanks!

 You need the latest beta because Hans rewrote registers, section,
 synonyms etc.
 in mkiv and it was broken for a while in the last betas but is now back.

 Wolfgang

hm, with the latest context minimal i get this:

structure  : chapter @ level 2 : (0.4) . - \headtext {abbreviations}
[5]
! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-syn.lua:108: 
attempt to index local 'rd' (a nil value)
stack traceback:
...text/tex/texmf-context/tex/context/base/strc-syn.lua:108: in 
function 'prepare'
...text/tex/texmf-context/tex/context/base/strc-syn.lua:170: in 
function 'analysed'
...text/tex/texmf-context/tex/context/base/strc-syn.lua:179: in 
function 'process'
main ctx instance:1: in main chunk.
\doplacelistofsynonyms ...meter \c!criterium  })}
  \stoppacked \endgroup
\docompletelistofsynonyms ...stofsynonyms {#1}{#2}
  \page [\v!yes ]
l.51 \completelistofabbreviations
  % abkürzungsverzeichnis
?

is this work in progress or should this work by now?

regards
thomas prochaska
___
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] context mkiv nomenclature problem (bug)

2009-04-14 Thread Thomas Prochaska
Am Dienstag, 14. April 2009 13:47:44 schrieb Wolfgang Schuster:
 Am 14.04.2009 um 13:28 schrieb Thomas Prochaska:
  hm, with the latest context minimal i get this:
 
  structure  : chapter @ level 2 : (0.4) . - \headtext
  {abbreviations}
  [5]
  ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-
  syn.lua:108:
  attempt to index local 'rd' (a nil value)
  stack traceback:
 ...text/tex/texmf-context/tex/context/base/strc-syn.lua:108: in
  function 'prepare'
 ...text/tex/texmf-context/tex/context/base/strc-syn.lua:170: in
  function 'analysed'
 ...text/tex/texmf-context/tex/context/base/strc-syn.lua:179: in
  function 'process'
 main ctx instance:1: in main chunk.
  \doplacelistofsynonyms ...meter \c!criterium  })}
   \stoppacked \endgroup
  \docompletelistofsynonyms ...stofsynonyms {#1}{#2}
   \page [\v!yes ]
  l.51 \completelistofabbreviations
   % abkürzungsverzeichnis
  ?
 
  is this work in progress or should this work by now?

 Works for me and I can't reproduce your error.

 MTXrun | current version: 2009.04.13 15:00
 This is LuaTeX, Version snapshot-0.38.0-2009041013, build unknown

 Wolfgang

strange,

i get this error mentioned in my last post with the same version you use.

MTXrun | run 1: luatex --fmt=/home/fin/tmp/context/tex/texmf-cache/luatex-
cache/context/33a30fde7a9f22efaab522cd44afb585/formats/cont-en --
lua=/home/fin/tmp/context/tex/texmf-cache/luatex-
cache/context/33a30fde7a9f22efaab522cd44afb585/formats/cont-en.lui 
./dipla.tex   

This is LuaTeX, Version snapshot-0.38.0-2009041013 (Web2C 7.5.7)
 
(dipla.tex  
 

ConTeXt  ver: 2009.04.13 15:00 MKIV  fmt: 2009.4.14  int: english/english

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


Re: [NTG-context] context mkiv nomenclature problem (bug)

2009-04-14 Thread Hans Hagen

Thomas Prochaska wrote:

Am Samstag, 11. April 2009 08:28:33 schrieb Wolfgang Schuster:

Am 10.04.2009 um 10:28 schrieb Thomas Prochaska:

Hi!

this simple example works with texexec but not with context.

%-
\definesynonyms[nomenclature][nomenclatures][\infull]
\setupsynonyms[nomenclature][criterium=all,width=broad]

\nomenclature[a]{abcdefg}{alphabet}
\nomenclature[b]{b}{letter b}

\starttext
xxx
\completelistofnomenclatures
yyy
\stoptext
%-

is this bug known? i couldn't find anything on the web or in the
mailinglist
archive.

thanks!

You need the latest beta because Hans rewrote registers, section,
synonyms etc.
in mkiv and it was broken for a while in the last betas but is now back.

Wolfgang


hm, with the latest context minimal i get this:


maybe erase the tuc file helps

-
  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] new structure code

2009-04-14 Thread Hans Hagen

Wolfgang Schuster wrote:


3. \\ generates a backslash but was a space before

\starttext
text\\text
\stoptext


actually, \\ depends on the context; in the main text stream \\ being \ 
makes more sense(as \$ \# etc)


-
  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] context mkiv nomenclature problem (bug)

2009-04-14 Thread Thomas Prochaska
Am Dienstag, 14. April 2009 14:07:14 schrieb Hans Hagen:
 Thomas Prochaska wrote:
  Am Samstag, 11. April 2009 08:28:33 schrieb Wolfgang Schuster:
  Am 10.04.2009 um 10:28 schrieb Thomas Prochaska:
  Hi!
 
  this simple example works with texexec but not with context.
 
  %-
  \definesynonyms[nomenclature][nomenclatures][\infull]
  \setupsynonyms[nomenclature][criterium=all,width=broad]
 
  \nomenclature[a]{abcdefg}{alphabet}
  \nomenclature[b]{b}{letter b}
 
  \starttext
  xxx
  \completelistofnomenclatures
  yyy
  \stoptext
  %-
 
  is this bug known? i couldn't find anything on the web or in the
  mailinglist
  archive.
 
  thanks!
 
  You need the latest beta because Hans rewrote registers, section,
  synonyms etc.
  in mkiv and it was broken for a while in the last betas but is now back.
 
  Wolfgang
 
  hm, with the latest context minimal i get this:

 maybe erase the tuc file helps

 -
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

 -

ok, i deleted all files except my .tex .bib files.
now this error occurs.

structure  : section @ level 3 : (0.1.1) .. - Biometrische Systeme
! Undefined control sequence.
\preparebibrefprefix ...lltoclevels \alltoclevels
  \let \savedcurrentlevel 
\c...
\expandrefs #1-\bgroup \preparebibrefprefix
 \preparebibreflist {#1}\global ...
\next1 #1,-\expandrefs {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
  ]\relax \global \advance 
\...
\bibnumref ...y \processcommalist [#1]\expandrefs
  \sortcommacommand 
[\theref...
\docite ...alue {bib\@@currentalternative ref}[#2]
  \else \processcommalist 
[#...
l.46 ...System\cite[extras={, vgl. S. 3-11}][hbio]
   setzt sich generell
?

ups, sorry, the last posts and this error occurs on my real document and not 
on the simple testcase provided in the first post.
the simple nomenclature test now works, thanks!!

but this new error remains on my master thesis.

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


Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread luigi scarso
On Fri, Apr 10, 2009 at 12:56 PM, Hans Hagen pra...@wxs.nl wrote:

 luigi scarso wrote:

 \def\@@FOO{FOO}
 \starttext
 \@@FOO
 \stoptext

 works in mkiv minimals ,
 but not in an old mkii context of mine
 (inaccessible control sequence)  .

 I suppose that it's ok .


 no, it means that we have a missing \protect .. upto you to figure out
 where so that we can fix it



This compiles ok in luatex

test-inaccesible-luatex.tex
\immediate\write16{===catcode of @ is:\the\numexpr\catco...@\relax}
\def\@@FOO{FOO}
\@@FOO
\bye


test-inaccesible-luatex.log:
This is LuaTeX, Version snapshot-0.38.0-2009041013 (Web2C 7.5.7)
(format=plain 2009.4.14)  14 APR 2009 14:43
 \write18 enabled.
**test-inaccesible-luatex.tex
(test-inaccesible-luatex.tex
===catcode of @ is:12
[1] )
Output written on test-inaccesible-luatex.dvi (1 page, 216 bytes).




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


Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread Wolfgang Schuster


Am 14.04.2009 um 14:47 schrieb luigi scarso:


On Fri, Apr 10, 2009 at 12:56 PM, Hans Hagen pra...@wxs.nl wrote:
luigi scarso wrote:
\def\@@FOO{FOO}
\starttext
\@@FOO
\stoptext

works in mkiv minimals ,
but not in an old mkii context of mine
(inaccessible control sequence)  .

I suppose that it's ok .

no, it means that we have a missing \protect .. upto you to figure  
out where so that we can fix it



This compiles ok in luatex

test-inaccesible-luatex.tex
\immediate\write16{===catcode of @ is:\the\numexpr\catco...@\relax}
\def\@@FOO{FOO}
\@@FOO
\bye


Can you also explain why it did work and also why this is a very bad  
idea!


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] inaccessible control sequence

2009-04-14 Thread luigi scarso
On Tue, Apr 14, 2009 at 3:53 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 14.04.2009 um 14:47 schrieb luigi scarso:

  On Fri, Apr 10, 2009 at 12:56 PM, Hans Hagen pra...@wxs.nl wrote:
 luigi scarso wrote:
 \def\@@FOO{FOO}
 \starttext
 \@@FOO
 \stoptext

 works in mkiv minimals ,
 but not in an old mkii context of mine
 (inaccessible control sequence)  .

 I suppose that it's ok .

 no, it means that we have a missing \protect .. upto you to figure out
 where so that we can fix it

 I have checked another old release .

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=cont-en
2006.3.2)  14 APR 2009 15:28
entering extended mode

and it's also ok .





 This compiles ok in luatex

 test-inaccesible-luatex.tex
 \immediate\write16{===catcode of @ is:\the\numexpr\catco...@\relax}
 \def\@@FOO{FOO}
 \@@FOO
 \bye






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


[NTG-context] button alignment question

2009-04-14 Thread Alan Stone
Hi,

How do you keep the footer buttons between the footer's top and bottom ?

\showframe

\def\myHeaderButton{\interactionbuttons[width=2cm,height=\headerheight][OK]}
\def\myFooterButton{\interactionbuttons[width=2cm,height=\footerheight][OK]}

\setupinteraction[state=start]

\setupheadertexts[text][aaa][aaa]
\setupheadertexts[margin][\myHeaderButton][\myHeaderButton]

\setupfootertexts[text][ppp][ppp]
\setupfootertexts[margin][\myFooterButton][\myFooterButton]

\starttext
test
\stoptext

Thanks,
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] inaccessible control sequence

2009-04-14 Thread Wolfgang Schuster


Am 10.04.2009 um 12:56 schrieb Hans Hagen:


luigi scarso wrote:

\def\@@FOO{FOO}
\starttext
\@@FOO
\stoptext
works in mkiv minimals ,
but not in an old mkii context of mine
(inaccessible control sequence)  .
I suppose that it's ok .


no, it means that we have a missing \protect .. upto you to figure  
out where so that we can fix it


The culprit is type-siz.tex

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] inaccessible control sequence

2009-04-14 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 10.04.2009 um 12:56 schrieb Hans Hagen:


luigi scarso wrote:

\def\@@FOO{FOO}
\starttext
\@@FOO
\stoptext
works in mkiv minimals ,
but not in an old mkii context of mine
(inaccessible control sequence)  .
I suppose that it's ok .


no, it means that we have a missing \protect .. upto you to figure out 
where so that we can fix it


The culprit is type-siz.tex


ok, thanks for nailing it down, will be fixed

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
___


Re: [NTG-context] inaccessible control sequence

2009-04-14 Thread luigi scarso
On Tue, Apr 14, 2009 at 4:31 PM, Hans Hagen pra...@wxs.nl wrote:

 Wolfgang Schuster wrote:


 Am 10.04.2009 um 12:56 schrieb Hans Hagen:

  luigi scarso wrote:

 \def\@@FOO{FOO}
 \starttext
 \@@FOO
 \stoptext
 works in mkiv minimals ,
 but not in an old mkii context of mine
 (inaccessible control sequence)  .
 I suppose that it's ok .


 no, it means that we have a missing \protect .. upto you to figure out
 where so that we can fix it


 The culprit is type-siz.tex


 ok, thanks for nailing it down, will be fixed

If I change the last \unprotect to  \protect
in type-siz.tex
example compile again without error .


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


Re: [NTG-context] [***SPAM***] Re: Table placement with forced width

2009-04-14 Thread Design Department
On Tue, Apr 14, 2009 at 2:40 AM, Bill Long longwei...@sohu.com wrote:
 I think the natural table works fine with your requirements.

Repeating table footers? I understood this was not possible with natural tables.

-- 
david
___
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] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Matija Šuklje
Hullo,

it's been a while since I used ConTeXt (I simply didn't have to write any 
documents), but now that I upgraded to TeXLive 2008 I noticed that ConTeXt is 
giving me gripes.

'context test.tex' produces:
MtxRun | error unable to identify cnf file
MtxRun | error unable to identify cnf file
MtxRun | no cnf files found (TEXMFCNF may not be set/known)
MtxRun | unknown script: context

'texexec test.tex' actually produces a PDF.

'luatex test.tex' starts asking questions:
This is LuaTeX, Version snapshot-0.30.3-2009041418 (Web2C 7.5.7)
(test.tex
! Undefined control sequence.
l.1 \starttext

?

...and later on produces a completely messed up PDF


'luatools --generate' produces:
LuaTools | error unable to identify cnf file
LuaTools | error unable to identify cnf file
LuaTools | no cnf files found (TEXMFCNF may not be set/known)
LuaTools |
LuaTools | runtime: 0.046 seconds


I'm sure there's a step I missed in the upgrade, but I have no idea what. I've 
already tried a few things from the Wiki, which I think resulted in 'texexec' 
actually working, but the rest is still foo.

Does anyone have any idea what I'm doing wrong?


Cheers,
Matija Šuklje
-- 
gsm: +386 41 849 552
e-mail: matija.suk...@rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suk...@gabbler.org
msn: matija.suk...@rutka.net
yahoo: matija_suklje
GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278


signature.asc
Description: This is a digitally signed message part.
___
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] Table placement with forced width

2009-04-14 Thread Wolfgang Schuster


Am 13.04.2009 um 21:31 schrieb Design Department:

The table flows into, and off the right margin area. What am I doing  
wrong?

Also, \SetTableToWidth{.67\pagewidth} produces an error. Is there a
way to specify a fraction of \pagewidth?


No, because ConTeXt has no dimension with the name \pagewidth, you couls
use \textwidth for the width of the textblock. Even then your setup is
useless because your table is wider than 2/3 of the textwidth (it is  
even

wider than the complete textblock).

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
___


[NTG-context] Table macro alternatives

2009-04-14 Thread Design Department
Is alignmentcharacter available in table macros other than natural tables?

I would prefer to use natural tables but absolutely require a footer
at the bottom of the table on every page.
The footer doesn't need to contain columns - it can be a box the width
of the table.

Any suggestions on achieving this using natural tables?

-- 
david
___
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] Table macro alternatives

2009-04-14 Thread Wolfgang Schuster


Am 14.04.2009 um 18:53 schrieb Design Department:

Is alignmentcharacter available in table macros other than natural  
tables?



http://wiki.contextgarden.net/Tables_Overview

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] Table macro alternatives

2009-04-14 Thread Design Department
 Is alignmentcharacter available in table macros other than natural tables?

 http://wiki.contextgarden.net/Tables_Overview
 Wolfgang

There is no mention of alignmentcharacter anywhere other than for
natural tables, but the wiki is hardly comprehensive.
That's why I'm asking here.

-- 
david
___
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] Table placement with forced width

2009-04-14 Thread Design Department
 No, because ConTeXt has no dimension with the name \pagewidth, you couls
 use \textwidth for the width of the textblock. Even then your setup is
 useless because your table is wider than 2/3 of the textwidth (it is even
 wider than the complete textblock).
Thks. I must have been lost in space - I intended to use \paperwidth.

-- 
david
___
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] Table macro alternatives

2009-04-14 Thread Wolfgang Schuster


Am 14.04.2009 um 19:17 schrieb Design Department:

Is alignmentcharacter available in table macros other than natural  
tables?


http://wiki.contextgarden.net/Tables_Overview
Wolfgang


There is no mention of alignmentcharacter anywhere other than for
natural tables, but the wiki is hardly comprehensive.


Did you read Adityas table article?

\starttable[|cm|n5.4 |]
\NC \REF[c]{Pi expression} \NC \REF[c]{Value}\NC\AR
\NC \pi\NC 3.1416\NC\AR
\NC \pi^{\pi}  \NC 36.46 \NC\AR
\NC (\pi^{\pi})^{\pi}  \NC 80,662.7  \NC\AR
\HL
\stoptable

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] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Hans Hagen

Matija Šuklje wrote:

Hullo,

it's been a while since I used ConTeXt (I simply didn't have to write any 
documents), but now that I upgraded to TeXLive 2008 I noticed that ConTeXt is 
giving me gripes.


'context test.tex' produces:
MtxRun | error unable to identify cnf file
MtxRun | error unable to identify cnf file
MtxRun | no cnf files found (TEXMFCNF may not be set/known)
MtxRun | unknown script: context

'texexec test.tex' actually produces a PDF.

'luatex test.tex' starts asking questions:
This is LuaTeX, Version snapshot-0.30.3-2009041418 (Web2C 7.5.7)
(test.tex
! Undefined control sequence.
l.1 \starttext

?

...and later on produces a completely messed up PDF


'luatools --generate' produces:
LuaTools | error unable to identify cnf file
LuaTools | error unable to identify cnf file
LuaTools | no cnf files found (TEXMFCNF may not be set/known)
LuaTools |
LuaTools | runtime: 0.046 seconds


I'm sure there's a step I missed in the upgrade, but I have no idea what. I've 
already tried a few things from the Wiki, which I think resulted in 'texexec' 
actually working, but the rest is still foo.


Does anyone have any idea what I'm doing wrong?


just use the version the context garden as it is more uptodate (and also 
provides the latest binaries)



-
  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] Table macro alternatives

2009-04-14 Thread Design Department
Found it. Thanks again.
I had read it some time ago, but it didn't fully register then - I
think I was hoping to use natural tables at the time.

-- 
david
___
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] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Matija Šuklje
Dne torek 14. aprila 2009 je Hans Hagen napisal(a):
 just use the version the context garden as it is more uptodate (and also
 provides the latest binaries)

I have nothing against TeXLive and I don't really want to mess with the 
bleeding edge. I just want it to work ;)


Cheers,
Matija
-- 
gsm: +386 41 849 552
e-mail: matija.suk...@rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suk...@gabbler.org
msn: matija.suk...@rutka.net
yahoo: matija_suklje
GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278


signature.asc
Description: This is a digitally signed message part.
___
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] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Hans Hagen

Matija Šuklje wrote:

Dne torek 14. aprila 2009 je Hans Hagen napisal(a):

just use the version the context garden as it is more uptodate (and also
provides the latest binaries)


I have nothing against TeXLive and I don't really want to mess with the 


neither have i -)


bleeding edge. I just want it to work ;)


it's just that tex live 2009 will have an update feature while 2008 hasn't

(you probably have to do a fresh tl 2008 install then)

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
___


Re: [NTG-context] new structure code

2009-04-14 Thread Hans Hagen

Wolfgang Schuster wrote:

Hi,

i found a few bugs in the new structure code for mkiv.


i fixed a few things

concerning prefixes and such, keep in mind that we do things a bit 
differently now, as in:


\definestructureprefixset   [mine][section-1,section-2]
\definestructureseparatorset[mine][:]

\setupuserpagenumber
  [way=bypart,
   prefix=yes,
   prefixset=mine,
   prefixseparatorset=mine]

\unprotect

\protect

\setuphead[part][placehead=yes]

\setupfootertexts[\completepagenumber/\prefixedpagenumber]

(we can predefine some meaningful sets)


-
  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] mkiv document size shrinks (nice)

2009-04-14 Thread Vyatcheslav Yatskovsky

Hello,

Files produced by the latest beta have smaller size then those compiled 
at the beginning of the year.


For example, typical lyrics documents shrinked from ~20Kb to ~14Kb each.

It's nice. I just wonder -- is it connected with font subsets embedding ?

Best,
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] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Wei-Wei Guo

Hi Matija,

You need to set TEXMFCNF, TEXMFCACHE, and OSFONTDIR in your system environment,
for example in /etc/env.d/98texlive.


Best wishes,
Wei-Wei


Matija Šuklje 写道:

Hullo,

it's been a while since I used ConTeXt (I simply didn't have to write any 
documents), but now that I upgraded to TeXLive 2008 I noticed that ConTeXt is 
giving me gripes.


'context test.tex' produces:
MtxRun | error unable to identify cnf file
MtxRun | error unable to identify cnf file
MtxRun | no cnf files found (TEXMFCNF may not be set/known)
MtxRun | unknown script: context

'texexec test.tex' actually produces a PDF.

'luatex test.tex' starts asking questions:
This is LuaTeX, Version snapshot-0.30.3-2009041418 (Web2C 7.5.7)
(test.tex
! Undefined control sequence.
l.1 \starttext

?

...and later on produces a completely messed up PDF


'luatools --generate' produces:
LuaTools | error unable to identify cnf file
LuaTools | error unable to identify cnf file
LuaTools | no cnf files found (TEXMFCNF may not be set/known)
LuaTools |
LuaTools | runtime: 0.046 seconds


I'm sure there's a step I missed in the upgrade, but I have no idea what. I've 
already tried a few things from the Wiki, which I think resulted in 'texexec' 
actually working, but the rest is still foo.


Does anyone have any idea what I'm doing wrong?


Cheers,
Matija Šuklje




___
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] problem with module pre-05 (fuzzy): Missing number

2009-04-14 Thread Héctor Palacios


Hi context users !

I want to test the presentations modules of context,
because are very nice.

I am testing module pre-05 (fuzzy),
i am using the code at the end of the archive:


%% code  example.tex --
\usemodule[pre-05]
\starttext

\TitlePage{Title Page\\pre-fuzzy}

\Topics{Some Nice Quotes}

\Topic{A Few}

\Subject{Knuth} \input knuth
\Subject{Tufte} \input tufte

\Topic{Some More}

\Subject{Zapf}   \input zapf
\Subject{Bryson} \input bryson

\stoptext

%% endcode -


But this code not run:

the command 
texexec example.tex   says:


%% 

! Missing number, treated as zero.
to be read again
   \endcsname
\@@amvbox ... -\pagebackgroundvoffset +\endcsname
  \c!topoffset \relax
\box \...
argument ...ght\c!left }\interactionmenu [right]
  \getvalue {\??am
right\c!r...

\firstofoneargument #1-#1

\next2 #1,-\docommand {#1}
   \doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
  ]\relax \global
\advance \...
...
l.10 \Subject{Knuth}
 \input knuth
? h
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)


%% 

I don'n know what is the problem because the example code is from
the archive s-pre-05.

Thanks in advance for your answers.


Hector









___
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] TOCS: part number, custom alternative and margins

2009-04-14 Thread Jeff Smith
Hi all!

A while ago I asked how to achieve a particular layout I wanted for part
titles in my table of contents. I was given this solution:

 \definelistplacement[partlist][none]#1#2#3%

{\sc\inframed[width=broad,align=right,bottomframe=on,topframe=off,rightframe=off,leftframe=off]{{#2}}}


 \setuplist[part][alternative=partlist]


With that, I get no part number, no page number, a title in small caps and a
bottom frame. So far so good.

In the same table, I also want my section and subsection titles to indent,
at different values depending on levels (the further the section in the
hierarchy, the further it indents). I use the margin= parameter for that.

When I do that, however, the next part title indents equally to the same
level as the last section or subsection did. See the example file toc.tex
attached. Obviously, I don't want that.

The only way I've found to avoid that is to get rid of the custom
alternative, and transfer the \inframed command to a textstyle parameter
inside a normal \setuplist[part] command. See toc-2.tex attached.

When I do that, however, I can't get rid of the part number. I tried
everything I could think about, but to no avail.

I'm using MKII+Xetex. (ConTeXt  ver: 2008.11.10 21:40 MKII  fmt: 2008.11.15
int: english/english)

Can anyone help? What is the best solution?

Thanks in advance!
Jeff


toc.tex
Description: TeX document


toc-2.tex
Description: TeX 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Keep text elements together

2009-04-14 Thread Uriel Avalos
Hi all. I'm writing a Multiple Choice test set in two-columns. I would like to 
keep the multiple-choice items together with the question both on the same page 
AND on the same column.

Question 1 Question 3
  choice 1choice 1
  choice 2choice 2
  choice 3choice 3

Question 2 Question 4
  choice 1choice 1
  choice 2choice 2
  choice 3choice 3

(Apologies, it's easier to draw than describe). 

So I don't want the multiple choices breaking to another page or going to 
another column. How can I achieve this?
I tried setting the intro flag of itemize but it doesn't work.

Here's what I did:

\item[columns]

...
\item Question
\startitemize[intro]
\item choice
\item choice
...
\stopitemize
...

\stopitemize

but the multiple-choice items would still break across pages and columns

F
___
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 module pre-05 (fuzzy): Missing number

2009-04-14 Thread Bill Long
check bellow, maybe doesn't define subject in the module.
On Tue, Apr 14, 2009 at 08:32:18PM -0500, Héctor Palacios wrote:
 
 
 Hi context users !
 
 I want to test the presentations modules of context,
 because are very nice.
 
 I am testing module pre-05 (fuzzy),
 i am using the code at the end of the archive:
 
 
 %% code  example.tex --
\usemodule[pre-05]
\starttext

\TitlePage{Title Page\\pre-fuzzy}

\Topics{Some Nice Quotes}

\Topic{A Few}
\startitemize
\item Knuth

\input knuth

\item Tufte

\input tufte

\stopitemize

\stoptext
 
 %% endcode -
 
 
 But this code not run:
 
 the command 
 texexec example.tex   says:
 
 
 %% 
 
 ! Missing number, treated as zero.
 to be read again
\endcsname
 \@@amvbox ... -\pagebackgroundvoffset +\endcsname
   \c!topoffset \relax
 \box \...
 argument ...ght\c!left }\interactionmenu [right]
   \getvalue {\??am
 right\c!r...
 
 \firstofoneargument #1-#1
 
 \next2 #1,-\docommand {#1}
\doprocesscommaitem
 \doprocesscommalist ...item \gobbleoneargument #1,
   ]\relax \global
 \advance \...
 ...
 l.10 \Subject{Knuth}
  \input knuth
 ? h
 A number should have been here; I inserted `0'.
 (If you can't figure out why I needed to see a number,
 look up `weird error' in the index to The TeXbook.)
 
 
 %% 
 
 I don'n know what is the problem because the example code is from
 the archive s-pre-05.
 
 Thanks in advance for your answers.
 
 
 Hector
 
 
 
 
 
 
 
 
 
 ___
 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
 ___


-- 
   卷539_22 【悼伤后赴东蜀辟至散关遇雪】李商隐 

剑外从军远,无家与寄衣。散关三尺雪,回梦旧鸳机。



___
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] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Matija Šuklje
Dne sreda 15. aprila 2009 je Wei-Wei Guo napisal(a):
 You need to set TEXMFCNF, TEXMFCACHE, and OSFONTDIR in your system
 environment, for example in /etc/env.d/98texlive.

Thanks. :)

E.g. what are appropriate values for these variables? I'll try to change them 
to my system's right paths, but I'd be grateful for some pointers where to 
start searching.


Cheers,
Matija
-- 
gsm: +386 41 849 552
e-mail: matija.suk...@rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suk...@gabbler.org
msn: matija.suk...@rutka.net
yahoo: matija_suklje
GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278


signature.asc
Description: This is a digitally signed message part.
___
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] TeXLive 2008 + ConTeXt problems (on Gentoo Linux)

2009-04-14 Thread Wei-Wei Guo

Hi,

- TEXMFCNF value should be /etc/texmf/web2c.
- TEXMFCACHE value is the directory chosen by yourself.
- OSFONTDIR value should be the paths of your system fonts.

Best wishes,
Wei-Wei

Matija Šuklje 写道:

Dne sreda 15. aprila 2009 je Wei-Wei Guo napisal(a):

You need to set TEXMFCNF, TEXMFCACHE, and OSFONTDIR in your system
environment, for example in /etc/env.d/98texlive.


Thanks. :)

E.g. what are appropriate values for these variables? I'll try to change them 
to my system's right paths, but I'd be grateful for some pointers where to 
start searching.



Cheers,
Matija

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