diff options
Diffstat (limited to 'Build/source/texk/tex4htk/tex4ht.c')
-rw-r--r-- | Build/source/texk/tex4htk/tex4ht.c | 95 |
1 files changed, 46 insertions, 49 deletions
diff --git a/Build/source/texk/tex4htk/tex4ht.c b/Build/source/texk/tex4htk/tex4ht.c index 5b21ebf4d94..43644fd77fb 100644 --- a/Build/source/texk/tex4htk/tex4ht.c +++ b/Build/source/texk/tex4htk/tex4ht.c @@ -1,35 +1,28 @@ -/**********************************************************/ -/* tex4ht.c 2009-01-31-07:33 */ -/* Copyright (C) 1996--2009 Eitan M. Gurari */ -/* */ -/* This work may be distributed and/or modified under the */ -/* conditions of the LaTeX Project Public License, either */ -/* version 1.3 of this license or (at your option) any */ -/* later version. The latest version of this license is */ -/* in */ -/* http://www.latex-project.org/lppl.txt */ -/* and version 1.3 or later is part of all distributions */ -/* of LaTeX version 2003/12/01 or later. */ -/* */ -/* This work has the LPPL maintenance status "maintained".*/ -/* */ -/* This Current Maintainer of this work */ -/* is Eitan M. Gurari. */ -/* */ -/* If you modify this program your changing its signature */ -/* with a directive of the following form will be */ -/* appreciated. */ -/* #define PLATFORM "signature" */ -/* */ -/* gurari@cse.ohio-state.edu */ -/* http://www.cse.ohio-state.edu/~gurari */ -/**********************************************************/ - -/* ********************************************** - Compiler options * - (uncommented | command line) * -------------------------------------------------* +/* tex4ht.c (2010-11-17-10:41), generated from tex4ht-c.tex + Copyright (C) 2009-2010 TeX Users Group + Copyright (C) 1996--2009 Eitan M. Gurari + +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. + */ + +/* Compiler options (uncommented | command line), as comments: + Classic C (CC) default #define ANSI ansi-c, c++ #define DOS_C @@ -1530,7 +1523,7 @@ static void strct #endif { U_CHAR * ch; ch = str1 + (int) strlen((char *) str1); - (IGNORED) strcpy((char *) ch, (const char *) str2 ); + (IGNORED) strcpy((char *) ch, str2 ); } @@ -3438,7 +3431,7 @@ static char *get_env_dir p = (char *) malloc(i+12); if(p == NULL) return NULL; strncpy(p, progname, i+1); - (IGNORED) strcpy((char *) &p[i+1], (const char *) "tex4ht.env"); + (IGNORED) strcpy((char *) &p[i+1], "tex4ht.env"); return p; } @@ -3451,7 +3444,7 @@ static char* get_script #ifdef ANSI #define SEP , ( - U_CHAR * name SEP + char * name SEP const U_CHAR * inln SEP int x @@ -3460,7 +3453,7 @@ static char* get_script #else #define SEP ; (name, inln,x) - U_CHAR * name SEP + char * name SEP const U_CHAR * inln SEP int x @@ -3939,7 +3932,7 @@ static FILE* search_file #ifdef ANSI #define SEP , ( - const U_CHAR *name SEP + const char *name SEP const U_CHAR *dir SEP const U_CHAR *flags @@ -3948,7 +3941,7 @@ static FILE* search_file #else #define SEP ; ( name, dir, flags ) - const U_CHAR *name SEP + const char *name SEP const U_CHAR *dir SEP const U_CHAR *flags @@ -4095,7 +4088,7 @@ static FILE* search_file_ext #ifdef ANSI #define SEP , ( - const U_CHAR *name SEP + const char *name SEP const U_CHAR *dir SEP const U_CHAR *flags @@ -4104,7 +4097,7 @@ static FILE* search_file_ext #else #define SEP ; ( name, dir, flags ) - const U_CHAR *name SEP + const char *name SEP const U_CHAR *dir SEP const U_CHAR *flags @@ -4787,7 +4780,9 @@ gif_open[gif_flag] = m_alloc(char, ); (IGNORED) strcpy((char *) gif_open[gif_flag], + "<img src=\"+\" alt=\"+++++\" />+" + ); gif_alt[gif_flag] = gif_open[gif_flag]+11; *(gif_alt[gif_flag] - 1) = '\0'; @@ -5082,7 +5077,9 @@ gif_open[gif_flag] = m_alloc(char, ); (IGNORED) strcpy((char *) gif_open[gif_flag], + "<img src=\"+\" alt=\"+++++\" />+" + ); gif_alt[gif_flag] = gif_open[gif_flag]+11; *(gif_alt[gif_flag] - 1) = '\0'; @@ -5709,7 +5706,7 @@ static void warn_i_str #define SEP , ( int n SEP - const U_CHAR *str + const char *str ) #undef SEP @@ -5717,7 +5714,7 @@ static void warn_i_str #define SEP ; (n,str) int n SEP - const U_CHAR *str + const char *str ; #undef SEP @@ -5735,8 +5732,8 @@ static void warn_i_str2 #define SEP , ( int n SEP - const U_CHAR *str1 SEP - const U_CHAR *str2 + const char *str1 SEP + const char *str2 ) #undef SEP @@ -5744,8 +5741,8 @@ static void warn_i_str2 #define SEP ; (n,str1,str2) int n SEP - const U_CHAR *str1 SEP - const U_CHAR *str2 + const char *str1 SEP + const char *str2 ; #undef SEP @@ -5930,15 +5927,15 @@ SetConsoleCtrlHandler((PHANDLER_ROUTINE)sigint_handler, TRUE); (IGNORED) printf("----------------------------\n"); #ifndef KPATHSEA #ifdef PLATFORM - (IGNORED) printf("tex4ht.c (2009-01-31-07:33 %s)\n",PLATFORM); + (IGNORED) printf("tex4ht.c (2010-11-17-10:41 %s)\n",PLATFORM); #else - (IGNORED) printf("tex4ht.c (2009-01-31-07:33)\n"); + (IGNORED) printf("tex4ht.c (2010-11-17-10:41)\n"); #endif #else #ifdef PLATFORM - (IGNORED) printf("tex4ht.c (2009-01-31-07:33 %s kpathsea)\n",PLATFORM); + (IGNORED) printf("tex4ht.c (2010-11-17-10:41 %s kpathsea)\n",PLATFORM); #else - (IGNORED) printf("tex4ht.c (2009-01-31-07:33 kpathsea)\n"); + (IGNORED) printf("tex4ht.c (2010-11-17-10:41 kpathsea)\n"); #endif #endif for(i=0; i<argc; i++){ |