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

2005-03-16 Thread luigi.scarso




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=""
\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] How to switch between fonts?

2005-03-16 Thread Stefan Wachter
Dear font experts!
For some weeks I try very hard to generate minimal PDF documents using 
the PDF base 14 fonts. Now the following problem popped up:

The Helvitica, Times, and Courier fonts have 8a as their default 
encoding. Unfortunately, the 8a encoding is somewhat incomplete because 
it misses some characters (eg. the degree character). In TeX I use 
texnansi encoding because it offers most of the special characters that 
I need.

If I use 8a encoding for the PDF document (in order to avoid reencoding) 
then the degree symbol is typeset by an embedded txsy font. The bad 
thing about this solution is that this degree character does not take 
care of \bf, \it, or \bi. Therefore the result is unsatisfactory.

If I use texnansi encoding for the PDF document then the degree symbol 
is typeset nicely. The disadvantage of this option is that now the 
built-in fonts are always reencoding which make some additional 2kb for 
the PDF document. I would like to have the reeconded font to be used 
only if it is really necessary.

Now I see two problems:
1. A particual problem in this situation
Is it possible to define font synonymes locally (i.e. inside a group)? 
In that case I could map the virtual fonts that are base on 8a encoded 
raw fonts into virtual fonts that are based on texnansi reencoded raw fonts.

I tried that but it seems that font synonymes are accepted only at the 
beginning.

2. A general problem
Provided that I write a set of typescripts for defining a typeface 
similar to the postscript typefaces of ConTeXt but based on other 
(virtual) fonts: is it possible to switch between these two typefaces. 
The switch must respect the current font characteristics (i.e. \ss, \rm, 
\tt, \bf, \it, \bi, and size).

Thanks for your attention,
--Stefan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font encodings

2005-03-16 Thread Hans Hagen
Thomas A.Schmitz wrote:
I want to use a custom font encoding (in my case, enco-agr for ancient 
Greek). I can't set it up for the entire document because it breaks, 
e.g., the output of accented letters. But when I try to use it for 
certain parts of the document only, it will insert a line break whenever 
it is used. So my question: is it possible to switch font encoding in 
mid-paragraph?
sure; fonts can be asociated with encodings and can be mixed in a paragraph;
your problem may be due to for instance a spurious space in one of your 
definitions
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] critical editions in context / arabtex

2005-03-16 Thread Hans Hagen
Thomas A.Schmitz wrote:
Thanks Hans, but it's primarily edmac that I'm interested in, not 
arabtex. Could the edmac macros just be part of a Context module?
not so much edmac, but similar functionality; as idris suggests: just provide a 
request for functionality + examples; think about what you want in context (or 
your docs) and not so much of what edmac does. (thinsg like configurable 
footnotes are already there)

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] critical editions in context

2005-03-16 Thread h h extern
Thomas A.Schmitz wrote:
Sorry, hit the send button by accident.
OK, I feel guilty resurrecting this stale thread, but I can't resist 
asking again.

I found this in m-arabtex.tex:
%\pushmacro\edmacloaded   \let \edmacloaded   \undefined
and later
%\popmacro\edmacloaded
Both lines are commented out, so I'm still wondering if edmac will work 
with ConTeXt out of the box.

The absolute basics that are needed for critical editions are:
1. Capability to have footnotes with reference to line-number instead of 
counter. These notes must not end with a newline character (see 
ASCII-art at end of post), but must provide the possibility to have 
several on one line. These notes must not flow, they have to stay on the 
same page as the reference. Horizontal tolerance can be set to very 
sloppy to achieve this

2. Must be possible to apply a format like \bf vel. sim. to the reference.
3. Within these notes, it should be possible to refer to other line 
numbers.

4. Nice, but not quite essential: possibility to have notes in more than 
one column.

5. Not absolutely basic, but important for serious work: have more than 
one set of notes referring to the same passage.

Is this possible in ConTeXt out of the box? If not, I'd be willing to 
roll up my sleeves and help, but would like to know which would be a 
good starting point.

I looked at core-ltn.tex. I'm not sure if core-nnt and page-nnt refer to 
core-not and page-not; I couldn't find anything appropriate in these files.
the files are in the main distribution for some time; i'm still waiting for 
idris to test them; following is my test file (seems that it has a patch -)

% interface=en
\unprotect
\def\dohandlelinenote#1#2#3%
  {\bgroup
   \expanded{\beforesplitstring#2}\at--\to\linenotelinenumber
   \ifnum\linenotelinenumber=\linenumber\relax
  \def\linenotelinenumber##1{#2}%
  \setupnote[#1]
[\c!numbercommand=\linenotelinenumber,
 \c!textcommand=\gobbleoneargument]%
  \setnote[#1]{#3}%
   \fi
   \egroup}
\protect
\starttext
\tracelinenotestrue
\setuppapersize[S6][S6]
\setuplayout[width=middle,height=middle,margin=1.5cm,footer=0pt,header=1cm]
\setupcolors[state=start]
\setuptyping[option=color]
\definelinenote[extralinenote][rule=off,frame=on,framecolor=darkgreen]
\setuplinenote [linenote] [rule=off,frame=on,framecolor=darkred,n=2]
\showframe
\startbuffer[test]
\doglobal\increment\DummyNumber % else dups due to reuse
\startlinenumbering[100]
test \linenote {oeps} test test test test test test
test \startlinenote [well:\DummyNumber] {oeps} test test test test test test
test \linenote {oeps} test test test test test test
test \extralinenote {oeps} test test test test test test
test \linenote {oeps} test test test test test test
test \extralinenote {oeps} test test test test test test
test \stoplinenote [well] test test test test test test
\stoplinenumbering
\stopbuffer
{\typebuffer[test] \getbuffer[test]} \page
\startbuffer[setup]
\setuplinenumbering
  [align=left]
\stopbuffer
{\typebuffer[setup] \getbuffer[setup,test]} \page
\startbuffer[setup]
\setuplinenumbering
  [width=1em,
   align=left]
\stopbuffer
{\typebuffer[setup] \getbuffer[setup,test]} \page
\startbuffer[setup]
\setuplinenumbering
  [width=2em,
   distance=.5em,
   align=left]
\stopbuffer
{\typebuffer[setup] \getbuffer[setup,test]} \page
\startbuffer[setup]
\setuplinenumbering
  [width=2em,
   align=middle]
\stopbuffer
{\typebuffer[setup] \getbuffer[setup,test]} \page
\startbuffer[setup]
\setuplinenumbering
  [conversion=romannumerals,
   start=1,
   step=1,
   location=text,
   style=slanted,
   color=blue,
   width=1.5em]
\stopbuffer
{\typebuffer[setup] \startnarrower\getbuffer[setup,test]\stopnarrower} \page
\startbuffer[setup]
\setuplinenumbering
  [width=4em,
   left=--,
   right=--,
   align=middle]
\stopbuffer
{\typebuffer[setup] \getbuffer[setup,test]} \page
\startbuffer[setup-1]
\setuplinenumbering
  [style=\bfxx,
   command=\WatchThis]
\stopbuffer
\startbuffer[setup-2]
\def\WatchThis#1%
  {\ifodd\linenumber
 \definecolor[linecolor][red]%
   \else
 \definecolor[linecolor][green]%
   \fi
   \inframed
 [offset=1pt,frame=off,background=color,backgroundcolor=linecolor]
 {#1}}
\stopbuffer
{\typebuffer[setup-1,setup-2] \getbuffer[setup-1,setup-2,test]} \page
\startbuffer[setup-1]
\setuplinenumbering
  [location=inright,
   style=\bfxx,
   command=\WatchThis]
\stopbuffer
{\typebuffer[setup-1] \getbuffer[setup-1,setup-2,test]} \page
\stoptext

Best
Thomas
Example what should be possible:
1 This manual is about ConTEXt, a system for typesetting documents.
2 Central element in this name is the word TEX because the typographical
3 programming language TEX is the base for ConTEXt. People who are used
4 to TEX will probably identify this manual as a TEX document. They 
recognise
5 the use of \. One may also notice that the way pararaphs are broken 
into lines
6 is often better than in the avarage typesetting system.

1 manual A: handbook B 2 name 

Re: [NTG-context] iso latin 2 ; storm fonts

2005-03-16 Thread Hans Hagen
Vit Zyka wrote:
But I get error: !Math formula deleted: Insufficient symbol fonts.
Where is the problem?
it means that your font is not a proper math font, taco may know how to deal 
with this

? - \starttypescript [*] [fallback] is generaly useful. Is a good idea 
replaced by a (faster) setup)
to move it from large type-buy.tex somewhere else?
see type-def.tex:
\startsetups [font:fallback:serif]
  \definefontsynonym [Serif][DefaultFont]
  \definefontsynonym [SerifBold][Serif]
  \definfontsynonym [SerifItalic]  [Serif]
  \definefontsynonym [SerifSlanted] [SerifItalic]
  \definefontsynonym [SerifBoldItalic]  [Serif]
  \definefontsynonym [SerifBoldSlanted] [SerifBoldItalic]
  \definefontsynonym [SerifCaps][Serif]
\stopsetups
\starttypescript 
   \setups[font:fallback:serif]
   your defs
\stoptypescript
(see type-msw for an example)
this construct is faster since it does not need a nested typescript scan
? Storm fonts have different accent shapes for lover/upper case letters. 
Is there some mechanism to distinguish this making the composits?
interesting, \' etc are not sufficient fot that
\definecommand UCgrave{\buildtextaccent\UCtextgrave}
\definecommand UCacute{\buildtextaccent\UCtextacute}
\definecommand UCring {\buildtextaccent\UCtextring}
\definecommand UCcaron{\buildtextaccent\UCtextcaron}
\definecommand UCbreve{\buildtextaccent\UCtextbreve}
\definecommand UCmacron   {\buildtextaccent\UCtextmacron}
\definecommand UCcircumflex   {\buildtextaccent\UCtextcircumflex}
\definecommand UCdotaccent{\buildtextaccent\UCtextdotaccent}
\definecommand UChungarumlaut {\buildtextaccent\UCtexthungarumlaut}
\definecommand UCtilde{\buildtextaccent\UCtexttilde}
\definecommand UCdiaeresis{\buildtextaccent\UCtextdiaeresis}
\startencoding [default]
  \definecharacter UCtextgrave {\textgrave}
  .
\stopencoding
\startencoding [yours]
  \definecharacter Ediaeresis {\buildtextaccent\UCtextdiaeresis E}
  ...
\stopencoding
etc etc; needs some thinking and testing and quite some keying
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] ppchtex

2005-03-16 Thread Hans Hagen
Johannes Werner wrote:
Hans Hagen wrote:
Johannes Werner wrote:
hi everyone,
i want to use PPCHTEX. when i process my .tex-file with texexec i get 
the message:
   .
   specials : fdf loaded
   )
   specials : fdf,tpd loaded
   \openout6 = `chemie-mpgraph.mp'.
   Randomizer initialized to 1275417501. [MP to PDF] 
(./chemie-mpgraph.4000))
   *

and the program stops and waits for a command. when i type \end  it 
continues. this happens again and then i have my target file.
what wants the system tell me? why does it stop?. it's irksome, to 
type in a command for nothing. when i process with latex everything 
is ok.

how does your smallest test file that does thsi look like?
Hans

the testfile was:
   \enableregime[utf]
   \usemodule[pictex,chemie]
   \setupoutput[pdf]
   %\setupchemical[axis=on, frames=on]
   \par Substituent A
   \startchemical
   \chemical[ONE,SB4,SB6,Z0][O]
   \stopchemical
with a file, which is a little bit bigger i get the following (an no 
output is generated):

Randomizer initialized to 1431757445. [MP chemie-bigger-mpgraph.4000]
   [MP chemie-bigger-mpgraph.3999] [MP chemie-bigger-mpgraph.3998]
   [MP chemie-bigger-mpgraph.3997] [MP chemie-bigger-mpgraph.3996]
   [MP chemie-bigger-mpgraph.3995])
   *
how about adding \starttext ...\stoptext around it?
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] Conflict ConTeXt new LM?

2005-03-16 Thread Hans Hagen
Gerben Wierda wrote:
I just installed the latest LM fonts from TL Master on top of a teTeX 
3.0 + recent ConTeXt and tried to re-run my project. This fails. I 
reinstalled the old LM and it works, Is this known?
ah .. that's because you're a developer; latin modern now ships with ec-lm* 
instead of cork-lm* (as does antikwa); my local context already made the (very 
welcome) change

(there will also be il and pl metric files, so it will take some time before 
latin modern settles; rough schedule is bachotek)

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] Upgrading...

2005-03-16 Thread Hans Hagen
ishamid wrote:
I must be making this way too complicated, anyway...
I placed C:\ConTeXt\texmf-mswin\bin ahead of TeXLive in my NT PATH (Windows 
2000) so those binaries get called first. I tried to make the aleph format:

===
C:\ConTeXt\texmf-mswin\web2caleph --ini *plain \dump
This is Alephk, Version 3.141592-1.15-2.1-0.0-rc4 (Web2c 7.5.3) (INIALEPH)
 %-line parsing enabled.
this is a plain tex issue ... looks likemanfnt is not on your system
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] imposition for a pdf file

2005-03-16 Thread Hans Hagen
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
texexec --pdf --pdfcomb --comb=2*2 manypages.pdf
___
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,backgroundcolor=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

--
-
  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: What's (in) a module?

2005-03-16 Thread Patrick Gundlach
Hi,


[module t-utfgre.tex]


 So what about that CTAN directory? Would be a good idea, right?

What about a section modules on contextgarden.net that can serve as
a place for downloading third party modules as well as syncing with
CTAN?

Patrick
-- 
ConTeXt wiki: http://contextgarden.net
___
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-16 Thread Wolfgang Zillig
I think something link
 texexec --pdfarra --noduplex --paper=A5A4 --print=2SIDE yourdocument.pdf
should work. There is more information about in the the manual for texexec 
www.pragma-ade.com/general/manuals/mtexexec.pdf

Wolfgang

luigi.scarso schrieb:
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,backgroundcolor=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 mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Conflict ConTeXt new LM?

2005-03-16 Thread Gerben Wierda
 Gerben Wierda wrote:
 I just installed the latest LM fonts from TL Master on top of a teTeX
 3.0 + recent ConTeXt and tried to re-run my project. This fails. I
 reinstalled the old LM and it works, Is this known?

 ah .. that's because you're a developer; latin modern now ships with
 ec-lm*
 instead of cork-lm* (as does antikwa); my local context already made the
 (very
 welcome) change

 (there will also be il and pl metric files, so it will take some time
 before
 latin modern settles; rough schedule is bachotek)

So, the conclusion is that I canot use/redistribute the new LM? And
another conclusion is that stuff like LaTeX lmodern.sty and ConTeXt need
to be updated in sync with the new lmodern?

G

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


Re: [NTG-context] Re: What's (in) a module?

2005-03-16 Thread Thomas A . Schmitz
Excellent suggestion, will get in touch with you off-list!
Best
Thomas
On Mar 16, 2005, at 10:48 AM, Patrick Gundlach wrote:
Hi,
[module t-utfgre.tex]

So what about that CTAN directory? Would be a good idea, right?
What about a section modules on contextgarden.net that can serve as
a place for downloading third party modules as well as syncing with
CTAN?
Patrick
--
ConTeXt wiki: 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] imposition for a pdf file

2005-03-16 Thread Ciro A. Soto
Thank you. This should work.
Ciro
--- Hans Hagen [EMAIL PROTECTED] wrote:
 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
 
 texexec --pdf --pdfcomb --comb=2*2 manypages.pdf
 
 ___
 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,backgroundcolor=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
 
 
 -- 
 

-
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] imposition for a pdf file

2005-03-16 Thread luigi.scarso




Sorry ciro, but i like write tex code.

  save following code as test.tex
%%
%% 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=""
\stopTEXpage}
\stoptext
  
  create the pdf
$texexec --pdf test.tex
  Save the following into my-imp.tex
%%
%% save as my-imp.tex
%%
%% \setuplayout
\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
  
  
create the pdf
$ texexec --pdf my-imp



  
  the first page of my-imp.pdf now has 12 pages from test.pdf;

Now, if you have yourfile.pdf you can replace 
\externalfigure[test][page=8]
with 
\externalfigure[yourfile][page=8] etc.


\externalfigure has parameters page,width,height, etc...;
you can use it to scale to appropriate dimensions (they depends by size
of paper);search on wiki for externalfigure


Usually i make simple scripts that create my-imp.tex with correct
pagenumber (ie the pagenumber that i want to select); also i use \clip
(search on wiki) to correct some page and pdfinfo to have some
informations on pdf files.

But hans also replay with a quick and clean solution.



luigi






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


RE: [NTG-context] Upgrading...

2005-03-16 Thread ishamid
= Original Message From Hans Hagen [EMAIL PROTECTED] =
 ===
 C:\ConTeXt\texmf-mswin\web2caleph --ini *plain \dump
 This is Alephk, Version 3.141592-1.15-2.1-0.0-rc4 (Web2c 7.5.3) (INIALEPH)
  %-line parsing enabled.

this is a plain tex issue ... looks likemanfnt is not on your system

1. ok, how do I get

C:\ConTeXt\texmf-mswin\bin

to secondarily search C:\TeXLive, where manfnt is located?

2. Also, I need both pdfetex and aleph; how do I get both, since both

texexec --make en -tex=aleph

and

texexec --make en -tex=pdfetex

produce the same file, cont-en.fmt?

Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] Times New Roman

2005-03-16 Thread ishamid
[I know that all of us and Hans in particular is quite busy but if anyone can 
give me some guidance on this, before I get into trouble with my editor...]

Dear consortium,

I'm having trouble preparing times new roman for ConTeXt. I'm trying to follow
the instructions in mag-0009.pdf, but TeXfont does not want to behave:-(

===
\system_fontstexfont --vendor=microsoft --collection=times
--encoding=texnansi --pattern=times*.afm

 TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)

   processing aborted : unknown option --pattern=times*.afm
===

I tried things manually without the --pattern option and got a

texnansi-microsoft-times.tex

file, from which I manually constructed a

texnansi-microsoft-times.map

file with four lines:

===
texnansi-raw-times4  times.pfb   texnansi.enc
texnansi-raw-timesbd  4  timesbd.pfb texnansi.enc
texnansi-raw-timesbi  4  timesbi.pfb texnansi.enc
texnansi-raw-timesi   4  timesi.pfb  texnansi.enc
===

I then tried manually constructing the tfm files with afm2tfm but alas...

\system_fontsafm2tfm times[bd|bi|i]
! no Adobe characters
% LIGKERN ff l =: ffl ;
^
and empty tfm files

Not sure where to go from here...

I'm also going to need Arial from WINNT\Fonts as well...

Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: [NTG-context] Times New Roman

2005-03-16 Thread Taco Hoekwater
I do not know much about the font installation process, but I did
notice that your TeXFont banner indicates that you use a really old 
version. My TeXFont says:

  [EMAIL PROTECTED] TED]$ texfont --help
  TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004
   --fontroot=path : texmf destination font root 
(default:/opt/tex/texmf.local)
  ...

so perhaps that is what is causing your problems?
Greetings, Taco
ishamid wrote:
[I know that all of us and Hans in particular is quite busy but if anyone can 
give me some guidance on this, before I get into trouble with my editor...]

Dear consortium,
I'm having trouble preparing times new roman for ConTeXt. I'm trying to follow
the instructions in mag-0009.pdf, but TeXfont does not want to behave:-(
===
\system_fontstexfont --vendor=microsoft --collection=times
--encoding=texnansi --pattern=times*.afm
 TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Times New Roman

2005-03-16 Thread Adam Lindsay
A few comments/hints:
On 16 Mar 2005, at 14:40, ishamid wrote:
 TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)
The TeXfont I'm running is 2.2.1! (I know I added a little bit of .ttf 
processing code after 2.1)

I tried things manually without the --pattern option and got a
texnansi-microsoft-times.tex
If this file was generated, that's a good sign that the files were 
installed. What do you see in:
(texlocal)\fonts\tfm\microsoft\times  ?

You can verify they were installed with:
texexec --once texnansi-microsoft-times.tex
 (can also add --mode=compact to the CLI).
HTH,
adam
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Patrick Gundlach
Hi,

your file works fine here. Can you post your log file?

Or try \setupencoding[default=ec]. But this shouldn't make any
differences. 

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


[NTG-context] Follow-Up on [EMAIL PROTECTED] X performance

2005-03-16 Thread Matthias Weber
Hello,
I recently reported a performance degrading on with gwTeX/ConTeXt under 
MacOS X
after upgrading to the most recent gwTeX. I upgraded two other machines 
and did some further
tests. For each run, I renamed the TeX source file, and performed 3 
runs:

i) old TeX
ii) new TeX, 1st run
iii) new TeX 2nd run (still with a new filename)
While ii takes about 10% longer, iii was consistently about as fast as 
i.
My guess is that some of the files in the new TeX installation (I moved 
to TeXLive 2005) need
to be 'broken in' so that subsequent runs of TeX should be faster.

At least it looks as if TeX didn't really slow down after upgrading as 
I first thought.

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


Re: [NTG-context] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Matthias Weber
Hi Patrick,
thanks for looking into this.
Log file follows,
\setupencoding[default=ec] has no effect.
Matthias
 TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005
executable : pdfetex
format : cont-en
 inputfile : Untitled-2
output : pdftex
 interface : en
  current mode : none
   TeX run : 1
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
entering extended mode
(./Untitled-2.tex
ConTeXt  ver: 2005.03.02  fmt: 2005.3.4  int: english  mes: english
language: language en is active
protectionstate 0
system  : cont-new loaded
(/usr/local/teTeX/share/texmf.local/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/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns en-ec:ec-1-2:2 uk-ec:ec-2-2:2  
de-texnansi:tex
nansi-3-2:2 de-ec:ec-4-2:2 fr-texnansi:texnansi-5-2:2  
fr-ec:ec-6-2:2
 es-ec:ec-7-2:2 it-texnansi:texnansi-9-2:2 it-ec:ec-10-2:2  
nl-texnans
i:texnansi-11-2:2 nl-ec:ec-12-2:2 cz-il2:il2-13-2:2  
cz-ec:ec-14-2:2
sk-il2:il2-15-2:2 sk-ec:ec-16-2:2 pl-pl0:pl0-17-2:2  
pl-ec:ec-18-2:2
 loaded
specials: tex,postscript,rokicki loaded
system  : Untitled-2.top loaded
(./Untitled-2.top
specials: loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex)
specials: fdf loaded
)
specials: fdf,tpd loaded
) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-pre.tex
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)

RE: [NTG-context] Times New Roman

2005-03-16 Thread ishamid
= Original Message From Adam Lindsay [EMAIL PROTECTED] =
A few comments/hints:

Thank you!

On 16 Mar 2005, at 14:40, ishamid wrote:

  TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)

The TeXfont I'm running is 2.2.1! (I know I added a little bit of .ttf
processing code after 2.1)

Ok, I've got 2.2.1 running...

 I tried things manually without the --pattern option and got a

 texnansi-microsoft-times.tex

If this file was generated, that's a good sign that the files were
installed. What do you see in:
(texlocal)\fonts\tfm\microsoft\times  ?

ok, there are tfm files there, produced by the beta TeXFont, in 
TeXLive\texmf-local\...

But now I can't seem to repeat this with the latest version, and TeXFont does 
not find the afm files. As I told Taco:

===
C:[...]\system_fontsC:\ConTeXt\texmf-mswin\bin\texfont 
--vendor=microsoft --collection=timesnewroman --encoding=texnansi 
--pattern=times*.afm --rootlist=C:[...]\system_fonts

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

mktexlsr: Updating c:/TeXLive/texmf-local/ls-R...
mktexlsr: Done.
   encoding vector : texnansi
   vendor name : microsoft
   source path : .
   font collection : timesnewroman
   texmf font root : c:/texlive/texmf-local
   pdftex map file : texnansi-microsoft-timesnewroman.map
  processing files : all in pattern times*.afm
locating afm files : using otf files
processing aborted : no afm files found
===

But the afm files are right there in \system_fonts!?!

Any further suggestions will be appreciated!

Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


RE: [NTG-context] Times New Roman

2005-03-16 Thread ishamid
= Original Message From Taco Hoekwater [EMAIL PROTECTED] =
I do not know much about the font installation process, but I did
notice that your TeXFont banner indicates that you use a really old
version.

Ok, I've worked around this (still having upgrade troubles...) but there is
still a problem. I created all afm files in a local directory

system_fonts

but TeXFont does not seem to see them:


[...]\system_fontsC:\ConTeXt\texmf-mswin\bin\texfont
--vendor=microsoft --collection=timesnewroman --encoding=texnansi
--pattern=times*.afm --rootlist=C:\[...]\system_fonts

TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004

mktexlsr: Updating c:/TeXLive/texmf-local/ls-R...
mktexlsr: Done.
   encoding vector : texnansi
   vendor name : microsoft
   source path : .
   font collection : timesnewroman
   texmf font root : c:/texlive/texmf-local
   pdftex map file : texnansi-microsoft-timesnewroman.map
  processing files : all in pattern times*.afm
locating afm files : using otf files
processing aborted : no afm files found


Why are no afm files found? And why does my new C:\ConTeXt tree recognize

texmf font root : c:/texlive/texmf-local

when I have not configured it to recognize my TeXLive tree (since I do not
know how-)

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Patrick Gundlach
Hi,

ok, you are already using ec encoding as default,
\setupencoding[default=ec] has of course no effect then.


[...]

 pxex.pfb 
 rpxmi.pfb
 uplr8a.pfb
 pxsy.pfb
 rpxr.pfb
 uplri8a.pfb

These look ok.

 /var/tmp/texfonts/pk/modeless/adobe/palatino/pplr
 8r.86pk

There it is. There must be something wrong with your map file. How
does your cont-sys.tex (in your case: cont-sys.rme) look like? 

Do you have something like:

\autoloadmapfilestrue
\loadmapfile[ec-base.map]

in there? What happens if if you use \loadmapfile[ec-base.map] at the
beginning of your test document?


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


Re: [NTG-context] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Matthias Weber
My cont-sys.rme is in
/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme
and has the two lines you mention (I attach the file below, it looks 
kind of old (1995).

Also, if I add
\loadmapfile[ec-base.map]
nothing changes ---
I tried to locate ec-base.map, but couldn't find it. Is this a regular 
file somewhere in the TeX tree?

Matthias
On Mar 16, 2005, at 11:11 AM, Patrick Gundlach wrote:
Hi,
ok, you are already using ec encoding as default,
\setupencoding[default=ec] has of course no effect then.
[...]
pxex.pfb
rpxmi.pfb
uplr8a.pfb
pxsy.pfb
rpxr.pfb
uplri8a.pfb
These look ok.
/var/tmp/texfonts/pk/modeless/adobe/palatino/pplr
8r.86pk
There it is. There must be something wrong with your map file. How
does your cont-sys.tex (in your case: cont-sys.rme) look like?
Do you have something like:
\autoloadmapfilestrue
\loadmapfile[ec-base.map]
in there? What happens if if you use \loadmapfile[ec-base.map] at the
beginning of your test document?
Patrick
--
ConTeXt wiki: 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] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Hans Hagen
Matthias Weber wrote:
/teTeX/share/texmf.local/fonts/map/pdftex/context/original-public- lm.map}
Warning: pdfetex (file ec-urw-courier.map): cannot open font map file
Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file
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-palatino.map): cannot open font map file
{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- 
youngryu-
px.map}]
smells like missing files
/var/tmp/texfonts/pk/modeless/adobe/palatino/pplr
8r.86pk
that's the first time i've seen a palatino bitmap come by; i wonder what 
generates them and from what

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: Palatino? - bitmap fonts???

2005-03-16 Thread Patrick Gundlach

[...]

 I tried to locate ec-base.map, but couldn't find it. Is this a regular
 file somewhere in the TeX tree?

It should be in texmf/fonts/map/pdftex/context/ec-base.map

ConTeXt ships this file. kpsewhich ec-base.map does not give you any
result? 

What distribution are you using? 

Patrick

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


[NTG-context] \doprepareidentity

2005-03-16 Thread Peter Mnster
Hello,
in order to get correct output of pdfinfo, I need to redefine
\doprepareidentity :

\let\doprepareidentity\relax % try with and without this line
\setupoutput[pdf]
\enableregime[il1]
\setupinteraction[state=start,author=ä,title=ä,subtitle=ä,keyword=ä]
\starttext
test
\stoptext

Cheers, Peter

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


Re: [NTG-context] Conflict ConTeXt new LM?

2005-03-16 Thread Hans Hagen
Gerben Wierda wrote:
So, the conclusion is that I canot use/redistribute the new LM? And
you can because my guess is that not so many people use them yet
also, the lm fonts now come with open type variants, which is good for the mac 
(since xetex needs them and user should test that); keep in mind that the mac 
users normally are the most advanced/demanding font users, so in a way gwtex is 
providing a testbed

another conclusion is that stuff like LaTeX lmodern.sty and ConTeXt need
to be updated in sync with the new lmodern?
i'll upload a new beta so that you can ship in sync; i'll also try to keep my 
cont-lmt.zip up to date with the latest lm updates (the originals don't come in 
a texmf structure)

another font we need to keep an eye on is the antikwa torunska; both lm and at 
are very complete fonts and for instance include vietnamese glyphs as well

because context users play a lot with fonts, errors show up early, which is good 
(the only way to debug new fonts like lm is to use them -)

another issue with lm is that when remapping cmr to lm one needs different map 
files for dvips (internal lm names) and pdftex (original cm names); else pdf 
inclusion of old files becomes unefficient (i found out a few days before 
eurotex -); i'm discussing these issues with the lm team

i'll upload a new beta in a few minutes
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] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Matthias Weber
[...]
kpsewhich ec-base.map
returns
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base.map
and there it is indeed -- I had used locate beforfe.
I am using Gerben's TeX installation via iinstaller, without any own 
changes.

Matthias
On Mar 16, 2005, at 11:45 AM, Patrick Gundlach wrote:
[...]
I tried to locate ec-base.map, but couldn't find it. Is this a regular
file somewhere in the TeX tree?
It should be in texmf/fonts/map/pdftex/context/ec-base.map
ConTeXt ships this file. kpsewhich ec-base.map does not give you any
result?
What distribution are you using?
Patrick
--
ConTeXt wiki: 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] Times New Roman

2005-03-16 Thread Thomas A . Schmitz
Just a shot in the dark: I've been using texfont a lot these last weeks 
and have experienced that it will give you the error message no afm 
files found when, in fact, the error is somewhere else (in my case, 
there was a typo in the encoding used). I would suggest you run texfont 
on one font file at a time, don't use the *-shortcut for the time 
being. Moreover, are you sure that your system is finding texnansi.enc? 
What does
kpsewhich texnansi.enc
produce?
Finally: are the afm files in good standing? How did you produce them?

Best, good luck
Thomas

On Mar 16, 2005, at 4:41 PM, ishamid wrote:
= Original Message From Adam Lindsay [EMAIL PROTECTED] =
A few comments/hints:
Thank you!
On 16 Mar 2005, at 14:40, ishamid wrote:
 TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)
The TeXfont I'm running is 2.2.1! (I know I added a little bit of .ttf
processing code after 2.1)
Ok, I've got 2.2.1 running...
I tried things manually without the --pattern option and got a
texnansi-microsoft-times.tex
If this file was generated, that's a good sign that the files were
installed. What do you see in:
(texlocal)\fonts\tfm\microsoft\times  ?
ok, there are tfm files there, produced by the beta TeXFont, in
TeXLive\texmf-local\...
But now I can't seem to repeat this with the latest version, and 
TeXFont does
not find the afm files. As I told Taco:

===
C:[...]\system_fontsC:\ConTeXt\texmf-mswin\bin\texfont
--vendor=microsoft --collection=timesnewroman --encoding=texnansi
--pattern=times*.afm --rootlist=C:[...]\system_fonts
TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004
mktexlsr: Updating c:/TeXLive/texmf-local/ls-R...
mktexlsr: Done.
   encoding vector : texnansi
   vendor name : microsoft
   source path : .
   font collection : timesnewroman
   texmf font root : c:/texlive/texmf-local
   pdftex map file : texnansi-microsoft-timesnewroman.map
  processing files : all in pattern times*.afm
locating afm files : using otf files
processing aborted : no afm files found
===
But the afm files are right there in \system_fonts!?!
Any further suggestions will be appreciated!
Idris
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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: Palatino? - bitmap fonts???

2005-03-16 Thread Matthias Weber
Hi,
I replaced my cont-sys.rme with the one at  
www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont-sys.rme

Everything appears to be ok now -- the difference between the two files
seems to be the following if-statement in the OLD file:
\donefalse \ifx\pdftexversion\undefined \else  
\ifnum\number\pdftexversion119
  \donetrue
\fi \fi \ifdone

  \loadmapfile[original-base.map]
  \loadmapfile[original-ams-base.map]
  \loadmapfile[original-public-lm.map]
\else
  \loadmapfile[original-base.map]
etc
So I guess this file should have been updated but wasn't for some  
reason.

Thanks Patrick!
Matthias

On Mar 16, 2005, at 12:32 PM, Patrick Gundlach wrote:
Hi,
[...]
kpsewhich ec-base.map
returns
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec- 
base.map
oh, stupid me! It was already mentioned in the log file. Sorry.

I am using Gerben's TeX installation via iinstaller, without any own
changes.
Can you copy the cont-sys.rme to  cont-sys.tex and comment out the
lines with the mapfile related commands?
Is there somebody else out there using Gerben's TeXstuff? (I know
there is at least one :-)) I can only guess. Or get a fresh
cont-sys.tex
(www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont- 
sys.tex)
and play with that one.

Patrick
--
ConTeXt wiki: 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] Times New Roman

2005-03-16 Thread ishamid
= Original Message From Adam Lindsay [EMAIL PROTECTED] =
I hope you can translate from unix-like pseudo-commands into DOS:

make a new, clean temp directory.
copy times*.ttf into that directory.
from that directory, run:

  texfont --ma --in --ve=microsoft --co=timesnewroman --show

What happens?

Ok, much progress:-)

1. Your command worked as is, no need to translate:-))

2. TeXFont did its magic, with no *apparent* errors (but see below) : 
a. ttf|afm|tfm|vf's are copied to/generated within 
[truetype|afm|tfm|vf]\microsoft\timesnewroman;
b. texnansi-microsoft-timesnewroman.map generated in \map\pdftex\context
c. texnansi-microsoft-timesnewroman.tex created in temp dir.

3. Problem: upon compiling texnansi-microsoft-timesnewroman.tex. I get

===
 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004

executable : pdfetex
format : cont-en
 inputfile : texnansi-microsoft-timesnewroman
output : pdftex
 interface : en
   options : once
  current mode : none

This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2c 7.5.2)
 %-line parsing enabled.
 (c:/TeXLive/texmf/web2c/cp8bit.tcx)
:
:
Warning: pdfetex.exe (file texnansi-raw-Timesi): Font texnansi-raw-Timesi at 
60
0 not found

Warning: pdfetex.exe (file texnansi-raw-Timesbi): Font texnansi-raw-Timesbi at
600 not found

Warning: pdfetex.exe (file texnansi-raw-Timesbd): Font texnansi-raw-Timesbd at
600 not found
c:/TeXLive/texmf/fonts/type1/bluesky/cm/cmr6.pfb
Warning: pdfetex.exe (file texnansi-raw-Times): Font texnansi-raw-Times at 600
not found
c:/TeXLive/texmf/fonts/type1/bluesky/cm/cmtt10.pfb
Output written on texnansi-microsoft-timesnewroman.pdf (28 pages, 379871 
bytes)
===

a. Note the warnings;
b. Adobe complains about an error in opening the page (I'm sending you the pdf 
directly)

4. Question: how can I make TeXFont default to C:\ConTeXt\texmf-local instead 
of C:\TeXLive\texmf-local?

I think I'm close to the finish line. Thnx 4 all your help!

Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


RE: [NTG-context] Times New Roman

2005-03-16 Thread ishamid
= Original Message From Thomas A.Schmitz [EMAIL PROTECTED] 


Moreover, are you sure that your system is finding texnansi.enc?
What does
kpsewhich texnansi.enc
produce?

Ok I realize that my texfont problems are almost certainly related to my 
upgrade problems:

a. From C:\TeXLive (old system)

\system_fonts\timesnewromankpsewhich texnansi.enc
c:/TeXLive/texmf/dvips/ly1/texnansi.enc

so far so good

b. From C\:ConTeXt (latest system)

\system_fonts\timesnewromanC:\ConTeXt\texmf-mswin\bin\kpsewhich texnansi.enc
\system_fonts\timesnewroman

nothing found

So I think my problems in part go back to something I asked before: how do I 
get my C\:ConTeXt tree to secondarily search the TeXLive tree?

Thnx for all your help!
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Patrick Gundlach
Hello Matthias,

 Everything appears to be ok now -- 

Good News! Now I can go out and celebrate St. Patrick's Day tomorrow
:-))



 So I guess this file should have been updated but wasn't for some
 reason.

Perhaps other GWTEX users should check that as well?

Patrick

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


[NTG-context] OS X/Gerben Wiebe's TeX font issue + fix

2005-03-16 Thread Matthias Weber
Hello,
could those of you who use Gerben's TeX installation under OS X check  
whether
the following file produces nice postscript Palatino or ugly bitmap  
Palatino?

%% testing-fonts.tex
\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[pos]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]
%% for times uncomment this
%\usetypescript[times][\defaultencoding]
%\setupbodyfont[times,12pt]
\starttext
\input knuth
\bigskip
And this is some maths with PostScript fonts.
\startformula
{a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}  
\sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0.
\stopformula

\stoptext

If the latter is the case, you can fix this (thanks to Patrick) by  
overwriting

/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme
with
http://www.pragma-ade.com/system/tex/texmf-local/tex/context/user/cont- 
sys.rme

Also in that case we need a corrected gwConTeXt.
Thanks again to Patrick!

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


[NTG-context] Problems with new beta

2005-03-16 Thread Thomas A . Schmitz
Just installed the new beta. Now every run of texexec dies with lots of 
messages like this:

kpathsea: Running mktexmf ec-lmcsc10
! I can't find file `ec-lmcsc10'.
* ...four; mag:=1; nonstopmode; input ec-lmcsc10
Please type another input file name
! Emergency stop.
* ...four; mag:=1; nonstopmode; input ec-lmcsc10
Transcript written on mfput.log.
grep: ec-lmcsc10.log: No such file or directory
What gives?
Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Times New Roman

2005-03-16 Thread ishamid
= Original Message From Thomas A.Schmitz [EMAIL PROTECTED] 
=
hmm, I have zero experience with Windows and wouldn't get near a
computer running Windows if you payed me for it,

I certainly agree with this sentiment, and will make yet another attempt to 
switch to Linux this year; kde3.4 is looking nice...

but I guess there must
be a central configuration file somewhere. On linux and unix systems,
it's called texmf.cnf.

It's the same here; I'll look into it. There may be some os-related syntax 
issues, though, since

kpsewhich -var-value TEXMFLOCAL

gives

kpsewhich: unrecognized option `-var-value'

But I'll keep working/learning.

Thnx!
Idris


That's where you define which tex-trees you have
and in what order they should be searched. So if you want to have your
new C/Context searched first, your C/Texlive second, one of them should
be set as TEXMFLOCAL, the other as TEXMFMAIN. What does


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


Re: [NTG-context] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Willi Egger
Hi Mathias,
your example runs smoothly here, using:
pdfeTeXk, Version 3.141592-1.20a-2.2
ConTeXt  ver: 2005.01.26  fmt: 2005.1.26
1. Which version of ContTeXt do you run? A new version requires the 
map-files to be placed in  ...\fonts\map.

2. Niew versions of pdftex do nomore use a pdftex.cfg file. So the 
mapfiles must be loaded explicitely with \loadmapfile[...] or must be 
lodaed automatically - see also cont-usr.tex

Kind regards
Willi
Matthias Weber wrote:
Hello,
I am not desperate to use new fonts right now, but whenever I see
somebody with a success I'll give it a try.
Here is what happens to me when
trying to use palatino (or any of the other fonts) with the sample file
(Mac OS X, most recent gwTeX)

%% testing-fonts.tex
\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[pos]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]
%% for times uncomment this
%\usetypescript[times][\defaultencoding]
%\setupbodyfont[times,12pt]
\starttext
\input knuth
\bigskip
And this is some maths with PostScript fonts.
\startformula
{a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}  
\sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0.
\stopformula

\stoptext

It gives me the plain text in the right font, but as a bitmap font,  
which reminds me of the bad old times
when one looked at TeX output without the Adobe Type Manager in OS  7-9...

I get the warning (which I wouldn't be able to fix)
Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file
{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- 
youngryu-
px.map}]

The math part uses the computer modern fonts as usual.
Any clues what I'm missing?
Matthias

On Mar 11, 2005, at 4:57 AM, Patrick Gundlach wrote:
Hello Thomas,
[...]
create the tfms myself with texfont, but I thought there was some
default support for Palatino. Am I missing something?

Yes go to the garden and search for palatino. You'll find:
http://contextgarden.net/Psnfss
Patrick
--
ConTeXt wiki: 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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Palatino? - bitmap fonts???

2005-03-16 Thread Matthias Weber
On Mar 16, 2005, at 2:01 PM, Willi Egger wrote:
Hi Mathias,
your example runs smoothly here, using:
pdfeTeXk, Version 3.141592-1.20a-2.2
ConTeXt  ver: 2005.01.26  fmt: 2005.1.26

Thanks for looking at this, but :)
pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
ConTeXt  ver: 2005.03.02  fmt: 2005.3.4  int: english  mes: english

Patrick tracked this down do an  old cont-sys.rme, and my guess is that 
it is erroneously being distributed with Gerben Wiebe's TeX 
installation
(which I use).

Matthias


1. Which version of ContTeXt do you run? A new version requires the 
map-files to be placed in  ...\fonts\map.

2. Niew versions of pdftex do nomore use a pdftex.cfg file. So the 
mapfiles must be loaded explicitely with \loadmapfile[...] or must be 
lodaed automatically - see also cont-usr.tex

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


[NTG-context] problem with \digits

2005-03-16 Thread Martin Kolaøík
Hi all,

I used \digits and this is the result:

=

! Missing $ inserted.
inserted text
$
to be read again
   _
\next ...savedigit \collecteddigits @\else \if #1_
  \savedigit
\collecteddigit...

\doCurrency ...{\thinspace CHF}]\BF \digits #1\AF
  \relax

=

Is this known problem? Something with catcodes, I think,

have a nice day,

Martin


smime.p7s
Description: S/MIME cryptographic signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Floating table caption extends textwidth

2005-03-16 Thread Michael Fuchs
Hi!

I have problems creating a multi-line caption for a floating table.
If the caption is too long it will extend the text width. The following
example shows this problem on http://live.contextgarden.net/. 

I was able to find out, that this problem only appears if one of the 
variables width or textwidth in the setuplayout command were 
used to define the textwidth. 

Regards 

Michael





EXAMPLE:


 \setuplayout[
backspace=25mm, topspace=10mm, header=10mm, headerdistance=5mm,
width=16cm, % -- COMMENT THIS TO SEE THE EX WORK
height=fit,footer=10mm, footerdistance=5mm, bottom=5mm]

 \starttext

\placetable[here][tab:Referenz]
 {Zusammenfassung der Ereigniszahlen in Signal und Untergrund mit... 
  erfülltem $z$-Cut und einem über den Massenschnitt identifizierten
$\pi^0$.
 \nolist{Ereignisse werden in dem durch den $2 \sigma$-Massenschnitt
 vorgegebenen Intervall gezählt, das auch bei den endgültigen Schnitten
 zu Selektion verwendet wird.}
 }
 {
 \setupTABLE[x][1][width=4cm, align=middle]
 \setupTABLE[x][2,3,4,5][width=3cm, align=middle]
 \bTABLE
\bTR
\bTH Anzahl \eTH
\bTH Daten \eTH
\bTH MC \eTH
\bTH Daten \eTH
\bTH MC \eTH
\eTR
 \eTABLE
 }

\stoptext

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


Re: [NTG-context] hyphenation not working

2005-03-16 Thread Paul Tremblay
On Wed, Mar 16, 2005 at 10:03:50AM +0100, Hans Hagen wrote:
 Paul Tremblay wrote:
 I've noticed that hypenation is not working in my test ConTeXt
 documents. I have looked repeatedly at the manual and searched the wiki.
 It seems that hyphenations should be automatic?
 
 I am testing simple files with the language as English. Does one have to
 turn hyphenation on?
 
 normally not, but there has been some changes in distributions; is there a 
 hyphen.tex on your system?
 

No, hyphen.tex is not on my system. 

Here is a list of any file that has the name 'hyphen' in it:

./lists/hyphen-base
./lists/hyphen-basque
./lists/hyphen-czechslovak
./lists/hyphen-dutch
./lists/hyphen-french
./lists/hyphen-german
./lists/hyphen-italian
./lists/hyphen-polish
./lists/hyphen-portuguese
./lists/hyphen-spanish
./lists/hyphen-ukenglish
./tex/generic/hyphen
./tex/generic/hyphen/hyphen.tex
./tex/generic/hyphen/czhyphen.ex
./tex/generic/hyphen/skhyphen.ex
./tex/generic/hyphen/ghyphen.README
./tex/generic/hyphen/ithyphen2.tex
./tex/generic/hyphen/ukhyphen.tex
./tpm/hyphen-base.tpm
./tpm/hyphen-basque.tpm
./tpm/hyphen-czechslovak.tpm
./tpm/hyphen-dutch.tpm
./tpm/hyphen-french.tpm
./tpm/hyphen-german.tpm
./tpm/hyphen-italian.tpm
./tpm/hyphen-polish.tpm
./tpm/hyphen-portuguese.tpm
./tpm/hyphen-spanish.tpm
./tpm/hyphen-ukenglish.tpm

I installed ConTexT using the TeXLive distribution, and then build
ConTeXt inside of that by unzipping the standard ConTeXt package.

Thanks

Paul



-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] XeTeX w. ConTeXt question

2005-03-16 Thread sfpno
Greetings,
After a number of attempts (somewhat indistinguishable in my memory at 
this point) I've been able to run ConTeXt with XeTeX support (if that's 
the right nomenclature;). It works! But I do receive this error 
message:

--
(/usr/local/TeTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
systems : you should use pdfTeX binaries
\wait=
)
--
Looking in spec-tpd.tex, this error message comes from pdftexversion 
being undefined. Could someone clarify this for me?

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


[NTG-context] automating initialization

2005-03-16 Thread ishamid
Dear gang,

How do I automate initialization of the separate context tree (from 
mswintex.zip)? A simple batch file such as


setuptex c:\context
texexec foo


does not work; the batch file always turns itself off before texexec can be 
invoked. Can I make the initialization global so that all batch files (such as 
those called by WinEDT) will work properly? I added c:\context to the path but 
that is not enough.

BTW: Can initialization be turned off as well?

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] m-bib issues

2005-03-16 Thread ishamid
Dear knights of the round table,

I've been using a very old bib module up to now, with lots of personal tweaks, 
workarounds etc. (mission-critical issues--no time 2 deal with painful 
upgrades); now I'm starting fresh with the latest. Here is one issue:

The \startpublication[a= ] option seems to cause m-bib to choke on some 
accents. Here is an example:

test-bib.bbl===
\startpublication[k=ahsaif,
  t=book,
  a=\AHSAI,
  y=1856,
  s=\AHSAI1856]
%\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah}
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah}
\title{\v Sar\.hu \~al-Faw\={a}\'id}
\pubname{n.p.}
\city{Tabriz}
\pubyear{1856}
\stoppublication

\startpublication[k=ahsaijk,
  t=book,
  a=\AHSAI,
  y=1856--59,
  s=\AHSAI1856--59]
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah}
\title{Jaw\={a}mi\`u \~al-Kalim}
\pubname{n.p.}
\note{Two volumes}
\city{Tabriz}
\pubyear{1856--59}
\stoppublication
===

and here is the accompanying tex file

test-bib.tex===
\setupoutput[pdftex]

\usemodule[bib]

\def\AHSAI{A\d hs\=a'\~\i}
%\def\AHSAI{A\d hs\=a'i}

\input test-bib.bbl

\starttext

\cite[ahsaif]

\cite[ahsaijk]

\stoptext
===

In this example the \startpublication[a= ] option chokes on \~.

Any help/chivalry will be appreciated!

Best
Idris

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
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-16 Thread luigi.scarso
Ciro A. Soto wrote:
I tried Hans' approach. It works fine, but
 

My approach shows a (my) way to manipulate pages
from a source pdf; Hans gives you the exact solutions for your problem.
I hope you have found both useful.
somehow the pdf file with the 2*2 pages
is corrupted since it does not print well, mostly
garbage.
It looks good on screen though.
I printed one page of the original pdf
and it is fine. So the problem happens in
the imposition step.
any suggestion?
thank you
ciro
 

Yes, it's strange; without the pdf i can't give you more help.
luigi.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-16 Thread Hans Hagen
Paul Tremblay wrote:
I've noticed that hypenation is not working in my test ConTeXt
documents. I have looked repeatedly at the manual and searched the wiki.
It seems that hyphenations should be automatic?
I am testing simple files with the language as English. Does one have to
turn hyphenation on?
normally not, but there has been some changes in distributions; is there a 
hyphen.tex on your system?

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