[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/makeinfo node.c,1.8,1.9 float.c,1.6,1.7 float.h,1.3,1.4
From: |
dirt |
Subject: |
texinfo/makeinfo node.c,1.8,1.9 float.c,1.6,1.7 float.h,1.3,1.4 |
Date: |
Tue, 6 Jan 2004 23:26:10 +0100 |
Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv23126/makeinfo
Modified Files:
node.c float.c float.h
Log Message:
2004-01-07 Alper Ersoy <address@hidden>
* makeinfo/float.h: new variable node_has_listoffloats.
* makeinfo/float.c (cm_listoffloats): insert menu header string only
if node_has_listoffloats is not true.
* makeinfo/node.c (cm_node): reset node_has_listoffloats.
Index: node.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/node.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** node.c 6 Jan 2004 18:42:10 -0000 1.8
--- node.c 6 Jan 2004 22:26:08 -0000 1.9
***************
*** 22,25 ****
--- 22,26 ----
#include "cmds.h"
#include "files.h"
+ #include "float.h"
#include "footnote.h"
#include "macro.h"
***************
*** 1035,1038 ****
--- 1036,1040 ----
filling_enabled = 1;
in_fixed_width_font--;
+ node_has_listoffloats = 0;
}
Index: float.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/float.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** float.c 6 Jan 2004 21:08:49 -0000 1.6
--- float.c 6 Jan 2004 22:26:08 -0000 1.7
***************
*** 29,32 ****
--- 29,34 ----
static FLOAT_ELT *float_stack = NULL;
+ int node_has_listoffloats = 0;
+
void
add_new_float (id, title, type, position)
***************
*** 158,162 ****
{
close_paragraph ();
! insert_string ("* Menu:\n\n");
}
--- 160,165 ----
{
close_paragraph ();
! if (!node_has_listoffloats)
! insert_string ("* Menu:\n\n");
}
***************
*** 287,290 ****
--- 290,294 ----
free (float_type);
+ node_has_listoffloats = 1;
}
Index: float.h
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/float.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** float.h 6 Jan 2004 17:56:38 -0000 1.3
--- float.h 6 Jan 2004 22:26:08 -0000 1.4
***************
*** 42,44 ****
--- 42,46 ----
extern void current_float_set_title_used ();
+ extern int node_has_listoffloats;
+
#endif /* not FLOAT_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/makeinfo node.c,1.8,1.9 float.c,1.6,1.7 float.h,1.3,1.4,
dirt <=