summaryrefslogtreecommitdiff
path: root/_extensions/js/stylish-issue/doc-class.tex
blob: a9dbfaa1aa71013ee26e7d2c2c8449846a8db49e (plain)
  1. \DocumentMetadata{
  2. % modern PDF rendering: <https://tex.stackexchange.com/a/686905/309738>
  3. $if(lang)$
  4.   lang={$lang$},
  5. $endif$
  6. $if(pdfversion)$
  7. pdfversion=$pdfversion$,
  8. $endif$
  9. $for(pdfstandard)$
  10. pdfstandard=$pdfstandard$,
  11. $endfor$
  12. $if(pdftestphase)$
  13. testphase=
  14. {
  15. $for(pdftestphase)$
  16. $pdftestphase$,
  17. $endfor$
  18. },
  19. $endif$
  20. $if(pdfdebug)$
  21. debug=
  22. {
  23. $for(pdfdebug)$
  24. $pdfdebug$,
  25. $endfor$
  26. },
  27. $endif$
  28. $if(pdfdebugfirstaidoff)$
  29. debug=
  30. {
  31. firstaidoff=
  32. {
  33. $for(pdfdebugfirstaidoff)$
  34. $pdfdebugfirstaidoff$,
  35. $endfor$
  36. },
  37. },
  38. $endif$
  39. }
  40. $if(copyright)$
  41. % flag as rights protected <https://tex.stackexchange.com/a/712443/309738>
  42. \ExplSyntaxOn
  43. \pdfmeta_xmp_add:n{<xmpRights:Marked>True</xmpRights:Marked>}
  44. \ExplSyntaxOff
  45. $endif$
  46. $if(pdftestphasestrict)$
  47. % fatalize tagging warnings
  48. \ExplSyntaxOn
  49. \msg_redirect_module:nnn { tag } { warning } { error }
  50. \ExplSyntaxOff
  51. $endif$
  52. \documentclass[
  53. $for(babel-otherlangs)$
  54. $babel-otherlangs$,
  55. $endfor$
  56. $if(babel-lang)$
  57. $babel-lang$,
  58. $endif$
  59. $if(fontsize)$
  60. $fontsize$,
  61. $endif$
  62. $if(papersize)$
  63. $papersize$paper,
  64. $endif$
  65. $for(classoption)$
  66. $classoption$$sep$,
  67. $endfor$
  68. ]{$documentclass$}