rendition.texi 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. @c This is part of GNU tar manual.
  2. @c Copyright 1992--2023 Free Software Foundation, Inc.
  3. @c See file tar.texi for copying conditions.
  4. @c This file contains support for 'renditions' by Fran@,{c}ois Pinard
  5. @c I extended it by adding a FIXME_FOOTNOTE variable, which controls
  6. @c whether FIXME information should be placed in footnotes or
  7. @c inlined. --gray
  8. @c ======================================================================
  9. @c This document has three levels of rendition: PUBLISH, DISTRIB or PROOF,
  10. @c as decided by @set symbols. The PUBLISH rendition does not show
  11. @c notes or marks asking for revision. Most users will prefer having more
  12. @c information, even if this information is not fully revised for adequacy,
  13. @c so DISTRIB is the default for distributions. The PROOF rendition
  14. @c show all marks to the point of ugliness, but is nevertheless useful to
  15. @c those working on the manual itself.
  16. @c ======================================================================
  17. @c Set this symbol if you wish FIXMEs to appear in footnotes, instead
  18. @c of being inserted into the text.
  19. @c @set PROOF_FOOTNOTED
  20. @ifclear PUBLISH
  21. @ifclear DISTRIB
  22. @ifclear PROOF
  23. @set DISTRIB
  24. @end ifclear
  25. @end ifclear
  26. @end ifclear
  27. @ifset PUBLISH
  28. @set RENDITION The book, version
  29. @end ifset
  30. @ifset DISTRIB
  31. @set RENDITION FTP release, version
  32. @end ifset
  33. @ifset PROOF
  34. @set RENDITION Proof reading version
  35. @end ifset
  36. @c Output marks for nodes needing revision, but not in PUBLISH rendition.
  37. @macro UNREVISED
  38. @ifclear PUBLISH
  39. @quotation
  40. @emph{(This message will disappear, once this node revised.)}
  41. @end quotation
  42. @end ifclear
  43. @end macro
  44. @c Output various FIXME information only in PROOF rendition.
  45. @macro FIXME{string}
  46. @ifset PROOF
  47. @ifset PROOF_FOOTNOTED
  48. @footnote{@strong{FIXME:} \string\}
  49. @end ifset
  50. @ifclear PROOF_FOOTNOTED
  51. @cartouche
  52. @strong{<FIXME>} \string\ @strong{</>}
  53. @end cartouche
  54. @end ifclear
  55. @end ifset
  56. @end macro
  57. @macro FIXME-ref{string}
  58. @ifset PROOF
  59. @strong{<REF>} \string\ @strong{</>}
  60. @end ifset
  61. @ifclear PROOF
  62. @cite{\string\}
  63. @end ifclear
  64. @end macro
  65. @macro FIXME-pxref{string}
  66. @ifset PROOF
  67. See @strong{<PXREF>} \string\ @strong{</>}
  68. @end ifset
  69. @ifclear PROOF
  70. See @cite{\string\}
  71. @end ifclear
  72. @end macro
  73. @macro FIXME-xref{string}
  74. @ifset PROOF
  75. See @strong{<XREF>} \string\ @strong{</>}
  76. @end ifset
  77. @ifclear PROOF
  78. See @cite{\string\}
  79. @end ifclear
  80. @end macro
  81. @c End of rendition.texi