Changeset 1173547 in git for doc/doc2tex.pl
- Timestamp:
- Dec 10, 1999, 5:41:51 PM (23 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 131a5790de5c119bcc15d738ae2528f187966154
- Parents:
- a82cbf7acd39c9cda284cc9c53921da9d5371095
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/doc2tex.pl
ra82cbf7 r1173547 1 1 #!/usr/local/bin/perl 2 # $Id: doc2tex.pl,v 1.2 2 1999-12-06 16:06:54obachman Exp $2 # $Id: doc2tex.pl,v 1.23 1999-12-10 16:41:48 obachman Exp $ 3 3 ################################################################### 4 4 # Computer Algebra System SINGULAR … … 350 350 # break after $ex_length characters 351 351 $to_do = $_; 352 while (length($to_do) > $ex_length && $to_do =~ /\w/) 352 while (length($to_do) > $ex_length && $to_do =~ /\w/ && 353 substr($to_do, $ex_length) !~ /^\s*$/) 353 354 { 355 354 356 $done .= substr($to_do, 0, $ex_length)."\\\n "; 355 $to_do = substr($to_do, $ex_length + 1);357 $to_do = substr($to_do, $ex_length); 356 358 } 357 359 $_ = $done.$to_do if($done);
Note: See TracChangeset
for help on using the changeset viewer.