Prince 使用 CSS 文件来设置它生成的 PDF 的属性。我尝试将命令添加body {height: 1536; width: 1024}
到收到王子错误的 CSS 文件中:
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/15. drug therapy of depression and anxiety disorders.htm:32: error: Unexpected end tag : table
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/15. drug therapy of depression and anxiety disorders.htm:33: error: Unexpected end tag : td
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/15. drug therapy of depression and anxiety disorders.htm:35: error: Unexpected end tag : tr
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/15. drug therapy of depression and anxiety disorders.htm:36: error: Unexpected end tag : tbody
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/15. drug therapy of depression and anxiety disorders.htm:36: error: Unexpected end tag : table
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/16. pharmacotherapy of psychosis and mania.htm:32: error: Unexpected end tag : table
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/16. pharmacotherapy of psychosis and mania.htm:33: error: Unexpected end tag : td
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/16. pharmacotherapy of psychosis and mania.htm:35: error: Unexpected end tag : tr
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/16. pharmacotherapy of psychosis and mania.htm:36: error: Unexpected end tag : tbody
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/16. pharmacotherapy of psychosis and mania.htm:36: error: Unexpected end tag : table
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/16. pharmacotherapy of psychosis and mania.htm:380: error: ID popup already defined
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/16. pharmacotherapy of psychosis and mania.htm:578: error: error parsing attribute name
prince: /home/brentonhorne/Drugs/CHM/Goodman and gillman_html/ii. neuropharmacology/16. pharmacotherapy of psychosis and mania.htm:774: error: ID popup already defined
没有这一行,文本不适合 PDF。