skaterkamp / docbook-letter Goto Github PK
View Code? Open in Web Editor NEWAsciidoctor / Docbook XML Letter Stylesheet (DIN 5008)
License: Apache License 2.0
Asciidoctor / Docbook XML Letter Stylesheet (DIN 5008)
License: Apache License 2.0
I was just searching for a way to write my letters using asciidoc, when I found your transformation. Sadly I can't get it to work to produce the results you have? Do I need to use a special version of the tools? I'm using your example asciidoc file.
While it works on debian, the PDF doesn't look at all like a letter.
I always get the following error:
compilation error: file dinbriefFormB.xsl line 8 element stylesheet
xsl:version: only 1.0 features are supported
ERROR: Document root element for FO output must be one of the following elements:appendix article bibliography book chapter colophon dedication glossary index part preface qandaset refentry reference sect1 section set setindex letter
# asciidoctor -v
Asciidoctor 1.5.4 [http://asciidoctor.org]
Runtime Environment (ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux-musl]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
# xsltproc -version
Using libxml 20904, libxslt 10129 and libexslt 817
xsltproc was compiled against libxml 20903, libxslt 10129 and libexslt 817
libxslt 10129 was compiled against libxml 20903
libexslt 817 was compiled against libxml 20903
# xmllint -version
xmllint: using libxml version 20904
compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib
# fop -version
FOP Version 2.0
compilation error: file dinbriefFormB.xsl line 8 element stylesheet
xsl:version: only 1.0 features are supported
Note: namesp. cut : stripped namespace before processing AsciiDoc Article Title
Note: namesp. cut : processing stripped document AsciiDoc Article Title
Making portrait pages on A4 paper (210mmx297mm)
Image not found. URI: /tmp/caterpillar.png. (See position 577:137)
margin-left="inherit" on fo:list-block, but no explicit value found on the parent FO.
margin-left="inherit" on fo:list-block, but no explicit value found on the parent FO.
margin-left="inherit" on fo:list-block, but no explicit value found on the parent FO.
Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".
Couldn't find hyphenation pattern for lang="en".
Line 1 of a paragraph overflows the available area by 19125 millipoints. (See position 682:390)
Line 1 of a paragraph overflows the available area by 5925 millipoints. (See position 682:390)
Rendered page #1.
Rendered page #2.
# asciidoctor -V
Asciidoctor 0.1.4 [http://asciidoctor.org]
# xsltproc -version
Using libxml 20901, libxslt 10128 and libexslt 817
xsltproc was compiled against libxml 20901, libxslt 10128 and libexslt 817
libxslt 10128 was compiled against libxml 20901
libexslt 817 was compiled against libxml 20901
# xmllint -version
xmllint: using libxml version 20901
compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib Lzma
# fop -version
FOP Version 1.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.