Comments (3)
Here's what I'm thinking. /Producer can be overridden using the producer
attribute, but will default to the Asciidoctor PDF credit line. /Creator can be overridden using the publisher
attribute, but will default to the author. (Here I'm remapping the publisher attribute to /Creator instead of /Producer per the description in the PDF specification).
(We always have to populate both fields or Prawn will fill them in with the text "Prawn").
from asciidoctor-pdf.
Here are the definitions of these fields according to the PDF specification:
- /Creator (Optional) If the document was converted to PDF from another format, the name of the conforming product that created the original document from which it was converted.
- /Producer (Optional) If the document was converted to PDF from another format, the name of the conforming product that converted it to PDF.
It would seem as though the Creator is for whatever product created the AsciiDoc (if relevant) and the Producer is for whatever product generated/produced the PDF (in this case Asciidoctor PDF + Prawn).
I would agree that Producer should be the Asciidoctor PDF credit.
Note that the Producer field can be overridden using the publisher
attribute, which was requested/required by one of the users of Asciidoctor PDF long ago. (I think I'll add producer
as a fallback just for completeness).
For Creator, I'm not sure. I think perhaps we should default that field to the author, but still allow it to be overridden using the creator
attribute.
from asciidoctor-pdf.
/Creator can be overridden using the publisher attribute
I sure wish there was a /Publisher field, but there just isn't (and most PDF readers don't show custom fields). So publisher
→ /Creator just has to mean what the author wants it to mean. What's important is that now you'll have control over both fields, which is the key focus here in my mind.
from asciidoctor-pdf.
Related Issues (20)
- Source location not reported if description in horizontal dlist is truncated
- Upgrade prawn-svg to 0.34.x HOT 1
- Remove link from entry in TOC
- Support prawn-icon 3.1.x in v2.3.x branch HOT 1
- Lock ttfunk to 1.7.x in 2.3.x release line HOT 2
- Document exceptions to the nobreak role and non-breaking characters HOT 6
- Add support for SVG to image reference in SVG encoded as a data URI (SVG data loader) HOT 1
- Alternative to prawn-gmagick? HOT 3
- asciidoctor: WARNING: unknown unordered list style: something HOT 2
- A custom title page HOT 1
- Add theme support for indent for admonition and sidebar HOT 1
- prose_margin_inner has no effect on prose in table cells HOT 1
- line break in theme attribute "with_email" not working any more HOT 2
- min-height-after: auto ignores %unbreakable table option HOT 7
- Don't hyphenate autolink when hyphenation is enabled
- add log messages from document HOT 1
- Arrows not shown in BPMN diagrams HOT 5
- Add see and see-also entries on index term to generated index
- Watermark (foreground image) is always left-aligned on landscape pages HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asciidoctor-pdf.