Closed CLRafaelR closed 11 months ago
Unfortunately this is out of scope for us here. This tracker is mainly for bug reports.
The way to go here would probably be to generate raw XML for ppt, but I don't know enough about color handling there and since can't help. Sorry.
The following question was originally posted on StackOverflow. However, the question has not been attended for a week, I would like to ask for help in this lua-filters repository.
I endeavour to modify the font colour within a pptx document that has been generated from a qmd file utilising a lua filter entitled 'color-text.lua', which is from 5.1 Font color | R Markdown Cookbook.
The lua filter demonstrates proficiency in altering the font colour during the rendering process of HTML-based documents, encompassing standard HTMLs and revealjs presentations, as well as latex-based documents, which encompass PDFs and beamer presentations.
Regrettably, I am uncertain about the methodology to enhance the lua filter's capabilities in order to alter font colour in pptx documents. Any insights or suggestions are appreciated.
MWE
test.qmd
color-text.lua
The following script is a modified version of
color-text.lua
that was originally posted on StackOverflow. I added a code block to modify pptx (xml) format (i.e.if FORMAT == 'pptx' then
...return run
) using ChatGPT (gpt-3.5
) but the code block ignores[...]{color="..."}
notation.