ConT Xt as part of E a larger system Duncan Hothersall ConTeXt - - PowerPoint PPT Presentation

cont xt as part of
SMART_READER_LITE
LIVE PREVIEW

ConT Xt as part of E a larger system Duncan Hothersall ConTeXt - - PowerPoint PPT Presentation

ConT Xt as part of E a larger system Duncan Hothersall ConTeXt as part of a larger system What does it mean? [4] Use as a batch workhorse, rather than a macro-writing environment Treat as a filter/pipe converting data into


slide-1
SLIDE 1

a larger system

Duncan Hothersall

ConT

E

Xt as part of

slide-2
SLIDE 2

2

ConTeXt as part of a larger system

  • What does it mean? [4]

– Use as a batch workhorse, rather than a macro-writing environment – Treat as a filter/pipe converting data into layout consistently – Manage styles and setups externally – Explicit and reuseable rather than concise and clever!

slide-3
SLIDE 3

3

ConTeXt as part of a larger system

  • What does it involve? [6]

– fast, repetitive batch processing – consistency and longevity of output – externalisation of styles – independence of data – fault tolerance and clean error handling – reliability and reproducibility

slide-4
SLIDE 4

4

ConTeXt as part of a larger system

  • Why would you want it? [5]

– Multiple and mixed media production – Content management system output – Report generation – Internationalisation – Fragment generation for web

slide-5
SLIDE 5

5

ConTeXt as part of a larger system

  • How might you do it? [6]

– Use XML as your master source – Embed ConTeXt into web services – Incorporate log parsing into error handlers – Use hierarchical templates for styling: “CCSS – Cascading ConTeXt stylesheets” – A ConTeXt daemon – ConTeXt format subsets

slide-6
SLIDE 6

6

ConTeXt as part of a larger system

  • Micro-example:

Maths for HTML [5]

– limited format needed – thousands of calls per minute – highly available – fault tolerant (batch) – stable output over time

XML book Everything else HTML layout Complex maths ConTeXt layout Web book

slide-7
SLIDE 7

7

ConTeXt as part of a larger system

  • Macro-example:

CMS print production [6]

– hierarchical styles – multiple calls per minute – highly available – fault tolerant (big batch) – stable output over time – multi-lingual capability

ConTeXt engine PDF publication XML text plus vector figures

slide-8
SLIDE 8

8

ConTeXt as part of a larger system

  • Future thoughts [3]

– Embeddable ConTeXt – ConTeXt lite – ConTeXt daemon with compiled formats

slide-9
SLIDE 9

9

ConTeXt as part of a larger system

  • Finally...

THANK YOU

slide-10
SLIDE 10

22 Forth Street Edinburgh EH1 3LH www.capdm.com dh@capdm.com