[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/makeinfo insertion.c,1.12,1.13 defun.c,1.5,1.6
From: |
dirt |
Subject: |
texinfo/makeinfo insertion.c,1.12,1.13 defun.c,1.5,1.6 |
Date: |
Sat, 17 Jan 2004 12:34:39 +0100 |
Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv16831/makeinfo
Modified Files:
insertion.c defun.c
Log Message:
2004-01-17 Alper Ersoy <address@hidden>
* makeinfo/defun.c (defun_internal):
* makeinfo/insertion.c (end_insertion): enclose paragraphs in @def
blocks in a blockquote element for indentation in the HTML output.
Index: insertion.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/insertion.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** insertion.c 6 Jan 2004 23:33:24 -0000 1.12
--- insertion.c 17 Jan 2004 11:34:37 -0000 1.13
***************
*** 1238,1242 ****
if (paragraph_is_open)
add_html_block_elt ("</p>");
! /* close the div which has been opened in defun.c */
add_html_block_elt ("</div>\n");
}
--- 1238,1244 ----
if (paragraph_is_open)
add_html_block_elt ("</p>");
! /* close the div and blockquote which has been opened in
defun.c */
! if (!rollback_empty_tag ("blockquote"))
! add_html_block_elt ("</blockquote>");
add_html_block_elt ("</div>\n");
}
Index: defun.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/defun.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** defun.c 28 Dec 2003 11:48:52 -0000 1.5
--- defun.c 17 Jan 2004 11:34:37 -0000 1.6
***************
*** 534,537 ****
--- 534,539 ----
if (!x_p)
insert_string ("<div class=\"defun\">\n");
+ else
+ rollback_empty_tag ("blockquote");
/* xx The single words (on, off) used here, should depend on
***************
*** 703,706 ****
--- 705,710 ----
insert_html_tag (END, "i");
insert_string ("<br>\n");
+ /* Indent the definition a bit. */
+ add_html_block_elt ("<blockquote>");
no_indent = 0;
inhibit_paragraph_indentation = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/makeinfo insertion.c,1.12,1.13 defun.c,1.5,1.6,
dirt <=