Re: [NTG-context] font errors

2006-07-19 Thread Patrick Gundlach
Hello Hans, Mojca,


> FAQ after support for XeTeX has been built in, although I agree that
> the distributions should take care that this wouldn't happen.

> TEXFONTMAPS =
> .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//
>

Thanks, that did it. I should read this mailinglist more carefully.
And thanks for the wiki page on it.

> I thought that you were reading changes.txt ;)

(for the others: that's on the contextgarden.net server)... reading:
yes, understanding: now :)

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


[NTG-context] Centring text on a page

2006-07-19 Thread Jeffrey Drake
I have a title page I would like to centre some text on. I can easily
do the horizontal text with:

\startalignment[middle]

...

\stopalignment

But I can't figure out how to get it to do verticle centring.

A \startlocal  block modifying the layout might work, but I wonder if
there is a better way.

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


[NTG-context] Can't get texmfstart to work

2006-07-19 Thread The Wizard
All -
   I had not updated my install for quite some time, so I thought today 
might be a good time to try. I downloaded all the latest cont-*.zip 
files from the Pragma site, and did what I normally do to update:

1) Unzip all the new files in my texmf-local directory
2) texhash
3) texexec --make en nl mptopdf
4) texexec --make --all
5) updmap-sys
6) fmtutil-sys --refresh
7) texexec --version

I see that I have installed the newest version:

merlin:/home/.../TestDoc 128> texexec --version

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
   tex : pdfeTeXk, 3.141592-1.30.6-2.2 (Web2C 7.5.5)
   context : ver: 2006.07.14 12:08
   cont-en : ver: 2006.07.14 12:08  fmt: 2006.7.19  mes: english

total run time : 1 seconds

   warning : use 'texmfstart texexec' instead

So, I decide to see if I can start using the texmfstart version as 
recommended. I find the "texmfstart.rb" file in the 
texmf-local/scripts/context/ruby/ directory, and see that the magic line 
doesn't work for me; on Solaris 10, the

#!/usr/bin/env ruby

just hangs. No problem, I can point it to my installed copy of ruby and 
it should work; I change the first line to

#!//opt/sfw/bin/ruby

and try "texmfstart texexec --version" and get an error:

merlin:/home/.../TestDoc 130> texmfstart texexec --version
/usr/local/teTeX/bin/i386-pc-solaris2.10/texmfstart:983: nested method 
definition
def the_same(filter,filename)
 ^
/usr/local/teTeX/bin/i386-pc-solaris2.10/texmfstart:987: nested method 
definition
def the_same(filter,filename)
 ^

Now, I don't know if it's a ruby error, or a problem with my system. The 
version of ruby installed is

merlin:/home/.../TestDoc 131> ruby --version
ruby 1.6.4 (2001-06-04) [i386-solaris2.10]

and I am using teTex 3.0 built from source, and pdftex-1.30.6. I only 
normally generate PDF output in letter size, and this has worked fine 
for me in the old Perl version (in fact, it still works, but complains 
that I should use "texmfstart"). Any ideas about how I should go about 
fixing this?


-- 
Mark Almeida [EMAIL PROTECTED]
Solutions Architect  (707)398-9524/x81132
Sun Client Solutions (707)429-0341 Home Office
 (707)480-5038 Cell

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


Re: [NTG-context] "infinite" paper height

2006-07-19 Thread Mojca Miklavec
On 7/19/06, Hans Hagen wrote:
> Mojca Miklavec wrote:
> >
> > Most articles will be shorter than 2m anyway, I hope. If not, smaller
> > font size is surely one of the possibilities, but I'll worry about
> > that later (I don't doubt that I'll be bitten by enough ConTeXt bugs
> > before that will happen).
> >
>
> do you mean real bugs or misuse of features stretched beyond their
> intended usage ...
>
> in a next release i will implement \doifuserelse{mojca} {ignore feature}
> {carry on} -)

No problem. If my name won't be misspelled (as in some ConTeXt sources
:) I can still add the following to the cont-usr.tex ;)

\let\reverseuser=\doifuserelse
\def\doifuserelse#1#2#3{\reverseuser{#1}{#3}{#2}}

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


Re: [NTG-context] Figure. 3

2006-07-19 Thread Mojca Miklavec
On 7/18/06, David Arnold wrote:
> All, Anyone know how to get a period after Figure in figure caption.

Is \setuplabeltext[figure=Figure. ] the one that you're looking for?

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


Re: [NTG-context] table numbering

2006-07-19 Thread John R. Culleton
On Wednesday 19 July 2006 13:30, Peter Münster wrote:
> Hello,
> in the following example, the first table gets the number 1 and the second
> table the number 0 !
> Could someone help please?
> Cheers, Peter
>
> \setupoutput[dvi]
> \starttext
> \placetable[][tab1]{bla}{
>   \bTABLE
> \bTR\bTD bla\eTD\eTR
>   \eTABLE}
> \placetable[][tab2]{bla}{
>   \bTABLE
> \bTR\bTD bla\eTD\eTR
>   \eTABLE}
> \stoptext

The following works correctly for me:

\setupoutput[pdf]
\starttext
\placetable[][tab1]{bla}{
  \bTABLE
\bTR\bTD firstbla\eTD\eTR
  \eTABLE}
\placetable[][tab2]{bla}{
  \bTABLE
\bTR\bTD secondbla\eTD\eTR
  \eTABLE}
\stoptext

See if my version works for you.
-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com


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


Re: [NTG-context] Problem with \typefile

2006-07-19 Thread John R. Culleton
On Wednesday 19 July 2006 11:21, Taco Hoekwater wrote:
> John R. Culleton wrote:
> > The document compiles fine and displays fine in xpdf or kpdf
> > (Linux).
> >  But Acrobat Reader 7.0 (Linux) comes up with the message "there was a
> > problem with this document" and displays two blank pages instead.
> > It will however display the rest of the document if the \stoptext
> > statement above is removed.
>
> I cannot reproduce that problem. I guess the exact contents of
> samp.tex is a key ingredient so if it is not too big ...
>
> (and check your log for font mapping issues)
>
> Success, Taco
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

This was truly a wierd one. Way back in my subfile "macros.tex" I
had an erroneous statement:

\setuptyping [option=tex]

This compiled clean and the resulting pdf could be read in xpdf.
But Acrobat Reader didn't like it. 

I have no memory of when or how I came up with that option. 

To find the problem first I commented out 
\input macros.tex
which identified where the problem was. Then
I commented out the whole macros.tex file (128 lines), 
and uncommented it block by block until I found the culprit. 

Whew!
-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com




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


Re: [NTG-context] splitting a pdf into multiple volumes

2006-07-19 Thread Ralf Schmitt
Peter Münster wrote:
> On Wed, 19 Jul 2006, Ralf Schmitt wrote:
> 
>>> texexec --pdfselect --selection=1:10 yourfile.pdf --result=anotherfile
>> That would work. The problem I have is that I don't know where to split 
>> the pdf file (but I know where to split the context file).
> 
> If you know about make, you could write a nice Makefile, that takes as
> input a temporary file generated by ConTeXt.
> Example for generating such a file:
> 
> \newwrite\myTmpFile
> \openout\myTmpFile \jobname-pages.tmp
> \starttext
> \dorecurse{6}{\chapter{bla}}
> \page\write\myTmpFile{chapter7=\currentpage}
> \dorecurse{6}{\chapter{bla}}
> \page\write\myTmpFile{chapter13=\currentpage}
> \dorecurse{6}{\chapter{bla}}
> \write\myTmpFile{end=\currentpage}
> \stoptext

Fantastic, that's exactly what I need.

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


Re: [NTG-context] font errors

2006-07-19 Thread Mojca Miklavec
On 7/19/06, Patrick Gundlach wrote:
> Hi,
>
> I have updated my context and I run into errors. Don't ask me what the
> old version was that worked, but it was about two monthts ago:
>
>
> \usetypescript[palatino][\defaultencoding]
> \setupbodyfont[palatino]
> \enableregime[il1]
> \mainlanguage[de]
>
> \starttext
> Once upon a time, in a distant
>   galaxy called Ööçc,
> there lived a computer
> named R.~J. Drofnats.
> \stoptext
>
>
> Gives me no 'funny characters', but the following entries in the
> logfile:
>
> --
> [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-empt
> y.map}{/usr/local/teTeX/share/texmf.tetex/fonts/map/dvips/lm/lm-texnansi.map}{/
> usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-base.map
> Warning: pdfetex (file 
> /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con
> text/original-base.map): invalid entry for `fmvr8x': font file missing
>
> Warning: pdfetex (file 
> /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con
> text/original-base.map): invalid entry for `xycmat11': font file missing
>
> Warning: pdfetex (file 
> /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con
> text/original-base.map): invalid entry for `xycmbt11': font file missing
>
> .
>
> --
>
> What has happened here? I use Gerben's iInstaller TeX.

FAQ after support for XeTeX has been built in, although I agree that
the distributions should take care that this wouldn't happen.

TEXFONTMAPS =
.;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//

I thought that you were reading changes.txt ;)

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


Re: [NTG-context] ConTeXt, Charts, and transparency

2006-07-19 Thread Mojca Miklavec
On 7/19/06, Idris Samawi Hamid wrote:
> On Wed, 19 Jul 2006 02:07:38 -0600, Johan Sandblom <[EMAIL PROTECTED]>
> wrote:
>
> > The R module (and R program) may also be worth a look for any stats
> > and data visualization tasks.
>
> What is this exactly? any links? I've heard esoteric references to R on
> this list but have no idea what it's about ;-)

http://www.r-project.org/

Once you manage to install it you should try
texexec --demo m-r.tex
The demo examples in m-r.tex are pretty good to give you an idea of
what is possible.

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


Re: [NTG-context] font errors

2006-07-19 Thread Hans Hagen
Patrick Gundlach wrote:
> Hi,
>
> I have updated my context and I run into errors. Don't ask me what the
> old version was that worked, but it was about two monthts ago:
>
>
> \usetypescript[palatino][\defaultencoding]
> \setupbodyfont[palatino]
> \enableregime[il1]
> \mainlanguage[de]
>
> \starttext
> Once upon a time, in a distant
>   galaxy called ���c,
> there lived a computer
> named R.~J. Drofnats.
> \stoptext
>
>
> Gives me no 'funny characters', but the following entries in the
> logfile:
>
> --
> [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-empt
>   
just some map maddness: you need to adapt: 

TEXFONTMAPS = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//

so that the pdftex ones are used 

interesting is that this was discussed before but never made it into the wiki 
(unless i'm looking wrong) 


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] Context Quiz?

2006-07-19 Thread Hans Hagen
Patrick Gundlach wrote:
> Hello Hans,
>
>   
>>> Maybe we should first start a Context Quiz?
>>>
>>>   
>>>   
>> sounds ok to me; we can use the wiki for that and or something
>> similar (maybe patrick can install something like
>> http://rubymanual.org on the wiki server) 
>> 
>
>
> Hmm, this looks like 'texshow' to me!?!?
>   
well, texshow is organized aroun dthe commnds; the quiz is more like "i wanna 
do this" and then different people cooking up different solutions all combined 
in a nice story 

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] splitting a pdf into multiple volumes

2006-07-19 Thread Peter Münster
On Wed, 19 Jul 2006, Ralf Schmitt wrote:

> > texexec --pdfselect --selection=1:10 yourfile.pdf --result=anotherfile
> 
> That would work. The problem I have is that I don't know where to split 
> the pdf file (but I know where to split the context file).

If you know about make, you could write a nice Makefile, that takes as
input a temporary file generated by ConTeXt.
Example for generating such a file:

\newwrite\myTmpFile
\openout\myTmpFile \jobname-pages.tmp
\starttext
\dorecurse{6}{\chapter{bla}}
\page\write\myTmpFile{chapter7=\currentpage}
\dorecurse{6}{\chapter{bla}}
\page\write\myTmpFile{chapter13=\currentpage}
\dorecurse{6}{\chapter{bla}}
\write\myTmpFile{end=\currentpage}
\stoptext

Cheers, Peter

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


[NTG-context] font errors

2006-07-19 Thread Patrick Gundlach
Hi,

I have updated my context and I run into errors. Don't ask me what the
old version was that worked, but it was about two monthts ago:


\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino]
\enableregime[il1]
\mainlanguage[de]

\starttext
Once upon a time, in a distant
  galaxy called Ööçc,
there lived a computer
named R.~J. Drofnats.
\stoptext


Gives me no 'funny characters', but the following entries in the
logfile:

--
[1.1{/usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-empt
y.map}{/usr/local/teTeX/share/texmf.tetex/fonts/map/dvips/lm/lm-texnansi.map}{/
usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/context/original-base.map
Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con
text/original-base.map): invalid entry for `fmvr8x': font file missing

Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con
text/original-base.map): invalid entry for `xycmat11': font file missing

Warning: pdfetex (file /usr/local/teTeX/share/texmf.local/fonts/map/dvipdfm/con
text/original-base.map): invalid entry for `xycmbt11': font file missing

.

--

What has happened here? I use Gerben's iInstaller TeX.


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] Context Quiz?

2006-07-19 Thread Patrick Gundlach
Hello Hans,

>> Maybe we should first start a Context Quiz?
>>
>>   
> sounds ok to me; we can use the wiki for that and or something
> similar (maybe patrick can install something like
> http://rubymanual.org on the wiki server) 


Hmm, this looks like 'texshow' to me!?!?

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] texshow-web

2006-07-19 Thread Patrick Gundlach
Hello Peter (and Taco and others),


> if I update some description in texshow-web, will it then appear
> automatically in the normal texshow of the next ConTeXt-release?

I didn't think of _that_ question. I guess Taco and I have to figure
that out, but I suppose the answer is currently no, but will be yes in
the near future. 

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] splitting a pdf into multiple volumes

2006-07-19 Thread Ralf Schmitt
Hans Hagen wrote:
> Taco Hoekwater wrote:
>> Ralf Schmitt wrote:
>>   
>>> Hi all,
>>>
>>> I'm trying to split a large document for printing to multiple volumes/books.
>>> The first volume should contain a table of contents (but no index/list 
>>> of figures), the second volume should have consecutive pagenumbers, and 
>>> the last volume should contain an index and the list of figures of all 
>>> books. Is this possible with context?
>>> 
>> My approach would be to build the 'big one', then use something like
>>
>>% this is split-toc.tex
>>\starttext
>>\insertpages[complete.pdf][1,3]
>>\stoptext
>>
>> to lift bits and pieces into separate files. Is something like that 
>> feasible?
>>   
> there is also 
> 
> texexec --pdfselect --selection=1:10 yourfile.pdf --result=anotherfile

That would work. The problem I have is that I don't know where to split 
the pdf file (but I know where to split the context file).

The input file looks like
\input art1
\input art2
...
\input art_n
\page[YES]
% split book here
\input art_n+1
...

I just don't know how to get the pagenumber in the pdf file after the 
\page[YES] command.  If there was a way to have the actual pagenumber 
printed to some log file (or stdout), I already would be happy.
Sorry if I haven't been clear in my previous post.

BTW - if you don't mind some commercial advertising - we're using 
context to generate books from wikipedia articles in our new service 
pediapress (http://pediapress.com). We currently don't have a 'credits' 
page, but Hans certainly belongs there. Thanks for your great work and 
support on the mailing list.

- Ralf


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


[NTG-context] Conflict with chapter definition and header

2006-07-19 Thread Confused Scientist
Hello,I'm trying to put together a couple of examples I found in the ConTeXt manual, the wiki and the maling list archive.  Unfortunately, I've broken my headers/footers in the process.  What I am trying to do is have a double-sided layout where (at the beginning of each chapter) a famous quote is given on the left page and the chapter begins on the right.  I do not want any header/footer on the left, but I would like the footer (page number) on the right.  
My problem is that I cannot seem to control the page headers and footers for the left/right chapter page.  Also, I cannot seem to get the section name to reliably appear after using setupheadertexts?  I am using:

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004   tex : pdfeTeX, 
3.141592-1.30.4-2.2 (Web2C 7.5.5)   context : ver: 2006.02.03 21:03   cont-en : ver: 2006.02.03 21:03  fmt: 2006.2.10  mes: english   cont-nl : ver: 2006.02.03 21:03  fmt: 
2006.2.10
  mes: dutch    total run time : 9 secondsand below is an example of what I have.  Any ideas on what I've done wrong.Thanks,Dave%%% Layout\setuppagenumbering[  alternative=doublesided,
  style={\sc},  location={footer, marginedge},  partnumber=no,  way=bytext]\setuppapersize[a4][a4]  % paper size (210 x 297 mm)\definelayout[even]   % Even = Left [topspace=14mm,  % at the very top of the page
  bottomspace=14mm,   % at the very bottom of the page  header=6mm, % for header  headerdistance=4mm, % between body and header  footer=6mm, % for footer
  footerdistance=4mm, % between body and footer  backspace=38mm, % binding edge space  cutspace=32mm,  % opposite to binding edge  leftmargin=25mm,    % space for margin notes
  rightmargin=25mm,   % space for right margin notes  width=fit,  height=fit]\definelayout[odd]    % Odd = Right [topspace=14mm,  % at the very top of the page
  bottomspace=14mm,   % at the very bottom of the page  header=6mm, % for header  headerdistance=4mm, % between body and header  footer=6mm, % for footer
  footerdistance=4mm, % between body and footer  backspace=38mm, % binding edge  cutspace=32mm,  % opposite to binding edge  leftmargin=25mm,    % the space for margin notes
  rightmargin=25mm,   % the space for right margin notes  width=fit,  height=fit]\setuplayout  [location=doublesided]  % double-sided pages\setupheader[style={\it}]
\setupheadertexts  []    % even left  [section] % even right  [chapter] % odd left  []    % odd right\definetext[chapter][footer][pagenumber]\setupheadtext [chapter=Chapter]

\setuphead  [chapter]  [command=\MyChapterText,   style={\sc\tfc},   placehead=yes,   color=black,   number=yes,   continue=no,   page=,   header=high,   footer=chapter,   distance=0pt,
   before=\setups{chapter:before},   after=\setups{chapter:after}]\def\MyChapterText#1#2{\vbox{\sc\tfc\headtext{chapter}~#1\blank[small]#2}}\startsetups [chapter:before]  \page[left]  \vbox to 35mm{}\vbox{\blank
  \noheaderandfooterlines  \startalignment[left,nothyphenated]    \noindent \setups[chapter:quote]  \stopalignment}  \resetsetups[quote:text]  \page[right]  \vbox to 35mm\bgroup\stopsetups

\startsetups [chapter:after]  \vss\egroup\stopsetups\showframe%%% Text\starttext\startsetups[chapter:quote]  \vbox{My quote goes here\par    \it{---author from ``source'', 1900.}}
\stopsetups\chapter{This is a split chapter title\blank[small]% On two lines}\input tufte\section{Section One}\dorecurse{3}{\input tufte \par \input knuth \par}\section{Section Two}
\dorecurse{3}{\input tufte \par \input knuth \par}\startsetups[chapter:quote]  \vbox{My quote goes here\par    \it{---author from ``source'', 1900.}}\stopsetups\chapter{A short title}

\input tufte\section{Section One}\dorecurse{3}{\input tufte \par \input knuth \par}\section{Section Two}\dorecurse{3}{\input tufte \par \input knuth \par}\stoptext

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


Re: [NTG-context] Problem with \typefile

2006-07-19 Thread Taco Hoekwater


John R. Culleton wrote:


> The document compiles fine and displays fine in xpdf or kpdf 
> (Linux).
>  But Acrobat Reader 7.0 (Linux) comes up with the message "there was a
> problem with this document" and displays two blank pages instead.
> It will however display the rest of the document if the \stoptext
> statement above is removed. 

I cannot reproduce that problem. I guess the exact contents of
samp.tex is a key ingredient so if it is not too big ...

(and check your log for font mapping issues)

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


Re: [NTG-context] texshow-web

2006-07-19 Thread Peter Münster
On Tue, 18 Jul 2006, Patrick Gundlach wrote:

> I've updated texshow-web. It's a complete rewrite. This is now
> database driven and I have tried hard to preserve all comments and
> examples from the old texshow-web. Please report any errors
> (preferrable include me in cc: if you post them on the list). 
> 
> Please fill in descriptions for the commands! Other contexters will
> find this useful. You can now use most of the mediawiki wiki markup
> for editing the descriptions. See the help page for more information. 

Hello Patrick,
if I update some description in texshow-web, will it then appear
automatically in the normal texshow of the next ConTeXt-release?
Cheers, Peter

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


[NTG-context] table numbering

2006-07-19 Thread Peter Münster
Hello,
in the following example, the first table gets the number 1 and the second
table the number 0 !
Could someone help please?
Cheers, Peter

\setupoutput[dvi]
\starttext
\placetable[][tab1]{bla}{
  \bTABLE
\bTR\bTD bla\eTD\eTR
  \eTABLE}
\placetable[][tab2]{bla}{
  \bTABLE
\bTR\bTD bla\eTD\eTR
  \eTABLE}
\stoptext

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


Re: [NTG-context] Rescaling pages

2006-07-19 Thread Taco Hoekwater


Olaf Mersmann wrote:
> Hi List,
> 
> I have a booklet typset on A5 paper with an A5 pagesize (one page per
> sheet). The printer-shop wants the pages enlarged to A4, so that they
> can scale them back down to A5 and imposition 2 on an A4 sheet. Don't
> ask me why they want this. I don't know. 
> 
> Is it possible to easily do this from within context or what are my
> options?

What Hans said, or (just in case they really do not know what to do):

   \setuppapersize[A4][A4]
   \setuplayout[page]
   \starttext
   \copypages[booklet.pdf][scale=1414]
   \stoptext

They probably missed the "Expand small pages to paper size" setting in
the print dialog of the Acrobat Reader, though.

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


Re: [NTG-context] Rescaling pages

2006-07-19 Thread Hans Hagen
Olaf Mersmann wrote:
> Hi List,
>
> I have a booklet typset on A5 paper with an A5 pagesize (one page per
> sheet). The printer-shop wants the pages enlarged to A4, so that they
> can scale them back down to A5 and imposition 2 on an A4 sheet. Don't
> ask me why they want this. I don't know. 
>
> Is it possible to easily do this from within context or what are my
> options?
>   
just impose with context and give them A4 (direct imposition or by using 
texexec) 

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] splitting a pdf into multiple volumes

2006-07-19 Thread Hans Hagen
Taco Hoekwater wrote:
> Ralf Schmitt wrote:
>   
>> Hi all,
>>
>> I'm trying to split a large document for printing to multiple volumes/books.
>> The first volume should contain a table of contents (but no index/list 
>> of figures), the second volume should have consecutive pagenumbers, and 
>> the last volume should contain an index and the list of figures of all 
>> books. Is this possible with context?
>> 
>
> My approach would be to build the 'big one', then use something like
>
>% this is split-toc.tex
>\starttext
>\insertpages[complete.pdf][1,3]
>\stoptext
>
> to lift bits and pieces into separate files. Is something like that 
> feasible?
>   
there is also 

texexec --pdfselect --selection=1:10 yourfile.pdf --result=anotherfile

or so 

-
  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] splitting a pdf into multiple volumes

2006-07-19 Thread Taco Hoekwater


Ralf Schmitt wrote:
> Hi all,
> 
> I'm trying to split a large document for printing to multiple volumes/books.
> The first volume should contain a table of contents (but no index/list 
> of figures), the second volume should have consecutive pagenumbers, and 
> the last volume should contain an index and the list of figures of all 
> books. Is this possible with context?

My approach would be to build the 'big one', then use something like

   % this is split-toc.tex
   \starttext
   \insertpages[complete.pdf][1,3]
   \stoptext

to lift bits and pieces into separate files. Is something like that 
feasible?

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


[NTG-context] Problem with \typefile

2006-07-19 Thread John R. Culleton
I use the lines:
\typefile {samp.tex}{samp.tex}
\page[yes]
\stoptext % For debugging purposes

The file samp.tex contains ascii tex from the sample files 
knuth, zapf and tufte, concluded by the single tag \bye. 

The document compiles fine and displays fine in xpdf or kpdf 
(Linux).
 But Acrobat Reader 7.0 (Linux) comes up with the message "there was a
problem with this document" and displays two blank pages instead.
It will however display the rest of the document if the \stoptext
statement above is removed. 




-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com



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


Re: [NTG-context] ConTeXt, Charts, and transparency

2006-07-19 Thread Idris Samawi Hamid
On Wed, 19 Jul 2006 02:07:38 -0600, Johan Sandblom <[EMAIL PROTECTED]>  
wrote:

> The R module (and R program) may also be worth a look for any stats
> and data visualization tasks.

What is this exactly? any links? I've heard esoteric references to R on  
this list but have no idea what it's about ;-)

Best
Idris

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

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt, Charts, and transparency

2006-07-19 Thread Idris Samawi Hamid
On Tue, 18 Jul 2006 12:55:32 -0600, Aditya Mahajan <[EMAIL PROTECTED]>  
wrote:

> On Tue, 18 Jul 2006, Aditya Mahajan wrote:

> There is also the ultimate reference
> http://zoonek.free.fr/LaTeX/Metapost/metapost.html Check out example
> from 285 onwards.

That is a nice resource; thnx for pointing it out.

> Also, gnuplot can draw bargraphs easily. Mojca's gnuplot module is
> functional, so you can also give that a try.

Will do that as well -)

Best
Idris

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

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Rescaling pages

2006-07-19 Thread Olaf Mersmann
Hi List,

I have a booklet typset on A5 paper with an A5 pagesize (one page per
sheet). The printer-shop wants the pages enlarged to A4, so that they
can scale them back down to A5 and imposition 2 on an A4 sheet. Don't
ask me why they want this. I don't know. 

Is it possible to easily do this from within context or what are my
options?

Any help would be appreciated.

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


Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN
[EMAIL PROTECTED] wrote:
> On Wed, 19 Jul 2006, WN wrote:
>
>   
>> Hi all,
>>
>> I am trying to do the following in Metapost but my new math symbol  is
>> not recognized.
>> Context knows about it but Tex does not.
>>
>> How can I make this work ?
>> 
>
> Hans and Taco have already explained the correct way to do this, so I 
> will not go into that. This is one place where you can use the new 
> sometxt feature.
>
>   
>> % = Test code 
>> \loadmapfile[original-youngryu-tx.map]
>> \definebodyfont [28pt,24pt,18pt,
>>  17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [
>>  mc=txexa sa 1]
>>
>> \setupbodyfont [11pt]
>> \definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C]
>>
>> \starttext
>> \startformula
>> \varointctrclockwise_{\gamma} f(z) \: dz = 0
>> \stopformula
>> \startMPcode
>>picture p ;
>>path q;
>>numeric u;
>>
>>u := 1cm;
>>
>>p := btex $\varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex;
>> 
>
> Replace this by
>
>   p := \sometxt{$\varointctrclockwise_{\gamma} f(z) \: dz = 0$} ;
>
> and everything works!
>
>   
I was wondering about the \sometxt feature, I did not know exactly how 
to use it, but will certainly do
some experiments. Thanks Wim.


>
>   
>>p := p scaled 0.15cm;
>>draw p;
>> \stopMPcode
>> \stoptext
>>
>> 
> Aditya
> ___
> 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] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN




[EMAIL PROTECTED] wrote:

  
Hans Hagen wrote:
  
  
make sure that mp knows about the definitions: 

- first extend the math collection (use decimen, since there is a linesplit bug with " here) 
- then load the times font 

  
  
Math family mc has to be txexa or something similar before the code
actually shows the integral instead  of a plus sign, but Wim can
figure that out himself, no doubt  :-)

  
  
- somehow display and inline math render differently; something for taco 

  
  
That is normal. One is with an operator with \limits, one without.

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

For those interested, this is what I did. Taco is right in saying you
have to load the txexa font first. 
The code works for me, but I am not sure it is the proper Context way
of doing things. 

Kind regards
Wim Neimeijer

% === some extra math symbols I need
=
\startenvironment layout04

\unprotect
%
% extra math symbols
%
\usetypescript[modern]
\usetypescript[times]

\definetypeface[MyFace][rm][serif][times][default][encoding=ec]
\definetypeface[MyFace][mm][math][modern][default][encoding=ec]
\setupbodyfont[MyFace,10pt]

\loadmapfile[original-youngryu-tx.map]
\definebodyfont [28pt,24pt,18pt,
  17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [
  mc=txexa sa 1]

\setupbodyfont [11pt]

%%%
% txfonts
%%%

\definemathsymbol [oiint]   [op] [mc] ["08] [mc] ["09]
\definemathsymbol [oiiint]  [op] [mc] ["29] [mc] ["2a]
\definemathsymbol [ointctrclockwise]    [op] [mc] ["0A] [mc] ["0B]
\definemathsymbol [ointclockwise]   [op] [mc] ["0C] [mc] ["0D]
\definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C]
\definemathsymbol [varointclockwise]    [op] [mc] ["2D] [mc] ["2E]

\definemathsymbol [iint]    [op] [mc] ["21] [mc] ["22]
\definemathsymbol [iiint]   [op] [mc] ["23] [mc] ["24]
\definemathsymbol [nt]  [op] [mc] ["25] [mc] ["26]
\definemathsymbol [idotsint]    [op] [mc] ["27] [mc] ["28]

\definemathsymbol [oiintctrclockwise]   [op] [mc] ["40] [mc] ["41]
\definemathsymbol [oiintclockwise]  [op] [mc] ["48] [mc] ["49]
\definemathsymbol [varoiintctrclockwise][op] [mc] ["4A] [mc] ["4B]
\definemathsymbol [varoiintclockwise]   [op] [mc] ["42] [mc] ["43]

\definemathsymbol [oiiintctrclockwise]  [op] [mc] ["44] [mc] ["45]
\definemathsymbol [oiiintclockwise] [op] [mc] ["4C] [mc] ["4D]
\definemathsymbol [varoiiintctrclockwise][op] [mc] ["4E] [mc] ["4F]
\definemathsymbol [varoiiintclockwise]  [op] [mc] ["46] [mc] ["47]

\protect

\stopenvironment



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


Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN




[EMAIL PROTECTED] wrote:

  WN wrote:
  
  
Hi all,

I am trying to do the following in Metapost but my new math symbol  is 
not recognized.
Context knows about it but Tex does not.

How can I make this work ?

Kind regards
Wim Neimeijer

% = Test code 
\loadmapfile[original-youngryu-tx.map]
\definebodyfont [28pt,24pt,18pt,
  17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [
  mc=txexa sa 1]

\setupbodyfont [11pt]
\definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C]

\starttext
\startformula
\varointctrclockwise_{\gamma} f(z) \: dz = 0
\stopformula
\startMPcode
picture p ;
path q;
numeric u;

u := 1cm;

p := btex $\varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex;
p := p scaled 0.15cm;
draw p;
\stopMPcode
\stoptext
  

  
  make sure that mp knows about the definitions: 

- first extend the math collection (use decimen, since there is a linesplit bug with " here) 
  

I will implement your suggestion, thanks

  - then load the times font 
- somehow display and inline math render differently; something for taco 

\startMPenvironment[global]

\startmathcollection [default]
\definemathsymbol [varointctrclockwise] [op] [mc] [43] [mc] [44]
\stopmathcollection
\usetypescript[times][ec]
\setupbodyfont[times,11pt]

\stopMPenvironment

\starttext

why the funny .15cm scale ... 
  

I was working on a titlepage and was learning the concept of using a
picture to setup my labels in Metapost. So
the .15cm is just a test case.

  
\startformula
\varointctrclockwise_{\gamma} f(z) \: dz = 0
\stopformula

$\varointctrclockwise_{\gamma} f(z) \: dz = 0$

\startMPcode
draw btex $\varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex scaled 0.15cm ;
\stopMPcode

\startMPcode
draw btex $\displaystyle \varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex scaled 0.15cm ;
\stopMPcode

\stoptext


-
  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
  

Thanks Hans for the really quick reply.



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


Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread Aditya Mahajan
On Wed, 19 Jul 2006, WN wrote:

> Hi all,
>
> I am trying to do the following in Metapost but my new math symbol  is
> not recognized.
> Context knows about it but Tex does not.
>
> How can I make this work ?

Hans and Taco have already explained the correct way to do this, so I 
will not go into that. This is one place where you can use the new 
sometxt feature.

> % = Test code 
> \loadmapfile[original-youngryu-tx.map]
> \definebodyfont [28pt,24pt,18pt,
>  17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [
>  mc=txexa sa 1]
>
> \setupbodyfont [11pt]
> \definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C]
>
> \starttext
> \startformula
> \varointctrclockwise_{\gamma} f(z) \: dz = 0
> \stopformula
> \startMPcode
>picture p ;
>path q;
>numeric u;
>
>u := 1cm;
>
>p := btex $\varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex;

Replace this by

  p := \sometxt{$\varointctrclockwise_{\gamma} f(z) \: dz = 0$} ;

and everything works!



>p := p scaled 0.15cm;
>draw p;
> \stopMPcode
> \stoptext
>
Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread Taco Hoekwater


Hans Hagen wrote:
> make sure that mp knows about the definitions: 
> 
> - first extend the math collection (use decimen, since there is a linesplit 
> bug with " here) 
> - then load the times font 

Math family mc has to be txexa or something similar before the code
actually shows the integral instead  of a plus sign, but Wim can
figure that out himself, no doubt  :-)

> - somehow display and inline math render differently; something for taco 

That is normal. One is with an operator with \limits, one without.

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


Re: [NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread Hans Hagen
WN wrote:
> Hi all,
>
> I am trying to do the following in Metapost but my new math symbol  is 
> not recognized.
> Context knows about it but Tex does not.
>
> How can I make this work ?
>
> Kind regards
> Wim Neimeijer
>
> % = Test code 
> \loadmapfile[original-youngryu-tx.map]
> \definebodyfont [28pt,24pt,18pt,
>   17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [
>   mc=txexa sa 1]
>
> \setupbodyfont [11pt]
> \definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C]
>
> \starttext
> \startformula
> \varointctrclockwise_{\gamma} f(z) \: dz = 0
> \stopformula
> \startMPcode
> picture p ;
> path q;
> numeric u;
>
> u := 1cm;
>
> p := btex $\varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex;
> p := p scaled 0.15cm;
> draw p;
> \stopMPcode
> \stoptext
>   
make sure that mp knows about the definitions: 

- first extend the math collection (use decimen, since there is a linesplit bug 
with " here) 
- then load the times font 
- somehow display and inline math render differently; something for taco 

\startMPenvironment[global]

\startmathcollection [default]
\definemathsymbol [varointctrclockwise] [op] [mc] [43] [mc] [44]
\stopmathcollection
\usetypescript[times][ec]
\setupbodyfont[times,11pt]

\stopMPenvironment

\starttext

why the funny .15cm scale ... 

\startformula
\varointctrclockwise_{\gamma} f(z) \: dz = 0
\stopformula

$\varointctrclockwise_{\gamma} f(z) \: dz = 0$

\startMPcode
draw btex $\varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex scaled 0.15cm 
;
\stopMPcode

\startMPcode
draw btex $\displaystyle \varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex 
scaled 0.15cm ;
\stopMPcode

\stoptext


-
  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] splitting a pdf into multiple volumes

2006-07-19 Thread Ralf Schmitt
Hi all,

I'm trying to split a large document for printing to multiple volumes/books.
The first volume should contain a table of contents (but no index/list 
of figures), the second volume should have consecutive pagenumbers, and 
the last volume should contain an index and the list of figures of all 
books. Is this possible with context?

TIA,

- Ralf

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


[NTG-context] Metapost/Metafun/Tex/Context question

2006-07-19 Thread WN
Hi all,

I am trying to do the following in Metapost but my new math symbol  is 
not recognized.
Context knows about it but Tex does not.

How can I make this work ?

Kind regards
Wim Neimeijer

% = Test code 
\loadmapfile[original-youngryu-tx.map]
\definebodyfont [28pt,24pt,18pt,
  17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [
  mc=txexa sa 1]

\setupbodyfont [11pt]
\definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C]

\starttext
\startformula
\varointctrclockwise_{\gamma} f(z) \: dz = 0
\stopformula
\startMPcode
picture p ;
path q;
numeric u;

u := 1cm;

p := btex $\varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex;
p := p scaled 0.15cm;
draw p;
\stopMPcode
\stoptext

=== Log file ==
 >texmfstart texexec --autopdf --pdf testvaroint.tex
TeXExec | processing document 'testvaroint.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file testvaroint.top
TeXExec | using randomseed 1260
TeXExec | tex engine: pdfetex
TeXExec | tex format: cont-en
TeXExec | progname: context
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5)
 \write18 enabled.
 (f:\context\usr\local\context\tex\texmf-local/web2c/natural.tcx)
entering extended mode
(./testvaroint.tex

ConTeXt  ver: 2006.07.14 12:08  fmt: 2006.7.14  int: english  mes: english

language: language en is active

system  : cont-new loaded
(f:\context\usr\local\context\tex\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
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(f:\context\usr\local\context\tex\texmf-local/tex/context/user/cont-sys.tex)
bodyfont: 12pt rm is loaded
language: patterns nl->texnansi:texnansi->1->2:3 
nl->ec:ec->2->2:3 fr->
texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 
de->texnansi:texnansi->5->2:3 de->e
c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 
pt->texnansi:texna
nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 
pl->ec:e
c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 
sk->il2:i
l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 en->ec:ec->21->2:3 
uk->ec:ec-
 >22->2:3 us->ec:ec->23->2:3 agr->agr:agr->24->2:3 da->ec:ec->25->2:3 
sv->ec:ec-
 >26->2:3 af->ec:ec->27->2:3 no->ec:ec->28->2:3 deo->ec:ec->29->2:3 
es->ec:ec->3
0->2:3 ca->ec:ec->31->2:3 la->ec:ec->32->2:3 ro->ec:ec->33->2:3 
tr->ec:ec->34->
2:3 fi->ec:ec->36->2:3 hu->ec:ec->37->2:3 loaded
specials: tex,postscript,rokicki loaded
system  : testvaroint.top loaded
(./testvaroint.top
specials: loading definition file tpd
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.tex)
specials: fdf loaded
)
specials: fdf,tpd loaded
)
systems : system commands are enabled
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.tex)
(./testvaroint.tuo) (./testvaroint.tuo) (./testvaroint.tuo) 
(./testvaroint.tuo)
(./testvaroint.tuo) (./testvaroint.tuo) (./testvaroint.tuo) 
(./testvaroint.tuo)
(./testvaroint.tuo) (./testvaroint.tuo)
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/sort-def.tex)
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/sort-lan.tex)
(./testvaroint.tuo) (./testvaroint.tuo)TeXExec | processing graphic 
'testvaroint-mpgraph'
TeXExec | using internal mptotex converter
TeXExec | processing document 'testvaroint-mpgraph-temp.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | writing option file testvaroint-mpgraph-temp.top
TeXExec | using randomseed 447
TeXExec | tex engine: pdfetex
TeXExec | tex format: cont-en
TeXExec | progname: context
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5)
 \write18 enabled.
 (f:\context\usr\local\context\tex\texmf-local/web2c/natural.tcx)
entering extended mode
(./testvaroint-mpgraph-temp.tex

ConTeXt  ver: 2006.07.14 12:08  fmt: 2006.7.14  int: english  mes: english

language: language en is active

system  : cont-new loaded
(f:\context\usr\local\context\tex\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
(f:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil

Re: [NTG-context] tempdir support in texexec.rb

2006-07-19 Thread Hans Hagen
Mojca Miklavec wrote:
> I would vote for that feature too. With LaTeX you only get
> approximately two or three additional files which is still acceptable,
>   
keep in mind that the truckload of extra files is related to all kind of 
runtime plug ins, so one gets what he/she asks for -)
> but esp. when using modules such as R and (yet unfinished) gnuplot,
> the whole folder becomes pretty messy and you never know what to
> delete and what not. It's almost impossible to extend ctxtools to
> delete all the necessary files since even PDF files might serve as
> "temporary" files in "static" MP figures or as intermediate results of
> gnuplot runs, ...
>   
i took a look at it but it's not trivial esp since other progs also expect 
files in the current path 

the best approach is to 'register temp files' and clean them up afterwards; 
doable but can best be implemented stepwise 

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] switching font encodings

2006-07-19 Thread Hans Hagen
Thomas A. Schmitz wrote:
> On Jul 18, 2006, at 8:51 PM, Mojca Miklavec wrote:
>
>   
>>> There is no defined bodyfont at 20pt, and that is what is causing
>>> the error (indirectly). Add this:
>>>
>>> \definebodyfont [20pt] [ss]
>>>[tf=Sanssa 1,
>>> bf=SansBoldsa 1,
>>> it=SansItalic  sa 1,
>>> sl=SansSlanted sa 1,
>>> bs=SansBoldSlanted sa 1,
>>> bi=SansBoldSlanted sa 1,
>>> sc=SansCapssa .8,
>>>tfa=Sanssa 1.200,
>>>tfb=Sanssa 1.440,
>>>tfc=Sanssa 1.728,
>>>tfd=Sanssa 2.074,
>>>bfa=SansBoldsa 1.200,
>>>bfb=SansBoldsa 1.440,
>>>bfc=SansBoldsa 1.728,
>>>bfd=SansBoldsa 2.074,
>>>bsa=SansBoldSlanted sa 1.200,
>>>bsb=SansBoldSlanted sa 1.440,
>>>bsc=SansBoldSlanted sa 1.728,
>>>bsd=SansBoldSlanted sa 2.074]
>>>   
>> But why do I have to do it? I would only like that
>> \switchtobodyfont[20pt] scales the font properly (according to
>> whatever definitions are default). I can't define that for all the
>> possible sizes of the font that I want to use in the document.
>>
>> \switchtobodyfont[iwona-t5,20pt] works OK, but one command after
>> another doesn't.
>>
>> Mojca
>> 
>
> Taco, Mojca,
>
> wouldn't this suffice:
>
> \starttypescript [sans] [default] [size]
> \definebodyfont [20pt] [ss] [default]
> \stoptypescript
>
> Somewhat shorter...
>   
\definebodyfontenvironment[20pt][default]

\definetypeface [iwona-t5] [ss] [sans] [iwona] [default] [encoding=t5]
\definetypeface [iwona][ss] [sans] [iwona] [default] [encoding=ec]

\setupbodyfont [iwona,12pt,ss]

\starttext
abc
\switchtobodyfont[iwona-t5,20pt]
abc
\stoptext

is also ok; some time ago we had auto-bodyfontenv definition but since fonts 
are often used grouped, it generated many messages (warnings) and was slow too; 
best to let users be aware of the need to define an environment 

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] ConTeXt, Charts, and transparency

2006-07-19 Thread Johan Sandblom
The R module (and R program) may also be worth a look for any stats
and data visualization tasks.

Johan

2006/7/18, Aditya Mahajan <[EMAIL PROTECTED]>:
> On Tue, 18 Jul 2006, Aditya Mahajan wrote:
>
> > On Sat, 15 Jul 2006, Adam Lindsay wrote:
> >
> >> Hans Hagen wrote:
> >>> Idris Samawi Hamid wrote:
>  Yes, but that seems mainly geared towards flow charts, not graphical
>  charts. Can m-chart do things like the example png attached at the start
>  of the thread?
> 
> >>> i lost that one; actually, willy egger is the most experienced chart user 
> >>> but he's on vacation
> >>
> >> It was more like a bar graph (with two sets of y-values), nothing to do
> >> with m-charts. I thought about mp-graph stuff, but I don't see how it
> >> can be (trivially) made to do that visual style.
> >
> > Have a look at http://www-math.univ-poitiers.fr/~phan/statsmac.html to
> > see if can modify them to get the visual effect that you want.
>
> There is also the ultimate reference
> http://zoonek.free.fr/LaTeX/Metapost/metapost.html Check out example
> from 285 onwards.
>
> Also, gnuplot can draw bargraphs easily. Mojca's gnuplot module is
> functional, so you can also give that a try.
>
> Aditya
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>


-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] "infinite" paper height

2006-07-19 Thread Hans Hagen
Mojca Miklavec wrote:
>
> Most articles will be shorter than 2m anyway, I hope. If not, smaller
> font size is surely one of the possibilities, but I'll worry about
> that later (I don't doubt that I'll be bitten by enough ConTeXt bugs
> before that will happen).
>   

do you mean real bugs or misuse of features stretched beyond their 
intended usage ...

in a next release i will implement \doifuserelse{mojca} {ignore feature} 
{carry on} -)

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


Re: [NTG-context] switching font encodings

2006-07-19 Thread Thomas A. Schmitz

On Jul 18, 2006, at 8:51 PM, Mojca Miklavec wrote:

>> There is no defined bodyfont at 20pt, and that is what is causing
>> the error (indirectly). Add this:
>>
>> \definebodyfont [20pt] [ss]
>>[tf=Sanssa 1,
>> bf=SansBoldsa 1,
>> it=SansItalic  sa 1,
>> sl=SansSlanted sa 1,
>> bs=SansBoldSlanted sa 1,
>> bi=SansBoldSlanted sa 1,
>> sc=SansCapssa .8,
>>tfa=Sanssa 1.200,
>>tfb=Sanssa 1.440,
>>tfc=Sanssa 1.728,
>>tfd=Sanssa 2.074,
>>bfa=SansBoldsa 1.200,
>>bfb=SansBoldsa 1.440,
>>bfc=SansBoldsa 1.728,
>>bfd=SansBoldsa 2.074,
>>bsa=SansBoldSlanted sa 1.200,
>>bsb=SansBoldSlanted sa 1.440,
>>bsc=SansBoldSlanted sa 1.728,
>>bsd=SansBoldSlanted sa 2.074]
>
> But why do I have to do it? I would only like that
> \switchtobodyfont[20pt] scales the font properly (according to
> whatever definitions are default). I can't define that for all the
> possible sizes of the font that I want to use in the document.
>
> \switchtobodyfont[iwona-t5,20pt] works OK, but one command after
> another doesn't.
>
> Mojca

Taco, Mojca,

wouldn't this suffice:

\starttypescript [sans] [default] [size]
\definebodyfont [20pt] [ss] [default]
\stoptypescript

Somewhat shorter...

Best

Thomas

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