Re: [NTG-context] page arrangement

2004-01-08 Thread Vit Zyka
Hi Hans,

> \setuppapersize[A5,landscape][A4] \setuparranging[2TOPSIDE]

it is better, but still I obtain different solution that is desired. There
is an empty sheet before the last one if  \pageno mod 4 != 0

My result in the table:
   sheet contains pages: sheet should contain pages
#pages  #sheets 1   2   3   4   5   6   7 1   2   3   4
1 31-  --  --1- (--)
2 31-  --  2-1-  2-
3 313  --  2-13  2-
4 213  2413  24
5 713  24  5-  --  --13  24  5- (--)
6 513  24  5-  --  6-13  24  5-  6-
7 513  24  57  --  6-13  24  57  6-
8 413  24  57  6813  24  57  68

- = empty page

Is problem in my old ConTeXt or in the macro?
ConTeXt  ver: 2003.9.25  fmt: 2003.10.21  int: english  mes: english

> fyi: in context:
> \starttext
>\dorecurse{8}{Page \recurselevel\page}
> \stoptext

Hmm, a bit less typing.

And one more question related arranging. I suppose, that arranging has no
effect to the page contents.
But using \setuparranging the empty table of content occures. If not use
\setuparranging toc is OK.
Testing file:
--
\setuppapersize[A5,landscape][A4]
%\setuparranging[2TOPSIDE]

\starttext
  Content: \placecontent
  \switchtobodyfont[20pt]
  \dorecurse{7}{\section{Section \recurselevel}Page \recurselevel\page}
\stoptext
-

Good luck in this year.
Vit Zyka


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


Re: [NTG-context] arabtext in Context

2004-01-08 Thread Idris Samawi Hamid
I'll take a look at this when I can. Note that some of the "flaws" may 
actually be features since ArabTeX was largely designed with LaTeX in 
mind. Some of the internal ArabTeX macros (like verses.sty) use LaTeX 
commands like \mbox. I modified verses.sty for use in ConTeXt with my own 
(under heavy development) Arabic package that is already much more 
versatile (and beautiful;->) than ArabTeX. If u're willing to try out 
eomega in ConTeXt there is another rudimentary Arabic package already 
available for ConTeXt that I described to this list a few months back, but 
it uses a bland font and a different transcription scheme (still worth 
checking out though). My own package is based on the ArabTeX transcription 
but is not ready for general release yet.

But I'll try to look at your problem towards the end of this month.

Best
Idris
On Wed, 7 Jan 2004 23:17:11 +0100, R. Ermers <[EMAIL PROTECTED]> wrote:

A number of flaws in the ArabicTeX support for ConteXt


--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Wrapping around footnotes

2004-01-08 Thread Willi Egger
Hi William,

I do not know whether I can make you happy ...

I played with the following setup, which gives a comparable result, 
though it needs some manual actions:

\starttext
\startcolumnset[n=2]
\startlocalfootnotes[n=0]
   text with footnotes\footnote{a tip}
   text
   text
\placelocalfootnotes
\column
   text
   text
   text
   text
   text
\stoplocalfootnotes
\stopcolumnset
\stoptext
William D. Neumann wrote:

I'm preparing a paper in two column format, and I'm having issues with
footnotes in one column affecting the text in the other column because the
text in the other column stops at the same spot as the text in the column
with the footnote rather than typsetting down to the bottom of the page.
For example, I am currently getting:

blah, blah, blah1yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
--
1 footnote text
here. footnote
text here.
footnote text here.
Instead of this (which I want)

blah, blah, blah1yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
--   yammer, yammer, yammer
1 footnote text  yammer, yammer, yammer
here. footnote   yammer, yammer, yammer
text here.   yammer, yammer, yammer
footnote text here.  yammer, yammer, yammer
How can this be done?  I've tried playing with the various setup commands
for columns and footnotes, but nothing seems to work.  Any help is
appreciated.
William D. Neumann

---

"Well I could be a genius, if I just put my mind to it.
And I...I could do anything, if only I could get 'round to it.
Oh we were brought up on the space-race, now they expect you to clean toilets.
When you've seen how big the world is, how can you make do with this?
If you want me, I'll be sleeping in - sleeping in throughout these glory days."
	-- Jarvis Cocker
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
 



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


Re: [NTG-context] hyphenation: latin modern fonts

2004-01-08 Thread Willi Egger
Peter Münster wrote:

On Wed, 7 Jan 2004, Helmut Schwertner wrote:

 

Peter Münster schrieb:
   

 

Here again the example, where you can see the problem.
 

 

Here's no problem - I get hyphenation.
   

 

Ok, then there must be a problem with my installation. I only get "evolution"
hyphenated, but not "évolution"... :(
 

 

take the  latin modern fonts. This example works with winxp and miktex:
   

Thanks for this hint. But as I read in newsgroup d.c.t.t aren't there still
bugs with the kerning etc?
Strange: I don't have Latin Modern installed, but your example file
compiled here with texexec without any error nor warning message...
Under LaTeX I used the EC fonts. Will it be difficult to get them work with
ConTeXt?
So, there is no problem with my installation?

Thanks for your help, Peter

 

Hi Peter,

Provided that you use a recent CONTEXT, everything should be there. Get 
the fonts from CTAN or from the TEXlive Collection (directory is outside 
the texmf-tree).
Within CONTEXT:

\usetypescript[modern][texnansi] %or whatever you like
\setupbodyfont[modern,rms,11pt]
I stand corrected, but because of the matching mechanism, you will get 
CMR if the Latin Modern fonts are not available - Check the pdf file's 
font properties

Kind regards

Willi

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


Re: [NTG-context] hyphenation: latin modern fonts

2004-01-08 Thread Peter Münster
On Wed, 7 Jan 2004, Helmut Schwertner wrote:

> Peter Münster schrieb:

> >>>Here again the example, where you can see the problem.

> >>Here's no problem - I get hyphenation.

> > Ok, then there must be a problem with my installation. I only get "evolution"
> > hyphenated, but not "évolution"... :(

> take the  latin modern fonts. This example works with winxp and miktex:

Thanks for this hint. But as I read in newsgroup d.c.t.t aren't there still
bugs with the kerning etc?

Strange: I don't have Latin Modern installed, but your example file
compiled here with texexec without any error nor warning message...

Under LaTeX I used the EC fonts. Will it be difficult to get them work with
ConTeXt?

So, there is no problem with my installation?

Thanks for your help, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


[NTG-context] Wrapping around footnotes

2004-01-08 Thread William D. Neumann
I'm preparing a paper in two column format, and I'm having issues with
footnotes in one column affecting the text in the other column because the
text in the other column stops at the same spot as the text in the column
with the footnote rather than typsetting down to the bottom of the page.

For example, I am currently getting:

blah, blah, blah1yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
--
1 footnote text
here. footnote
text here.
footnote text here.

Instead of this (which I want)

blah, blah, blah1yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
blah, blah, blah yammer, yammer, yammer
--   yammer, yammer, yammer
1 footnote text  yammer, yammer, yammer
here. footnote   yammer, yammer, yammer
text here.   yammer, yammer, yammer
footnote text here.  yammer, yammer, yammer

How can this be done?  I've tried playing with the various setup commands
for columns and footnotes, but nothing seems to work.  Any help is
appreciated.

William D. Neumann

---

"Well I could be a genius, if I just put my mind to it.
And I...I could do anything, if only I could get 'round to it.
Oh we were brought up on the space-race, now they expect you to clean toilets.
When you've seen how big the world is, how can you make do with this?
If you want me, I'll be sleeping in - sleeping in throughout these glory days."

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


[NTG-context] how to produce an irregular typesetting area

2004-01-08 Thread Ole Schoening
Hallo all,

I'm trying to produce an irregular (more than 4 corners) typesetting
(main text) area of the following shape:

... (header) 
 _
( logo /| ... text area ...  |
  overlay background)   ||
||
||
......
||
||
||
|   |(logo
|   |/overlay background)
| ... text area ... |
|___|

The reason of this wish is not to overwrite the displayed logos
or overlay pictures, which are used to form a common layout for a
brochure.
Btw., the orientation of the logos / pictures changes from even to
odd pages.
The measures of the logos / pictures prohibit a solution just by
putting
them in the header or footer.

Does anyone have an idea how to solve this problem?
Thanks in advance,
Ole

P.S.: Thanks a lot for this great software !

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


[NTG-context] Problems with pagenumbering using frontpart/bodyart/...

2004-01-08 Thread Holger Schöner
Hi,

I think that I either found a bug, or am using some commands in an invalid 
way. What do you think about the following code:

\setuplayout[location=duplex]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[way=bytext,partnumber=no]
\startsectionblockenvironment[frontpart]
  \setuppagenumbering[conversion=romannumerals,left={--~},right={~--}]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
%  \setuppagenumber[number=1]   % *1
  \setuppagenumber[number=0]% *2
\stopsectionblockenvironment
\setupsectionblock[frontpart][page=no]  % *2
\setupsectionblock[bodypart][page=no]   % *2
\setupsectionblock[appendixpart][page=no]   % *2
\setuphead[part][placehead=yes,alternative=middle,number=no,ownnumber=no,resetnumber=no]
\definepagebreak
  [chapter]
  [yes,header,footer,right]
\setuphead
  [part,chapter,title]
  [page=chapter]

\starttext
\startfrontmatter

\title{abstract}
\completecontent
\page[yes,header,footer,left]   % *2

\stopfrontmatter
\startbodymatter

\chapter{Introduction}
\chapter{Algorithms}
\chapter{Discussion}

\stopbodymatter
\startappendices

\chapter{Appendices}

\stopappendices
\stoptext

I want to exclude only unmarked lines and those have a "*1" in their
comment, but not the lines marked with "*2" at the end. Unfortunately then
the empty page between the contents and the chapter introduction is not (as
intended)  completely emtpy, but has a page number: "-iv-". To avoid this I
am using (following a tip posted here some months ago, I think) the lines

  \setupsectionblock[frontpart][page=no]
  \setupsectionblock[bodypart][page=no]
  \setupsectionblock[appendixpart][page=no]

Unfortunately, now (and this, I think, is the bug) the last chapter or title
before the end of the frontmatter (in this case the table of contents) does
no longer receive roman page numbers, but already the normal ones (and page
numbering also starts at this chapter, not with the "Introduction"). To
compensate for this I am currently using a workaround (all the lines marked
with "*2" instead the one marked with "*1"), basically avoiding the
described effect by forcing a page break (found using trial and error such
that it works regardless of the length of the table of contents). Can I 
somehow get rid of these workarounds, without the otherwise empty pages 
being numbered?

Unfortunately, pages 6, 8, 9 still are numbered, although otherwise empty 
(and the last two are unnecessary anyway), but I guess the problem is the 
same as for the pages between frontmatter and bodypart. (Probably fiddling 
with the backmatter and using some forced page breaks could solve those as 
well.)

I am using:
ConTeXt  ver: 2003.10.5  fmt: 2003.10.19  int: english  mes: english

-- 
Holger F. Schoener  TU Berlin; Dept. IV: EE and Computer Science
[EMAIL PROTECTED]   http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1   Franklinstr. 28/29, D-10587 Berlin, Germany
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: midaligned tabulate?

2004-01-08 Thread Hans Hagen
At 09:52 08/01/2004, you wrote:
Hello Hans,

> \definefloat[centered][table]
> \setupfloat[centered][default={none}]
would this ever float (I don't want it to).
{here,always,none} or {fixed,none} should do that

Hans  

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


[NTG-context] educational quiz check-in boxes

2004-01-08 Thread olivier Turlier
Hi ConTeXers,

Does anybody can show me a minimal but complete example of a quiz, using 
java, since I feel too old (big/wrong excuse!) for trying to understand 
javascript.

My aim is to introduce a short auto-evaluation test after a theorical 
course + examples, in an interactive form (no server side storage of the 
results), in the way of acrotex package.

I will share it (in french!), once working, on the the ConTeX ploned 
site. Thanks a lot.

olivier Turlier

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


[NTG-context] Re: midaligned tabulate?

2004-01-08 Thread Patrick Gundlach
Hello Hans,

> \definefloat[centered][table]
> \setupfloat[centered][default={none}]

would this ever float (I don't want it to).

rest looks fine.

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


Re: [NTG-context] midaligned tabulate?

2004-01-08 Thread Hans Hagen
At 09:03 08/01/2004, you wrote:
Hi Patrick,

I would try to place this in the \placefloat environment

\placetable[here,middle][]
   {centered table}
   {\starttabulate
  your actual table ...
   \stoptabulate}
or:

\definefloat[centered][table]

\setupfloat[centered][default={none}]

\starttext

\input ward

\placecentered
  {just a comment}
  {\starttabulate[|l|l|]
   \NC test \NC test \NC \NR
   \stoptabulate}
\input tufte

\setuptabulate[margin=3cm]

\starttabulate[|l|l|]
\NC test \NC test \NC \NR
\stoptabulate
\input davis

\stoptext

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


Re: [NTG-context] arabtext in Context

2004-01-08 Thread Hans Hagen
At 23:17 07/01/2004, you wrote:
Hi Context users,

A number of flaws in the ArabicTeX support for ConteXt (working under 
Miktex) have kept me from migrating to Context thus far. I guess I am not 
the only one. I sincerely hope that they can be fixed!
when i process your file here, it looks ok, can you check the pdf file i'll 
you? maybe you're running some odd combination of arabtex and context

Hans

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


[NTG-context] Re: midaligned tabulate?

2004-01-08 Thread Patrick Gundlach
Hello Willi,

> I would try to place this in the \placefloat environment

hmm, but I don't want it to float nor do I need a caption. 

> \placetable[here,middle][]
> {centered table}
> {\starttabulate
>your actual table ...
> \stoptabulate}

Patrick
-- 
Es wird kein Wunder geschehen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] midaligned tabulate?

2004-01-08 Thread Willi Egger
Hi Patrick,

I would try to place this in the \placefloat environment

\placetable[here,middle][]
   {centered table}
   {\starttabulate
  your actual table ...
   \stoptabulate}
Cheers Willi

Patrick Gundlach wrote:

Hi,

I just wonder how to center a table 
--
\starttext

\startalignment[middle]
this is centered?
\stopalignment
\startalignment[middle]
\starttabulate[|l|l|]
\FL
\NC Platz 1--12 \NC Block A\NC\NR
\NC Platz 7--18 \NC Block B\NC\NR
\NC Platz 13--24 \NC Block C\NC\NR
\NC Ab Platz 19 \NC Block D\NC\NR
\LL
\stoptabulate
\stopalignment
\stoptext
--
Patrick
 



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