Scribusoid

Author Topic: Syntax Highlighting - JavaScript  (Read 615 times)

Nermander

  • Hero Member
  • *****
  • Posts: 1095
  • Karma: 15
Re: Syntax Highlighting - JavaScript
« Reply #15 on: February 02, 2017, 05:52:24 pm »
The solution from the email I managed to replicate, though for Javascript there is no joy.

Do you mean that it worked with the Java from the example, but not with Javascript?

Then it must be some kind of configuration issue only, because the minted solution relies on Pygments and Pygments supports Javascript.
http://pygments.org/languages/

kosson

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
  • Scribus User
Re: Syntax Highlighting - JavaScript
« Reply #16 on: February 02, 2017, 07:13:17 pm »
Indeed, it worked for Java. One big problem though: it rendered the code with every line of code underlined, and in rather poor quality. Hmmmmm... it seems latex plugin doesn't cut it, at least for me.

I will proceed with the LibreOffice Writer imported odt. This path satisfied my requirements. Now concentrating on building a special converter according to two syntax highlighting shema needed in my book.

I will update my thread with my progress. Thank you! If there are any other developments, I receive them with gladness and joy. I just wish someone will pick up this issue and make it work natively for there is a big need to make beautiful materials in the field of programming. Our young must be attracted in a rather dry abstract world by how we pack the info. Many blessings to the coder(s) developing that import plugin preserving color formating.

GarryP

  • Hero Member
  • *****
  • Posts: 1200
  • Country: gb
  • Karma: 19
  • Scribus User
Re: Syntax Highlighting - JavaScript
« Reply #17 on: February 03, 2017, 11:49:51 am »
I think it would be good if the two techniques mentioned here were put in a Wiki article.

If there are a lot of people doing the same thing it might be useful if the techniques were laid out in a proper work-flow, explaining each step for each, so there is less confusion in the future.