Re: [NTG-context] ntg-context Digest, Vol 28, Issue 76

2006-10-30 Thread Ángel Luis García Fernández
I tried that, but then nothing appears (empty index)

Angel-Luis

 Hi Angel-Luis,

 looks like you want a LaTeX-like table of contents. I achieved what I think
 you want to achieve as well, using the following commands:

 % setup table of contents
 \setupcombinedlist[content][alternative=c,level=section]

 % margins, widths and distances are setup such that section lines line up
 with chapter text (change to your liking!)
 \setuplist[chapter][margin=0mm,width=6mm,distance=2mm,style=bold,aligntitle
=yes,before=\blank] \setuplist[section][margin=8mm,width=6mm,distance=2mm]

 % place the following in the relevant location
 \completecontent

 Hope this ends up looking like you want it to!

 Maarten-Jan

 - Original Message 
 From: ?ngel Luis Garc?a Fern?ndez [EMAIL PROTECTED]
 To: ntg-context@ntg.nl
 Sent: Friday, October 27, 2006 10:16:21 PM
 Subject: [NTG-context] Page number alignment in \placecontent


 Hi all,

 sorry for bothering you with this, but I have a problem: I like this style
 for my Index:

 \setuplist[chapter][style=bold]

 \placecontent[level=section,
   alternative=c,
   criterium=all,
   aligntitle=yes]

 But then the section page numbers are placed in the right margin of the
 page instead of in the text area as the chapter page numbers are. (if you
 want a sample: http://wwwdi.ujaen.es/~algarcia/page.pdf . It's just 16 KB)

 How can I manage to keep all the index structure while moving the section
 page numbers to the left?

 ?ngel-Luis
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context




 --

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context


 End of ntg-context Digest, Vol 28, Issue 76
 ***
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Subforms

2006-10-30 Thread luigi scarso
 in context, when you use fields (which can have close and copies) object 
 cross referencing will happen automatically

hmm, can you give me an examples of nested fields
(I'm reading core-fld.tex and spec-fdf.tex) ?

luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Subforms

2006-10-30 Thread Hans Hagen
luigi scarso wrote:
 in context, when you use fields (which can have close and copies) object 
 cross referencing will happen automatically

 
 hmm, can you give me an examples of nested fields
 (I'm reading core-fld.tex and spec-fdf.tex) ?

   
widgets document on website 

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ntg-context Digest, Vol 28, Issue 76

2006-10-30 Thread M.J. Kallen
Angel-Luis,

I'm not sure why you do not get a table of contents, maybe try to add 
criterium=all to the \setupcombinedlist command and see if that works? Also, 
you have used \placecontent, which you can use instead of \completecontent.

I've tried your settings using the live ConTeXt on the wiki and it works 
without the page numbers in the margin. Looking at your sample file, the lines 
with the sections are somehow shifted to the right. It is not possible to see 
why this is happening. Are you shure you have not added something somewhere to 
change the appearance of the list?

Maarten-Jan

- Original Message 
From: Ángel Luis García Fernández [EMAIL PROTECTED]
To: ntg-context@ntg.nl
Sent: Monday, October 30, 2006 10:16:24 AM
Subject: Re: [NTG-context] ntg-context Digest, Vol 28, Issue 76


I tried that, but then nothing appears (empty index)

Angel-Luis

 Hi Angel-Luis,

 looks like you want a LaTeX-like table of contents. I achieved what I think
 you want to achieve as well, using the following commands:

 % setup table of contents
 \setupcombinedlist[content][alternative=c,level=section]

 % margins, widths and distances are setup such that section lines line up
 with chapter text (change to your liking!)
 \setuplist[chapter][margin=0mm,width=6mm,distance=2mm,style=bold,aligntitle
=yes,before=\blank] \setuplist[section][margin=8mm,width=6mm,distance=2mm]

 % place the following in the relevant location
 \completecontent

 Hope this ends up looking like you want it to!

 Maarten-Jan

 - Original Message 
 From: ?ngel Luis Garc?a Fern?ndez [EMAIL PROTECTED]
 To: ntg-context@ntg.nl
 Sent: Friday, October 27, 2006 10:16:21 PM
 Subject: [NTG-context] Page number alignment in \placecontent


 Hi all,

 sorry for bothering you with this, but I have a problem: I like this style
 for my Index:

 \setuplist[chapter][style=bold]

 \placecontent[level=section,
   alternative=c,
   criterium=all,
   aligntitle=yes]

 But then the section page numbers are placed in the right margin of the
 page instead of in the text area as the chapter page numbers are. (if you
 want a sample: http://wwwdi.ujaen.es/~algarcia/page.pdf . It's just 16 KB)

 How can I manage to keep all the index structure while moving the section
 page numbers to the left?

 ?ngel-Luis
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context




 --

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context


 End of ntg-context Digest, Vol 28, Issue 76
 ***
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Wolfgang Schuster

2006/10/30, Horacio Suarez [EMAIL PROTECTED]:
helo:whe I can get help about\bTABLE.\eTABLE?

Hi Horacio,

look at the following links for information about natural tables:

http://wiki.contextgarden.net/TABLE
http://www.pragma-ade.com/general/manuals/enattab.pdf
http://dl.contextgarden.net/myway/NaturalTables.pdf
You can also ask more precise questions on this list.
Wolfgang

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Horacio Suarez
thankyou very much.

Hi Horacio,

look at the following links for information about natural tables:

http://wiki.contextgarden.net/TABLE
http://www.pragma-ade.com/general/manuals/enattab.pdf
http://dl.contextgarden.net/myway/NaturalTables.pdf


You can also ask more precise questions on this list.

Wolfgang


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Subforms

2006-10-30 Thread luigi scarso
 widgets document on website
hmm, I found
mwidget-p.pdf
mwidget-s.pdf.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Subforms

2006-10-30 Thread Hans Hagen
luigi scarso wrote:
 widgets document on website
 
 hmm, I found
 mwidget-p.pdf
 mwidget-s.pdf.
   
indeed

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Problems with latest beta

2006-10-30 Thread Thomas A. Schmitz
I have a number of grave problems with the latest beta

texmfstart texexec.pl --version

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil   | --referencesconvert tui  
file into tuo file   tex : pdfTeX, 3.141592-1.40.0- 
beta-20061017 (Web2C 7.5.5)
context : ver: 2006.10.27 15:16
cont-en : ver: 2006.10.27 15:16 MK II  fmt:  
2006.10.30/english
cont-nl : ver: 2006.10.27 15:16 MK II  fmt:  
2006.10.30/dutch


1. At the end of the run, I get these errors:
TeXUtil | parsing file translation.tui
TeXUtil | fatal error in plugin (processing): undefined method  
`rjust' for 0:Fixnum

   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:619:in `build'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:845:in `processor'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:844:in `each_index'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:844:in `processor'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:835:in `each'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:835:in `processor'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:127:in `processors'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:125:in `each'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:125:in `processors'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
texutil.rb:1017:in `processed'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1577:in `runtexutil'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1570:in `each'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1570:in `runtexutil'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1854:in `processfile'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1086:in `processtex'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1085:in `timedrun'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1085:in `processtex'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1082:in `each'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/base/ 
tex.rb:1082:in `processtex'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 
61:in `process'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 
51:in `main'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 
759:in `send'
   /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texexec.rb: 
759

2. Accordingly, the index is in no particular order and unusable.

May I also hint again at the index questions I posted last week?

Best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] texmfstart not recognizing $page

2006-10-30 Thread Aditya Mahajan
Hi Hans,

In the latest beta

texmfstart --page=1 --file=metafun-p.pdf

does not work. This is the verbose output

texmfstart version 2.0.0
locating 'metafun-p.pdf' in current path '.'
locating 'metafun-p.pdf' in caller path 'f:/Research/Feedback/AC'
kpse : direct (forced)
using 'kpsewhich' to locate 'metafun-p' in suffix space 'pdf' (2)
checking E:\isoimage\usr\local\context\tex\texmf-mswin\BIN for 
metafun-p
checking E:\isoimage\usr\local\context\bin for metafun-p
checking E:\Ruby\bin for metafun-p
checking E:\Python24\ for metafun-p
checking E:\Perl\bin for metafun-p
checking E:\Program Files\R\R-2.3.1\bin for metafun-p
checking E:\bin for metafun-p
checking  for metafun-p
checking E:\Vim\vim70 for metafun-p
aggressively locating 'metafun-p' in document trees
locating 'metafun-p' in document tree 
'e:/isoimage/usr/local/context/doc*'
registering 'metafun-p' as 
'e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf'
registering 'THREAD' as 
'e:/isoimage/usr/local/context/docroot/documents/general/manuals'
starting metafun-p.pdf
using 'system' call: 
e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf
using 'system' call: pdfopen --page  --file 
e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf
using 'system' call: acroread 
e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf


Even the simple

texmfstart metafun-p.pdf

fails with

texmfstart version 2.0.0
locating 'metafun-p.pdf' in current path '.'
locating 'metafun-p.pdf' in caller path 'f:/Research/Feedback/AC'
kpse : direct (forced)
using 'kpsewhich' to locate 'metafun-p' in suffix space 'pdf' (2)
checking E:\isoimage\usr\local\context\tex\texmf-mswin\BIN for 
metafun-p
checking E:\isoimage\usr\local\context\bin for metafun-p
checking E:\Ruby\bin for metafun-p
checking E:\Python24\ for metafun-p
checking E:\Perl\bin for metafun-p
checking E:\Program Files\R\R-2.3.1\bin for metafun-p
checking E:\bin for metafun-p
checking  for metafun-p
checking E:\Vim\vim70 for metafun-p
aggressively locating 'metafun-p' in document trees
locating 'metafun-p' in document tree 
'e:/isoimage/usr/local/context/doc*'
registering 'metafun-p' as 
'e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf'
registering 'THREAD' as 
'e:/isoimage/usr/local/context/docroot/documents/general/manuals'
starting metafun-p.pdf
using 'system' call: 
e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf
using 'system' call: pdfopen --page  --file 
e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf
using 'system' call: acroread 
e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf

The first system call fails since ruby uses / rather than \ as the 
directory separator and windows does not like that.

The second system call fails since $page is '' (I don't know why). A
pdfopen --page --file filename
always fails.

The third system call fails since acroread is not present.

I fail to understand why $page is expanding to '' rather than 2 (or 0 
in the second case).

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problems with latest beta

2006-10-30 Thread Aditya Mahajan
On Mon, 30 Oct 2006, Thomas A. Schmitz wrote:

 I have a number of grave problems with the latest beta

 texmfstart texexec.pl --version

Did you try texexec.rb? The message looks to be coming from ruby.

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil   | --referencesconvert tui
 file into tuo file   tex : pdfTeX, 3.141592-1.40.0-
 beta-20061017 (Web2C 7.5.5)
context : ver: 2006.10.27 15:16
cont-en : ver: 2006.10.27 15:16 MK II  fmt:
 2006.10.30/english
cont-nl : ver: 2006.10.27 15:16 MK II  fmt:
 2006.10.30/dutch


 1. At the end of the run, I get these errors:
 TeXUtil | parsing file translation.tui
 TeXUtil | fatal error in plugin (processing): undefined method
 `rjust' for 0:Fixnum

AFAIK, Fixnum is a ruby method, so this error message must be coming 
from the ruby version. I do not know anything about index, so cannot 
help on the actual error.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Patrick Gundlach
Hello,

 whe I can get help about

 \bTABLE
 .
 \eTABLE

 ?

You can go to

http://articles.contextgarden.net/

and search for 'btable' there.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Aditya Mahajan
Hi Patrick,

On Mon, 30 Oct 2006, Patrick Gundlach wrote:

 whe I can get help about

 \bTABLE
 .
 \eTABLE

 ?

 You can go to

 http://articles.contextgarden.net/

 and search for 'btable' there.

Can this search box also be added to the main wiki page, between the 
search in wiki and search with google search boxes.

Aditya

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables

2006-10-30 Thread Patrick Gundlach
Hello Aditya,

 You can go to

 http://articles.contextgarden.net/

 and search for 'btable' there.

 Can this search box also be added to the main wiki page, between the
 search in wiki and search with google search boxes.

Yes. (Done) Could anybody send me a more clever (then 'articles/full
text') title for this box? 


Patrick
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texmfstart not recognizing $page

2006-10-30 Thread Hans Hagen
Aditya Mahajan wrote:
 Hi Hans,

 In the latest beta

 texmfstart --page=1 --file=metafun-p.pdf

 does not work. This is the verbose output
   
weird

 texmfstart version 2.0.0
 locating 'metafun-p.pdf' in current path '.'
 locating 'metafun-p.pdf' in caller path 'f:/Research/Feedback/AC'
 kpse : direct (forced)
 using 'kpsewhich' to locate 'metafun-p' in suffix space 'pdf' (2)
 checking E:\isoimage\usr\local\context\tex\texmf-mswin\BIN for 
 metafun-p
 checking E:\isoimage\usr\local\context\bin for metafun-p
 checking E:\Ruby\bin for metafun-p
 checking E:\Python24\ for metafun-p
 checking E:\Perl\bin for metafun-p
 checking E:\Program Files\R\R-2.3.1\bin for metafun-p
 checking E:\bin for metafun-p
 checking  for metafun-p
 checking E:\Vim\vim70 for metafun-p
 aggressively locating 'metafun-p' in document trees
 locating 'metafun-p' in document tree 
 'e:/isoimage/usr/local/context/doc*'
 registering 'metafun-p' as 
 'e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf'
 registering 'THREAD' as 
 'e:/isoimage/usr/local/context/docroot/documents/general/manuals'
 starting metafun-p.pdf
 using 'system' call: 
 e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf
 using 'system' call: pdfopen --page  --file 
 e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf
 using 'system' call: acroread eird
 e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf


 Even the simple

 texmfstart metafun-p.pdf

 fails with

 texmfstart version 2.0.0
 locating 'metafun-p.pdf' in current path '.'
 locating 'metafun-p.pdf' in caller path 'f:/Research/Feedback/AC'
 kpse : direct (forced)
 using 'kpsewhich' to locate 'metafun-p' in suffix space 'pdf' (2)
 checking E:\isoimage\usr\local\context\tex\texmf-mswin\BIN for 
 metafun-p
 checking E:\isoimage\usr\local\context\bin for metafun-p
 checking E:\Ruby\bin for metafun-p
 checking E:\Python24\ for metafun-p
 checking E:\Perl\bin for metafun-p
 checking E:\Program Files\R\R-2.3.1\bin for metafun-p
 checking E:\bin for metafun-p
 checking  for metafun-p
 checking E:\Vim\vim70 for metafun-p
 aggressively locating 'metafun-p' in document trees
 locating 'metafun-p' in document tree 
 'e:/isoimage/usr/local/context/doc*'
 registering 'metafun-p' as 
 'e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf'
 registering 'THREAD' as 
 'e:/isoimage/usr/local/context/docroot/documents/general/manuals'
 starting metafun-p.pdf
 using 'system' call: 
 e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf
 using 'system' call: pdfopen --page  --file 
 e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf
 using 'system' call: acroread 
 e:/isoimage/usr/local/context/docroot/documents/general/manuals/metafun-p.pdf

 The first system call fails since ruby uses / rather than \ as the 
 directory separator and windows does not like that.

 The second system call fails since $page is '' (I don't know why). A
 pdfopen --page --file filename
 always fails.

 The third system call fails since acroread is not present.

 I fail to understand why $page is expanding to '' rather than 2 (or 0 
 in the second case).


   
because page in not known when the str is set; i'll change that

-- 

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context