From: damien clochard <daamien-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Announcing Pandocker 20.02: the palindrome edition !
Date: Thu, 6 Feb 2020 00:36:07 -0800 (PST) [thread overview]
Message-ID: <f3ce4fd4-e530-4ee7-ae9b-385621718677@googlegroups.com> (raw)
In-Reply-To: <CADAJKhA9cdSraWN0aTzrVxpxVD+dBw5SfAE+QqeP3vh=K0qYcw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 5446 bytes --]
Hi !
Thanks for your questions
I never tried it but you should be able to add a `fonts` folder in the
mounted volume and then use `header-includes` variable to declare the font
with the `\fontspec` macro :
Something like that:
```
\fontspec [Path = /pandoc/fonts/, UprightFont = *-Roman, ItalicFont =
*-Italic]{MyFont}
```
The size of the image is a main concern for us. We always try to make the
best tradeoff between size and features. This is will we embed a limited
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évrier 2020 14:04:29 UTC+1, BPJ a écrit :
>
> 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 from TeXLive? If so it must be huge!
>
>
>
> Den ons 5 feb. 2020 11:06damien clochard <daa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>>
> skrev:
>
>> Paris, February 5th, 2020
>>
>>
>> What is this ?
>>
>> --------------------------------------------------------------------------------
>>
>> Pandocker is a docker image containing a complete document production
>> toolchain
>> based on `pandoc` 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 `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 ( = 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 : <https://github.com/dalibo/pandocker>
>> * Docker Hub : <https://hub.docker.com/r/dalibo/pandocker/>
>>
>>
>> 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
>> 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 result on the standard
>> 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
>> 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:stable
>> ```
>>
>> If you installed the toolchain locally, please read:
>> <
>> https://github.com/dalibo/pandocker/blob/master/UPGRADE.md#without-docker-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:
>>
>> <https://github.com/dalibo/pandocker/labels/Junior%20Job>
>>
>> --
>> 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
>> email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/a1632ba9-d241-465b-a825-7862cdb26787%40googlegroups.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/a1632ba9-d241-465b-a825-7862cdb26787%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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 email 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.
[-- Attachment #1.2: Type: text/html, Size: 12140 bytes --]
prev parent reply other threads:[~2020-02-06 8:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-05 10:05 damien clochard
[not found] ` <a1632ba9-d241-465b-a825-7862cdb26787-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-02-05 13:04 ` BPJ
[not found] ` <CADAJKhA9cdSraWN0aTzrVxpxVD+dBw5SfAE+QqeP3vh=K0qYcw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-02-06 8:36 ` damien clochard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f3ce4fd4-e530-4ee7-ae9b-385621718677@googlegroups.com \
--to=daamien-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).