ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Interesing error message in MKIV:
@ 2011-07-12 16:19 John Culleton
  2011-07-12 16:31 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: John Culleton @ 2011-07-12 16:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 897 bytes --]

Are the subdivisions \startfrontmatter etc. now obsolete?
---------------------------------------------------
system          > tex > error on line 13 in file book.tex: 
Undefined control sequence ...

 3     \switchtotypeface [helvetica] [12pt,ss]
 4     \starttext
 5     \startfrontmatter
 6     \startstandardmakeup
 7     \midaligned{How to make a document.}
 8     \midaligned{by}
 9     \midaligned{The Author}
10     \stopstandardmakeup
11     \switchtotypeface [palatino] [12pt,rm]
12     \completecontent
13 >>  \stopfrontmatter
14     \startbodymatter
15     \input body.tex
16     \stopbodymatter
17     \startbackmatter
18     \completeindex
19     \stopbackmatter
20     \stoptext
---------------------------------------
-- 
John Culleton

"Death Wore Black" Police procedural: 
http://www.deathworeblack.com/

"Create Book Covers with Scribus"
http://booklocker.com/books/4055.html

[-- Attachment #1.2: Type: text/html, Size: 5561 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Interesing error message in MKIV:
  2011-07-12 16:19 Interesing error message in MKIV: John Culleton
@ 2011-07-12 16:31 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-07-12 16:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 12.07.2011 um 18:19 schrieb John Culleton:

> Are the subdivisions \startfrontmatter etc. now obsolete?

The new messages lead sometimes in the wrong direction, show us more
information from the command line where you can see which command
is really undefined.

>  3     \switchtotypeface [helvetica] [12pt,ss]
>  4     \starttext
>  5     \startfrontmatter
>  6     \startstandardmakeup
>  7     \midaligned{How to make a document.}
>  8     \midaligned{by}
>  9     \midaligned{The Author}
> 10     \stopstandardmakeup
> 11     \switchtotypeface [palatino] [12pt,rm]

When you want a different font for the titlepage then switch
to helvetica *in* the standardmakeup environment and don’t switch
font before and after the environment.

\setupbodyfont[palatino]

\startsetups[titlepage]
\switchtobodyfont[helvetica]
\stopsetups

\starttext

\startstandardmakeup[align=middle,setups=titlepage]

How to make a document.

by

The Author

\stopstandardmakeup

...

\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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-12 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12 16:19 Interesing error message in MKIV: John Culleton
2011-07-12 16:31 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).