head 1.2; access; symbols pkgsrc-2016Q2:1.1.0.56 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.54 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.52 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.50 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.48 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.46 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.44 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.42 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.40 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.38 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.36 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.34 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.32 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.30 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.28 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.26 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.24 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.22 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.20 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.18 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.16 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.14 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.12 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.10 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.8 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.6 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.4 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.2 pkgsrc-2009Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2016.09.23.11.35.18; author markd; state dead; branches; next 1.1; commitid JSCL4yG3ycNucpnz; 1.1 date 2009.08.11.15.01.14; author taca; state Exp; branches; next ; desc @@ 1.2 log @Update dvi2tty to 6.0.0 fix license. OK by wiz 2016-03-05 TANAKA Takuji dvi2tty-6.0.0. Support T1,TS1,OT2,T2A,T2B,T2C,X2 encodings. Add utf8 output for the latin, cyrillic encodings and OML,OMS encodings. Add option '-C' not to compose a combining character sequence. * dvi2tty.c, dvi2tty.h: Add new option '-C', '-Eu1' and inner flags. * tex2ucs.h (new), dvistuff.c: Add utf8 support and new encodings. * test/table.tex, table.dvi, dvi2tty.test: Add a new test. * table{,c,s,u,uC,Eu,Eu1,EuC,Eua}.tty, testEu.tty, ligtest{u,Eu}.tty (new); test{,s,u}.tty, ligtest.tty (update): Expected output. * Makefile{,.am,.in}: Add the new test and the new header file. * configure{,.ac}: Update version number. 2011-11-21 Peter Breitenlohner Add upTeX support from Tanaka Takuji . * ac/withenable.ac, Makefile.am: Require ptexenc. * version.ac (new): Define dvi2tty_version. * configure.ac: Adapted. 2011-01-26 Peter Breitenlohner * dvi2tty.test: Unset DVI2TTY to nullify dvi2tty options. Additional testcase with '-c'. * testc.tty: Expected output. 2010-11-06 Peter Breitenlohner Import dvi2tty-5.3.3. * configure.ac: Adapted. 2010-10-15 Peter Breitenlohner Add two disdvi command line options to handle .dvi files as created by pTeX and .xdv files as created by XeTeX. * commands.h: Define DVI opcodes for pTeX and XeTeX extensions. * disdvi.c: Add command line options `-p' or `--ptex' and `-x' or `--xetex'; handle DVI opcodes for pTeX and XeTeX extensions. 2009-08-23 Peter Breitenlohner Avoid maximal compiler warnings. * disdvi.c, dvi2tty.c, dvistuff.c: Ignore RCS strings. ANSI C function definitions. * disdvi.c (fontname): Constify string return type. * dvi2tty.c (path, OUTfilename): Constify global strings. (getpages, getfname, getinteger, setoption, getargs): Constify string params and local vars. 2009-06-22 Peter Breitenlohner * dvi2tty.c (readable_file): declare as static. * disdvi.c, dvi2tty.h: do not #include . 2009-06-20 Peter Breitenlohner * Makefile.am: enable compiler warnings. * disdvi.c, dvi2tty.c, dvi2tty.h, dvistuff.c: ANSI C prototypes. 2009-06-15 Karl Berry * dvi2tty.c, * README: clarify that it's GPLv2+, per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424018. 2009-06-12 Francois Charette * dvistuff.c: rename getline to texlive_getline. @ text @$NetBSD: patch-ab,v 1.1 2009/08/11 15:01:14 taca Exp $ Avoid confliction with getline(3). --- dvistuff.c.orig 2009-08-11 23:56:48.000000000 +0900 +++ dvistuff.c @@@@ -123,7 +123,7 @@@@ void rule (bool, l void ruleaux (long, long, char); long horizontalmove (long); int skipnops (void); -linetype * getline (void); +linetype * get_line (void); linetype * findline (void); unsigned long num (int); long snum (int); @@@@ -148,7 +148,7 @@@@ void rule (); void ruleaux (); long horizontalmove (); int skipnops (); -linetype * getline (); +linetype * get_line (); linetype * findline (); unsigned long num (); long snum (); @@@@ -290,7 +290,7 @@@@ void initpage() h = 0L; v = 0L; /* initialize coordinates */ x = 0L; w = 0L; y = 0L; z = 0L; /* initialize amounts */ sptr = 0; /* initialize stack */ - currentline = getline(); /* initialize list of lines */ + currentline = get_line(); /* initialize list of lines */ currentline->vv = 0L; firstline = currentline; lastline = currentline; @@@@ -647,7 +647,7 @@@@ int skipnops() /* s /*----------------------------------------------------------------------------*/ -linetype *getline() /* returns an initialized line-object */ +linetype *get_line() /* returns an initialized line-object */ { register int i; register linetype *temp; @@@@ -662,7 +662,7 @@@@ linetype *getline() /* retur temp->text[i] = '\0'; return temp; -} /* getline */ +} /* get_line */ /*----------------------------------------------------------------------------*/ @@@@ -673,7 +673,7 @@@@ linetype *findline() /* find if (v <= firstline->vv) { /* above first line */ if (firstline->vv - v > VERTICALEPSILON) { - temp = getline(); + temp = get_line(); temp->next = firstline; firstline->prev = temp; temp->vv = v; @@@@ -684,7 +684,7 @@@@ linetype *findline() /* find if (v >= lastline->vv) { /* below last line */ if (v - lastline->vv > VERTICALEPSILON) { - temp = getline(); + temp = get_line(); temp->prev = lastline; lastline->next = temp; temp->vv = v; @@@@ -707,7 +707,7 @@@@ linetype *findline() /* find return temp->next; /* no line fits suitable, generate a new one */ - currentline = getline(); + currentline = get_line(); currentline->next = temp->next; currentline->prev = temp; temp->next->prev = currentline; @ 1.1 log @Add a patch to avoid conflict with getline(3). @ text @d1 1 a1 1 $NetBSD$ @