summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2016-11-20 22:11:59 -0700
committerDan Allen <dan.j.allen@gmail.com>2016-11-20 22:11:59 -0700
commit5324501ef535df1663e351bc9e90da37ba9d3dd9 (patch)
tree3cb5cc69ff5d15b765319743e7246b98663e6e1f
parentd101b9bdf2798c5833fbb77be6fa5c97b8aa2231 (diff)
update WORKLOG
-rw-r--r--WORKLOG.adoc13
1 files changed, 12 insertions, 1 deletions
diff --git a/WORKLOG.adoc b/WORKLOG.adoc
index fb62c319..cbf56a90 100644
--- a/WORKLOG.adoc
+++ b/WORKLOG.adoc
@@ -5,6 +5,11 @@
== TODO
+* use background color from pygments theme for source block
+* what should we set as the border color if the source highlighting theme has a background color?
+* height of listing block not calculated correctly when string of contiguous characters exceeds length of line
+ - put listing block with very long line inside of sidebar; see that sidebar height is incorrect (too large)
+ - is this because source highlighting is not done in scratch document?
* backport resize method from prawn-svg and use it in converter (now in two places)
* rework resolve_image_path API so it's more logical; override based on type of first argument; document as option
* rename text-alignment attribute to text-align? (change is within alpha.14, so still a chance to change)
@@ -12,8 +17,10 @@
* introduce theme keys for styling index
* index term that wraps should have a hanging indent (#645)
* rename inherited_align to text_align? (and base_align to base_text_align?)
+* make sure any state is cleared after conversion, including attributes assigned
* allow front cover and back cover image to be defined in theme as fallback; document in theming-guide
+* keep together lines of a colist item?
* FILE ISSUE only nest document outline inside root node if doctype=article
* don't crash if image in running content is an unsupported format
* support image URL (using resolve_image_path) in running content (what about data-uri?)
@@ -89,6 +96,7 @@
* UNRESOLVED: dry_run should start at cursor of main document (or as option); total height calculation would need to be revised
- box_height isn't currently accurate when it spans more than one page
- this should fix height calculation when content is split over a page break (leaving small amount of excess)
+ - make sure at least one line can be written when code is split or else jump to next page
- however, if cursor is advanced to fit content on page, then that excess will cause box_height to be too large
- life would be simpler if Prawn allowed us to draw graphics at bottom layer
* support pdfwidth for inline image (#620)
@@ -124,6 +132,7 @@
* support URL images in running content (need to delegate to resolve_image_path)
* rewrite optimize-pdf using rghost (#535) (also see #21 and #22)
- add Optimizer class; wire to cli (separate issue?)
+ - we could recommend using HexaPDF with some sample code in README, but we can't integrate it since it's AGPL
* add feature to number bullets according to section number (needed for OpenDevise agreements)
* outline should link to title page if there's a cover page (skip cover page and ensuing blank page)
* don't allow title page content to jump to next page
@@ -134,7 +143,8 @@
* margins/paddings at page boundaries are strange, fragile
* implement margin collapsing (between blocks)
- would eliminate need for negative padding for blockquote
-* bw theme for CodeRay (or Rouge) to match output of Pygments bw
+* bw theme for Rouge to match output of Pygments bw
+ - also look at grayscale theme from highlight.js
* the nested? method on list isn't checking if nested inside a block inside a list
- need an example
* wrapped lines in source listing should be indented to account for line number gutter (#504)
@@ -288,6 +298,7 @@
- currently controlled by theme
* make conum glyphs configurable in theme (use reference table to resolve)
* CJK and/or multilingual support (see https://github.com/chloerei/asciidoctor-pdf-cjk)
+ - document this in the README
* description list term should keep together with content (file issue)
* allow font properties to be set for lists (description_list, outline_list)
* hardbreak in table cell results in extra endline (likely not normalizing cell content)