| Age | Commit message (Collapse) | Author | Files | Lines | 
|---|
|  | Quite a few modules were missing copyright notices.
This commit adds copyright notices everywhere via haddock module
headers.  The old license boilerplate comment is redundant with this and has
been removed.
Update copyright years to 2019.
Closes #4592. | 
|  | Now, instead of always creating temp dirs in the home
directory on Windows, we only do it if the system tempdir
name contains tildes.  (This will be the case for longer
usernames only.)
Closes #1192. | 
|  | Previously the temp directory was created inside the working
directory, so that programs like epstopdf.pl would be allowed
to run in restricted mode.  However, setting TEXMFOUTPUT allows
these programs to run in the tmpdir inside the system temp
directory.
This is a better solution than cd51983.  Using the system
temp dir prevents problems when pandoc is run inside a synced
directory (e.g. dropbox).
Partially addresses #1192. | 
|  | When rsvg-convert is not available, pandoc would tell the user to check for rsvg2pdf instead | 
|  | Closes #4755.
This will mean some increase in the time it takes to
produce an image-heavy PDF with xelatex, but it will
make tables of contents correct, which is more important.
Note that the production time should also be decreased
by the previous commit, which fixed a logic error
affecting the number of runs.  That change might mitigate
the effect of this one. | 
|  | We were running the tex program one more time than requested.
This should speed up pdf production. | 
|  | Fixes #4681. | 
|  | * Revert "PDF: Use withTempDir in html2pdf."  We're going back to using tmpFile instead of piping
* Revert "html2pdf: inject base tag wih current working directory (#4443)"
Fixes #4413 | 
|  | pdflatex converts them itself, and JuicyPixels can't do it.
See #2067. | 
|  | Otherwise we can have problems with things like epstopdf.pl,
which pdflatex runs to convert eps files and which won't run
on a file above the working directory in restricted mode. | 
|  | This is intended to help with #4524, a problem on Windows
where using weasyprint led to a blank PDF. | 
|  | This saves time for image-heavy documents.  Closes #4484. | 
|  | This seems to be necessary if we are to use our custom Prelude
with ghci.
Closes #4464. | 
|  |  | 
|  | fixes #4413 | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | - Removed writerPdfArgs from WriterOptions (API change).
- Added parameter for pdf args to makePDF. | 
|  | They can be obtained from CommonState since we're
in PandocIO. | 
|  | Removed `writerSourceURL` from `WriterOptions` (API change).
Added `stSourceURL` to `CommonState`.
It is set automatically by `setInputFiles`.
Text.Pandoc.Class now exports `setInputFiles`, `setOutputFile`.
The type of `getInputFiles` has changed; it now returns `[FilePath]`
instead of `Maybe [FilePath]`.
Functions in Class that formerly took the source URL as a parameter
now have one fewer parameter (`fetchItem`, `downloadOrRead`,
`setMediaResource`, `fillMediaBag`).
Removed `WriterOptions` parameter from `makeSelfContained` in
`SelfContained`. | 
|  | * Rename --latex-engine to --pdf-engine
* In `Text.Pandoc.Options.WriterOptions`, rename `writerLaTeXEngine` to `writerPdfEngine` and `writerLaTeXArgs` to `writerPdfArgs`.
 * Add support for `weasyprint` and `prince`, in addition to `wkhtmltopdf`, for PDF generation via HTML (closes #3906).
* `Text.Pandoc.PDF.html2pdf`: use stdin instead of intermediate HTML file | 
|  |  | 
|  | Instead, just try running it and raise the exception if it
isn't found at that point.
This improves things for users of Cygwin on Windows, where
the executable won't be found by `findExecutable` unless
`.exe` is added.
The same exception is raised as before, but at a later
point.
Closes #3819. | 
|  | Closes #1793. | 
|  | * Added `MissingCharacter` to `LogMessage` in Text.Pandoc.Logging.
* Parse the (xe)latex log for missing character warnings and issue
  the warning.
Closes #3742. | 
|  | * XML.toEntities: changed type to Text -> Text.
* Shared.tabFilter -- fixed so it strips out CRs as before.
* Modified writers to take Text.
* Updated tests, benchmarks, trypandoc.
[API change]
Closes #3731. | 
|  | See #852. | 
|  |  | 
|  |  | 
|  | This follows the suggestions given by the FSF for GPL licensed software.
<https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html> | 
|  |  | 
|  | This reduces code duplication.
We should be able to do something similar in ODT, Docx, EPUB writers. | 
|  |  | 
|  |  | 
|  |  | 
|  | pandoc -t ms -o output.pdf input.txt | 
|  |  | 
|  | To do this, we create the temp directory as a subdirectory
of the working directory. Since context mk IV by default looks
for images in the parent directory, this works.
Closes #3380. | 
|  |  | 
|  | mkiv context doesn't use TEXINPUTS. | 
|  | PDF writer: Use 'report' instead of 'warn', make it sensitive
to verbosity settings. | 
|  |  | 
|  | This now contains the Verbosity definition previously
in Options, as well as a new LogMessage datatype that
will eventually be used instead of raw strings for
warnings.
This will enable us, among other things, to provide
machine-readable warnings if desired.
See #3392. | 
|  | API change.
Also added a verbosity parameter to makePDF. | 
|  | API changes: Text.Pandoc.Options:
* Added Verbosity.
* Added writerVerbosity.
* Added readerVerbosity.
* Removed writerVerbose.
* Removed readerTrace.
pandoc CLI:  The `--trace` option sets verbosity to DEBUG;
the `--quiet` option sets it to ERROR, and the `--verbose`
option sets it to INFO.  The default is WARNING. | 
|  | ...since this is now handled through PandocMonad.
Added an explicit MediaBag parameter to makePDF and makeSelfContained. | 
|  | Made changes where these are used, so that the version
of fetchItem from PandocMonad can be used instead. |