aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-16Add comment acknowledging source of .travis.yml.John MacFarlane1-2/+2
2016-11-16remove make_travis_yml.hs (#3235)ickc2-213/+0
2016-11-16Small caps in Bracketed Spans (#3191)ickc3-1/+19
* Markdown reader: modify bracketedSpan to check small caps * MANUAL.txt: add description on the use of `bracketed_spans` in small cap * Improve markdown readers: bracketedSpan function EXACTLY as spanHtml
2016-11-15Adjust widths in Markdown grid tables so that they match on round-trip.John MacFarlane1-1/+1
2016-11-15Allow alignments to be specified in Markdown grid tables.John MacFarlane5-28/+113
2016-11-15Markdown writer: fixed inconsistent spacing issue.John MacFarlane4-15/+21
Previously a tight bullet sublist got rendered with a blank line after, while a tight ordered sublist did not. Now we don't get the blank line in either case. Closes #3232.
2016-11-15changelog: Moved an item that was misplaced...John MacFarlane1-1/+3
in the 1.17.2 section to the 1.18 section where it belongs.
2016-11-13HTML reader: only treat "a" element as link if it has href.John MacFarlane2-7/+23
Otherwise treat as span. Closes #3226.
2016-11-12Use correct mime types for woff and woff2.John MacFarlane1-2/+2
Closes #3228.
2016-11-12Markdown writer: Fix escaping of spaces in super/subscript.John MacFarlane1-37/+39
Previously two backslashes were inserted, which gave a literal backslash. Closes #3225.
2016-11-10Docx reader: add a placeholder value for CHART.Jesse Rosenthal2-0/+17
We wrap `[CHART]` in a `<span class="chart">`. Note that it maps to inlines because, in docx, anything in a drawing tag can be part of a larger paragraph.
2016-11-10Docx reader: Be more specific in parsing imagesJesse Rosenthal1-6/+10
We not only want "w:drawing", because that could also include charts. Now we specify "w:drawing"//"pic:pic". This shouldn't change behavior at all, but it's a first step toward allowing other sorts of drawing data as well.
2016-11-09Org reader: allow HTML attribs on non-figure imagesAlbert Krewinkel2-6/+14
Images which are the only element in a paragraph can still be given HTML attributes, even if the image does not have a caption and is hence not a figure. The following will add set the `width` attribute of the image to `50%`: #+ATTR_HTML: :width 50% [[file:image.jpg]] Closes: #3222
2016-11-08Inline code when text has a special styleHubert Plociniczak7-69/+85
When a piece of text has a text 'Source_Text' then we assume that this is a piece of the document that represents a code that needs to be inlined. Addapted an odt writer to also reflect that change; previously it was just writing a 'preformatted' text using a non-distinguishable font style. Code blocks are still not recognized by the ODT reader. That's a separate issue.
2016-11-05Markdown reader: Allow reference link labels starting with @...John MacFarlane1-1/+2
...if citations extension disabled. Example: in [link text][@a] [@a]: url `link text` isn't hyperlinked because `[@a]` is parsed as a citation. Previously this happened whether or not the `citations` extension was enabled. Now it happens only if the `citations` extension is enabled. Closes #3209.
2016-11-05Allow `file://` URIs as arguments.John MacFarlane1-0/+4
Also improved default reader format detection. Previously with a URI ending in .md or .markdown, pandoc would assume HTML input. Now it treats these as markdown. Closes #3196.
2016-11-03Improved error if they give wrong arg to --top-level-division.John MacFarlane1-1/+1
2016-11-02Docx Reader: abstract out function to avoid code repetition.Jesse Rosenthal1-16/+14
2016-11-02Docx reader/writer: Update tests for img title and altJesse Rosenthal5-4/+4
Closes #3204
2016-11-02Docx writer: Handle title text in images.Jesse Rosenthal1-2/+2
We already handled alt text. This just puts the image "title" into the docx "title" attr.
2016-11-02Docx reader: Handle Alt text and titles in images.Jesse Rosenthal2-11/+28
We use the "description" field as alt text and the "title" field as title. These can be accessed through the "Format Picture" dialog in Word.
2016-11-02Docx reader utils: handle empty namespace in elemNameJesse Rosenthal1-1/+2
Previously, if given an empty namespace: (elemName ns "" "foo") `elemName` would output a QName with a `Just ""` namespace. This is never what we want. Now we output a `Nothing`. If someone *does* want a `Just ""` in the namespace, they can enter the QName value explicitly.
2016-11-02HTML reader: treat `<math>` as MathML by default...John MacFarlane1-8/+11
unless something else is explicitly specified in xmlns. Provided it parses as MathML, of course. Also fixed default which should be to inline math if no display attribute is used.
2016-11-02LaTeX reader: Handle BVerbatim from fancyvrb. Fixes #3203.John MacFarlane1-10/+15
2016-11-01Handle hungarumlaut in LaTeX reader. Closes #3201.John MacFarlane1-0/+16
2016-11-01[odt] Infer tables' header props from rows (#3199)hubertp-lshift2-3/+10
ODT reader simply provided an empty header list which meant that the contents of the whole table, even if not empty, was simply ignored. While we still do not infer headers we at least have to provide default properties of columns.
2016-10-31Added a test case with a complex raw latex environment in Markdown.John MacFarlane2-0/+10
2016-10-31LaTeX reader: allow for []s inside LaTeX optional args.John MacFarlane1-1/+2
Fixes cases like: \begin{center} \begin{tikzpicture}[baseline={([yshift=+-.5ex]current bounding box.center)}, level distance=24pt] \Tree [.{S} [.NP John\index{i} ] [.VP [.V likes ] [.NP himself\index{i,*j} ]]] \end{tikzpicture} \end{center}
2016-10-30Org reader: support `ATTR_HTML` for special blocksAlbert Krewinkel2-9/+31
Special blocks (i.e. blocks with unrecognized names) can be prefixed with an `ATTR_HTML` block attribute. The attributes defined in that meta-directive are added to the `Div` which is used to represent the special block. Closes: #3182
2016-10-30Org reader: support the `todo` export optionAlbert Krewinkel4-2/+13
The `todo` export option allows to toggle the inclusion of TODO keywords in the output. Setting this to `nil` causes TODO keywords to be dropped from headlines. The default is to include the keywords.
2016-10-30Org reader: add support for todo-markersAlbert Krewinkel4-130/+263
Headlines can have optional todo-markers which can be controlled via the `#+TODO`, `#+SEQ_TODO`, or `#+TYP_TODO` meta directive. Multiple such directives can be given, each adding a new set of recognized todo-markers. If no custom todo-markers are defined, the default `TODO` and `DONE` markers are used. Todo-markers are conceptually separate from headline text and are hence excluded when autogenerating headline IDs. The markers are rendered as spans and labelled with two classes: One class is the markers name, the other signals the todo-state of the marker (either `todo` or `done`).
2016-10-27Update pandoc-citeproc commit to use for binary packages.John MacFarlane3-3/+3
2016-10-26stack.yamls - use git commit from pandoc-citeprocJohn MacFarlane3-3/+9
so we don't have to wait for stackage's hackage mirror to update.
2016-10-26Updated man page.John MacFarlane1-33/+35
2016-10-26Updated authors in MANUAL.txt.John MacFarlane1-23/+35
2016-10-26Updated changelog.John MacFarlane1-8/+17
2016-10-26Updated man page.John MacFarlane1-20/+120
2016-10-26Print highlighting-kate version in --version.John MacFarlane1-1/+1
2016-10-26Use lts-7.5 resolver.John MacFarlane5-5/+5
2016-10-26Use latest pandoc-citeproc.John MacFarlane3-3/+3
2016-10-26Version to 1.18.John MacFarlane2-2/+2
2016-10-26Fixed date on MANUAL.txtJohn MacFarlane1-1/+1
2016-10-26Markdown Reader: add attributes for autolink (#3183)Daniele D'Orazio2-2/+13
2016-10-25reveal.js: don't change slide title to level 1 header.John MacFarlane1-3/+1
This also affects other HTML slide show formats. Closes #2221.
2016-10-25Minor changes to CONTRIBUTING.md.John MacFarlane1-2/+2
2016-10-25Removed duplicate link refs.John MacFarlane1-3/+1
2016-10-25README.md: added link to INSTALL and examples and demo on website.John MacFarlane1-3/+10
2016-10-25Added INSTALL.md, incorporating INSTALL + installing page from website.John MacFarlane4-265/+342
2016-10-25Document hyperref options for beamer in MANUAL.John MacFarlane1-0/+8
2016-10-25Add hypersetup options to beamer templates (Jake Zimmerman).John MacFarlane1-9/+7