[NTG-context] Undefined control sequence.

2006-06-17 Thread Bernd Militzer
Hi,

for a large project I defined names for a lot of persons like

\global\def\PIDacht{Militzer, Hermann Paul (8)}
\global\def\PIDeinsacht{Militzer, Johann Wilhelm Hermann (16)}
\global\def\PIDdreidrei{Militzer, Henriette (33)}
\global\def\PIDachtviervieracht{Militzer, Adam (8448)}

\starttext
\PIDachtviervieracht
is ok

but

\section[UkPID8A]{\PIDacht\ -- Allgemein}
does not work!
\stoptext

I get:
(./FamMilitzerUrkunden.tuo) (./FamMilitzerUrkunden.tuo
! Undefined control sequence.
argument \PIDacht
\ -- Allgemein
\sanitizePDFdocencoding ...docencoding \edef #2{#1
  }
\doPDFinsertbookmark ...oding #3\to \bookmarktext
  \stripstring
\bookmarktext...
argument \flushbookmark
  \dodoputbookmarkelement {\v!
section }{3}{2}{\PIDei...
 
\secondoftwoarguments #1#2-#2
   
l.14 ...sacht \ -- Geburt}{1::0:0:2:0:0:0:0::1}{7}
   
?
! Emergency stop.

What is wrong?

thanks,

Bernd Militzer


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


Re: [NTG-context] How to make this section header in ConTeXt?

2006-06-17 Thread Jeroen Heijmans
Hans Hagen:
 rough approach
 ...



Thanks a lot, this is what I'm looking for - although it's a bit more  
involved than I had expected.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Peter Münster
On Sat, 17 Jun 2006, Bernd Militzer wrote:

 for a large project I defined names for a lot of persons like
 
 \global\def\PIDacht{Militzer, Hermann Paul (8)}
 \global\def\PIDeinsacht{Militzer, Johann Wilhelm Hermann (16)}
 \global\def\PIDdreidrei{Militzer, Henriette (33)}
 \global\def\PIDachtviervieracht{Militzer, Adam (8448)}
 
 \starttext
 \PIDachtviervieracht
 is ok
 
 but
 
 \section[UkPID8A]{\PIDacht\ -- Allgemein}
 does not work!
 \stoptext

Hello Bernd,
you certainly have \setupinteraction[state=start] \placebookmarks[section]
somewhere at the beginning of your file.
Place the \placebookmarks[section] after your PID-definitions and it should
work.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt 2006.06.09 released

2006-06-17 Thread Thomas A. Schmitz

On Jun 13, 2006, at 3:20 PM, Taco Hoekwater wrote:

 More importantly, there is a new beta/latest, with support for
 the pdftex 1.40 releases (currently in beta).

OK, since everybody else seems to know, I'm not afraid to  confess  
I'm stupid: what are the new features in pdftex 1.40 that the new  
beta now supports? I've been running 1.40 beta for a couple of months  
now and would just be curious.

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


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Bernd Militzer
Am Samstag, den 17.06.2006, 14:33 +0200 schrieb Peter Münster:

 Hello Bernd,
 you certainly have \setupinteraction[state=start] \placebookmarks[section]
 somewhere at the beginning of your file.
 Place the \placebookmarks[section] after your PID-definitions and it should
 work.
 Cheers, Peter

yes it does now, thanks

Bernd

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


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Mojca Miklavec
On 6/17/06, Bernd Militzer wrote:
 Hi,

 for a large project I defined names for a lot of persons like

 \global\def\PIDacht{Militzer, Hermann Paul (8)}
 \global\def\PIDeinsacht{Militzer, Johann Wilhelm Hermann (16)}
 \global\def\PIDdreidrei{Militzer, Henriette (33)}
 \global\def\PIDachtviervieracht{Militzer, Adam (8448)}

What about the following?

% \PID will create a new ently and \getPID will recall an existing one
\definesynonyms[PID][PIDs][\getPID]

\PID{8}{Militzer, Hermann Paul (8)}
\PID{16}{Militzer, Johann Wilhelm Hermann (16)}
\PID{33}{Militzer, Henriette (33)}
\PID{8448}{Militzer, Adam (8448)}

\starttext

\section[UkPID8A]{\getPID{8}\ -- Allgemein}

\stoptext

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


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Bernd Militzer
Am Samstag, den 17.06.2006, 16:22 +0200 schrieb Mojca Miklavec:

 What about the following?
 
 % \PID will create a new ently and \getPID will recall an existing one
 \definesynonyms[PID][PIDs][\getPID]
 
 \PID{8}{Militzer, Hermann Paul (8)}
 \PID{16}{Militzer, Johann Wilhelm Hermann (16)}
 \PID{33}{Militzer, Henriette (33)}
 \PID{8448}{Militzer, Adam (8448)}
 
 \starttext
 
 \section[UkPID8A]{\getPID{8}\ -- Allgemein}
 
 \stoptext
 
 Mojca

thanks, that solution ist perfect. 

Bernd

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


Re: [NTG-context] Undefined control sequence.

2006-06-17 Thread Peter Münster
On Sat, 17 Jun 2006, Mojca Miklavec wrote:

 % \PID will create a new ently and \getPID will recall an existing one
 \definesynonyms[PID][PIDs][\getPID]
 
 \PID{8}{Militzer, Hermann Paul (8)}
 \PID{16}{Militzer, Johann Wilhelm Hermann (16)}
 \PID{33}{Militzer, Henriette (33)}
 \PID{8448}{Militzer, Adam (8448)}

And if you want to avoid redundancy:

\definesynonyms[PID][PIDs][\doGetPID]

\def\getPID#1{Militzer, \doGetPID{#1}~(#1)}

\PID{8}{Hermann Paul}
\PID{16}{Johann Wilhelm Hermann}
\PID{33}{Henriette}
\PID{8448}{Adam}

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] splitting tables

2006-06-17 Thread Johannes Graumann
Hello,

I'd like to explicitly thank Hans for these changes to the table splitting,
which is giving my thesis the last touches. 

Thanks you for your openness towards ConTeXt's users - even the more
obnoxiously insisting ones ;0)

Joh

Hans Hagen wrote:

 Hi,
 
 I will upload an alpha release with a cleaned up table (float) split
 mechanism. The splitter works for all three table types, either or not
 in floats with repeated head (and tail) sections, optionally with
 automatic (may become default) caption height detection etc. It works ok
 on some simple test files, but I have no time to test more obscure
 situations.
 
 I'm not that sure if everything is downward compatible, but splitting is
 always tricky (and demanded some intervention) anyway. So, if you are
 using this kind of functionality, go ahead, download and test ..
 
 \setupTABLE[split=repeat]
 
 \input tufte \endgraf
 \splitfloat[lines=11]
   {\placetable{\dorecurse{10}{test\recurselevel\endgraf}}}
   {\bTABLE\dorecurse{100}{\bTR \bTD test \eTD \eTR}\eTABLE}
 \input tufte \page
 
 \input tufte \endgraf
 \splitfloat[lines=0]
   {}
   {\bTABLE\dorecurse{100}{\bTR \bTD test \eTD \eTR}\eTABLE}
 \input tufte \endgraf \page
 
 \input tufte \endgraf
 \bTABLE\dorecurse{100}{\bTR \bTD test \eTD \eTR}\eTABLE
 \input tufte \page
 
 \setuptabulate[split=yes]
 
 \input tufte \endgraf
 \splitfloat[lines=11]
   {\placetable{\dorecurse{10}{test\recurselevel\endgraf}}}
   {\starttabulate\dorecurse{200}{\NC test \NC test \NC \NR}\stoptabulate}
 \input tufte \page
 
 \input tufte \endgraf
 \splitfloat[lines=0]
   {}
   {\starttabulate\dorecurse{200}{\NC test \NC test \NC \NR}\stoptabulate}
 \input tufte \page
 
 \input tufte \endgraf
 \starttabulate\dorecurse{200}{\NC test \NC test \NC \NR}\stoptabulate
 \input tufte \page
 
 \setuptables[split=yes]
 
 \newtoks\TestToks
 
 \TestToks\emptytoks
 \appendtoks\starttablehead\to\TestToks
 \dorecurse{3}{\appendtoks\VL head \VL head \VL \SR\to\TestToks}
 \appendtoks\stoptablehead\to\TestToks
 \appendtoks\starttabletail\to\TestToks
 \dorecurse{3}{\appendtoks\VL tail \VL tail \VL \SR\to\TestToks}
 \appendtoks\stoptabletail\to\TestToks
 \appendtoks\starttables[|c|c|]\to\TestToks
 \dorecurse{100}{\appendtoks\VL test \VL test \VL \SR\to\TestToks}
 \appendtoks\stoptables\to\TestToks
 
 \input tufte \endgraf
 \splitfloat[lines=auto] % [lines=11]
   {\placetable{\dorecurse{10}{test\recurselevel\endgraf}}}
   {\the\TestToks}
 \input tufte \page
 
 \input tufte \endgraf
 \splitfloat[lines=0]
   {}
   {\the\TestToks}
 \input tufte \page
 
 \input tufte \endgraf
 \the\TestToks
 \input tufte \page
 
 Watch the lines=auto option! Mechanisms like this will never be perfect,
 but I think that the cleanup is not that bad. Especially the \startable
 bits and pieces needs some more testing, but then, i need to cleanup up
 that code anyway (write a cleaner version of that whole table mechanism).
 
 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] Beta Bibliography module

2006-06-17 Thread Johannes Graumann
Thanks Taco, for these changes. Have been using a preliminary version of
this for a while in my 200 pages thesis with chapter specific
bibliographies of hundred entries and up. Works marvelously!

Joh

Taco Hoekwater wrote:

 Hi all,
 
 
 I've just released a beta of the bibliography module for testing.
 It can be downloaded from http://modules.contextgarden.net/bib
 as usual, and the version is now 2006.06.16
 
 News, compared to the previous (April 11) version that is in the
 core distribution:
 
 * Better support for per-chapter bibliographic lists
(citations now repeat in each chapter)
 
 * The \lang (LANGUAGE) database field is now honoured
(if the content is a valid ConTeXt language, that is)
 
 * \biburl fields are now typeset using \hyphenatedurl
 
 * \month field conversion can now be controlled through
\setuppublication[monthconversion=]
 
 * The module now uses \undefinedreference for undefined references
 
 * \usemodule[bibltx] provides \newcommand for legacy databases
 
 * Documentation updated (\nocite is documented now)
 
 Have fun,
 
 Taco


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