public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* conversion to PDF and ucommon packages
@ 2015-11-04  9:58 Václav Haisman
       [not found] ` <4cb4538e-fda7-40c0-9188-d875f13a415e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Václav Haisman @ 2015-11-04  9:58 UTC (permalink / raw)
  To: pandoc-discuss; +Cc: Václav Haisman


[-- Attachment #1.1: Type: text/plain, Size: 1104 bytes --]

I have noticed that sometimes a problem with LaTeX/PDF output could be 
solved by using some less common LaTeX packages. The solution is rejected 
because the package is less common.

What about allowing the user to choose between two output modes for LaTeX, 
for the purpose of this discussion, let's call them basic -- the existing 
status quo -- and extended. Let's allow the extended output mode to use all 
LaTeX packages that are available, say, through all TeX Live packages 
installation on some Debian (or Ubuntu?).

-- VH

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4cb4538e-fda7-40c0-9188-d875f13a415e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1538 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: conversion to PDF and ucommon packages
       [not found] ` <4cb4538e-fda7-40c0-9188-d875f13a415e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-11-04 20:44   ` John MACFARLANE
       [not found]     ` <20151104204424.GA82816-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MACFARLANE @ 2015-11-04 20:44 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

If we did have two latex writers, I'd favor making the other
one customizable:  all macros are pandoc-specific, and
defined in the template's preamble.  This would give people
maximum flexibility to adjust output...you could even use
plain tex definitions of the macros for maximum compilation
speed and minimum dependencies (see https://github.com/jgm/pandoc/issues/1541).

+++ Václav Haisman [Nov 04 15 01:58 ]:
>   I have noticed that sometimes a problem with LaTeX/PDF output could be
>   solved by using some less common LaTeX packages. The solution is
>   rejected because the package is less common.
>   What about allowing the user to choose between two output modes for
>   LaTeX, for the purpose of this discussion, let's call them basic -- the
>   existing status quo -- and extended. Let's allow the extended output
>   mode to use all LaTeX packages that are available, say, through all TeX
>   Live packages installation on some Debian (or Ubuntu?).
>   -- VH
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/4cb4538e-fda7-40c0-
>   9188-d875f13a415e%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/4cb4538e-fda7-40c0-9188-d875f13a415e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20151104204424.GA82816%40protagoras.berkeley.edu.
For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: conversion to PDF and ucommon packages
       [not found]     ` <20151104204424.GA82816-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
@ 2015-11-06 11:39       ` Joost Kremers
  0 siblings, 0 replies; 3+ messages in thread
From: Joost Kremers @ 2015-11-06 11:39 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


On Mi, Nov 04 2015, John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:
> If we did have two latex writers, I'd favor making the other
> one customizable:  all macros are pandoc-specific, and
> defined in the template's preamble.  This would give people
> maximum flexibility to adjust output...you could even use
> plain tex definitions of the macros for maximum compilation
> speed and minimum dependencies (see https://github.com/jgm/pandoc/issues/1541).

The idea of having just pandoc-specific macros sounds great, but I think
there are a few things to think about.

First, a pure-TeX writer would probably be more trouble than it's worth.
TeX is pretty low-level and I doubt there are many Markdown users that
really know enough TeX to be able to customise a TeX template. I know I
certainly can't, and I consider myself quite a capable LaTeX (but not
TeX!) user.

For example, here's how you can create tables in TeX:

http://www.volkerschatz.com/tex/halign.html

As the code snippets show, customising the basic table macro \halign
requires quite a lot of TeX knowledge.

Also, Plain TeX does not support Unicode. You'd need XeTeX or LuaTeX for
that, but I have no idea how much that would add to a basic TeX install.

So, if you add a fully-customisable (La)TeX writer, I think it makes
more sense to have it default to using LaTeX, with an option to use
plain TeX instead if a user is so inclined. (I don't think the writer
would have to be modified for this if you use custom macros. You'd just
have to have two templates, one defining the custom macros using LaTeX
and one defining them using plain TeX.) That way, it would be useful to
a larger audience.




-- 
Joost Kremers
Life has its moments


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-06 11:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04  9:58 conversion to PDF and ucommon packages Václav Haisman
     [not found] ` <4cb4538e-fda7-40c0-9188-d875f13a415e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-11-04 20:44   ` John MACFARLANE
     [not found]     ` <20151104204424.GA82816-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2015-11-06 11:39       ` Joost Kremers

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).