Re: [NTG-context] mkiv

2007-08-13 Thread [EMAIL PROTECTED]
Hans Hagen wrote:
 Hi,
 
 Currently most mails on the list about mkiv and luatex concern 
 installation and fonts. This is ok since quite some code is related to 
 that. The next couple of months other (sub)systems will be activated (or 
 discovered by users since quite some stuff is already there).
 
 - reading from other media: reading from zip files is possible, reading 
 from e.g. http also if you have curl installed
 
 - color support: mkiv will use attributes; this works already on my 
 machine; other features (outline) and such will follow this route
 
 - spacing, vertical as well as horizontal (inter character spacing, 
 french punctuation), it's there but needs integration
 
 - indexing: is already using lua, needs to be tested and we need tables 
 for languages
 
 - numbering lines etc: work in progress
 
 - verbatim: new pretty printers will show up (i expect users to step in 
 once we have the api ready)
 
 - synchronization of text streams, multiple text streams etc ... work in 
 progress
 
 - sectioning and list handling, needs some rework for mkii too
 
 - debugging and error handling: there (try \showdebuginfo \page or maybe 
 \overloaderror \crap); we need a way to refresh browser windows 
 automatically
 
 - runtime feature toggling and font extensions: work in progress
 
 - etc etc
 
 maybe we should set up a wiki page where users can make a wishlist for 
 fundamental features cq. exploring features under construction
 
 Hans
 
How about the support for Chinese ? Will it be enhanced or just remains the 
same with ConTeXt ?

And can mkiv produce pdf files in which the Chinese characters can be selected 
and copied to other place ?

Thanks.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] presentation module

2007-07-17 Thread [EMAIL PROTECTED]
Saji Hameed wrote:
 Hi Thomas,
 
 I would like to try your module. My mail is [EMAIL PROTECTED]
 
 saji

And so do I :)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] questions about math formula

2007-06-06 Thread [EMAIL PROTECTED]
Hi all,

I have two questions about math formula.

1) I'd like to use \startalign to typeset mathematical formulas since it
is more convenient than \eqalign. But the formula number cannot be
located between two lines just as \eqalign can. I hope following example
can make me clear.

\starttext

\placeformula \startformula
\eqalign{
a + b  = c + d\cr
   = e + f\cr}
\stopformula

\placeformula \startformula
\startalign
\NC a + b \NC = c + d \NR[+]
\NC   \NC = e + f \NR
\stopalign
\stopformula

\stoptext

The number of equations in second formula can only be put on the first
line or second line but not between them.

My question is how to make the location of formula number in \startalign
the same as it is in \eqalign ?

2) It seems that \left and \right cannot be used on separate groups.
Here is a simple example:

\starttext

\placeformula \startformula
\eqalign{
a  = \left(\frac{b+c}{d+e}\cr
  \phantom{=~} + \frac{g}{h}\cr}
\stopformula

\stoptext

If I change \left and \right to \big, it compiles successfully. But I
think \left and \right are more convenient. Are there some solutions to
use \left and \right in this situation ?

Regards,

Xiao Jianfeng

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] The paragraph follows the math equations doesn't indent

2007-06-05 Thread [EMAIL PROTECTED]
Aditya Mahajan wrote:
 On Tue, 5 Jun 2007, [EMAIL PROTECTED] wrote:
   
 Hi, all,

 I found that the paragraph follows the math equations doesn't indent.
 Following is a demo:
 -
 \setupindenting[big,yes]
 \setupheads[indentnext=yes]
 

 Add \setupformulas[indentnext=yes]

   
 Thanks, it works!

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] questions about indentation

2007-06-04 Thread [EMAIL PROTECTED]
Hi all,

I'm using ConTeXt to typeset Chinese, and I am confused with indentation
in ConTeXt.

1) I've searched the wiki and found several commands maybe relevant:
\indentation, \indenting, \setupindentations, \setupindenting.

My first question is what are the differences between indentation and
indenting ?

2) In Chinese, most paragraphs start with an indentation of two
characters. How to make the width of the indentation to be exactly two
Chinese characters?

I can achieve this approximately by using \setupindenting[big,yes] and
\setupheads[indentnext=yes].


Thanks.

Xiao Jianfeng

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] date format in Chinese environment

2007-05-17 Thread [EMAIL PROTECTED]
When I was trying to typeset date in Chinese 
environment(\usemodule[chinese])
 using the commond \currentdate, the date format was strange:

2007 五月 18(the month was in Chinese).

What I want is 2007.5.18 or 2007-5-18(the month should not be in Chinese).

How to achieve this?

Thanks !


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \AA cannot be uesed in math mode?

2007-04-26 Thread [EMAIL PROTECTED]
Aditya Mahajan wrote:
 On Thu, 26 Apr 2007, [EMAIL PROTECTED] wrote:

   
 Hi,

 I want to get a sign of angstrom in an math formula, here is my example:
 %
 \starttext
 $\AA$
 \stoptext
 

 $\Angstrom$

 Also see the units modules for proper typesetting of units.

 Aditya
   
 Thanks.

 Since I use ConTeXt to typeset math formulas frequently, I want to
 know more about this. Why \AA doesn't work? 

 \AA is defined in plain TeX, and I think all plain TeX macros should
 work in ConTeX. Am I right ?

 Regrads,

 xiaojf
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \AA cannot be uesed in math mode?

2007-04-25 Thread [EMAIL PROTECTED]
Hi,

I want to get a sign of angstrom in an math formula, here is my example:
%
\starttext
$\AA$
\stoptext
%
and the error message:
%
systems : begin file d at line 1
! Please use \mathaccent for accents in math mode.
\dochar #1-\char
  #1\relax
\dobuildtextaccent ...{\let \char \normalaccent #1
  \let \char \normalchar #2}
l.2 $\AA
$
%

I can use \AA successfully in text mode.
Is there anything wrong with my tex file?

Thanks.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt versioning model critique

2007-04-22 Thread [EMAIL PROTECTED]
Taco Hoekwater wrote:
 [EMAIL PROTECTED] wrote:
   
   
   
   I strongly agree that ConTeXt needs an improved versioning model.
 

 I agree. We probably all agree, Hans included. But we also need
 improved days with more (or longer) hours. That, and pdftex and
 xetex should stop evolving.  Nothing is as disruptive as new
 features :-)

   
  Currently i'm using the standalone version of ConTeXt, which is easy
  to config and works well. So maybe ConTeXt can be distributed as a
  standalone package, and it auto detects available TeX 
resources(Xetex,et al)
  on the computer and make use of them.
 In the autumn, Hans and I hopefully have the spare time to think
 about some of the issues related to context releases, patches and
 distributions.
 Best wishes,
 Taco

   
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt versioning model critique

2007-04-20 Thread [EMAIL PROTECTED]
Vyatcheslav Yatskovsky wrote:
 Dear Patrtic,

   
 ... ConTeXt would probably stabilize, which IMHO is not a good thing.
 One thing I really love ConTeXt for is the speed new techniques are
 adopted (pdf features, luatex,...) One day we might have a ConTeXt
 MKII book for those who are afraid of swithing to pdftex2.
 

 ConTeXt should be eventually stabilized so that someone can make some use of 
 it. But, there is a way for rapid adopting of new techniques too.

 My experience of using open-source products (I'm best familiar with Moodle) 
 suggest that there should be overlapping cycles in development:
 1. Allocate new version number and start implementing new features.  Many 
 things are broken at the moment and the version becomes unusable for 
 production purposes. 
 2. Stabilize this version and make definite release (number x.x.). Now it can 
 be used for production.
 3. Continue resolve bugs in this version AND perform Step 1 IN PARALLEL.

 Moodle follows this model and I always wandered how smooth it was to migrate 
 between releases. Everything is completely predictable.
 Please, look at http://download.moodle.org/ to get the idea of their 
 versioning.

 I think ConTeXt needs similar versioning model badly. Now it has rather naive 
 model (release dates) that doesn't help in deciding about stability at all.

   
  I strongly agree that ConTeXt needs an improved versioning model.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How can I configure the context in order to use CJK-Ext B chinese characters in context?

2006-12-18 Thread [EMAIL PROTECTED]
Hans Hagen wrote:

 if not one can define a conversion; however, some encodings have problems 
 because chars  127 are used, which will mess up macro handling

   

 which brings me to luatex and chinese ... in luatex we can do input 
 reencoding in more clever ways and since we will move on to luatex (pdftex 2) 
 next year, it makes sense if chinese users start providing input for this 
 (apart from other input when we arrive at the font issues) .. 

 Hans 
   
 Excuse me, what do you mean by start providing input for this  ? What 
to provide and how to provide ?

 I'm not an expert in TeXing, but I'm willing to help ConTeXt to do 
better in processing Chinese.

 Regards,

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


Re: [NTG-context] background music in ConTeXt

2006-12-14 Thread [EMAIL PROTECTED]
Zhichu Chen wrote:
 \setupinteraction
   [openaction= . . . ]

 On 12/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   
Thanks.

Can you just give a simple example ?


Regards,

xiaojf

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


[NTG-context] background music in ConTeXt

2006-12-13 Thread [EMAIL PROTECTED]
Hi,

How to set background music in a presentation ? I mean, I want the audio to
start automatically as a background when the pdf file is opened, not as 
a hyper link.

Thanks a lot.

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


Re: [NTG-context] OpenOffice export

2006-12-04 Thread [EMAIL PROTECTED]
Idris Samawi Hamid wrote:
 On Sun, 03 Dec 2006 20:09:51 -0700, [EMAIL PROTECTED]  
 [EMAIL PROTECTED] wrote:

   
 I just learned that OOo 2.04 has a LaTeX export (downloading now). Any  
 of
 you bright programmers up to writing a ConTeXt export (or porting the
 LaTeX filters to ConTeXt)?
   

 snip

   
 I think ConTeXt needs a stronger version control to enable this feature.
 

 Can you explain what you mean by this? (Sorry if I'm clueless-)

 Idris

   
Sorry for my bad English.

I mean that we need stable versions of ConTeXt. When one version of 
ConTeXt is
frozen, it only allows bugs to be fixed, and no new features are allowed to
be added to this version. New features should be added to next major 
release.


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


Re: [NTG-context] OpenOffice export

2006-12-03 Thread [EMAIL PROTECTED]
Idris Samawi Hamid wrote:
 Hi gang,

 I just learned that OOo 2.04 has a LaTeX export (downloading now). Any of  
 you bright programmers up to writing a ConTeXt export (or porting the  
 LaTeX filters to ConTeXt)?

 I'm quite serious: if anyone is interested I'll write (or help write) a  
 grant proposal for it (I've already had some TeX-related proposals funded  
 so...).

 Please write me if you are interested in a grant, or else we can just  
 discuss it on dev-context@ntg.nl and get it done another way!

 Best
 Idris

   
I think ConTeXt needs a stronger version control to enable this feature.


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


[NTG-context] How tow setup different fonts for Chinese and English ?

2006-12-01 Thread [EMAIL PROTECTED]
Hi,

I'm writing notes with ConTeXt while learning something. The notes 
contains both
English and Chinese.

My question is ,how to setup different fonts for English and Chinese? I 
mean, I just
need to setup once, and all the English words in the notes will use the 
same font
while all Chinese words uses another different font.

Thanks a lot.

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


[NTG-context] How to set a picture as the background of sildes ?

2006-10-03 Thread [EMAIL PROTECTED]
Hi,

I am going to write a slides with a picture as background. I have 
googled but got no hints.

Can someone recommend how to achieve this?

Thanks in advance!

Best regards.

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


Re: [NTG-context] A new manual

2006-10-02 Thread [EMAIL PROTECTED]
John R. Culleton wrote:
 What is needed now for greater acceptance of Context is not new
 features but a new manual, perhaps a multi volume set with a
 common index. The 2001 manual is great, but many of the features
 discussed daily here are not in it. One must chase around the
 wiki and the individual manuals like details, and that is not
 satisfactory from the point of view of the new user. Most of us
 have memorized the locations of key information but newcomers
 have not.

 If a consolidated manual set were offered for sale there would be a
 lot of customers. Or an abridged version, something like the
 1999 Excursion manual but expanded and updated, would be a
 possibility. 

   
I agree.

A better and up-to-date manual will surely help the promotion of ConTeXt,
because it make it easier to know it, learn it, use it and fall in love
with it, not just for new users, but also for all non-expert people.

Regards,

xiaojf



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


[NTG-context] How to make copyable Chinese documents ?

2006-10-02 Thread [EMAIL PROTECTED]
Hi,

My friends can use LaTeX+CJK or LaTeX+CCT to generate Chinese documents
the Chinese characters in which can be selected and copied. The 
procedure is using
 LaTeX to convert .tex file to .dvi, then using gs to convert .dvi to .pdf.

I can use ConTeXt to generate .pdf file directly from .tex. and the Chinese
characters can be selected, but when I try to paste it to another text 
editor, it
looks like this üèÃËÂæúïÅ«§ÍÔ.

I am using chinese module in ConTeXt version before 2005.12.19. Will the 
new
version of ConTeXt fix this.

Regards,

Xiao Jianfeng

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


[NTG-context] How to make copyable Chinese documents ?

2006-10-02 Thread [EMAIL PROTECTED]
Hi,

My friends can use LaTeX+CJK or LaTeX+CCT to generate Chinese documents
the Chinese characters in which can be selected and copied. The 
procedure is using
 LaTeX to convert .tex file to .dvi, then using gs to convert .dvi to .pdf.

I can use ConTeXt to generate .pdf file directly from .tex. and the Chinese
characters can be selected, but when I try to paste it to another text 
editor, it
looks like this üèÃËÂæúïÅ«§ÍÔ.

I am using chinese module in ConTeXt version before 2005.12.19. Will the 
new
version of ConTeXt fix this.

Regards,

Xiao Jianfeng

//sorry for a second post, but my first post became a reply of another thread.

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


[NTG-context] Footnotes on wrong page

2006-06-05 Thread [EMAIL PROTECTED]
I wrote about this a few days ago, but did not get a response, perhaps because 
I included sample code. So...this time I am including the main part of my code 
so you can perhaps see what I am doing wrong.

My problem is that many of my footnotes show up on the wrong page. Sometimes 
the text that references the footnote is at the bottom of a page, and the 
footnote number shows up with a small graphic arrow next to it. In these cases, 
the actual footnote text will show up on the next page. Also in this case, the 
footnote number with the footnote text will usually be labeled 1, even though 
the next footnote after it (the one that really belongs on that page) is 
numbered 1 also.

Sometimes footnote numbers appear in the text even though there is no footnote 
on any page that has that number.

Any help is appreciated.

Jeff Dodson


_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

% Use t-ancientgreek module for typesetting ancient Koine Greek
\usemodule[ancientgreek][font=Aristarcoj,scale=1.1]
%\usemodule[ancientgreek][font=KadmosNew,scale=1]
%\usemodule[ancientgreek][font=GreekGentiumAlt,scale=1]

% Set up custom paper size
\definepapersize[TradePaper][width=6in,height=9in]
\setuppapersize[TradePaper][TradePaper]

% Set up page layout
\setuplayout
[
topspace=.3in,
%bottomspace=.25in,
bottomspace=0in,
bottom=.25in,
bottomdistance=.1in,
cutspace=0in,
backspace=.5in,
header=.2in,
headerdistance=.1in,
footer=0in,
rightmargin=0in,
leftmargin=0in,
height=8.15in,
width=4.75in
]

% Use 12pt font by default
\setupbodyfont[Serif,11pt]

% Set up line-break tolerance
\setuptolerance[horizontal,space,verytolerant]
\raggedbottom

% Set up indentation parameters
\setupindenting[big,yes]
%\setupindenting[medium,yes]
\indenting[always]

% Set up inter-paragraph spacing
\setupwhitespace[medium]

% Set up a counter that will act as our footnote label
\newcounter\fnumlabel

% Set up special command to turn off default footnote numbers next to footnote text
\def\deffnumsoff#1{\tfxx}

% Set up footnotes in paragraph form (n=0) with proper font size, etc., and no default footnote numbers.
% Footnote numbers will be part of actual footnote text.
\setupfootnotes[n=0,bodyfont=9pt,way=bypage,before=\crlf\hairline,textcommand=\vii\high,style=\it\vii,rule=off,numbercommand=\deffnumsoff,split=tolerant]

% Left-justify footnotes
\setupfootnotedefinition[distance=0pt]

% Set up custom macro to replace default \footnote macro. This macro will include the footnote number
% as part of the footnote text and then increment the footnote label counter for the next footnote.
\def\fnote#1#2{\footnote[\fnumlabel]{\note[\fnumlabel]\localgreek{#1}, \ix{\it{#2}}}\increment\fnumlabel}

% Set up footnotes so that there is hyphenation
%\setupnote[footnote][align={normal,hyphenated}]
\setupnote[footnote][align={nothyphenated,stretch,verytolerant}]

% Set up macros to handle drop-cap chapter numbers
%\def\DropChapOne{\DroppedCaps{}{Serif}{4\baselineskip}{0pt}{2\baselineskip}{3}}
\def\DropChapOne{\DroppedCaps{}{Serif}{2.4\baselineskip}{5pt}{1\baselineskip}{2}}
\def\DropChap{\DroppedCaps{}{Serif}{2.4\baselineskip}{5pt}{1\baselineskip}{2}}

% Set up marker for verses
\definemarking[verse][verses]

%
% Text formatting macros:
%

% Very large dropped number for first chapter number of book
\def\bookbeg#1#2{\DropChapOne{#1}\marking[verse]{#1:#2}}

% Large dropped number for subsequent chapter numbers
\def\chapnum#1#2{\par\DropChap{#1}\marking[verse]{#1:#2}}

% Smaller, bold number followed by a non-breaking space for verse numbers
\def\versenum#1#2{{\tfx\bf #2}~\marking[verse]{#1:#2}}

% Macro for all Greek text. Note that we turn off hyphenation in this text.
\def\lg#1{\localgreek{#1}}
\def\lag#1{\localaltgreek{#1}}

% Book-style alternating pages
\setuppagenumbering[alternative=doublesided,location=,way=bytext,partnumber=no]
\setupbottomtexts[pagenumber]
\setupbottom[style=\tf,state=high]

% Clear out header texts, then set them up again
\setupheadertexts[]
\setupheadertexts[\setups{text a}][][][\setups{text b}]

% Set up header text for odd pages
\startsetups[text a]
  \hfill
  \getmarking[chapter]
  \hfill
  \llap{\getmarking[verse][first]--\getmarking[verse][last]}
\stopsetups

% Set up header text for even pages
\startsetups[text b]
  \rlap{\getmarking[verse][first]--\getmarking[verse][last]}
  \hfill
  \getmarking[chapter]
  \hfill
\stopsetups

% Hairline under every header
%\setupheader[text][after=\hairline]
\setupbackgrounds[header][text][frame=off,bottomframe=on]

% Special command to turn off chapter title numbers
\def\nochapnum#1{\crlf\crlf\crlf}

% Set up beginning-of-chapter pages so that they don't have headers
\setuphead[chapter][numbercommand=\nochapnum,distance=0pt,header=high,footer=empty,textstyle=\tfd,alternative=middle]

% 

Re: [NTG-context] Using doublesided and even blank page shows header

2006-06-04 Thread [EMAIL PROTECTED]
Thank you! I believe I understand, so I will try this out.

Jeff Dodson


_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!


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


[NTG-context] Using doublesided and even blank page shows header

2006-06-03 Thread [EMAIL PROTECTED]
I have the following in my environment setup:

\setuppagenumbering[alternative=doublesided,location=]

I am properly getting the doublesided page setup. Also, chapters begin only on 
odd pages, which is exactly what I want.

However, when a chapter ends on an odd page, the next (even) page that I would 
like to be completely blank instead contains both the header and footer. I 
found one other thread in this forum that told how to make this extra even page 
totally blank. However, I am not an advanced ConTeXt user yet, and I did not 
understand how to implement the solution. Is there a simple explanation of how 
to eliminate the header and footer on this even page?

Jeff Dodson


_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!


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


[NTG-context] Want to turn off hyphenation in main text but on in footnotes

2006-06-01 Thread [EMAIL PROTECTED]
Hello All,
Is there a way to turn off hyphenation for the main body of my text, but enable it for the footnotes?
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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


Re: [NTG-context] Space between footnote number and text

2006-05-29 Thread [EMAIL PROTECTED]
I felt a little bad about asking everyone else to do my work for me, so I did take a stab at solving my footnote line-break issue :). I came up with something that seems to work, but I'm not sure it is the simplest or best way to do it. Basically, I used something from your last post (the \specialcommand) to turn off the default footnote number completely and instead include the footnote number as part of the footnote text:
% Create a counter that will act as our footnote labels\newcounter\MyFootnoteLabel
% Create a special command to turn off the default footnote number\def\TurnOffDefFootNum#1{}
% Set up footnoting in paragraph form (n=0) with no default footnote number\setupfootnotes[n=0,way=bypage,numbercommand=\TurnOffDefFootNum]
% Create macro to replace standard footnote macro. This macro will include% the footnote number as part of the footnote text so that we can keep it from% getting split onto a different line from the footnote text\def\fnote#1{\footnote[\MyFootnoteLabel]{\note[\MyFootnoteLabel]~#1}\increment\MyFootnoteLabel}
% Test with some output\starttext
Now\fnote{Footnote number one} %is\fnote{Footnote number two} %the\fnote{Footnote number three} %time\fnote{Footnote number four} %for\fnote{Footnote number five} %all\fnote{Footnote number six} %good\fnote{Footnote number seven} %men\fnote{Footnote number eight} %to\fnote{Footnote number nine} %come\fnote{Footnote number ten} %to\fnote{Footnote number eleven} %the\fnote{Footnote number twelve} %aid\fnote{Footnote number thirteen} %of\fnote{Footnote number fourteen} %their\fnote{Footnote number fifteen} %country.\fnote{Footnote number sixteen} %
\stoptext
I put a non-breaking space in this example, but it seems to work with no space there as well. It is hard to get a number to split on purpose anyway, but I found that by successively adding"i" characters to any footnote text, I could eventually cause the next footnote to leave its number on one line and its text on the next. However, after the above, the first word of the footnote text seems to stay with the footnote number regardless, which is what I wanted.
I would be interested in knowing though if there is a simpler solution.
Also, any idea what might be causing some whole footnotes to appear on, say, page 11, when the text that references the footnote is on page 10? Is this something I just have to fix by tweaking my main text?
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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


Re: [NTG-context] Space between footnote number and text

2006-05-28 Thread [EMAIL PROTECTED]
Thank you for the response! Here is what I found. The code you suggested...
\def\specialcommand#1{\high{#1}~~~}\setupfootnotes[n=0,numbercommand=\specialcommand]\setupfootnotedefinition[distance=0pt]
...actually produced *more* space between the footnote number and the text of the footnote. However, I removed the three tilde (~~~) characters and I got *no* space between the footnote number and text, which is what I wanted to achieve.
A couple of other questions though:
1) My footnotes sometimes still "break" in that the footnote number will be at the end of a line and the footnote text at the beginning of the next line. I tried putting one of the non-breaking space (~) tilde characters back in, just to see if that would prevent the break. However, it *does not* prevent the break...the footnote number and text are still separated. Is there any way to force footnote numbers to be on the same line as the first word of the footnote?
2) Sometimes the last few footnote numbers in the body of my main text appear with a small arrow next to them. These footnotes end up on the next page of text rather than on the page where they are referenced. What is the best solution to this type of thing?
3) Is there a way to turn off hyphenation in the main body of my text, such as with "\nohyphens", but turn *on* hyphenation in the text of the footnotes. My main text is ancient Greek, while my footnotes are mostly English. The Greek is hard to read if it is hyphenated, but I get much better formatting in the footnotes if hyphenation is turned on.
Thanks for the help. I am much closer to what I want now.
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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


[NTG-context] Space between footnote number and text

2006-05-27 Thread [EMAIL PROTECTED]
Does anyone know of a way to get rid of the space between a footnote number and the footnote text? I am formatting my footnotes in paragraph form (n=0) and sometimes the footnote numbers actually appear at the end of a line with the textwrapped around tothe beginning of the next line (which doesn't look very attractive). I would prefer there to be no space at all between the footnote number and the text, but if there has to be one, it seems like it should be a non-breaking space. Is there a way to "fix" this?
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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


[NTG-context] Footnote Formatting

2006-05-26 Thread [EMAIL PROTECTED]
I am new to ConTeXt and have two questions about footnote formatting.
I have noticed that there is always a space between the footnote number and the actual text of the footnote. My first question is: How can I eliminate this space or at the very least replace the space with a non-breaking space. On my system, the footnote numbers sometimes appear at the end of a line while the footnote text wraps around to the next line.
Also, I am formatting my footnotes with \setupfootnotes[n=0,...] so that they appear at the bottom of the page in paragraph form (i.e., not one footnote per line). Due to a section change in the document, I may restart footnote numbering at "1" in the middle of a page. When this happens, I would like to indent footnote #1 just like you would indent a paragraph. My second question is: Can this be done?
Any help offered will be greatly appreciated!
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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


[NTG-context] Dropped caps and line length

2006-05-26 Thread [EMAIL PROTECTED]
I am using dropped caps in my document, and I have noticed an occasional problem related to them. The problem is that in paragraphs that have dropped caps, an occasional line will run off into the right-hand margin instead of being hyphenated or wrapped around to the next line.
I have to confess that I modified the DroppedString in supp-fun.tex (where \DroppedCaps is defined) to add the digits 0 through 9 so that I could have numbers as dropped caps. I thought at first that this might have caused the problem. However, I switched back to an original installation of ConTeXt and found that the problem occurred there too.
This is especially pronounced with certain fonts.
I also tried using the lettrine module to perform the dropped caps, but saw the same effect there.
I will add also that I am using the t-ancientgreek module, and the text in question is polytonic Greek.
Thanks in advance for any help offered. I am new to ConTeXt so if my questions are trivial, please pardon!
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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


[NTG-context] Question about t-ancientgreek module

2006-05-25 Thread [EMAIL PROTECTED]
Hello,
I have a question about the t-ancientgreek module for typesetting ancient Greek.
I am using DroppedCaps (although I am dropping a numeral instead of a letter in a paragraph...I modified the DroppedString to contain the numerals 0-9) in a paragraph of ancient Greek typeset in the GreekGentiumAlt font. Most paragraphs look fine, but occasionally a word will extend out into the margin instead of being hyphenated or wrapped over into the next line.
Here is a bit of sample code that shows this:
% Use t-ancientgreek module for typesetting ancient Koine Greek\usemodule[ancientgreek][font=GreekGentiumAlt,scale=1]
% Set up indentation parameters\setupindenting[medium]\indenting[always]
% Set up inter-paragraph spacing\setupwhitespace[medium]
% Set up macros to handle drop-cap chapter numbers\def\DropChapOne{\DroppedCaps{}{Serif}{3.8\baselineskip}{2pt}{2\baselineskip}{3}}\def\DropChap{\DroppedCaps{}{Serif}{2.3\baselineskip}{3pt}{1\baselineskip}{2}}
% Set up book start macro...Syntax: book[Chapter][Verse]{Text}\def\book[#1][#2]#3{\par\DropChapOne{#1}\localgreek{#3}}
% Set up chapter start macro...Syntax: chapt[Chapter][Verse]{Text}\def\chap[#1][#2]#3{\par\DropChap{#1}\localgreek{#3}}
% Set up verse macro...Syntax: verse[Chapter][Verse]{Text}\def\verse[#1][#2]#3{\high{\tfxx \bf #2}\localgreek{#3}}
\starttext\book[1][1]{ í ð'' ñ÷ò,  êçêüáìåí,  ùñÜêáìåí ôïò öèáëìïò ìí,  èåáóÜìåèá, êá á ÷åñåò ìí øçëÜöçóáí ðåñ ôï ëüãïõ ôò æùò.}\verse[1][2]{Êá  æù öáíåñþèç, êá ùñÜêáìåí, êá ìáñôõñïìåí, êá ðáããÝëëïìåí ìí ôí æùí ôí áþíéïí, ôéò í ðñò ôí ðáôÝñá, êá öáíåñþèç ìí.}\verse[1][3]{ ùñÜêáìåí êá êçêüáìåí, ðáããÝëëïìåí ìí, íá êá ìåò êïéíùíßáí ÷çôå ìåè'' ìí êá  êïéíùíßá ä  ìåôÝñá ìåô ôï ðáôñò êá ìåô ôï õï áôï çóï ÷ñéóôï}\stoptext
Note also that some fonts show this problem while others do not. For instance, the Aristarcoj font does not show this problem. Also, if I remove the dropped cap numeral from any given paragraph, the problem does away.
Does anyone know what I might be doing wrong, or how I can correct this problem? Any help anyone is able to give will be greatly appreciated!
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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


Re: [NTG-context] multiple line comments

2006-03-28 Thread [EMAIL PROTECTED]
Hi all,

I do the following:

\def\com#1{\blank{\bf commentaar:} {\em #1} ---}
%\def\com#1{}

When I need the comments in my printed text, I put a % for the second 
line. Simple.

Kind regards,

Robert


Hans Hagen wrote:

Hans Hagen wrote:
  

This one is pretty safe: 

\startbuffer[comment]
bla
\startbuffer
bla \iftrue \startbuffer bla bla
bla \stopbuffer bla bla
\stopbuffer
bla
bla
\stopbuffer


\starthiding
\stophiding

does not support nesting in the way buffers do (simply because it was 
not enabled); i added a few lines to the buffer handler, so that now we 
can say:

\definebuffer[mycomment][local=yes]

and have 

\startmycomment 
 
\stopmycomment

(this extension will be available in the next release) 

(btw, in a similar fashion verbatim supports some nesting, which was needed in 
order to be able to write manuals) 

Hans  


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


  

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


[NTG-context] xml / docbook

2006-03-24 Thread [EMAIL PROTECTED]
Hello,

Could anyone give some tips how to make Docbook work with context? I 
followed the documentation, but somehow it does not work. This would, i 
believe, also solve Johannes' problem.

Regards,

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


[NTG-context] hyphenation within columnsets with background

2005-04-06 Thread [EMAIL PROTECTED]
Hi, 

I am preparing a rather large text, completely set in 3 columns, which 
has lots of text with grey backgrounds.

During the preparation of this text, some questions came up :

1 - At first I put a grey background to my texts defining the 
following macros (they are used within columnsets): 

=
%start setting the text with a light grey background
\def\startlightgreybox{\setupframedtexts[frame=off, 
background=color, 
backgroundcolor=lightgrey, 
width=broad]
  \startframedtext
  {\bf Some frame title}}

%stop setting the text with a light grey background
\def\stoplightgreybox{\stopframedtext}
=


After a while, and to see what difference there was between both, I 
redefined both macros as : 

===
=
%start setting the text with a light grey background
\def\startlightgreybox{\setupbackground[background=color, 
backgroundcolor=lightgrey]
  \startbackground
  {\bf Some frame title}}

%stop setting the text with a light grey background
\def\stoplightgreybox{\stopbackground}  
===
==


And to my surprise, I saw, that hyphenation works clearly better when 
my backgrounds are defined with the second set of macros, which is of 
course good news, especially when using 3 columns, but : is there an 
explanation for this behaviour ?



2 - Another problem I have with those backgrounds is the following : 
they seem to work well when the text spreads over several 
columns/pages, as long as I don't force a 'next column' in the text.  
The following piece of context causes a 'TeX capacity exceeded' error:


\setupcolors[state=start]
\definecolumnset[driekol][n=3]
\setupbackground[background=color, backgroundcolor=gray]
\starttext
\startcolumnset[driekol]
\startbackground
this is the text I would like to have with a grey background
\column
and with a possibility to split columns ``manually'' when necessary
\stopbackground
\stopcolumnset
\stoptext

In the rare cases where I want to force a jump to the next column, I 
replace the \column command with:

\stopbackground
\column
\startbackground

Is this the only way to force column jumps when using backgrounds ?


Thanks,

Geert


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


[NTG-context] Re : My ConTeXt cannot use Type1 fonts...

2005-03-31 Thread [EMAIL PROTECTED]
I had exactly the same problem today after updating from an older
tetex/context to the latest version of tetex.

Problem seems to be some modifications in pdftex.

After moving my type1 fonts (that previously worked fine) with their
tfm, afm and type1 files to the new $HOME/.texmf-var/fonts folder,
putting the map files in $HOME/.texmf-var/fonts/map folder and including
those mapfiles with updmap, texexec generated the pdf file with pk
bitmap fonts.

Although I believed that tex could find all necessary font files and
mapfiles, it was only after explicitly adding

\loadmapfile[myownfonts.map] 

in the tex file, that everything suddenly worked fine (this was not
necessary in my old tetex/context setup).

Don't know if this will work with your chinese fonts, but you could give
it a try

geert


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


Re: [NTG-context] Re: pagenumbers in margin

2004-11-29 Thread [EMAIL PROTECTED]
Hello,

Sorry for being incomplete.  Below is an example that generates PDF.  
You will see the grey boxes with pagenumbers sticking out from the 
margins.  I want them not to stick out, but to move their outer border 
flush with the outer border of the margin.  What doesn't fit in the 
margin should go into the lower text area


Geert



\stelpapierformaatin[A5,liggend][A4,liggend]
\definieerkleur[middelgrijs][s=.5]

\def\mijnpaginanummer#1%
{\startkleur[wit]
\ss\bf\tfb
\inlijnd
[kader=uit,achtergrond=kleur,achtergrondkleur=middelgrijs,breedte=2.5cm,
h
oogte=1.1cm]%
{#1}
\stopkleur}
\stelnummeringin[variant=dubbelzijdig,plaats={onder,inmarge},%
commando={\mijnpaginanummer}]
\stellayoutin   [breedte=19cm,
hoogte=14.9cm,
kopwit=0cm,
rugwit=1cm,
hoofd=2.5cm,
linkermarge=1.2cm,
rechtermarge=1.2cm,
linkermargeafstand=0cm,
rechtermargeafstand=0cm]
\stelkleurenin  [status=start]
\stelkleurin[rgb]
\stellayoutin   [plaats=midden,markering=kleur]
\steltolerantiein   [soepel]
\toonkader
\stelblokkopjesin[plaats=geen]  %We willen geen legende of nummer bij 
figuren of tabellen
%geen uitlijnen van de rechtermarge:
\steluitlijnenin[rechts]
\starttekst

\dorecurse{20}{%
Op een grote paddestoel vol met witte stippen\par
Zat kabouter Pinnemuts heen en weer te wippen\par
Krak zei de paddestoel met een diepe zucht\par
Allebei de beentjes vlogen in de lucht\par
\pagina
}
\stoptekst

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


Re: Re: [NTG-context] pagenumbers in margin

2004-11-28 Thread [EMAIL PROTECTED]
Hello,

As I told before, I want the grey box as defined in the page numbering 
(see below) to appear with its outer border aligned to the outer border 
of the outer margin.  Right now, it aligns with its inner border to the 
inner border of the outer margin.  I tried with uitlijnen=buiten but 
without success.

Here is a minimal file, as asked for : 


\def\mijnpaginanummer#1%
{\startkleur[wit]
\inlijnd 
kader=uit,achtergrond=kleur,achtergrondkleur=middelgrijs,breedte=2.5cm,h
oogte=1.1cm]%
{#1}
\stopkleur}
\stelnummeringin[variant=dubbelzijdig,plaats={onder,inmarge},%
commando={\mijnpaginanummer}]
\stellayoutin   [breedte=19cm,
hoogte=14.9cm,
kopwit=0cm,
rugwit=1cm,
hoofd=2.5cm,
linkermarge=1.2cm,
rechtermarge=1.2cm,
linkermargeafstand=0cm,
rechtermargeafstand=0cm]
...



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


[NTG-context] pagenumbers in margin

2004-11-27 Thread [EMAIL PROTECTED]
Hello,

After a long period of Context inactivity, I am again into document 
preparation.

I want to put the pagenumbers in a doublesided document in the outer 
margin.  So far no problem at all...  but I want the number to be 
placed in a 3cm wide grey box, wich I do with an inframed command 
within the pagenumbering setup.  

This also works more or less, but (see if I can explain this in plain 
english without using figures !!.) :

The grey box with the pagenumber aligns its inner border with the inner 
border of the outer margin.  

What I want is the grey box to align its outer border with the outer 
border of the outer margin.

Any suggestion ?

Geert Dobbels.

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


[NTG-context] pstoedit

2004-11-17 Thread [EMAIL PROTECTED]
   Hello,

I have been trying to use pstoedit to generate a .mp
file but it doesn't work :-( I have followed these
steps:

1.- With Gimp: test.gif - Save as: test.ps
2.- pstoedit (as Metafun manual indicates): pstoedit
-ssp -dt -f mpost test.ps test.mp
But test.mp seems empty (just lines with % and so)

So, any link to continue reading? Any suggestion?

   Regards,
   Jorge



__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

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