Skip to content
Snippets Groups Projects
  1. May 06, 2017
  2. Jan 28, 2017
  3. May 26, 2016
  4. Mar 24, 2016
  5. Mar 23, 2016
  6. Jan 13, 2016
  7. Jan 06, 2016
  8. Jan 05, 2016
  9. Nov 30, 2015
    • Vít Novotný's avatar
      Major locale and style interface changes. · aba7a20f
      Vít Novotný authored
      `\thesis@selectLocale` is no longer performed globally for the
      entire document during `\thesis@load` (effectively overriding the
      user's hyphenation settings, if Babel's or Polyglossia's
      `\languagename` differs from `\thesis@locale`). Instead,
      `\thesis@preamble` and `\thesis@postamble` now locally switch the
      locale and expand `\thesis@blocks@preamble` and
      `\thesis@blocks@postamble`, which are the new redefinables. Since
      this breaks the behaviour of `\thesis@blocks@mainMatter`, whose
      effects would also be local, `\thesis@blocks@mainMatter` is now
      executed directly by `\thesis@preamble` after closing the group and
      becomes a new part of the interface between the class and the style
      files.
      
      As a preparation for the future inclusion of bibliography support,
      the /csquotes/ package is loaded, `\thesis@<locale>@csquotesStyle`
      is a new part of the locale interface that sets the /csquotes/
      style of a locale, and `\thesis@selectLocale` now switches the
      /csquotes/ style.
      aba7a20f
  10. Nov 19, 2015
  11. Nov 17, 2015
    • Vít Novotný's avatar
      The locale macros `\thesis@<locale>@winter` and `\thesis@<locale>@summer` · f16d9d73
      Vít Novotný authored
      were renamed to `\thesis@<locale>@spring` and `\thesis@<locale>@fall`.
      
      The semantics have also changed. The `\thesis@parseDate` macro no
      longer sets `\thesis@season` to `winter` if `\thesis@month` < 7 and to
      `summer` otherwise. Instead, the `\thesis@season` macro is set to
      `spring` if 2 > `\thesis@month` < 9 and to `fall` otherwise.
      
      The `\thesis@academicYear` macro is no longer set to
      `\thesis@year`-1/`\thesis@year` if `\thesis@month` < 7 and to
      `\thesis@year`/`\thesis@year`+1 otherwise. Instead, the
      `\thesis@academicYear` macro is set to
      `\thesis@year`-1/`\thesis@year` if `\thesis@month` < 9 and to
      `\thesis@year`/`\thesis@year`+1 otherwise.
      
      These changed month ranges reflect more accurately the beginning and the
      end of the spring and fall semesters.
      f16d9d73
    • Vít Novotný's avatar
      cec8ec1e
  12. Oct 15, 2015
  13. Jun 26, 2015
  14. Jun 23, 2015
  15. May 03, 2015
  16. May 02, 2015
  17. Apr 28, 2015
  18. Apr 27, 2015
  19. Apr 26, 2015
  20. 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
  21. Apr 16, 2015
  22. Apr 12, 2015
  23. Apr 11, 2015
    • 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
  24. Apr 10, 2015
Loading