Lines 1555-1563
name width\theight\tllx\tlly
Link Here
|
1555 |
buffer_append (&cmd, intbuf); |
1555 |
buffer_append (&cmd, intbuf); |
1556 |
buffer_append (&cmd, " "); |
1556 |
buffer_append (&cmd, " "); |
1557 |
|
1557 |
|
1558 |
buffer_append (&cmd, "-Ddocument_title=\""); |
1558 |
buffer_append (&cmd, "-Ddocument_title=\'"); |
1559 |
buffer_append (&cmd, title); |
1559 |
if ((cp = shell_escape (title)) != NULL) |
1560 |
buffer_append (&cmd, "\" "); |
1560 |
{ |
|
|
1561 |
buffer_append (&cmd, cp); |
1562 |
free (cp); |
1563 |
} |
1564 |
buffer_append (&cmd, "\' "); |
1561 |
|
1565 |
|
1562 |
buffer_append (&cmd, "-Dtoc="); |
1566 |
buffer_append (&cmd, "-Dtoc="); |
1563 |
buffer_append (&cmd, toc ? "1" : "0"); |
1567 |
buffer_append (&cmd, toc ? "1" : "0"); |
Lines 1574-1581
name width\theight\tllx\tlly
Link Here
|
1574 |
/* Append input files. */ |
1578 |
/* Append input files. */ |
1575 |
for (i = optind; i < argc; i++) |
1579 |
for (i = optind; i < argc; i++) |
1576 |
{ |
1580 |
{ |
1577 |
buffer_append (&cmd, " "); |
1581 |
char *cp; |
1578 |
buffer_append (&cmd, argv[i]); |
1582 |
if ((cp = shell_escape (argv[i])) != NULL) |
|
|
1583 |
{ |
1584 |
buffer_append (&cmd, " \'"); |
1585 |
buffer_append (&cmd, cp); |
1586 |
buffer_append (&cmd, "\'"); |
1587 |
free (cp); |
1588 |
} |
1579 |
} |
1589 |
} |
1580 |
|
1590 |
|
1581 |
/* And do the job. */ |
1591 |
/* And do the job. */ |
Lines 1636-1642
name width\theight\tllx\tlly
Link Here
|
1636 |
buffer_ptr (opts), buffer_len (opts)); |
1645 |
buffer_ptr (opts), buffer_len (opts)); |
1637 |
} |
1646 |
} |
1638 |
|
1647 |
|
1639 |
buffer_append (&buffer, " \"%s\""); |
1648 |
buffer_append (&buffer, " \'%s\'"); |
1640 |
|
1649 |
|
1641 |
input_filter = buffer_copy (&buffer); |
1650 |
input_filter = buffer_copy (&buffer); |
1642 |
input_filter_stdin = "-"; |
1651 |
input_filter_stdin = "-"; |