CTAN Comprehensive TeX Archive Network

New on CTAN: xsave­box

Date: Fe­bru­ary 27, 2016 5:46:13 AM CET
Alexan­der Grahn sub­mit­ted the xsave­box pack­age. Ver­sion num­ber: 0.1 2016-02-13 Li­cense type: lp­pl1.3 Sum­mary de­scrip­tion: Save­boxes for re­peat­ing con­tent with­out code repli­ca­tion, based on PDF Form XOb­jects An­nounce­ment text:
This pack­age de­fines com­mands for sav­ing con­tent that can be re­peat­edly placed into the doc­u­ment with­out repli­cat­ing DVI/PDF code in the out­put file, al­low­ing for smaller file size of the fi­nal PDF and im­proved con­tent caching for faster dis­play in cer­tain PDF view­ers. The method makes use of `Form XOb­jects' de­fined in the PDF spec­i­fi­ca­tion. The user com­mands are mod­elled af­ter the stan­dard LaTeX com­mands \save­box, \sbox, \use­box and the `lr­box' en­vi­ron­ment. All com­mon TeX en­gines and back-ends are sup­ported: * pdfLaTeX, LuaLaTeX * LaTeX --> dvips --> ps2pdf/Dis­tiller * (Xe)LaTeX --> (x)dvipdfmx The user com­mands are: * con­tent sav­ing: \xsave­box{<name>}[<width>][<po­si­tion>]{...} \xsave­box*{<name>}[<width>][<po­si­tion>]{...} \xs­box{<name>}{...} \be­gin{xl­r­box}{<name>}...\end{xl­r­box} \be­gin{xl­r­box*}{<name>}...\end{xl­r­box*} <name> is an iden­ti­fier (not a com­mand!) com­posed of ar­bi­trary non-ac­tive char­ac­ters, in­clud­ing spaces and num­bers. A com­mand for dec­la­ra­tion of <name> does not ex­ist. Starred `*' vari­ants al­low for colour in­jec­tion (pdfLaTeX/LuaLaTeX only). * con­tent in­ser­tion (ref­er­enc­ing): \xuse­box{<name>} \the<name> The sec­ond, short form is use­able if <name> is com­posed of [a-zA-Z]. The pack­age was writ­ten in the LaTeX3 syn­tax.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/xsave­box More in­for­ma­tion is at http://www.ctan.org/pkg/xsave­box We are sup­ported by the TeX user groups. Please join a users group; see http://www.tug.org/user­groups.html .
Thanks for the up­load. For the CTAN Team Man­fred Lotz

xsave­box – Save­boxes for re­peat­ing con­tent with­out code repli­ca­tion, based on PDF Form XOb­jects

The pack­age de­fines com­mands for sav­ing con­tent that can be re­peat­edly placed into the doc­u­ment with­out repli­cat­ing DVI/PDF code in the out­put file, al­low­ing for smaller file size of the fi­nal PDF and im­proved con­tent caching for faster dis­play in cer­tain PDF view­ers. The method makes use of ‘Form XOb­jects’ de­fined in the PDF spec­i­fi­ca­tion.

The user com­mands are mod­elled af­ter the stan­dard com­mands \save­box, \sbox, \use­box and the lr­box en­vi­ron­ment.

All com­mon en­gines and back-ends are sup­ported:

  • pdf, Lua
  • → dvips → ps2pdf/Dis­tiller
  • (Xe) → (x)dvipdfmx

Pack­agexsave­box
Ver­sion0.12 2018-07-09
Copy­right2016–2018 Alexan­der Grahn
Main­tainerAlexan­der Grahn

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author