From 6c58d0ac5f558c14a8d01e7d6cd731237295f035 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 10 Aug 2023 09:38:14 +0200 Subject: staff.eng --- gemfeed/atom.xml.tmp | 70 +--------------------------------------------------- 1 file changed, 1 insertion(+), 69 deletions(-) (limited to 'gemfeed/atom.xml.tmp') diff --git a/gemfeed/atom.xml.tmp b/gemfeed/atom.xml.tmp index 7e3690f3..b3abb0fb 100644 --- a/gemfeed/atom.xml.tmp +++ b/gemfeed/atom.xml.tmp @@ -1,6 +1,6 @@ - 2023-07-23T21:57:09+03:00 + 2023-08-05T12:41:54+03:00 foo.zone feed To be in the .zone! @@ -2241,74 +2241,6 @@ nmap ,i !wpbpaste<C
E-Mail your comments to paul at buetow.org :-)

-Back to the main site
-
-

Appendix


-
-This is the VimScript I mentioned earlier, which parses a table of contents index of my scanned paper journals and opens the corresponding PDF at the right page in zathura:
-
- -
function! ReadJournalPageNumber()
-    let page = expand("<cword>")
-    if page !~# '^\d\+$'
-        for str in split(getline("."), "[ ,]")
-            if str =~# '^\d\+$'
-                let page = str
-                break
-            end
-        endfor
-    endif
-    return page
-endfunction
-
-function! ReadJournalMeta()
-    normal! mj
-
-    1/MetaFilePath:/
-    normal! 3w
-    let s:metaFilePath = expand("<cWORD>")
-    echom s:metaFilePath
-
-    1/MetaOffset:/
-    normal! 3w
-    let s:metaOffset = expand("<cword>")
-    echom s:metaOffset
-
-    1/MetaPageAtOffset:/
-    normal! 3w
-    let s:metaPageAtOffset = expand("<cword>")
-    echom s:metaPageAtOffset
-
-    1/MetaPagesPerScan:/
-    normal! 3w
-    let s:metaPagesPerScan = expand("<cword>")
-    echom s:metaPagesPerScan
-
-    normal! `j
-endfunction
-
-function! GetPdfPage(page)
-    return s:metaOffset + (a:page - s:metaPageAtOffset) / s:metaPagesPerScan
-endfunction
-
-function! OpenJournalPage()
-    let page = ReadJournalPageNumber()
-    if page !~# '^\d\+$'
-        echoerr "Could not identify Journal page number"
-    end
-    call ReadJournalMeta()
-    let pdfPage = GetPdfPage(page)
-    echon "Location is " . s:metaFilePath . ":" . pdfPage
-    call system("zathura --mode fullscreen -P " . pdfPage . " " . s:metaFilePath)
-    " call system("evince -p " . pdfPage . " " . s:metaFilePath)
-endfunction
-
-nmap ,j :call OpenJournalPage()<CR>
-
-
Back to the main site
-- cgit v1.2.3