mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
Spelling: LaTeX, Pandoc, XeLaTeX, Unicode, HTML. https link
See pull request #310.
This commit is contained in:
parent
dde836e0f4
commit
62a8a136c0
|
@ -15,8 +15,8 @@ except ImportError:
|
|||
|
||||
class HTML(markdown):
|
||||
name = "HTML"
|
||||
description = qApp.translate("Export", "Basic HTML output using python module 'markdown'.")
|
||||
InvalidBecause = qApp.translate("Export", "python module 'markdown'.")
|
||||
description = qApp.translate("Export", "Basic HTML output using the Python module 'markdown'.")
|
||||
InvalidBecause = qApp.translate("Export", "Python module 'markdown'.")
|
||||
icon = "text-html"
|
||||
|
||||
exportVarName = "lastManuskriptHTML"
|
||||
|
|
|
@ -15,9 +15,9 @@ class PDF(abstractOutput):
|
|||
"""PDF Viewer using PDF.js. Cf. https://github.com/mozilla/pdf.js/wiki/Setup-PDF.js-in-a-website"""
|
||||
|
||||
name = "PDF"
|
||||
description = qApp.translate("Export", "Needs latex to be installed.")
|
||||
InvalidBecause = qApp.translate("Export", """a valid latex installation. See pandoc recommendations on:
|
||||
<a href="http://pandoc.org/installing.html">http://pandoc.org/installing.html</a>. If you want unicode support, you need xelatex.""")
|
||||
description = qApp.translate("Export", "Needs LaTeX to be installed.")
|
||||
InvalidBecause = qApp.translate("Export", """a valid LaTeX installation. Pandoc recommendations can be found on:
|
||||
<a href="https://pandoc.org/installing.html">pandoc.org/installing.html</a>. If you want Unicode support, you need XeLaTeX.""")
|
||||
icon = "application-pdf"
|
||||
|
||||
exportVarName = "lastPandocPDF"
|
||||
|
|
|
@ -108,7 +108,7 @@ class pandocSettings(markdownSettings):
|
|||
"atx": pandocSetting("--atx-headers", "checkbox", "markdown asciidoc",
|
||||
qApp.translate("Export", "Use ATX-style headers")),
|
||||
"self-contained": pandocSetting("--self-contained", "checkbox", "html",
|
||||
qApp.translate("Export", "Self-contained html files, with no dependencies")),
|
||||
qApp.translate("Export", "Self-contained HTML files, with no dependencies")),
|
||||
"q-tags": pandocSetting("--html-q-tags", "checkbox", "html",
|
||||
qApp.translate("Export", "Use <q> tags for quotes in HTML")),
|
||||
"latex-engine": pandocSetting("--latex-engine=", "combo", "pdf",
|
||||
|
|
|
@ -18,7 +18,7 @@ class markdown(abstractPlainText):
|
|||
|
||||
class reST(abstractPlainText):
|
||||
name = "reST"
|
||||
description = qApp.translate("Export", """reStructuredText is a lightweight markup language...""")
|
||||
description = qApp.translate("Export", """reStructuredText is a lightweight markup language.""")
|
||||
|
||||
exportVarName = "lastPandocreST"
|
||||
toFormat = "rst"
|
||||
|
|
Loading…
Reference in a new issue