News for hackers. Stuff that matters.
Re:Book list for streetfighting computer scientists by wolverine876 on Thursday December 28, 2023 @03:39PM (#38798310)
Very cool. One thing I dislike about PDFs is the complexity, and like you I do use text when possible (text files aren't so great if I want to annotate them, unfortunately).

Out of curiosity, is that SVG (which is an XML)?

Re:Book list for streetfighting computer scientists by frfl on Thursday December 28, 2023 @03:51PM (#38798426)
I think it's just XML, not SVG.

        <?xml version="1.0" standalone="no"?>
        <xournal creator="xournalpp 1.2.2" fileversion="4">
        <title>Xournal++ document - see </title>
        <preview>iVBORw0KGgoAAAANSUhE...............</preview>
        <page width="612" height="792">
        <background type="pdf" domain="absolute" filename="somebook.pdf" pageno="1"/>
        <layer/>
        </page>
        <page width="612" height="792">
        <background type="pdf" pageno="2"/>
        <layer/>
        </page>
        ...
        <page width="612" height="792">
        <background type="pdf" pageno="16"/>
        <layer>
        <stroke tool="highlighter" color="#00ff007f" width="9" fill="60" capStyle="butt">120 457.20601 540 457.20601</stroke>
        <stroke tool="highlighter" color="#00ff007f" width="9" fill="60" capStyle="butt">394.78 515.76399 540.01 515.76399</stroke>
        <stroke tool="highlighter" color="#00ff007f" width="0" fill="60" capStyle="butt">540.01 520.26399 540.01 520.26399</stroke>
        <stroke tool="highlighter" color="#00ff007f" width="9" fill="60" capStyle="butt">120 527.76399 156.1 527.76399</stroke>
        </layer>
        </page>
Here's the top of the file for context.