1. 01 Jun, 2018 1 commit
    • Ivan Yossi's avatar
      Add in Latex config and make file. · 979e36ca
      Ivan Yossi authored
      Latex configuration options
      ---------------------------
      preamble redefines sphinxsgraphics to limit the size to max page width and height so no images is ever cropped
      
      figure ht! reduce the times an image is not placed correctly within the document flow (but it is not perfect)
      
      I add a full content table for the pdf.
      
      Krita Docs Latex preprocessor and image creation MakeFile
      ---------------------------------------------------------
      
      Prepares latex build output for LaTeX formats and compile options
      
      Make file converts
      SVG -> PDF
      GIF -> PNG
      
      Updates kritaManual.tex so all files call their new converted versions
      
      Adds LATEXMKOPTS=-xelatex -interaction=nonstopmode
      
      xelatex: tells mklatex to use xelaex as backend for pdflatex, this is preferred for unicode and some sphinx modules
      -interaction=nonstopmode DO NOT stop because of errors. (If all dependencies are already intalled in Tex then most errors are warnings-like anyways)
      
      Differential Revision: https://phabricator.kde.org/D13204
      Differential Revision: https://phabricator.kde.org/D13205
      979e36ca
  2. 23 May, 2018 1 commit