dita-generator | DITA Generator is a Python program | Generator Utils library
kandi X-RAY | dita-generator Summary
kandi X-RAY | dita-generator Summary
DITA Generator is a Python program that generates DITA shell DTDs, DITA topic specialization stubs, and DITA-OT plugin stubs. Online schema generator is available at DITA Generator hosted by Google App Engine. PDF plugin generator is available at PDF Plugin Generator hosted by Heroku and the source code is hosted at
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Handle POST requests
- Read the arguments from the request
- Process command line arguments
- Process arguments
- Handle GET requests
- Print a line
- Get a mapping of clazz to clazz
- Find subclasses of clazz
- Main function
- Parse a list
- Create an element
dita-generator Key Features
dita-generator Examples and Code Snippets
Community Discussions
Trending Discussions on dita-generator
QUESTION
I've recently started generating and styling my DITA documents with DITA-OT and Apache FOP 2.4 PDF formatter. My problem is that I haven't found a comprehensive documentation about the xsl:attribute-set
elements which essentially style the resulting PDFs.
With the help of the official DITA-OT PDF XSL documents and the plugin generated by jelovirt's PDF generator I can experiment a bit and change some values which define the basic properties of a page, however I find this "reverse documentation" learning inefficient.
My question is, do you know about any documentation which lists the names of the different generated elements of org.dita.pdf2 to be able to style them?
Like the titles can be formatted with topic.title
attribute set, text bodies with common.block
, etc.
In its simplest form something like a graphics depicting an A4 paper saying the header can be styled with this attribute-set, the footer with something else, those are the different text blocks, etc.
I'm fairly new in the DITA world, so there might be an obvious place to look at, but unfortunately, I haven't found it yet.
...ANSWER
Answered 2019-Nov-10 at 16:50You'll want to purchase "DITA for Print (2nd Edition)" by Leigh White. In addition, you'll probably find the dita-users list at Groups.io to be the most useful resource for questions about DITA and PDF.
QUESTION
hope someone to help me, thanks!
When I use dita-ot-3.0 to output pdf, I find in many places, the images are displayed in the same line with text.
I try two plugins:
- default pdf2 plugin
- a customization pdf plugin using PDF Plugin Generator at https://github.com/jelovirt/dita-generator (I didnot find any place to set image attribute)
So here is my question, I write xml like this:
source xml file
When I output pdf, I get this:
image is shown in the same line with text
there are many other images showing like that. How can I make the image show starting from a new line? Am I misusing the element? Is the difference between inline element or block?
...ANSWER
Answered 2017-Dec-08 at 06:11You should be able to do this by setting the attribute placement="break"
to the element. This is explained in the spec.
QUESTION
I am a non-programmer TW, thank you first for your help, if any.(* ̄︶ ̄)
I custom a PDF plugin by using http://dita-generator.elovirta.com/. and use dita --install command to install the plugin .zip file. I check the plugins file in default dita-ot-3.0 directory, the plugin has been successfully installed. Here is the question: how can i call the custom PDF plugin when outputting PDF from a ditamap file.
Thanks.
...ANSWER
Answered 2017-Dec-05 at 16:06You have defined a name for the transformation in the last step. Open the plugin.xml
and look up the transtype name from the extension point dita.transtype.print
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dita-generator
You can use dita-generator like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page