PV126 Typographic Programming

Fakulta informatiky
podzim 2009
Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
prof. Ing. Jiří Sochor, CSc.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 46 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Studijní materiály
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008.

PV126 Typographic Programming

Fakulta informatiky
podzim 2008
Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
prof. Ing. Jiří Sochor, CSc.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 41 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • There will be a series of meetings where the following topics will be covered.
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
  • In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Studijní materiály
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2007
Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
prof. Ing. Jiří Sochor, CSc.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Předpoklady
We assume that the student is familiar with TeX. In the course we will use the CONTEXT macro package, and especially the MKIV version that targets at LuaTeX. More information can be found at: http://www.pragma-ade.com/general/magazines/mag-0012.pdf
http://www.luatex.org binaries and reference manual
http://contextgarden.net information about CONTEXT
http://www.lua.org/ information about the Lua language
We expect the student to know enough about Lua to use it in the course. We assume that the student has taken a look at the following document: http://www.inf.puc-rio.br/~roberto/lpeg.html It makes sense to buy a copy of Programming in Lua. It is well written and completely covers the language. The language is being developed in a very controlled way, as can be read in: http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf We also expect the student to write down some ideas on pretty printing sources.
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 41 mateřských oborů, zobrazit
Osnova
  • There will be a series of meetings where the following topics will be covered.
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
  • In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Literatura
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Exact dates will be announced later; provisionally last decade of November is the scheduled date of the course.
Další komentáře
Studijní materiály
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2018

Předmět se v období podzim 2018 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
doc. RNDr. Petr Matula, Ph.D.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Dodavatelské pracoviště: Katedra vizuální informatiky – Fakulta informatiky
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 44 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2017

Předmět se v období podzim 2017 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
doc. RNDr. Petr Matula, Ph.D.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Dodavatelské pracoviště: Katedra vizuální informatiky – Fakulta informatiky
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 44 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2016

Předmět se v období podzim 2016 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
doc. RNDr. Petr Matula, Ph.D.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Dodavatelské pracoviště: Katedra vizuální informatiky – Fakulta informatiky
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 44 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2015

Předmět se v období podzim 2015 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
doc. RNDr. Petr Matula, Ph.D.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Dodavatelské pracoviště: Katedra vizuální informatiky – Fakulta informatiky
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 44 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2014

Předmět se v období podzim 2014 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
doc. RNDr. Petr Matula, Ph.D.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Dodavatelské pracoviště: Katedra vizuální informatiky – Fakulta informatiky
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 43 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2013

Předmět se v období podzim 2013 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
doc. RNDr. Petr Matula, Ph.D.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Dodavatelské pracoviště: Katedra vizuální informatiky – Fakulta informatiky
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 43 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2012

Předmět se v období podzim 2012 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
prof. Ing. Jiří Sochor, CSc.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Dodavatelské pracoviště: Katedra vizuální informatiky – Fakulta informatiky
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 43 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2011

Předmět se v období podzim 2011 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
prof. Ing. Jiří Sochor, CSc.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 43 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.

PV126 Typographic Programming

Fakulta informatiky
podzim 2010

Předmět se v období podzim 2010 nevypisuje.

Rozsah
2/0/1. 3 kr. (plus ukončení). Ukončení: k.
Vyučující
Johannes Hagen, M.Sc. (přednášející), doc. RNDr. Petr Sojka, Ph.D. (zástupce)
Garance
prof. Ing. Jiří Sochor, CSc.
Katedra vizuální informatiky – Fakulta informatiky
Kontaktní osoba: doc. RNDr. Petr Sojka, Ph.D.
Předpoklady
In the course we will use luatex, a successor to pdftex developed at this university. The macropackage we use is ConTeXt. Here are a few url's that can help you prepare for this course: > http://www.pragma-ade.com/general/magazines/mag-0012.pdf > http://www.luatex.org binaries and reference manual > http://contextgarden.net information about CONTEXT > http://www.lua.org/ information about the Lua language In depth TeX macro language knowledge is not needed since we will use mostly wrapper macros as provided by ConTeXt. However, it makes sense to play a while with the Lua interpreter beforehand. Documentation can be found at http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/hopl.pdf http://www.inf.puc-rio.br/~roberto/lpeg.html You also need to think about a possible application for instance a small pretty printing subsystem (in that case you can use Lua for parsing and preparation and tex for the typesetting).
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Předmět si smí zapsat nejvýše 35 stud.
Momentální stav registrace a zápisu: zapsáno: 0/35, pouze zareg.: 0/35, pouze zareg. s předností (mateřské obory): 0/35
Mateřské obory/plány
předmět má 42 mateřských oborů, zobrazit
Cíle předmětu
At the end of this course, students should be able to: understand and be able to explain principles of typographic programming using LuaTeX, Context; prepare applications taking advantage of mixing scripting language Lua and advanced features of TeX.
Osnova
  • TeX as language, the road from input to output, tokens and nodes.
  • Lua as language, what can it do and what not, why and how do we use it as embedded language.
  • LuaTeX as system, how does the two languages work together in opening up the typesetting engine.
  • CONTEXT MKIV as application, what kind of code is needed to permit the use of advanced font technologies, how to get away with some of TeX's limitations, what kind of technologies are needed to fulfil today's typesetting demands.
  • Typographic programming, what is it and how can it be applied in automated typesetting workflows.
Literatura
  • R. Ierusalimschy, L. H. de Figueiredo, W. Celes: Programming in Lua -- Reference, Lua.org, August 2006, ISBN 85-903798-3-3, http://www.lua.org/manual/5.1/
  • Programming in Lua, Second Edition by Roberto Ierusalimschy,English Edition, Published by Lua.org, March 2006, ISBN13 9788590379829
Výukové metody
Teaching is realized by a mixture of classical introductory lectures and by examining typographical programming on the small (team) typographical project of choice.
In addition one of the computer rooms will be reserved so that we can practice the above and work on the products needed for the exam.
Metody hodnocení
The student has to deliver the following products:
Lua code that transfers a source into directives for TeX.
Code that integrates the code into TeX.
A basic style that presents the pretty printed source on paper and on screen, including a table of contents and index.
During the course we will provide the tools to handle the typesetting. There will be a framework for pretty printing available that students may use.
Vyučovací jazyk
Angličtina
Informace učitele
Teaching will be done during the week December 8--12th. Day 1 (Monday, Dec 8) 12:00--13:30 D2 independent motivating lecture Typographic programming with LuaTeX Abstract: - what is involved in typographic programming - why and when do we need it - an introduction in luatex (successor of pdftex) - commented examples of luatex applications 14:30--17:00 in lab (B206): - running tex - some basic manuals - setting up a simple document style Day 2 (Tuesday, Dec 9) 9:00-11:00 [&16-18 if needed] B517 lecture - introduction to mplib - introduction to the lua scripting language - how does it fit together - examples of documents and coding in lab (B206, 11:30-13:00, 14-17): - embedding an mp graphic - using lua to handle data Day 3 (Wednesday, Dec 10) 9:00-11:00 B517 lecture - setting up a style - questions and answers session in lab (B206, 11:30-13:00, 14-17): - working on personal project Day 4 (Thursday, Dec 11) in lab (B206, 9-17): - working on personal project Day 5 (Friday, Dec 12) 9:00-[?16:00] either in C517 or B206 - students present and discuss results/proposals - suggestions for improvements/implementation
Další komentáře
Studijní materiály
Předmět je dovoleno ukončit i mimo zkouškové období.
Předmět je vyučován jednorázově.
Výuka probíhá blokově.
Poznámka k četnosti výuky: blokově s distančními konzultacemi.
Předmět je zařazen také v obdobích podzim 2007, podzim 2008, podzim 2009.