Re: PDF on debian
On Thu 09 Mar 2023 at 12:43:51 +0100, tomas@tuxteam.de wrote:
> On Thu, Mar 09, 2023 at 12:10:39PM +0100, Erwan David wrote:
> > Le 09/03/2023 à 12:03, Corey Hickman a écrit :
> > > I always compose documents in debian via VIM. so if there is a PDF
> > > plugin for VIM that would be great.
> > >
> > > Thanks
> >
> > Not a Vim plugin, but I usually compose documents in markdown in aneditor
> > (be it vim or emacs) then generate a pdf from the markdown with pandoc
>
> Yes, at the end there's, most of the time, some (La)TeX relative doing
> the grunt work (ISTR that also to be pandoc's PDF "backend").
>
> There are other (simpler) options, look for text2pdf/text2ps. Personally,
> I go the (La)TeX way.
For a searchable PDF, I would use
:execute '!/usr/lib/cups/filter/texttopdf 1 1 1 1 1 % > out.pdf'
cups-filters needs to be on the system.
--
Brian.
Reply to: