From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help 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 Message-ID: <86fu8p9ck7.fsf@zoho.com> References: <86a7yydw9n.fsf@zoho.com> <20171204215223.GB1723@tuxteam.de> <86609mduhp.fsf@zoho.com> <20171204221250.GF1723@tuxteam.de> <86o9nddd7i.fsf@zoho.com> <20171205080817.GA21102@tuxteam.de> <86vahlbmh1.fsf@zoho.com> <20171205085318.GA22742@tuxteam.de> <86mv2xbj4q.fsf@zoho.com> <86a7yxbe3r.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1512503928 13799 195.159.176.226 (5 Dec 2017 19:58:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2017 19:58:48 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 05 20:58:44 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMJMW-0003GE-TP for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Dec 2017 20:58:41 +0100 Original-Received: from localhost ([::1]:51844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMJMe-00059U-4m for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Dec 2017 14:58:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMJHT-0000EX-Q8 for help-gnu-emacs@gnu.org; Tue, 05 Dec 2017 14:53:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMJHP-0005R5-Rd for help-gnu-emacs@gnu.org; Tue, 05 Dec 2017 14:53:27 -0500 Original-Received: from [195.159.176.226] (port=46144 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMJHP-0005Qh-KU for help-gnu-emacs@gnu.org; Tue, 05 Dec 2017 14:53:23 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eMJHG-0006aE-B4 for help-gnu-emacs@gnu.org; Tue, 05 Dec 2017 20:53:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 70 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:qJIKocHaSUzOb5FY/01efAY5Z7I= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115238 Archived-At: 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 } ### http://user.it.uu.se/~embe8573/conf/.zsh/pdf-img -- underground experts united http://user.it.uu.se/~embe8573