Re: [NTG-context] Drop capital

2004-03-08 Thread Bill McClain
On Sun, 7 Mar 2004 23:40:29 +
Charles Doherty [EMAIL PROTECTED] wrote:

 I would like to use a drop capital at the start of 
 articles.

I have an example in this document:

http://home.salamander.com/~wmcclain/context-help.html

-Bill
-- 
Sattre Press  Tales of War
http://sattre-press.com/   by Lord Dunsany
[EMAIL PROTECTED] http://sattre-press.com/tow.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Update problems: TOC

2004-03-08 Thread Mari Voipio

Hello, all ConTeXters!

I finally got around to trying TeXLive2003 and the ConTeXt there. The good
news is that it installs into Windows2000 like a charm and all the old
font woes are now past worries, the fonts worked the first try. After
installing TeXLive I downloaded the newest ConTeXt from Pragma's pages and
it seems to be a working installation, too.

However, I have a problem to which I didn't find a solution in the mailing
list archives:
The Table of Contents doesn't work and that hangs the whole thing. If I
get rid of the command \placecontent, everything works perfectly, but once
I try to compile the file(s) with a TOC, this is what I get:

myContents : - Table of contents
(./pr-03.tuo
! Undefined control sequence.
\exitloop -\let \endofloop
\nodoloop
argument ...\zeropoint \unskip \else \exitloop
  \fi
\doloop ...@@arecurse \recursedepth \endcsname {#1
  }\global [EMAIL PROTECTED] \let
\csname...

\removeunwantedspaces ...kip \else \exitloop \fi }
  \fi
\endstrut ...trut \fi \else \removeunwantedspaces
  \normalpenalty [EMAIL PROTECTED]
\normal...
argument ...tentry {\v!hoofdstuk }{Introduction}
  }
...
l.7 ...1}{1}{Introduction}{2::0:1:0:0:0:0:0::1}{5}

?

---

Below you'll find a simplified version of my setups etc, maybe that will
help to pinpoint the problem. I hope somebody has a solution as I won't be
able to upgrade to any newer ConTeXt's until this is fixed.


Thanks for any help,

Mari



% --
% File starts here
% --

%output=pdftex

\definepapersize[a4short][width=210mm,height=11in]
\setuppapersize[a4short][a4]

\enableregime[il1]
\usetypescript[berry][ec]
\setupbodyfont[pos,10pt]

% This sets the look of the first level headings
\setuphead
[chapter]
[style=\sstfc,
prefix=+]

% This sets the look of the second level headings
\setuphead
[section]
[style=\sstfb]

% Third level headings
\setuphead
[subsection]
[style=\ssbf]

% Fourth level headings
\setuphead
[subsubsection]
[style=\ssit]

% -
% Settings concerning the Table of contents (TOC)
% -

% The combination below sets the look of the title of the TOC
\definehead
 [myContents]
 [title]

\setuphead
 [myContents]
 [alternative=left,
 style=\sstfb]

% These settings are for the first level (chapter) entries
% in the TOC
\setuplist
[chapter]
[criterium=chapter,
alternative=c,
aligntitle=yes,
textstyle={\tfa\cap}]

\setuplist
[section]
[criterium=section,
alternative=c,
margin=0.7cm,
textstyle=bold]

\setuplist
[subsection]
[criterium=subsection,
alternative=c,
margin=0.9cm]

% This sets the fourth level (subsubsection) entries in the TOC
\setuplist
[subsubsection]
[criterium=subsubsection,
alternative=c,
margin=1.2cm,
textstyle=italic]


%-
% TOC settings end here

\starttext


\startfrontmatter

\myContents{Table of contents}
\placecontent

\stopfrontmatter
% ---


% Each chapter is a file of its own, the files are collected
% into one document here

\input pr-03_ch01/ch01.tex % first chapter (Introduction)
\input pr-03_ch02/ch02.tex % second chapter (Sensor)
\input pr-03_ch03/ch03.tex % third chapter (IT-R)
\input pr-03_ch04/ch04.tex % fourth chapter (Accessory units)
\input pr-03_ch05/ch05.tex % fifth chapter (Startup and configuration)
\input pr-03_ch06/ch06.tex % sixth chapter (Regular maintenance)
\input pr-03_ch07/ch07.tex % seventh chapter (Troubleshooting)
\input pr-03_ch08/parts_tables.tex % tables for chapter 8 are loaded first
\input pr-03_ch08/ch08.tex % eighth chapter (Sensor
   % specifications and parts lists)
\input pr-03_ch09/ch09.tex % ninth chapter (IT-R specifications
   % and parts lists)


%This part gets alphabets (A, B...)
\startappendices

\input glossary.tex
\input dds.tex  % Information on the Delivary Data Sheet
\input calibration_data_report.tex  % The Calibration data report
sheet
\input verification.tex % How to do ISO 9000 Verification
\stopappendices


\startbackmatter


% --
% Index settings
% --

\chapter[index]{Index}

\placeindex

% --- End of Index -


\stopbackmatter


% Here's where the document ends, nothing comes below this command
\stoptext
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context