rendition.texi 2.4 KB

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