On 8/24/2016 11:24 AM, Procházka Lukáš Ing. wrote:
Hello Mojca,
I'm sure Hans knows the invocation by heart, but I can look it up as
well.
This is how the output looks like:
http://source2.contextgarden.net/tex/context/sample/sample-tex.html
yes, that's the look I'd like to achieve.
On 2016-08-24 Lukáš Procházka wrote:
>
> does anybody know about a tool (maybe ConTeXt has something like this
> built-in) which would convert ConTeXt code into pretty-printed HTML
> code?
For HTML I'd also consider javascript highlighters
https://highlightjs.org/
http://prismjs.com/
... Great, that's it!
Thanks again, Mojce.
Best regards,
Lukas
On Wed, 24 Aug 2016 13:55:38 +0200, Mojca Miklavec
wrote:
mtxrun --script scite --tree --numbers --source=Attach.mkiv --target=Attach.txt
I suspect that the script wants folders.
Mojca
--
On 24 August 2016 at 13:36, Procházka Lukáš Ing. wrote:
> Hello Mojca,
>
> I tried this:
>
> mtxrun --script scite --tree --numbers --source=Attach.mkiv
> --target=Attach.txt
> mtxrun --script scite --tree --numbers
> --source=d:/Lukas/ConTeXt/Test/Attach.mkiv --target=Attach.txt
> mtxrun --script
Hello Mojca,
I tried this:
mtxrun --script scite --tree --numbers --source=Attach.mkiv --target=Attach.txt
mtxrun --script scite --tree --numbers
--source=d:/Lukas/ConTeXt/Test/Attach.mkiv --target=Attach.txt
mtxrun --script scite --tree --numbers
--source=d:\Lukas\ConTeXt\Test\Attach.mkiv
On 24 August 2016 at 11:24, Procházka Lukáš Ing. wrote:
> Hello Mojca,
>
>> I'm sure Hans knows the invocation by heart, but I can look it up as well.
>> This is how the output looks like:
>> http://source2.contextgarden.net/tex/context/sample/sample-tex.html
>
> yes, that's the look I'd like
Hello Mojca,
I'm sure Hans knows the invocation by heart, but I can look it up as well.
This is how the output looks like:
http://source2.contextgarden.net/tex/context/sample/sample-tex.html
yes, that's the look I'd like to achieve.
Lukas
Mojca
--
Ing. Lukáš Procházka |
Hello Taco,
On Wed, 24 Aug 2016 09:56:20 +0200, Taco Hoekwater wrote:
http://source.contextgarden.net does something similar. That is a ruby web
application. If you want it, I could send you the source,
I'd be very pleased.
but you need to
understand ruby.
Lua would
http://source.contextgarden.net does something similar. That is a ruby web
application. If you want it, I could send you the source, but you need to
understand ruby.
Best wishes,
Taco
PS I just updated http://source.contextgarden.net to the newest ‘current’.
> On 24 Aug 2016, at 09:27, Mojca
On 24 August 2016 at 09:05, Procházka Lukáš Ing. wrote:
> Hello Mojca,
>
> thanks for the answer.
>
> I need a COMMAND LINE solution for Windows - my intention is to process many
> (tens-hundreds) ConTeXt files into HTML - just to make their code
> better-readable.
Vim *is* command-line, isn't
Maybe this is a job for pandoc. See http://pandoc.org/
juh
--
Das ZEN von Pandoc
Bücher und E-Books einfach und professionell produzieren
http://www.amazon.de/Das-ZEN-von-Pandoc-professionell/dp/1505218799/
Paperback (232 Seiten) und E-Book
Hello Mojca,
thanks for the answer.
I need a COMMAND LINE solution for Windows - my intention is to process many
(tens-hundreds) ConTeXt files into HTML - just to make their code
better-readable.
And - as e.g. Ctx wiki has pretty-printing Ctx source - I believe there is such
tool...
Best
On 24 August 2016 at 07:15, Lukáš Procházka wrote:
> Hello,
>
> does anybody know about a tool (maybe ConTeXt has something like this
> built-in) which would convert ConTeXt code into pretty-printed HTML code?
>
> E.g.:
>
> t.mkiv
> \starttext
> \foo[bar] baz
> \stoptext
>
>
> to be
Hello,
does anybody know about a tool (maybe ConTeXt has something like this built-in)
which would convert ConTeXt code into pretty-printed HTML code?
E.g.:
t.mkiv
\starttext
\foo[bar] baz
\stoptext
to be rewritten into e.g.:
t.html
\starttext
\foo[bar] baz
\stoptext
14 matches
Mail list logo