Re: [NTG-context] MetaPost transformation

2012-05-31 Thread Albrecht Kauffmann

Hello Troy,

if you declare a transform variable (e.g., t), it works:

transform t;
t := identity rotated 270 yscaled 0.5;
show identity transformed t;

(0,0,0,1,-0.5,0)


Greetings
Albrecht

On Wed, 30 May 2012, Troy Henderson wrote:


I've encountered a MetaPost issue, and since many MetaPost users also use
ConTeXt (and vice-versa), I am posting this question on both lists.

The command


show identity rotated 270 yscaled 0.5;


outputs

(0,0,0,1,-0.5,0)

as expected, while the command


show identity transformed (0,0,0,1,-0.5,0);


errors with

---
! Missing `)' has been inserted.
to be read again
  ,
l.26 ^^Ishow identity transformed (0,0,0,1,
  -0.5,0);
---

I am using MetaPost 1.504, and the problem seems to be that MetaPost does
not like me using the sextuple (0,0,0,1,-0.5,0) directly, but this is the
most convenient method for me to describe my transformations.  Is this a
bug in MetaPost, or am I not allowed to use transformations directly with
sextuples?

Troy Henderson


___
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] Trying MPtoPDF!

2011-01-10 Thread Albrecht Kauffmann
Dear Vladimir,

after processing your file graph1_mp.mp by typing

$mpost graph1_mp.mp (or: mp graph1_mp.mp)

you should get a file graph1_mp.1 (if the figure is numbered by
beginfig(1) ).

Then you can convert this file by typing

$mptopdf graph1_mp.1

Greetings
Albrecht

On Mon, 10 Jan 2011, Vladimir Lomov wrote:

 ** Verhaag, G.C.H.M. [2011-01-10 10:35:32 +0100]:

  Vladimir Lomov wrote:

 ** Verhaag, G.C.H.M. [2011-01-08 10:54:53 +0100]:


 Hi,

 [...]


 This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 \write18 enabled.

 This: (TeX Live 2010) contradicts with that:

 While trying to get some MetaPost plots converted to PDF, with the
 latest ConTeXt minimals installation (MkIV) on my Linux box, things
 happen which I don't understand, sorry!


 [...]

 Do I need to install other tools to get it working?

 I'm not sure. But before you have to be sure that you actually use
 context minimals.

 Suppose, that you have TeX Live 2010 installed here:
 /usr/local/texlive/2010
 and context minimals installed here:
 /usr/local/opt/context

 Then run terminal (konsole, gnome-terminal, xterm, urxvt, ...) and
 do
 $ . /usr/local/opt/context/tex/setuptex
 and _after_ that run
 $ mtxrun ...

 If you still get an error something is really broken.

  Hi,

  No I haven't installed TeXLive2010, only ConTeXt minimals!
 Sorry, I wasn't aware that pdftex from context minimal pretends to be
 from TL 2010 (or this is intentionaly?).

 I tried
 $ mptopdf graph1_mp.mp
 and saw only file name echoed.

 The 'mptopdf' script contains
 mtxrun --script base $@

 Sorry for noise.

 ---
 WBR, Vladimir Lomov

 --
 The use of COBOL cripples the mind; its teaching should, therefore, be
 regarded as a criminal offence.
   -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5
 ___
 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
 ___

___
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] metafun problem

2010-07-13 Thread Albrecht Kauffmann
Dear ConTeXtuals,

the following MP-inclusion produces fatal error (! TeX capacity
exceeded, sorry [parameter stack size=6000].):

starttext
\startMPcode
label(btex $\underbrace{a}_{b}$ etex,(0,0));
\stopMPcode
\stoptext

I use mkii, but the code should work.
Has anyone an explanation?

With many thanks for any hint
Albrecht
___
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] Referencing a Figure

2010-04-30 Thread Albrecht Kauffmann


On Thu, 29 Apr 2010, Troy Henderson wrote:

 I am trying to reference a figure, and the results are not as
 expected.  Here is my snippet.

 \placefigure[fig:myfigure]{A beautiful circle}{
\startMPcode
   draw fullcircle scaled 72;
\stopMPcode
 }
 Isn't Figure \in[fig:myfigure] beautiful?

Try \placefigure[here][fig:myfigure]{A beautiful circle}{
...


Greetings

Albrecht




 When this code renders, the text says Isn't Figure ?? beautiful?
 How can I get the correct figure number?

 Thanks,

 Troy
 ___
 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
 ___

___
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] Prefixes in labels

2009-10-25 Thread Albrecht Kauffmann
Hi all,

I want to give the references in the appendix of my work a prefix A,
e.g. eq. (\in[eq:A-somewhat]) referencing to \placeformula[eq:A-somewhat]
should produce eq. (A-1) if this is the first equation in the appendix.

Does ConTeXt have this feature?

Thanks for any hint,
Albrecht



___
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] Thanks. Two new questions: rotate and scale

2009-03-13 Thread Albrecht Kauffmann
only to (1): try

draw (((0,0) -- dir(0)*u -- dir(60)*u --cycle) rotated 60);

greetings,
Albrecht


On Thu, 12 Mar 2009, Curious Learn wrote:

 Aditya and Hans,

 Thanks very much for your replies. I suppose I should install minimals 
 afterall.
 Still using the TexLive version.

 I have two new questions:

 (1) In the following code the triangle outline (obtained with the draw
 command) does not rotate, i.e., I get the same triangle as without the 
 rotated
 command. On the other hand the fill command rotates as expected. What is 
 wrong?

 \startuseMPgraphic{Dir}
 pickup pencircle scaled 2pt;
 numeric u;
 u=2cm;
 draw (0,0) -- dir(0)*u -- dir(60)*u --cycle rotated 60;
 fill (0,0) -- dir(0)*u -- dir(60)*u --cycle rotated 60 withcolor 
 (0.58,0.94,0.9);
 \stopuseMPgraphic
 \useMPgraphic{Dir}


 (2) Is there a command to scale the whole picture...not the components?

 Thanks very much.

 I have said this before but want to say this again. Thanks so much to the
 developers of Context who have given us this wonderful system. Thanks also to
 all the people on this mailing list who take their precious time to answer
 questions.

 ___
 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
 ___

___
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] rulethickness in columns

2009-02-26 Thread Albrecht Kauffmann
Hi all,

I have a question regarding natural tables: Would it be able to set the
rulethickness parameter for one (e.g. the right) side of selected columns
separately (e.g. rulethickness_right=2pt)?

With many thanks for any hint,
Albrecht


___
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] local footnotes

2009-02-23 Thread Albrecht Kauffmann
Hi Thomas,

thank you very much, this works fine. But, something must have been
changed, that my old program settings suddenly didn't work.

Greetings
Albrecht


On Fri, 20 Feb 2009, Thomas Floeren wrote:



 Hi Albrecht,

 have you tried my proposal from 13.2.08?
 (http://archive.contextgarden.net/message/20090213.144419.432c095e.en.html)

 Maybe there is a better solution (?) but with my context installation and
 mkII it just works fine this way.

 Greetings
 Thomas




 \setupoutput[pdftex]
 \starttext
 \startlocalfootnotes[n=0,conversion=characters]
 \placetable[here][]{}
 % \placelegend
 {
 \tfx
 \setupTABLE [frame=off]
 \bTABLE
 \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR

 \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR

 \bTR\bTD 3.\note[foot:b] \eTD\bTD
 26.1 \eTD\eTR
 \eTABLE
 }
 \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung}
 \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung}
 {\placelocalfootnotes}
 \stoplocalfootnotes
 \stoptext

 -Ursprüngliche Nachricht-
 Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im
 Auftrag von Albrecht Kauffmann
 Gesendet: Freitag, 20. Februar 2009 09:18
 An: mailing list for ConTeXt users
 Betreff: [NTG-context] local footnotes

 Hi all,

 please have a look to the following small table with its own footnotes:

 \setupoutput[pdftex]
 \starttext
 \startlocalfootnotes[n=0,conversion=characters]
 \placetable[here][]{}
 \placelegend
 {
 \tfx
 \setupTABLE [frame=off]
 \bTABLE
 \bTR\bTD   1990 \eTD\bTD 1991  \eTD\eTR

 \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der
 Gesamtbevoelkerung} \eTD\bTD
 19.0 \eTD\eTR

 \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der
 Stadtbevoelkerung} \eTD\bTD
 26.1 \eTD\eTR
 \eTABLE
 }
 {\placelocalfootnotes}
 \stoplocalfootnotes
 \stoptext

 The problem is that the footnotes are printed centered over a very small
 linewidth. To avoid this I can put every footnote text in a \hbox and then
 use \leftaligned{\placelocalfootnotes}}, but this
 is rather cumbersome. Has anyone a better solution?

 With many thanks in advance,
 Albrecht

 
 ___
 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
 
 ___

 ___
 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
 ___

___
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] local footnotes

2009-02-20 Thread Albrecht Kauffmann
Hi all,

please have a look to the following small table with its own footnotes:

\setupoutput[pdftex]
\starttext
\startlocalfootnotes[n=0,conversion=characters]
\placetable[here][]{}
\placelegend
{
\tfx
\setupTABLE [frame=off]
\bTABLE
\bTR\bTD   1990 \eTD\bTD 1991  \eTD\eTR

\bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der
Gesamtbevoelkerung} \eTD\bTD
19.0 \eTD\eTR

\bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der
Stadtbevoelkerung} \eTD\bTD
26.1 \eTD\eTR
\eTABLE
}
{\placelocalfootnotes}
\stoplocalfootnotes
\stoptext

The problem is that the footnotes are printed centered over a very small
linewidth. To avoid this I can put every footnote text in a \hbox and then
use \leftaligned{\placelocalfootnotes}}, but this
is rather cumbersome. Has anyone a better solution?

With many thanks in advance,
Albrecht

___
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] local footnotes

2009-02-13 Thread Albrecht Kauffmann
Hi all,

please have a look to the following small table with its own footnotes:

\setupoutput[pdftex]
\starttext
\startlocalfootnotes[n=0,conversion=characters]
\placetable[here][]{}
\placelegend
{
\tfx
\setupTABLE [frame=off]
\bTABLE
\bTR\bTD   1990 \eTD\bTD 1991  \eTD\eTR

\bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der
Gesamtbevoelkerung} \eTD\bTD
19.0 \eTD\eTR

\bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der
Stadtbevoelkerung} \eTD\bTD
26.1 \eTD\eTR
\eTABLE
}
{\placelocalfootnotes}
\stoplocalfootnotes
\stoptext

The problem is that the footnotes are printed centered over a very small
linewidth. To avoid this I can put every footnote text in a \hbox and then
use \leftaligned{\placelocalfootnotes}}, but this
is rather cumbersome. Has anyone a better solution?

With many thanks in advance,
Albrecht
___
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] line of text after a table

2008-11-25 Thread Albrecht Kauffmann
Dear ConTeXtuals,

a few days ago I asked this question but got not any answer. I think it is
an important issue to couple a comment with a float (e.g. a table or
figure) that has to be moved together with the float, similarly to local
footnotes. Has someone solved this problem already somehow or other?

With many thanks for hints,
Albrecht

On Sat, 22 Nov 2008, Albrecht Kauffmann wrote:

 Hi all,

 would it be able to write a line after a table or figure (e.g.: Data
 source: ...) that will be handled as a part of the float object?

 With many thanks for any hint,
 Albrecht



 On Sat, 22 Nov 2008, Mojca Miklavec wrote:

  On Fri, Nov 21, 2008 at 11:53 PM, Hans Hagen [EMAIL PROTECTED] wrote:
   Mojca Miklavec wrote:
  
 hack hack hack hack 
  
   I tried solutions with special patterns sveral times but the problem is
   in mixed languages, i.e. english text mixed with url-language; there are
   some limitations (in pdftex for instance the same codes are used fo rthe
   whole par (i.e. mixed languages are possible but with the same lccodes
   etc). Also, one needs to get rid of the -
 
  Whooops! I didn't know about those limitations (same catcodes in
  paragraph, no language mixing). It seemed like a clean solution to me,
  but apparently it's not. (Sorry for the brainwash.)
 
  Mojca
  ___
  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
  ___
 

___
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] line of text after a table

2008-11-21 Thread Albrecht Kauffmann
Hi all,

would it be able to write a line after a table or figure (e.g.: Data
source: ...) that will be handled as a part of the float object?

With many thanks for any hint,
Albrecht



On Sat, 22 Nov 2008, Mojca Miklavec wrote:

 On Fri, Nov 21, 2008 at 11:53 PM, Hans Hagen [EMAIL PROTECTED] wrote:
  Mojca Miklavec wrote:
 
hack hack hack hack 
 
  I tried solutions with special patterns sveral times but the problem is
  in mixed languages, i.e. english text mixed with url-language; there are
  some limitations (in pdftex for instance the same codes are used fo rthe
  whole par (i.e. mixed languages are possible but with the same lccodes
  etc). Also, one needs to get rid of the -

 Whooops! I didn't know about those limitations (same catcodes in
 paragraph, no language mixing). It seemed like a clean solution to me,
 but apparently it's not. (Sorry for the brainwash.)

 Mojca
 ___
 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
 ___

___
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] Usage of \setupfootnotedefinition?

2007-08-01 Thread Albrecht Kauffmann
Hi Matt,

this is my definition of footnotes:

\def\withdot#1{#1.\kern.3em}
\setupfootnotes[rule=off,numbercommand=\withdot,way=bytext]
\setupfootnotedefinition[location=serried]
\setupfootnotedefinition[before={\hangindent=.5pc \hangafter=1}]
\definedescription[footnotenumbering][numberstyle=\tf,numberindent=no]

Greetings
Albrecht


On Tue, 31 Jul 2007, Matt Gushee wrote:

 Hi, all--

 Can anyone point me to a realistic example(s) of
 \setupfootnotedefinition? I think it may help to solve a problem I am
 working with, but don't understand precisely how to use it.

 --
 Matt Gushee
 ___
 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
 ___

___
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] question about figures and labels

2006-03-16 Thread Albrecht Kauffmann
Hi Wim,

 I am trying to reference the 2 subfigures in my text , something like

 Some text 

 \placefigure[][figuur7]{Centrifugale kracht $\vec{F}_{F}$ en centripetale 
 kracht $\vec{F}_{c}$}
 {
 \startcombination[2*1]
 {\externalfigure[Drawings/figuur7a]}  {}
 {\externalfigure[Drawings/figuur7b]}  {}
 \stopcombination
 }

 In \in{figure}[figuur7a] and \in{figure}[figuur7b] one can see .

Why don't you simply type
In \in{figure}[figuur7]a and \in{figure}[figuur7]b ?

Greetings
Albrecht


 ..

 But I don't know how to setup the labels figuur7a, figuur7b ?
 I cannot find anything related on Wiki or in this newsgroup, I think it
 should
 be possible with Context ?

 Kind regards

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

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


[NTG-context] footnote for author (\thanks)

2005-09-26 Thread Albrecht Kauffmann
Hi all,

has ConTeXt any equivalent to the \thanks command in LaTeX that types a
footnote with a * as number and doesn't alter the footnote counter?

With many thanks in advance
Albrecht

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


[NTG-context] footnote numbering

2005-09-26 Thread Albrecht Kauffmann
Hi all,

can someone tell me, how to set the counter of footnotes (e.g., one back,
or to zero)?

With many thanks
Albrecht

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


Re: [NTG-context] Metapost question

2005-06-14 Thread Albrecht Kauffmann
Hallo Tobias,

you can use charnumeric primary in the following manner:

Emean:=5;% A quite simple example
label.lft(btex $A=$ etex,pair exression);
label.rt(char(48+Emean),the same pair expression);


Clearly, if Emean is an expression like xxx., you must convert it in a
sequence of single chars (not quite simple).

Greetings
Albrecht


On Tue, 14 Jun 2005, Tobias Burnus wrote:

 Hello,

 does someone know how, if at all, one can printout some variable? Like
   Emean:=(2*Eone+Ezero+2*Etwo)/5.;
   label.urt(btex $A = x$ 
 where x is the value of Emean? I frequently create some diagrams, modify
 them and then forget to change the label. (If one could set the number
 of digits, it would be even nicer.)

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

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


[NTG-context] tabbing in ConTeXt?

2005-04-20 Thread Albrecht Kauffmann
Hi all,

does ConTeXt have a command similarly to the tabbing-environment of LaTeX?

Thanks in advance
Albrecht


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


Re: [NTG-context] Re: Russian

2005-04-14 Thread Albrecht Kauffmann
Dear Mikael,

thank you very much for your interest. tfm-files I have generated, and the
tex-file is really saved in utf-8-encoding (I proved this with yudit).
After editing the lines

\starttypescript [map] [computer-modern] [t2a]
  \loadmapfile[cm-super-t2a.map]
\stoptypescript

in type-map.tex, the interpreter finds the font sfrm1000; but the
characters are wrong. I send you the log- and pdf-file attached.

Thanks again
Albrecht


On Wed, 13 Apr 2005, Mikael Persson wrote:

 On 4/13/05, Albrecht Kauffmann [EMAIL PROTECTED] wrote:


 On Wed, 13 Apr 2005, Albrecht Kauffmann wrote:

  Hi all,
 
  I've tried to typeset in Russian with utf-8 fonts, like explained at
  contextgarden.net/Russian. cm-super-fonts are installed, included tfm-,
  enc- and map-files. Running the example
 
  \enableregime[utf]
  \useencoding[cyr]
 
  \definetypeface [russian]
[rm] [serif] [computer-modern] [default] [encoding=t2a]
 
  \setupbodyfont[russian]
  \starttext
   ?  % Some Russian characters
  \stoptext
 
  I got error messages (see the attached logfile): the font larm1000 was not
  found.
 
  Have I to edit some lines in type-map.tex? Or what could be wrong?

 If I add to type-map.tex:
 \starttypescript [map] [computer-modern] [t2a]
\loadmapfile[cm-super-t2a.map]
 \stoptypescript

 I get russian fonts, but these are not the right ones.

 I would be very glad, if anyone could help me to solve the problem.

 Thanks
 Albrecht



Hello Albrecht,

Are you sure that you have saved your file in the utf-8 encoding and
not in koi8r or something? The problem of getting the wrong characters
can come from that. Moreover, the example:

%%
\enableregime[utf]
\useencoding[cyr]

\definetypeface [russian]
  [rm] [serif] [computer-modern] [default] [encoding=t2a]

\setupbodyfont[russian]
\starttext
 ?  % Some Russian characters
\stoptext
%%

from the wiki page works here. (Ok, since I wrote the page it would be
kind of weird if it did not). Have you generated the tmf files?

Have anyone else tried if it works for them?

Regards, Micke P\setupoutput[pdftex]
\enableregime[utf]
\useencoding[cyr]

\definetypeface [russian]
  [rm] [serif] [computer-modern] [default] [encoding=t2a]

\setupbodyfont[russian]
\starttext
Мама и Папа  Some Russian characters


\stoptext


bsp.pdf
Description: Adobe PDF document
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.3) (format=cont-en 
2005.4.13)  14 APR 2005 10:02
entering extended mode
**cont-en bsp.tex
(./bsp.tex

ConTeXt  ver: 2005.01.28  fmt: 2005.4.13  int: english  mes: english

language: language en is active
protectionstate 0
system  : cont-new loaded
(/usr/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 878] 
system (E-TEX) : [line 933] 
)
system  : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/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 en-default:default-1-2:2 uk-default:default-2-
2:2 de-default:default-3-2:2 fr-default:default-4-2:2 es-default:default
-5-2:2 it-default:default-6-2:2 nl-default:default-7-2:2 loaded
specials: tex,postscript,rokicki loaded
\openout2 = `bsp.tui'.

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

\openout0 = `mpgraph.mp'.

Missing character: There is no ^^ef in font cmr12!
Missing character: There is no ^^bb in font cmr12!
Missing character: There is no ^^bf in font cmr12!

specials: loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex unprotect 3
system (E-TEX) : [line 2280] \ifcsname 
protect 3)
specials: fdf loaded
)
specials: fdf,tpd loaded
encoding: coding cyr is loaded
(/usr/share/texmf/tex/context/base/enco-cyr.tex
encoding: coding t2a
encoding: coding t2b
encoding: coding t2c
encoding: coding x2
encoding: coding lcy
) (/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex)
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex

[NTG-context] Russian

2005-04-13 Thread Albrecht Kauffmann
Hi all,

I've tried to typeset in Russian with utf-8 fonts, like explained at
contextgarden.net/Russian. cm-super-fonts are installed, included tfm-,
enc- and map-files. Running the example

\enableregime[utf]
\useencoding[cyr]

\definetypeface [russian]
  [rm] [serif] [computer-modern] [default] [encoding=t2a]

\setupbodyfont[russian]
\starttext
 ?  % Some Russian characters
\stoptext

I got error messages (see the attached logfile): the font larm1000 was not
found.

Have I to edit some lines in type-map.tex? Or what could be wrong?

With many thanks for any hint
Albrecht

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.3) (format=cont-en 
2005.4.13)  13 APR 2005 11:22
entering extended mode
**cont-en bsp.tex
(./bsp.tex

ConTeXt  ver: 2005.01.28  fmt: 2005.4.13  int: english  mes: english

language: language en is active
protectionstate 0
system  : cont-new loaded
(/usr/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 878] 
system (E-TEX) : [line 933] 
)
system  : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/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 en-default:default-1-2:2 uk-default:default-2-
2:2 de-default:default-3-2:2 fr-default:default-4-2:2 es-default:default
-5-2:2 it-default:default-6-2:2 nl-default:default-7-2:2 loaded
specials: tex,postscript,rokicki loaded
\openout2 = `bsp.tui'.

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

\openout0 = `mpgraph.mp'.

Missing character: There is no ^^ef in font cmr12!
Missing character: There is no ^^bb in font cmr12!
Missing character: There is no ^^bf in font cmr12!

specials: loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex unprotect 3
system (E-TEX) : [line 2280] \ifcsname 
protect 3)
specials: fdf loaded
)
specials: fdf,tpd loaded
encoding: coding cyr is loaded
(/usr/share/texmf/tex/context/base/enco-cyr.tex
encoding: coding t2a
encoding: coding t2b
encoding: coding t2c
encoding: coding x2
encoding: coding lcy
) (/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex)
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex) (./bsp.tuo
systems : possible problem with 8 bit output
) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo)
(./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo)
fonts   : using map file: texnansi-public-lm.map
fonts   : using map file: original-public-vnr.map
fonts   : using map file: original-public-csr.map
fonts   : using map file: original-public-plr.map
fonts   : using map file: original-public-lm.map
fonts   : using map file: original-ams-euler.map
fonts   : using map file: original-ams-cmr.map
fonts   : using map file: texnansi-base.map
fonts   : using map file: t5-base.map
fonts   : using map file: qx-base.map
fonts   : using map file: 8r-base.map
fonts   : using map file: ec-base.map
fonts   : using map file: ec-public-lm.map
fonts   : using map file: original-base.map
systems : begin file bsp at line 9
[1.1{/usr/share/texmf/fonts/map/pdftex/context/original-empty.map}{/usr/share/t
exmf/fonts/map/pdftex/context/texnansi-public-lm.map}{/usr/share/texmf/fonts/ma
p/pdftex/context/original-public-vnr.map}{/usr/share/texmf/fonts/map/pdftex/con
text/original-public-csr.map}{/usr/share/texmf/fonts/map/pdftex/context/origina
l-public-plr.map}{/usr/share/texmf/fonts/map/pdftex/context/original-public-lm.
map}{/usr/share/texmf/fonts/map/pdftex/context/original-ams-euler.map}{/usr/sha

[NTG-context] Re: Russian

2005-04-13 Thread Albrecht Kauffmann


On Wed, 13 Apr 2005, Albrecht Kauffmann wrote:

 Hi all,

 I've tried to typeset in Russian with utf-8 fonts, like explained at
 contextgarden.net/Russian. cm-super-fonts are installed, included tfm-,
 enc- and map-files. Running the example

 \enableregime[utf]
 \useencoding[cyr]

 \definetypeface [russian]
   [rm] [serif] [computer-modern] [default] [encoding=t2a]

 \setupbodyfont[russian]
 \starttext
  ?  % Some Russian characters
 \stoptext

 I got error messages (see the attached logfile): the font larm1000 was not
 found.

 Have I to edit some lines in type-map.tex? Or what could be wrong?

If I add to type-map.tex:
\starttypescript [map] [computer-modern] [t2a]
   \loadmapfile[cm-super-t2a.map]
\stoptypescript

I get russian fonts, but these are not the right ones.

I would be very glad, if anyone could help me to solve the problem.

Thanks
Albrecht



 With many thanks for any hint
 Albrecht


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


Re: [NTG-context] imposition for a pdf file

2005-03-17 Thread Albrecht Kauffmann
Multivalent has a pdf-tool for arranging some pages at one printing page.

Greetings
Albrecht


On Wed, 16 Mar 2005, luigi.scarso wrote:

 Ciro A. Soto wrote:

  I have a pdf file with 660 letter-size pages.
 I would like to save toner in my printer by
 printing 2 or 4 pages in one single sheet of paper.

 Is it possible to do this with context?
 or any other alternative?

 Remember, I don't have the source file, only the pdf
 file.

 thank you

 Ciro


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



 As usually, not a direct answer...

 Play with these script
 %%
 %% save it as test.tex
 %%
 \setupcolors[state=start]
 \starttext
 \dorecurse{660}%
 {\startTEXpage[width=3cm,height=2cm]
 \vbox to \vsize{\vss
 \hbox 
 to\hsize{\hss\framed[width=2cm,align={middle,lohi},background=color,backgroundcolo
 r=green]{p.\tfd\recurselevel}\hss} \vss}
 \stopTEXpage}
 \stoptext

 %%
 %% save as my-imp.tex
 %%
 %% \setuplayout here
 \starttext
 \centerline{%
 \externalfigure[test][page=1]
 \externalfigure[test][page=3]
 \externalfigure[test][page=5]
 \externalfigure[test][page=7]
 \externalfigure[test][page=9]
 \externalfigure[test][page=11]
 }
 \blank[1cm]
 \centerline{%
 \externalfigure[test][page=2]
 \externalfigure[test][page=4]
 \externalfigure[test][page=6]
 \externalfigure[test][page=8]
 \externalfigure[test][page=10]
 \externalfigure[test][page=12]
 }
 \stoptext

 (you can create my-imp.tex by a script and choosing the appropriate
 number
 for page=, also use \setuplayout etc..)

 Also look for  \setuparranging.

 luigi




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


[NTG-context] Re: Cannot open font map file

2005-03-15 Thread Albrecht Kauffmann
Hi all,

I found the reason for failure in an old teTeX version without a lot of
map- and enc-files. Additionally some entries into texmf.cnf were to be
made.

Greetings
Albrecht

On Mon, 14 Mar 2005, Albrecht Kauffmann wrote:

 Hi all,

 after installing the latest alpha together with pdftex 1.21 under Linux
 I've got troubles with font mapping. My test file is:

 \setupoutput[pdftex]
 \setupalign[hanging]
 \setupfontsynonym [Serif] [handling=pure]
 \setupfontsynonym [Sans]  [handling=pure]
 \setupfontsynonym [Mono]  [handling=punctuation]
 \usetypescript [all] [latin-modern] [texnansi]
 \setupbodyfont[reset]
 \setupbodyfont[cmr,12pt]
 \showfont[Serif]
 \setuppapersize [A4][A4]
 \starttext

 blabla

 \stoptext


 pdfeTeX does not find the map files, how the following log-file confirms.

 Has anyone a hint in order to repair the system?

 With many thanks in advance
 Albrecht

 This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.3) (format=cont-en
 2005.3.14)  14 MAR 2005 18:19
 entering extended mode
 **cont-en test_lin.tex
 (./test_lin.tex

 ConTeXt  ver: 2005.01.28  fmt: 2005.3.14  int: english  mes: english

 language: language en is active
 protectionstate 0
 system  : cont-new loaded
 (/usr/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 878]
 system (E-TEX) : [line 933]
 )
 system  : cont-old loaded
 (/usr/share/texmf/tex/context/base/cont-old.tex
 loading : Context Old Macros
 )
 system  : cont-fil loaded
 (/usr/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 en-default:default-1-2:2
 uk-default:default-2-
 2:2 de-default:default-3-2:2 fr-default:default-4-2:2
 es-default:default
 -5-2:2 it-default:default-6-2:2 nl-default:default-7-2:2 loaded
 specials: tex,postscript,rokicki loaded
 \openout2 = `test_lin.tui'.

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

 \openout0 = `mpgraph.mp'.


 specials: loading definition file tpd
 (/usr/share/texmf/tex/context/base/spec-tpd.tex
 specials: loading definition file fdf
 (/usr/share/texmf/tex/context/base/spec-fdf.tex unprotect 3
 system (E-TEX) : [line 2280] \ifcsname
 protect 3)
 specials: fdf loaded
 )
 specials: fdf,tpd loaded
 (/usr/share/texmf/tex/context/base/type-syn.tex)
 (/usr/share/texmf/tex/context/base/type-enc.tex)
 (/usr/share/texmf/tex/context/base/type-dis.tex)
 (/usr/share/texmf/tex/context/base/type-siz.tex)
 (/usr/share/texmf/tex/context/base/type-map.tex)
 (/usr/share/texmf/tex/context/base/type-spe.tex)
 (/usr/share/texmf/tex/context/base/type-exa.tex)
 (/usr/share/texmf/tex/context/base/type-akb.tex)
 (/usr/share/texmf/tex/context/base/type-buy.tex)
 (/usr/share/texmf/tex/context/base/type-pre.tex
 (/usr/share/texmf/tex/context/base/type-syn.tex)
 (/usr/share/texmf/tex/context/base/type-enc.tex)
 (/usr/share/texmf/tex/context/base/type-dis.tex)
 (/usr/share/texmf/tex/context/base/type-siz.tex)
 (/usr/share/texmf/tex/context/base/type-map.tex)
 (/usr/share/texmf/tex/context/base/type-spe.tex)
 (/usr/share/texmf/tex/context/base/type-exa.tex)
 (/usr/share/texmf/tex/context/base/type-akb.tex)
 (/usr/share/texmf/tex/context/base/type-buy.tex))
 (/usr/share/texmf/tex/context/base/font-run.tex)
 color   : system rgb is local activated
 (./test_lin.tuo
 systems : possible problem with 8 bit output
 ) (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo)
 (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo)
 (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo)
 fonts   : using map file: texnansi-var-exclusive-public-lm.map
 fonts   : using map file: texnansi-public-lm.map
 fonts   : using map file: original-public-vnr.map
 fonts   : using map file: original-public-csr.map
 fonts   : using map file: original-public-plr.map
 fonts   : using map file: original-public-lm.map
 fonts   : using map file: original-ams-euler.map
 fonts   : using map file: original-ams-cmr.map
 fonts   : using map file: texnansi-base.map
 fonts   : using map file: t5-base.map
 fonts   : using map file: qx-base.map
 fonts   : using map file: 8r-base.map
 fonts   : using map file: ec-base.map
 fonts   : using map file: ec-public-lm.map
 fonts   : using map file: original-base.map
 systems : begin file test_lin at line 11
 [1.1
 Warning: pdfetex (file original-empty.map): cannot open font map file

 Warning: pdfetex (file texnansi-var-exclusive-public-lm.map): cannot open
 font
 map file

 Warning: pdfetex (file texnansi-public-lm.map): cannot

[NTG-context] Cannot open font map file

2005-03-14 Thread Albrecht Kauffmann
Hi all,

after installing the latest alpha together with pdftex 1.21 under Linux
I've got troubles with font mapping. My test file is:

\setupoutput[pdftex]
\setupalign[hanging]
\setupfontsynonym [Serif] [handling=pure]
\setupfontsynonym [Sans]  [handling=pure]
\setupfontsynonym [Mono]  [handling=punctuation]
\usetypescript [all] [latin-modern] [texnansi]
\setupbodyfont[reset]
\setupbodyfont[cmr,12pt]
\showfont[Serif]
\setuppapersize [A4][A4]
\starttext

blabla

\stoptext


pdfeTeX does not find the map files, how the following log-file confirms.

Has anyone a hint in order to repair the system?

With many thanks in advance
Albrecht

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.3) (format=cont-en
2005.3.14)  14 MAR 2005 18:19
entering extended mode
**cont-en test_lin.tex
(./test_lin.tex

ConTeXt  ver: 2005.01.28  fmt: 2005.3.14  int: english  mes: english

language: language en is active
protectionstate 0
system  : cont-new loaded
(/usr/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 878]
system (E-TEX) : [line 933]
)
system  : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/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 en-default:default-1-2:2
uk-default:default-2-
2:2 de-default:default-3-2:2 fr-default:default-4-2:2
es-default:default
-5-2:2 it-default:default-6-2:2 nl-default:default-7-2:2 loaded
specials: tex,postscript,rokicki loaded
\openout2 = `test_lin.tui'.

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

\openout0 = `mpgraph.mp'.


specials: loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex unprotect 3
system (E-TEX) : [line 2280] \ifcsname
protect 3)
specials: fdf loaded
)
specials: fdf,tpd loaded
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex)
(/usr/share/texmf/tex/context/base/type-pre.tex
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex))
(/usr/share/texmf/tex/context/base/font-run.tex)
color   : system rgb is local activated
(./test_lin.tuo
systems : possible problem with 8 bit output
) (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo)
(./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo)
(./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo) (./test_lin.tuo)
fonts   : using map file: texnansi-var-exclusive-public-lm.map
fonts   : using map file: texnansi-public-lm.map
fonts   : using map file: original-public-vnr.map
fonts   : using map file: original-public-csr.map
fonts   : using map file: original-public-plr.map
fonts   : using map file: original-public-lm.map
fonts   : using map file: original-ams-euler.map
fonts   : using map file: original-ams-cmr.map
fonts   : using map file: texnansi-base.map
fonts   : using map file: t5-base.map
fonts   : using map file: qx-base.map
fonts   : using map file: 8r-base.map
fonts   : using map file: ec-base.map
fonts   : using map file: ec-public-lm.map
fonts   : using map file: original-base.map
systems : begin file test_lin at line 11
[1.1
Warning: pdfetex (file original-empty.map): cannot open font map file

Warning: pdfetex (file texnansi-var-exclusive-public-lm.map): cannot open
font
map file

Warning: pdfetex (file texnansi-public-lm.map): cannot open font map file

Warning: pdfetex (file original-public-vnr.map): cannot open font map file

Warning: pdfetex (file original-public-csr.map): cannot open font map file

Warning: pdfetex (file original-public-plr.map): cannot open font map file

Warning: pdfetex (file original-public-lm.map): cannot open font map file

Warning: pdfetex 

Re: [NTG-context] Unexpected changes with pdfeTeX 1.20 (?)

2005-03-03 Thread Albrecht Kauffmann
Hi Steffen, hi all,

I've got the same problem too with TOC (and other lists). Additionally
are tables unintentionally indented when they contain local footnotes.
Could this be connected with the indentation of TOC etc.?

Greetings
Albrecht

On Tue, 1 Mar 2005, Steffen Wolfrum wrote:

 Hi,

 while looking closer at the result of typesetting an older (Nov.
 2004) document with todays pdfeTeX and context stuff I noticed that
 the layout of my TOC changed:

 Normally I write all setups in a SetupEnvironment file that is loaded
 at the beginning of a project structure.
 Like this:

 \startproject WLTHR_1
 \environment SetupEnvironment_WLTHR
 \startfrontmatter
 \component Kapitel/Titelei
 \component Kapitel/Vorwort
 \completecontent
 \stopfrontmatter
 \startbodymatter
 \component Kapitel/Kap_1
 \component Kapitel/Kap_2
 \component Kapitel/Kap_3
 \component Kapitel/Kap_4
 \component Kapitel/Kap_5
 \stopbodymatter
 \startbackmatter
 \component Kapitel/Katalog
 \component Kapitel/Literatur
 \stopbackmatter
 \stopproject

 But as in SetupEnvironment also \setupindenting is set, now the TOC
 gets this indenting too!
 Once (2004, before pdfeTeX 1.20 ?) this didn't affect the generated
 \completecontent - only the real \component files.

 Is this change known? Are there more differences like this, so one
 knows what to look for when typesetting older documents with new TeX
 (ConTeXt?) files?

 Steffen



 A minimal test looks like this:

 \starttext
 \showframe
 \showgrid
 \definecombinedlist[content]
 [chapter,section][level=section]
 \setupindenting[30pt]% 
 \completecontent% ---
 %\setupindenting[30pt]% 
 \chapter{Kapitel}
 text
 \section{Unterkapitel}
 text
 \section{Unterkapitel}
 text
 \stoptext
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

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


[NTG-context] font handling and \showfont

2005-01-31 Thread Albrecht Kauffmann
Hi all,

I have a question regarding the use of font handling. With the trailer

\setupoutput[pdftex]
\useencoding[win]
\setupalign[hanging]
\setupfontsynonym [Serif] [handling=pure]
\setupfontsynonym [Sans]  [handling=pure]
\setupfontsynonym [Mono]  [handling=punctuation]
\usetypescript [all] [latin-modern][texnansi]
\setupbodyfont[reset]
\setupbodyfont[cmr]

I get output with expected hanging punctuation only if I type after
\starttext the command

\showfont[Serif].

Without the latter the protruding mechanism doesn't work. My question is:
How can I get hanging punctuation without the command \showfont[Serif]?

With many thanks for any hint
Albrecht
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \setuplist[...][alternative=c] doesn't work

2005-01-31 Thread Albrecht Kauffmann
Hi all,

I've problems making a TOC. I'm using
ConTeXt  ver: 2004.12.06
and
pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3).

If I type e.g. \setuplist[section][alternative=c] I don't get any dots.
Is this  a
bug, or what could be wrong?

With many thanks for any hint
Albrecht

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


[NTG-context] Re: \setuplist[...][alternative=c] doesn't work

2005-01-31 Thread Albrecht Kauffmann
Hi all,

with the recent alpha version the \setuplist procedure works fine.

Greetings
Albrecht


On Mon, 31 Jan 2005, Albrecht Kauffmann wrote:

 Hi all,

 I've problems making a TOC. I'm using
 ConTeXt  ver: 2004.12.06
 and
 pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3).

 If I type e.g. \setuplist[section][alternative=c] I don't get any dots.
 Is this  a
 bug, or what could be wrong?

 With many thanks for any hint
 Albrecht


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


Re: [NTG-context] Figure captions

2005-01-05 Thread Albrecht Kauffmann


On Wed, 5 Jan 2005, Taco Hoekwater wrote:

 Hi,

 Does anybody know how I can get a dot after the figure number in
 a caption, without 'promoting' that dot to figure references in
 the body text as well?

\let\floatcaptionsuffix=.

Greetings
Albrecht


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


[NTG-context] \reference[mark]{(\the\equationnumber)}

2004-01-13 Thread Albrecht Kauffmann
Hi all,

in a former paper I used

\newcount\equationnumber
\equationnumber=0
\def\eq{\advance\equationnumber by 1}%Formelzähler erhöhen
\starttext
\eq\reference[a]{(\the\equationnumber)}
$$a\eqno(\the\equationnumber)$$%an equation
\eq\reference[b]{(\the\equationnumber)}
$$b\eqno(\the\equationnumber)$$%another equation
Eq. \ref[t][a] and \ref[t][b] are only simple characters, because this is
a test.
\stoptext

with the Context version 2003.9.17 this doesn't work: Only the largest
Equationnumber appears as reference text, and in the *.tui and *.tuo-file
is written \the \equationnumber instead of the value of
\the\equationnumber.

Would it be able to revive this mechanism?

With many thanks for any hint,
Albrecht

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


Re: [NTG-context] \reference[mark]{(\the\equationnumber)}

2004-01-13 Thread Albrecht Kauffmann


On Tue, 13 Jan 2004, Tobias Burnus wrote:

 Hi,

 On Tue, Jan 13, 2004 at 01:56:55PM +0100, Albrecht Kauffmann wrote:
  in a former paper I used
 [...]

 How about

 \placeformula[one]
 \startformula
 \eqalignno{
a = b  \formulanumber[one-a]{a}\cr
c = d  \subformulanumber[one-b]{b}\cr
 }\stopformula

 \in[one],  \in[one-a], \in[one-b]


 Regards,

 Tobias

This is the placeformula mechanism. The problem is, that I used the
described way with \the\equationnumber in my earlier papers, with hundreds
of formulas. It would be needed to rewrite them all.

Greetings,
Albrecht


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


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


[NTG-context] Footnotes

2003-10-06 Thread Albrecht Kauffmann
Hi all,

does anyone know how to expand the distance between the last text line on
a page and the first footnote?

With many thanks for any hint
Albrecht


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


[NTG-context] hanging punctuation and lm-fonts

2003-10-06 Thread Albrecht Kauffmann
Hi all,

I have a problem with the new installed lm fonts: With

\setupfontsynonym [Serif][handling=pure]
\setupalign[hanging]
\usetypescript [all] [latin-modern] [texnansi]
\setupbodyfont[reset] \setupbodyfont[cmr,11pt]

all works fine except hanging. What did I make wrong?

Many thanks in advance,
Albrecht

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