[NTG-context] Default latex font

2007-12-01 Thread Xavier J. B. L.
Hi,

I know that Context uses Latin Modern instead of Computer Modern that 
use Latex. I want to know how to change it.

Thank you very much,
Xan.
___
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] standardmakeup, frontmatter, bodymatter page numbering

2007-12-01 Thread Wolfgang Schuster
On Wed, 3 Oct 2007 01:36:54 +0200
Mojca Miklavec [EMAIL PROTECTED] wrote:

 Hello,
 
 I have a document consisting of title page, some introduction which
 should have pages numbered with roman numerals, and finally the real
 content
 
 \setuphead[subject][page=odd,style=\ss\bfb]
 \setuppagenumbering[location=]
 
 \starttext
 \startstandardmakeup
 title page
 \stopstandardmakeup
 
 \startfrontmatter
 \setuppagenumbering[conversion=romannumerals]
 \setupfootertexts[page \pagenumber{}]
 \subject{some intro pages}
 \input tufte
 \stopfrontmatter
 
 \startbodymatter
 \setupfootertexts[page \pagenumber{} of \totalnumberofpages]
 \dorecurse{10}{\subject{real content} \dorecurse{\recurselevel}{\input knuth} 
 }
 \stopbodymatter
 
 \stoptext
 
 Now the problems:
 1.) The second page starts counting at 1, while counting should start
 at page 3. This can be solved by using another
 \startstandardmakeup\strut\stopstandardmakeup.
 
 2.) The last page says page 26 of 27 - the total page number is
 indeed 27, but counting started on the second page, so it never
 reaches the last number.
 
 3.) I would like the page number on the first page of bodymatter to be
 page 1 of 23 instead of page 4 of 27, and the last one to ge page
 23 of 23 instead of page 26 of 27
 
 There is some way=bychapter setting for page numering, but in that
 case there are no suitable chapters/sections available.
 
 Any hints appreciated ...
 
 Thanks a lot,
 Mojca

Hi Mojca,

maybe I'm a little bit late with my answer but I stumpled across this
question after I was searching for something in the archive and I found
the following solution.

[...]
\startbodymatter
\page[odd] % only \page give a empty before the \section
\setuppagenumber[number=1]
\setupfootertexts[page \pagenumber{} of \lastpagenumber] % no \totalnumber...
\dorecurse{10}{\subject{real content} \dorecurse{\recurselevel}{\input knuth} }
\stopbodymatter
[...]

Wolfgang
___
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] Header unwanted on first page

2007-12-01 Thread Jean Magnan de Bornier
Hi all, 
I can't seem to see something which is certainly obvious!
I have this in my setups:
\setupheadertexts [section]
\setupheader [style=\ss\xii]
\setuphead[section][style=bold]


I don't want the header to appear on the first page, I tried various
solutions but failed so far.
Thanks for any good hint!
-- 
Jean
___
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] selectively turn off captions

2007-12-01 Thread Roger Mason
Idris Samawi Hamid [EMAIL PROTECTED] writes:


 The Middle Ages, almost BC in ConTeXt time...

 Must update, I'd start with a fresh, clean TeX if I were you.

 I think I just made it to the renaissance:

TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

Cheers,
Roger
___
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] Header unwanted on first page

2007-12-01 Thread Wolfgang Schuster
On Sat, 01 Dec 2007 12:03:55 +0100
Jean Magnan de Bornier [EMAIL PROTECTED] wrote:

 Hi all, 
 I can't seem to see something which is certainly obvious!
 I have this in my setups:
 \setupheadertexts [section]
 \setupheader [style=\ss\xii]
 \setuphead[section][style=bold]
 
 I don't want the header to appear on the first page, I tried various
 solutions but failed so far.
 Thanks for any good hint!

Hi Jean,

this is only possble if you start every section on a new page, you can
do this with the following setup

\setuphead[section][page=yes,header=empty]

Wolfgang
___
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] Default latex font

2007-12-01 Thread Xan
Xavier J. B. L. wrote:
 Hi,

 I know that Context uses Latin Modern instead of Computer Modern that 
 use Latex. I want to know how to change it.

 Thank you very much,
 Xan.

Please, reply me in this mail
Sorry
___
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] Default latex font

2007-12-01 Thread Peter Münster
On Fri, Nov 30, 2007 at 09:20:46PM +0100, Xavier J. B. L. wrote:

 I know that Context uses Latin Modern instead of Computer Modern that 
 use Latex. I want to know how to change it.

\usepackage[lmodern] should work.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
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] selectively turn off captions

2007-12-01 Thread Roger Mason
Hello all,

Hans Hagen [EMAIL PROTECTED] writes:

 you can try the current beta

It did not work with my updated version:

texexec --version
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

ctxtools --contexttools
CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD

figures : dimensions of Sapphire_world_map are determined
externally
(./main.ctx.tuo))
! Incomplete \iffalse; all text was ignored after line 161.
inserted text 
\fi
* main.ctx.tex 
 emergencyend
? 

Is this version still too old?

Thanks,
Roger
___
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] Header unwanted on first page

2007-12-01 Thread George N. White III
On Dec 1, 2007 7:03 AM, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:
 Hi all,
 I can't seem to see something which is certainly obvious!
 I have this in my setups:
 \setupheadertexts [section]
 \setupheader [style=\ss\xii]
 \setuphead[section][style=bold]


 I don't want the header to appear on the first page, I tried various
 solutions but failed so far.


I use:

\noheaderandfooterlines
\setupheadertexts[text][XX][YY]

-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
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] selectively turn off captions

2007-12-01 Thread Hans Hagen
Roger Mason wrote:
 Hello all,
 
 Hans Hagen [EMAIL PROTECTED] writes:
 
 you can try the current beta
 
 It did not work with my updated version:
 
 texexec --version
 TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
 
 ctxtools --contexttools
 CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD
 
 figures : dimensions of Sapphire_world_map are determined
 externally
 (./main.ctx.tuo))

where does that name come from ... ctx is reserved for context job 
control files

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
-
___
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] selectively turn off captions

2007-12-01 Thread Roger Mason
Hans Hagen [EMAIL PROTECTED] writes:

 (./main.ctx.tuo))

 where does that name come from ... ctx is reserved for context job 
 control files

The file name being compiled is main.ctx.tex.  I'm using the dual
extension .ctx.tex as a way of telling my editor (emacs) to invoke the
context mode of AUCTeX when I load a file with that extension.

Roger
___
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] selectively turn off captions

2007-12-01 Thread Jean Magnan de Bornier
Le 01 décembre à 14:15:24 Roger Mason [EMAIL PROTECTED] écrit notamment:

| The file name being compiled is main.ctx.tex.  I'm using the dual
| extension .ctx.tex as a way of telling my editor (emacs) to invoke the
| context mode of AUCTeX when I load a file with that extension.

Well, AucTeX does recognize a LaTeX file from a ConTeXt file; no need for that!
-- 
Jean
___
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] Header unwanted on first page

2007-12-01 Thread Jean Magnan de Bornier
Le 01 décembre à 13:52:52 George N. White III [EMAIL PROTECTED] écrit 
notamment:

| On Dec 1, 2007 7:03 AM, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:
|  Hi all,
|  I can't seem to see something which is certainly obvious!
|  I have this in my setups:
|  \setupheadertexts [section]
|  \setupheader [style=\ss\xii]
|  \setuphead[section][style=bold]
| 
| 
|  I don't want the header to appear on the first page, I tried various
|  solutions but failed so far.


| I use:

| \noheaderandfooterlines
| \setupheadertexts[text][XX][YY]

Thanks! 
\noheaderandfooterlines does exactly the job!

I see it's in the texshow-web but without any explanation... 
-- 
Jean
___
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] selectively turn off captions

2007-12-01 Thread Peter Münster
On Sat, Dec 01, 2007 at 03:05:33PM +0100, Jean Magnan de Bornier wrote:
 Le 01 décembre à 14:15:24 Roger Mason [EMAIL PROTECTED] écrit notamment:
 
 | The file name being compiled is main.ctx.tex.  I'm using the dual
 | extension .ctx.tex as a way of telling my editor (emacs) to invoke the
 | context mode of AUCTeX when I load a file with that extension.
 
 Well, AucTeX does recognize a LaTeX file from a ConTeXt file; no need for 
 that!

It seems to me, only if there is a \starttext in the file.

For files without \starttext you can put these lines at the end:

%%% Local Variables: 
%%% mode: context
%%% End: 

I don't need that no more, since I use
'(TeX-default-mode (quote context-mode))

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
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] Default latex font

2007-12-01 Thread Xan

Peter Münster wrote:

On Fri, Nov 30, 2007 at 09:20:46PM +0100, Xavier J. B. L. wrote:

  
I know that Context uses Latin Modern instead of Computer Modern that 
use Latex. I want to know how to change it.



\usepackage[lmodern] should work.

Cheers, Peter

  

In context?
I want to change Latin Modern to Computer Modern in context.

Thanks,
Xan.
___
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] selectively turn off captions

2007-12-01 Thread Roger Mason
Hello Jean  Peter,

Jean Magnan de Bornier [EMAIL PROTECTED] writes:

 Well, AucTeX does recognize a LaTeX file from a ConTeXt file; no need for 
 that!

I did it like that because I have (setq-default TeX-master nil) in my
.emacs so it asks then inserts the local variables that Peter
mentioned.  Having emacs recognise a context file by \starttext is
fine except when you open a new file.

This is drifting off topic but, if you have any tweaks to make AUCTeX
work better with context than it does out of the box then I'd be glad
to hear about them.

Roger
___
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] Default LaTeX font

2007-12-01 Thread Henning Hraban Ramm
Am 2007-12-01 um 19:35 schrieb Xan:

 On Fri, Nov 30, 2007 at 09:20:46PM +0100, Xavier J. B. L. wrote:

 I know that Context uses Latin Modern instead of Computer Modern  
 that use Latex. I want to know how to change it.
 \usepackage[lmodern] should work. Cheers, Peter
 In context?
 I want to change Latin Modern to Computer Modern in context.


Why? LM is the better version of CM, visually the same font.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] Opening ConTeXt files in emacs [was : selectively turn off captions]

2007-12-01 Thread Jean Magnan de Bornier
Le 01 décembre à 20:00:59 Roger Mason [EMAIL PROTECTED] écrit notamment:

| Hello Jean  Peter,

| Jean Magnan de Bornier [EMAIL PROTECTED] writes:

|  Well, AucTeX does recognize a LaTeX file from a ConTeXt file; no need for 
that!

| I did it like that because I have (setq-default TeX-master nil) in my
| .emacs so it asks then inserts the local variables that Peter
| mentioned.  Having emacs recognise a context file by \starttext is
| fine except when you open a new file.

| This is drifting off topic but, if you have any tweaks to make AUCTeX
| work better with context than it does out of the box then I'd be glad
| to hear about them.


Well, not specific to AucTeX, you could use one of emacs' template modes
to create new tex files, specifying the needed lines in the template.

http://www.emacswiki.org/cgi-bin/emacs-en/TemplatesMode

(I use template.el to choose e.g. from several styles to write letters,
and I like it).

On the other hand, AucTeX maintainers might be willing to develop something
specific for opening context files...

cheers,
-- 
Jean
___
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
___