Bakalářská práce

Generic TeX Writer for the Pandoc Document Converter

Dominik Rehák, učo 456128
Anotace

Pandoc je nástroj schopný konverzie medzi desiatkami dokumenových formátov, vrátane formátov TeXu ako LaTeX alebo ConTeXt, ale neponúka podporu pre iné známe formáty TeXu, ako napríklad čistý TeX. Navyše neponúka žiadne spôsoby, ako ovplyvniť formát jeho výstupu. Cieľom tejto práce je integrovať Pandoc s TeXovým balíčkom Markdown, ktorý umožňuje uživateľom vkladať bloky textu v odľahčenom značkovacom …více

Abstract

Pandoc is a utility able to convert between dozens of document formats including TeX formats such as LaTeX and ConTeXt, but it provides no support for other well-known TeX formats such as plain TeX. Moreover, it offers no way to influence the style of its output. The goal of this thesis is to integrate Pandoc with the TeX package Markdown, which allows users to embed blocks of text in the lightweight …více

Zadání práce

Pandoc is free open-source software that converts documents between dozens of formats including HTML, DOCX, and TeX formats such as LaTeX, and ConTeXt. However, other well-known TeX formats such as plain TeX and OPTeX are not yet supported by Pandoc. Furthermore, conversion functions (further referred to as writers) for the LaTeX and ConTeXt formats do not share code, which increases the technical debt and maintenance costs of Pandoc. Replacing the LaTeX and ConTeXt writers of Pandoc with a single generic TeX writer would increase the number of TeX formats supported by Pandoc and would reduce the technical debt and maintenance costs of Pandoc.

The student will review the architecture of Pandoc and describe how they would create a generic writer that would support both plain TeX and other TeX formats based on plain TeX such as LaTeX, ConTeXt, and OpTeX. Then, the student will implement a proof of concept using the Lua programming language and they will present their implementation to the contributors of Pandoc. Drawing from their research, experience, and discussion with Pandoc contributors, the student will suggest how to best replace the LaTeX and ConTeXt writers of Pandoc with a single generic TeX writer.

Práce zkontrolována:
16. 12. 2022 15:09, RNDr. Vít Starý Novotný, Ph.D., učo 409729
Plný text práce
460,7 KB / soubor PDF
Jazyk práce
angličtina angličtina
Termín obhajoby
28. 6. 2023
Práce byla úspěšně obhájena

Vedoucí

RNDr. Vít Starý Novotný, Ph.D., učo 409729
KSUZD FI MU

Oponent

RNDr. Petr Olšák
Katedra aplikované matematiky, FIT ČVUT

Masarykova univerzita Fakulta informatiky
Studijní program
Plán
Informatika

Práce na příbuzné téma

Seznam prací, které mají shodná klíčová slova.

  • Přidání souboru

    Soubor nebo složku lze nahrát pomocí tlačítka Přidat.
  • Další operace se soubory

    Podrobnosti lze zjistit označením příslušného řádku.
  • Pohled pro experty

    Pro častou práci je možné zvolit režim Více možností.
  • Vyhledávání souborů

    Vyhledávaný výraz můžete zadat přímo do adresního řádku.
  • Rychlý přístup k souborům

    Pomocí funkce Nedávné je možné se rychle vrátit k právě prohlíženým souborům. Oblíbené soubory je také možné označit Hvězdičkou.