ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug with vimtyping: no line numbers
@ 2014-08-11 12:31 Günter Kolousek
  0 siblings, 0 replies; 10+ messages in thread
From: Günter Kolousek @ 2014-08-11 12:31 UTC (permalink / raw)
  To: ntg-context


I think there is a bug in the (latest) beta that was not there earlier
this year. In particular, it worked (and still works) in the version

  current version: 2014.03.19 23:11

but it show *no* line numbers at all in the (latest) beta:

  current version: 2014.07.30 10:31

A minimal example follows:

\usemodule[vim]

\setupvimtyping[%
    numbering=yes,%
    numberdistance=2em]
\definevimtyping[cpp][syntax=cpp]

\starttext
\startcpp
#include <iostream>

int main() {
    std::cout << "Hello, world!" << std::endl;
}
\stopcpp
\stoptext

Sadly, I'm not a ConTeXt nor a lua expert so maybe anybody can help?

Regards,
Günter

p.s.: BTW, I still could not resolve the bug with integrating tikz but I
verified that it works with the stated version above (2014.03.19 23:11)
on my system (nothing else changed).
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Bug with vimtyping: no line numbers
@ 2014-08-11 15:37 Günter Kolousek
  2014-08-12 15:36 ` Aditya Mahajan
  2014-08-13 14:39 ` Aditya Mahajan
  0 siblings, 2 replies; 10+ messages in thread
From: Günter Kolousek @ 2014-08-11 15:37 UTC (permalink / raw)
  To: ntg-context


I think there is a bug in the (latest) beta that was not there earlier
this year. In particular, it worked (and still works) in the version

  current version: 2014.03.19 23:11

but it show *no* line numbers at all in the (latest) beta:

  current version: 2014.07.30 10:31

A minimal example follows:

\usemodule[vim]

\setupvimtyping[%
    numbering=yes,%
    numberdistance=2em]
\definevimtyping[cpp][syntax=cpp]

\starttext
\startcpp
#include <iostream>

int main() {
    std::cout << "Hello, world!" << std::endl;
}
\stopcpp
\stoptext

Sadly, I'm not a ConTeXt nor a lua expert so maybe anybody can help?

Regards,
Günter

p.s.: BTW, I still could not resolve the bug with integrating tikz but I
verified that it works with the stated version above (2014.03.19 23:11)
on my system (nothing else changed).
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Bug with vimtyping: no line numbers
@ 2014-08-12 22:12 Akira Kakuto
  0 siblings, 0 replies; 10+ messages in thread
From: Akira Kakuto @ 2014-08-12 22:12 UTC (permalink / raw)
  To: ntg-context

> \starttext
> \startlinenumbering
> \input knuth
> \stoplinenumbering
> \stoptext

The line numbers seem better in mkii than in mkiv.

Best regards,
Akira

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-08-14 16:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-11 12:31 Bug with vimtyping: no line numbers Günter Kolousek
2014-08-11 15:37 Günter Kolousek
2014-08-12 15:36 ` Aditya Mahajan
2014-08-12 20:07   ` Günter Kolousek
2014-08-13 14:39 ` Aditya Mahajan
2014-08-13 14:52   ` Wolfgang Schuster
2014-08-13 14:56     ` Aditya Mahajan
2014-08-14  8:19   ` Günter Kolousek
2014-08-14 16:16     ` Aditya Mahajan
2014-08-12 22:12 Akira Kakuto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).