<div dir="ltr">Hello <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">a.l.e -- thanks for the response! (and for all your contributions to Scribus too of course!)</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I'm unfamiliar with some of the technical parts of your proposition -- primarily Scribus's html importer and its scripter -- and so that prompted me to dig back in and see what sense I could make of the place where I left off.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">It turns out, I wasn't far from having a working solution and I now have a workflow that might be sufficient!</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Mainly I just had to mess around with latex to solve some formatting problems in the pdf's generated by pdflatex.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I'm embedding these pdfs in scribus. Is there any downside to that?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">And I made a shell script to run on a directory of code that will regenerate all the pdfs. Scribus pulls in these updated versions automatically.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I'm very pleased to have something working like this, and as long as embedding pdfs in Scribus isn't a bad practice to avoid (is this ok?) then I think I'll be all set with this.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks,</span></div><div><span style="font-size:12.8px">Alec<br></span><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 20, 2018 at 12:33 PM, ale rimoldi <span dir="ltr"><<a href="mailto:ale.comp_06@xox.ch" target="_blank">ale.comp_06@xox.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi alec<br>
<br>
if you're interested in a solution that does not involve postscript, i<br>
would be willing to work on it.<br>
<br>
my preferred way would be a python script that runs in scribus and scans<br>
all the frames for code (attributes? paragraph styles?) and applies<br>
character styles for the highlighting.<br>
<br>
you will probably then have to use 1.5.x, since it's likely that<br>
i will need to create small patches to scribus and improve the<br>
scripter (the patches will be proposed for inclusion in the scribus main<br>
code).<br>
<br>
the alternative is an external python script that produces html files,<br>
that then can then be imported in scribus.<br>
on top of it a python scripts runs inside of scribus and updates the<br>
frames from the external html files.<br>
in this case too, it might be necessary to improve the html importer<br>
and possible the scripter.<br>
again, you'll probably need to use the development<br>
version of scribus.<br>
<br>
defining a css file that can be read by scribus, is an interesting<br>
project and i might be able to create a scribus plugin that exports and<br>
imports css for syncing the styles between files.<br>
it is very likely that it also would be integrated in the development<br>
version of scribus.<br>
<br>
so, if you're ready to work with the development version of scribus, i<br>
could write a project description (and make you a quote).<br>
<br>
hiring me is possible, but i'm not sure it will be trivial.<br>
i'm probably not in the same country as you and i'm not yet officially<br>
a freelancers... i won't relocate, but i can do the paperwork with my<br>
tax authorities.<br>
<br>
getting money for this project is not a condition for me to work on<br>
it, but i would welcome it, i could earn some money through it.<br>
<br>
finally, getting the whole thing to work with the stable scribus 1.4 is<br>
for sure possible, but i would only do it for money and only by first<br>
programming it for the development version and then porting the code to<br>
the stable version.<br>
<br>
have a wonderful start to the week<br>
a.l.e<br>
<div class="m_-6441073051153642390HOEnZb"><div class="m_-6441073051153642390h5"><br>
___<br>
Scribus Mailing List: <a href="mailto:scribus@lists.scribus.net" target="_blank">scribus@lists.scribus.net</a><br>
Edit your options or unsubscribe:<br>
<a href="http://lists.scribus.net/mailman/listinfo/scribus" rel="noreferrer" target="_blank">http://lists.scribus.net/mailm<wbr>an/listinfo/scribus</a><br>
See also:<br>
<a href="http://wiki.scribus.net" rel="noreferrer" target="_blank">http://wiki.scribus.net</a><br>
<a href="http://forums.scribus.net" rel="noreferrer" target="_blank">http://forums.scribus.net</a><br>
</div></div></blockquote></div><br></div></div></div>