[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: want a file format easily edited and read by emacs that allows (mult

From: Emanuel Berg
Subject: Re: want a file format easily edited and read by emacs that allows (multiple) pictures to be included
Date: Tue, 05 Dec 2017 20:53:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Kevin Buchs wrote:

> It seems to me you didn’t get a complete
> answer to your question of the use of the
> org+embedded image. Of course, the OP is the
> best one to answer, but here is what
> I gleaned.
> 1. OP requested a method to create & edit
> a document in emasculated that would include
> images that were visible during editing and
> used minimal markup. Org Filled that need.
> 2. The OP next requested a way to have
> a single file [...]

OK, so now it is a word processor as well!

This is for the "in-between document" which is
too advanced to be plain text, but not advanced
enough to be LaTeX/PDF. Well, I guess I'm
occupational damaged by all the programming so
even text production I see in binary only...

And a tar as mentioned. But a tar isn't exactly
"a single file". Actually it is just a box that
opens and closes. And when it opens, there are
still the individual files. As for me, I prefer
individual files for the same reasons in the
previous or so post, with that you can be as
close as possible to the material and operate
on any part directly.

There are many shell tools that operate on
those files. Do they operate on Org-mode files
as well? Didn't think so. I provide a zsh
example function last that converts from PNGs
to PDFs. That way, I have more control even tho
Org-mode can do the same. It is just
different styles.

png2pdf () {
    local png=$1
    local name=${png:r}

    local pnm=${name}.pnm
    pngtopnm $png > $pnm

    local ps=${name}.ps
    pnmtops $pnm > $ps

    ps2pdf-crop $ps

ps2pdf-crop () {
    local ps=$1
    local name=${ps:r}

    local final_pdf=${name}.pdf
    local large_pdf=${name}-large.pdf

    ps2pdf $ps $large_pdf
    pdfcrop --margins 12 $large_pdf $final_pdf


underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]