[NTG-context] makempy - graphictext failing?

2004-07-28 Thread Awkster
I've recently installed context after seeing it for the first time at Practical Tex2004
Installation seems to have worked but some metapost code is failing to produce output. Code is provided below:
Platform(s)/OS:
SuSE 8.1 linux with TeXLive
Windows 2000 with TeXLive
command line: texexec testMP

Is there a problem with the source code or might it be with my installation?
Thanks.

D. Claudio

%%%Code Follows%%
% interface=english output=pdftex
% Filename: testMP.tex
\setupcolors[state=start]
\starttext

\startMPgraphic
 graphictext "MP" scaled 8
 withdrawcolor .7blue withfillcolor .7white
 dashed evenly withpen pencircle scaled 2pt ;
\stopMPgraphic
\loadcurrentMPgraphic
\placeMPgraphic

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


Re: [NTG-context] Disappearing headers

2004-07-28 Thread Hans Hagen
Matt Gushee wrote:
Hello, all--
I am trying to format a book such that the book title appears in the
header of each left-hand page, and the chapter title appears in the
header of each right-hand page. I think (though I haven't decided for
sure) that I want each chapter to start on a right-hand page. It seems
that, when chapters are forced to begin on right-hand pages, the book
title fails to appear on the first blank page inserted to move the
chapter start, and on all subsequent pages.
Here are the commands I am using related to headers:
   \setuphead [title] 
   [align=left,textstyle={\switchtobodyfont[BernhardModern]\bf}]
   \setuphead [chapter] 
   [page=right,head=nomarking,after=\blank]
   \setuppagenumbering [alternative=doublesided,location=margin]
   \setupheader [style=\it]
   \setupheadertexts [] [chapter] [title] [] 
   % reverse order, as mentioned in my earlier post
 

i need a small doc with dummy text to see the effect -)
With all these commands enabled, I get the effect I want: chapters begin
on righthand pages, the title and chapter title appear, respectively, in
the left and right page headers (adjacent to the page numbers, with the
page numbers toward the outside edge of the page). But, as I said, the
book title stops appearing as soon as a blank page is inserted to move
the chapter start to the right.
 

those things are related to when marks are set/reset; tricky sync stuff
how about playing a bit with \definetext
\starttext
\setuphead [chapter] [page=right,header=chapter]
\setuphead [title]   [page=right,header=]
\setuppagenumbering [alternative=doublesided,location=margin]
\definetext[chapter][header][title][]
\setupheadertexts[title][chapter]
\title{title 1} test \page test \chapter{chapter 1} test \page test
\title{title 2} test \page test \chapter{chapter 2} test \page test
\title{title 3} test \page test \chapter{chapter 3} test \page test
\stoptext
If I comment out *both* the \setuphead [chapter] command and the
\setuppagenumbering command, the title continues to be displayed
throughout the text. If I enable either of the two, the title disappears
again. By the way, it appears that this \setuppagenumbering command has
a side-effect of forcing chapters to begin on the right. Is that really
a good idea? It's certainly surprising to me.
 

The default settings are: 

 \setuphead[chapter][page=right] 

when you change this to 

 \setuphead[chapter][page=yes] 

you get what you want
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
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] accents in funny frame

2004-07-28 Thread Hans Hagen
olivier Turlier wrote:
Hello Contexers,
I play with the funny frame code given by Hans et al.
How put accentuation (french) in the frame title ? 
actually the problem was that you stayed in computer modern default 
encoding and didn't get palatino at all

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


Re: [NTG-context] accents in funny frame

2004-07-28 Thread Hans Hagen
olivier Turlier wrote:
Hello Contexers,
I play with the funny frame code given by Hans et al.
How put accentuation (french) in the frame title ?
I use latest context .iso image (ConTeXt ver. 2004.6.21 fmt: 2004.6.21 
int: english mes: english)
Below is the source (compiled with : texmfstart texexec.pl --autopdf 
--pdf funny-french-frame.tex):


%funny-french-frame.tex
\enableregime[il1]
\useencoding[ffr]
\mainlanguage[fr]
\enableregime[windows]
\setupindenting[medium]
\usetypescript[palatino][texnansi]
\setupbodyfont[palatino,rm,12pt]
\setupcolors[state=start]
% funny frame
\startMPenvironment
\enableregime[il1]%
\useencoding[ffr] %
\mainlanguage[fr] % not working
\enableregime[windows]%
\usetypescript[palatino][texnansi]
\setupbodyfont[palatino,rm,14pt]
\stopMPenvironment
i've fixed this (some merge of verbatim tex into textext problem); i'll 
send you a new texexec.pl

btw, this saves keying:
\startMPenvironment[global]
 \enableregime[il1]
 \useencoding[ffr]
 \mainlanguage[fr]
 \enableregime[windows]
 \usetypescript[palatino][texnansi]
 \setupbodyfont[palatino,rm,12pt]
\stopMPenvironment
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: itemize

2004-07-28 Thread Hans Hagen
Gary Pajer wrote:
Thomas A. Schmitz wrote:
Me stupid! Willi, this message made my day. I've been using ConTeXt 
for more than a year now, but I was never able to figure out what 
setupitemize [.1.] .1. number each meant. So it's the level of 
itemization. Thanks, that should make things easier. And many thanks 
to Patrick and to you for pointing out the left= option. ConTeXt and 
the number of options it gives never cease to amaze me!

since we're back on the topic of itemize, I'll repost a question that 
I've posted here before:

-
It seems to me that the 'before' and 'after' keywords used in the third
argument of \setupitemize are operative only if 'columns' are also
specified.  In the example below, the hairlines disappear if the 
'columns'
keyword is eliminated.

Feature, bug, or misunderstanding?
a bit of all, this will take me some time (maybe when i redo the item 
environment); has to do with grouping and such as well as before/after 
handling

(compare output with\chardef\autoitemgroupspacing=0 set)
BTW:   can the lengths of the two hairlines in this example be made to be
the same length?  What's causing the indentation of the first hairline?
a bit tricky: par's (\endgraf's interfere in such matters, i.e. you need 
to invoke the command when the width is (still) known)

\setupitemize
 [2]
 [a,packed,columns]
 [before={\thinrule\endgraf},
  after={\endgraf\thinrule}]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] [Fwd: ocplist interactions [please forward]]

2004-07-28 Thread Hans Hagen
--
-
 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
-
---BeginMessage---
Hi Hans, 
I don't think the following message got through to the list: I could not read 
your forward, and the archives say it was ``scrubbed'';-)

-- next part --
An embedded message was scrubbed...
From: ishamid ishamid at lamar.colostate.edu
Subject: ocplist interactions [please forward]
Date: Sun, 25 Jul 2004 15:29:32 -0600

Dear fellowship,

Using eomega/Aleph, turning on an ocplist will cut off any other font in its 
scope, like pagenumbering. But we have solutions/workarounds:

\setuppagenumbering[command={\clearocplists}]

\def\MYhigh#1{\high{\clearocplists#1}}
\setupfootnotes[numbercommand={\MYhigh}]

or I can actually switch fonts:

\setuppagenumbering[command={\clearocplists\switchtobodyfont[myfont]\myocplist
}]

\def\MYhigh#1{\high{\clearocplists\switchtobodyfont[myfont]\myocplist#1}}
\setupfootnotes[numbercommand={\MYhigh}]

Now I need something similar for the printmarks, because when I temporarily 
switch from a global left-to-right document to a global right-to-left document 
with activated ocplists, the page numbers in the crop marks (predictably) 
disappear. I need some key that allows me to \clearocplists when the crop-mark 
page numbers are read by ConTeXt.

Thnx in advance
Idris


Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt 
gecontroleerd.




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


Re: [NTG-context] makempy - graphictext failing?

2004-07-28 Thread Henning Hraban Ramm
Am 28.07.2004 um 06:54 schrieb [EMAIL PROTECTED]:
I've recently installed context after seeing it for the first time at 
Practical Tex2004
 Installation seems to have worked but some metapost code is failing 
to produce output.  Code is provided below:
What are your settings in cont-sys.tex?
Is shell_escape = t in texmf.cnf?
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Downsampling images in pdfTeX

2004-07-28 Thread Peter Mnster
On Tue, 27 Jul 2004, George N. White III wrote:

 For images that will be displayed only at low resolution it may be useful 
 to downsample the original image to reduce the size.  For example you 
 might have a 2 inch by 2 inch image scanned at 400 dpi.  This image would 
 have 800x800 pixels.  For screen display you might prefer to have a 
 200x200 pixel image (or 100 dpi for 2 inches).  Downsampling refers 
 to the process of reducing an 800x800 pixel image to 200x200 pixels.
 ways to reduce image size (lossy compression, colorspace changes,
 even converting certain images to line art).

Quite soon, I'm going to convert the degrade LaTeX-package
(CTAN: graphics/degrade) to ConTeXt. It permits to down-sample JPEG images on
the fly to a given resolution.
Cheers, Peter

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


Re: [NTG-context] Re: A few questions regarding ConTeXt

2004-07-28 Thread Peter Mnster
On Sun, 25 Jul 2004, Willi Egger wrote:

 following this list for a couple of years now, I can not remember that 
 Hans or other list members hinted how to solve arrising problems. - 
 Specially if it concerns interesting / necessary features, Hans has 
 always beeing prepared to cook them up!

Most times, I think, but not always. Some missing features are mentioned
for example on http://contextgarden.net/Bugs_and_workarounds and
http://contextgarden.net/From_LaTeX_to_ConTeXt
But you are right: in general, Hans does a very great work, Thanks!!
Greetings, Peter

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