[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bring up a screen giving option to open a series of orgmode files
From: |
Jean Louis |
Subject: |
Re: Bring up a screen giving option to open a series of orgmode files |
Date: |
Wed, 9 Dec 2020 19:32:44 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* Maxim Nikulin <manikulin@gmail.com> [2020-12-09 18:04]:
> bind ctrl-o any endSelection "run(pdfcapture '%f' '%p' '%x' '%y' '%X' '%Y'
> '%u')"
Thank you, I just do not see where the file is writing it to? You may
see the screenshot attached, I am somebody who has thousands of
finel granular PDF references. When you already made it, let me have it.
> Certainly named options should be added to the script besides obtaining of
> actual page height. I have not checked if the script is resistant in respect
> to specially crafted file names and other such things. Do not know if
> terminal control sequences could appear in selection. Xpdf has known
> problems with handling of text encodings.
>
> > > #!/bin/bash
> > > set -e
> > > set -o pipefail
> > >
> > > getmeta() {
> ...
> > > # FIXME obtain page height using pdfinfo
> > > page_height=792
> ...
> > > pdftotext -layout -f "$page" -l "$page" \
> > > -x "$sel_x" -y "$((page_height - sel_Y))" -W
> > > "$((sel_X-sel_x))" -H
> ^^^^^sel_y
- Re: Bring up a screen giving option to open a series of orgmode files, (continued)
- Re: Bring up a screen giving option to open a series of orgmode files, Jean Louis, 2020/12/02
- Re: Bring up a screen giving option to open a series of orgmode files, Maxim Nikulin, 2020/12/02
- Re: Bring up a screen giving option to open a series of orgmode files, Maxim Nikulin, 2020/12/02
- Re: Bring up a screen giving option to open a series of orgmode files, Jean Louis, 2020/12/02
- Re: Bring up a screen giving option to open a series of orgmode files, Jean Louis, 2020/12/09
- Re: Bring up a screen giving option to open a series of orgmode files, Maxim Nikulin, 2020/12/09
- Re: Bring up a screen giving option to open a series of orgmode files,
Jean Louis <=
- Re: Bring up a screen giving option to open a series of orgmode files, Maxim Nikulin, 2020/12/09
- Re: Bring up a screen giving option to open a series of orgmode files, Ihor Radchenko, 2020/12/09
- Re: Bring up a screen giving option to open a series of orgmode files, Jean Louis, 2020/12/11
- Re: Bring up a screen giving option to open a series of orgmode files, Maxim Nikulin, 2020/12/11
- Re: Bring up a screen giving option to open a series of orgmode files, Ihor Radchenko, 2020/12/11
- Re: Bring up a screen giving option to open a series of orgmode files, Jean Louis, 2020/12/11
- Re: Bring up a screen giving option to open a series of orgmode files, Ihor Radchenko, 2020/12/12
- Re: Bring up a screen giving option to open a series of orgmode files, Jean Louis, 2020/12/13
- Re: Bring up a screen giving option to open a series of orgmode files, Ihor Radchenko, 2020/12/14
- Re: Bring up a screen giving option to open a series of orgmode files, Jean Louis, 2020/12/14