Re: [NTG-context] TOC: page headers

2007-11-15 Thread Wolfgang Schuster
2007/11/15, Jeff Smith [EMAIL PROTECTED]:
 On Nov 14, 2007 8:15 PM, Idris Samawi Hamid [EMAIL PROTECTED] wrote:

  If possible, post a minimal example that illustrates the problem; use
  \input's like ward.tex, knuth.tex, zapf.tex etc. (in the distro) so some
  of us can run the test file and report back. Sometimes someone will know
  the answer without such an example but for even faster service ;-) always
  try to include a minimal example when possible.

 Indeed. I'm truly sorry. I attach a sample document with the relevant
 stuff. I made the TOC start a little lower on the page just to provoke
 the page switching, instead of adding an unwieldy amount of dummy
 chapters to acheive the same result.

 Thanks, and sorry again!
 Jeff

Hi Jeff,

you can use dummy chapters next time without problems. I changed a few
of your settings because this should be a nice example I could use myself
in the future (it's to easy to forgot many of the necessary settings).

\usemodule[visual] % example with faked text

\setuplayout
  [width=middle,
  footer=2cm,
  topspace=2cm,
  header=1.3em,
  height=middle,
  backspace=3cm,
  headerdistance=0.3cm,
  footerdistance=0cm]

\startsetups header:bodymatter

\setupbackgrounds[header][text][frame=off,bottomframe=on]

% Hans mentioned this method long ago on the list

\setupheader
  [text]
  [lefttext={\it\getmarking[chapternumber].\space\getmarking[chapter]},
   righttext=\pagenumber]

\stopsetups

\startsetups header:frontmatter

\setupheader
  [text]
  [righttext=\pagenumber]

\stopsetups

\setupsectionblock
  [frontpart]
  [page=yes, % else problem with last page of the table of contents
   before=\setups{header:frontmatter}]

\setupsectionblock
  [bodypart]
  [page=no,
   before=\setups{header:bodymatter}]

\setupsectionblock[appendix] [page=no]
\setupsectionblock[backpart] [page=no]

\setuppagenumbering
  [state=start,
   location=, % already set with \setupheadertexts
   way=bytext,
   partnumber=no,
   conversion=numbers] % default

\definetext[chapter][footer][pagenumber]
\setuphead[chapter][header=high,footer=chapter]

\setuphead
  [part]
  [%header=high, % already done for the chapter header
   %footer=high, % overloads the chapter setting, footer=pagenumber
   placehead=no,
   resetnumber=no]

\setupheadtext[fr][content=Table des mati\egrave res]
\mainlanguage[fr]

\starttext

\startfrontmatter

\completecontent

\stopfrontmatter

\startbodymatter

\dorecurse{3}
  {\part{\fakewords{5}{10}}
   \dorecurse{3}
 {\chapter{\fakewords{5}{10}}
  \dorecurse{2}
{\section{\fakewords{5}{10}}
 \fakewords{150}{200}
 \dorecurse{2}
   {\subsection{\fakewords{5}{10}}
\fakewords{150}{200}

\stopbodymatter

\stoptext

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] referencing footnotes in another place

2007-11-15 Thread Andrea Valle

(Ah well, I'm a recordman for typos...:-))

I was thinking too about the database approach, but a system of  
replacements would be enough for my needs.

It would allow me to organize better the source files.

OTOH for large projects this could get a bit unwieldy and  
unmanageable.


Yes, that's true. But I was thinking about e.g. an article with long  
footnotes



Better in my view is to use an editor that supports folding, use a
\start-stopfootnote macro, and fold them out of site when not  
needed (I

have this in the Notepad++ setup).


This is a possibility, indeed

Another idea is a lua script that texexec could use to label and/or  
move

all the notes to a separate database for analyses or other processing.


Of course it would be interesting for critical editions.
My main concern was not so advanced. The separation between body text  
and footnotes is

the only thing I miss from wysisyg.

Best

-a-





It all needs thought...

Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
__ 
_
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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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] referencing footnotes in another place

2007-11-15 Thread Idris Samawi Hamid
Hi Andrea,

On Thu, 15 Nov 2007 17:22:09 -0700, Andrea Valle [EMAIL PROTECTED] wrote:

 Hi to all,

 the only thing I don't like in -TeX packages approach while writing
 is that I have to attach the footnotes to their indices.
 ConTeXt is so clever. Isn't there a way to store the footnotes in
 another place of the file (or in another file, that's the same) and
 referring to the in the text.
 When I have many footnotes in the source I get crazy to follow the
 body text.

 I mean, with an exemplum fictum

 This is my footnote\fn{myfn}, even if it's just my imagination

 so that there's a way to a have

 myfn = just a note

 Maybe with buffers?
 I'm an ignorant on the matter

Hmm, this is interesting. Basically this would involve something like the  
bibliography module {tag + database}. Could be useful for organizing  
things like critical-edition apparati.

OTOH for large projects this could get a bit unwieldy and unmanageable.

Better in my view is to use an editor that supports folding, use a  
\start-stopfootnote macro, and fold them out of site when not needed (I  
have this in the Notepad++ setup).

Another idea is a lua script that texexec could use to label and/or move  
all the notes to a separate database for analyses or other processing.

It all needs thought...

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] referencing footnotes in another place

2007-11-15 Thread Andrea Valle

Hi to all,

the only thing I don't like in -TeX packages approach while writing  
is that I have to attach the footnotes to their indices.
ConTeXt is so clever. Isn't there a way to store the footnotes in  
another place of the file (or in another file, that's the same) and  
referring to the in the text.
When I have many footnotes in the source I get crazy to follow the  
body text.


I mean, with an exemplum fictum

This is my footnote\fn{myfn}, even if it's just my imagination

so that there's a way to a have

myfn = just a note

Maybe with buffers?
I'm an ignorant on the matter

Thanks

-a-

--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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] referencing footnotes in another place

2007-11-15 Thread Idris Samawi Hamid
On Thu, 15 Nov 2007 17:46:49 -0700, Idris Samawi Hamid  
[EMAIL PROTECTED] wrote:

 Better in my view is to use an editor that supports folding, use a
 \start-stopfootnote macro, and fold them out of site when not needed

UGH ...and fold them out of sight when not needed...

Embarrassed,
I
-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] combination with an additional line centered in a placefigure?

2007-11-15 Thread Peter Schorsch
Hi,

as soon I enter the cbox-line the combination is not longer centered. I tried 
to embed the combination in a cbox, but that had no effect. Has anyone a hint 
how to center the combination successfullly? 

\starttext
\placefigure
[force][fig:xy]
{captiontext}
{\startcombination[2*1]
{\externalfigure[xxx][]}{}
{\externalfigure[yyy][]}{}
\stopcombination
\cbox{\tfx Quelle: XY}
}
\stoptext

Thanks, P.
___
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] Long s in ConTeXt

2007-11-15 Thread Andreas Hauser
lutz.haseloff wrote @ Wed, 14 Nov 2007 10:56:44 +0100:


 You can try following file:
 --
 % engine=xetex
 \font\myfont=Vollkorn at 12pt\myfont
 \starttext
 ſ
 \stoptext
 --
 
 Every otf/ttf font containing a ſ will work.

Live i get:
http://live.contextgarden.net/output.cgi?id=pOm785

and locally:

-8-
...
kpathsea: Running mktexmf Vollkorn
! I can't find file `Vollkorn'.
...
-8-

So I guess, I don't have that font locally. Maybe there is a good standard
font with many special characters? It would be nice if other people could
also easily compile the tex source. Is it generally a superior font for
special characters?

How do I go about finding a font that contains all my special characters?

I have at least ſ (long s), aͤ (a^e SMALL e ABOVE), ʒ etc. Most are from a
historical context. And a lot of ligatures. As I understand Mac OS is able
to produce arbitrary ligatures. But will this work on a Linux too?

I followed Tacos advise and am subscribed now.

-- 
Thanks
Andy
___
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] combination with an additional line centered in a placefigure?

2007-11-15 Thread Thomas A. Schmitz

On Nov 16, 2007, at 8:14 AM, Peter Schorsch wrote:

 Hi,

 as soon I enter the cbox-line the combination is not longer  
 centered. I tried
 to embed the combination in a cbox, but that had no effect. Has  
 anyone a hint
 how to center the combination successfullly?

 \starttext
 \placefigure
   [force][fig:xy]
   {captiontext}
   {\startcombination[2*1]
   {\externalfigure[xxx][]}{}
   {\externalfigure[yyy][]}{}
   \stopcombination
   \cbox{\tfx Quelle: XY}
   }
 \stoptext

 Thanks, P.

Hmm, untested: isn't that because you're lying to ConTeXt? I'm not  
quite sure what you want to achieve, but it looks like you don't want  
a 2*1 combination. Rather, you're looking for a 1*2 combination, the  
first part of which is a 2*1 combination, so I would guess that  
nesting those combinations would be the way to go.

Thomas
___
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
___