ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \index + \definedescription
@ 2003-10-09  4:27 Pavel Stupin
  2003-10-09  7:47 ` Willi Egger
  0 siblings, 1 reply; 23+ messages in thread
From: Pavel Stupin @ 2003-10-09  4:27 UTC (permalink / raw)


Hello,

In my document, I have a description defined in this way:

\definedescription[DictEntry][headstyle=bold,location=serried,width=broad]


I use the DictEntry description like this:

*****************************************************************

\startDictEntry{Walters, Barbara (1931- )}
a  US  television  journalist  known especially  for  her  series
Barbara Walters  Special...
\stopDictEntry

\startDictEntry{Waterhouse, Keith (1929- )}
an English  journalist and writer  of novels and  plays...
\stopDictEntry

\startDictEntry{West, Rebecca (1892-1983)}
an  English   writer  and  journalist. She  wrote   many  novels...
\stopDictEntry

... etc.

*****************************************************************


What I  would like to do  is to automatically create  an \index{}
for  every DictEntry  so  that  every entry  then  appear in  the
register. Probably,  I   should  use  'between'   parameter  when
defining  my DictEntry  description, but  I'm confused  with what
should be  the proper  argument in  'between=\index{???}. I would
appreciate any help.


Thank you in advance.
Best, Pavel.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: \index + \definedescription
  2003-10-09  4:27 \index + \definedescription Pavel Stupin
@ 2003-10-09  7:47 ` Willi Egger
  2003-10-10  7:15   ` Pavel Stupin
  0 siblings, 1 reply; 23+ messages in thread
From: Willi Egger @ 2003-10-09  7:47 UTC (permalink / raw)


Hi Pavel

At 06:27 09.10.2003, Pavel Stupin wrote:
>Hello,
>
>In my document, I have a description defined in this way:
>
>\definedescription[DictEntry][headstyle=bold,location=serried,width=broad]
>
>
>I use the DictEntry description like this:
>
>*****************************************************************
>
>\startDictEntry{Walters, Barbara (1931- )}
>a  US  television  journalist  known especially  for  her  series
>Barbara Walters  Special...
>\stopDictEntry
>
>\startDictEntry{Waterhouse, Keith (1929- )}
>an English  journalist and writer  of novels and  plays...
>\stopDictEntry
>
>\startDictEntry{West, Rebecca (1892-1983)}
>an  English   writer  and  journalist. She  wrote   many  novels...
>\stopDictEntry
>
>... etc.
>
>*****************************************************************
>
>
>What I  would like to do  is to automatically create  an \index{}
>for  every DictEntry  so  that  every entry  then  appear in  the
>register. Probably,  I   should  use  'between'   parameter  when
>defining  my DictEntry  description, but  I'm confused  with what
>should be  the proper  argument in  'between=\index{???}. I would
>appreciate any help.

Possibly the following approach can help:

Define a list  \definelist[name][options]
Write to this list at each entry of the description \writetolist[name]{text}
At the spot where the list should occur \placelist[name]

Programmers might  write a macro which could be used in the description 
definition together with e.g. [after=\TheMacro] which writes into the list.

Willi 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: \index + \definedescription
  2003-10-09  7:47 ` Willi Egger
@ 2003-10-10  7:15   ` Pavel Stupin
  2003-10-10 18:19     ` Willi Egger
  0 siblings, 1 reply; 23+ messages in thread
From: Pavel Stupin @ 2003-10-10  7:15 UTC (permalink / raw)


____________________________________________________
On Thu, 09 Oct 2003 09:47:51 +0200
Willi Egger <w.egger@boede.nl> wrote:
____________________________________________________

> Possibly the following approach can help:
> 
> Define a list  \definelist[name][options]
> Write to this list at each entry of the description \writetolist[name]{text}
> At the spot where the list should occur \placelist[name]
> 
> Programmers might  write a macro which could be used in the description 
> definition together with e.g. [after=\TheMacro] which writes into the list.

Thank you, Willi! 

Your solution works, but I've figured out a very simple, though probably not very elegant one:
defined \def\dictind#1{\startDictEntry{#1}\index{#1}} and replaced all \startDictEntry w/  \dictind.

Best, Pavel.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: \index + \definedescription
  2003-10-10  7:15   ` Pavel Stupin
@ 2003-10-10 18:19     ` Willi Egger
  2003-10-12  3:48       ` itemize: before/after only with columns? Gary Pajer
  0 siblings, 1 reply; 23+ messages in thread
From: Willi Egger @ 2003-10-10 18:19 UTC (permalink / raw)


Hm, I have never been a programmer.....

Willi

Pavel wrote:
>Your solution works, but I've figured out a very simple, though probably 
>not very elegant one:
>defined \def\dictind#1{\startDictEntry{#1}\index{#1}} and replaced all 
>\startDictEntry w/  \dictind.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* itemize: before/after only with columns?
  2003-10-10 18:19     ` Willi Egger
@ 2003-10-12  3:48       ` Gary Pajer
  2003-10-28 13:29         ` another itemize question Gary Pajer
  0 siblings, 1 reply; 23+ messages in thread
From: Gary Pajer @ 2003-10-12  3:48 UTC (permalink / raw)


It seems to me that the 'before' and 'after' keywords used in the third
argument of \setupitemize are operative only if 'columns' are also
specified.  In the example below, the hairlines disappear if the 'columns'
keyword is eliminated.

Feature or bug?

BTW:   can the lengths of the two hairlines in this example be made to be
the same length?  What's causing the indentation of the first hairline?

Regards,
Gary

----------------------------------------------------------------------------
---------

\setupitemize[2][a,packed,columns][before={\hairline},after={\hairline}]
\setupitemize[1][n]

\starttext
\startitemize
%
\item Level One
%
\startitemize
\item first
\item second
\item third
\stopitemize
%
\item Forgot a level
%
\startitemize
\item one
\item two
\item three
\stopitemize
%
\item Level two
%
\startitemize
\item here's one
\item here's another
\item finally this
\stopitemize
%
\stopitemize
%
\stoptext

^ permalink raw reply	[flat|nested] 23+ messages in thread

* another itemize question
  2003-10-12  3:48       ` itemize: before/after only with columns? Gary Pajer
@ 2003-10-28 13:29         ` Gary Pajer
  2003-10-29  8:49           ` Willi Egger
  0 siblings, 1 reply; 23+ messages in thread
From: Gary Pajer @ 2003-10-28 13:29 UTC (permalink / raw)


I continue to have problems understanding itemize.

It seems to me that the 'before' and 'after' keywords used in the third
argument of \setupitemize are operative only if 'columns' are also
specified.  In the example below, the hairlines disappear if the 'columns'
keyword is eliminated.

Feature, bug, or misunderstanding?

BTW:   can the lengths of the two hairlines in this example be made to be
the same length?  What's causing the indentation of the first hairline?

Regards,
Gary

----------------------------------------------------------------------------
---------

\setupitemize[2][a,packed,columns][before={\hairline},after={\hairline}]
\setupitemize[1][n]

\starttext
\startitemize
%
\item Level One
%
\startitemize
\item first
\item second
\item third
\stopitemize
%
\item Forgot a level
%
\startitemize
\item one
\item two
\item three
\stopitemize
%
\item Level two
%
\startitemize
\item here's one
\item here's another
\item finally this
\stopitemize
%
\stopitemize
%
\stoptext

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: another itemize question
  2003-10-28 13:29         ` another itemize question Gary Pajer
@ 2003-10-29  8:49           ` Willi Egger
  2003-10-29 22:57             ` Patrick Gundlach
  0 siblings, 1 reply; 23+ messages in thread
From: Willi Egger @ 2003-10-29  8:49 UTC (permalink / raw)


Hi,

Triggered by your question I tried the code. Indeed also here with Context 
version:
ConTeXt  ver: 2003.9.25  fmt: 2003.9.25  int: english  mes: english
the described behaviour occurs. - I tried to look things up in TeXshow, but 
unfortunately the \setupitemize command is not listed there. - In the 
english manual I could find the use of this command, still wasn't able to 
get the puzzle solved....
Sorry can't help you in this.

Willi


At 14:29 28.10.2003, Gary wrote:
>I continue to have problems understanding itemize.
>
>It seems to me that the 'before' and 'after' keywords used in the third
>argument of \setupitemize are operative only if 'columns' are also
>specified.  In the example below, the hairlines disappear if the 'columns'
>keyword is eliminated.
>
>Feature, bug, or misunderstanding?
>
>BTW:   can the lengths of the two hairlines in this example be made to be
>the same length?  What's causing the indentation of the first hairline?
>
>Regards,
>Gary
>
>----------------------------------------------------------------------------
>---------
>
>\setupitemize[2][a,packed,columns][before={\hairline},after={\hairline}]
>\setupitemize[1][n]
>
>\starttext
>\startitemize
>%
>\item Level One
>%
>\startitemize
>\item first
>\item second
>\item third
>\stopitemize
>%
>\item Forgot a level
>%
>\startitemize
>\item one
>\item two
>\item three
>\stopitemize
>%
>\item Level two
>%
>\startitemize
>\item here's one
>\item here's another
>\item finally this
>\stopitemize
>%
>\stopitemize
>%
>\stoptext
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: another itemize question
  2003-10-29  8:49           ` Willi Egger
@ 2003-10-29 22:57             ` Patrick Gundlach
  2003-10-30  2:41               ` Gary Pajer
                                 ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Patrick Gundlach @ 2003-10-29 22:57 UTC (permalink / raw)


Hello Willi,

Willi Egger <w.egger@boede.nl> writes:

> TeXshow, but unfortunately the \setupitemize command is not listed
> there. - In the english manual I could find the use of this command,

it is listed as \setupitemgroup


Patrick
-- 
You are your own rainbow!

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Re: another itemize question
  2003-10-29 22:57             ` Patrick Gundlach
@ 2003-10-30  2:41               ` Gary Pajer
  2003-10-30 15:48                 ` Patrick Gundlach
  2003-10-30  2:48               ` Gary Pajer
  2003-10-30  2:54               ` Gary Pajer
  2 siblings, 1 reply; 23+ messages in thread
From: Gary Pajer @ 2003-10-30  2:41 UTC (permalink / raw)


> 
> > TeXshow, but unfortunately the \setupitemize command is not listed
> > there. - In the english manual I could find the use of this command,
> 
> it is listed as \setupitemgroup

are they synonyms?  why two names?

-gary

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Re: another itemize question
  2003-10-29 22:57             ` Patrick Gundlach
  2003-10-30  2:41               ` Gary Pajer
@ 2003-10-30  2:48               ` Gary Pajer
  2003-10-30  2:54               ` Gary Pajer
  2 siblings, 0 replies; 23+ messages in thread
From: Gary Pajer @ 2003-10-30  2:48 UTC (permalink / raw)


> > TeXshow, but unfortunately the \setupitemize command is not listed
> > there. - In the english manual I could find the use of this command,
>
> it is listed as \setupitemgroup

I think I answered my own question:  \setupitemgroup is not a synonym for
\setupitemize.   texshow typo?

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Re: another itemize question
  2003-10-29 22:57             ` Patrick Gundlach
  2003-10-30  2:41               ` Gary Pajer
  2003-10-30  2:48               ` Gary Pajer
@ 2003-10-30  2:54               ` Gary Pajer
  2004-04-16 18:50                 ` Baffling error Paulo Ney de Souza
  2 siblings, 1 reply; 23+ messages in thread
From: Gary Pajer @ 2003-10-30  2:54 UTC (permalink / raw)


> Hello Willi,
> 
> Willi Egger <w.egger@boede.nl> writes:
> 
> > TeXshow, but unfortunately the \setupitemize command is not listed
> > there. - In the english manual I could find the use of this command,
> 
> it is listed as \setupitemgroup

#sigh#  I get it.  Nevermind.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: another itemize question
  2003-10-30  2:41               ` Gary Pajer
@ 2003-10-30 15:48                 ` Patrick Gundlach
  2003-10-31  3:44                   ` Gary Pajer
  0 siblings, 1 reply; 23+ messages in thread
From: Patrick Gundlach @ 2003-10-30 15:48 UTC (permalink / raw)


Hi,

>> > TeXshow, but unfortunately the \setupitemize command is not listed
>> > there. - In the english manual I could find the use of this command,
>> 
>> it is listed as \setupitemgroup
>
> are they synonyms?  why two names?

For those, who still wonder: \setupitemize is a command generated by
\defineitemgroup. 

\defineitemgroup [\v!itemize] [\c!niveaus=6]

in core-itm.tex


Patrick
-- 
You are your own rainbow!

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Re: another itemize question
  2003-10-30 15:48                 ` Patrick Gundlach
@ 2003-10-31  3:44                   ` Gary Pajer
  2003-10-31  8:34                     ` Patrick Gundlach
  0 siblings, 1 reply; 23+ messages in thread
From: Gary Pajer @ 2003-10-31  3:44 UTC (permalink / raw)


> >> it is listed as \setupitemgroup
> >
> > are they synonyms?  why two names?
>
> For those, who still wonder: \setupitemize is a command generated by
> \defineitemgroup.
>
> \defineitemgroup [\v!itemize] [\c!niveaus=6]
>
> in core-itm.tex

Good idea to clear that up.

Now back to our regularly scheduled thread...
I'm reaching the conclusion that the behaviour I reported at the top of the
thread is a bug.
Is it?
If so, is a workaround or fix possible?

-gary

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: another itemize question
  2003-10-31  3:44                   ` Gary Pajer
@ 2003-10-31  8:34                     ` Patrick Gundlach
  0 siblings, 0 replies; 23+ messages in thread
From: Patrick Gundlach @ 2003-10-31  8:34 UTC (permalink / raw)


Hi Gary,

> Now back to our regularly scheduled thread...
> I'm reaching the conclusion that the behaviour I reported at the top of the
> thread is a bug.
> Is it?
> If so, is a workaround or fix possible?

We had almost the same thread in May(?) this year. I came to the
conclusion that I don't know how to solve this. IMO a real expert
should look into this.

Patrick 

-- 
You are your own rainbow!

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Baffling error
  2003-10-30  2:54               ` Gary Pajer
@ 2004-04-16 18:50                 ` Paulo Ney de Souza
  2004-04-16 19:24                   ` Willi Egger
  0 siblings, 1 reply; 23+ messages in thread
From: Paulo Ney de Souza @ 2004-04-16 18:50 UTC (permalink / raw)


I have a very simple file, with some 20 pages only and a few pictures,
nothing extr5enuous, but when I include the following piece of code
anywhere, it gives me TeX capacity exceeded, when producing a PDF file, that
is, with "texexec --pdf book.tex" but NO error when producing a DVI file ...

Can anyone shed some light onto it ? The piece of code is:

\startitemize
\item {\bf Low-strength concrete}: less than 20 MPa (3000 psi)
\item {\bf Moderate-strength concrete}: 20 to 40 MPa (3000 to 6000 psi)
\item {\bf High-strength concrete}: more than 40 MPa (6000 psi).
\stopitemize

The file can be found in:

	http;//math.berkeley.edu/~desouza/Context/

Paulo Ney

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Baffling error
  2004-04-16 18:50                 ` Baffling error Paulo Ney de Souza
@ 2004-04-16 19:24                   ` Willi Egger
  2004-04-16 19:29                     ` Paulo Ney de Souza
  0 siblings, 1 reply; 23+ messages in thread
From: Willi Egger @ 2004-04-16 19:24 UTC (permalink / raw)


Hi Paulo,

I downloaded your book.tex and ch1.tex and pictures. Here your file 
compiles perfectly.
I use a texlive 9 installation on a WinXP machine. My CONTEXT/pdftex is

ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english
pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)

In order to be of support it could be a good idea to publish the CONTEXT 
log file.

Kind regards Willi

Paulo Ney de Souza wrote:
> I have a very simple file, with some 20 pages only and a few pictures,
> nothing extr5enuous, but when I include the following piece of code
> anywhere, it gives me TeX capacity exceeded, when producing a PDF file, that
> is, with "texexec --pdf book.tex" but NO error when producing a DVI file ...
> 
> Can anyone shed some light onto it ? The piece of code is:
> 
> \startitemize
> \item {\bf Low-strength concrete}: less than 20 MPa (3000 psi)
> \item {\bf Moderate-strength concrete}: 20 to 40 MPa (3000 to 6000 psi)
> \item {\bf High-strength concrete}: more than 40 MPa (6000 psi).
> \stopitemize
> 
> The file can be found in:
> 
> 	http;//math.berkeley.edu/~desouza/Context/
> 
> Paulo Ney
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 23+ messages in thread

* RE: Baffling error
  2004-04-16 19:24                   ` Willi Egger
@ 2004-04-16 19:29                     ` Paulo Ney de Souza
  2004-04-16 19:51                       ` Willi Egger
  0 siblings, 1 reply; 23+ messages in thread
From: Paulo Ney de Souza @ 2004-04-16 19:29 UTC (permalink / raw)


Will, did you take the comments (%) out of the \startitemize part of the
file ? I am including a new ch1.tex (without the comments) and the log file
there now.

Paulo

-----Original Message-----
From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
Of Willi Egger
Sent: Friday, April 16, 2004 12:24 PM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Baffling error

Hi Paulo,

I downloaded your book.tex and ch1.tex and pictures. Here your file 
compiles perfectly.
I use a texlive 9 installation on a WinXP machine. My CONTEXT/pdftex is

ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english
pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)

In order to be of support it could be a good idea to publish the CONTEXT 
log file.

Kind regards Willi

Paulo Ney de Souza wrote:
> I have a very simple file, with some 20 pages only and a few pictures,
> nothing extr5enuous, but when I include the following piece of code
> anywhere, it gives me TeX capacity exceeded, when producing a PDF file,
that
> is, with "texexec --pdf book.tex" but NO error when producing a DVI file
...
> 
> Can anyone shed some light onto it ? The piece of code is:
> 
> \startitemize
> \item {\bf Low-strength concrete}: less than 20 MPa (3000 psi)
> \item {\bf Moderate-strength concrete}: 20 to 40 MPa (3000 to 6000 psi)
> \item {\bf High-strength concrete}: more than 40 MPa (6000 psi).
> \stopitemize
> 
> The file can be found in:
> 
> 	http;//math.berkeley.edu/~desouza/Context/
> 
> Paulo Ney
> 
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Baffling error
  2004-04-16 19:29                     ` Paulo Ney de Souza
@ 2004-04-16 19:51                       ` Willi Egger
  2004-04-16 19:56                         ` Paulo Ney de Souza
  0 siblings, 1 reply; 23+ messages in thread
From: Willi Egger @ 2004-04-16 19:51 UTC (permalink / raw)


Hi Paulo,

Yes, the ch1.tex you have on the web had the lines already uncommented 
(itemize about strength of concrete).

Would you please change the access rights of the log file?

Willi



Paulo Ney de Souza wrote:
> Will, did you take the comments (%) out of the \startitemize part of the
> file ? I am including a new ch1.tex (without the comments) and the log file
> there now.
> 
> Paulo
> 
> -----Original Message-----
> From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
> Of Willi Egger
> Sent: Friday, April 16, 2004 12:24 PM
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Baffling error
> 
> Hi Paulo,
> 
> I downloaded your book.tex and ch1.tex and pictures. Here your file 
> compiles perfectly.
> I use a texlive 9 installation on a WinXP machine. My CONTEXT/pdftex is
> 
> ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english
> pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
> 
> In order to be of support it could be a good idea to publish the CONTEXT 
> log file.
> 
> Kind regards Willi
> 
> Paulo Ney de Souza wrote:
> 
>>I have a very simple file, with some 20 pages only and a few pictures,
>>nothing extr5enuous, but when I include the following piece of code
>>anywhere, it gives me TeX capacity exceeded, when producing a PDF file,
> 
> that
> 
>>is, with "texexec --pdf book.tex" but NO error when producing a DVI file
> 
> ...
> 
>>Can anyone shed some light onto it ? The piece of code is:
>>
>>\startitemize
>>\item {\bf Low-strength concrete}: less than 20 MPa (3000 psi)
>>\item {\bf Moderate-strength concrete}: 20 to 40 MPa (3000 to 6000 psi)
>>\item {\bf High-strength concrete}: more than 40 MPa (6000 psi).
>>\stopitemize
>>
>>The file can be found in:
>>
>>	http;//math.berkeley.edu/~desouza/Context/
>>
>>Paulo Ney
>>
>>_______________________________________________
>>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
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 23+ messages in thread

* RE: Baffling error
  2004-04-16 19:51                       ` Willi Egger
@ 2004-04-16 19:56                         ` Paulo Ney de Souza
  2004-04-16 20:10                           ` Willi Egger
  0 siblings, 1 reply; 23+ messages in thread
From: Paulo Ney de Souza @ 2004-04-16 19:56 UTC (permalink / raw)


Done, sorry ....

Paulo

-----Original Message-----
From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
Of Willi Egger
Sent: Friday, April 16, 2004 12:51 PM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Baffling error

Hi Paulo,

Yes, the ch1.tex you have on the web had the lines already uncommented 
(itemize about strength of concrete).

Would you please change the access rights of the log file?

Willi



Paulo Ney de Souza wrote:
> Will, did you take the comments (%) out of the \startitemize part of the
> file ? I am including a new ch1.tex (without the comments) and the log
file
> there now.
> 
> Paulo
> 
> -----Original Message-----
> From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
> Of Willi Egger
> Sent: Friday, April 16, 2004 12:24 PM
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Baffling error
> 
> Hi Paulo,
> 
> I downloaded your book.tex and ch1.tex and pictures. Here your file 
> compiles perfectly.
> I use a texlive 9 installation on a WinXP machine. My CONTEXT/pdftex is
> 
> ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english
> pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
> 
> In order to be of support it could be a good idea to publish the CONTEXT 
> log file.
> 
> Kind regards Willi
> 
> Paulo Ney de Souza wrote:
> 
>>I have a very simple file, with some 20 pages only and a few pictures,
>>nothing extr5enuous, but when I include the following piece of code
>>anywhere, it gives me TeX capacity exceeded, when producing a PDF file,
> 
> that
> 
>>is, with "texexec --pdf book.tex" but NO error when producing a DVI file
> 
> ...
> 
>>Can anyone shed some light onto it ? The piece of code is:
>>
>>\startitemize
>>\item {\bf Low-strength concrete}: less than 20 MPa (3000 psi)
>>\item {\bf Moderate-strength concrete}: 20 to 40 MPa (3000 to 6000 psi)
>>\item {\bf High-strength concrete}: more than 40 MPa (6000 psi).
>>\stopitemize
>>
>>The file can be found in:
>>
>>	http;//math.berkeley.edu/~desouza/Context/
>>
>>Paulo Ney
>>
>>_______________________________________________
>>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
> 
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Baffling error
  2004-04-16 19:56                         ` Paulo Ney de Souza
@ 2004-04-16 20:10                           ` Willi Egger
  2004-04-16 20:18                             ` Paulo Ney de Souza
  0 siblings, 1 reply; 23+ messages in thread
From: Willi Egger @ 2004-04-16 20:10 UTC (permalink / raw)


Hi Paulo,

When looking at your log file there are two points to be mentioned.

1. you use a quite old version of CONTEXT and also pdftex.

My version:
This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
  \write18 enabled.

Your version:
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)

My version:
ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english

Your version:
ConTeXt  ver: 2003.1.31  fmt: 2003.4.5  int: english  mes: english


2. in order to use CONTEXT at its best you really should enable \write18

What kind of installation do you use?

If you can you should update to the latest version. If you can you might 
want to use TeX Collection 2003 i.e. TeXlive 9. The issue you have with 
the exceeded tex-capacity is then solved anyway.
If you are not able to update the tex-system because you are in a UNIX 
environment where you do not have all access rights it might be possible 
to make a texmf.cnf file in your local texmf-tree, where you can set the 
shellescape to t (true) which enables \write18 and you might be able to 
increase the memory assignments in the CONTEXT section of this file.


I hope this helps!

Kind reagrds Willi
Paulo Ney de Souza wrote:

> Done, sorry ....
> 
> Paulo
> 
> -----Original Message-----
> From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
> Of Willi Egger
> Sent: Friday, April 16, 2004 12:51 PM
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Baffling error
> 
> Hi Paulo,
> 
> Yes, the ch1.tex you have on the web had the lines already uncommented 
> (itemize about strength of concrete).
> 
> Would you please change the access rights of the log file?
> 
> Willi
> 
> 
> 
> Paulo Ney de Souza wrote:
> 
>>Will, did you take the comments (%) out of the \startitemize part of the
>>file ? I am including a new ch1.tex (without the comments) and the log
> 
> file
> 
>>there now.
>>
>>Paulo
>>
>>-----Original Message-----
>>From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
>>Of Willi Egger
>>Sent: Friday, April 16, 2004 12:24 PM
>>To: ntg-context@ntg.nl
>>Subject: Re: [NTG-context] Baffling error
>>
>>Hi Paulo,
>>
>>I downloaded your book.tex and ch1.tex and pictures. Here your file 
>>compiles perfectly.
>>I use a texlive 9 installation on a WinXP machine. My CONTEXT/pdftex is
>>
>>ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english
>>pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
>>
>>In order to be of support it could be a good idea to publish the CONTEXT 
>>log file.
>>
>>Kind regards Willi
>>
>>Paulo Ney de Souza wrote:
>>
>>
>>>I have a very simple file, with some 20 pages only and a few pictures,
>>>nothing extr5enuous, but when I include the following piece of code
>>>anywhere, it gives me TeX capacity exceeded, when producing a PDF file,
>>
>>that
>>
>>
>>>is, with "texexec --pdf book.tex" but NO error when producing a DVI file
>>
>>...
>>
>>
>>>Can anyone shed some light onto it ? The piece of code is:
>>>
>>>\startitemize
>>>\item {\bf Low-strength concrete}: less than 20 MPa (3000 psi)
>>>\item {\bf Moderate-strength concrete}: 20 to 40 MPa (3000 to 6000 psi)
>>>\item {\bf High-strength concrete}: more than 40 MPa (6000 psi).
>>>\stopitemize
>>>
>>>The file can be found in:
>>>
>>>	http;//math.berkeley.edu/~desouza/Context/
>>>
>>>Paulo Ney
>>>
>>>_______________________________________________
>>>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
>>
>>_______________________________________________
>>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
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 23+ messages in thread

* RE: Baffling error
  2004-04-16 20:10                           ` Willi Egger
@ 2004-04-16 20:18                             ` Paulo Ney de Souza
  2004-04-16 20:36                               ` Willi Egger
  2004-04-17 11:44                               ` George N. White III
  0 siblings, 2 replies; 23+ messages in thread
From: Paulo Ney de Souza @ 2004-04-16 20:18 UTC (permalink / raw)


This is part of the problem, I am in a Unix shared environment, where I have
to place a request for the software to be updated and wait another year ...

I am going to install Linux on my laptop and then move everything over there
and see how does it go ...

Thanks for the help,
Paulo 

-----Original Message-----
From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
Of Willi Egger
Sent: Friday, April 16, 2004 1:11 PM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Baffling error

Hi Paulo,

When looking at your log file there are two points to be mentioned.

1. you use a quite old version of CONTEXT and also pdftex.

My version:
This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
  \write18 enabled.

Your version:
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)

My version:
ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english

Your version:
ConTeXt  ver: 2003.1.31  fmt: 2003.4.5  int: english  mes: english


2. in order to use CONTEXT at its best you really should enable \write18

What kind of installation do you use?

If you can you should update to the latest version. If you can you might 
want to use TeX Collection 2003 i.e. TeXlive 9. The issue you have with 
the exceeded tex-capacity is then solved anyway.
If you are not able to update the tex-system because you are in a UNIX 
environment where you do not have all access rights it might be possible 
to make a texmf.cnf file in your local texmf-tree, where you can set the 
shellescape to t (true) which enables \write18 and you might be able to 
increase the memory assignments in the CONTEXT section of this file.


I hope this helps!

Kind reagrds Willi
Paulo Ney de Souza wrote:

> Done, sorry ....
> 
> Paulo
> 
> -----Original Message-----
> From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
> Of Willi Egger
> Sent: Friday, April 16, 2004 12:51 PM
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Baffling error
> 
> Hi Paulo,
> 
> Yes, the ch1.tex you have on the web had the lines already uncommented 
> (itemize about strength of concrete).
> 
> Would you please change the access rights of the log file?
> 
> Willi
> 
> 
> 
> Paulo Ney de Souza wrote:
> 
>>Will, did you take the comments (%) out of the \startitemize part of the
>>file ? I am including a new ch1.tex (without the comments) and the log
> 
> file
> 
>>there now.
>>
>>Paulo
>>
>>-----Original Message-----
>>From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
>>Of Willi Egger
>>Sent: Friday, April 16, 2004 12:24 PM
>>To: ntg-context@ntg.nl
>>Subject: Re: [NTG-context] Baffling error
>>
>>Hi Paulo,
>>
>>I downloaded your book.tex and ch1.tex and pictures. Here your file 
>>compiles perfectly.
>>I use a texlive 9 installation on a WinXP machine. My CONTEXT/pdftex is
>>
>>ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english
>>pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
>>
>>In order to be of support it could be a good idea to publish the CONTEXT 
>>log file.
>>
>>Kind regards Willi
>>
>>Paulo Ney de Souza wrote:
>>
>>
>>>I have a very simple file, with some 20 pages only and a few pictures,
>>>nothing extr5enuous, but when I include the following piece of code
>>>anywhere, it gives me TeX capacity exceeded, when producing a PDF file,
>>
>>that
>>
>>
>>>is, with "texexec --pdf book.tex" but NO error when producing a DVI file
>>
>>...
>>
>>
>>>Can anyone shed some light onto it ? The piece of code is:
>>>
>>>\startitemize
>>>\item {\bf Low-strength concrete}: less than 20 MPa (3000 psi)
>>>\item {\bf Moderate-strength concrete}: 20 to 40 MPa (3000 to 6000 psi)
>>>\item {\bf High-strength concrete}: more than 40 MPa (6000 psi).
>>>\stopitemize
>>>
>>>The file can be found in:
>>>
>>>	http;//math.berkeley.edu/~desouza/Context/
>>>
>>>Paulo Ney
>>>
>>>_______________________________________________
>>>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
>>
>>_______________________________________________
>>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
> 
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: Baffling error
  2004-04-16 20:18                             ` Paulo Ney de Souza
@ 2004-04-16 20:36                               ` Willi Egger
  2004-04-17 11:44                               ` George N. White III
  1 sibling, 0 replies; 23+ messages in thread
From: Willi Egger @ 2004-04-16 20:36 UTC (permalink / raw)


Hi Paulo,

Yeah, that is what I was suspicous about! - Keep in mind, that most 
Linux distributions do provide most often an outdated version of TeX. I 
would suggest that you download a complete TeX distibution from CTAN.

If you decide to exclusively use CONTEXT then a minimal installation as 
provided by PRAGMA(Hans Hagen) can be recommended! - I use both the 
texlive and the Context-installation of tex.

http://www.pragma-ade.com/context/linuxtex.zip.bz2
http://www.pragma-ade.com/context/macosxtex.zip.bz2
http://www.pragma-ade.com/context/mswintex.zip.bz2

Success and let me know how things move on.
Kind regards Willi

Paulo Ney de Souza wrote:

> This is part of the problem, I am in a Unix shared environment, where I have
> to place a request for the software to be updated and wait another year ...
> 
> I am going to install Linux on my laptop and then move everything over there
> and see how does it go ...
> 
> Thanks for the help,
> Paulo 
> 
> -----Original Message-----
> From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
> Of Willi Egger
> Sent: Friday, April 16, 2004 1:11 PM
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Baffling error
> 
> Hi Paulo,
> 
> When looking at your log file there are two points to be mentioned.
> 
> 1. you use a quite old version of CONTEXT and also pdftex.
> 
> My version:
> This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
>   \write18 enabled.
> 
> Your version:
> This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
> 
> My version:
> ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english
> 
> Your version:
> ConTeXt  ver: 2003.1.31  fmt: 2003.4.5  int: english  mes: english
> 
> 
> 2. in order to use CONTEXT at its best you really should enable \write18
> 
> What kind of installation do you use?
> 
> If you can you should update to the latest version. If you can you might 
> want to use TeX Collection 2003 i.e. TeXlive 9. The issue you have with 
> the exceeded tex-capacity is then solved anyway.
> If you are not able to update the tex-system because you are in a UNIX 
> environment where you do not have all access rights it might be possible 
> to make a texmf.cnf file in your local texmf-tree, where you can set the 
> shellescape to t (true) which enables \write18 and you might be able to 
> increase the memory assignments in the CONTEXT section of this file.
> 
> 
> I hope this helps!
> 
> Kind reagrds Willi
> Paulo Ney de Souza wrote:
> 
> 
>>Done, sorry ....
>>
>>Paulo
>>
>>-----Original Message-----
>>From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
>>Of Willi Egger
>>Sent: Friday, April 16, 2004 12:51 PM
>>To: ntg-context@ntg.nl
>>Subject: Re: [NTG-context] Baffling error
>>
>>Hi Paulo,
>>
>>Yes, the ch1.tex you have on the web had the lines already uncommented 
>>(itemize about strength of concrete).
>>
>>Would you please change the access rights of the log file?
>>
>>Willi
>>
>>
>>
>>Paulo Ney de Souza wrote:
>>
>>
>>>Will, did you take the comments (%) out of the \startitemize part of the
>>>file ? I am including a new ch1.tex (without the comments) and the log
>>
>>file
>>
>>
>>>there now.
>>>
>>>Paulo
>>>
>>>-----Original Message-----
>>>From: ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl] On Behalf
>>>Of Willi Egger
>>>Sent: Friday, April 16, 2004 12:24 PM
>>>To: ntg-context@ntg.nl
>>>Subject: Re: [NTG-context] Baffling error
>>>
>>>Hi Paulo,
>>>
>>>I downloaded your book.tex and ch1.tex and pictures. Here your file 
>>>compiles perfectly.
>>>I use a texlive 9 installation on a WinXP machine. My CONTEXT/pdftex is
>>>
>>>ConTeXt  ver: 2004.3.19  fmt: 2004.3.20  int: english  mes: english
>>>pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
>>>
>>>In order to be of support it could be a good idea to publish the CONTEXT 
>>>log file.
>>>
>>>Kind regards Willi
>>>
>>>Paulo Ney de Souza wrote:
>>>
>>>
>>>
>>>>I have a very simple file, with some 20 pages only and a few pictures,
>>>>nothing extr5enuous, but when I include the following piece of code
>>>>anywhere, it gives me TeX capacity exceeded, when producing a PDF file,
>>>
>>>that
>>>
>>>
>>>
>>>>is, with "texexec --pdf book.tex" but NO error when producing a DVI file
>>>
>>>...
>>>
>>>
>>>
>>>>Can anyone shed some light onto it ? The piece of code is:
>>>>
>>>>\startitemize
>>>>\item {\bf Low-strength concrete}: less than 20 MPa (3000 psi)
>>>>\item {\bf Moderate-strength concrete}: 20 to 40 MPa (3000 to 6000 psi)
>>>>\item {\bf High-strength concrete}: more than 40 MPa (6000 psi).
>>>>\stopitemize
>>>>
>>>>The file can be found in:
>>>>
>>>>	http;//math.berkeley.edu/~desouza/Context/
>>>>
>>>>Paulo Ney
>>>>
>>>>_______________________________________________
>>>>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
>>>
>>>_______________________________________________
>>>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
>>
>>_______________________________________________
>>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
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 23+ messages in thread

* RE: Baffling error
  2004-04-16 20:18                             ` Paulo Ney de Souza
  2004-04-16 20:36                               ` Willi Egger
@ 2004-04-17 11:44                               ` George N. White III
  1 sibling, 0 replies; 23+ messages in thread
From: George N. White III @ 2004-04-17 11:44 UTC (permalink / raw)


On Fri, 16 Apr 2004, Paulo Ney de Souza wrote:

> This is part of the problem, I am in a Unix shared environment, where I
> have to place a request for the software to be updated and wait another
> year ...

Shared environments are tricky -- one user may be writing a book and
needs assurances that nothing will change while another user needs
bug fixes, not to mention questions about "features" that may pose
security risks.

Fortunately it is not hard to maintain multiple TeX environments on a
single shared system.  Unless you encounter a bug in pdftex you should be
able to use the current version of ConTeXt with the shared binaries.  To
do this:

1.  unzip ConTeXt in to your local texmf tree, e.g., $HOME/texmf
2.  create your own $HOME/texmf/web2c/texmf.cnf (probably by editing
    the one from the shared install -- it should be self-documenting)
    and enable it by setting TEXMFCNF=$HOME/texmf/web2c/texmf.cnf
    Note that you will want to have it put the fmt files in a directory
    you control, e.g., $HOME/texmf/web2c
3.  depending on the shared distro, you may need install the current
    perl scripts in a directory on your path (recent systems use
    scripts that run kpathsea to find the updated scripts from
    $HOME/texmf/context/perltk).

If you have space, you can also simply install a complete distro
(e.g. TeX Live) in a directory of your choosing.  TeX Live and
teTeX can even be moved to a new location without breaking things --
normally all you need to do is adjust the PATH variable to reflect
the new location.

If you do this very often it is worthwhile learning to use the
environment-modules package so you can switch between multiple TeX
configurations.  It is standard on SGI Irix and can be installed from
rpm's on linux or compiled from sources (it needs tk/tcl).

> I am going to install Linux on my laptop and then move everything over
> there and see how does it go ...

These days it is easy to have a current TeX on linux, but if TeX is
tightly integrated with a project that requires a big shared system
moving files to a laptop may not be practical.

--
George N. White III  <aa056@chebucto.ns.ca>
  Head of St. Margarets Bay, Nova Scotia, Canada

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2004-04-17 11:44 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09  4:27 \index + \definedescription Pavel Stupin
2003-10-09  7:47 ` Willi Egger
2003-10-10  7:15   ` Pavel Stupin
2003-10-10 18:19     ` Willi Egger
2003-10-12  3:48       ` itemize: before/after only with columns? Gary Pajer
2003-10-28 13:29         ` another itemize question Gary Pajer
2003-10-29  8:49           ` Willi Egger
2003-10-29 22:57             ` Patrick Gundlach
2003-10-30  2:41               ` Gary Pajer
2003-10-30 15:48                 ` Patrick Gundlach
2003-10-31  3:44                   ` Gary Pajer
2003-10-31  8:34                     ` Patrick Gundlach
2003-10-30  2:48               ` Gary Pajer
2003-10-30  2:54               ` Gary Pajer
2004-04-16 18:50                 ` Baffling error Paulo Ney de Souza
2004-04-16 19:24                   ` Willi Egger
2004-04-16 19:29                     ` Paulo Ney de Souza
2004-04-16 19:51                       ` Willi Egger
2004-04-16 19:56                         ` Paulo Ney de Souza
2004-04-16 20:10                           ` Willi Egger
2004-04-16 20:18                             ` Paulo Ney de Souza
2004-04-16 20:36                               ` Willi Egger
2004-04-17 11:44                               ` George N. White III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).