From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/24371 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: damien clochard Newsgroups: gmane.text.pandoc Subject: Re: Announcing Pandocker 20.02: the palindrome edition ! Date: Thu, 6 Feb 2020 00:36:07 -0800 (PST) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1572_2020510796.1580978167329" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="27206"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCUZX2EM24HRB6E757YQKGQEJ2GPCXQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Feb 06 09:36:12 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f183.google.com ([209.85.167.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1izcdv-0006wO-La for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 06 Feb 2020 09:36:11 +0100 Original-Received: by mail-oi1-f183.google.com with SMTP id a74sf2490351oib.2 for ; Thu, 06 Feb 2020 00:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=vqAuxtyXh6iq6+zFuOGhZNy3F8R2MNyJ/g8H0U+AQvU=; b=IxxlwaQNJ1afQHakwfKcZoUyifPqOurAkBtsS+Vdo7pYpJKDKkfkVcotT/ub9jrObZ vWzcASN1OfWU1N6K5Ko3csxRrAcfVTjC77iH9OEBKA9ROs1f8CuDJm8FtxgqDYJ2ENlG EAjJpfjs0QB55fcvd25DByW5OWuSBwoKF3nz8455b+AIoJDM023dTnr5adhMuPbT4uhV R5dg1pWAcmvVlMg169fEscHduKC+e4C1EDOrKd3tdtugnJ668Aitj+iEDno16QMnw9PY Gp9WSKaSLOOoTuqQMlPFh26c9M/9/IQ+auralKgm+ZxoshzczGsFegbiYsV0UHFZR0Np bF8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=vqAuxtyXh6iq6+zFuOGhZNy3F8R2MNyJ/g8H0U+AQvU=; b=Aj0ioFzq1iviqTla/OqZZg8qvccZ8mgQ1kaHsHpi2nHBHDGS+S732qYvehxTOAE1fV ZT6axm9aFc5wbnC1mmheXYX3jwtkiQQbpJMnG8YM9RE9BK/hqI3BB8kRSJXyJwbUgaev dblTpp7Lw5AhyAHoMzP08qEJt9vOCaMmuV1NKR22FK5FglJzRTc3UqX7p41BwmZzeZyX CBuQ6jCrKnosjlXiFpth6VuNE2Tl+HdehspML4o6zkxHhR/s8OznKZKROUfwM9yhs9AX EcpEcCV7HSsTlIgqoJhQ8X02MnVZgxyQp7TnPQ1vvZS4aSG+1WlKMegLuMbYAKQ6ZbU7 0Ukg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=vqAuxtyXh6iq6+zFuOGhZNy3F8R2MNyJ/g8H0U+AQvU=; b=qCMLhyKwtrbfq/Se3/FWQxHQD+RXLLj9nKwwwt8kZJxsSGNvOhhEdt9+WJEWZGUYZn /HRkHv0iPUY+Vyu+1FlJOzQtH/NGZFUot3IP2I21uMc1GO1mQoMIBkgpbd8st27rLVdR JexjHR+izXKT9mnSKQU+z0yr62SSDKNwbwuFDEzT+pSdqy9VEl5B0+UxYf5h2DMU8UbC d724225xdxL7eYLIWuIC9mAj679KACUkYztqKuvaZ9St4vSNMGVUB+rovnzQtoYOsTwx ceh0vE0Ej5btDCFD1upu4PK8URTX6yf+RlxMbRPFPJE77xQ6BLJnHOdhhEAY9Jc1szRj 8eig== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWwPmGLlXiyE5ofutxXAXAUrBr3O76swiqdFEP/mCpRhnJOahl1 D5v8tUfg5zJ5ieFB/GGMImg= X-Google-Smtp-Source: APXvYqyJXaV0QEPNxJPFwQV8FYHx5ddC7dVamrTe5I/R1KUEDerNvbCakqw2MLp8XjrOv1E8acCGUg== X-Received: by 2002:a9d:76d6:: with SMTP id p22mr27508686otl.37.1580978170596; Thu, 06 Feb 2020 00:36:10 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:d615:: with SMTP id n21ls1421888oig.5.gmail; Thu, 06 Feb 2020 00:36:08 -0800 (PST) X-Received: by 2002:aca:62c4:: with SMTP id w187mr6219928oib.38.1580978168066; Thu, 06 Feb 2020 00:36:08 -0800 (PST) In-Reply-To: X-Original-Sender: daamien-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:24371 Archived-At: ------=_Part_1572_2020510796.1580978167329 Content-Type: multipart/alternative; boundary="----=_Part_1573_492496160.1580978167330" ------=_Part_1573_492496160.1580978167330 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi ! Thanks for your questions I never tried it but you should be able to add a `fonts` folder in the=20 mounted volume and then use `header-includes` variable to declare the font= =20 with the `\fontspec` macro : Something like that: ``` \fontspec [Path =3D /pandoc/fonts/, UprightFont =3D *-Roman, ItalicFont =3D= =20 *-Italic]{MyFont} ``` The size of the image is a main concern for us. We always try to make the= =20 best tradeoff between size and features. This is will we embed a limited= =20 set of fonts and we avoid the dreaded `texlive-fonts-extra` package. For more question, feel free to open a ticket here: https://github.com/dalibo/pandocker/issues Regards, Damien Le mercredi 5 f=C3=A9vrier 2020 14:04:29 UTC+1, BPJ a =C3=A9crit : > > Is it possible to use/add more fonts as a user? Well obviously if you for= k=20 > and build yourself, but otherwise? > > Also, does it include everything from TeXLive? If so it must be huge! > > > > Den ons 5 feb. 2020 11:06damien clochard >= =20 > skrev: > >> Paris, February 5th, 2020 >> >> >> What is this ? >> >> ------------------------------------------------------------------------= -------- >> >> Pandocker is a docker image containing a complete document production=20 >> toolchain >> based on `pandoc` with filters, templates, fonts, and the latex bazaar >> >> It allows you to generate slides and documents without installing the=20 >> required >> depencies on your machine. >> >> For instance to generate an EPUB file from a markdown source, you can=20 >> simply >> type: >> >> ``` >> docker run --rm -v `pwd`:/pandoc dalibo/pandocker test.md -o test.epub >> ``` >> >> This image is available under BSD Licence and it has 2 main tags: >> >> * `dalibo/pandocker:stable` should be used in production ( =3D 20.20 ) >> * `dalibo/pandocker:latest` is the development version >> >> You can also retrieve older versions by their version number: >> `dalibo/pandocker:20.02`, `dalibo/pandocker:19.11`, etc. >> >> For more details : >> >> * Github : >> * Docker Hub : >> >> >> More templates, more fonts, more filters, more langs >> >> ------------------------------------------------------------------------= -------- >> >> This is new version brings several new items: >> >> * 2 more filters: [pandoc-crossref] and [pandoc-citeproc] >> * 2 more templates: [leaflet] and [letter] >> * 2 more fonts: Noto and Deja-Vu >> * All european languages are now supported >> >> [pandoc-crossref]: https://github.com/lierdakil/pandoc-crossref >> [pandoc-citeproc]: https://github.com/jgm/pandoc-citeproc >> [leaflet]: https://gitlab.com/daamien/pandoc-leaflet-template >> [letter]: https://github.com/aaronwolen/pandoc-letter >> >> There's also some improvements on the existing tools: >> >> * Pandoc has been updated to 2.9 >> * The [eisvogel] template has been upgraded to 1.4 >> >> Many thanks to @colindean and @DigitalTravelDuck for their contributions= =20 >> to these >> features ! >> >> >> Using pandocker with pipes >> >> ------------------------------------------------------------------------= -------- >> >> It is now possible to run the pandocker image as a 'black box' by passin= g=20 >> the >> source file through a pipe and collecting the result on the standard=20 >> output. >> >> For example: >> >> ``` >> $ cat foo.md | docker run --rm -i dalibo/pandocker -t pdf > foo.pdf >> ``` >> >> This is useful if you want to use pandocker in a stream or when you don'= t=20 >> want >> to mount a docker volume. However, this method will not work if the sour= ce >> document contains images or includes external files... >> >> >> How to upgrade >> >> ------------------------------------------------------------------------= -------- >> >> ``` >> docker pull dalibo/pandocker:stable >> ``` >> >> If you installed the toolchain locally, please read: >> < >> https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docke= r-local-setup >> > >> >> >> How to contribute >> >> ------------------------------------------------------------------------= -------- >> >> Pandocker is an open project, contributions are welcome. >> >> If you want to help, you can find a list of "Junior Jobs" here: >> >> >> >> --=20 >> You received this message because you are subscribed to the Google Group= s=20 >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n=20 >> email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . >> To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/a1632ba9-d241-465b-a825= -7862cdb26787%40googlegroups.com=20 >> >> . >> > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/f3ce4fd4-e530-4ee7-ae9b-385621718677%40googlegroups.com. ------=_Part_1573_492496160.1580978167330 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi !

Thanks for your questions

I never= tried it but you should be able to add a `fonts` folder in the mounted vol= ume and then use `header-includes` variable to declare the font with the `\= fontspec` macro :

Something like that:
<= div>
```
\fontspec [Path =3D /pandoc/fonts/, UprightFont = =3D *-Roman, ItalicFont =3D *-Italic]{MyFont}
```

<= /div>
The size of the image is a main concern for us. We always try to = make the best tradeoff between size and features.=C2=A0 This is will we emb= ed a limited set of fonts and we avoid the dreaded `texlive-fonts-extra` pa= ckage.

For more question, feel free to open a tick= et here:

= Regards,

Damien

Le mercredi 5 f=C3=A9vrie= r 2020 14:04:29 UTC+1, BPJ a =C3=A9crit=C2=A0:
Is it possible to use/add more fonts as a= user? Well obviously if you fork and build yourself, but otherwise?

Also, does it include everything fro= m TeXLive? If so it must be huge!



D= en ons 5 feb. 2020 11:06damien clochard <daa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
=
Paris, February = 5th, 2020


What is this ?
<= div>-------------------------------------------------------------= -------------------

Pandocker is a docker image co= ntaining a complete document production toolchain
based on `pando= c` with filters, templates, fonts, and the latex bazaar

It allows you to generate slides and documents without installing the= required
depencies on your machine.

For= instance to generate an EPUB file from a markdown source, you can simply
type:

```
docker run --rm -v `p= wd`:/pandoc dalibo/pandocker test.md -o test.epub
```
<= br>
This image is available under BSD Licence and it has 2 main t= ags:

* `dalibo/pandocker:stable` should be used in= production ( =3D 20.20 )
* `dalibo/pandocker:latest` is the deve= lopment version

You can also retrieve older versio= ns by their version number:
`dalibo/pandocker:20.02`, `dalibo/pan= docker:19.11`, etc.

For more details :
<= br>


More templates, mo= re fonts, more filters, more langs
------------------------------= --------------------------------------------------

=
This is new version brings several new items:

* 2 more filters: [pandoc-crossref] and [pandoc-citeproc]
= * 2 more templates: [leaflet] and [letter]
* 2 more fonts: Noto a= nd Deja-Vu
* All european languages are now supported
<= br>

There's also some improvements on the e= xisting tools:

* Pandoc has been updated to 2.9
* The [eisvogel] template has been upgraded to 1.4

Many thanks to @colindean and @DigitalTravelDuck for their contrib= utions to these
features !


Using pandocker with pipes
-------------------------------= -------------------------------------------------

=
It is now possible to run the pandocker image as a 'black box'= by passing the
source file through a pipe and collecting the res= ult on the standard output.

For example:

```
$ cat foo.md | docker run --rm -i dalibo/pand= ocker -t pdf > foo.pdf
```

This is us= eful if you want to use pandocker in a stream or when you don't want
to mount a docker volume. However, this method will not work if the= source
document contains images or includes external files...


How to upgrade
------------= -----------------------------------------------------------------= ---

```
docker pull dalibo/pandocker:sta= ble
```

If you installed the toolchain l= ocally, please read:


How t= o contribute
-----------------------------------------------= ---------------------------------

Pandocker i= s an open project, contributions are welcome.

If y= ou want to help, you can find a list of "Junior Jobs" here:
=


--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pan= doc-discuss/a1632ba9-d241-465b-a825-7862cdb26787%40googlegroups.c= om.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/f3ce4fd4-e530-4ee7-ae9b-385621718677%40googlegroups.co= m.
------=_Part_1573_492496160.1580978167330-- ------=_Part_1572_2020510796.1580978167329--