← Back to team overview

kicad-developers team mailing list archive

Re: asciidoc

 

Hi,

this topic more relevant for kicad-doc I think.

Am 30.05.21 um 20:34 schrieb Jon Evans:
> You want this one: https://github.com/Mogztter/asciidoctor-web-pdf
> 
> On Ubuntu I install it with "sudo npm i -g @asciidoctor/core asciidoctor-pdf"

For Debian (and also for Ubuntu) this isn't possible.
We need to build stuff from packages that are available within the
archive, there is no access to any external resources while binary
package build.

This NPM module isn't packed so we can't use this way.

Some similar Ruby based package is available, but I've no clue if this
is suitable.

> $ apt search asciidoctor
> Sorting... Done
> Full Text Search... Done
> asciidoctor/testing,testing,now 2.0.12-2 all [installed]
>   AsciiDoc to HTML rendering for Ruby
> 
> asciidoctor-doc/testing,testing 2.0.12-2 all
>   AsciiDoc to HTML rendering for Ruby (documentation)
> 
> ruby-asciidoctor/testing,testing,now 2.0.12-2 all [installed,automatic]
>   AsciiDoc to HTML rendering for Ruby (core libraries)
> 
> ruby-asciidoctor-include-ext/testing,testing 0.3.1-2 all
>   Asciidoctor's standard include::[] processor reimplemented as an extension
> 
> ruby-asciidoctor-kroki/testing,testing 0.2.2-3 all
>   Asciidoctor extension to convert diagrams to images using Kroki
> 
> ruby-asciidoctor-pdf/testing,testing,now 1.5.4-3 all [installed]
>   Converts AsciiDoc documents to PDF using Prawn
> 
> ruby-asciidoctor-plantuml/testing,testing 0.0.12-1 all
>   extension for Asciidoctor to enable support for PlantUML diagrams
> 
> $ apt show ruby-asciidoctor-pdf
> Package: ruby-asciidoctor-pdf
> Version: 1.5.4-3
> Priority: optional
> Section: ruby
> Maintainer: Keith Packard <keithp@xxxxxxxxxx>
> Installed-Size: 3.754 kB
> Depends: ruby (>= 1:2.5.1), ruby-asciidoctor (>= 1.5.0), ruby-concurrent (>= 1.1~), ruby-prawn (>= 2.2.0), ruby-prawn-icon (>= 1.4.0), ruby-prawn-svg (>= 0.31.0), ruby-prawn-table (>= 0.2.2), ruby-safe-yaml (>= 1.0.4), ruby-thread-safe (>= 0.3.6), ruby-treetop (>= 1.5.3)
> Suggests: ruby-rouge
> Homepage: https://github.com/asciidoctor/asciidoctor-pdf
> Ruby-Versions: all
> Download-Size: 1.393 kB
> APT-Manual-Installed: yes
> APT-Sources: http://ftp.de.debian.org/debian testing/main amd64 Packages
> Description: Converts AsciiDoc documents to PDF using Prawn
>  An extension for Asciidoctor that converts AsciiDoc documents to PDF
>  using the Prawn PDF library.

-- 
Regards
Carsten


References