| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #414.
Previously, if you edited the reference.docx with Word, then
created a new docx using the edited reference.docx, Word would complain
about the file being corrupt. The problem seems to be that Word
changes _rels/.rels, changing the Type of the Relationship to
docProps/core.xml from
"http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties"
to
"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties".
As far as I can see, this is a bug in Word, since the latter is not
valid. (See
http://idippedut.dk/post/2010/04/22/Correct-according-to-spec-or-implementation.aspx.)
This change simply does a global replace on _rels/.rels that reverts
the change Word makes. And now producing docx files with Word-modified
reference.docx seems to work.
|
|
|
|
|
|
|
|
| |
Had xCs instead of iCs.
reference.docx now validates at
http://www.probatron.org:8080/officeotron/officeotron.html.
This may help with #414.
|
|
|
|
| |
See #414.
|
|
|
|
|
| |
if it doesn't start w space or punctuation. Otherwise we
get no space between the year and the suffix in author-date styles.
|
| |
|
| |
|
|
|
|
| |
ALso removed sildes.min.js, which was no longer being used.
|
|
|
|
|
|
| |
+ Skip options after block commands.
+ Correctly handle {\\} in braced.
+ Added a needed 'try'.
|
|
|
|
|
|
|
|
|
|
| |
Now
\begin{equation}
a_1
\end{equation}
turns into a raw latex block as expected.
|
| |
|
| |
|
|\
| |
| | |
"be is in" -> "be in"
|
| | |
|
|/
|
|
|
| |
The old one was bad, because the HTML comment is no longer
needed for that case in pandoc.
|
|
|
|
|
|
| |
(1) Attributes can contain line breaks.
(2) Values in key-value attributes can be surrounded by either
double or single quotes, or left unquoted if they contain no spaces.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(Due to new field in ParserState introduced in last commit.)
|
|
|
|
|
|
|
|
|
|
| |
This avoids exponential lookahead in parasitic cases, like
a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**.
Added stateMaxNestingLevel to ParserState.
We set this to 6, so you can still have Emph inside Emph, just not
indefinitely.
|
|
|
|
|
|
| |
Note: This will pick up on \tableofcontents even if it's
in a verbatim environment. But the worst that can happen is
that the document takes a bit longer to build.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Otherwise even those who don't build with the tests flag need
to have dependencies like test-framework.
This restores the old behavior; I wrongly assumed that by now cabal
was smart enough not to bring in build-depends for components with
Buildable = False.
|
|
|
|
|
|
| |
This is important primarily for things like `--option`.
Em and En dashes will produce '---' and '--' in LaTeX, but
hyphens should not otherwise combine into dashes.
|
| |
|
|
|
|
|
|
|
| |
This way you can still get the raw latex back, even if you don't
process with citeproc. Previously, cites were not visible at all
unless you specified --biblio on the command line and converted
them using citeproc, or used --natbib or --biblatex.
|
|
|
|
|
| |
Classes 'literate' and 'haskell' are needed for bird tracks.
Closes #395.
|
|
|
|
|
|
|
|
| |
We no longer try to parse the log file to determine whether latex
needs to be rerun. Instead, we run latex twice -- which should be
enough for table of contents and hyperrefs.
Closes #402.
|
|\
| |
| | |
Relax test-framework version dependency to allow building with GHC 7.4.1
|
|/
|
|
| |
0.5 is the first version on Hackage that builds under GHC 7.4.1.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is needed for ghcPackageDbOptions in Setup.hs.
|
| |
|
| |
|
|
|
|
| |
Otherwise we can't compile on ghc 6.12.
|