sample_utf8.texi 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. \input texinfo @c -*-texinfo-*-
  2. @c %**start of header
  3. @setfilename sample_utf8.info
  4. @settitle Sample
  5. @documentencoding UTF-8
  6. @c %**end of header
  7. @copying
  8. This is a short example of a complete Texinfo file.
  9. Copyright (C) 2005 Free Software Foundation, Inc.
  10. @end copying
  11. @titlepage
  12. @title 标题示例
  13. @page
  14. @vskip 0pt plus 1filll
  15. @insertcopying
  16. @end titlepage
  17. @c Output the table of the contents at the beginning.
  18. @contents
  19. @ifnottex
  20. @node Top
  21. @top Texinfo中文示例
  22. @insertcopying
  23. @end ifnottex
  24. @menu
  25. * 第一章(First Chapter):: 这是此示例文档的第一章
  26. (with mixed cjk & latin char title)
  27. * Second Chapter:: this is chapter 2.
  28. * Index:: Complete index.
  29. @end menu
  30. @node 第一章(First Chapter)
  31. @chapter 第一章(First Chapter)
  32. @cindex chapter, first
  33. This is the first chapter. 这是第一章。
  34. @cindex 另一个,index entry
  35. Here is a numbered list.
  36. @enumerate
  37. @item
  38. This is the first item.
  39. @item
  40. This is the second item.
  41. @end enumerate
  42. @node Second Chapter
  43. @chapter Chapter 2
  44. empty
  45. @node Index
  46. @unnumbered Index
  47. @printindex cp
  48. @bye