ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Cannot turn big letters to small
       [not found] <mailman.3.1238423878.27204.ntg-context@ntg.nl>
@ 2009-03-30 15:31 ` Vyatcheslav Yatskovsky
  2009-03-30 15:38   ` Hans Hagen
  2009-03-30 17:43   ` Wolfgang Schuster
  2009-03-30 15:52 ` Making sure figures are placed within articles Vyatcheslav Yatskovsky
  1 sibling, 2 replies; 7+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-03-30 15:31 UTC (permalink / raw)
  To: ntg-context

Hello,

I have heads typed in capital letters, but I want first letters of each 
word to be capitalized and the rest small.

For example, I have

\faculty{ФАКУЛЬТЕТ АЕРОКОСМІЧНИХ СИСТЕМ УПРАВЛІННЯ}

but actually I need the result that would be produced by

\faculty{Факультет Аерокосмічних Систем Управління }


I have played a lot with \Word, \Words, \Cap, etc, but they don't work.
Current \word command turns all letters to small, but this is not 
acceptable.

\definehead[faculty][chapter]
\setuphead [faculty][
incrementnumber=list, page=yes, number=no, align=right,
style={\switchtobodyfont[impact]\bfb\word}]

Best,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Cannot turn big letters to small
  2009-03-30 15:31 ` Cannot turn big letters to small Vyatcheslav Yatskovsky
@ 2009-03-30 15:38   ` Hans Hagen
  2009-03-30 17:43   ` Wolfgang Schuster
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2009-03-30 15:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Vyatcheslav Yatskovsky wrote:
> Hello,
> 
> I have heads typed in capital letters, but I want first letters of each 
> word to be capitalized and the rest small.
> 
> For example, I have
> 
> \faculty{ФАКУЛЬТЕТ АЕРОКОСМІЧНИХ СИСТЕМ УПРАВЛІННЯ}
> 
> but actually I need the result that would be produced by
> 
> \faculty{Факультет Аерокосмічних Систем Управління }
> 
> 
> I have played a lot with \Word, \Words, \Cap, etc, but they don't work.
> Current \word command turns all letters to small, but this is not 
> acceptable.
> 
> \definehead[faculty][chapter]
> \setuphead [faculty][
> incrementnumber=list, page=yes, number=no, align=right,
> style={\switchtobodyfont[impact]\bfb\word}]

mkii or mkiv?



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Making sure figures are placed within articles
       [not found] <mailman.3.1238423878.27204.ntg-context@ntg.nl>
  2009-03-30 15:31 ` Cannot turn big letters to small Vyatcheslav Yatskovsky
@ 2009-03-30 15:52 ` Vyatcheslav Yatskovsky
  2009-03-30 16:02   ` Wolfgang Schuster
  2009-03-30 16:04   ` Michael Bynum
  1 sibling, 2 replies; 7+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-03-30 15:52 UTC (permalink / raw)
  To: ntg-context

Hello,

I usually place figures in the end of the subsection, using the code:

\placefigure
[middle]{none}{\externalfigure[filyashkin-1.png][width=0.87\textwidth]}

Quite often the figure does not fit the page, and is moved to the next one. Ocassionally, another subsection may start at the beginning of next page, so that my figure is placed inside wrong article.

Can I setup \placefigure to move non-fitting figures not only forth, but also back within the subsection? In another words, to can I set up the criterium: place the figure no matter where, but inside the current subsection?

Otherwise, it needs many manual corrections and re-compilations to get all figures within corresponding articles.

I'd doing my first serious work with ConTeXt, so help me please.

Best,
Vyatcheslav


___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Making sure figures are placed within articles
  2009-03-30 15:52 ` Making sure figures are placed within articles Vyatcheslav Yatskovsky
@ 2009-03-30 16:02   ` Wolfgang Schuster
  2009-03-30 16:04   ` Michael Bynum
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2009-03-30 16:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.03.2009 um 17:52 schrieb Vyatcheslav Yatskovsky:

> Hello,
>
> I usually place figures in the end of the subsection, using the code:
>
> \placefigure
> [middle]{none}{\externalfigure[filyashkin-1.png] 
> [width=0.87\textwidth]}
>
> Quite often the figure does not fit the page, and is moved to the  
> next one. Ocassionally, another subsection may start at the  
> beginning of next page, so that my figure is placed inside wrong  
> article.
>
> Can I setup \placefigure to move non-fitting figures not only forth,  
> but also back within the subsection? In another words, to can I set  
> up the criterium: place the figure no matter where, but inside the  
> current subsection?
>
> Otherwise, it needs many manual corrections and re-compilations to  
> get all figures within corresponding articles.
>
> I'd doing my first serious work with ConTeXt, so help me please.

\placefigure[middle,force] or [middle,fixed] or

\startbaslinecorrection
\midaligned{\externalfigure[...]}
\stopbaselinecorrection

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
___________________________________________________________________________________


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

* Re: Making sure figures are placed within articles
  2009-03-30 15:52 ` Making sure figures are placed within articles Vyatcheslav Yatskovsky
  2009-03-30 16:02   ` Wolfgang Schuster
@ 2009-03-30 16:04   ` Michael Bynum
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Bynum @ 2009-03-30 16:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I had that problem as well.  You can use the command \placefloats to
force any floats that exist to be placed immediately.  So to force the
floats to be placed within the section or subsection that they are
defined, I use the command:

\setuphead[section]
   [before={\placefloats}]
\setuphead[subsection]
   [before={\placefloats}]

Mike



On Mon, Mar 30, 2009 at 11:52 AM, Vyatcheslav Yatskovsky
<yatskovsky@gmail.com> wrote:
> Hello,
>
> I usually place figures in the end of the subsection, using the code:
>
> \placefigure
> [middle]{none}{\externalfigure[filyashkin-1.png][width=0.87\textwidth]}
>
> Quite often the figure does not fit the page, and is moved to the next one.
> Ocassionally, another subsection may start at the beginning of next page, so
> that my figure is placed inside wrong article.
>
> Can I setup \placefigure to move non-fitting figures not only forth, but
> also back within the subsection? In another words, to can I set up the
> criterium: place the figure no matter where, but inside the current
> subsection?
>
> Otherwise, it needs many manual corrections and re-compilations to get all
> figures within corresponding articles.
>
> I'd doing my first serious work with ConTeXt, so help me please.
>
> Best,
> Vyatcheslav
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Cannot turn big letters to small
  2009-03-30 15:31 ` Cannot turn big letters to small Vyatcheslav Yatskovsky
  2009-03-30 15:38   ` Hans Hagen
@ 2009-03-30 17:43   ` Wolfgang Schuster
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2009-03-30 17:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.03.2009 um 17:31 schrieb Vyatcheslav Yatskovsky:

> Hello,
>
> I have heads typed in capital letters, but I want first letters of  
> each word to be capitalized and the rest small.


Till Hans fix \Word(s) you could use this:

\setuphead[faculty][deeptextcommand=\Words\lowercase]

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
___________________________________________________________________________________


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

* Re: Making sure figures are placed within articles
       [not found] <mailman.9.1238442821.27204.ntg-context@ntg.nl>
@ 2009-03-30 22:52 ` Vyatcheslav Yatskovsky
  0 siblings, 0 replies; 7+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-03-30 22:52 UTC (permalink / raw)
  To: ntg-context

Thank you, Mike. Your advice is a bomb!

I've only added \blank:
  before={\placefloats\blank}

Regards,
Vyatcheslav
> I had that problem as well.  You can use the command \placefloats to
> force any floats that exist to be placed immediately.  So to force the
> floats to be placed within the section or subsection that they are
> defined, I use the command:
>
> \setuphead[section]
>     [before={\placefloats}]
> \setuphead[subsection]
>     [before={\placefloats}]
>
> Mike
>
>    

___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2009-03-30 22:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1238423878.27204.ntg-context@ntg.nl>
2009-03-30 15:31 ` Cannot turn big letters to small Vyatcheslav Yatskovsky
2009-03-30 15:38   ` Hans Hagen
2009-03-30 17:43   ` Wolfgang Schuster
2009-03-30 15:52 ` Making sure figures are placed within articles Vyatcheslav Yatskovsky
2009-03-30 16:02   ` Wolfgang Schuster
2009-03-30 16:04   ` Michael Bynum
     [not found] <mailman.9.1238442821.27204.ntg-context@ntg.nl>
2009-03-30 22:52 ` Vyatcheslav Yatskovsky

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).