Giter Site home page Giter Site logo

docbook-letter's People

Contributors

skaterkamp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

danyill

docbook-letter's Issues

example not working

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:

alpine linux

output

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

tool versions

# 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

debian

output

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.

tool versions

# 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.