Re: [NTG-context] how to number poetry?

2005-07-14 Thread Paul Tremblay
On Wed, Jul 13, 2005 at 04:59:05PM -0400, Paul Tremblay wrote:
 
 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.
 

Answering my own question. One posibility is:

\startitemize
\sym{1} This is the first line 
\nop This is the second line
%% and so fourth
\stopitmeize

That allows you to control the space between the number and the actual
line. In addition, ConTeXt should (?) do a good job making sure a
single line doesn't become an orphan or widow.

The only drawback is that you cannot use hanging indents for long
lines:

This is the forest premiva. The mummuring pines and 
the hemlocks

\startitemize
\sym{1} This is the forest premiva. The mummuring pines and 
\nop \hskip12pt the hemlocs
%% and so fourth
\stopitmeize

Paul



-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
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] is it possible to add lengths?

2005-07-09 Thread Paul Tremblay
On Sat, Jul 09, 2005 at 10:52:47AM +0200, Vit Zyka wrote:
 
 Mikael Persson wrote:
 On 7/9/05, Paul Tremblay [EMAIL PROTECTED] wrote:
 
 Is it possible to add lengths in ConTexT?
 
 backspace= 55m + 1in
 
 Thanks
 
 Paul
 
 
 
 
 Hello Paul,
 
 I think
 backspace=\dimexpr(55mm+1in)
 should work.
 
 This sometimes works but correct syntax is
 
 backspace=\dimexpr 55mm+1in \relax
 
 vit
 

Thanks. This works very nicely.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Headers, footers, page numbering

2005-06-12 Thread Paul Tremblay
 
 I have produced a nice little A5 pamphlet which I will be printing on A4
 paper.  I have had a lot of fun doing this and I am quite pleased that I was
 able to install fonts and fleurons which I needed in the process.  However,
 I have a problem which I am having difficulty in solving.  How can I stop
 the Header, footer and page number being printed on the first page?  I have
 looked through the big Context manual but I can't figure it out.  Any hints?

\setupheader[part][header=high] 
\setupfooter[part][footer=high] 
\part{}

Is one way to do this. Put this right before you start the text of
your first page. Since you have to use \part{} to get this to work,
you might have some side-affects, but usually it is easy to work
around these. 

If you have already broken up your document into parts, such as
chapters or secions, use those instead of part:

\setupheader[chapter][header=high] 
\setupfooter[chapter][footer=high] 
\chater{}

http://getfo.sourceforge.net/context_xml/page3.html

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] space between rows?

2005-06-11 Thread Paul Tremblay
On Thu, Jun 09, 2005 at 10:17:41PM +0200, Nikolai Weibull wrote:
 
 But thats obviously not what you want...Sorry.  Perhaps you can use
 \setuptables[height=h,depth=d]?,
 nikolai
 

No. I needed to make just certain rows with greater height. However,
this tip will be useful in the future, so thanks!

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] space between rows?

2005-06-09 Thread Paul Tremblay
Is there a way to put extra space bewteen rows with the standard Table
module?

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] force columns smaller in Table

2005-05-31 Thread Paul Tremblay
On Tue, May 31, 2005 at 12:18:57PM +0200, Hans Hagen wrote:
 From: Hans Hagen [EMAIL PROTECTED]
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Date: Tue, 31 May 2005 12:18:57 +0200
 Subject: Re: [NTG-context] force columns smaller in Table
 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
 
 
 \starttable [|c|lp(3cm)|]
 

This works, but it had the unintended consequence of making a footnote
in the same column the same width. The footnote on the bottom of the
table looks like:

1 There was a recession in 1938 which
  damp ened sp ending on modernizing.
  Though, the 1938 figure was still above
  the spending of 1936.

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] placing figures left with no wrap

2005-05-30 Thread Paul Tremblay
How can I place a figure to the left of the page *without* having any
text wrap around it? 

If I use:

\placefigure[here]{{\bf
figure 1.1: }Woolworth store in Lexington}{\externalfigure[WWORIG
ref]}

I get a graphic that is centered. I want to push the graphic to the
left of the page. 

The only way I know how to achive this right now is with:

externalfigure[WWORIG ref]
\par
{\bf figure 1.1:} Woolworth store in Lexington
\par

But this method probably won't keep my captions and graphics together.
If the graphic is placed at the bottom of the page, my caption will
appear on the next page.

Do I need to save the graphic as a buffer and then place the buffer? I
coudln't find any directions on how to use buffer, though I swear I
saw it on the wiki.

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] placing figures left with no wrap

2005-05-30 Thread Paul Tremblay
Thanks. I discovered that a bit ago and was just about to post what I
found out. 

Now, I don't suppose there is any way to actually fine-tune the
placement? I asked this question about two months ago and since I
didn't get a response figured there was no way.

For example, I would like to indent the figures about 5 cm from the
left margin.

Paul

On Tue, May 31, 2005 at 12:01:42AM +0200, Hans Hagen wrote:
 From: Hans Hagen [EMAIL PROTECTED]
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Date: Tue, 31 May 2005 00:01:42 +0200
 Subject: Re: [NTG-context] placing figures left with no wrap
 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
 
 Paul Tremblay wrote:
 How can I place a figure to the left of the page *without* having any
 text wrap around it? 
 
 If I use:
 
 \placefigure[here]{{\bf
 figure 1.1: }Woolworth store in Lexington}{\externalfigure[WWORIG
 ref]}
 
 I get a graphic that is centered. I want to push the graphic to the
 left of the page. 
 
 The only way I know how to achive this right now is with:
 
 externalfigure[WWORIG ref]
 \par
 {\bf figure 1.1:} Woolworth store in Lexington
 \par
 
 But this method probably won't keep my captions and graphics together.
 If the graphic is placed at the bottom of the page, my caption will
 appear on the next page.
 
 Do I need to save the graphic as a buffer and then place the buffer? I
 coudln't find any directions on how to use buffer, though I swear I
 saw it on the wiki.
 
 \definefloat [leftfigure][figure]
 \setupfloat[leftfigure][location=left]
 \setupcaption[leftfigure][style=bold]
 
 \starttext
 
 \input tufte
 
 \placeleftfigure
   {Woolworth store in Lexington}
   {\externalfigure[WWORIGref]}
 
 \input tufte
 
 \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

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] force columns smaller in Table

2005-05-30 Thread Paul Tremblay
Is there a way to force colums to be narrower than the default in the
Table (basic) table environment? 

The first line of my column is:

Amount spent on store modernization by the chains

The columns underneath are all single numbers, meaning they have huges
spaces to the right:

year  Amount spent on store modernization by the chains
===   =

1933  33,000,000
1934  37,000,000

Do I have to use the more sophisticated TABLE module? (I hope not,
because I have already laid out things with Table!)

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] Context, LaTeX, or an XML for academic writing?

2005-05-17 Thread Paul Tremblay
On Wed, May 18, 2005 at 01:41:00AM +0300, Ville Voipio wrote:
 
 
 One of the mixed blessings (=curses) brought about by computers 
 is that now you need to be an academic writer, a typesetter, and
 a graphic artist at the same time. At this point the number
 of should-knows explodes.
 

[snip]
 ---
 
 What I am trying to say is that choosing the tool is only
 one part of the project. Whichever tool you choose, you'll 
 end up in trouble at some point. With some tools (WYSIWYG) 
 you'll end up in worse trouble, but even with *TeX the road 
 is bumpy at best, unless you really have a tested and proven 
 templates which you can use.
 

Yes, this is exactly the problem. I am laying out my girlfriend's
thesis in historic preservation, and it is taking me forever. What a
waste of time! 

The thesis is actually written in  XML. Or rather, she has written it
in MS Word, which I have converted to XML using a very sophisticated
script (http://rtf2xml.sourceforge.net/). I then convert the file to
ConTexT, and then to PDF. There are a million stupid details, like
making sure the title on the cover page is exactly 3 inches from the
top and so fourth. 

This is a waste of time. Why should we be forced to layout pages when
we don't want to? 

Therefore I think a good argument can be made for universities
eventually accepting a thesis in XML format. If they want to be so
picky about layout, they should do it; the student should only be
required to submit the basic information in a structured form.

The assumption of the University is that everyone uses Word. This is a
bad assumption.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] Page number disappears after \page[empty]

2005-05-15 Thread Paul Tremblay
My page number disappears for the first page after I issue a
\page[empy] command.

Here is an example from my file:

\page[empty] \part{}\setuppagenumbering[state=stop,
conversion=romannumerals]\setuppagenumber[number=3]\setupfootertexts[\vbox
{\centerline{\pagenumber{}}\vskip12pt }][][][]
\blank[12pt]\testpage[4]

The page number appears for subsequent pages.

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] how to align footer text

2005-05-11 Thread Paul Tremblay
How do I set up the space between the bottom of the page and my footer
text?

I need to setup a 1 inch margin at the bottom of the page. I need for
the pagenumber to be centered and 1/2 inch from the bottom. Here's
what I have:

\definelayout[MyCustomLayout][
topspace=1in,
header=0in,
bottomspace=1.0in,
bottomdistance=.5in,
footer=.5in,
footerdistance=1mm,
backspace=1.5in,
cutspace=.75in,
height=middle,
width=middle,]
\setuplayout[MyCustomLayout]
\part{} 


setupfootertexts[\hfill{}\pagenumber{}\hfill{}][][\hfill{}\pagenumber{}\hfill{}][]

The problem with this setup is that the page number appears to close
to the bottom of the page. 

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] how to control placement of floats

2005-04-20 Thread Paul Tremblay
On Wed, Apr 20, 2005 at 12:24:35AM +0200, Hans Hagen wrote:
 From: Hans Hagen [EMAIL PROTECTED]
 
 Paul Tremblay wrote:
 The manual and others have given good advice on how to do the most
 basic placment of floats, such as forcing it onto a new page.
 
 How does one get even more control. For example, if I want a
 particular table to have 2 inches of space from the left margin, or if
 I want to center my figures.
 
 see details.pdf

This is the best I can come up with. This seems like a complete
hack. For one thing, the caption does not move with the graphic.

\placefigure
  [here]{Portrait of Thoreau}{\setlayer[graphics][hoffset=1in,
voffset=1in]{\externalfigure[thoreau ref]}}

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] looking for document ...

2005-04-19 Thread Paul Tremblay
On Tue, Apr 19, 2005 at 07:24:40AM +0200, Mikael Persson wrote:
 
 I guess you mean
 
 http://home.salamander.com/~wmcclain/context-help.html
 
 and the pdf link from that page
 
 http://home.salamander.com/~wmcclain/csky-sample.pdf
 

Yes! 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] TABLE: spacing, before/after

2005-04-19 Thread Paul Tremblay
On Wed, Apr 13, 2005 at 10:09:11AM +0200, Eckhart Guthöhrlein wrote:
 
 Hi,
 
 three questions:
 - How can I control horizontal spacing of columns in natural tables?
 - What about vertical spacing?
 - How can I insert material after/before each cell, something like
   \setuptable[row][first][before=bla bla] ?
 
 Thanks,


Hi Eckhart,

I think you might find some of the answers here:

http://getfo.sourceforge.net/context_xml/page5.html#id2258730

setupTABLE[r][1][heigth=24pt]
setupTABLE[c][odd][width=12pt]
% the page gives more examples

Sorry if this is not what you are looking for.

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] TABLE: spacing, before/after

2005-04-19 Thread Paul Tremblay
On Tue, Apr 19, 2005 at 05:15:04PM +0200, Eckhart Guthöhrlein wrote:
 From: Eckhart Guthöhrlein [EMAIL PROTECTED]
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Date: Tue, 19 Apr 2005 17:15:04 +0200
 Subject: Re: [NTG-context] TABLE: spacing, before/after
 User-Agent: Mutt/1.4.1i
 
 On Tue, 19 Apr 2005 at 10:04:09-0400, Paul Tremblay wrote:
  On Wed, Apr 13, 2005 at 10:09:11AM +0200, Eckhart Guthöhrlein wrote:
   
   Hi,
   
   three questions:
   - How can I control horizontal spacing of columns in natural tables?
   - What about vertical spacing?
   - How can I insert material after/before each cell, something like
 \setuptable[row][first][before=bla bla] ?
   
   Thanks,
  
  
  Hi Eckhart,
  
  I think you might find some of the answers here:
  
  http://getfo.sourceforge.net/context_xml/page5.html#id2258730
 
 Nice overview, Paul. I had a quick glance, but I'm afraid the questions
 above are not addressed. Correct me if I'm wrong.
 
  setupTABLE[r][1][heigth=24pt]
  setupTABLE[c][odd][width=12pt]
  % the page gives more examples
  
  Sorry if this is not what you are looking for.
 
 Well, not exactly. By default, a column has the width of its widest
 entry. Using width=5cm, I can only define the absolute width of a
 column. But what I want is to increase the separation of adjectant
 columns. Whether this is achieved by adding space between columns or by
 setting their width to a certain amount wider than their natural width
 doesn't matter to me.
 You have already experienced the absence of a desirable feature
 yourself, but let me point out once again that this cannot be achieved
 by setting the rulethickness of the cell frame, since it is not possible
 to change left/right thickness from the top/bottom one, and frames are
 invisible but still take space if you deactivate them via e.g.
 topframe=off.
 Thanks for your page - it's surely of help, especially for newcomers,
 since tables (and the many different possibilities to produce them) are
 cumbersome in context.
 
 Greetings,

Yes, I agree with the limitations of the TABLE module. Sorry I
couldn't provide any better answer. 

When I get a chance, I'll put something on the page stating that a
limitation of TABLE is the inability to set the space between columns.

(Is it possible to set the space between columns using the more
standard table module? I realize I didn't document this at all.)

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] TABLE: spacing, before/after

2005-04-19 Thread Paul Tremblay
On Tue, Apr 19, 2005 at 08:56:58PM +0200, Eckhart Guthöhrlein wrote:
 
 On Tue, 19 Apr 2005 at 12:19:28-0400, Paul Tremblay wrote:
  Yes, I agree with the limitations of the TABLE module. Sorry I
  couldn't provide any better answer. 
  
  When I get a chance, I'll put something on the page stating that a
  limitation of TABLE is the inability to set the space between columns.
 
 Well, maybe it will be possible for Hans to include support for the
 missing features in a future release. To sum it up once again, what I
 am missing:
 - control over column and row spacing
 - material before/after a cell, e.g. \setupTABLE[row][first][before=bla]
 - command hooks like \setupTABLE[1][3][hook=\dowithentry]

I'm not sure what hooks are! I assume the before could be something
like \blankspace? 

 
  (Is it possible to set the space between columns using the more
  standard table module? I realize I didn't document this at all.)
 
 I have never tried it, but I think so. At the beginning of core-tbl,
 column modifiers i, j and k are claimed to do this. Since tabulate uses
 the same column specifiers as table, they should work with both.
 Untested ;-)
 

I need to start thinking before I type! I have this in my tutorial. I
guess I assumed you get the same result with TABLE by simple making a
column very wide (width=25cm).

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] how to control placement of floats

2005-04-19 Thread Paul Tremblay
The manual and others have given good advice on how to do the most
basic placment of floats, such as forcing it onto a new page.

How does one get even more control. For example, if I want a
particular table to have 2 inches of space from the left margin, or if
I want to center my figures.

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] is there a way to control kearning and word spacing

2005-04-19 Thread Paul Tremblay
I know that ConTeXt does a good job kearning and determing spaces
between words. However, is there a way to actually specify different
kearning and word spacing than the default?

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] how to control placement of floats

2005-04-19 Thread Paul Tremblay
On Wed, Apr 20, 2005 at 12:24:35AM +0200, Hans Hagen wrote:
 From: Hans Hagen [EMAIL PROTECTED]
 
 Paul Tremblay wrote:
 The manual and others have given good advice on how to do the most
 basic placment of floats, such as forcing it onto a new page.
 
 How does one get even more control. For example, if I want a
 particular table to have 2 inches of space from the left margin, or if
 I want to center my figures.
 
 see details.pdf
 

I couldn't figure out how to do what I want from this document, which
is, very detailed. (Hence: details.pdf!) Let me ask more specific
questions:

1. In order to control the placement of a float better, do I need to use

   \setupfloat[figure]
   \setupfloat[table]
   % etc

   ?

2. I want to place a table or a figure on a page. I want to move it,
say, 10 cm from the left margin. How do I do this? 

3. I want to create extra white space before and after the float. How
do I do this? 

4. Sometimes I want the text to flow around the float, and sometimes I
don't. How do I do this?

Thanks

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] how to create subscripts and superscripts

2005-04-18 Thread Paul Tremblay
Can someone tell me how to create subscripts and superscripts? I both
looked in the main document and searched the the wiki garden and did
not find anything. 

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] how to create subscripts and superscripts

2005-04-18 Thread Paul Tremblay
On Mon, Apr 18, 2005 at 10:24:27PM -0400, Steve Peter wrote:
 From: Steve Peter [EMAIL PROTECTED]
 
 
 On Apr 18, 2005, at 9:39 PM, Paul Tremblay wrote:
 
 Can someone tell me how to create subscripts and superscripts? I both
 looked in the main document and searched the the wiki garden and did
 not find anything.
 
 Section 4.9 of the cont-enp.pdf manual?
 
 Basically, \high{} will give you superscript, \low{} will give you 
 subscript, or you can enter ^{} or _{} in math mode.
 

Yes, there it is! But I couldn't find it in the index, and I kept
looking in typography.

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] how to create subscripts and superscripts

2005-04-18 Thread Paul Tremblay
On Mon, Apr 18, 2005 at 10:59:23PM -0400, Steve Peter wrote:
 
 
 On Apr 18, 2005, at 10:50 PM, Paul Tremblay wrote:
 
 But I couldn't find it in the index,
 
 Truth be told, I usually just use the Find function on Adobe Reader. 
 :-)
 

Never even occurred to me! I have printed out a hard copy of the book
because navigating a PDF document is very slow and difficult. I had
totally forgotten I have the PDF on my computer!

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] looking for document ...

2005-04-18 Thread Paul Tremblay
About a week ago I came across a very nice and interesting document in
ConTeXt, and now for the life of me I can't fine it and want to. I
believe the author is someone on this mailing list. The example was a
book on astronomy or physics. The author described himself as a
serious book maker. The actual book itself was set with very narrow
pages with scholarly notes. There were two pages from the book. The
second pages started with a graphic.

Sound familiar? 

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] superior footnotes

2005-04-16 Thread Paul Tremblay

Here is an example from my webpage. This example requires that you
type in each footnote manually, and it then converts the it to a
letter:

===

\setupfootnotes[way=bytext, conversion=characters]

% set the number manually
% the next footnote will be *3*
\setnumber[footnote]{2}

The twelve labors of Hercules\footnote{Hercules had to perform 12
near-impossible tasks to become a god} were trifling in comparison
with those which my neighbors have undertaken;

===

However, I think you want just to change where the footnote starts. 

Hans sent me this about 3 weeks ago. I think it works,  though I have
not tested it.


\setupnumber[footnote][start=45]
test \footnote{test} test

Paul



On Sat, Apr 16, 2005 at 11:08:59AM -0600, Idris Samawi Hamid wrote:
 From: Idris Samawi Hamid [EMAIL PROTECTED]
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Date: Sat, 16 Apr 2005 11:08:59 -0600
 Subject: [NTG-context] superior footnotes
 
 Dear posse,
 
 1. With footnotes, is there yet a way to define the starting numeral-mark? 
 Say, I want my first footnote incremented so that the first notemark is , not 
 `1' then `2', but `1234' then `1235', etc.
 
 2. I tried a workaround:
 
 ===
 \defineconversion[set1234][1234]
 \setupfootnotes [conversion=set 1234]
 ===
 
 but a spurious numeral `1' gets typeset alongside the notemark. What am I 
 missing?
 
 Finally, the ConTeXt footnote mechanism does not (afaik) take into account 
 superior numerals. We need a setup option, e.g.
 
 ===
 \setupfootnotes [numeral=superior]%inferior, normal, with 
 % normal as default
 ===
 
 to cut off the mechanism for automatically raising and reducing the size of 
 the numeral (\high I presume). Yes, there is the empty (text)command=empty 
 trick, but to use superior numerals all this should not be necessary.
 
 Thnx as always
 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

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] superior footnotes

2005-04-16 Thread Paul Tremblay
On Sat, Apr 16, 2005 at 04:27:12PM -0600, Idris Samawi Hamid wrote:
 
 Hi Paul,
 
 = Original Message From mailing list for ConTeXt users 
 ntg-context@ntg.nl =
 Here is an example from my webpage.
 
 Url?
 

http://getfo.sourceforge.net/context_xml/page4.html#id2254928

If ever this link dies, you can navigate by going to 

http://getfo.sourceforge.net/context_xml/index.html

Hope that helps!

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] paul tremblay's pages

2005-04-15 Thread Paul Tremblay
On Fri, Apr 15, 2005 at 06:50:12PM -0400, Ciro Soto wrote:
 
 I wonder what happened with the nice pages in 
 
 http://www.geocities.com/paulhtremblay/context_xml/page2.html

Sorry about that. The geocities location was just a temporary
location. This location below is permanent and will remain permanent
and because it is a sourceforge site there is a very good chance it
will always be there. (sourceforge won't revoke my privileges like a
university would if I wasn't a student, or like yahoo might if I
wasn't a member anymore; sourceforge is very good about keeping things
there forever.) 

Again, my apologies.

The new site is:

http://getfo.sourceforge.net/context_xml/index.html

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] confused on font size

2005-04-14 Thread Paul Tremblay
The main manual on ConTeXt give a number of different ways to change
font sizes (if I understand it correctly):


1. {\switchtobodyfont[18pt] text}

2. {\tfx font size ??}

3. {\xii some font}

What are the advantages of each? I would think that option (1) would
be the simplest and clearest to use.

Thanks 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] the right way to do \ref?

2005-04-14 Thread Paul Tremblay
I want to create cross references and just wanted to make sure I am
doing it correctly:

see \ref[r][mark1] \par
\page
\reference[mark1]{} foo \par

Since my original file will be in XML, I don't need any of ConTeXt's
other more advanced features. I will use the above code to generate a
TOC, a list of tables, indices, etc.

I also saw \pagereference in the manual, but I think this is if you
use ConTeXt's other features, such as \section[mark1]{Title}

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] confused on which table

2005-04-13 Thread Paul Tremblay
On Tue, Apr 12, 2005 at 08:01:08AM +0100, VnPenguin wrote:
 
 In your page, section Customizing TABLE
 
 sub-section customization options: the table Possible options for
 setuoTABLE has some typo :)
 width=dimen -- set height ?
 set  sets ?
  
 

Thanks. I corrected the height typo, and realize you also pointed to a
sets typo. 


Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] new beta

2005-04-13 Thread Paul Tremblay
On Wed, Apr 13, 2005 at 10:33:18PM +0200, Hans Hagen wrote:
 concerning the beta, i hope that engine path support is now better in 
 texexec; there is also a new version of pstopdf (for the moment called 
 newpdftops); when inkscape is installed (v 0.41) you mag give svg to pdf 
   a try

Is inkscape the beast that gave you so much trouble with the glib
library? I know I tried to install it and gave up after I couldn't
install glib. 

Why did you choose inskscape? I thought inkscape is supposed to be a
great gui svg-editor, but I wonder if you need all of its power just
to do a conversion. I use batik for my conversions, which is part of
the apache project. Of course, it is written in java, which raises
other problems.

Anyway, it is promising that ConTeXt it going to incorporate svg.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] bi-lingual book

2005-04-13 Thread Paul Tremblay
On Wed, Apr 13, 2005 at 05:42:15PM -0400, Ciro Soto wrote:
 
 I am thinking in producing a book in two languages.
 One language will be in the verso side of the paper sheet,
 and the second language will be in the rector side. Trying to
 be as mirror images so the reader could (if so desired)
 learn one language from the other.

Sorry I don't have an answer to your question, but I was very
interested in what type of book you planned to write. It sounds
interesting.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Paul Tremblay
On Tue, Apr 12, 2005 at 01:05:45PM +0200, Eckhart Guthöhrlein wrote:
 
 As far as I know, this is not possible in an easy way. Have a look about
 the booktabs dicussions some days ago.

That's really too bad. You can do so much else with TABLE.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] border widths with TABLE

2005-04-12 Thread Paul Tremblay
On Tue, Apr 12, 2005 at 10:49:30PM +0200, Hans Hagen wrote:
 
 \setupcolors[state=start]
 
 \startuniqueMPgraphic{border}
   draw OverlayBox withpen pencircle scaled 1pt withcolor red ;
   draw leftboundary OverlayBox withpen pencircle scaled 3pt withcolor green 
   ;
 \stopuniqueMPgraphic
 
 \defineoverlay[border][\uniqueMPgraphic{border}]
 
 \starttext
 
 \bTABLE[frame=off]
 \bTR \bTD[background=border] some test   \eTD \bTD oeps   \eTD \eTR
 \bTR \bTD just a test \eTD \bTD[background=border] oeps again \eTD \eTR
 \eTABLE
 
 \stoptext

The code hangs:

MP test-mpgraph.4000] [MP test-mpgraph.3999])
*

But even if I could fix that, this seems like a difficult workaround.

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] confused on which table

2005-04-11 Thread Paul Tremblay
On Tue, Apr 12, 2005 at 12:11:04AM +0200, Hans Hagen wrote:
 
 compare the settngs
 
 split=yes
 split=repeat

Thanks. I've included this in my documentation:


http://getfo.sourceforge.net/context_xml/page4.html

 
 there is also
 
 \bTABLEnext
 \eTABLEnext

Not sure what this means! Any hint would help the documentation.

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] border widths with TABLE

2005-04-11 Thread Paul Tremblay
How does one create different border widths in TABLE? For example, say
you want to create an extra thick border between the head and the
body? 

% this sets up the thickness for *all the borders
% need just the bottom border
\setupTABLE[r][first][rulethickness=1pt]

Thanks

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] table won't break across page

2005-04-10 Thread Paul Tremblay
I am trying to create a table that breaks across pages. I used the
example from the wiki. The table repeated its headers like it should
have, but it did not break across a page; it stuck the table on one
page. 

Here is an excerpt from the file:

\placetable[here][tab:insurance]{Percentage of People without health
insurance in US}{\start
\starttablehead
\HL
\VL State \VL 3-year average(2001-2003) \VL 2-year average(2001-2002)  
\VL\SR
\stoptablehead
\starttabletail
\HL[4]
\stoptabletail
\starttables[|l w(30mm)|l|l|]
\VL Alabama   \VL 13.3 \VL 13.5
\VL\FR
\HL
\VL Alaska\VL 17.8 \VL 18.8
\VL\MR
\HL
...
\stoptables
\stop}

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] can't get table to work

2005-04-10 Thread Paul Tremblay
On Sun, Apr 10, 2005 at 12:10:26AM -0400, Steve Peter wrote:
 
 The \DL has an explicit \DC in it, so the line should be:
 
 \DL \DL \DR
 

Thanks. That is what I guessed after I fiddled with the tables some
more.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] table won't break across page

2005-04-10 Thread Paul Tremblay
On Sun, Apr 10, 2005 at 07:10:07PM +0200, Nikolai Weibull wrote:
 
  On Sun, Apr 10, 2005 at 10:45:37AM +0200, Nikolai Weibull wrote:
 
   \splitfloat
 {\placetable{Percentage of People without???}}
 {\starttablehead
  ???
  \stoptablehead
  \starttabletail
  ???
  \stoptabletail
  \starttables[???]
  ???
  \stoptables}
 
 Your mailer seems to mess up the charset.  You're sending us-ascii
 responses to utf-8 mail and including the utf-8 sequences (the ???'s),
 nikolai

When I got your email, I saw the ???. I assumed you put them in to
indicate I should fill in the blank. What characters were you trying to
convey here? I wasn't aware that my emailer was messing things up. It is
the mutt emailer.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] confused on which table

2005-04-09 Thread Paul Tremblay
I'm looking over the table overview at the wiki garden:

http://contextgarden.net/Tables_Overview

It states that:

ConTeXt has a whole bunch of possibilities to typeset tables. Not each
provides everything you may need, and the older ones are deprecated.

Yet on looking at all of the different types of tables, I can't exactly
see which ones are deprecated. Are any deprecated? 

I also see that there are three different types of tables for spanning
across pages (\starttablehead, \bTABLE, and \startlinetable). Do
each of these have strengths and weaknesses? 

Perhaps I could make a table for each type of tables, if someone could
guide me:

name   tabulate TaBlEetable ETC
===

Useshort 
   table

Notes  does not
   have vertical
   lines

ETC.

Thanks for whoever did this wiki page, since it is helping me get
started.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: good-looking tables in context

2005-04-09 Thread Paul Tremblay
On Wed, Apr 06, 2005 at 02:19:18PM +0200, Eckhart Guthöhrlein wrote:
 - left/right trimming of horizontal lines
 

What do you mean by left/right trimming? If I am correct, doesn't one
use \DL to draw a line at the bottom of a cell, \DC to not draw a line,
and \DL to end the row? This means one can draw lines just for the cells
one wants in any manner. 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] space between tabulate

2005-04-08 Thread Paul Tremblay
Is there a way to put space between cells in a tabluate table?

\starttabulate[|p(6cm) |p(6cm)|]
\NC American Community Survey \NC Current Population Survey \NC\NR
\HL
\NC 
All dollar values for income are adjusted to latest calendar year of estimates 
using the Consumer Price Index for the date collected versus the average for 
the year.
\NC None
\NC\NR
\stoptabulate

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] Re: space between tabulate

2005-04-08 Thread Paul Tremblay
On Sat, Apr 09, 2005 at 01:40:57AM +0200, Patrick Gundlach wrote:
 
 perhaps this helps?
 
 \starttabulate[|p(6cm)j3| p(6cm)|]
 
 see also:
 
 http://source.contextgarden.net/core-tbl.tex
 
 

Thanks. This helps a lot. 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] controlling space between paragraphs in list

2005-04-07 Thread Paul Tremblay
According to the big ConTeXt manual, one should use \head for an item in
a list with more than one paragraph:

\startitemize
\head first paragarph...\par second paragraph...
\stopitemize

Is there a way to control the amount of space *between* head paragraph
that are part of the head? I know how to control the space between
items, but what if you want a different space between the paragraphs in
an item. (This is not so unusual a desire; you might want to less space
to make things tighter.)

Right now, I can do this:

\setupwhitespace[8pt]
\startitemize
\item first paragarph...\par second paragraph...
\stopitemize

But then ConTeXt might not take care of the paragraphs nicely when
breaking between pages.

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] Re: customizing footnote numbers

2005-04-05 Thread Paul Tremblay
On Tue, Apr 05, 2005 at 01:28:01PM +0200, Patrick Gundlach wrote:
 
  Here's what I just figured out literally 10 minutes ago. It works, but
  it seems a bit of a hack. Is there a better way? 
 
 a bit? a very huge bit. Assume that you have 200 footnotes in your
 text. Then change from 12pt fontsize to 10pt Bang!
 

Why wouldn't this be the case with any fontsize change? I guess because
you have to change the \vskip each time. Well, in that case one could
write a macro, but I have no idea how to write macros. Also, one could
set up a definition 

\def\FontSkipSize{\vskip-12pt}

and use that instead. Then you would only have to change the definition
once.

Of course, that begs the question. Is there a better way? 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: page on context and XML has moved

2005-04-05 Thread Paul Tremblay
On Tue, Apr 05, 2005 at 10:51:44AM +0200, Piotr Kopszak wrote:
 
 That's very  promising indeed. Right now I'm  transforming my original
 xml  using xslt  to  a simpler  xml  file which  can  be processed  in
 document  order to  make the  ConTeXt file  containing  xml formatting
 commands as simple as possible. It would be nice to end up with an xml
 file which would  contain all the formatting information  and make the
 ConTeXt file unnecessary. But I'm afraid of two things:
 
 1. XSLT transformations  will get  so complex I  will get lost  in the
stylesheet at some point. 
 
 2. How the final  finetuning of the appearence of  the typeset version
should be done? Surely not by fiddling in the xml file which should
be generated by xslt (or  whatever) and I'm not sure making changes
in  the xslt  stylesheet to  make some  pages one  line  shorter or
longer is the  way to go.
  

Hi Piotr,

First, if you use TeXML, make sure you download the latest version,
1.25-devel. This version is very stable and robust, and has the
texml_con script, which converts directly from XML to PDF or whatever
format you require:

texml_con any option you can use with texexec infile

It will create a ConTeX file along the way, as its first step. So if
your file is modern_photo.xml, a file called modern_photo.tex will be
created. You could open the modern_photo.tex file and make small changes
on that file. However, if you need to do this, you should instead type:

texml.py -e -c modern_photo.xml modern_photo.tex

That will create a ConTeXt file, which you can then alter.

Of course, having to alter the ConTeXt file defeats the purpose of XML.
You should be able to convert directly from XML to PDF. What alterations
do you think you will have to make? 

I know XSLT stylesheets can get very complicated. This is often the
case, including when I convert XML to HTML. You could try converting in
steps, making a small manageble change on one document, and then making
a small manageable change and so on.

Let me know your results. Good luck!

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: customizing footnote numbers

2005-04-05 Thread Paul Tremblay
On Tue, Apr 05, 2005 at 06:17:39PM +0200, Patrick Gundlach wrote:
 
 Sorry to say, but in this case, no solution would be much better than
 this solution. 

Really? Wow! So if if the requirements for some document are hanging
indents footnotes, and I have asked how to do them on the mailing list,
and no one gives me a solution; and I then use my solution and create a
nice looking document and satisfy the requirements, say for the thesis
committee--that is *worse* than producing a document that does not fulfill
the requirements and is not accepted? Wow, that's amazing that Patrick
Gunlach as power over the editors and committees. 

There is nothing(!) worse than mixing visual markup with
 logical markup this way. 

Except no solution at all when you have a deadline to meet and must
produce a document. Or except global warming. A little perspective would
be nice.

We are in a fully programmable environment,
 and it is extremely unConTeXtish to hack the visual appearance. 

I am an XML author, so am pretty amazed to hear that one should not mix
appearance and content in ConTeXt. Most of a ConTeXt document involves
visual appearance. What is one saying when one writes \blank[12pt]?

If I
 have some minutes off tonight, I'll look into it. But I'd guess that
 Hans already has several different solutions to this problem, because
 every time I write no solution yet on this mailinglist, Hans
 presents some unknown/forgotten secret.
 

Yes, that would be nice.  But until I see a concrete solution, I will
continue to use and post my solution. A rule of etiquette is that if you
don't have a better solution, or don't want to document it, don't attack
the current solution, not matter how impure. 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] customizing footnote numbers

2005-04-04 Thread Paul Tremblay
On Sun, Apr 03, 2005 at 03:58:42PM -0400, Paul Tremblay wrote:
 
 Is there a way to manually set the number of a footnote rather than
 letting ConTeXt determining it? Something that works in the same way as
 \page[25]? 
 
 For example, I might want to start footnote numbering at 1 at each
 chapter, *but I won't be using traditional ConTeXt divisions.* 
 
 I've been searching the web and it seems that LaTeX has a way to reset
 counters, but I can't get this to work in ConTeXt. 

Answering my own email. I've had a look at core-not.tex, and I see a lot
of definitions such as \internalfootreference. I've tried setting some
of these myself with no luck. But it seems if I can just figure out the
right definition and the way to set it, I should be able to insert the
type of footnote I want. 

On the other hand, isn't there a way to just enter text in for your
footnote marker, and totally bypass any automatic numbering?

Paul

 

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: page on context and XML has moved

2005-04-04 Thread Paul Tremblay
On Mon, Apr 04, 2005 at 02:31:04PM +0200, Piotr Kopszak wrote:
  On Sun, Apr 03, 2005 at 11:03:53PM +0200, Patrick Gundlach wrote:
 [...]
 
 I just looked at the webpage you mentioned and TeXML resources. If
 I'm not mistaken it seems it was conceived for LaTeX. Does it
 really make sense in context of ConTeXt? I'm afraid having a language
 whose available reference does not even mention ConTeXt only adds up to the
 existing TeX mess rather than makes it richer. At least the subset
 which makes use of ConTeXt  should be called differently. Sorry for my
 ignorance. These are just first impressions after having a quick look
 at the idea.
 

It is true that originally this was designed just for LaTeX. But I
became a developer and changed the code so that it will work under
ConTeXt. I even provided a script that will convert TeXML directly from
XML to PDF or other print formats. The name of this script is texml_con.
It is only available on CVS right now, but I should make it available as
a package sometime later today.

I will have to aske the administrator of the sourceforge site to update
the webpage so that it mentions ConTeXt as well. 

I provide myriads of examples on the webpages in TeXML format. Running
the TeXML script on any of these codes will change the documents to
valid ConTeXt. 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] customizing footnote numbers

2005-04-04 Thread Paul Tremblay
On Mon, Apr 04, 2005 at 10:29:41AM +0200, Hans Hagen wrote:
 \starttext
 
 test \footnote{test} test
 \setupnumber[footnote][start=45]
 test \footnote{test} test
 \setnumber[footnote]{99}
 test \footnote{test} test
 \setupnumber[footnote][way=bysection,start=0]
 test \footnote{test} test
 
 \section{test}
 test \footnote{test} test
 test \footnote{test} test
 
 \section{test}
 test \footnote{test} test
 test \footnote{test} test
 
 \stoptext
 
 

Thanks. So it looks like the way to reset counters in ConTexT is with
the 

\setupnumber[somecounter]{x}

That helps.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: customizing footnote numbers

2005-04-04 Thread Paul Tremblay
On Mon, Apr 04, 2005 at 10:30:44PM +0200, Thomas A. Schmitz wrote:
 
 Hey, that's just the question I was going to ask! I played around some 
 with margin= and margindistance=, but all I could achieve was getting 
 the footnote ref typeset to the right, into the text of the note -- 
 interesting, but not very useful. So is this possible? And: can we have 
 a hanging indent for footnotes like this:
 
 
  1 note that will
 wrap like this?
 

Here's what I just figured out literally 10 minutes ago. It works, but
it seems a bit of a hack. Is there a better way? 

Paul

%Footnotes with indenting 

\starttext
% define amount to indent
\setupnarrower[left=12pt]

At present I am a sojourner in civilized life
again. \footnote{\startnarrower[left]
% need a negatvie vskip so ConTeXt won't read this as a paragrpah.
\vskip-12pt
\hskip-12pt Thoreau started writing {\sl Walden} in 1846, a few
months after he started living at Walden Pond. He moved back to
Concord late in 1847. By that point he had drafted half of the
manuscript. He continued to work on it for several years.
\stopnarrower}

\stoptext

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: page on context and XML has moved

2005-04-03 Thread Paul Tremblay
On Sun, Apr 03, 2005 at 10:13:22AM +0200, Patrick Gundlach wrote:
 
 But I have to say that I feel a bit sorry about your decision of
 moving your pages to somewhere else. At the time before the wiki
 existed there were (besides the documentation at PRAGMA ADE) several
 web pages with some content (with very valuable information). But the
 ConTeXt users didn't know about these pages (except for those reading
 the mailinglist carefully). That is why I have started
 contextgarden.net: to put all relevant documentation in one place.
 Links have a tendency of dying. And the contents behind the links are
 often outdated, because things (especially in the ConTeXt world)
 change quickly. And I would not be surprised if this happens to your
 page, too. And your information is too valuable to get lost or
 unuseful. I'd suggest to keep the information at the wiki the next
 time and/or write a myway and put the source and pdf on garden. 
 

I agree with your point. In addition, the wiki pages offer the
opportunity for others to give valuable feedback, easily, without having
to post an email message. I am really going to miss having this
feedback, since it helps me correct both small mistakes and major
misconceptions in my documents.

My decision was based on practicality, however. You can see already that
my documents are very complicated, with many graphics and pieces of
example code. I will be constantly changing the pages as I correct
mistakes and learn more. I write my documents in XML and generate the
HTML files from the XML. This allows me to automatically generate a TOC,
keep my links fresh, and generate a detailed index. (I hope to get
around to creating an index later.) I run a script to generate the html.
I then use rsync to update my files at sourceforge.net. You can imagine
how much more difficult it would be to do this with the wiki. Updating
changes might take me 5 minutes through sourceforge. It would take me
maybe a half an hour if I used the wiki, and even longer as my pages
continue to grow. 

However, that doesn't stop me from creating a myway. (I assume a myway
is a ConText document coupled with a PDF file.) I'll try to do this as
soon as I have time. 

Thanks for your feedback

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] chancery font

2005-04-03 Thread Paul Tremblay
On Sun, Apr 03, 2005 at 10:15:19AM -0600, Idris Samawi Hamid wrote:
 Not only that, Adam, but the configuration issues involve so much minutae 
 that 
 it is very easy to make simple mistakes that cause, e.g, typescripts to fail. 
 As Ciro suggested, what what would be useful is a gui that completely 
 automates the process and that asks all relevant questions and generates 
 everything ConTeXt needs to install and run Latin fonts, including expert 
 fonts like Minion. (Maybe oneday the gui can be extended for Chinese, 
 Arabic, etc.)

I myself know that when it comes time for me to work with fonts, I will
have trouble. However, I am not for a gui. A gui is hard to write and
maintain, and given all the different platforms out there, including
older linux distributions with old libraries, it most likey wouldn't run
on all of them. 

I think you can achieve the same thing with a well-written shell script,
which can be interactive and can test all sorts of variables. Wouldn't a
shell script do the job you want? I mean, imagine the best, most fancy
gui you can, one that does everything you want with fonts. Now just
imagine the same program in an ugly shell that would do the same thing,
with the same interaction, and wouldn't that do the trick? 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] customizing footnote numbers

2005-04-03 Thread Paul Tremblay
Is there a way to manually set the number of a footnote rather than
letting ConTeXt determining it? Something that works in the same way as
\page[25]? 

For example, I might want to start footnote numbering at 1 at each
chapter, *but I won't be using traditional ConTeXt divisions.* 

I've been searching the web and it seems that LaTeX has a way to reset
counters, but I can't get this to work in ConTeXt. 

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] chancery font

2005-04-03 Thread Paul Tremblay
On Sun, Apr 03, 2005 at 01:40:53PM -0600, Idris Samawi Hamid wrote:
 
 Hi guys,
 
 Ok, I certainly did _not_ intend to start a flame war, was just dreaming out 
 loud:-))

I know! I hope my tone didn't come across as harsh or accusatory.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] page on context and XML has moved

2005-04-02 Thread Paul Tremblay
I had originally put up a web article on page layout, ConTeXt, and XML.
As I said in my original email, the location of that webpage was only
temporary. 

The new address of the webpage is:

http://getfo.sourceforge.net/context_xml/index.html

The webpage is far from finished. I plan to add many more sections and
edit some of the existing ones. Just glancing over the pages, I see many
typos. 

In a similar matter, I had originally started this documentation on the
wikki. Can I now remove those pages? (I realize I probably don't need
permisssion, but I don't want to remove a page and then have the wikki
administrator put it back up.) The page on the wikki is out of date and
incorrect in many instances. 

Also, someone on this email list was nice enough to include a link to
the yahoo page. Could that person update the link, when he gets a
chance? 

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] widow and orphan control

2005-03-30 Thread Paul Tremblay
On Wed, Mar 30, 2005 at 08:53:31AM +0200, Hans Hagen wrote:
 What I would need is some type of macro that can determine how much
 space is left on the page. If the space is less than some small,
 pretermined amount (say, 24 points, for example), then put the title on
 the next page, or put in a \blank[24pt, flexible]
 
 I know nothing about writing macros, or if this is possible. 
 
 \testpage[24pt]
 
 

This produces an unwanted pt in my text.

But if I use:

\testpage[3] 

I get some very interesting result. It almost seems from my tests that
ConTeXt will break if it can't put 3 more lines on the page. Almost,
anyway. If I have spaces as in:

\testpage[3]
Title\par
\blank[24pt]

The code doesn't quite work. It might even make an ugly orphan of poor
title. In that case I have to increase the option in \testpage to 5 or 6
to work. 

So what exactly does the argument stand for? This command might be
really useful.

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] widow and orphan control

2005-03-30 Thread Paul Tremblay
On Wed, Mar 30, 2005 at 11:53:49AM +0200, Vit Zyka wrote:
 Vit Zyka wrote (11:35):
 \penalty50
 \vskip3\baselineskip plus1fil
 \nobreak
 \vskip-3\baselineskip plus-1fil
 
 It is useful before section title etc. I believe it is implemented to 
 ConTeXt, but I do not know the interface.
 

This didn't work for me. I did some of the other suggestions to work,
though. 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] Re: widow and orphan control

2005-03-30 Thread Paul Tremblay
On Wed, Mar 30, 2005 at 09:31:07AM +0200, Patrick Gundlach wrote:
 
  \clubpenalty=-600
  \widowpenalty=-600
 
  But this had no effect.
 
 
 try inserting things like these after \starttext. There was a problem
 on the mailinglist like this some time ago.
 

Yes, that did the trick. Can anyone tell me if -600 is a reasonable
value? My tests seem to say so. There are at least 3 lines on the bottom
of my test page.

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] Re: widow and orphan control

2005-03-30 Thread Paul Tremblay
On Wed, Mar 30, 2005 at 09:24:53AM +0200, Patrick Gundlach wrote:
 
  ConTeXt has not \flushbottom command. The \flushbottom gives the heigh
  flexibility.
 
 what about looking in the wiki for \flushbottom?
 

Yes, I see:

\setupalign[line]

Though it turns out I don't need to use this to get the penalties to
work. Still, it is nice to know how to do this. I wasn't even aware that
ConTeXt wasn't pushing my text to the bottom of the page. 

I wonder how 

\pagesetup[width=middle] 

is going to affect all this? I hope not at all.

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] widow and orphan control

2005-03-29 Thread Paul Tremblay
On Mon, Mar 28, 2005 at 10:04:58PM -0500, Paul Tremblay wrote:
 
 How does one prevent orphans (the first line nof a paragraph on the last
 line of a page) and widows (the last line of a paragraph on a new page)?
 
 If I have the title of a new section that must not be the last line of a
 page, how can I do this? 
 

I've hunted around the web quite a bit, and there doesn't seem to be an
easy way to do this. I tried:

\clubpenalty=-600
\widowpenalty=-600

But this had no effect.

What I would need is some type of macro that can determine how much
space is left on the page. If the space is less than some small,
pretermined amount (say, 24 points, for example), then put the title on
the next page, or put in a \blank[24pt, flexible]

I know nothing about writing macros, or if this is possible. 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] widow and orphan control

2005-03-29 Thread Paul Tremblay
This works for LaTeX but not for ConTeXt:


 \widowpenalty=1
\clubpenalty=1
\flushbottom

ConTeXt has not \flushbottom command. The \flushbottom gives the heigh
flexibility.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] widow and orphan control

2005-03-28 Thread Paul Tremblay
How does one prevent orphans (the first line nof a paragraph on the last
line of a page) and widows (the last line of a paragraph on a new page)?

If I have the title of a new section that must not be the last line of a
page, how can I do this? 

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] my new page on layout

2005-03-27 Thread Paul Tremblay
On Sun, Mar 27, 2005 at 10:38:54AM +, Adam Lindsay wrote:

I guess my gripe was with how web pages work, combined with your
prescriptive tone: I only looked at that page2.html, because that's the
one you linked to. Deep linking happens all the time, and Google only  
multiplies the problem. People seeing only that page2 lose all context,
and as a result, many people who have nothing to do with XML will see
your page and think oh, that's the only way to do it.

I agree with your point. Also, I realize I am a novice and not an expert
who has worked with ConTeXt for 10 years. The problem is keeping the
prose as concise as possible. Having to continually say at each
description One possible way to solve this problem that I found works
for me is to... would make things verbose. 

One soluton is to put a type of disclaimer at the top of each page:
This primary audience for this page is XML authors who want to use
ConTeXt to format an XML document. 

 
 Thanks for yoru feedback. I wish I had understood the width=middle
 earlier. 
 
 Well, no problem. I feel like I'm still learning the intricacies of
 Layout, but I do intend on documenting some hacks sometime...
 
 A pair of Tips:
 * If you set cutspace/bottomspace to 0pt, ConTeXt automatically makes it
 equal to backspace/topspace

Ah! Good tip. 

 
 Now that you have cutspace sorted, horoffset and veroffset don't seem as
 necessary. (Especially as they don't seem to work with odd/even layouts,
 at least as I've observed.)

Yes, I thought of that last night. I kept that section in because it was
still accurate, but I really should get rid of it.

 
 There's something a bit too absolute and limiting about your statements:
 
 Unfortunately, the text width must be the same on all pages. If you
 change the width from one page to the next, the text will not necessarily
 line up.

 
 Taken out of context, this sounds very dire for ConTeXt. Might I suggest
 a qualifier must be the same on all pages *that are part of the same
 text flow*.

Yes, I completely agree. I thought of this as well. I'll change this.

Thanks again. I think your input has made my document stronger, and I
hope my document will help my ConTeXt easier to understand, even in a
small way. 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] my new page on layout

2005-03-26 Thread Paul Tremblay
I've authored a new page on laying out pages in ConText. This page will
be just one in a number of pages on using ConTeXt with XML. 

The new page can be found at

http://www.geocities.com/paulhtremblay/context_xml/page2.html

I would appreciate any feedback. I hope the page will be useful in
helping others overcome some of the difficulty I had in trying to
understand layout in ConTeXt. I believe it is very thorough. I hope it
is clear (it contains many illustrations) and accurate.

I put this page up on yahoo because it had so many graphics, and because
trying to cut and paste the entire page to the wiki would have been too
difficult. The yahoo location is just temporary. Probably I will create
a sourceforge project to host the page.

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] my new page on layout

2005-03-26 Thread Paul Tremblay
 
 Just as addition. If you want page number in the same (center) position 
 in the footer, add \smash command to your example
   \setupfootertexts[Romanticism \hfill
 \pagenumber \hfill Civil Disobedience][] [][...]
 so
   \setupfootertexts[\smash{Romanticism }\hfill
 \pagenumber \hfill \smash{Civil Disobedience}][] [][...]
 

Thanks for the feedback. What does \smash do? If I don't use \smash, my
footer text appears to be in the same position, in the center.

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] my new page on layout

2005-03-26 Thread Paul Tremblay
 
 Your prose is fairly clear, but the style tends to be a bit too
 prescriptive for my tastes. I think a lot of it would be alleviated by
 you setting up the context a bit more (this is what I found works for
 me, coming from the FO page model). Still, you set out statements like
 this without telling the whole story:
 

I think that the first page makes my intentions clear. My audience is
XML authors (though I think others will find the illustratons useful).
I undertand that there are many ways of doing things in ConTeXt and I
don't mean that ConTeXt authors should follow the advice. I think XML
authors will want one clear way of doing things rather than confusing
alternatives.
 
 Looking at page-lay, it seems like your perceived complications would
 go away to some extent by telling people to use width=middle, for example.

Fixed. The page now reflects the correct changes.

Thanks for yoru feedback. I wish I had understood the width=middle
earlier. I had to completely re-do my graphics once when I couldn't get
cutspace to work, and then I had to change it again.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] my new page on layout

2005-03-26 Thread Paul Tremblay
On Sat, Mar 26, 2005 at 11:20:58PM +0100, Vit Zyka wrote:
 
 Ohh, my error. Correct code:
 
   \setupfootertexts[\rlap{Romanticism}\hfill
 \pagenumber \hfill \llap{Civil Disobedience}][] [][...]
 
 Consider
   \setupfootertexts[\rlap{A}\hfill\pagenumber\hfill\llap{B}][][][]
 If width(A)!=width(B) then \pagenumber is not in the center.
   \fill's add the equal space between A-\pagenumber and \pagenumber-B.
 If width(A-different-page)!=width(A) then (generaly) \pagenumber change 
 position page-to-page.
 
 \rlap makes hbox of zero width with right overlapping, \llap with left.
 

Thanks! Now this makes sense. I changed the page accordingly.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] images on wiki?

2005-03-22 Thread Paul Tremblay
Is there a way to upload images (png) to the wiki? 

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] hyphenation not working

2005-03-19 Thread Paul Tremblay
On Sat, Mar 19, 2005 at 09:03:08AM +0100, Taco Hoekwater wrote:
 
 I downloaded the patterns file and unzipped it. It put the following
 directory in my texmf directory:
 
 .tex/context/patterns
 
 I then ran texhash. I then ran ./mktexlsr --all.
 
 At this point, you missed a step:
 
  texexec --make
 
 

I just ran 

texexec --make

Same. No hyphenation. 

GR!

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
 
 At this point, you missed a step:
 
  texexec --make

I re-ran the test and saved the output to a file. I opened the file and
saw this:

system (E-TEX) : [line 159] \ifcsname 
) (/usr/TeX/texmf/tex/context/base/lang-ger.tex
loading : Germanic Languages
language: patterns for nl not loaded
language: patterns for en not loaded
language: patterns for de not loaded
language: patterns for da not loaded
language: patterns for sv not loaded
language: patterns for af not loaded
language: patterns for no not loaded
language: patterns for deo not loaded
language: patterns for uk not loaded
language: patterns for us not loaded
) (/usr/TeX/texmf/tex/context/base/lang-ita.tex
loading : Italic Languages
language: patterns for fr not loaded
language: patterns for es not loaded
language: patterns for ca not loaded
language: patterns for it not loaded
language: patterns for la not loaded
language: patterns for pt not loaded
language: patterns for ro not loaded
) (/usr/TeX/texmf/tex/context/base/lang-sla.tex
loading : Slavic Languages
language: patterns for pl not loaded
language: patterns for cz not loaded
language: patterns for sk not loaded
language: patterns for hr not loaded
language: patterns for sl not loaded
) (/usr/TeX/texmf/tex/context/base/lang-alt.tex




-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
 Mine does that as well, but somewhat deeper in the log file, it
 restarts loading patterns, like this:
 
 
   (./cont-fmt.tex
   language: patterns nl for nl loaded(n=1,e=texnansi,m=texnansi)
   (/home/taco/texmf/tex/context/patterns/lang-nl.pat)
   language: hyphenations nl for nl loaded
   ...
 
 culminating in :
 
   210 hyphenation exceptions
   Hyphenation trie of length 99454 has 4157 ops out of 35111
 117 for language 34
 31 for language 33
 30 lines or so, counting down ..
 265 for language 1
 
 
 perhaps you also need to get the cont-tmf.zip from 'latest'? Mine has
 
 ConTeXt  ver: 2005.03.16  fmt: 2005.3.19  int: english  mes: english
 
 

Yes, now that I look deeper down in my log file, I see the same. Oh
well. I guess I'll have to live without hyphenation. Just when I thought
I was getting somewhere.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
 So if I understand what you're saying, that suggests you do have the
 capability for hyphenation somewhere in your system. What is your test
 file? Can you strip it to its barest form?

Here is the entire file. Luckily, it is very small. 

Thanks

Paul


% enable utf
\enableregime[utf]

% turn off automatic page numbering
\setuppagenumbering[state=stop, way=bytext, alternative=doublesided]
%\setupbodyfont[rm,12pt]
%\setuplanguage[en][ state=start]
%\language[en]

%\setuptolerance[verytolerant]

\starttext

\setuppapersize[A4]
% show frames so we can debug
\showframe
\definelayout[test][
 backspace=50mm,
 cutspace=70mm,
 width=fit,
]



% so it is always a good idea to use width=fit

\setuplayout[test]
 \setupheadertexts[odd][][][even]


Test\par
% input text from another document
\dorecurse{6}{\input tufte \par \input knuth \par}


\stoptext




-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
 You are getting somewhere. The format files that have been created
 by texexec in that last 'texexec --make' know how to hyphenate text.
 There is only one job left to do: making it so that 'texexec test'
 uses the right (new) format file (and not the old one). Without
 exact log files, I doubt I can sort that out for you, but assuming
 you ran 'texexec --make' today, then 'texexec -version' should
 report the following date info:
 
context : ver: 2005.03.16
cont-en : ver: 2005.03.16  fmt: 2005.3.19  mes: english
cont-nl : ver: 2005.03.16  fmt: 2005.3.19  mes: dutch
 
 if not, some files need to be copied.
 
 Good luck,
 
 Taco

texexec --version:

texexec : TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeXk, 3.141592-1.20a-2.2 (Web2C 7.5.3)
   context : ver: 2005.01.31
   cont-en : ver: 2005.01.31  fmt: 2005.2.20  mes: english


Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
 
 That does show a fair bit of hyphenation, here. Taco says some wise
 things, and here are a couple things to insert at the beginning of your
 text that may help debug. (But, again, I'm no expert in this area.)
 
 
 \the\hyphenpenalty % (50 on my system)
 
 \showhyphenations{hypertextual}
 

I put these lines at the top of my file. My resulting dvi file shows
these lines:

50
language : en(code:1)
font : cmr12
encoding : default
mapping : default
sample : hypertextual

It seems that the hypen penalty is what it should be.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: hyphenation not working

2005-03-19 Thread Paul Tremblay
 
 What happens if you run 
 
 texexec --make --alone
 
 and copy the cont-en.fmt (or whatever it is called now) into the
 'correct' path? Or leave it in the path that your test file is in and
 try the \showhyphenations{hypertextual} again.
 

Back from my rally. 

And, success! If I leave the cont-en.fmt file in the same directory as
I am running texeec, then I get hypenated text. So the goal is to move
it to my path. But where exactly is my path?

If I do a search for the cont-en.fmt file in texmf, I get:

./doc/man/man1/cont-en.1
./tex/context/base/cont-en.tex
./tex/context/config/cont-en.ini
./tex/context/interface/cont-en.xml
./context/data/cont-en-scite.properties
./cont-en.log
./cont-en.fmt

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] Re: Layout stuff

2005-03-19 Thread Paul Tremblay
Hi Patrick,


 
  I would wonder if it can be possible since changing paragraph width
  from page to page is *very* complicated task in TeX.
 
 You are right, but we all know Hans, he does some things that are
 *very* complicated in TeX.
 
 And I see that part of my question has been answered before. It is a
 matter if \definelayout[odd], \definelayout[even] and alike. I was
 confused because Hans mentioned in this thread:
 
 \setuplayout[odd|even|pagenumber|yourownid]
 
 Which I can't get to work here.
 

This should work. I have been been testing a lot of different
possiblities with layout, and am writing a complete new doc to
illustrate just these problems. If this code doesn't work, let me know;
it means I have forgotten a line here or there.

However, it is also true that you can't get TeX to change widths of
paragraphs from one page to the next. (That is, as far as I know.) I
posted this problem about a week ago, and no one has responded, leaving
me to believe you can't to it in  ConTeXt (or TeX). I posted the problem
in the wiki section in the bugs page.

Paul



 \definelayout[even][
  leftmargin=30mm,
  rightmargin=25mm,
  cutspace=50mm,
  backspace=40mm,
  height=fit,
  width=fit,
  ]

 \definelayout[odd][
  leftmargin=25mm,
  rightmargin=30mm,
  cutspace=50mm,
  backspace=40mm,
  height=fit,
  width=fit,
  ]

\setuplayout

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: hyphenation not working

2005-03-19 Thread Paul Tremblay
Hi Patrick

On Sat, Mar 19, 2005 at 11:00:57PM +0100, Patrick Gundlach wrote:
 
 there should be some cont-en.fmt somewhere on your disk. Like
 /usr/local/texmf/web2c/context/cont-en.fmt, but this is just a wild
 guess. So you could copy your newly generated cont-en.fmt over the old
 one.
 

Okay. I was looking for it in /usr/TeX/texmf directory. It was in

/usr/TeX/texmf-var/web2c

So everything works fine now. I assume that future versions of ConTeXt
will install this file correctly? 

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: Layout stuff

2005-03-19 Thread Paul Tremblay
 
 There is, of course, \parshape. And I know that Hans does a lot of
 paragraph trickery (see for example coloumns).
 

If you can get pages with different widths to work, please let me know!
Like I said, I posted the problematic code in the wiki. It would be
great to get this to work.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] hyphenation not working

2005-03-18 Thread Paul Tremblay
On Fri, Mar 18, 2005 at 10:05:36AM +0100, Hans Hagen wrote:
 
 Paul Tremblay wrote:
 Has anyone else had problems with hyphenation? I have a brand new
 version of ConTeXt, and cannot get one of its main features, hyphenation,
 to work. 
 
 I looked at the documentation, specifically the file called hypenation
 patterns. According to this, I should be able to invoke a took called
 ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
 exists with my distribution.
 
 I do have a file called hyphen.tex. On Hans' suggestion, I copied this
 to ushyph1.tex and ushyph2.tex. That didn't help. I also  changed my 
 cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also 
 didn't work.
 
 did you run mktexlsr ?
 
 I am at a loss, and I consider hyphenation pretty important. How do I
 proceed from here?
 
 another option is to fetch cont-pat.zip from our website and install that 
 one in the same texmf tree as context; run mktexlsr, and regenerate the 
 formats (with --all option)

Where is this? I just spent 20 minutes searching the website.

Paul
 
 i'd appreciate feedback about this working or not (since it's step 1 
 towards shipping context with its own instances of patterns)
 
 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

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] hyphenation not working

2005-03-18 Thread Paul Tremblay
 bytes).

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] Re: hyphenation not working

2005-03-18 Thread Paul Tremblay
 
 http://www.pragma-ade.com/context/latest/cont-pat.zip
 
 Patrick
 -- 
 ConTeXt wiki: http://contextgarden.net
 ___

Thanks. It wasn't on the download page, though, right?

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] hyphenation not working

2005-03-17 Thread Paul Tremblay
On Thu, Mar 17, 2005 at 10:06:14AM +0100, Hans Hagen wrote:
 
 No, hyphen.tex is not on my system. 
 
 it is ...
 
 ./tex/generic/hyphen/hyphen.tex
 
 here !
 
 I installed ConTexT using the TeXLive distribution, and then build
 ConTeXt inside of that by unzipping the standard ConTeXt package.
 
 in your context distribution, locate cont-usr.tex (or rme) and change the 
 ushyp* name mentioned there to hyphen; otherwise copy hyphen.tex to 
 ushyph1.tex and/or ushyph2.tex
 
 (the latest context ships with a version of ctxtools that generates generic 
 pattern files using the context naming scheme; see website for 
 documentation)
 

Neither thing worked. Here is a line from my log file:

82 hyphenation exceptions out of 1000

Thanks


Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] hyphenation not working

2005-03-17 Thread Paul Tremblay
Has anyone else had problems with hyphenation? I have a brand new
version of ConTeXt, and cannot get one of its main features, hyphenation,
to work. 

I looked at the documentation, specifically the file called hypenation
patterns. According to this, I should be able to invoke a took called
ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
exists with my distribution.

I do have a file called hyphen.tex. On Hans' suggestion, I copied this
to ushyph1.tex and ushyph2.tex. That didn't help. I also  changed my 
cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also 
didn't work.

I am at a loss, and I consider hyphenation pretty important. How do I
proceed from here?

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] 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] under/over runs with odd and even pages

2005-03-15 Thread Paul Tremblay
I am getting under and overruns when I define odd and even pages. 

The problem seems to be that when  paragraph runs from and odd to an
evne page, it retains its formating that it had on the odd page. And
this is also true for a paragraph that starts on an even page and runs
to an odd page. So if the odd page is really wide, and the even page is
narrow, the paragraphs starts on the odd page fitting perfectly, and
then when it starts on the odd page, it overflows.

Likewise, when a paragraph starts on a narrow, even page, it retains its
narrowness at the start of an odd page, producing an underfill.

So what is wrong with my code?



\showframe
\definelayout[1][
 leftmargin=33mm,
 rightmargin=33mm,
 cutspace=50mm,
 backspace=50mm,
 height=fit,
 width=fit,
]

 \definelayout[even][
  rightmargin=25mm,
  cutspace=40mm,
  leftmargin=20mm,
  backspace=35mm,
  height=fit,
  width=fit,
  ]

 \definelayout[odd][
  leftmargin=25mm,
  rightmargin=35mm,
  cutspace=50mm,
  backspace=40mm,
  height=fit,
  width=fit,
  ]

\setuplayout


Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] hyphenation not working

2005-03-15 Thread Paul Tremblay
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?

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] what do these values mean?

2005-03-10 Thread Paul Tremblay
I've figure out a lot of the values used in \setuplayout, but I can't
figure out these:

horoffset
veroffset
nx
ny
dx
dy

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] cutspace and backspace

2005-03-10 Thread Paul Tremblay
What does cutspace actually do? 

I have the following layout:



\definelayout[chapThree][
 cutspace=20mm, % the space on the right hand side of the page
 leftmargin=35mm, % the space for margin notes
 backspace=50mm,  % the space in the left hand side of the page 
 rightmargin=25mm, % the space for right margin notes
 width=fit,
]

I thought that cutspace would create a non-writeable area on the right
hand side of a page. But the above layout uses the backspace value of
50mm and seems to ignore the cutspace value.

It also seems that I was wrong about the fucntion of backspace.
Backspace is actually the area from the edge of the page to the body
text. So it equals the the margin area plus the edge of the page.

Thanks

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] special character | how to encode?

2005-03-08 Thread Paul Tremblay
How does one use | in ConTeXt? I've searched the manual and the web (and
come up with nothing because context is a regular English word), but
could not find anything.

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] special character | how to encode?

2005-03-08 Thread Paul Tremblay
On Tue, Mar 08, 2005 at 07:45:48PM +0100, Thomas A. Schmitz wrote:
 If your font and encoding is set up correctly, you can use \textbar.
 
 Thomas

I have:

\enableregime[utf]

At the top of my documents, so this command does not work. \type{|} does
work, and I guess this is what I need.

Thanks!

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] creating horizontal space

2005-03-06 Thread Paul Tremblay
I am trying to create horizontal space in a footer and am having not
luck. Here is what I have tried; 


\definetext[chapStart8Footer][footer][\vbox{ {\hspace{2em} skip} space

Interestingly, the \hfill command works here, but \hspace doesn't.

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] creating horizontal space

2005-03-06 Thread Paul Tremblay
Okay, dummy me, I figured it out:

\hskip2em

Paul

On Sun, Mar 06, 2005 at 07:08:05PM -0500, Paul Tremblay wrote:
 Date: Sun, 6 Mar 2005 19:08:05 -0500
 From: Paul Tremblay [EMAIL PROTECTED]
 To: context mailing list ntg-context@ntg.nl
 User-Agent: Mutt/1.4i
 Subject: [NTG-context] creating horizontal space
 
 I am trying to create horizontal space in a footer and am having not
 luck. Here is what I have tried; 
 
 
 \definetext[chapStart8Footer][footer][\vbox{ {\hspace{2em} skip} space
 
 Interestingly, the \hfill command works here, but \hspace doesn't.
 
 Paul
 
 
 -- 
 
 
 *Paul Tremblay *
 [EMAIL PROTECTED]*
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] ConTeXt-updater i-Package updated

2005-03-04 Thread Paul Tremblay
On Fri, Mar 04, 2005 at 11:00:48AM +0100, Uwe Koloska wrote:
 Date: Fri, 04 Mar 2005 11:00:48 +0100
 From: Uwe Koloska [EMAIL PROTECTED]
 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
   rv:1.7.5) Gecko/20041217
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Subject: Re: [NTG-context] ConTeXt-updater i-Package updated
 
 Gerben Wierda wrote:
 
 PS. For NTG-ConTeXt: i-Packages are a software install mechanism for Mac 
 OS X only. For most of you, this will be a very cryptic message I guess. 
 
 Let's count the guys that use OSX with ConTeXt (and possibly 
 i-Packages):
 
 -- One --

I primarily use ConTeXt with linux, but I also have the distribution on
a Mac OS X, and I used Gerben's package, which installed very
nicely--thanks!

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] wiki and tables

2005-03-04 Thread Paul Tremblay
I hope this isn't off topic, but can someone give me help creating
tables in the wiki? 

The wiki states that it supporst XHTML tables. I want to create tables
in this format, or as close as possible. In XHTML, you control borders
and other characteristics by CSS. 

So how does one do the same in the wiki?

table
!-- there are no borders here--

tr
tdcell one/tdtdcell two/td
/tr
/table

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] FO and ConTeXt: my new wiki page

2005-03-02 Thread Paul Tremblay
On Wed, Mar 02, 2005 at 10:15:11AM +, Adam Lindsay wrote:
 Paul Tremblay said this at Wed, 2 Mar 2005 02:04:26 -0500:
 
 http://contextgarden.net/Page_layout
 
 Thanks for your contribution...
 I would feel a bit better if you made the relationship to 
 http://contextgarden.net/Layout clearer.
 
 This page is my best effort at describing how someone who is used to FO
 would do the same thing in ConTeXt. The page is just one of many I hope
 to write on FO and ConTeXt.
 
 Perhaps you could make a family of pages like FO_Layout and FO_Fonts, to
 make The FO Way clearer--these things are informative to people coming
 from ConTeXt and XSL-FO alike...

I see. So if I am understanding things correctly, you just want me to
rename my pages? So instead of having Layout, use FO_Layout?


 
 This is from the page itself:
 ConTeXt has no equivalent to the FO attributes margin-right and
 margin-bottom. 
 
 cutspace and bottomspace, respectively. I'll agree that the
 documentation on layout stuff is now lagging behind reality, but there
 are some sources for this information, like the list archives and:
 http://texshow.contextgarden.net/ts.rb?   
 lang=enwhat=descif=encmd=setuplayout

Thanks. I'll have a look and change the page.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] FO and ConTeXt: my new wiki page

2005-03-02 Thread Paul Tremblay
On Wed, Mar 02, 2005 at 01:41:32PM -0700, Idris Samawi Hamid wrote:
 
 This page is my best effort at describing how someone who is used to FO
 would do the same thing in ConTeXt. The page is just one of many I hope
 to write on FO and ConTeXt.
 
 Excuse my ignorance, but what is FO?
 

Sorry for not explaining that. Once I get an introductory page set up, I
can explain.

FO is short for Formatting Object. It serves the same purpose as
ConTeXt, except in XML. You markup the document in FO, then run it
through a processor, and the output is PDF. 

Normally, one does not actually write the document directly in FO.
Usually one has the document already written in another type of XML,
like docbook or TEI. Then one converts the document to FO.

FO had great promise in that it was a a standard developed by the same
consortium that developed the new standards for HTML. However, the
actual open source software to convert FO to PDF is seriously lacking in
comparison to LaTeX or ConTeXt. For example, the open source application
FOP, written in java, does not let you move tables around on a page. The
version of FOP is .2, and if you consider that a mature piece of
software has a number of 1.0, you can see how far FOP has to come.

One need not know FOP to actually follow my tutorial. Anyone who has to
convert from XML, and knows XSLT, will hopefully find some of the tips
useful. What I am trying to do is strip down ConTeXt to the bare minimum
needed, because with an XSLT conversion, you need less of ConTeXt's
features, such as list numbering.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] \definelayout question

2005-03-02 Thread Paul Tremblay
Thanks Adam for the suggestions on the wiki page.

You point out that I can use \definelayout for odd and even pages.
I assume I can use this command in place of \setuplayout?

I had a problem using \definelayout. I found that I had to use a
\setuplayout before my text, or the first page would not get formatted.
Is the ConTeXt code right below?

Also, is there any way to change the layout for the first page?

\definelayout[first] [

Thanks

Paul



\part{}

\definelayout[odd][
 topspace=.5in, % the space at the very top of the page
 backspace=3in,  % the space in the gutter 
 header=2in, % the space for headers
 footer=2in, % the space for footers
 leftmargin=1in, % the space for margin notes
 rightmargin=1.5in, % the space for right margin notes
 width=3in, % the width of the body text
 height=7in % the height of the body text
]

\definelayout[even][
 topspace=.5in, % the space at the very top of the page
 backspace=3in,  % the space in the gutter 
 header=2in, % the space for headers
 footer=2in, % the space for footers
 leftmargin=1in, % the space for margin notes
 rightmargin=1.5in, % the space for right margin notes
 width=3in, % the width of the body text
 height=4in % the height of the body text
]

\setuplayout
% the header for the first page of part 1
\definetext[partStart1][header][\vbox{Chapter 1 \vskip5pt Author}]
\setuphead[part][header=partStart1]

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


[NTG-context] FO and ConTeXt: my new wiki page

2005-03-01 Thread Paul Tremblay
I have a new page on the wiki  

http://contextgarden.net/Page_layout

This page is my best effort at describing how someone who is used to FO
would do the same thing in ConTeXt. The page is just one of many I hope
to write on FO and ConTeXt.

I'm sure I got some things wrong, so any help would be appreciated.

One thing I was not able to do was customize headers and footers for
blank pages that end a part (such as a chapter). I need to include a
section in my page describing my inability to do this.

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


  1   2   >