Re: [NTG-context] no footnote printed

2012-11-14 Thread Bernd Militzer

Am 13.11.12 13:36, schrieb Hans Hagen:

On 11/13/2012 11:05 AM, Bernd Militzer wrote:

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla

you can try with

\automigrateinserts


Thanks Hans, but it does not work.

I use now in instead:

\def\mySchopf#1{\strut\hfill{~{#1}\hfill~}}
%
\mySchopf{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
and all is OK for me.

Best wishes,
Bernd


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] no footnote printed

2012-11-13 Thread Bernd Militzer

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla
%
\stoptext

tested with:
ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.9  int: english/english
LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
and
ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.24  int: english/english
luatex, version beta-0.70.2-2012052309 (tex live 2012)


thanks for help

Bernd




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] no footnote printed

2012-11-12 Thread Bernd Militzer

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla
%
\stoptext

tested with:
ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.9  int: english/english
LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
and
ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.24  int: english/english
luatex, version beta-0.70.2-2012052309 (tex live 2012)


thanks for help

Bernd
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] no footnote printed

2012-11-12 Thread Bernd Militzer

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla
%
\stoptext

tested with:
ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.9  int: english/english
LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
and
ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.24  int: english/english
luatex, version beta-0.70.2-2012052309 (tex live 2012)


thanks for help

Bernd
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] subsection and special characters

2009-11-01 Thread Bernd Militzer

Wolfgang Schuster schrieb:


\define\nmacron{n̄}
\define\mmacron{m̄}


Thanks Wolfgang, but with

\define\nmacron{\buildtextaccent\textmacron n}
\define\mmacron{\buildtextaccent\textmacron m}

I get an better result.


Bernd
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] subsection and special characters

2009-10-31 Thread Bernd Militzer

Hi all,

making transcriptions of old church books I defined two  special 
characters nmacorn  and  mmacron, but  when  using  subsections the 
characters are not printet. Has something changed or is this a bug?


% ---snip
%
\enableregime[utf] 
\mainlanguage[de]

\setupencoding[default=texnansi]
%
\usetypescript[modern]   % als Standardschrift
\usetypescript[chorus]   % als Schreibschrift
\setupbodyfont[modern,12pt]  % allgemeine Schrift für das Dokument
%
%
\startencoding[default]
\definecharacter nmacron {\buildtextaccent\textmacron n}
\definecharacter mmacron {\buildtextaccent\textmacron m}
\stopencoding
%
\startbuffer
Die Wiedergabe der Kirchenbucheinträge lehnt sich an die {\bi 
ursprüngliche} Schreibweise an.
So wurde in der Regel über dem {\bi u} ein Querstrich geschrieben, also 
{\bi \u{u}} oder

man schrieb ko\mmacron en, statt kommen oder beka\nmacron t statt bekannt.
\stopbuffer
%
\starttext
%
\startchapter[title={Vorbemerkungen}]
\startsection[title={Test}]
\getbuffer\hfill  OK
\stopsection
\startsection[title={Das Dokument}]
  \startsubsection[title={Allgemein}]
  \getbuffer\hfill PROBLEM !?
  \stopsubsection
  \startsubsection[title={Das Taufregister}]
  \getbuffer \hfill PROBLEM !?
  \stopsubsection
\stopsection
\startsection[title={Das Heiratsregister}]
\getbuffer\hfill  PROBLEM !?
\stopsection
\stopchapter
%
%
\stoptext
%
% --- snip


This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.09.12 14:44 MKIV  fmt: 2009.9.13  int: english/english


Thanks for help

Bernd


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \startchapter

2009-09-14 Thread Bernd Militzer




Hallo Hans,

please have a look at my testfile:


% --- snip
\setupcolors[state=start]
\setupinteraction[state=start]
\placebookmarks[chapter,section,subsection][chapter,section,subsection]
\setupinteractionscreen[option=bookmark]
%
\starttext
%
\placelist[chapter,section][criterium=all,interaction=text]
%
% this works !
%
\startchapter[title={Geburten 1606--1737},list={Geburten
1606--1737},bookmark={Geburten},reference={Geburten}]
%
% this does not work! no title in text, no title in list, no bookmark
text,  no reference!!!
%
 \startsection[title    ={Getafte A. dominj 1606},%
   list ={Geburten 1606},%
   bookmark ={Geb-1606},%
   reference={Geb:1606}]
%
\input tufte
\stopsection
%
\page
% this works!
ref Geburten: \about[Geburten]
\vspacing[12pt]
% this does not work!
ref 1606: \about[Geb:1606]
\stopchapter
%
\stoptext
% --- snip

This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.09.12 14:44 MKIV  fmt: 2009.9.13  int:
english/english



Thanks

Bernd



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \startchapter

2009-09-14 Thread Bernd Militzer

Wolfgang Schuster schrieb:


Am 14.09.2009 um 12:27 schrieb Bernd Militzer:


 \startsection[title={Getaŭfte A. dominj 1606},%
   list ={Geburten 1606},%
   bookmark ={Geb-1606},%
   reference={Geb:1606}]


remove the space between the keys and the '='


thanks, Wolfgang, it works now!

Bernd

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] index and LuaTeX

2009-09-11 Thread Bernd Militzer




Hello,

using
This is luatex, version beta-0.43.0-2009081911
ConTeXt  ver: 2009.09.09 14:31 MKIV  fmt: 2009.9.10  int:
english/english

The following code does not work like accepted,
the index is OK, but  for index "last" and "Militzer"
no interaction are possible !

% --- snip
\setupcolors[state=start]
\setupinteraction[state=start]
%
\definestartstop[Vorgang] [before={\bgroup \startlines},
after={\stoplines \egroup \blank}] % Mark II and Mark IV
%
%\definestartstop[Vorgang] [before={\bgroup \startlines},
after={\stoplines \egroup \vspacing[medium,strong]
\vspacing[small,weak] }] % only Mark IV
%
%
\starttext
%
\startVorgang
   just a text \dots 
   \index[one]{one}\index[two]{two}\index[three]{three}
\stopVorgang
%
\startVorgang
   just a text \dots 
   \index[last]{last}\index[militzer]{Militzer+Bernd}
\stopVorgang
%
\page
\placeindex[alternative=A]
%
\stoptext
% --- snip

What is wrong?

with 
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=cont-en
2009.9.10)  11 SEP 2009 12:18
ConTeXt  ver: 2009.09.09 14:31 MKII  fmt: 2009.9.10  int:
english/english
the example works.


Bernd






___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] index and interaction

2009-09-09 Thread Bernd Militzer

Hi all!

using

pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.9.7  int: english/english
or
This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.08.19 17:10 MKIV  fmt: 2009.9.7  int: english/english

the following code does not work like accepted:

% --- snip
\setupcolors[state=start]
\setupinteraction[state=start]
%
\starttext
\input tufte
\index[one]{one}\index[two]{two}\index[last]{last}
%
\page
\placeindex[alternative=A]
\stoptext
% --- snip

The index is OK, but no interaction are possible !

zur Seite(null)

What is wrong?


Bernd



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] defineenumeration and LuaTeX

2009-09-07 Thread Bernd Militzer

Hi all,

\in[ref] does not work with
LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.08.30 12:25 MKIV  fmt: 2009.9.7  int: english/english

% --- snip
%
\defineenumeration[frage][location=inleft,text=,stopper=.,headstyle=bold]
%
%
\starttext
%
Anzahl der Aufgaben: \in[last]

\blank
\startfrage[1]
\dorecurse{3}{text text text \dots}
\stopfrage
%
\startfrage[2]
\dorecurse{3}{text text text \dots}
\stopfrage
%
\startfrage[last]
\dorecurse{3}{text text text \dots}
\stopfrage
%
\stoptext
%
%  snip

with:
pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
ConTeXt  ver: 2009.08.30 12:25 MKII  fmt: 2009.9.7  int: english/english

\in[ref] works like accepted.


Thanks for help


Bernd
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] defineenumeration and LuaTeX

2009-09-07 Thread Bernd Militzer

Thanks Luigi,

the minimals-current works like accepted.

Regards,
Bernd






___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] gwTeX ghostscript

2007-06-05 Thread Bernd Militzer
David Arnold schrieb:
 All,

 I anyone is running gwTeX on a mac, may I ask two questions:

 1. Is the i-installer still running Context Updater properly?
   
I think yes
 2. How do I access ghostscript from the command line?
   
gv filename

Bernd
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] xml problem

2007-04-16 Thread Bernd Militzer

Hi Hans,

first thanks for your help at Epen, but reading the different documents 
I could not find out how to define a macro to get the value of a 
specific element of an xml-file.

Running your example I get all elements.

For example:
I wont to get the value of the first name for person pid=66

\def\getFirstName#1{{\enableXML\getvalue{person:#1}}} % what is  here to 
change?


Thanks for help again

Bernd
?xml version=1.0?

start 
	ref name=persons/ 
/start 

define name=persons 
	element name=persons 
		zeroOrMore 
			choice 
			ref name=persons.person/ 
			/choice 
		/zeroOrMore 
	/element 
/define 


define name=persons.person 
	element name=person 
		interleave 
			optional ref name=person.Fam/ /optional 
			optional ref name=person.Nam/ /optional 
			optional ref name=person.Vor/ /optional 
			optional ref name=person.Ruf/ /optional 
			optional ref name=person.Geb/ /optional 
			optional ref name=person.GebOrt/ /optional 
			optional ref name=person.GebZeit/ /optional
			optional ref name=person.Tau/ /optional 
			optional ref name=person.TauOrt/ /optional 
			optional ref name=person.Konf/ /optional
			optional ref name=person.Pate1/ /optional  
			optional ref name=person.Pate2/ /optional  
			optional ref name=person.Pate3/ /optional  
			optional ref name=person.Pate4/ /optional 
			optional ref name=person.Konfi/ /optional 
			optional ref name=person.KonfiOrt/ /optional
			optional ref name=person.Kommu/ /optional 
			optional ref name=person.KommuOrt/ /optional
			optional ref name=person.Hei/ /optional 
			optional ref name=person.HeiOrt/ /optional 
			optional ref name=person.Amt/ /optional 
			optional ref name=person.AmtOrt/ /optional
			optional ref name=person.Partner/ /optional
			optional ref name=person.Tod/ /optional 
			optional ref name=person.TodOrt/ /optional 
			optional ref name=person.TodZeit/ /optional 
			optional ref name=person.Alter/ /optional 
			optional ref name=person.Urs/ /optional
			optional ref name=person.Grab/ /optional 
			optional ref name=person.GrabOrt/ /optional 
			optional ref name=person.Ber/ /optional 
			optional ref name=person.Zus/ /optional 
			optional ref name=person.GeschwZahl/ /optional 
			optional ref name=person.Geschw1/ /optional 
			optional ref name=person.Geschw2/ /optional 
			optional ref name=person.Geschw3/ /optional 
			optional ref name=person.KinderZahl/ /optional 
			optional ref name=person.Kind1/ /optional 
			optional ref name=person.Kind2/ /optional 
			optional ref name=person.Kind3/ /optional 
			optional ref name=person.Kind4/ /optional 
			optional ref name=person.Vater/ /optional 
			optional ref name=person.Mutter/ /optional
			optional ref name=person.UGebKi/ /optional 
			optional ref name=person.UGebAmt/ /optional 
			optional ref name=person.UTaufe/ /optional 
			optional ref name=person.UKonfi/ /optional 
			optional ref name=person.UHeiKi/ /optional 
			optional ref name=person.UHeiAmt/ /optional 
			optional ref name=person.UTodKi/ /optional 
			optional ref name=person.UtodAmt/ /optional 
		/interleave 
		attribute name=pid/ 
	/element 
/define 


  define name=person.Fam
element name=Familienname
  text/
/element
  /define



persons
	person pid=1a 
		FamMilitzer/Fam 
		VorKai Uwe/Vor 
		RufKai/Ruf
		Geb21. August 1980/Geb
		GebOrtKrefeld/GebOrt
		Vater2/Vater
		Mutter3/Mutter
	/person 

	person pid=1c 
		FamMilitzer/Fam 
		VorJan Erik/Vor 
		RufJan/Ruf
		Geb3. September 1981/Geb
		GebOrtKrefeld/GebOrt
		Vater2/Vater
		Mutter3/Mutter
	/person 

	person pid=66 
		FamMilitzer/Fam 
		VorJohann Christoph Erdmann/Vor 
		RufJohann/Ruf
		Geb27. August 1797/Geb
		GebOrtUnterkoskau/GebOrt
		Vater132/Vater
		Mutter133/Mutter
	/person 
	
	person pid=67 
		FamRudolph/Fam 
		VorJohanne Christiane Friedericke/Vor 
		RufJohanne/Ruf
		Geb21. Juli 1804/Geb
		GebOrtOberkoskau Obermühle/GebOrt
		Vater134/Vater
		Mutter135/Mutter
	/person 

	
	person pid=2112 
		FamMilitzer/Fam 
		VorAdam/Vor 
		RufAdam/Ruf
		Tau16. November 1670/Tau
		GebOrtUnterkoskau/GebOrt
		Vater4224/Vater
		Mutter4225/Mutter
	/person 
	
	person pid=4224 
		FamMilitzer/Fam 
		VorJohannes/Vor 
		RufHans/Ruf
		Tau4. Januar 1630/Tau
		GebOrtUnterkoskau/GebOrt
		Vater8448/Vater
		Mutter8449/Mutter
	/person 



/persons




getData.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] module and def commands problem

2007-04-05 Thread Bernd Militzer
Wolfgang Schuster schrieb:


 Replace the four commands in your file with the next ones:

 \def\Fach#1 {\def\internFach{#1}}
 \def\Thema#1{\def\internThema{#1}}
 \def\SchulJahr#1{\def\internSchulJahr{#1}}

 \def\SpezialTitel{\internFach\hfill\internThema\hfill\internSchulJahr\blank} 


 You can also remove the \startvariables .. \stopvariables part from your
 module, you need them only for keyval commands.

Thanks Wolfgang,  but after the change I get the same error
(./p-testde.tex)
! Undefined control sequence.
argument ...st it} \subject {FixMe} \SchoolYear
  {2006/07} \question 
test i...

\firstofoneargument #1-#1
 
l.53 }

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


Re: [NTG-context] itemize in blocks

2007-04-05 Thread Bernd Militzer
Wolfgang Werners-Lucchini schrieb:
 Hallo,

 what I am doing wrong with the following snipped?

 The \par in the \item does not work.
 ---
 \defineenumeration[question][location=top,text=Aufgabe]
 \defineblock[question]

 \starttext
 \chapter{Aufgaben}
 \beginquestion
 \question
 \startitemize[a]
 \item Zick
   
use: \crlf or \blank and not \par
 \par % This \par does not work!
   
use \par at the end of the question
 Mehr Zick
 \stopitemize
   
use: \par here
 \endquestion
 \stoptext
   
% test
\defineenumeration[question][location=top,text=Aufgabe]
\defineblock[question]

\starttext
\chapter{Aufgaben}
%\beginquestion
\question[1]
\startitemize[a]
\item Zick
\blank% ore \crlf % but not \par % This \par does not work!
Mehr Zick
\stopitemize
\par
\question[2]
just a test
\par
%\endquestion
\stoptext
%
that works on my notebook

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


[NTG-context] module and def commands problem

2007-04-05 Thread Bernd Militzer

Hi Taco,
instead of  writing a FixMe-module I just started to make my exam-module 
from 2003 a bit more international.


As a first test I set up some commands in german and english
see file p-testDE.tex

running texexec test1.tex  the output is ok
but
running texexec --mode=english test1.tex
I get an error:
system  : module testDE loaded
(./p-testde.tex)
! Undefined control sequence.
argument ...st it} \subject {FixMe} \SchoolYear
 {2006/07} \question 
test i...


\firstofoneargument #1-#1
 
l.53 }


What is going wrong with my command-definations? I have no idea!

What did I fail to do?

Cheers,
Bernd


p-testDE.tex
Description: TeX document


test1.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Symbols

2007-02-21 Thread Bernd Militzer
Hi all!
in the past the following testfile works
but now 

! Font \thedefinedfont=fmvr8x at 12.0pt not loadable: Metric (TFM) file 
not fou
nd.
recently read \scaledfont
   
\symbolicsizedfont ...ntfontbodyscale \scaledfont
  \thedefinedfont
\getglyph #1#2-{\symbolicfont {#1}
   \doifnumberelse {#2}\char \donothing #2}
\dodosymbol ...bol \csname \??ss :#1:#2\endcsname
  \relax }\relax
\donormalsymbol ... {#1}{#2}{\dodosymbol {#1}{#2}}
  \else \edef 
\currentsymbol...
l.20 ...n\dots\  \symbol[martinvogel 2][Telephone]
   
% TEST
\enableregime[il2]
\mainlanguage[de]
\setupencoding[default=texnansi]
\usetypescript[modern][\defaultencoding]
\setupbodyfont[modern,rm,12pt]
%
\starttext
%
Telephon\dots\  \symbol[martinvogel 2][Telephone]
%
\stoptext

What have I to do?

thanks for help

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


Re: [NTG-context] Symbols

2007-02-21 Thread Bernd Militzer
Taco Hoekwater schrieb:
 These two lines in your preamble should fix the problem:

\definefontsynonym[fmvr8x][umvs]
\loadmapline[+][umvs MarVoSym marvosym.pfb]

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


[NTG-context] \texteuro does not work

2007-02-12 Thread Bernd Militzer
Hi all,

\starttext
5,00\,\texteuro
\stoptext

does not work any more. What have I to do?


Bernd


here the message from contextgarden

systems : begin file texweb at line 2
! Font \thedefinedfont=fmvr8x at 12.0pt not loadable: Metric (TFM) file 
not fou
nd.
recently read \scaledfont

\symbolicsizedfont ...ntfontbodyscale \scaledfont
\thedefinedfont
\getglyph #1#2-{\symbolicfont {#1}
\doifnumberelse {#2}\char \donothing #2}
\dodosymbol ...bol \csname \??ss :#1:#2\endcsname
\relax }\relax
\donormalsymbol ... {#1}{#2}{\dodosymbol {#1}{#2}}
\else \edef \currentsymbol...
l.5 5,00\,\texteuro

?
! Emergency stop.
recently read \scaledfont

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


Re: [NTG-context] \texteuro does not work

2007-02-12 Thread Bernd Militzer
Aditya Mahajan schrieb:
 On Mon, 12 Feb 2007, Bernd Militzer wrote:

   
 Hi all,

 \starttext
 5,00\,\texteuro
 \stoptext

 does not work any more. What have I to do?
 

 Short answer: use texnansi encoding.

 \setupencoding[default=texnansi]
 \usetypescript[modern][\defaultencoding] 
 \setupbodyfont[modern,rm,11pt]

 or

 \usetypescript[modern][encoding=texnansi]
 \setupbodyfont[modern,rm,11pt]
   
thanks for that hint
Bernd
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \texteuro does not work

2007-02-12 Thread Bernd Militzer
Wolfgang Schuster schrieb:
 Hi Bernd,

 I tried this on my system and it work with \texteuro and \euro. Dont't
 I my sytem or contextgarden is wrong, because ConTeXt use on my machine
 the euro sign from the marvosym fonts and not from fmvr8x.

 What is the result from your own system, did id work or fail. Do you
 have a message like
 c:\context\usr\local\context\tex
 \texmf/fonts/type1/public/marvosym/marvosym.
 pfb{c:\context\usr\local\context\tex\texmf/fonts/enc/dvips/lm/lm-ec.enc}c:\co
 ntext\usr\local\context\tex\texmf/fonts/type1/public/lm/lmr12.pfb
 at the end of your log file or get you the same output as the one above
 frome the garden.
   
I get:
Transcript written on mfput.log.
grep: fmvr8x.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input fmvr8x' failed to make fmvr8x.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \thedefinedfont=fmvr8x at 12.0pt not loadable: Metric (TFM) file 
not found.
but with:
\setupencoding[default=texnansi]
\usetypescript[modern][\defaultencoding] \setupbodyfont[modern,rm,12pt]
all problems are gone

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


Re: [NTG-context] beta

2006-10-03 Thread Bernd Militzer
Hans Hagen schrieb:

 \starttext
 %
 \SetTableToWidth{\textwidth}
 \setuptables[split=yes,bodyfont=9pt]
   
 
 ok, i'll fix this (starttables is kind of obsolete; all table commands accept 
 split=auto|yes|repeat 

 [auto means that they will split when needed] 

   
Hi Hans
did You have time to fix it?

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


Re: [NTG-context] part conversion

2006-10-02 Thread Bernd Militzer
Idris Samawi Hamid schrieb:
 Dear gang,

 For a dossier I need to prepare a single part with page numbers I-1, I-2,  
 I-3 etc. The following gives 1-1, 1-2, etc.

 ==
 \starttext
   
\setuppagenumbering[state=start,partnumber=no,left={I-},right=,conversion=numbers]

 \part{}

 \dorecurse{12}{\input knuth\par}

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


Re: [NTG-context] beta

2006-09-19 Thread Bernd Militzer
Hi Hans,

please check the running table-heads

producing a table over several pages
1. the running tablehead is only on first page
2. the running tablefoot is only on the last page

that was not in version 5.2.4 

% -- TestFile
\starttext
%
\SetTableToWidth{\textwidth}
\setuptables[split=yes,bodyfont=9pt]
\starttablehead
\HL
%
\NC Datum\NC Text\NC\FR %  \AR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
%
\starttables[|l|l|]
%
\dorecurse{50}{
\NC 2006-08-18 \NC TestTest 1\NC\AR
\NC 1771-12-05 \NC TestTest 2\NC\AR
}
\NC\NC\NC\LR % Last Row \AR
%
\stoptables

\stoptext

thanks

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


Re: [NTG-context] beta

2006-09-18 Thread Bernd Militzer
Hans Hagen schrieb:
 Hi,

 I uploaded a beta release. If no further problems with the upgraded 
 figure inclusion and adapted metapost conversion are reported, we will 
 go current (otherwise a changelog will be impossible, even if most 
 changes are not reportable anyway)


 Hans

   
Hi Hans,

\placetable[here,force][Nr15-1]
{none}
{\startcombination[2]
{\externalfigure[Kto1A.tmp][width=0.5\textwidth]}{}
{\externalfigure[Kto1B.tmp][width=0.5\textwidth]}{}
\stopcombination}


produce:

! Missing number, treated as zero.
to be read again
   \@@co2height
\dostartcombination ...nationparameter \c!height }
  \bgroup \expanded 
{\dodost...
to be read again
   {
l.68 {
  \externalfigure[Kto1A.tmp][width=0.5\textwidth]}{}
?

that problem is not fixed!?

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


Re: [NTG-context] beta

2006-09-18 Thread Bernd Militzer
Hi Hans,

producing a table over several pages

1. the running tablehead is only on first page
2. the running tablefoot is only on the last page

that problem is also not fixed.

Bernd


%%%  TestFile
%
\starttext
%
\SetTableToWidth{\textwidth}
\setuptables[split=yes,bodyfont=9pt]
\starttablehead
\HL
%
\NC\use{2}\ReFormat[lp(0.28\textwidth)]{Datum\hfill Ereignis} \NC Person 
\NC PID \NC {\it PID} \NC\tfx  Seite\NC\tfx Beleg\NC\FR %  \AR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
%
\starttables[|lp(0.2\textwidth)|lp(0.04\textwidth)|lp(0.3\textwidth)|lp(0.05\textwidth)|lp(0.05\textwidth)|rp(0.06\textwidth)|lp(0.05\textwidth)|]
%
\dorecurse{50}{
\NC 2006-08-18 \NC U \NC Militzer, Bernd\NC 002\NC 003\NC \NC J\NC\AR
\NC 1771-12-05 \NC G \NC Rudolph, Johann Heinrich\NC 134\NC 135\NC \NC 
J\NC\AR
}
\NC\NC\NC\NC\NC\NC\NC\NC\LR % Last Row \LR
%
\stoptables

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


Re: [NTG-context] beta

2006-09-18 Thread Bernd Militzer
Peter Münster schrieb:
 On Mon, 18 Sep 2006, Bernd Militzer wrote:

   
 {\startcombination[2]
 

 2 is not a matrix. Try \startcombination[1*2] or \startcombination[2*1].
 Cheers, Peter

   
thanks Peter,
it works again. With version 5.2.4 it worked also with 2 alone

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


Re: [NTG-context] ConTeXt problem on Mac mini

2006-09-17 Thread Bernd Militzer

Mojca Miklavec schrieb:

A notice for Hans: can you please browse down for
\externalfigure[\jobname-something.tmp]

The thing with \AR versus \FR  \LR and table header  footer handling
might also be misfeatures, esp. if they have already worked before (I
never used them).

On 9/15/06, Bernd Militzer wrote:
  

Hi all,

I have problems with ConTeXt on my Mac mini (intel-platform).

My family project compiles perfect on my linux-machine and on my
PowerBook G4



The table causes problems here as well, so it's certainly not machine-specific.

  

Hi Mojca,

first thanks for your hints and testing my TestFile.

While creating different examinations this weekend  for my students I 
ran again in trap using tables. But this time I did not use any macro. 
Just two simple tables.


The example works with  context : ver: 2005.01.31
but not with  ConTeXt ver: 2006.08.22

The main problem is that \placetable with \startcombination ... does not 
work!



Bernd


TestFile2.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt problem on Mac mini

2006-09-15 Thread Bernd Militzer

Hi all,

I have problems with ConTeXt on my Mac mini (intel-platform).

My family project compiles perfect on my linux-machine and on my 
PowerBook G4


I use  TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005

 texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
 context : ver: 2005.01.31

but not  Mac mini (intel-platform)

I installed ConTeXt with Gerbens i-installer and have here version
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

running   texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: 2006.09.11 00:42
TeXExec | format path: . /Users/bmi/Library/texmf/web2c 
/usr/local/teTeX/share/texmf.local/web2c 
/usr/local/teTeX/share/texmf.gwtex/web2c 
/usr/local/teTeX/share/texmf.tetex/web2c /usr/local/teTeX/share/texmf/web2c

TeXExec | start of analysis
/usr/local/teTex/share/texmf.local/scripts/context/ruby/texexec.rb:17: 
command not found: texmfstart texexec --help
/usr/local/teTex/share/texmf.local/scripts/context/ruby/texexec.rb:17: 
command not found: texmfstart texutil --help
/usr/local/teTex/share/texmf.local/scripts/context/ruby/texexec.rb:17: 
command not found: texmfstart ctxtools --help

TeXExec | end of analysis

running texexec --pdf TestFile1.tex


! Misplaced \noalign.
\TABLEnoalign -\noalign
   \bgroup \let \noalign \relax \let \next =
\insertTABLEtail -\TABLEnoalign
   {\global \settrue \preventTABLEbreak 
\globa...


\stoptables ...erepeattail \else \insertTABLEtail
\fi \finishTABLE 
\egroup \...


\stopListeR -\stoptables
\stop
l.8 \stopListeR
 ?

after that I changed in my table-macro
first row: \NC\AR to \NC\FR
last row: : \NC\AR to \NC\LR

running texexec --pdf TestFile2.tex
I get no error, but
1. placetable ... \externalfigure[buffername.tmp]  does not work
  getbuffer produce the table
2. the running tablehead is only on first page
3. the running tablefoot is only on the last page

I have no idea what to do?

Is it an installation problem?
or is something wrong with my macros?

every hint is welcome
and thanks for help

Bernd


TestFile1.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] TABLEproblem

2006-09-07 Thread Bernd Militzer
Aditya Mahajan schrieb:
 Looks like tables want the first row to contain a \SR. I get the same 
 error with the more simple

 \starttext
 \starttables[|l|l|]
 \NC A \NC B   \NC\AR
 \stoptables
 \stoptext

 Replace \AR by \SR and everything works fine. I do not usually use 
 tables, so I do not know if this is a bug or a feature.

   
thanks Aditya, but I have still a problem.

%
\starttext
%
%
\def\Pers{134}

\starttables[|l|l|]
\NC Namen\NC \getPID{134}\NC\FR % OK works
\NC Namen\NC \getPID{134}\NC\SR % OK works
\NC Namen\NC \getPID{134}\NC\AR % OK works
%\NC Namen\NC \getPID{\Pers}\NC\AR % problem with \Pers
%
\NC Namen\NC \doGetPID{Fam}{134}\NC\AR
% \NC Vornamen\NC \getVor{\Pers}\NC\LR % problem with \Pers
\NC Vornamen\NC \getVor{134}\NC\AR % OK works but not on last line
\NC Geburt\NC \getGeburt{134}\NC\LR %
%
% problem with empty lines
%
\stoptables
%
\stoptext

Greetings

Bernd

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


[NTG-context] TABLEproblem

2006-09-06 Thread Bernd Militzer

Hi all,

after I installed ConTeXt (TeXExec | version 6.2.0 - 1997-2006 - PRAGMA 
ADE/POD) om my MacMini my family-project does not compile any more.

With version 5.2.4 -1967-2005 (linux resp. PowerBook) I have no problems.

systems : begin file TestFile at line 731
TestFile-PID0134-A.tmp
(/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex)
section : 1 \getPID {134}
(./TestFile-PID0134-A.tmp
Underfull \vbox (badness 1) detected at line 12
references  : unknown reference [][PID135dat]
references  : unknown reference [][PID67dat]
references  : unknown reference [][PID268dat]
references  : unknown reference [][PID269dat]
references  : unknown reference [][PID134adat]
! Misplaced \noalign.
\TABLEnoalign -\noalign
\bgroup \let \noalign \relax \let \next =
\insertTABLEtail -\TABLEnoalign
{\global \settrue \preventTABLEbreak 
\globa...


\stoptables ...erepeattail \else \insertTABLEtail
 \fi \finishTABLE 
\egroup \...


\StopPersDatTab -\stoptables
 \stop
l.25 \StopPersDatTab
   
?


I have no idea what to do.
every hint is welcome.
Thanks for help.

Bernd


TestFile.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] doifempty

2006-08-10 Thread Bernd Militzer
Hi all,

after I defined

\def\VariA{}
\def\VariB{with Text}

\doifemptyelse{\VariA}{empty}{not empty}\crlf
\doifemptyelse{\VariB}{empty}{not empty}

both results are not empty!

what do I wrong?

thanks for help

Bernd

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


Re: [NTG-context] doifempty

2006-08-10 Thread Bernd Militzer
Hans Hagen schrieb:
 the empty test is kind of special, use \doifelsenothing cum suis
   
perfect, thanks a lot

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


Re: [NTG-context] definesynonyms

2006-07-28 Thread Bernd Militzer
Am 27.07.2006 um 07:54 schrieb Aditya Mahajan:


 You can also do

 \def\PID[#1]#2[#3]{\getparameters[PID#1][#3]}
 % #2 is to gobble spaces


thanks for that hint Aditya!

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


Re: [NTG-context] definesynonyms

2006-07-28 Thread Bernd Militzer

Am 28.07.2006 um 16:34 schrieb Taco Hoekwater:


 There is also this (more formal) solution:

\def\PID{\dodoubleempty\doPID}
\def\doPID[#1][#2]{\getparameters[PID#1][#2]}

thanks Taco!

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


Re: [NTG-context] definesynonyms

2006-07-25 Thread Bernd Militzer
Thanks a Taco!

with PID[268]%
  ^
[Fam=Rudolph,
 Nam=Rudluffen,
 Vor=Adam]

all is ok.

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


Re: [NTG-context] definesynonyms

2006-07-25 Thread Bernd Militzer

Am 24.07.2006 um 11:11 schrieb Taco Hoekwater:


 But it is probably easier to write a small database interface
 layer. Somewhat like this (note that I had to change \doGeTPID
 as well).

\def\PID[#1][#2]{\getparameters[PID#1][#2]}

\def\doGetPID#1#2{\getvalue{PID#2#1}}

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

\PID[268]
[Fam=Rudolph,
 Nam=Rudluffen,
 Vor=Adam]

Thanks Taco for that example, but sorry it dos not work.

Runaway argument?
268] [Fam=Rudolph, Nam=Rudluffen, Vor=Adam]
! Paragraph ended before \PID was complete.
to be read again
\par
l.57

I have no idea.

Bernd

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


[NTG-context] definesynonyms

2006-07-23 Thread Bernd Militzer
Hi all,


for a large ancestor-project I defined a set of informations for a  
lot of persons like you can see below.

QUESTION: how many synonyms  can I  max. define? I need about 4000 defs.

or has someone a better idea to handle those informations.

thanks for help!

Bernd


% -- snip
%
\definesynonyms[PID][PIDs][\doGetPID]

\PID{Fam268}{Rudolph}
\PID{Nam268}{Rudluffen}
\PID{Vor268}{Adam}
\PID{Ruf268}{Adam}
\PID{Geb268}{k.A.}
\PID{GebOrt268} {Oberkoskau}
\PID{Tau268}{19. Mai 1725}
\PID{TauOrt268} {Unterkoskau}
\PID{Hei268}{17. November 1755}
\PID{HeiOrt268} {Willersdorf}
% \PID{Amt268}  {}
% \PID{AmtOrt268}   {}
\PID{Tod268}{14. Februar 1781}
\PID{TodOrt268} {Oberkoskau}
\PID{Alt268}{55 Jahre, 9 Monate, 3 Tage}
\PID{Urs268}{nach dreitägiger Krankheit}
\PID{Grab268}   {14. Februar 1781}
\PID{GrabOrt268}{Unterkoskau}
\PID{Ber268}{Müller}
\PID{Zus268}{Besitzer der Obermühle}
%
\PID{Fam2112}   {Militzer}
\PID{Nam2112}   {Mielitzer}
\PID{Vor2112}   {Adam}
\PID{Ruf2112}   {Adam}
\PID{Geb2112}   {k.A.}
\PID{GebOrt2112}{Unterkoskau}
\PID{Tau2112}   {16. November 1670}
\PID{TauOrt2112}{Unterkoskau}
\PID{Hei2112}   {21. Mai 1694}
\PID{HeiOrt2112}{Unterkoskau}
% \PID{Amt2112} {}
% \PID{AmtOrt2112}  {}
\PID{Tod2112}   {27. Juni 1699}
\PID{TodOrt2112}{Unterkoskau}
\PID{Alt2112}   {28 Jahre, 6 Monate, 21 Tage}
\PID{Urs2112}   {k.A}
\PID{Grab2112}  {k.A.}
\PID{GrabOrt2112}   {Unterkoskau}
\PID{Ber2112}   {k.A.}
\PID{Zus2112}   {Epidemie im Jahr 1699, da viele Todesf‰lle}
%
%
% Familienname, Vorname(n) (000)
\def\getPID#1{\doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1)}
\def\titPID#1{{\it \doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1)}}
% für Überschriften
\def\getPIDGeb#1{\doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1) -- Geburt}
\def\getPIDHei#1{\doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1) -- Heirat}
\def\getPIDTod#1{\doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1) -- Tod}
%
\def\getGeburt#1{\doGetPID{Geb#1}} % Geburtsdatum
\def\getGebOrt#1{\doGetPID{GebOrt#1}}
\def\getTaufe#1{\doGetPID{Tau#1}} % Taufdatum
\def\getTauOrt#1{\doGetPID{TauOrt#1}}
\def\getHeirat#1{\doGetPID{Hei#1}} % Kirchliche Heirat
\def\getHeiOrt#1{\doGetPID{HeiOrt#1}}
\def\getAmt#1{\doGetPID{Amt#1}} % Standesamtliche Heirat
\def\getAmtOrt#1{\doGetPID{AmtOrt#1}}
\def\getTod#1{\doGetPID{Tod#1}} % Sterbedatum
\def\getTodOrt#1{\doGetPID{TodOrt#1}}
\def\getUrsache#1{\doGetPID{Urs#1}} % Todesursache
\def\getAlter#1{\doGetPID{Alt#1}} % Alter bei Tod
\def\getGrab#1{\doGetPID{Grab#1}} % Datum des Begräbnisses
\def\getGrabOrt#1{\doGetPID{GrabOrt#1}}
\def\getBeruf#1{\doGetPID{Ber#1}} % Beruf
\def\getZusatz#1{\doGetPID{Zus#1}} % Zusatzinformation
%
% Vorname(n) Familienname
\def\getNamen#1{\doGetPID{Vor#1}~\doGetPID{Fam#1}}
\def\titNamen#1{{\it \doGetPID{Vor#1}~\doGetPID{Fam#1}}}
%
\def\getNameN#1{\doGetPID{Vor#1}~\doGetPID{Fam#1}~(#1)}
\def\titNameN#1{{\it \doGetPID{Vor#1}~\doGetPID{Fam#1}}~(#1)}
%
%
% Familienname
\def\getFamilie#1{\doGetPID{Fam#1}}
\def\titFamilie#1{{\it \doGetPID{Fam#1}}}
% Geburtsname (exakte Schreibweise)
\def\getExakt#1{\doGetPID{Nam#1}}
\def\titExakt#1{{\it \doGetPID{Nam#1}}}
% Vorname
\def\getVor#1{\doGetPID{Vor#1}}
\def\titVor#1{{\it \doGetPID{Vor#1}}}
%
\def\getRuf#1{\doGetPID{Ruf#1}}
\def\titRuf#1{{\it \doGetPID{Ruf#1}}}
%
%
\starttext

Testtext\crlf
\getNamen{2112}\ starb am \getTod{2112} im Alter von \getAlter{2112}n  
in \getTodOrt{2112}.

\stoptext


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


Re: [NTG-context] synonyms in combination with table(s)

2006-06-30 Thread Bernd Militzer

Am 29.06.2006 um 15:43 schrieb Hans Hagen:

 Bernd Militzer wrote:
 Am 29.06.2006 um 12:31 schrieb Hans Hagen:


 Bernd Militzer wrote:

 \PID{67}{Rudolph, Joha\={n}e Christiane Friedericke}


 \= has a special meaning inside tables, so use \theverboseglyphname
 instead


 thanks Hans,

 but sorry I have no idea where to finde \ theverboseglyphname
 please giv me a hint where I can finde a description for that problem

 enco-*.tex

 like \eacute and so



\startencoding[default]
\definecharacter nmacron {\buildtextaccent\textmacron n}
\stopencoding
%
and now all problems are gone

thanks a lot


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


[NTG-context] synonyms in combination with table(s)

2006-06-29 Thread Bernd Militzer
Hi all,

using synonyms in combination with table(s) I get an error:


systems : begin file FehlerTableSynonyms at line 40
! Misplaced \omit.
\!ttLongHrule -\omit
   \span \omit \span \!ttShortHrule
argument Rudolph, Joha\=
   {n}e Christiane Friedericke
\doattributes ...sname [EMAIL PROTECTED] \endcsname \fi {#4
   }\dostopattributes
\processsynonym ...nonymstyle \c!synonymcolor {#3}
   \else  
\explicithmode \doat...

\getsynonymmeaning ...meaningtrue \getvalue {#2#3}
   \egroup
l.56 \NC 67\NC \doGetPID{67}
  \NC  Geburt: \getGEB{67}\NC\AR
? ^D
! Emergency stop.
\!ttLongHrule -\omit
   \span \omit \span \!ttShortHrule
argument Rudolph, Joha\=
   {n}e Christiane Friedericke
\doattributes ...sname [EMAIL PROTECTED] \endcsname \fi {#4
   }\dostopattributes
\processsynonym ...nonymstyle \c!synonymcolor {#3}
   \else  
\explicithmode \doat...

\getsynonymmeaning ...meaningtrue \getvalue {#2#3}
   \egroup
l.56 \NC 67\NC \doGetPID{67}
  \NC  Geburt: \getGEB{67}\NC\AR

% testfile:
%
\enableregime[windows]
\mainlanguage[de]
\setupencoding[default=texnansi]

\setuppapersize[a4][a4]
%
%
\definesynonyms[PID][PIDs][\doGetPID]
%
\def\getPID#1{\doGetPID{#1}~(#1)}
\def\getPIDGeb#1{\doGetPID{#1}~(#1) -- Geburt}
\def\getPIDHei#1{\doGetPID{#1}~(#1) -- Heirat}
\def\getPIDTod#1{\doGetPID{#1}~(#1) -- Tod}
%
\def\getGEB#1{\doGetPID{Geb#1}}
\def\getTAU#1{\doGetPID{Tau#1}}
\def\getHEI#1{\doGetPID{Hei#1}}
\def\getTOD#1{\doGetPID{Tod#1}}
\def\getALT#1{\doGetPID{Alt#1}}
%
\PID{8}{Militzer, Hermann Paul}
\PID{Geb8}{14. Juni 1884}
\PID{Tau8}{17. Juni 1884}
\PID{Hei8}{16. August 1910}
\PID{Tod8}{5. Oktober 1962}
\PID{Alt8}{78 Jahre, 3 Monate, 21 Tage}
%
\PID{67}{Rudolph, Joha\={n}e Christiane Friedericke}
\PID{Geb67}{21. Juli 1804}
\PID{Tau67}{22. Juli 1804}
\PID{Hei67}{}
\PID{Tod67}{1. Februar 1880}
\PID{Alt67}{75 Jahre, 6 Monate, 20 Tage}
%
%
%
\starttext
%

Die \getPID{67} ist am \getGEB{67} geboren und am  \getTOD{67}  
gestorben; sie wurde \getALT{67} alt.
\blank[big]
\doGetPID{8} heiratete am \getHEI{8} in Gera.\crlf
\getPID{8} starb im Alter von \getALT{8} am  \getTOD{8} um 23.20\,Uhr  
in M¸nchenbernsdorf.
%
\blank[2*big]
%
\starttable[|r|lp(0.4\textwidth)|lp(0.4\textwidth)|]
\NC PID \NC Person\NC Bemerkung\NC\AR
\HL
\NC 8\NC \doGetPID{8} \NC  Geburt: \getGEB{8}\NC\AR
\HL
\NC\use{3}{~}\NC\AR % Leerzeile
\NC 67\NC \doGetPID{67} \NC  Geburt: \getGEB{67}\NC\AR
\HL
\stoptable

%
\stoptext
%


Thanks for help

Bernd

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


Re: [NTG-context] synonyms in combination with table(s)

2006-06-29 Thread Bernd Militzer

Am 29.06.2006 um 12:31 schrieb Hans Hagen:

 Bernd Militzer wrote:
 \PID{67}{Rudolph, Joha\={n}e Christiane Friedericke}

 \= has a special meaning inside tables, so use \theverboseglyphname  
 instead

thanks Hans,

but sorry I have no idea where to finde \ theverboseglyphname
please giv me a hint where I can finde a description for that problem

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-18 Thread Bernd Militzer
 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}

my solution ist now:

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

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

\def\getPIDGeb#1{\doGetPID{#1}~(#1) -- Geburt}
\def\getPIDHei#1{\doGetPID{#1}~(#1) -- Heirat}
\def\getPIDTod#1{\doGetPID{#1}~(#1) -- Tod}

\PID{8}{Militzer, Hermann Paul}
\PID{16}{Militzer, Johann Wilhelm Hermann}
\PID{17}{Fischer, Johanna Christiane Pauline}
\PID{34}{Fischer, Joha\={n} Gottlieb}
\PID{35}{Werner, Johanne Christiane Dorothee}
\PID{67}{Rudolph, Joha\={n}e Christiane Friedericke}

Thanks Peter
Bernd

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


[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] 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 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] items question

2005-11-27 Thread Bernd Militzer
Am Sonntag, den 27.11.2005, 10:43 +0100 schrieb Taco Hoekwater:
 Hi,
 
 
 I'm working on the responses to the mini survey, and quite ofthen
 there is an itemization with a title of sorts. It makes sense to
 give such structures a bit different layout from a normal
 itemization. My question: does anyone know of an easy way to do
 this:
 
bla di bla di do re mi
 
As you can see:
1.   this is a gnat
2.   that is a gnu


   bla di bla di do re mi
   
\startitemize[n,packed]
\sym{As you can see:}
\item this is a gnat
\item that is a gnu
\stopitemize


that works for me

Bernd


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


Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-07 Thread Bernd Militzer
Am Freitag, den 04.11.2005, 15:49 +0100 schrieb Taco Hoekwater:

What do you do with ConTeXT?

Two years ago -- I switched from LaTeX to ConTeXt.

I typeset examinations and test for my wife's students at school. 
For that task I wrote based on exam.cls (LaTeX) a ConTexT-modul.

All private und business letters are typeset with my special
DIN-Brief-Modul, based on akletter.cls  (LaTeX) and DIN-letter (ConTeXt)
from Holger Schöner.

I typeset different articles for my father.

I typeset a book (350 page) with lots of tables, german and many czech
words

my next project is a book about my family from 1600  to now.


Bernd


- 
Bernd Militzer
Dipl. oec. Dipl.-Hdl. OStR a.D.
Hubertusstr. 34  47906 Kempen

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


[NTG-context] Index-question

2005-01-17 Thread Bernd Militzer
Hi all,

how can I change in my index list from Lower to Upper-case?

instead:
a
Achten, Juliane
b
Blankenheim, Martin


I wont to get

A
Achten, Juliane
B
Blankenheim, Martin


Thanks for help
Bernd


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


Re: [NTG-context] Index-question

2005-01-17 Thread Bernd Militzer
Am Montag, den 17.01.2005, 11:48 +0100 schrieb Hans Hagen:
 \setupregister[index][alternative=A] % default a

Thanks
Bernd

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


Re: [NTG-context] m-bib problem

2004-11-15 Thread Bernd Militzer
Hi Taco,


I did:

cp bibl-apa.tex  bibl-apaD.tex
cp bibl-aps.tex  bibl-apsD.tex

edit the files for german (und for and; S. for pages)

texhash

\usemodule[bib]
\setupbibtex[database=mt-quellen,sort=author]   
%
\setuppublications[alternative=apaD]


That's now perfect fort me, thanks for your hint

Greetings, Bernd


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib problem

2004-11-13 Thread Bernd Militzer
Hi Taco,

oops, that was my problem
\setuppublicationlist[criterium=all]

How can I change the word 'and' to 'und' and 'pages' to 'Seite' in the
publication list?

thanks

Bernd



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] cite-problem

2004-11-13 Thread Bernd Militzer
Hi Taco,

if the authors name is Mller, Mller or  Dobe\v{s} (german/czech) 
^   ^ ^
\cite[author][keys]

produce an error:

! Missing number, treated as zero.
to be read again
   \let
\dobuildtextaccent ... \char \normalaccent #1\let
  \char \normalchar #2}
\AU -Dobe\dobuildtextaccent \char 2
0 s
\ixfirstcommand -{\AU
   }
\dodobibauthoryear ...counter = 1 \ixfirstcommand
  \else \ifnum
\scratchcount...
 
\next1 #1,-\dodobibauthoryear {#1}
   \doprocesscommaitem
...
l.61 ...BESETZUNG]

It seems to be the same problem I had in the past with seeindex, which
Hans has fixed.

thanks for help

Bernd


\startpublication[k=BESETZUNG,t=article,
a={Dobe\v{s}},y=1987c,
n=13,s=Dob87c]
\artauthor[]{Vladim\'{i}r}[V.]{}{Dobe\v{s}}
\pubyear{1987\maybeyear{c}}
\arttitle{N\v{e}meck\'{a} akupace m\v{e}ste\v{c}ka trn\'{a}vky a 2.
  sv\v{e}tov\'{a} v\'{a}lka}
\journal{Trnav\'{a}\v{c}ek Zpravodj MNV a JZD M\'{i}r M\v{e}ste\v{c}ko
  Trn\'{a}vka}
\issue{3}
\pages{31-36}
\month{August}
\note{{\it Deutsche Besetzung von Markt Trnau und 2.~Weltkrieg}.
\uebers\ u. \jkg}
\stoppublication




___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] m-bib problem

2004-11-08 Thread Bernd Militzer
Hi Taco,

after installing the new version of ConTeXt and your bib-module

\placepublications resp. \completepublications do not work any more.

Please give me a hint what I have to do.

Thanks for help

Bernd


log-file:

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en
2004.11.6)  7 NOV 2004 11:29
entering extended mode
 (/usr/local/share/texmf/web2c/natural.tcx)
**cont-en buch.tex
(./buch.tex{/var/lib/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.10.28  fmt: 2004.11.6  int: english  mes: english

systems: pdfTeX version 110 - please update

systems: eTeX version 201 - too old (bugs)

--- snip ---

system : macros of module bib loaded
(/usr/local/share/texmf/tex/context/bib/t-bib.tex
system : macros of module list loaded
(/usr/local/share/texmf/tex/context/bib/t-list.tex)
publications   : loading formatting style from bibl-apa
(/usr/local/share/texmf/tex/context/bib/bibl-apa.tex))
\openout0 = `buch.aux'.

publications   : wrote a new auxiliary file buch.aux
publications   : loading formatting style from bibl-apa
(/usr/local/share/texmf/tex/context/bib/bibl-apa.tex) buch-buf-0.tmp
\openout4 = `buch-buf-0.tmp'.
)

--- snip ---

chapter: (-) Literatur
(./buch.tuo)
system : pubs not found/processed
[309.299] [310.300]
chapter: (-) Ortsverzeichnis
(./mt_Ortsliste_de.tex (./buch.tuo [311.301] [312.302] [313.303])
columns: balanced in 9 step(s)
) [314.304]
chapter: (-) Register -- Stichwortverzeichnis
(./buch.tuo [315.305] [316.306] [317.307] [318.308] [319.309] [320.310]
[321.311] [322.312] [323.313] [324.314] [325.315] [326.316] [327.317]
[328.318]
[329.319] [330.320] [331.321] [332.322] [333.323] [334.324] [335.325]
[336.326]
[337.327] [338.328] [339.329] [340.330])
columns: balanced in 7 step(s)
[341.331]
systems: end file buch at line 217
 ) 
Here is how much of TeX's memory you used:
 4316 strings out of 65413
 64791 string characters out of 707167
 4531110 words of memory out of 5611755
 36222 multiletter control sequences out of 1+5
 50221 words of font info for 167 fonts, out of 50 for 1000
 102 hyphenation exceptions out of 1000
 53i,23n,85p,1441b,1429s stack positions out of
1500i,500n,5000p,20b,5000s
 0 PDF objects out of 30
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536

Output written on buch.dvi (341 pages, 1059888 bytes).



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Question starttables ... stoptables and pagebrake

2004-07-29 Thread Bernd Militzer
Hi Hans,

using tables for a long documentation it wold be fine, if I could force
a page brake after specific rows. The command \page does not work.


Thanks for any help

Bernd



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Question starttables ... stoptables and pagebrake

2004-07-29 Thread Bernd Militzer
Am Do, 2004-07-29 um 12.35 schrieb Hans Hagen:
 which table mechanism do you use? 

like this:

{\start
%
\starttablehead
\HL
\NC Haus\crlf \tx Pos.~Nr.\NC Bewohner und Bemerkungen\crlf{\bf von
\dots\ nach \dots\ }%
\NC Natio\-nalität \NC\FR%\AR
\HL
\stoptablehead
%
\starttabletail
\HL
\stoptabletail
%
\starttables[|lp(0.11\textwidth)B|lp(0.7\textwidth)|lp(0.1\textwidth)I|]
%
%
\NC  R \hfill 39\index{Markt Türnau+Nr. 39}  \NC  {\bf Meierhof:}
  \index{Meierhof} \crlf\NC \NC\MR 
  % leere Zeile
\NC   \NC  1910 Pächter Ing. Vanek 
  \index{Vanek, Ing.}
  \NC  ~C\NC\MR 
%
\NC   \NC  1919 Pächter Ing. Batik 
  \index{Batik, Ing.}
  \NC  ~C\NC\MR 
%
\NC   \NC  1939 Gutsverwalter Fritz Strik 
  \index{Strik+Fritz}\crlf
  Ist in das Meierhofgebäude Nr.\,39 im
  Jahr 1939 eingezogen. [Vgl.
\cite[HEIMATBUCH] S. 103]
  \NC  \hfill D\NC\MR 
%
\NC   \NC  \crlf
  Herr Batik wurde am 07.04.1940 zum Arbeitseinsatz
  nach \au\ beordert.\crlf
  Seine Familie lebte im
Protektorat.\NC  \NC\MR 
%
%
% and so on ... many pages
%
%
\stoptables
\stop}


Bernd

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] tables and newpage

2004-07-19 Thread Bernd Militzer
Hi all,

for a very long dokumentation I use tables like

{\start
%
\starttablehead
\HL
\NC Haus\crlf \tx Pos.~Nr.\NC Bewohner und Bemerkungen\crlf{\bf von
\dots\ nach \dots\ }%
\NC Natio\-nalität \NC\FR%\AR
\HL
\stoptablehead
%
\starttabletail
\HL
\stoptabletail
%
\starttables[|lp(0.11\textwidth)B|lp(0.7\textwidth)|lp(0.1\textwidth)I|]
%
%
\NC  R \hfill 39\index{Markt Türnau+Nr. 39}  \NC  {\bf Meierhof:}
  \index{Meierhof} \crlf\NC \NC\MR 
  % leere Zeile
\NC   \NC  1910 Pächter Ing. Vanek 
  \index{Vanek, Ing.}
  \NC  ~C\NC\MR 
%
\NC   \NC  1919 Pächter Ing. Batik 
  \index{Batik, Ing.}
  \NC  ~C\NC\MR 
%
\NC   \NC  1939 Gutsverwalter Fritz Strik 
  \index{Strik+Fritz}\crlf
  Ist in das Meierhofgebäude Nr.\,39 im
  Jahr 1939 eingezogen. [Vgl. \cite[HEIMATBUCH] S. 103]
  \NC  \hfill D\NC\MR 
%
\NC   \NC  \crlf
  Herr Batik wurde am 07.04.1940 zum Arbeitseinsatz
  nach \au\ beordert.\crlf
  Seine Familie lebte im Protektorat.\NC  \NC\MR 
%
%
% and so on ... about 6 pages
%
%
\stoptables
\stop}


Question: In some situations it would  be fine, if I could force a new
page; the NEW PAGE command does not work!

Thanks for any help

Bernd

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Problem with \seeindex

2004-06-21 Thread Bernd Militzer
Hi all,

in a german text with a lot of czech words I get an error when using
\seeindex

\seeindex{Polda}{Bu\v{s}ina, Leopold} does not work!

(./seeindex_test.tuo
! Missing number, treated as zero.
to be read again 
   \let 
\dobuildtextaccent ... \char \normalaccent #1\let 
  \char \normalchar #2}
argument Bu\dobuildtextaccent \char 2
   0 sina, Leopold
\labeltexts #1#2-\leftlabeltext {#1}#2
   \rightlabeltext {#1}
\doregisterpagehowto ...d #1\c!paginacommando }{#2
  }\dostopattributes 
\limitatetext ...it \empty \normallimitatetext {#1
  }\leftlimit {#3}\else
\spe...
...
l.37 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0}

What do I wrong?

Thanks for any help

Bernd
%#ConTeXt
%
%
\starttext
%
	\enableregime[il1]  	% Eingabe-Codierung
	\mainlanguage[de]   
	\setupencoding[default=texnansi]
%
Test with \type{\seeindex}\crlf
\type{\seeindex{Polda}{Bu\v{s}ina, Leopold}} 
\blank
Dr. Hodina kam \dots
\index{Hodina+Franz}
\seeindex{Dr. Hodina}{Hodina, Franz}
\blank
in Bhmen und Mhren \dots
\index[Boehmen]{Bhmen} 
\index[Maehren]{Mhren}
\blank
Erv\'{i}n P\v{r}ichystal, Bauernsohn \dots
\index[Prichystal]{P\v{r}ichystal+Erv\'{i}n}
\blank
Josef Zachar,Schmied\dots
\index{Zachar+Josef}\index{\it Schmied}
\seeindex{Onkel Zachar}{Zachar, Josef}
\blank
Leopold Bu\v{s}ina, Sohn eines Dachdeckers \dots 
\index[Busina]{Bu\v{s}ina+Leopold}
Polda -- sein Rufname
\seeindex{Polda}{Bu\v{s}ina, Leopold} % produziert Fehler!!!
\blank[2*big]
\placeindex
%
\stoptext
% ENDE
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.6.20)  
21 JUN 2004 17:35
entering extended mode
\write18 enabled.
**cont-en seeindex_test.tex
(./seeindex_test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.4.9  fmt: 2004.6.20  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/local/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 255] 
system (E-TEX) : [line 310] 
)
system : cont-old loaded
(/usr/local/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/local/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/var/lib/texmf/tex/context/config/cont-sys.tex)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-cz-2 3:2-cz-2 4:2-en-2 5:2-uk-2 6:2-de-2 7:2-fr-2
 8:2-es-2 9:2-it-2 10:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
\openout2 = `seeindex_test.tui'.

system : seeindex_test.top loaded
(./seeindex_test.top)
\openout0 = `mpgraph.mp'.

\openout0 = `mpgraph.mp'.

 (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
fonts  : needs map file: ec-public-lm.map
fonts  : needs map file: original-base.map
systems: begin file seeindex_test at line 4
(./seeindex_test.tuo
! Missing number, treated as zero.
to be read again 
   \let 
\dobuildtextaccent ... \char \normalaccent #1\let 
  \char \normalchar #2}
argument Bu\dobuildtextaccent \char 2
   0 sina, Leopold
\labeltexts #1#2-\leftlabeltext {#1}#2
   \rightlabeltext {#1}
\doregisterpagehowto ...d #1\c!paginacommando }{#2
  }\dostopattributes 
\limitatetext ...it \empty \normallimitatetext {#1
  }\leftlimit {#3}\else \spe...
...
l.37 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0}
  
? 
)
columns: balanced in 17 step(s)
[1.1]
systems: end file seeindex_test at line 35
 ) 
Here is how much of TeX's memory you used:
 428 strings out of 66597
 6660 string characters out of 725107
 4412659 words of memory out of 5507791
 31628 multiletter control sequences out of 1+5
 10453 words of font info for 35 fonts, out of 50 for 1000
 62 hyphenation exceptions out of 1000
 44i,17n,49p,157b,627s stack positions out of 1500i,500n,5000p,20b,5000s
 0 PDF objects out of 30
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536

Output written on seeindex_test.dvi (1 page, 1500 bytes).


[NTG-context] \seeindex problem

2004-06-15 Thread Bernd Militzer
Hi,

when I use
\seeindex{Polda}{Bu\v{s}ina, Leopold}
I get the following messages:

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en
2004.5.18)  15 JUN 2004 20:21
entering extended mode
\write18 enabled.
**cont-en seeindex_test.tex
(./seeindex_test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.4.9  fmt: 2004.5.18  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/local/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 255] 
system (E-TEX) : [line 310] 
)
system : cont-old loaded
(/usr/local/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/local/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/var/lib/texmf/tex/context/config/cont-sys.tex)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2
7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
\openout2 = `seeindex_test.tui'.

system : seeindex_test.top loaded
(./seeindex_test.top)
\openout0 = `mpgraph.mp'.

\openout0 = `mpgraph.mp'.

 (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
fonts  : needs map file: ec-public-lm.map
fonts  : needs map file: original-base.map
systems: begin file seeindex_test at line 4
(./seeindex_test.tuo
! Missing number, treated as zero.
to be read again 
   \let 
\dobuildtextaccent ... \char \normalaccent #1\let 
  \char \normalchar #2}
argument Bu\dobuildtextaccent \char 2
   0 sina, Leopold
\labeltexts #1#2-\leftlabeltext {#1}#2
   \rightlabeltext {#1}
\doregisterpagehowto ...d #1\c!paginacommando }{#2
  }\dostopattributes 
\limitatetext ...it \empty \normallimitatetext {#1
  }\leftlimit {#3}\else
\spe...
...
l.45 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0}
  
? 
! Emergency stop.
to be read again 
   \let 
\dobuildtextaccent ... \char \normalaccent #1\let 
  \char \normalchar #2}
argument Bu\dobuildtextaccent \char 2
   0 sina, Leopold
\labeltexts #1#2-\leftlabeltext {#1}#2
   \rightlabeltext {#1}
\doregisterpagehowto ...d #1\c!paginacommando }{#2
  }\dostopattributes 
\limitatetext ...it \empty \normallimitatetext {#1
  }\leftlimit {#3}\else
\spe...
...
l.45 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0}
  
End of file on the terminal!

here my testfile:
%
\starttext
%
\enableregime[windows]  
\mainlanguage[de]   
\setupencoding[default=texnansi]
%
Test with \type{\seeindex}\crlf
\type{\seeindex{Polda}{Bu\v{s}ina, Leopold}} 
\blank
Dr. Hodina kam \dots
\index{Hodina+Franz}
\seeindex{Dr. Hodina}{Hodina, Franz}
\blank
in Böhmen und Mähren \dots
\index[Boehmen]{Böhmen} 
\index[Maehren]{Mähren}
\blank
Erv\'{i}n P\v{r}ichystal, Bauernsohn \dots
\index[Prichystal]{P\v{r}ichystal+Erv\'{i}n}
\blank
Josef Zachar,Schmied\dots
\index{Zachar+Josef}\index{\it Schmied}
\seeindex{Onkel Zachar}{Zachar, Josef}
\blank
Leopold Bu\v{s}ina, Sohn eines Dachdeckers \dots 
\index[Busina]{Bu\v{s}ina+Leopold}
Polda -- sein Rufname
\seeindex{Polda}{Bu\v{s}ina, Leopold} % produziert Fehler!!!
\blank[2*big]
\placeindex
%
\stoptext



Thanks for help

Bernd


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] mbib question

2004-06-14 Thread Bernd Militzer
Hi Taco,

in which file can I change
editor to Herausgeber
page to Seite
and to und
...

Thanks for help

Bernd

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problems with table and Division Line

2003-11-19 Thread Bernd Militzer
Hi Willi,

 
 It is quite tricky to get the dummy columns right!
 
 If you withdraw one of the \DC in the line which causes the error, the 
 table compiles just fine.

thanks for help! 

Bernd


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] countproblem

2003-11-12 Thread Bernd Militzer
Hi  Pawel !


 
 \global\advance\summeP by \number#1
 
 in \getPunkte definition? Let me know if I'm right.
 

Thanks now the macro works perfect!!

Regards, Bernd

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] countproblem

2003-11-11 Thread Bernd Militzer
Hi all!


what is wong?
% 
%
%   ad the points of each question
\def\getPunkte[#1]{\advance\summeP by \number#1}
%
%   show the points on the right side
\def\showP[#1]{\inright{\hfill(#1 P.)}}
%
%   handle the points
\def\pkt[#1]%
{%
\showP[#1]%
\getPunkte[#1]  
}
%
Using this macro in normal text like 
TestQuestion \pkt[5]
it works!!!

But when I use this macro in combination with enumeration I run in a
problem
example:
%
\defineenumeration[question][location=inmargin,text=,width=fit]
%
\question\pkt[5] 
TestQuestion\par
nothing ist count in this case!


Thanks for any help.

Bernd

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] enumeration and countproblem

2003-11-05 Thread Bernd Militzer
Hi all,


Writing examinations I want to tell my students the points of each
question and the max points they can reach.

I wrote a macro which prints the points at the right side of the
question and count the points.
% 
%
%   ad the points of each question
\def\getPunkte[#1]{\advance\summeP by \number#1}
%
%   show the points on the right side
\def\showP[#1]{\inright{\hfill(#1 P.)}}
%
%   handle the points
\def\pkt[#1]%
{%
\ifnum\ZeigeP=1
\showP[#1]%
\ifnum\addP=1
\getPunkte[#1]  
   \fi
\fi%
}
%
Using this macro in normal text like 
TestQuestion \pkt[5]
it works without problems!

But when I use this macro in combination with enumeration I run in a
problem
example:
%
\defineenumeration[question][location=inmargin,text=,width=fit]
%
\question\pkt[5] 
TestQuestion\par
nothing ist count in this case!


How can I fix this problem?

Thanks in advance.
Bernd
\starttext
%
%   Zähler für die Punkte [summeP] = 0
%
\global\newcount\summeP \summeP=0
%
%
%   Schalter [ZeigeP] (intern) zur Steuerung der Anzeige der Punkte
%   Ausgangswert 0, d.h. die Punkte werden nicht angezeigt
%
\chardef\ZeigeP=0
%
%   Schalter [addP] (intern) zur Steuerung der Berechnung der Gesamtpunkte
%   Ausgangswert 0, d.h. die Gesamtpunkte werden nicht berechnet
\chardef\addP=0
%
%   Die Schalter für den Anwender  
%   direkt nach \starttext setzen
%   [1]
%   die Punkte der Aufgaben anzeigen
\def\zeigePunkte{\chardef\ZeigeP=1}
%
%   [2]
%   die Gesamtpunktzahl berechnen
\def\SummePunkte{\chardef\addP=1}

%
%   Berechnung der GesamtPunkte [getPunkte] durchführen
%
\def\getPunkte[#1]{\advance\summeP by \number#1}
%
%
%   Punkte im rechten Rand ausgeben
%
\def\showP[#1]{\inright{\hfill(#1 P.)}}
%
%
%   Die Behandlung der Punktangaben
% 
\def\pkt[#1]%
{%
\ifnum\ZeigeP=1
\showP[#1]%
\ifnum\addP=1
\getPunkte[#1]  
   \fi
\fi%
}
%
%
\defineenumeration[question][location=inmargin,text=,width=fit]
%
\zeigePunkte% Punkte anzeigen
\SummePunkte% Summe der Punkte berechnen
%

%
\textrule[top]{first test}
max. points (start): \number\summeP\blank
%
First TestQuestion \pkt[5]
\dorecurse{10}{just a test text }
\blank[medium]

Second TestQuestion \pkt[15]
\dorecurse{10}{just a test text }
\blank[medium]
%
max. points (end): \number\summeP.\blank[2*big]
%
%
\textrule[top]{second test}
%
\summeP=0
max. points (start): \number\summeP\blank
%
\question\pkt[5] 
\dorecurse{10}{just a test text }\par
%
\question\pkt[15]
\dorecurse{10}{just a test text }\par
%
max. points (end): \number\summeP.\blank[2*big]
%
%
\textrule[top]{third test}
%
\summeP=0
max. points (start): \number\summeP\blank
%
\question
\dorecurse{10}{just a test text }\par\pkt[5] 
%
\question
\dorecurse{10}{just a test text }\par\pkt[15]
%
max. points (end): \number\summeP.\blank[2*big]
%

\stoptext

[NTG-context] \usepath[...] \usesubpath[...] ???

2003-10-12 Thread Bernd Militzer
Hi Hans,

thanks for Your help, but I am sorry  \usepath[...] \usesubpath[...]
do not work in that way I thought.

I start in /home/bmi/import/TestConTeXt/blocks/
with four files:
demo.tex= the project-file
eniro.tex   = the enviroment
student.tex = a data-file with two text-blocks
test.tex= a work-file, which will use text-blocks from student.tex

all things are pretty good -- in test.tex I can use the text-blocks from
student.tex (student.tub).

When I separate the dat-file = student.tex 
and the work-file  work-file = test.text in different subdirs
it ist not possible to use the text-blocks form student.tex in test.tex

~/import/TestConTeXt/blocks/data/student.tex
with all help-files -- all things are ok

~/import/TestConTeXt/blocks/work/test.tex
running texexec test.tex,  no text-block from student.tex 

In file test.tmp:
% test.top
\unprotect
\setupsystem[\c!gebied={/home/bmi/}]
\setupsystem[\c!n=1]
\setupsystem[inputfile=test.tex]
\protect

How have I to set up the path?
\usepath[/import/TestConTeXt/blocks/] or
\usepath[/home/bmi/import/TestConTeXt/blocks/] ???
\usesubpath[dat, work] or
\usesubpath[dat/, work/] ???

I have no idea -- please give me a hint to stop my frustation!


thanks 

Bernd


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \setupblock[name][file=name]

2003-09-26 Thread Bernd Militzer
Hi,

the example 

\setupblock[homework][file=student]

that Hans  describes in his docu does not work for me!

Help needed!

Thanks in advance

Bernd

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context