INCLUDERES(1)
π INCLUDERES(1) β bestie edition β¨
okay so this is a page from the General Commands Manual, and it's about a lil tool called includeres. she's a filter, she's lowkey iconic, and she's here to fix your PostScript files. let's get into it π«Ά
πΈ NAME πΈ
includeres β a filter that puts resources into a PostScript document. like, actually in. no cap. π
β¨ SYNOPSIS β¨
includeres <document.ps >output.ps
that's it bestie. stdin in, stdout out. pipes only, no drama π
π¦ DESCRIPTION π¦
okay so here's the vibe: includeres includes resources β we're talking fonts, procsets, patterns, files, etc. β and it drops them in in place of the %%IncludeResource comments in a PostScript document. so those lil placeholder comments? gone. replaced with the actual goods. slay π
when it's hunting for a resource, it looks it up under the resource name, and it also tries it with an appropriate extension. two bites at the apple, as she should.
now THIS pipeline right here is the main character:
extractres file.ps | includeres >out.ps
the way that this works?? it moves all the resources appearing in a document up into the document prologue, and it removes redundant copies while it's at it. so you get one clean copy of everything, all chillin' at the top. no duplicates, no mess, it's giving organized π§
and once your output file is looking like that, you can safely run it through page re-arrangement filters like psnup or pstops. safely!!! that's the key word. do it before this and you're asking for trouble, do it after and you're thriving β¨
π AUTHOR π
written by Angus J. C. Duggan. king behavior honestly π
π SEE ALSO π
psutils(1)β the whole fam π
π TRADEMARKS π
PostScript is a trademark of Adobe Systems Incorporated. gotta respect the trademark bestie, that's just the rules π
π BUGS π
okay so heads up: includeres does not alter the %%DocumentNeededResources comments. like, it just doesn't touch em. they stay exactly how they were. so don't come for her about that, she said what she said π
tl;dr β pipe yourextractresoutput throughincluderes, get a tidy prologue with no dupes, then go wild withpsnupandpstops. and remember:%%DocumentNeededResourcescomments are staying right where they are. periodt.
PSUtils era, includeres(1) chapter β that's a wrap bestie, go make some beautiful PostScript πβ¨π¦ππ
π¦ where this page comes from
- fedora 43: texlive-psutils 11:svn61719-93.fc43 Β· psutils
- fedora 43: texlive-psutils 11:svn61719-95.fc43.1 Β· psutils
- fedora 44: texlive-psutils 12:svn61719-105.fc44 Β· psutils
- fedora 44: texlive-psutils 12:svn61719-111.fc44 Β· psutils
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms