On Sun, 22 Feb 2015 12:56:05 -0500
John Culleton <j...@wexfordpress.com> wrote:

> On Sun, 22 Feb 2015 15:57:48 +0100
> Pablo Rodriguez <oi...@gmx.es> wrote:
> 
> > On 02/22/2015 01:55 PM, John Culleton wrote:
> > > On Sat, 21 Feb 2015 14:16:31 -0500 Aditya
> > > Mahajan wrote:
> > >> [...]
> > >> There should be a comma after 0.1.
> > > 
> > > With respect, I don't think so. Commas
> > > separate parameters. the last "0.1" is
> > > properly followed by a "]".
> > 
> > Hi John,
> > 
> > this should work:
> > 
> > \setupframed[framecorner=round,
> > frameradius=0.1em,
> > background=screen,
> > backgroundscreen=0.70,
> > backgroundcorner=round,
> > backgroundradius=0.1em,
> > corner=round,
> > radius=0.1em]
> > 
> > Radius, framedradius and backgroundradius
> > expect dimensions as values, not mere numbers.
> > 
> > BTW, having a sample that shows the problem
> > increases the reply speed :-).
> > 
> > I hope it helps,
> > 
> > 
> > Pablo
> You had the cure.

I put commands like the one under discussion in a
separate file called "macros.tex" which is hte
first file called in my standard "book.tex"
top level file.
For some reason it didn't work. So I copied it to
just before my first text frame in the
'chapter01.tex' file. Then it worked for that
frame and subsequent instances.

Here is my book.tex file as used in my current
project:

\input variables.tex
\input macros.tex
\input fonts.tex
\starttext
%\showlayout
\startfrontmatter
\input half.tex
\input title.tex
\input contents.tex
\stopfrontmatter
\startbodymatter
%\input sample3.tex
\input body.tex
\stopbodymatter
\stoptext

I will add more calls later for acknowledgements,
appendices etc. all in separate subfiles.
\body.tex is a subfile that calls the individual 
chapter subsubfiles.

Variables.tex contains the definitions of title,
subtitle, author, publisher, ISBN etc.

John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to