ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* trouble with the title page using the FramedTitle style of the simpleslides module
@ 2014-01-08 21:58 Jesse Alama
  2014-01-08 22:10 ` Thomas A. Schmitz
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse Alama @ 2014-01-08 21:58 UTC (permalink / raw)
  To: ntg-context

I'm working with the simpleslides module and am trying to prepare a
presentation using the FramedTitle style.  Things are mostly OK, but I
notice one curious problem with the title page.  Try this out on the
live ConTeXt installation:

% -- the beginning
\usemodule[simpleslides]
          [
            style=FramedTitle,
          ]
\setupTitle[
  title={Why is this red?},
  author={You},
  date={\date[y=2014,m=1,d=07]},
]
\placeTitle
\SlideTitle{this is white (maybe grey)}
text in black as expected
% -- the end

What I notice is that the text on the title page (title, author, date) is

* in red on a red background (quite hard to read), and
* not centered  (even though in the documentation for the simpleslides
module and the examples it contains the content on the titleslide
ought to be centered).

I'm using an up-to-date ConTexT; I have the minimals installed on my machine and
just did an update today using

  $ ./first-setup.sh --modules=all

I'm running in mkiv mode in the sense that I run simply

  $ context slides.tex

and I can confirm, using

  $ which context

that I really am running the ConTeXt that I expect.  In any case, the
curiosity I describe can be replicated using the live ConTeXt on the
ConTeXtgarden.  Can you see what might be going wrong?

Thanks,

Jesse
___________________________________________________________________________________
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: trouble with the title page using the FramedTitle style of the simpleslides module
  2014-01-08 21:58 trouble with the title page using the FramedTitle style of the simpleslides module Jesse Alama
@ 2014-01-08 22:10 ` Thomas A. Schmitz
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas A. Schmitz @ 2014-01-08 22:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 01/08/2014 10:58 PM, Jesse Alama wrote:
> What I notice is that the text on the title page (title, author, date) is
>
> * in red on a red background (quite hard to read), and
> * not centered  (even though in the documentation for the simpleslides
> module and the examples it contains the content on the titleslide
> ought to be centered).

Oops, this was put in for debugging purposes and never removed. You can 
do either of these two things:

1. fix the file simpleslides-s-FuzzyFrame.tex with this patch:

@@ -124,14 +124,14 @@
                \bgroup},
     \c!after={\egroup\vfill},
     \c!title\c!style={\switchtobodyfont[\TitleSize]},
-   \c!title\c!color=,
-   \c!title\c!align=,%\v!middle,
+   \c!title\c!color=simpleslides:backgroundcolor,
+   \c!title\c!align=\v!middle,
     \c!author\c!style=,
-   \c!author\c!color=,
-   \c!author\c!align=,%\v!middle,
+   \c!author\c!color=simpleslides:backgroundcolor,
+   \c!author\c!align=\v!middle,
     \c!date\c!style=,
-   \c!date\c!color=,
-   \c!date\c!align=,%\v!middle,
+   \c!date\c!color=simpleslides:backgroundcolor,
+   \c!date\c!align=\v!middle,
     \c!before\c!title=,
     \c!before\c!author=,
     \c!before\c!date=,

2. or set these things up in your file:

\setupTitle[
   titlealign=middle,
   titlecolor=simpleslides:backgroundcolor,
   authoralign=middle,
   authorcolor=simpleslides:backgroundcolor,
   datealign=middle,
   datecolor=simpleslides:backgroundcolor,
   title={Why is this red?},
   author={You},
   date={\date[y=2014,m=1,d=07]},
]

Sorry, will be fixed in next release.

Thomas
___________________________________________________________________________________
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:[~2014-01-08 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08 21:58 trouble with the title page using the FramedTitle style of the simpleslides module Jesse Alama
2014-01-08 22:10 ` Thomas A. Schmitz

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