ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jörg Hagmann" <joerg.hagmann@unibas.ch>
Subject: Re: alignment of figures
Date: Mon, 24 Oct 2005 12:46:40 +0200	[thread overview]
Message-ID: <01529EC0-D2C6-47A8-AC1F-F920779FAF27@unibas.ch> (raw)
In-Reply-To: <435C8E6E.20206@wxs.nl>


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

Dear Hans and Taco,

Thanks for the answers. I'll read "details.pdf" again...

I placed the pdf file of one unfinished chapter on www.ogbasel.ch/ 
book.html (3.5 MB). Note that Fig. 3.12 happens to be the way I want  
it. Why this particular figure chose to behave I don't know, putting  
nothing after \placefigure[] and most options [left,right,inner etc.)  
don't make a difference.

The setuparea contains:

%Textfigures (on the inside up to 0.5/textwidth)
\setupfloat[figure][criterium=0.5\textwidth,default=inner]
\setupcaption[figure][style=\ssx]

I tried to add a second criterium (bigger than \textwidth), but not  
surprisingly my inventions and guesses weren't successful.  
Interventions within the text itself (\placefigure[....] and  
\setupfloat[figure][....]) also didn't work.

Lectures start this week, and I want to distribute some chapters as  
handouts in order to get feedback. This explains my bothering you  
with another question:

The subsection heads should be capitals. Setting textstyle=cap  
doesn't do anything. Setting style=cap gives an error (see end of  
message). style=slanted works, commands (\cap, \kap) don't work. \cap 
{some text} used in the text works.
This is how I'm setting up the heads:

\def\BookchapterCommand#1#2{\framed[frame=off,rightframe=on]{#1\space} 
\framed[frame=off]{\space#2}}
\setuphead[chapter][command=\BookchapterCommand,page=right]
\setuphead[subsection][style=cap (THIS IS WHERE I'M HAVING  
PROBLEMS),number=no]
\setuphead[subsubsection][style=slanted,number=no,after=\nowhitespace]

Thanks a lot, Jörg.

This is the error message when inserting style=cap:

) (./figures_book.tex) (./Mydefinitions.tex) (./book.tuo) (./book.tuo)
(./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./ 
book.tuo)
(./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo)
fonts          : using map file: cbgreek.map
fonts          : using map file: texnansi-public-lm.map
fonts          : using map file: original-public-vnr.map
fonts          : using map file: original-public-csr.map
fonts          : using map file: original-public-plr.map
fonts          : using map file: original-public-lm.map
fonts          : using map file: original-ams-euler.map
fonts          : using map file: original-ams-cmr.map
fonts          : using map file: texnansi-base.map
fonts          : using map file: t5-base.map
fonts          : using map file: qx-base.map
fonts          : using map file: 8r-base.map
fonts          : using map file: ec-base.map
fonts          : using map file: ec-public-lm.map
fonts          : using map file: original-base.map
systems        : begin file book at line 45
(./digestion/digestion_chapter.tex
chapter        : 1 Verdauung und Resorption
section        : 1.1 Vorbereitung in Mund und Magen
! Argument of \getvalue has an extra }.
<inserted text>
                 \par
<to be read again>
                    }
\uppercased ...d \xdef \@@expanded {\uppercase {#1
                                                   }}}\@@expanded
\dodosmallcapped ...alize \cap@@uppercase {#1{#2}}
                                                   \egroup
\doplaceheadtext ... {\??ko #1}\c!style \getvalue
                                                   {\??ko #1\c! 
command } {} {...

\dodododosomekop ...mber ]{\finalsectionnumber }}}
                                                   \writesection {#1} 
{-}{#4}\...
l.5 \subsection {Der Speichel}

?

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

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-10-24 10:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-19 13:19 Jörg Hagmann
2005-10-24  7:15 ` Jörg Hagmann
2005-10-24  7:34   ` Hans Hagen Test
2005-10-24 10:46     ` Jörg Hagmann [this message]
2005-10-24 14:22       ` Jörg Hagmann
2005-10-25 18:40         ` Willi Egger
2005-10-25  7:23       ` Taco Hoekwater
2005-10-25  8:00         ` Hans Hagen Test
2005-10-25  9:46         ` Jörg Hagmann
2005-10-24  7:58   ` Taco Hoekwater
  -- strict thread matches above, loose matches on Subject: below --
2002-03-15 16:34 Karsten Hachmeister
2002-03-15 17:40 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01529EC0-D2C6-47A8-AC1F-F920779FAF27@unibas.ch \
    --to=joerg.hagmann@unibas.ch \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).