Skip to content
  1. May 03, 2015
  2. May 02, 2015
  3. May 01, 2015
  4. Apr 28, 2015
  5. Apr 27, 2015
  6. Apr 26, 2015
  7. Apr 20, 2015
  8. Apr 19, 2015
    • witiko's avatar
      The locale file interface got revamped. · 5b00251b
      witiko authored
      Instead of defining `\thesis@[name]` within the `[locale].def`
      files and `\thesis@[name]En` within the `base.def`
      files, each [locale] now defines macros in form
      `\thesis@[locale]@[name]` within their `[locale].def` files meaning
      that English is no longer special-cased and multiple locales can be
      loaded at the same time. This enables the model, where style files
      conditionally load additional locale files (like `czech` and
      `english` in case of the style file of the Faculty of Science,
      which was the original motivation for the change).
      
      The string manipulation macros `\thesis@`, `\thesis@@`,
      `\thesis@@upper`, `\thesis@@lower` and `\thesis@requireLocale`
      macros were also added to alleviate the complexity added by this
      model. More specifically, the style files need to be able to
      require new locales (this functionality is provided by the
      `\thesis@requireLocale` macros) and strings of the current locale
      can no longer be accessed directly through a command sequence, but
      a command sequence must be composed from letter tokens and from the
      expansion of the `\thesis@locale` macro (this functionality is
      provided by the `\thesis@@*` macros).
      
      The `\thesis@season` macro now returns a string rather than a macro
      to allow for easy command sequence composition using the `\thesis@`
      macro.
      
      The `\thesis@requireWithOptions` was renamed to
      `\thesis@requireStyle` as it resembles the semantics of the
      `\thesis@requireLocale` macro.
      
      The Faculty of Science style file now correctly typesets the front
      matter in Czech and English regardless of the main locale.
      
      The implicit options of the `mu/base` style file are now `nolof`
      and `nolot` instead of `lof` and `lot`, respectively.
      5b00251b
  9. Apr 16, 2015
  10. Apr 14, 2015
  11. Apr 12, 2015
  12. Apr 11, 2015
    • witiko's avatar
      Expanding the documentation. · 1f514095
      witiko authored
      1f514095
    • witiko's avatar
      Added the `\ifthesis@english` command. · 2ca82381
      witiko authored
      2ca82381
    • witiko's avatar
      Partial implementation of the Faculty of Science style. · 0f14d2f9
      witiko authored
      The support for injecting the thesis assignment PDF via the
      `assignment=path` option of `\thesissetup` was added.
      
      One of the larger design decisions in this commit is the fact
      that each locale string stored within a `\macro` macro needs to
      have a `\macroEn` counterpart defined. Such a solution was much
      easier to implement and document than special-casing and
      documenting each string, whose English version was needed across
      locales. The implementation comprises `base.def` files containing
      the English definitions. These definitions are then automatically
      imported by the locale file inheritance scheme.
      
      Several new macros were added to allow for multi-lingual blocks:
      
       * `\thesis@authorEn`, `\thesis@advisor` -- They gets redefined
         via the `author` and `advisor` `\thesissetup` keys like their
         locale-agnostic counterparts, but the initial values are
         `\thesis@placeholders@authorEn` and
         `\thesis@placeholders@advisorEn` rather than
         `\thesis@placeholders@author` and
         `\thesis@placeholders@advisor`.
       * `\thesis@field` -- The field of study, required by the sci style
       * `\thesis@departmentEn`, `\thesis@programmeEn`, `\thesis@fieldEn`
         `\thesis@titleEn`, `\thesis@TeXtitleEn` -- The English versions
         of their locale-agnostic counterparts
       * `\thesis@abstractEn`, `\thesis@keywordsEn` -- These no longer
         default to `\undefined`, but instead use the fresh-defined
         `\thesis@placeholders@abstractEn` and
         `\thesis@placeholders@keywordsEn` locale macros.
       * `\thesis@date`, `\thesis@year`, `\thesis@month`, `\thesis@day`,
         `\thesis@season`, `\thesis@academicYear`, `\thesis@semester` --
         These are all parsed out of a single value assigned to the
         `date` key via `\thesissetup`.
      0f14d2f9
  13. Apr 10, 2015
  14. Apr 09, 2015