5

I'm looking for an advanced example of layout designing with ConTeXt? I've checked reference manual and few another docs from contextgarden, but they show only simple, elementary things. I'm interested in layouts that contains a lot of graphics and doesn't look like mathematical textbooks. And I need to know how to make them efficiently with ConTeXt.

Seeing complete code of something that looks like magazine or cookbook would be great help in learning.

For example, how to obtain master-page mechanism (applying of defined layouts to selected pages or selected parts of content) with ConTeXt?

Or another, but similar question, I can change font like this:

\starttypescript [myface1]
\definetypeface [myface1] [rm] [serif] [bob] [default]
\definetypeface [myface1] [ss] [sans] [alice] [default]
\stoptypescript

\starttypescript [myface2]
\definetypeface [myface2] [rm] [serif] [bob2] [default]
\definetypeface [myface2] [ss] [sans] [alice2] [default]
\stoptypescript

{\switchtobodyfont[myface1,12pt]
bla bla
...bla}

{\switchtobodyfont[myface2,10pt]
even more bla bla...
...bla}

But can I select pages (odd, even, 11-26, or another combination) and make them to use defined typescript/typeface?

  • Have you seen tex.stackexchange.com/a/35036/586? – Torbjørn T. Sep 29 '13 at 20:17
  • 1
    It's hard to tell what is being asked here, we have no idea of what you might consider “advanced” or “complicated”. What exactly do you mean by “master-page” mechanism? Have a look at \definelayout or makeups. Or have a look at the manual sources for some existing code. – Marco Sep 29 '13 at 22:03
  • 1
    master pages explained, but it is very common, basic therm in designing books. I thought it is obvious. By advanced, complicated layouts I mean layouts of newspapers or cookbooks or something that is not as simple as science journal or crime novel. I hope, that you've been in bookstore and you've seen how books can look like. Some of them look simple, some of them look complicated (I'm talking about form, not about content). I'm not able to explain this in different way, it is elementary. – random.nick Sep 29 '13 at 22:25
  • 1
    To expand on what @Marco suggested, probably the most complex document available is the Metafun manual (source at context.aanhet.net/svn/manuals/metafun). It boasts tons of graphics and doesn’t resemble math papers at all. Also I strongly recommend the Layouts manual. Though for weird requirements like “selecting a page and assigning it a typeface” (‽) you may be better off using a drawing program. – Philipp Gesang Sep 29 '13 at 22:44
  • 2
    @phg, Layouts in ConTeXt looks very promising, unfortunately isn't free. – random.nick Sep 29 '13 at 23:58
1

You are looking for examples with a lot of graphical elements, so you probably want to take a look at

The ConTeXt manuals

This page on the ConTeXt Garden wiki accumulates all the manuals which exist for ConTeXt. What is more important is that the sources for all the manuals can be accessed online: http://context.aanhet.net/svn/manuals/ This probably comes closest to what you are looking for. In principle you could copy these layouts and plug in your own content.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.