ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: \part centered vertically.
@ 2004-10-21 12:50 Dirar BOUGATEF
  2004-10-21 16:44 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Dirar BOUGATEF @ 2004-10-21 12:50 UTC (permalink / raw)


Hi Hans,

Am using Hotmail directly from my browser cause i can't get my emails to any 
email client (Outlook express has a problem working on an xp user account 
with restricted privileges).

I'll be more careful in the future. I promise ;=)

My question was :

How can i change the keyword "part" when it appears in my documents when i 
use \part as follows:

\setuphead[part]
		  [align=left,
		   page=right,
		   placehead=yes,
		   style=\Karat,
		   before={\hbox{}\vfill},
		   after={\vfill},
		   command=\MyPart]

\part{Sommaire}

the result is :

part 1 | Sommaire

i would like to get :

partie 1 | Sommaire

Thanks.

Dirar.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.com/

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

* Re: \part centered vertically.
  2004-10-21 12:50 \part centered vertically Dirar BOUGATEF
@ 2004-10-21 16:44 ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2004-10-21 16:44 UTC (permalink / raw)


Dirar BOUGATEF wrote:

> part 1 | Sommaire
> 
> i would like to get :
> 
> partie 1 | Sommaire

\mainlanguage[fr]

i.e. \mainlanguage will switch such labels, while \language only changes 
the patterns; see lang-ita.tex, where we define:

   \setuplabeltext [fr] [part=Partie ]

You can change such definitions in your document source.

Hans



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

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

* Re: \part centered vertically.
  2004-10-20 19:15 Dirar BOUGATEF
@ 2004-10-21  8:24 ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2004-10-21  8:24 UTC (permalink / raw)


Dirar BOUGATEF wrote:

> How can i change the keyword "part" when it appears in the text ?

> ----Original Message Follows---- From: "Dirar BOUGATEF" 
> <chabah5@hotmail.com> Reply-To: mailing list for ConTeXt users 
> <ntg-context@ntg.nl> To: ntg-context@ntg.nl Subject: Re: [NTG-context] 
> \part centered vertically. Date: Wed, 20 Oct 2004 19:05:37 +0000 

i can't read this; do you have some funny mail agent?

Hans

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

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

* Re: \part centered vertically.
  2004-10-20 19:05 Dirar BOUGATEF
@ 2004-10-20 21:04 ` Patrick Gundlach
  0 siblings, 0 replies; 8+ messages in thread
From: Patrick Gundlach @ 2004-10-20 21:04 UTC (permalink / raw)


"Dirar BOUGATEF"  writes:

[some html stuff]

could you please switch to sending text only mails. It would help
reading the mails very much. I have difficulties with all the <br>,
<pre> and other tags in my brain... If this was ConTeX markup, I wouldn't
say anything ;-)

Thanks and sorry I don't have anything to say on topic,

Patrick
-- 
ConTeXt wiki: http://contextgarden.net

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

* Re: \part centered vertically.
@ 2004-10-20 19:15 Dirar BOUGATEF
  2004-10-21  8:24 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Dirar BOUGATEF @ 2004-10-20 19:15 UTC (permalink / raw)


[-- Attachment #1: Type: text/html, Size: 3242 bytes --]

[-- Attachment #2: Type: text/html, Size: 4028 bytes --]

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

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

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

* Re: \part centered vertically.
@ 2004-10-20 19:05 Dirar BOUGATEF
  2004-10-20 21:04 ` Patrick Gundlach
  0 siblings, 1 reply; 8+ messages in thread
From: Dirar BOUGATEF @ 2004-10-20 19:05 UTC (permalink / raw)


[-- Attachment #1: Type: text/html, Size: 4027 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

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

* Re: \part centered vertically.
  2004-10-20 10:14 Dirar Bougatef
@ 2004-10-20 12:34 ` Vit Zyka
  0 siblings, 0 replies; 8+ messages in thread
From: Vit Zyka @ 2004-10-20 12:34 UTC (permalink / raw)


Dirar Bougatef wrote:

> I have setup my parts in the following way:
> 
> \def\MyPart#1#2
> {\hbox to \hsize \bgroup
> \hfill
> \setupframed[height=.7cm,offset=.5em,frame=off]
> \framed[align=left]{#1}%
> \framed[align=right,leftframe=on]{#2}%
> \egroup}
> 
> \setuphead[part][before={\vfill},after={\vfill},command=\MyPart]
> 
> But this does not make my parts titles appear vertically centered.

\setuphead[part][before={\hbox{}\vfill},after={\vfill},command=\MyPart,placehead=yes]
                          ^^^^^^^

Please, next time insert minimal, but COMPLETE example. I spent 10 
minutes looking for placehead=yes to see anything.

Cheers
Vit Zyka

> Dirar.

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

* \part centered vertically.
@ 2004-10-20 10:14 Dirar Bougatef
  2004-10-20 12:34 ` Vit Zyka
  0 siblings, 1 reply; 8+ messages in thread
From: Dirar Bougatef @ 2004-10-20 10:14 UTC (permalink / raw)


Hi guys,

I have setup my parts in the following way:

\def\MyPart#1#2
{\hbox to \hsize \bgroup
\hfill
\setupframed[height=.7cm,offset=.5em,frame=off]
\framed[align=left]{#1}%
\framed[align=right,leftframe=on]{#2}%
\egroup}

\setuphead[part][before={\vfill},after={\vfill},command=\MyPart]

But this does not make my parts titles appear vertically centered.

Any one has a clue about it ?

How can i get rid of the keyword part or change it when it appears in my 
title ?

Thanx.

Dirar.

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

end of thread, other threads:[~2004-10-21 16:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-21 12:50 \part centered vertically Dirar BOUGATEF
2004-10-21 16:44 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2004-10-20 19:15 Dirar BOUGATEF
2004-10-21  8:24 ` Hans Hagen
2004-10-20 19:05 Dirar BOUGATEF
2004-10-20 21:04 ` Patrick Gundlach
2004-10-20 10:14 Dirar Bougatef
2004-10-20 12:34 ` Vit Zyka

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