[NTG-context] acro bat 7

2005-01-07 Thread Hans Hagen
Hi Willy, [cc to context list]
Long ago we mailed about acrobat messing up colors when using transparencies. 
Well, it looks like it happens again. When transparencies are used, all colors 
are affected (become darker).

In previous versions, the pag ecache was the troublemaker, dunno what causes it 
now, since i cannot influence the cache.

Can you test this on your machine as well?
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] function that purges 8 bit text?

2005-01-07 Thread Hans Hagen
Henning Hraban Ramm wrote:
Will this also work with field names ( \definefield[Übelkübel]... )?
no, what happens when you do that?
(i can of course add such code in more places)
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] recursion/loop with counter?

2005-01-07 Thread Hans Hagen
Henning Hraban Ramm wrote:
Am 06.01.2005 um 15:41 schrieb Hans Hagen:
\dorecurse{20}
  {\bTR \expanded{\bTD \recurselevel bottles of beer \eTD} \bTD \strut 
\eTD \eTR}

But what if I need it in a call to some function like:
\dorecurse{10}{\SkillField{Skill\expanded\recurselevel}}
\dorecurse{10}{\expanded{\SkillField{Skill\recurselevel}}}
\expanded is one of the more interesting commands, it does *not* expand the 
\SkillField, only what comes after it

\startexpanded ... \stopexpanded does expand everything,
Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] optional arguments, if(nth)argument

2005-01-07 Thread Taco Hoekwater
Hi,
There is interference with the \bTR macro. It works fine with all
TABLE commands removed. The table macros like \bTR and \bTD
themselves use \dodoubleempty.
Greetings, Taco
Henning Hraban Ramm wrote:
Hello again!
Today I'm trying a lot of new (to me) things...
This time, a macro with optional arguments and \if...argument :
\def\SkillField{\dodoubleempty\doSkillField}
\def\doSkillField[#1][#2]#3{\bTR\bTD #3
\iffirstargument\hfill (#1)\fi % don't print when no optional 
argument
\eTD \bTD
\ifsecondargument  % if second optional arg is provided
\definefield[#2][line][Skill][#1]\field[#2]
\else  % if no second optional arg
\definefield[#3][line][Skill][#3]\field[#3]
\fi
\eTD\eTR}

e.g.
\SkillField[+8][Aergern]{Ärgern} % works
\SkillField[+1]{Labern} % does nothing instead of else
\SkillField{Testen} % does \hfill (#1), but should do nothing
Apparently, the \if...argument ... \else don't work as they should.
Where's my mistake?
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Acrobat Reader 7.0(beta) for Linux

2005-01-07 Thread Tobias Burnus
Hello,
Taco Hoekwater wrote:
This is a link that allows you to apply for Adobe's 'beta program'.
The link worked for me, perhaps because the website recognized my
Linux machine correctly?
Well, I found it also after I sent the email (I was looking too low).
Whether or not you actually get to test the Reader 7 is decided
by somebody at Adobe (Q.A. department, probably). The good news is
that there is apparently going to be a Reader 7 for Unix released,
the bad news is that you can't get at it right now.
http://www.adobe.com/products/acrobat/readstep2.html
Well, I think one can register again. I did yesterday, didn't hear 
anything but after loging in again today, I was able to download the 
.rpm (or tar.gz) version.

I'm going to test it now ...
Tobias
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] m-letter

2005-01-07 Thread Rob Ermers
Dear friends,
Some time ago Wolfgang Zilig asked on this forum if the letter module is 
still supported. He also sent his log file, the last line of which reads:

system : macros of module letter loaded
(C:\texmf\tex\plain\base\letter.tex
! Undefined control sequence.
l.13 \nopagenumbers
?
I have been experimenting a few days with the letter module, exactly as 
described in xcorrespondence, with the use of an xml database. 
Unfortunately I cannot get it right either.

My log file shows a number of errors, the first being the  same as in 
Wolfgang's. The error seems to be not a missing file, since al files are 
found, but rather something  else.

Does anyone have a clue?
Kind regards,
Robert Ermers
specials   : fdf,tpd loaded
system : macros of module letter loaded
(J:\tex\localtexmf\tex\context\base\m-letter.tex
system : no macros found in module letter
color  : system rgb is global activated
system : no macros found in module letter
)
system : macros of module letter loaded
(J:\tex\texmf\tex\plain\base\letter.tex
! Undefined control sequence.
l.13 \nopagenumbers
?
! Undefined control sequence.
l.14 \headline
  ={\ifnum\pageno1
?
! Font \logofont=stan70 at 70.0pt not loadable: Metric (TFM) file not found.
l.52 \font\logofont=stan70 at 70truept
?

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


Re: [NTG-context] m-letter

2005-01-07 Thread Taco Hoekwater
Hi,
Rob Ermers wrote:
Dear friends,
Some time ago Wolfgang Zilig asked on this forum if the letter module is 
still supported. He also sent his log file, the last line of which reads:

system : macros of module letter loaded
(C:\texmf\tex\plain\base\letter.tex
! Undefined control sequence.
l.13 \nopagenumbers
?
That is a plain TeX input file, named letter.tex. It is loaded because
ConTeXt uses the name you feed into \usemodule without prefix as last
resort (if it cannot find any version with a t-, s- or m- prefix).
It is not related to the ConTeXt letter module.
specials   : fdf,tpd loaded
system : macros of module letter loaded
(J:\tex\localtexmf\tex\context\base\m-letter.tex
What is in this file ? It is obviously present, but does it
actually contain the 'letter module' macros? (I doubt that)
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \dostopfloattext problem...

2005-01-07 Thread Martin Kolarík
Hi Hans,

I've found the small problem (but I did not trace it fully, so the
sugesstions could be false...) -- if one uses
\startfiguretext...\stopfiguretext and the figure oversizes criterium
defined in \setupfloat[figure][criterium=...] the float placement mechanism
probably goes besides \sometextfloat macro so \dostopfloattext macro used in
\stopfiguretext stays undefined and error appears.

I've solved this with omitting criterium or with self-defining empty
\dostopfloattext.

Have a nice day,

Martin

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


Re: [NTG-context] m-letter

2005-01-07 Thread Rob Ermers
Dear friends,
Thanks for your reactions to my previous message.
After some experimenting I succeeded in creating a letter with 
m-letter.tex and an xml database. I shall put the model on the wiki soon.

However, one problem remains to be solved. The command \input after 
\startbuffer is not recognised.

Do you have an idea how to get it right?
Regards,
Robert
\startbuffer[texletter]
\input brieftekst
\stopbuffer
\setvariables
[letter:data]
[address=\XMLflush{address},
prefix=\XMLflush{prefix},
initials=\XMLflush{initials},
formalname=\XMLflush{formalname},
informalname=\XMLflush{informalname},
content={\getbuffer[texletter]}
]
Result in pdf:
Geachte Heer Hagen,
input brieftekst
Met vriendelijke groet,
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: m-letter (addressee)

2005-01-07 Thread Rob Ermers
Dear friends,
The next thing I would like to find out about the m-letter is how to 
determine the position of the addressee. I intend to use the letters in 
a regular convert with a window. For the position the addressee is 
placed (upper left corner) standard converts are hard to come by.

The window sizes of course differ, but the one I would like to use is:
10 cm x 3 cm
distance from upper page edge 8,8cm
distance from right page edge 1,5 cm
distance from left page edge 9,5cm
Help is much appreciated.
Kind regards,
Robert Ermers

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


[NTG-context] XML question regarding special characters

2005-01-07 Thread Zeljko Vrba

Hi!

I'm trying to design a universal markup that will be easy to convert both
to PDF and HTML. I've come to code and equations. I don't want to use
MathML and I want to output (and use in my documents!) verbatim TeX code of
equations to HTML. What worries me is the following:

I want to be able to write and run through Context XML processing:

formula label=fm:whatever
  x^{2}  y
/formula

or, for typesetting computer programs:

code
  if((xy) = 3) {
do_something();
  }
/code

(this would translate to \starttyping\stoptyping)

How do I define XML environments that can handle XML special characters
(, etc., I  don't know all of them..) gracefully? (i.e. so that I don't
have to type code if((xamp;y) gt;= 3) /code and similar for formulas)

Thanks!

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


Re: [NTG-context] XML question regarding special characters

2005-01-07 Thread Adam Lindsay
Zeljko Vrba said this at Fri, 7 Jan 2005 19:35:27 +0100:

I'm trying to design a universal markup that will be easy to convert both
to PDF and HTML. 

Hi there. Sounds as if we're after similar things. I've been working on
similar stuff, expanding on the existing x-contml module with code in
this project:
http://oo2contml.sourceforge.net/
(The source code link may be instructive.)

formula label=fm:whatever
  x^{2}  y
/formula

I use the following, as heavily influenced by Hans:

%D Recommended by Hans as a variant of \type{\XMLtex}:
\unprotected\def\XMLtexdata#1%
   {\begingroup
\disableXML
[EMAIL PROTECTED]@[EMAIL PROTECTED]@@XMLdata:#1\endcsname}%
\endgroup}

%D Display|| and in||line math using \TeX\ syntax:
\defineXMLenvironmentsave
   [context:dispformula] [label=]
   {}
   {\startformula[\XMLop{label}]
 \XMLtexdata{context:dispformula} \stopformula}
 
\defineXMLenvironmentsave
   [context:formula] []
   {}
   {\mathematics{\XMLtexdata{context:formula}}}

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


[NTG-context] pragma web site error

2005-01-07 Thread Peter Mnster
Hello,
I get the following error message on URL http://www.pragma-ade.com/context/ :

Example Server Report
Fri Jan 07 22:31:20 CET 2005
Something is wrong. Maybe you need to login.

Do I have to register somewhere?

Happy new year, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pragma web site error

2005-01-07 Thread Adam Lindsay
Peter Münster said this at Fri, 7 Jan 2005 21:34:34 +0100:

Do I have to register somewhere?

It's the standard 404 - Not found error.
You probably are looking for:
 http://www.pragma-ade.com/dir/context/
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] next version

2005-01-07 Thread Hans van der Meer
On Jan 6, 2005, at 17:44, Hans Hagen wrote:
btw, there is a new 'manual': tiptrick.pdf; will be extended over time
Where can I find it? I did look for it on the pragma site but could not 
find a link to it in any of the subtrees.

May I also make a suggestion? I think it will be useful when the 
versiondate of the documents, especially the manuals, can be put along 
the download link. Like is done for the context zipped updates in the 
download page. It will make spotting updates much easier en prevents 
downloads that afterwards turn out to be duplicates. Thanks if it can 
be implemented.

Hans van der Meer
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] next version

2005-01-07 Thread Tobias Burnus
Hi,
Hans van der Meer wrote:
On Jan 6, 2005, at 17:44, Hans Hagen wrote:
btw, there is a new 'manual': tiptrick.pdf; will be extended over time
Where can I find it? I did look for it on the pragma site but could 
not find a link to it in any of the subtrees.
http://www.pragma-ade.com/general/manuals/tiptrick.pdf
Tobias
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] next version

2005-01-07 Thread Peter Mnster
On Fri, 7 Jan 2005, Hans van der Meer wrote:

 May I also make a suggestion? I think it will be useful when the 
 versiondate of the documents, especially the manuals, can be put along 
 the download link.

You are probably looking for this link:
http://www.pragma-ade.com/dir/general/manuals/?M=D
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pragma web site error

2005-01-07 Thread Peter Mnster
On Fri, 7 Jan 2005, Adam Lindsay wrote:

 You probably are looking for:
  http://www.pragma-ade.com/dir/context/

Yes, indeed!
Thanks, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] next version

2005-01-07 Thread Adam Lindsay
Hans Hagen said this at Thu, 6 Jan 2005 18:32:27 +0100:

- csr/plr/aer/vnr will be dropped in favor of lmr (also makes minimals
smaller)
 
 
 What will this entail, exactly?

less font files because latin modern has all those glyphs in it (once
vietnamese 
is in there some 600 glyphs per font); for speed and consistency i may add a 
bunch of encoding-lmr*.tfm files but users will not notice it;

Okay, here's a question: what's the plan for ec-lmr*.tfm files?

Your latin-modern typescripts accept ec, but the tfm files are called cork.
(I'm only wondering about this now for antt support.)

I know of two approaches. Which would you recommend?

\starttypescript [serif] [antykwa-torunska] [texnansi,qx,ec]
  \definefontsynonym [AntykwaTorunska-Bold]
  [\typescriptthree-anttb] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [serif] [antykwa-torunska] [ec]
  \definefontsynonym [ec-anttb] [cork-anttb]
\stoptypescript

% or...

\starttypescript [serif] [antykwa-torunska] [texnansi,qx]
  \definefontsynonym [AntykwaTorunska-Bold]
  [\typescriptthree-anttb] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [serif] [antykwa-torunska] [ec]
  \definefontsynonym [AntykwaTorunska-Bold][cork-anttb][encoding=ec]
\stoptypescript

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] acro bat 7

2005-01-07 Thread Henning Hraban Ramm
Am 06.01.2005 um 21:59 schrieb Hans Hagen:
Long ago we mailed about acrobat messing up colors when using 
transparencies. Well, it looks like it happens again. When 
transparencies are used, all colors are affected (become darker).
In previous versions, the pag ecache was the troublemaker, dunno what 
causes it now, since i cannot influence the cache.
Are you sure it isn't only the overprint preview or the color 
management profiles setup?

(acro bat, because it likes the dark?)
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context