Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ideas for px:html-chunker #16

Open
3 tasks
bertfrees opened this issue Feb 12, 2020 · 1 comment
Open
3 tasks

Ideas for px:html-chunker #16

bertfrees opened this issue Feb 12, 2020 · 1 comment
Labels
enhancement New feature or request refactoring

Comments

@bertfrees
Copy link
Member

bertfrees commented Feb 12, 2020

Some new options could be added to px:html-chunker:

  • the "always-break-before" and "always-break-after" options passed to px:chunker are currently hard-coded but could be exposed
  • option to insert "prev" and "next" links
  • option(s) to update the heading levels of the chunks using the new px:html-outline

In addition, in the lower-level px:chunker step, the "link-attribute-name" option should be replaced by a "mapping" output that contains a d:fileset document with a mapping from old to new file names (similar to px:fileset-copy and px:epub3-safe-uris). A separate px:html-update-links step can then be used to fix the attributes. (Done in aaa3a99.)

@bertfrees bertfrees added the enhancement New feature or request label Feb 12, 2020
@bertfrees bertfrees added this to the Next milestone Mar 23, 2020
bertfrees added a commit that referenced this issue Apr 2, 2020
Give the px:chunker a "mapping" output instead of the
"link-attribute-name" option and apply the mapping afterwards with
px:html-update-links.

See #16
bertfrees added a commit that referenced this issue May 14, 2020
Give the px:chunker a "mapping" output instead of the
"link-attribute-name" option and apply the mapping afterwards with
px:html-update-links.

See #16
bertfrees added a commit that referenced this issue Jul 6, 2020
Give the px:chunker a "mapping" output instead of the
"link-attribute-name" option and apply the mapping afterwards with
px:html-update-links.

See #16
bertfrees added a commit that referenced this issue Aug 17, 2020
Give the px:chunker a "mapping" output instead of the
"link-attribute-name" option and apply the mapping afterwards with
px:html-update-links.

See #16
bertfrees added a commit that referenced this issue Aug 17, 2020
Give the px:chunker a "mapping" output instead of the
"link-attribute-name" option and apply the mapping afterwards with
px:html-update-links.

See #16
bertfrees added a commit that referenced this issue Aug 17, 2020
Give the px:chunker a "mapping" output instead of the
"link-attribute-name" option and apply the mapping afterwards with
px:html-update-links.

See #16
bertfrees added a commit that referenced this issue Aug 26, 2020
Give the px:chunker a "mapping" output instead of the
"link-attribute-name" option and apply the mapping afterwards with
px:html-update-links.

See #16
@bertfrees
Copy link
Member Author

Partly addressed in aaa3a99.

@bertfrees bertfrees removed this from the Next milestone Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring
Projects
None yet
Development

No branches or pull requests

1 participant