Opened 9 years ago

Closed 9 years ago

# colors from tables and code sections not maintained

Reported by: Owned by: jcole@… Diorgenes Felipe Grzesiuk normal TracWikiToPdfPlugin normal 0.11

### Description

Tables in HTML formatted sections is sent to the working file from wiki_to_html, but it's dropped by htmldoc. I think there is a way to preserve these sections (I have in the past with htmldoc).

Code formatted sections are not preserving their colorings from wiki_to_html, it would be nice to maintain all of the formatting all the way to the PDF document. If there is an option on wiki_to_html to preserve the code formatted html it should be possible to get that to the pdf.

### comment:1 Changed 9 years ago by Diorgenes Felipe Grzesiuk

Status: new → assigned

Good afternoon!

Do you managed to use the plugin?

The function belongs to wiki_to_html TRAC's API!

The library HTMLDoc unable to convert the formats CSS for the PDF file. Only format simple HTML. Example:

{{{
#!html
<table bgcolor=red width="100%"><tr><td>Test</td></tr></table>
}}}

 Test

Diorgenes F. Grzesiuk

### comment:2 Changed 9 years ago by Diorgenes Felipe Grzesiuk

Resolution: → fixed assigned → closed

### Modify Ticket

Change Properties
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.2746967375278473, "perplexity": 9832.402431259816}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2017-34/segments/1502886104172.67/warc/CC-MAIN-20170817225858-20170818005858-00453.warc.gz"}