Modernise splitjs

This commit is contained in:
John Whitington 2024-05-10 12:48:58 +08:00
parent cdcfbdcc43
commit 03a5d28c42
2 changed files with 13 additions and 13 deletions

View File

@ -35,40 +35,40 @@ of 'under'.
function combinePages(under, over) {}
/** Times Roman */
var timesRoman = 0;
var timesRoman = 'Times-Roman';
/** Times Bold */
var timesBold = 1;
var timesBold = 'Times-Bold';
/** Times Italic */
var timesItalic = 2;
var timesItalic = 'Times-Italic';
/** Times Bold Italic */
var timesBoldItalic = 3;
var timesBoldItalic = 'Times-BoldItalic';
/** Helvetica */
var helvetica = 4;
var helvetica = 'Helvetica';
/** Helvetica Bold */
var helveticaBold = 5;
var helveticaBold = 'Helvetica-Bold';
/** Helvetica Oblique */
var helveticaOblique = 6;
var helveticaOblique = 'Helvetica-Oblique';
/** Helvetica Bold Oblique */
var helveticaBoldOblique = 7;
var helveticaBoldOblique = 'Helvetica-BoldOblique';
/** Courier */
var courier = 8;
var courier = 'Courier';
/** Courier Bold */
var courierBold = 9;
var courierBold = 'Courier-Bold';
/** Courier Oblique */
var courierOblique = 10;
var courierOblique = 'Courier-Oblique';
/** Courier Bold Oblique */
var courierBoldOblique = 11;
var courierBoldOblique = 'Courier-BoldOblique';
/** Left justify */
var leftJustify = 0;

View File

@ -1,5 +1,5 @@
#!/bin/bash
csplit -k -f javascriptsplits/c ../coherentpdf.js/cpdfdocs.js '/CHAPTER/' {18}
csplit -k -f javascriptsplits/c ../../coherentpdf.js/cpdfdocs.js '/CHAPTER/' {18}
mv javascriptsplits/c00 javascriptsplits/c00.tex
mv javascriptsplits/c01 javascriptsplits/c01.tex
mv javascriptsplits/c02 javascriptsplits/c02.tex