Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
Hi Taco,
Ok your hack works for small files but in my larger work this is causing TeX's 
capacity to overload (indeed, I don't think I've run into this particular 
overload message before; does the `255' signify some ceiling here?):
The definition is not recursive, but it should not be executed more 
than once because it saves the definition of \inmargin. Perhaps 
you have the \let line inside another macro or inside a buffer that 
is called more than once something similar.

If you can't figure out what goes wrong, send me a file please?
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Taco Hoekwater
Idris Samawi Hamid wrote:
I placed your definition in a \start-\stopenvironment file. The \inmargins are 
in \product files each of which calls the environment file in its preamble. If 
I compile just one product (say the second \product from the project), there 
appears to be no problem. But if I compile the entire project, TeX chokes on 
that same product.

Do you think this may be the problem?
Yes, because the environment file is read twice, you need a guard against 
redefining the redefinition. Placing a guard around it, like this, should work:
 \expandafter\ifx\csname normalinmargin \endcsname  \relax \else
   \let\normalinmargin\inmargin
   \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}
 \fi
(yes, that is an ugly hack, but it is one I can write withour actually having 
to test it before sending :))
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Idris Samawi Hamid
Hi Taco and all,

More on \inmargin and overfull boxes: If I define, e.g. a quote \start-stop 
the overfull boxes come back, even with Taco's definition:

==
\setupoutput[pdftex]%
\setupindenting[medium]

\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt\normalinmargin{#1}}}

\definestartstop
  [quote]
  [before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]

\starttext

\startquote

\input knuth \inmargin{This is a test.}

\input knuth {\parindent0pt\inmargin{This is a test.}}

\stopquote

\stoptext
==

Taco, any more hacks up your sleeve?
;-)

And thank you very much for the last ones!

Best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] INstalling a new version of context

2005-05-07 Thread olibou

Hello !

I tried to install a new version of context, since somebody suggest to
do it (BTW I do not know how know what version of context I have
... running texexec --version gives me the version of texexec, I
presume, not the version of context ... but anyway ... that not my
sole problem, as for now).

So I used to have a version of context install by default :-) on my
mandrake 10.1 distribution of linux ...

To upgrade I have downloaded
http://www.pragma-ade.com/context/current/cont-tmf.zip
and read also part of 
http://www.pragma-ade.com/general/manuals/minstall.pdf

It says that I have to unzip cont-tmf.zip in /usr/share/texmf ... 
which I have done ... 

And then they say we have to regenerate format  but I'm not that
expert to understand what it means ...
What I have done is fmtutil --all

But my context distrib does not work anymore ... ;-(

Could anybody help me ?

I have relink
ln -s /usr/share/texmf/context/perltk/texexec.pl /usr/bin/texexec 
since /usr/bin/texexec was the location where my shell use to find
texec ... But I'm probably messing everything doing that. 


Anyway, I have NOT regenerate the format and try to use texexec ..
but on a simple hello world example stored in hw.tex file :

\starttext
Hello World !
\stoptext

it gives me this output ;-(

[EMAIL PROTECTED]:~/E/Context
 # texexec --verbose hw.tex

 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

  current path : /home/oli/E/Context
 locating ini file : found by kpsewhich
   reading : /usr/share/texmf/context/config/texexec.ini
   setting : 'TeXShell' to 'tetex' for 'all'
   setting : 'UsedInterfaces' to 'en nl metafun mptopdf' for 'all'
   setting : 'UserInterface' to 'en' for 'all'
   setting : 'TeXExecutable' to 'tex' for 'all'
   setting : 'MpExecutable' to 'mpost' for 'all'
   setting : 'MpToTeXExecutable' to 'mpto' for 'all'
   setting : 'DviToMpExecutable' to 'dvitomp' for 'all'
   setting : 'DviSpecialScript' to 'dvispec' for 'all'
   setting : 'MpFormat' to 'metafun' for 'all'
   setting : 'TeXFormatFlag' to '' for 'all'
   setting : 'MpFormatFlag' to '' for 'all'
   setting : 'TeXFontsPath' to 'l:/tex/texmf;l:/tex/texmf-local;' 
for 'all'
   setting : 'TeXExecutable' to 'pdfetex' for 'tetex'
   setting : 'TeXVirginFlag' to '-ini' for 'tetex'
   setting : 'TeXPassString' to '-progname=context' for 'tetex'
   setting : 'TeXBatchFlag' to '-int=batchmode' for 'tetex'
   setting : 'MpToTeXExecutable' to 'mpto' for 'tetex'
   setting : 'MpVirginFlag' to '-ini' for 'tetex'
   setting : 'MpPassString' to '-progname=mpost' for 'tetex'
   setting : 'MpBatchFlag' to '-int=batchmode' for 'tetex'

  used setting : TeXShell = tetex
  used setting : SetupPath = 
  used setting : UserInterface = en
  used setting : UsedInterfaces = en nl metafun mptopdf
  used setting : TeXFontsPath = l:/tex/texmf;l:/tex/texmf-local;
  used setting : MpExecutable = mpost
  used setting : MpToTeXExecutable = mpto
  used setting : DviToMpExecutable = dvitomp
  used setting : TeXProgramPath = 
  used setting : TeXFormatPath = 
  used setting : ConTeXtPath = 
  used setting : TeXScriptsPath = 
  used setting : TeXExecutable = pdfetex
  used setting : TeXVirginFlag = -ini
  used setting : TeXBatchFlag = -int=batchmode
  used setting : MpBatchFlag = -int=batchmode
  used setting : TeXPassString = -progname=context
  used setting : TeXFormatFlag = 
  used setting : MpFormatFlag = 
  used setting : MpVirginFlag = -ini
  used setting : MpPassString = -progname=mpost
  used setting : MpFormat = metafun
  used setting : MpFormatPath = 
  used setting : FmtLanguage = 
  used setting : FmtBodyFont = 
  used setting : FmtResponse = 
  used setting : TcXPath = 
  used setting : SetFile = 

 applications will use : /usr/share/texmf/web2c/texmf.cnf
  locating fmtutil : /usr/bin/fmtutil

executable : pdfetex
format : cont-en
 inputfile : hw
output : standard
 interface : en
   options : verbose
  current mode : none
   TeX run : 1


pdfetex  -progname=context  \cont-en hw.tex

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./hw.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2005.01.31  fmt: 2005.5.7  int: english  mes: english

systems : pdfTeX version 110 - please update

systems : eTeX version 201 - too old (bugs)

language: language en is active
protectionstate 0
system  : cont-new loaded

RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Idris Samawi Hamid
Hi Taco and all,

I found a temporary solution: Given a \start-\stopnarrower environment like

===
\definestartstop
  [quote]
  [before={\startnarrower[1*middle]\blank[big]},
after={\stopnarrower\blank[big]}]
===

Then the following will avoid the overfull box:

===
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}

\def\INMARGIN#1{\advance\leftskip by -2\parindent
\inmargin{#1}
\advance\rightskip by -2\parindent}
===

Of course this solution is not general, and depends on the actual setup of 
\start-\stopnarrower. The general problem with \inmargin appears to be that 
all parindents need to be reset.

I could not find a correct way to incorporate my solution above into Taco's 
original definition. If any of you have a better idea, please let me know!

Best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

2005-05-07 Thread Idris Samawi Hamid
CORRECTION: should be

===
\let\normalinmargin\inmargin
\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}

\def\INMARGIN#1{{\advance\leftskip by -2\parindent
\inmargin{#1}
\advance\rightskip by -2\parindent}}
===


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: [NTG-context] BibTeX module (convert 'and others' to 'et~al.')

2005-05-07 Thread Michael Fuchs
Hi Taco!

You suggestion would give a publication list, where the
first author is printed and everything else is substitued
by et~al., right?

I would like to be able to do the following. I have several
bib-entries, which only one author and and others as the
second one. I also have entries, where i have more than one
author. I want to create a publication list, where to all
(to a certain limit) authors a printed individually and the
the ones given by and others produce an et~al. entry in
the list. Is that possible?

Regards

Michael

Taco Hoekwater schrieb:
 Michael Fuchs wrote:
 
 Hi!

 Is there a possibility to create 'et~al.' in a listed publication
 in the publication list?
 
 
 After loading the bib module, do:
 
  \setuppublicationlist
 [authoretallimit=1,
  artauthoretallimit=1,
  editoretallimit=1]
 
 Greetings, Taco
 ___
 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] BibTeX module (convert 'and others' to 'et~al.')

2005-05-07 Thread Taco Hoekwater
Michael Fuchs wrote:
I want to create a publication list, where to all
(to a certain limit) authors a printed individually and the
the ones given by and others produce an et~al. entry in
the list. Is that possible?
Sorry, but that is not possible (and not likely to be added either).
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] INstalling a new version of context

2005-05-07 Thread John R. Culleton
On Saturday 07 May 2005 06:01 pm, [EMAIL PROTECTED] wrote:
 Hello !

 I tried to install a new version of context, since somebody suggest to
 do it (BTW I do not know how know what version of context I have
 ... running texexec --version gives me the version of texexec, I
 presume, not the version of context ... but anyway ... that not my
 sole problem, as for now).

 So I used to have a version of context install by default :-) on my
 mandrake 10.1 distribution of linux ...

The upgrading of Context or even of pdftex is sufficiently
failure prone that I have given up trying. Instead I used the
latest packages from Slackware current and installed those.
When TeX live is updated again next winter I will upgrade to that
level. The instructions never seem to deal with the exact
configuration one is dealing with. Frankly I would rather spend
my time typesetting and laying out books. So I accept the newest
complete package that seems to work and reinstall. In theory I
could upgrade, in fact I am better off waiting for the next
complete distro from either TeXlive or Slack. 

John Culleton
The answers to all your publishing questions are found 
in the excellent books listed in the word-famous shortlist!
http://wexfordpress.com/tex/shortlist.pdf

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