~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5193.6.7.

  • Committer: Vincent Ladeuil
  • Date: 2010-05-05 06:42:15 UTC
  • mto: (5355.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5356.
  • Revision ID: v.ladeuil+lp@free.fr-20100505064215-bzu4rrlyqll29lcq
Implement basic text generation.

* bzrlib/tests/doc_generate/builders/test_texinfo.py:
(TestTexinfoFileGeneration.test_files_generated): Check formatting
of paragraphs and styled text.

* bzrlib/doc_generate/writers/texinfo.py:
(TexinfoTranslator.visit_paragraph)
(TexinfoTranslator.depart_paragraph): Put newlines around
paragraphs.
(TexinfoTranslator.visit_emphasis)
(TexinfoTranslator.depart_emphasis): Implement emphasis.
(TexinfoTranslator.visit_strong, TexinfoTranslator.depart_strong):
Implement strong.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: