Permalink
Commits on Feb 27, 2013
  1. Docx writer: Create content types and document rels from scratch.

    John MacFarlane committed Feb 27, 2013
    This fixes problems that arise when you edit the reference.docx
    with Word.  Word tends to remove things from the `[Content_Types].xml`
    and `word/_rels/document.xml.rels` files that are needed (e.g.
    references to the `footnotes.xml` file and image default mime types).
    So we regenerate these completely rather than taking them from
    the `reference.docx`.
    
    We also now encode mime types for each individual image rather
    than using defaults.  This should allow us to handle a wider
    range of image types.
    
    This mostly addresses #414.  The only remaining issue I can see
    is the issue of style IDs, which Word inexplicably changes in
    some cases when the reference.docx is saved.  E.g.
    `FootnoteReference` becomes `FootnoteReference1`.
Commits on Feb 26, 2013
  1. Added to RELEASE-CHECKLIST - tag templates repo.

    John MacFarlane committed Feb 26, 2013
  2. Refactoring in Docx writer.

    John MacFarlane committed Feb 26, 2013
  3. Updated copyright year in README

    John MacFarlane committed Feb 26, 2013
Commits on Feb 24, 2013
  1. osx InstallationCheck script: use full path for sysctl.

    John MacFarlane committed Feb 24, 2013
    Thanks to jonahbull for the suggestion.  Closes #580.
  2. Docx writer: Handle PDF images.

    John MacFarlane committed Feb 24, 2013
  3. Added PDF to content types in reference.docx.

    John MacFarlane committed Feb 24, 2013
  4. ImageSize: Added Pdf to ImageType.

    John MacFarlane committed Feb 24, 2013
    So far we have no function to determine PDF's size.
  5. reference.docx: Added default content type for emf.

    John MacFarlane committed Feb 24, 2013
  6. EPUB writer: Improved behavior with `--number-sections`.

    John MacFarlane committed Feb 24, 2013
    * Headers with "unnumbered" attribute are not numbered.
      (Nor do they cause an increment in running numbering.)
    * Section numbers now work properly, even when there is
      material before the first numbered section.
  7. EPUB writer: more transition.

    John MacFarlane committed Feb 24, 2013
    Changed toChunks to toChapters.
  8. EPUB writer: Temporary step towards a better system for numbering.

    John MacFarlane committed Feb 24, 2013
    With this change, `--number-sections` won't work.  This will
    be fixed later.
  9. HTML writer: fix case when writerNumberOffet is empty or short.

    John MacFarlane committed Feb 24, 2013
    We add 0s to the end of the list if it's shorter than needed.
  10. Added examples in README for `--number-offset`.

    John MacFarlane committed Feb 24, 2013
  11. `--number-from` -> `--number-offset`

    John MacFarlane committed Feb 24, 2013
    Also `writerNumberFrom` -> `writeNumberOffset`.
    The offset is a list of numbers (0 by default).
    These are added to the section, subsection, etc.
    numbers that would have been generated automatically.
Commits on Feb 23, 2013
  1. EPUB writer: Minor section numbering tweaks.

    John MacFarlane committed Feb 23, 2013
    * If we need to add an initial section, make it unnumbered.
    * Don't add extra space before unnumbered section titles in TOC.
  2. Clarify that `--number-from` only works in HTML.

    John MacFarlane committed Feb 23, 2013
  3. EPUB writer: Use writerNumberFrom instead of ugly hack.

    John MacFarlane committed Feb 23, 2013
  4. Documented `--number-from`.

    John MacFarlane committed Feb 23, 2013
  5. `--number-from` implies `--number-sections`.

    John MacFarlane committed Feb 23, 2013
  6. Made HTML writer sensitive to `writerNumberFrom`.

    John MacFarlane committed Feb 23, 2013
Commits on Feb 22, 2013
  1. Added `--number-from` option and `writerNumberFrom`.

    John MacFarlane committed Feb 22, 2013
    These still aren't hooked up to anything in the writers.
  2. Make `implicit_header_references` work with explicit header ids.

    John MacFarlane committed Feb 22, 2013
    (Markdown reader.)
Commits on Feb 20, 2013
  1. LaTeX reader: Don't emit empty paragraph.

    John MacFarlane committed Feb 20, 2013
    See #761.
  2. LaTeX reader: Parse `\section*`, etc. as unnumbered sections.

    John MacFarlane committed Feb 20, 2013
  3. Small spacing change in context template.

    John MacFarlane committed Feb 20, 2013
  4. ConTeXt template: Use `\placecontent` for toc.

    John MacFarlane committed Feb 20, 2013
    Configure it for toc depth.  Thanks to Aditya Mahajan.
  5. ConTeXt writer: Removed `\placecontent`.

    John MacFarlane committed Feb 20, 2013
    This produced a duplicate toc, in conjunction with `\placelist`.
  6. Allow compilation with blaze-html 0.6.

    John MacFarlane committed Feb 20, 2013
Commits on Feb 18, 2013
  1. ConTeXt writer: now sensitive to 'unnumbered' class in headers.

    John MacFarlane committed Feb 18, 2013
    In this case \title, \subject are used instead of \chapter,
    \section.
  2. LaTeX template: set secnumdepth to 5 if `--number-sections` specified.

    John MacFarlane committed Feb 18, 2013
    This yields behavior equivalent to the other writers, numbering
    level 4 and 5 headers too.
    
    Closes #753.
Commits on Feb 17, 2013
  1. Textile reader: Handle attributes on headers.

    John MacFarlane committed Feb 17, 2013
    Includes `[lang]`, `(class #id)`, `{color:red}` styles.
  2. LaTeX writer: Omit lists with no items.

    John MacFarlane committed Feb 17, 2013
    Otherwise we get LaTeX errors.
  3. EPUB writer: Fix section numbering.

    John MacFarlane committed Feb 17, 2013
    Previously the numbering restarted from 1 in each chapter
    (with `--number-sections`), though the numbers in the table
    of contents were correct.
    
    Note that this fix is a bit hackish and possibly fragile:
    if the rendering of section numbers in HTML changes in the
    future, it may break.  But it works, without needing
    changes in other modules.
  4. HTML reader: Preserve all header attributes.

    John MacFarlane committed Feb 17, 2013