Re: [NTG-context] Paragraph internal graphic/layout inquiry.

2005-07-13 Thread Taco Hoekwater

David Wooten wrote:

Greetings all,

Mr. Tufte has an interesting  example from da Vinci: http:// 
trichotomic.net/Leonardo.jpg (76k). Is this type of layout currently  
possible (or perhaps a better question, wieldy) within ConTeXt?


In a standard TeX installation, it is not possible to make this
type of paragraph without massive amounts of manual intervention,
because TeX's paragraphs cannot (normally) contain holes.

However, VTeX does not have that limititation, and the OS/2 and
Linux versions of it's TeX compiler are free (as in beer). See

  http://www.micropress-inc.com

Greetings,

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


Re: [NTG-context] enco-ffr again

2005-07-13 Thread Hans Hagen

Peter Münster wrote:


On Tue, 5 Jul 2005, Hans Hagen wrote:

 


Peter Münster wrote:
   


I've just discovered, that the problem is only with : and ; but not with ?
and !
Here my example files:

file env.tex:
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\stopenvironment

file test.tex:
\environment env
\starttext
No space before : nor ;
bla: bla; bla? bla!
\stoptext
 


see proposed solution in wiki bug page
   



Thank you, Hans!
So, if your solution is in the kernel now, can we delete this page?
Cheers, Peter

 


it will be in de kernel indeed

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] line break

2005-07-13 Thread Jörg Hagmann

Hullo all,

Maybe somebody can help me with this:

I have a paragraph and an image in the outer margin, sticking slightly  
into the text area. On the opposite side, in the inner margin, I have  
two letters. What happens is that after the \inothermargin command I  
get a line break (not a new paragraph, but a line break). When I remove  
the image, the line break disappears.


This is the code:

\placevignette{}{\externalfigure[di_B12_marg][width=4cm]}
Die Resorption des {\em wasserlˆslichen} Vitamins B\low{12} (=  
Cobalamin, s. Formel) f‰llt aus dem Rahmen: B\low{12} wird nur als  
Komplex mit dem \quotation{Intrinsic Factor}, einem Glycoprotein aus  
den Belegzellen des Magens, {\em im Ileum} aufgenommen (Intrinsic, weil  
der Faktor aus dem Kˆrper stammt -- dazu passend bezeichnet man  
B\low{12} auch als \quotation{Extrinsic Factor}).\inothermargin{\ssd  
Pa} Vitamin B\low{12} wird von Bakterien synthetisiert und stammt  
ausschliesslich aus tierischer Nahrung; Veganer/innen, die nicht nur  
auf Fleisch, sondern auch auf Eier und Milchprodukte verzichten,  
besitzen einen entsprechend niedrigen Vorrat des Vitamins. H‰ufigste  
Ursache f¸r die {\em perniziˆse An‰mie}, die klassische  
B\low{12}-Mangelkrankheit, ist allerdings nicht eine Fehlern‰hrung,  
sondern eine verminderte Resorption im Ileum, entweder weil dessen  
Schleimhaut entz¸ndet ist (Sprue), oder weil eine erkrankte  
Magenschleimhaut zuwenig Intrinsic Factor produziert.


I call this type of figures vignette and defined it as follows:

\definefloat[vignette][figure]
\setupfloat[vignette][leftmargindistance=- 
\outermargintotal,rightmargindistance=- 
\outermargintotal,default={outer,none,low}]

\setupcaption[vignette][number=no]

Thanks for your help, Jörg
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] color transparency

2005-07-13 Thread luigi.scarso
Hi, I'm sure that i have seem a nice pdf (not msplit.pdf) with an 
example of colors

transparencies and combinations.
If i  remember, there was 3 or 4 colored rectangles stacked at the 
first/second page of this pdf ...

I have search on pragma site, but without results.

Can somebody help me ?

Thanks in advance
luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Font installation help

2005-07-13 Thread Arun Swarup
Hi,

I have some problems when i _try_ to install new fonts. I use the
TeXLive 2003 inst on Windows XP

I referred to 2 documents viz. TeXFont explained and
http://home.salamander.com/~wmcclain/context-help.html

And, i got thoroughly confused as the methods, in both docs failed :((

please direct me to appropriate resources

and also, please maintain a newbie forum 
it is so embarassing to ask such questions, while the rest of you do
some _real_ ConTeXt

-arun

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font installation help

2005-07-13 Thread Thomas A. Schmitz
Font installation is not a trivial or newbie problem, and you're in  
the right place place to ask this question. However, both methods  
fail might not be precise enough as a description of what went  
wrong. If you're looking for other tutorials, Practex journal 2005 #  
2 (http://www.tug.org/pracjourn/) has to articles about installing  
fonts for ConTeXt, one by Adam Lindsay (on Open Type fonts) and one  
by yours truly on Truetype fonts.


HTH

Thomas

On Jul 13, 2005, at 3:28 PM, Arun Swarup wrote:


Hi,

I have some problems when i _try_ to install new fonts. I use the
TeXLive 2003 inst on Windows XP

I referred to 2 documents viz. TeXFont explained and
http://home.salamander.com/~wmcclain/context-help.html

And, i got thoroughly confused as the methods, in both docs failed :((

please direct me to appropriate resources

and also, please maintain a newbie forum
it is so embarassing to ask such questions, while the rest of you do
some _real_ ConTeXt

-arun

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
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] Font installation help

2005-07-13 Thread Adam Lindsay
Arun Swarup said this at Wed, 13 Jul 2005 08:21:41 -0700:

this, seems to be my problem, when i try to install an OpenType font
http://www.geocities.com/arunswarup/error.txt

The key line for the .otf stuff is here: 
 TeXFont 1.8 - ConTeXt / PRAGMA ADE 2000-2003

It's way too old. The version (2.2.1+) in the current ConTeXt fixes some
OTF installation bugs with non-adobe fonts.

hope that's a little help.

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

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


Re: [NTG-context] Paragraph internal graphic/layout inquiry.

2005-07-13 Thread David Wooten
Ah, that's what I feared. I'm using Mac OS X, so I guess I'll have to  
postpone it. Thanks for the response,

David

On Jul 13, 2005, at 12:23 AM, Taco Hoekwater wrote:


David Wooten wrote:


Greetings all,
Mr. Tufte has an interesting  example from da Vinci: http://  
trichotomic.net/Leonardo.jpg (76k). Is this type of layout  
currently  possible (or perhaps a better question, wieldy) within  
ConTeXt?


In a standard TeX installation, it is not possible to make this
type of paragraph without massive amounts of manual intervention,
because TeX's paragraphs cannot (normally) contain holes.

However, VTeX does not have that limititation, and the OS/2 and
Linux versions of it's TeX compiler are free (as in beer). See

  http://www.micropress-inc.com

Greetings,

Taco


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


Re: [NTG-context] aligning of tables and tabulate

2005-07-13 Thread Mojca Miklavec

Radhelorn wrote:

Mojca Miklavec wrote:

Radhelorn wrote:

Maybe this is a stupid question, but according to manual this should 
align tables right:


\setuptabulate[align=right]
some text before
\starttabulate[|l|l|]


I've tried left, right, middle, center... to no effect. Both tables 
remain left aligned.


\starttabulate[|r|r|] and \starttable[|r|r|]


This aligns cell contents but not tables themselves.


Sorry, I didn't understand the question.

If you need the solution:

\rightaligned{\starttable[|l|l|]
\HL
\NC testxxx \NC test \NC\AR
\NC test \NC testxxx \NC\AR
\HL
\stoptable}

If you need the reason, why \setuptabulate[align=...] doesn't work, 
someone else has to answer it.


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


[NTG-context] Enumeration numbering broken

2005-07-13 Thread David Antos

Hello,

in the following example, I'm pretty sure that it should produce Lemmas and
Theorems numbered continuously (i.e., one common counter for both of them)
and moreover, the numbers should (due to bychapter) be preceded by chapter
number. In ConTeXt 2005.06.27, the enumerations are counted separately and
chapter number prefix is missing.

Interestingly, if Lemma and Theorem blocks are swapped, they become really
Theorem 1 and Lemma 2. The chapter number is still missing.

Has the mechanism been changed or am I doing anything wrong?

***
\defineenumeration
  [Theorem]
  [text=Theorem~,
   way=bychapter,
   inbetween=\noindent]

\defineenumeration
  [Lemma]
  [Theorem]
  [text=Lemma~]

\starttext

\chapter{chapter}

\startLemma
This should be Lemma 1.1
\stopLemma

\startTheorem
This should be Theorem 1.2
\stopTheorem

\stoptext
***

Thanks,
D.A.

-- 
Many rewrites, a hard-drive crash, a laptop being stolen, a couple of
corrupted filesystems and one broken screen later, here it is.
-- Rusty Russel: Linux 2.4 Packet Filtering HOWTO
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Font installation help

2005-07-13 Thread Arun Swarup
hi,

this, seems to be my problem, when i try to install an OpenType font
http://www.geocities.com/arunswarup/error.txt

when i tried to install a Type1 Font, the following error messages were
shown
http://www.geocities.com/arunswarup/error1.txt
http://www.geocities.com/arunswarup/error2.txt

-arun

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Paragraph internal graphic/layout inquiry.

2005-07-13 Thread Hartmut Henkel
On Wed, 13 Jul 2005, Taco Hoekwater wrote:

 David Wooten wrote:
  Mr. Tufte has an interesting example from da Vinci: http://
  trichotomic.net/Leonardo.jpg (76k). Is this type of layout currently
  possible (or perhaps a better question, wieldy) within ConTeXt?

 In a standard TeX installation, it is not possible to make this type
 of paragraph without massive amounts of manual intervention, because
 TeX's paragraphs cannot (normally) contain holes.

FWIW, there is a pointer to a similar problem in DEK's Digital
Typography, chapter 9: Problem for a Saturday Morning, published in
TUGboat 8 (1987) (Harmless title for the amount of macros piling up
there :-) An article from Alan Hoenig is also mentioned, which can be
found there:

http://www.tug.org/TUGboat/Articles/tb08-2/tb18hoenig.pdf

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


Re: [NTG-context] color transparency

2005-07-13 Thread Hans Hagen

luigi.scarso wrote:

Hi, I'm sure that i have seem a nice pdf (not msplit.pdf) with an 
example of colors

transparencies and combinations.
If i  remember, there was 3 or 4 colored rectangles stacked at the 
first/second page of this pdf ...

I have search on pragma site, but without results.


\setupcolors[state=start]

\definecolor [luigi]  [r=1,t=.5,a=1]
\definecolor [scarso] [b=1,t=.5,a=1]

\starttext

\startTEXpage
\blackrule[width=2cm,height=2cm,color=luigi]\hskip-1cm
\blackrule[width=2cm,height=2cm,color=scarso]
\stopTEXpage

\stoptext

since you could not find the trick ... this looks wikiable to me 

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] aligning of tables and tabulate

2005-07-13 Thread Radhelorn

Mojca Miklavec wrote:

Radhelorn wrote:


Mojca Miklavec wrote:


Radhelorn wrote:

Maybe this is a stupid question, but according to manual this should 
align tables right:


\setuptabulate[align=right]
some text before
\starttabulate[|l|l|]



I've tried left, right, middle, center... to no effect. Both tables 
remain left aligned.



\starttabulate[|r|r|] and \starttable[|r|r|]



This aligns cell contents but not tables themselves.



Sorry, I didn't understand the question.

If you need the solution:

\rightaligned{\starttable[|l|l|]
\HL
\NC testxxx \NC test \NC\AR
\NC test \NC testxxx \NC\AR
\HL
\stoptable}

If you need the reason, why \setuptabulate[align=...] doesn't work, 
someone else has to answer it.




Thanks. This will do as temporal solution, but with many tables this 
quickly get out of hand.


Maybe someone look into this problem. I've found out that 
\startalignment \stopalignment not influences tables too.


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


Re: [NTG-context] color transparency

2005-07-13 Thread Brooks Moses

At 12:44 PM 7/13/2005, Hans Hagen wrote:

\setupcolors[state=start]

\definecolor [luigi]  [r=1,t=.5,a=1]
\definecolor [scarso] [b=1,t=.5,a=1]

\starttext

\startTEXpage
\blackrule[width=2cm,height=2cm,color=luigi]\hskip-1cm
\blackrule[width=2cm,height=2cm,color=scarso]
\stopTEXpage

\stoptext

since you could not find the trick ... this looks wikiable to me


I've added it to http://contextgarden.net/index.php?title=Colors.

- Brooks

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


Re: [NTG-context] line break

2005-07-13 Thread Hans Hagen

Jörg Hagmann wrote:


Hullo all,

Maybe somebody can help me with this:

I have a paragraph and an image in the outer margin, sticking 
slightly  into the text area. On the opposite side, in the inner 
margin, I have  two letters. What happens is that after the 
\inothermargin command I  get a line break (not a new paragraph, but a 
line break). When I remove  the image, the line break disappears.


works ok here

can you make a minimal complete example (no funny encoding, just \e kind of things) 

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] how to number poetry?

2005-07-13 Thread Paul Tremblay
What is the best way to number lines of poetry?

1  This is the first line
   This is the second line
   ...

5  this is the fifth
   ...

10 this is the tenth.

I can supply the number myself. I really don't want the numbers in the
margin. Instead, I want the whole poem indented right, with the
numbers left of the indent.

I have tried using tabulate, but tabulate doesn't let me control the
space between lines, or really cells.

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Setting up chapter.

2005-07-13 Thread John R. Culleton
On Tuesday 12 July 2005 04:31 pm, John R. Culleton wrote:
 
 But when time permits I will play with the other approaches
 mentioned.

Necessity overtook schedule. So I used the Jensen approach
(thanks) modified as recommended by Kavian (thanks) with a few
minor changes to suit my application. Herewith the final
product:
%%%
\def\numcommand#1{\hfil\webo m\tfd#1\webo m \hfil}
%\unexpanded\def\chaptercase{\uppercase}

\def\mychapter#1#2%
{\setupframed[width=\textwidth,align=middle,frame=off]\vbox{%
 \framed{\setupbodyfont[18pt]\setupinterlinespace[height=.1,depth=0]
#1}%
\framed{\setupbodyfont[15pt]\setupinterlinespace[line=2ex]#2\par}%
\deco\par}}

\setuphead[chapter][numbercommand=\numcommand,page=right,
header=high,
  command=\mychapter,%textcommand=\chaptercase,
   textstyle=\sl,numberstyle=\bf]

I kept the unused \chaptercase definition around just in case I
change my mind later on. 

This has been educational. Who says you can't teach an old dog
new tricks? 

-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf

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


Re: [NTG-context] Setting up chapter.

2005-07-13 Thread luigi.scarso

John R. Culleton wrote:

 


This has been educational. Who says you can't teach an old dog
new tricks? 

 


Did you seen mag-0001.pdf (Hiding parts of section titles) ?
It has some useful hints.

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