Re: [NTG-context] footnotes with one *

2005-08-22 Thread Ciro Soto
Thank you for your replies. They helped. I need two more twiks...
Twik 1:
My font is too slanted and the asterisk (*) is printed too close to the 
last word in the sentence. 
Example:  
Charles IV \footnote[]{asdfasdf}
will print an asterisk touching the V letter.
How do I instruct context to give me some room before printing the  asterisk?

Second twik:
How to control the distance between the page text and the line that separates
the footnote and the page text? 
I tried the "distance=", the "height="  arguments in the
setupfootnotes, but they don't do
what I want. 
thank you
Ciro

On 8/22/05, Brooks Moses <[EMAIL PROTECTED]> wrote:
> At 05:57 AM 8/22/2005, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
> > I think like this:
> >
> >   \defineconversion[starred][*]
> >   \setupfootnotes[conversion=starred]
> >
> >Untested, but should work
> 
> It doesn't quite work.
> 
> If you give a single argument to \defineconversion, it expects the
> conversion to be a command that takes an argument.  Since you haven't taken
> an argument, the number gets typeset after the asterisk.  Also, the
> asterisk needs to be in math mode to get positioned correctly, I
> think.  Correcting for both of those gives this, which works:
> 
>  \def\gobble#1{}
>  \defineconversion[starred][\mathematics{*}\gobble]
> \setupfootnotes[conversion=starred]
> 
> However, that's somewhat of a hack; better is to set up the footnotes to
> reset the counter on each page, and then use one of ConTeXt's predefined
> conversion sets that starts with an asterisk but follows it with other
> symbols.  That way, if one changes the file so that there end up being two
> footnotes on the same page, they won't both get asterisks (which would be
> confusing).
> 
> That can be done quite simply, like so:
> 
> \setupfootnotes[way=bypage,conversion=set 2]
> 
> Set 2 uses a \dag and then \ddag as the symbols after *, which is fairly
> standard typographic practice.  If you prefer to do a sequence of *, **,
> ***, and  instead, try something like this:
> 
>  \defineconversion
>[asterisks]
>[\mathematics{*},
> \mathematics{**},
> \mathematics{***},
> \mathematics{},
> \mathematics{\dag},
> \mathematics{\ddag}]
> \setupfootnotes[way=bypage,conversion=asterisks]
> 
> - Brooks
> 
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 


-- 
===
"All problems are at the interface. Each one of them has a solution."
from:
"The Guitar Maker: An Exploration of Wisdom, Design and Love." 
A novel by C. A. Soto Aguirre. Pub. Date: October 2005.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdflatex and mpost -tex=latex

2005-08-22 Thread Vit Zyka

David Arnold wrote:

Hans, Taco,

Thanks for your replies. Not really a Context question, but we're using 
emp.sty with pdflatex to compile some work we're doing and our Linux 
server at school doesn't have the -tex=latex option for Metapost (an 


For me works seting environment variable TEX=latex.

vit

older version of Web2c). The package defaults to running metapost with 
-tex=latex, so that's a problem. We'll probably circumvent the problem 
by upgrading our tex distribution, but the package contains an \empTeX 
command that writes a verbatimtex ... tex. So far, I've had no success 
making this blank so I tried erasing the verbatim ... tex manually (it's 
got a documentclass and a begin{document} in it) and compiling the tex 
document with pdflatex and no -shell-escape, but the log file still 
contains metapost has no option -tex=latex in it.


So that's why I was asking about the pdflatex. Don't worry about this, 
as our workaround will probably be to upgrade our version of tex and it 
will cease to be a problem.


Just wanted to let you know what we are doing. If you want to see, try:

http://scinux.redwoods.edu/cgi-bin/testing.cgi

Use:

username: hhagen123
password: password

It's really amazing. We have this young student who taught himself perl 
this summer, and my colleague Bruce Wagner is no slouch either, and the 
result is we have these perl scripts that generate random test banks. 
Quizzes are self scored and results are sent to a mysql database.


Good stuff for three hacks like us.

On Aug 22, 2005, at 9:12 AM, Hans Hagen Outside wrote:


David Arnold wrote:


All,

Does anyone know if

pdflatex -shell-escape filename

automatically forces metapost to run with -tex=latex?



dunno, but you can so
mptopdf --latex yourfile.mp
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



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



--
===
Ing. Vít Zýka, Ph.D. TYPOkvítek

database publishing  databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189 www: http://typokvitek.com
===

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


Re: [NTG-context] Re: blocks in itemize

2005-08-22 Thread Rob Ermers

Hi,

If I make sure there is enough space, i.e. more than one space, between 
the \begin... and the text, it works! However in the pdf the item drops 
a line down, like this:



*
Ik vraag me af ...

Does anyone have a workaround?

Kind regards,

Robert


\defineblock[Nederlandsblok, Engelsblok]

\starttext
\startitemize
\item\beginNederlandsblok Ik vraag me af of ze ook appels 
verkopen

\endNederlandsblok
\beginEngelsblok I really wonder if they do sell apples
\endEngelsblok
\item \beginNederlandsblok Ik vraag me af of ze ook 
appels verkopen

\endNederlandsblok
\beginEngelsblok I really wonder if they do sell apples
\endEngelsblok
\stopitemize
\stoptext


Rob Ermers wrote:

Thanks Brooks and Olivier,
I'm afraid the problem has not entirely been solved.

Brooks' solution works in the sense that I can hide BlockA or B 
(\hideblocks[BlockA]), but the \items remain, and empty items are 
generated.


Olivier's suggestion is processed, the result is only one language. Now 
now I wonder how to hide either one of the languages. The document I 
want to produce is monolingual, either Dutch or English.


Thanks again!

Kind regards,

Robert



Brooks Moses wrote:


At 04:58 AM 8/22/2005, you wrote:


Thanks for your reaction. My original proposal was:

\startitemize
  \beginblockA
\item Apple
  \endblockA
  \beginblockB
\item Pomme
  \endBlockB
  \beginblockA
\item Pear
  \endblockA
  \beginblockB
\item Poire
  \endBlockB
\stopitemize

This does not work.




I don't know anything about how blocks work, so this may be completely 
off-base, but if they do any sort of grouping, that would be quite 
sufficient to cause problems in a situation like that.  Does this work?


\startitemize
  \item \beginblockA
Apple
  \endblockA
  \item \beginblockB
Pomme
  \endBlockB
  \item \beginblockA
Pear
  \endblockA
  \item \beginblockB
Poire
  \endBlockB
\stopitemize

- Brooks

___
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 mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: blocks in itemize

2005-08-22 Thread Rob Ermers

Thanks Brooks and Olivier,
I'm afraid the problem has not entirely been solved.

Brooks' solution works in the sense that I can hide BlockA or B 
(\hideblocks[BlockA]), but the \items remain, and empty items are generated.


Olivier's suggestion is processed, the result is only one language. Now 
now I wonder how to hide either one of the languages. The document I 
want to produce is monolingual, either Dutch or English.


Thanks again!

Kind regards,

Robert



Brooks Moses wrote:

At 04:58 AM 8/22/2005, you wrote:


Thanks for your reaction. My original proposal was:

\startitemize
  \beginblockA
\item Apple
  \endblockA
  \beginblockB
\item Pomme
  \endBlockB
  \beginblockA
\item Pear
  \endblockA
  \beginblockB
\item Poire
  \endBlockB
\stopitemize

This does not work.



I don't know anything about how blocks work, so this may be completely 
off-base, but if they do any sort of grouping, that would be quite 
sufficient to cause problems in a situation like that.  Does this work?


\startitemize
  \item \beginblockA
Apple
  \endblockA
  \item \beginblockB
Pomme
  \endBlockB
  \item \beginblockA
Pear
  \endblockA
  \item \beginblockB
Poire
  \endBlockB
\stopitemize

- Brooks

___
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] footnotes with one *

2005-08-22 Thread Brooks Moses

At 05:57 AM 8/22/2005, Taco Hoekwater <[EMAIL PROTECTED]> wrote:

I think like this:

  \defineconversion[starred][*]
  \setupfootnotes[conversion=starred]

Untested, but should work


It doesn't quite work.

If you give a single argument to \defineconversion, it expects the 
conversion to be a command that takes an argument.  Since you haven't taken 
an argument, the number gets typeset after the asterisk.  Also, the 
asterisk needs to be in math mode to get positioned correctly, I 
think.  Correcting for both of those gives this, which works:


\def\gobble#1{}
\defineconversion[starred][\mathematics{*}\gobble]
   \setupfootnotes[conversion=starred]

However, that's somewhat of a hack; better is to set up the footnotes to 
reset the counter on each page, and then use one of ConTeXt's predefined 
conversion sets that starts with an asterisk but follows it with other 
symbols.  That way, if one changes the file so that there end up being two 
footnotes on the same page, they won't both get asterisks (which would be 
confusing).


That can be done quite simply, like so:

   \setupfootnotes[way=bypage,conversion=set 2]

Set 2 uses a \dag and then \ddag as the symbols after *, which is fairly 
standard typographic practice.  If you prefer to do a sequence of *, **, 
***, and  instead, try something like this:


\defineconversion
  [asterisks]
  [\mathematics{*},
   \mathematics{**},
   \mathematics{***},
   \mathematics{},
   \mathematics{\dag},
   \mathematics{\ddag}]
   \setupfootnotes[way=bypage,conversion=asterisks]

- Brooks

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


Re: [NTG-context] Re: blocks in itemize

2005-08-22 Thread Brooks Moses

At 04:58 AM 8/22/2005, you wrote:

Thanks for your reaction. My original proposal was:

\startitemize
  \beginblockA
\item Apple
  \endblockA
  \beginblockB
\item Pomme
  \endBlockB
  \beginblockA
\item Pear
  \endblockA
  \beginblockB
\item Poire
  \endBlockB
\stopitemize

This does not work.


I don't know anything about how blocks work, so this may be completely 
off-base, but if they do any sort of grouping, that would be quite 
sufficient to cause problems in a situation like that.  Does this work?


\startitemize
  \item \beginblockA
Apple
  \endblockA
  \item \beginblockB
Pomme
  \endBlockB
  \item \beginblockA
Pear
  \endblockA
  \item \beginblockB
Poire
  \endBlockB
\stopitemize

- Brooks

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


Re: Antwort: Re: [NTG-context] Image Database

2005-08-22 Thread Willi Egger

Hi Jesssica,


First:
Must I compile the XML file to the PDF?

Humble, I always do compile the figures into a pdf.


Second:
When I compile this PDF I've a font problem...

Fonts:

Hm, looks like there miss some files in your installation sive tex can 
not find them.


I haven not prepared a xml-figure library with the most recent releases 
of Context. So may be you could prepare a small library with the 
sample-files from Hans (hacker, cow etc) so then I could test it here...


Kind regards

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


Re: [NTG-context] pdflatex and mpost -tex=latex

2005-08-22 Thread David Arnold

Hans, Taco,

Thanks for your replies. Not really a Context question, but we're using 
emp.sty with pdflatex to compile some work we're doing and our Linux 
server at school doesn't have the -tex=latex option for Metapost (an 
older version of Web2c). The package defaults to running metapost with 
-tex=latex, so that's a problem. We'll probably circumvent the problem 
by upgrading our tex distribution, but the package contains an \empTeX 
command that writes a verbatimtex ... tex. So far, I've had no success 
making this blank so I tried erasing the verbatim ... tex manually 
(it's got a documentclass and a begin{document} in it) and compiling 
the tex document with pdflatex and no -shell-escape, but the log file 
still contains metapost has no option -tex=latex in it.


So that's why I was asking about the pdflatex. Don't worry about this, 
as our workaround will probably be to upgrade our version of tex and it 
will cease to be a problem.


Just wanted to let you know what we are doing. If you want to see, try:

http://scinux.redwoods.edu/cgi-bin/testing.cgi

Use:

username: hhagen123
password: password

It's really amazing. We have this young student who taught himself perl 
this summer, and my colleague Bruce Wagner is no slouch either, and the 
result is we have these perl scripts that generate random test banks. 
Quizzes are self scored and results are sent to a mysql database.


Good stuff for three hacks like us.

On Aug 22, 2005, at 9:12 AM, Hans Hagen Outside wrote:


David Arnold wrote:


All,

Does anyone know if

pdflatex -shell-escape filename

automatically forces metapost to run with -tex=latex?


dunno, but you can so
mptopdf --latex yourfile.mp
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



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


Re: [NTG-context] pdflatex and mpost -tex=latex

2005-08-22 Thread Hans Hagen Outside

David Arnold wrote:


All,

Does anyone know if

pdflatex -shell-escape filename

automatically forces metapost to run with -tex=latex?


dunno, but you can so 

mptopdf --latex yourfile.mp 

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] rotated accented character

2005-08-22 Thread Hans Hagen Outside

Mojca Miklavec wrote:



Thank you, Hans! This macro solved two problems at once :)
Now I can also define \udoublegrave (the "Aditions for Slovenian and
Croatian" section of Unicode ;) by simply putting
\mirror{\texthungarumlaut} as an argument to \topaccent.

 


hm, your little private tex version ...


Definitions of those strange glyphs have nothing to do in the ConTeXt
core, but perhaps you can put the \topaccent there as someone else
could need it as well.
 


ok, done

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] FWD: RE: dvipdfmx bug

2005-08-22 Thread Hans Hagen

Hi Chof,


http://project.ktug.or.kr/dvipdfmx/contrib/context/spec-dpx.tex


I replaced the file in the distribution with your file. 


I also patched core-obj

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] new for french users

2005-08-22 Thread Hans Hagen

Ulrich Dirr wrote:



Are these new support files already at pragma site? Which files do I need?
 


the files are there; you need the (currently djgpp) version

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


[NTG-context] Re: ConTeXt in MikTeX distribution

2005-08-22 Thread Patrick Gundlach

Hi,


> Just list another one, font files received from the vendor is usually
> in capital
> letters, such as PJN_.PFB, but the copy_files routine in texfont.pl only
> copy *.pfb, then all the type1 files will not be copy to texmf...

This, of course, is a problem that should be addressed. But I always
thought that windows doesn't care about case when globbing. But I
don't have access to a windows machine, so I can't try it out.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: ConTeXt in MikTeX distribution

2005-08-22 Thread jjgod

Patrick Gundlach 写道:


Hi,

 


> Then we must have different texfont.pl version. Each time afm2tfm is
> called, it uses either -T or -p. Running afm2tfm without those
> parameters doesn't make very much sense. (Unless you are an english
> speaking person that never typesets foreign languages.)

Accoding to
http://source.contextgarden.net/scripts/context/perl/texfont.pl,
I'm afraid you are wrong, the string "-p" only occured 3 times in this
file,
   



You don't have to be afraid. Let us stop this discussion now. Those
who know texfont.pl know that it should use the switches it uses and
there will not be any change in this respect on the texfont.pl side.
Just believe us that the encoding switches are vital. I have recently
reeimplemented afm2tfm and I think that I know what I am talking
about.

Patrick
 

I'm sorry for bother you guys about all these trival problems, but my 
situation

is that I'm trying to use ConTeXt under Win32, then I found many things not
so ideal like they're under Linux.

Just list another one, font files received from the vendor is usually in 
capital

letters, such as PJN_.PFB, but the copy_files routine in texfont.pl only
copy *.pfb, then all the type1 files will not be copy to texmf...

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


Re: [NTG-context] updating/installing context

2005-08-22 Thread Taco Hoekwater



Jörg Hagmann wrote:



Bill McClain's pages are slowly becoming obsolete,


But they still work. I would be willing to write a new version (just how 
to get going), provided you correct the mistakes. There are didactical 
advantages if something like that comes from a non-expert.


The directory file, "context.www", is renamed to "wget.txt".

In general, you will want to point people to

http://contextgarden.net

The two website/download mirrors for Pragma-ade are:

http://context.aanhet.net% mine
http://mirror.contextgarden.net  % patrick's

The mailing list archives are

http://www.ntg.nl/pipermail/ntg-context/ % one big chunk
http://archive.contextgarden.net % Lurker archive


The install instructions there are somewhat outside of my area of
expertise, I'm afraid (I don't use TeXLive). But I wrote the tetex_3.0
page in the wiki, and I'm fairly certain that page is still ok.

The typescript section is perhaps best checked by Adam, I believe
he is the most knowledgeable person about that subject currently.

The macro stuff should all be OK still (if not, there is probably
a bug within ConTeXt that should be fixed instead of Bill's code)

Cheers, Taco



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


Re: [NTG-context] footnotes with one *

2005-08-22 Thread Taco Hoekwater


I think like this:

  \defineconversion[starred][*]
  \setupfootnotes[conversion=starred]

Untested, but should work

Cheers, Taco


Ciro Soto wrote:

I looked at two context manuals and can't find the setting to
get footnotes with * instead of a letter or a number.
I need 4 footnotes in 4 different pages, and I would like
them all of them with one sigle *

thank you
Ciro
-
* like this




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


Re: [NTG-context] updating/installing context

2005-08-22 Thread Jörg Hagmann

On Aug 22, 2005, at 11:07 AM, Thomas A. Schmitz wrote:

That sounds like our old nemesis, the latin-modern font metrics. Try 
downloading the file 
http://www.pragma-ade.com/context/current/cont-lmt.zip , unzip it in 
your texmf-tree and run texexec --make --all again, and you should be 
in business.


Thank you very much. That worked.

On Aug 22, 2005, at 10:51 AM, Taco Hoekwater wrote:


I thought most people on MacOSX used Gerben's i-Installer files


Without a suitable internet access (at home) that might not be 
convenient. I believe that installing "by hand" will ultimately enhance 
one's understanding and help spot errors. And in addition to the MacOS 
I have a Linux system, and the problems will be the same most of the 
time.



Bill McClain's pages are slowly becoming obsolete,


But they still work. I would be willing to write a new version (just 
how to get going), provided you correct the mistakes. There are 
didactical advantages if something like that comes from a non-expert.


Thanks again, Jörg.

Prof. Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
DKBW, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 6953049


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


[NTG-context] footnotes with one *

2005-08-22 Thread Ciro Soto
I looked at two context manuals and can't find the setting to
get footnotes with * instead of a letter or a number.
I need 4 footnotes in 4 different pages, and I would like
them all of them with one sigle *

thank you
Ciro
-
* like this



-- 
===
"All problems are at the interface. Each one of them has a solution."
from:
"The Guitar Maker: An Exploration of Wisdom, Design and Love." 
A novel by C. A. Soto Aguirre. Pub. Date: October 2005.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: blocks in itemize

2005-08-22 Thread r . ermers
Hi Olivier,

Thanks for your reaction. My original proposal was:

\startitemize
  \beginblockA
\item Apple
  \endblockA
  \beginblockB
\item Pomme
  \endBlockB
  \beginblockA
\item Pear
  \endblockA
  \beginblockB
\item Poire
  \endBlockB
\stopitemize

This does not work.

The advantage of this setup is that in a bilingual document, printed 
separatedly, I have both languages underneath and thus more control than when I 
use separate itemize environments, such as proposed by Taco, and what I had 
thought of earlier:

\beginblockA
\startitemize

\stopitemize
\endblockA

\beginblockB
\startitemize

\stopitemize
\endblockB

Nevertheless, if my proposal does not work, I guess I'll have to try it this 
way.

Kind regards,

Rob


> Hi,
> 
> 
> I might be wrong, but I think blocks are intended as buffered text.
> This way it is not good to use
> \item {block A}{bloc B}
> and it is not good as well to use {\item block A}
> {\item block B}
> 
> 
> I think the only good way to use block is
> {\startitemize
> \item block A
> \stoptitemize}
> {\startitemize
> \item block B
> \stoptitemize}
> were good means a natural utilisation of blocks.
> 
> However, I certainly understand that the third solution is not practical
> for your intended usage.
> 
> Maybe a newif is more appropriate to your situation:
> \newif\ifenlang  and \ifenlang \else \fi switches,
> or maybe even cases if you have more than one language.
> 
> Just some thought hoping it helps,
> Olivier
> 
> 
> 

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


Re: [NTG-context] updating/installing context

2005-08-22 Thread Taco Hoekwater



Jörg Hagmann wrote:
My (working) setup: TeXLive on MacOSX (full installation). This was 
installed following the instructions in 
http://home.salamander.com/~wmcclain/context-help.html#install. (I only 
have a slow modem at home)


Bill McClain's pages are slowly becoming obsolete, they were
written more than two years ago. I'm not sure if he is still
reading this list, even?

I thought most people on MacOSX used Gerben's i-Installer files
(that is: the gwtex distribution, not texlive). I certainly have
the impression that that would be the easiest way to use/update
ConTeXt.  (I'm on linux myself)

Perhaps this page is of help?

   http://contextgarden.net/Mac_Installation

Anyway, you are missing the latin modern fonts. Hopefully, you
can get some hints from the "Install a Latin Modern font update"
section of
http://contextgarden.net/TeTeX_3.0_installation

the procedure should be almost identical except for the actual
path and (perhaps) using 'updmap' instead of 'updmap-sys':
that depends on the age of our tex-live image)

Good luck, Taco



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


Re: [NTG-context] updating/installing context

2005-08-22 Thread Thomas A. Schmitz
That sounds like our old nemesis, the latin-modern font metrics. Try  
downloading the file http://www.pragma-ade.com/context/current/cont- 
lmt.zip , unzip it in your texmf-tree and run texexec --make --all  
again, and you should be in business.


HTH

Thomas

On Aug 22, 2005, at 10:35 AM, Jörg Hagmann wrote:

My (working) setup: TeXLive on MacOSX (full installation). This was  
installed following the instructions in http://home.salamander.com/ 
~wmcclain/context-help.html#install. (I only have a slow modem at  
home)

I tried to update context, with the same instructions.
1. I unzipped the new version in texmf (is this correct?) and  
texhashed, edited etc. Running texexec --pdf myfile gave the errors  
shown below (see copy of messages).
2. I removed context and put it in texmf-dist (the original context  
seemed to be there?). Same result (see messages).
3. I then tried to install the minimal version from the pragma site  
(macostex.zip). There are no instructions and I spent hours trying  
to figure out what to do. I then found the following in the archives:

---
you can put the minimal context in for instance
   mkdir /mytex
 after that run
   . /mytex/setuptex /mytex
make sure that the file in /mytex/texmf-linux/bin path have the x  
flag set

   texexec --make --all
---
I tried that, assuming that Mac BSD is close enouth to Linux, but  
clearly this was written for somebody who knows much more than I  
do. I was told to provide a proper tex root (something/tex), and  
when I did (I think), I got a path containing //. Surely, it can't  
be that difficult to give step by step instructions to somebody  
with basic unix experience?!

Thanks for your help, Jörg
Messages---
 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
executable : pdfetex
format : cont-en
 inputfile : book
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
 \write18 enabled.
 %&-line parsing enabled.
 (/usr/TeX/texmf/web2c/natural.tcx)
output format initialized to DVI
entering extended mode
(./book.tex

ConTeXt  ver: 2005.08.19  fmt: 2005.8.21  int: english  mes: english

language: language en is active

system  : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
color   : palette rollover is available
)
system  : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/TeX/texmf/tex/context/user/cont-sys.rme
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-dis.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
kpathsea: Running mktextfm ec-lmr12
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input ec-lmr12

This is METAFONT, Version 2.71828 (Web2C 7.5.3)
kpathsea: Running mktexfmt mf.base
running `mf-nowin -ini   -jobname=mf -progname=mf -translate- 
file=cp227.tcx mf.ini' ...

This is METAFONT, Version 2.71828 (Web2C 7.5.3) (INIMF)
(/usr/TeX/texmf/web2c/cp227.tcx)
(/usr/TeX/texmf-dist/metafont/config/mf.ini
(/usr/TeX/texmf-dist/metafont/base/plain.mf
Preloading the plain base, version 2.71: preliminaries,
 basic constants and mathematical macros,
 macros for converting from device-independent units to pixels,
 macros and tables for various modes of operation,
 macros for drawing and filling,
 macros for proof labels and rules,
 macros for character and font administration,
and a few last-minute items.) (/usr/TeX/texmf-dist/metafont/misc/ 
modes.mf) )

Beginning to dump on file mf.base
 (base=mf 2005.8.21)
2223 strings of total length 29887
11862 memory locations dumped; current usage is 3656&7844
1003 symbolic tokens
Transcript written on mf.log.
fmtutil: /usr/TeX/texmf-var/web2c/mf.base installed.

kpathsea: Running mktexmf ec-lmr12
! I can't find file `ec-lmr12'.
<*> ...ljfour; mag:=1; nonstopmode; input ec-lmr12

Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ec-lmr12

Transcript written on mfput.log.
grep: ec-lmr12.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input ec-lmr12' failed to make ec-lmr12.tfm.

kpathsea: Appending font creation commands to missfont.log.
! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not foun

Re: [NTG-context] blocks in itemize

2005-08-22 Thread Taco Hoekwater



[EMAIL PROTECTED] wrote:

Thanks Taco,

I have of course thought of that, and I know it must work, 

> but in the way I intend to set up the document, especially
> in regard to the connections between the blocks (item A'
> = translation of item A), it would be handy if it could be
> done around each item.

Why not just use a lot of one-item itemizes?

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


[NTG-context] updating/installing context

2005-08-22 Thread Jörg Hagmann
My (working) setup: TeXLive on MacOSX (full installation). This was 
installed following the instructions in 
http://home.salamander.com/~wmcclain/context-help.html#install. (I only 
have a slow modem at home)

I tried to update context, with the same instructions.
1. I unzipped the new version in texmf (is this correct?) and 
texhashed, edited etc. Running texexec --pdf myfile gave the errors 
shown below (see copy of messages).
2. I removed context and put it in texmf-dist (the original context 
seemed to be there?). Same result (see messages).
3. I then tried to install the minimal version from the pragma site 
(macostex.zip). There are no instructions and I spent hours trying to 
figure out what to do. I then found the following in the archives:

---
you can put the minimal context in for instance
   mkdir /mytex
 after that run
   . /mytex/setuptex /mytex
make sure that the file in /mytex/texmf-linux/bin path have the x flag 
set

   texexec --make --all
---
I tried that, assuming that Mac BSD is close enouth to Linux, but 
clearly this was written for somebody who knows much more than I do. I 
was told to provide a proper tex root (something/tex), and when I did 
(I think), I got a path containing //. Surely, it can't be that 
difficult to give step by step instructions to somebody with basic unix 
experience?!

Thanks for your help, Jörg
Messages---
 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
executable : pdfetex
format : cont-en
 inputfile : book
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
 \write18 enabled.
 %&-line parsing enabled.
 (/usr/TeX/texmf/web2c/natural.tcx)
output format initialized to DVI
entering extended mode
(./book.tex

ConTeXt  ver: 2005.08.19  fmt: 2005.8.21  int: english  mes: english

language: language en is active

system  : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
color   : palette rollover is available
)
system  : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/TeX/texmf/tex/context/user/cont-sys.rme
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-dis.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
kpathsea: Running mktextfm ec-lmr12
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
nonstopmode; input ec-lmr12

This is METAFONT, Version 2.71828 (Web2C 7.5.3)
kpathsea: Running mktexfmt mf.base
running `mf-nowin -ini   -jobname=mf -progname=mf 
-translate-file=cp227.tcx mf.ini' ...

This is METAFONT, Version 2.71828 (Web2C 7.5.3) (INIMF)
(/usr/TeX/texmf/web2c/cp227.tcx)
(/usr/TeX/texmf-dist/metafont/config/mf.ini
(/usr/TeX/texmf-dist/metafont/base/plain.mf
Preloading the plain base, version 2.71: preliminaries,
 basic constants and mathematical macros,
 macros for converting from device-independent units to pixels,
 macros and tables for various modes of operation,
 macros for drawing and filling,
 macros for proof labels and rules,
 macros for character and font administration,
and a few last-minute items.) 
(/usr/TeX/texmf-dist/metafont/misc/modes.mf) )

Beginning to dump on file mf.base
 (base=mf 2005.8.21)
2223 strings of total length 29887
11862 memory locations dumped; current usage is 3656&7844
1003 symbolic tokens
Transcript written on mf.log.
fmtutil: /usr/TeX/texmf-var/web2c/mf.base installed.

kpathsea: Running mktexmf ec-lmr12
! I can't find file `ec-lmr12'.
<*> ...ljfour; mag:=1; nonstopmode; input ec-lmr12

Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ec-lmr12

Transcript written on mfput.log.
grep: ec-lmr12.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input ec-lmr12' failed to make ec-lmr12.tfm.

kpathsea: Appending font creation commands to missfont.log.
! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found.

   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let 
\localrelativefontsiz...


\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
  \tryingfontfalse \fi
 ...yle \fontalternative \fontsize
 

Antwort: Re: Antwort: Re: [NTG-context] Image Database (font loading)

2005-08-22 Thread Jessica Holle

Works!
You're great!
thx

Greetings Jessica

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


Re: [NTG-context] blocks in itemize

2005-08-22 Thread r . ermers
Thanks Taco,

I have of course thought of that, and I know it must work, but in the way I 
intend to set up the document, especially in regard to the connections between 
the blocks (item A' = translation of item A), it would be handy if it could be 
done around each item.

If not, I'll have to find another solution.

Kind regards,

Robert

> 
>> Dear Contexers,
>> 
>> 
>> I am setting up a complex bilingual document, which has to print one
>> language at the time.
>> 
>> Does anyone know how to use the wonderful blocks application in an
>> itemize environment? I think the second block causes problems.
> 
> Don't putn them in, but around the itemize:
> 
> 
> \beginNederlandsblok
> \startitemize
> \item Ik vraag me af of ze ook appels verkopen %NED
> \stopitemize
> \endNederlandsblok
> 
> 
> Greetings, Taco

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


Re: Antwort: Re: [NTG-context] Image Database (font loading)

2005-08-22 Thread Taco Hoekwater


Hi Jessica,

Jessica Holle wrote:


Warning: pdfetex (file ec-urw-times.map): cannot open font map file
Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file
Warning: pdfetex (file ec-urw-courier.map): cannot open font map file


Please try adding \loadmapfile[context-base] to your cont-sys.tex.

That should work (those map files are not present, but their font
definitions are, in context-base.map).


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


Re: [NTG-context] pdflatex and mpost -tex=latex

2005-08-22 Thread Taco Hoekwater

David Arnold wrote:

All,

Does anyone know if

pdflatex -shell-escape filename

automatically forces metapost to run with -tex=latex?


I didn't even know that pdflatex *could* execute metapost
on the fly (some package I presume?). You would have better
luck asking this question on c.t.t., I think.

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


Re: [NTG-context] blocks in itemize

2005-08-22 Thread Taco Hoekwater

Rob Ermers wrote:

Dear Contexers,

I am setting up a complex bilingual document, which has to print one 
language at the time.


Does anyone know how to use the wonderful blocks application in an 
itemize environment? I think the second block causes problems.


Don't putn them in, but around the itemize:

  \beginNederlandsblok
  \startitemize
  \item Ik vraag me af of ze ook appels verkopen %NED
  \stopitemize
  \endNederlandsblok

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


Antwort: Re: [NTG-context] Image Database

2005-08-22 Thread Jessica Holle

Hi,

sorry, the output of my fontproblem wasn't right:
It looks so:
systems : begin file Figure-lib at line 333
(./Figure-lib.xml) (./Figure-lib.xml
figures : figure inet can not be found
(/usr/local/teTeX/share/texmf-local/tex/context/base/pdfr-ec.tex)
fonts   : resetting map file list
fonts   : using map file: original-base
fonts   : using map file: ec-public-lm
fonts   : using map file: ec-base
fonts   : using map file: original-ams-base
fonts   : using map file: original-public-lm
fonts   : using map file: ec-urw-times
fonts   : using map file: original-youngryu-tx
fonts   : using map file: ec-urw-helvetica
fonts   : using map file: ec-urw-courier
references  : unknown reference [][Description]
interaction : aspect ratio 120.95996 x 90.71997 (b x h)
interaction : pdftex code inserted
references  : unknown reference [][begin]
[1.1{/usr/local/teTeX/share/texmf-local/fonts/map/pdftex/context/original-empty
.map}{/usr/local/teTeX/share/texmf-local/fonts/map/pdftex/context/original-base
.map}{/usr/local/teTeX/share/texmf-local/fonts/map/pdftex/context/ec-public-lm.
map}{/usr/local/teTeX/share/texmf-local/fonts/map/pdftex/context/ec-base.map}{/
usr/local/teTeX/share/texmf-local/fonts/map/pdftex/context/original-ams-base.ma
p}{/usr/local/teTeX/share/texmf-local/fonts/map/pdftex/context/original-public-
lm.map}
Warning: pdfetex (file ec-urw-times.map): cannot open font map file
{/usr/local/teTeX/share/texmf-local/fonts/map/pdftex/context/original-youngryu-
tx.map}
Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map
file

Warning: pdfetex (file ec-urw-courier.map): cannot open font map
file
]
figures : figure karte can not be found
references  : unknown reference [][Description]
[2.1] <./back.jpg>
figures : dimensions of ./back.jpg loaded from figurefile
itself
references  : unknown reference [][Description]
interaction : aspect ratio 355.5684 x 135.8676 (b x h)
[3.1] <./rzv.jpg>
figures : dimensions of ./rzv.jpg loaded from figurefile
itself
references  : unknown reference [][Description]
interaction : aspect ratio 118.94438 x 37.64063 (b x h)
[4.1]) (./Figure-lib.xml
subject : - Figure collection
references  : unknown reference [][Figure]
references  : unknown reference [][GridPg]
figures : figure inet can not be found
figures : figure inet can not be found
references  : unknown reference [][Figure]
references  : unknown reference [][GridPg]
figures : figure karte can not be found
figures : figure karte can not be found
references  : unknown reference [][Figure]
references  : unknown reference [][GridPg]
figures : figureobject back.jpg is reused
figures : figureobject back.jpg is reused
references  : unknown reference [][index]
references  : unknown reference [][list]
interaction : aspect ratio 600.0 x 450.0 (b x h)
[5.1]
references  : unknown reference [][Figure]
references  : unknown reference [][GridPg]
figures : figureobject rzv.jpg is reused
figures : figureobject rzv.jpg is reused
) [6.2]
subject : - List of figures
system  : figurelist not found/processed
[7.3]
subject : - Index of figures
system  : figureindex not found/processed
[8.4]
systems : end file Figure-lib at line 381
 )
)kpathsea:

Running mktexpk --mfmode / --bdpi 72 --mag 1+14/72 --dpi 86 ptmr8r
mktexpk: Running gsftopk ptmr8r 86
gsftopk(k) version 1.19.2grep: ptmr8r.log: No such file or directory
mktexpk: `gsftopk ptmr8r 86' failed to make ptmr8r.86pk.
kpathsea: Appending font creation commands to missfont.log.

Warning: pdfetex (file ptmr8r): Font ptmr8r at 86 not found
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+52/72 --dpi
124 ptmb8r
mktexpk: Running gsftopk ptmb8r 124
gsftopk(k) version 1.19.2grep: ptmb8r.log: No such file or directory
mktexpk: `gsftopk ptmb8r 124' failed to make ptmb8r.124pk.

Warning: pdfetex (file ptmb8r): Font ptmb8r at 124 not found
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+14/72 --dpi
86 ptmb8r
mktexpk: Running gsftopk ptmb8r 86
gsftopk(k) version 1.19.2grep: ptmb8r.log: No such file or directory
mktexpk: `gsftopk ptmb8r 86' failed to make ptmb8r.86pk.

Warning: pdfetex (file ptmb8r): Font ptmb8r at 86 not found
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 0+63/72 --dpi
63 pcrr8r
mktexpk: Running gsftopk pcrr8r 63
gsftopk(k) version 1.19.2grep: pcrr8r.log: No such file or directory
mktexpk: `gsftopk pcrr8r 63' failed to make pcrr8r.63pk.

Warning: pdfetex (file pcrr8r): Font pcrr8r at 63 not found
Output written on Figure-lib.pdf (8 pages, 20409 bytes).
Transcript written on Figure-lib.log.

   return code : 0
  run time : 36 seconds
  sorting and checking : running texutil

total run time : 36 seconds

Hop somebody can help

Regar