[BACK]Return to eqn_html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/eqn_html.c between version 1.2 and 1.4

version 1.2, 2011/07/24 10:09:03 version 1.4, 2014/08/10 23:54:41
Line 14 
Line 14 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
 #ifdef HAVE_CONFIG_H  
 #include "config.h"  #include "config.h"
 #endif  
   
   #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 35  static const enum htmltag fontmap[EQNFONT__MAX] = {
Line 35  static const enum htmltag fontmap[EQNFONT__MAX] = {
         TAG_I /* EQNFONT_ITALIC */          TAG_I /* EQNFONT_ITALIC */
 };  };
   
   
 static void     eqn_box(struct html *, const struct eqn_box *);  static void     eqn_box(struct html *, const struct eqn_box *);
   
   
 void  void
 print_eqn(struct html *p, const struct eqn *ep)  print_eqn(struct html *p, const struct eqn *ep)
 {  {
Line 59  eqn_box(struct html *p, const struct eqn_box *bp)
Line 59  eqn_box(struct html *p, const struct eqn_box *bp)
 {  {
         struct tag      *t;          struct tag      *t;
   
         t = EQNFONT_NONE == bp->font ? NULL :          t = EQNFONT_NONE == bp->font ? NULL :
                 print_otag(p, fontmap[(int)bp->font], 0, NULL);              print_otag(p, fontmap[(int)bp->font], 0, NULL);
   
         if (bp->left)          if (bp->left)
                 print_text(p, bp->left);                  print_text(p, bp->left);
   
         if (bp->text)          if (bp->text)
                 print_text(p, bp->text);                  print_text(p, bp->text);
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

CVSweb