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.
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
____________________________________________________
On Thu, 09 Oct 2003 09:47:51 +0200
Willi Egger
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.
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
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
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
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!
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
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!
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?
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
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
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,
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: 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
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
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
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
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
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
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
participants (6)
-
Gary Pajer
-
George N. White III
-
Patrick Gundlach
-
Paulo Ney de Souza
-
Pavel Stupin
-
Willi Egger