ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* t-vim: line-breaks with \inlineX{}
@ 2011-09-14 14:50 Peter Münster
  2011-09-14 15:51 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2011-09-14 14:50 UTC (permalink / raw)
  To: ConTeXt users

Hello,

How can I avoid the line-breaks here:

--8<---------------cut here---------------start------------->8---
\usemodule[vim]
\definevimtyping[C][syntax=c]
\starttext
bla \inlineC{void func(void)} bla
\stoptext
--8<---------------cut here---------------end--------------->8---

TIA for any help!

-- 
           Peter
___________________________________________________________________________________
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] 4+ messages in thread

* Re: t-vim: line-breaks with \inlineX{}
  2011-09-14 14:50 t-vim: line-breaks with \inlineX{} Peter Münster
@ 2011-09-14 15:51 ` Aditya Mahajan
  2011-09-14 16:19   ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2011-09-14 15:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 618 bytes --]

On Wed, 14 Sep 2011, Peter Münster wrote:

> Hello,
>
> How can I avoid the line-breaks here:
>
> --8<---------------cut here---------------start------------->8---
> \usemodule[vim]
> \definevimtyping[C][syntax=c]
> \starttext
> bla \inlineC{void func(void)} bla
> \stoptext
> --8<---------------cut here---------------end--------------->8---
>
> TIA for any help!

The line breaks are due to before=\blank and 
after=\blank in setupvimtyping. The easiest solution is to ignore the 
before and after keys in \inline<filter>.

See the updated t-filter module from the dev branch at github.

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

* Re: t-vim: line-breaks with \inlineX{}
  2011-09-14 15:51 ` Aditya Mahajan
@ 2011-09-14 16:19   ` Peter Münster
  2011-09-14 16:35     ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2011-09-14 16:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Sep 14 2011, Aditya Mahajan wrote:

> See the updated t-filter module from the dev branch at github.

Thanks! When do you plan to update the module in the standalone
distribution?

-- 
           Peter
___________________________________________________________________________________
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] 4+ messages in thread

* Re: t-vim: line-breaks with \inlineX{}
  2011-09-14 16:19   ` Peter Münster
@ 2011-09-14 16:35     ` Aditya Mahajan
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2011-09-14 16:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 268 bytes --]

On Wed, 14 Sep 2011, Peter Münster wrote:

> On Wed, Sep 14 2011, Aditya Mahajan wrote:
>
>> See the updated t-filter module from the dev branch at github.
>
> Thanks! When do you plan to update the module in the standalone
> distribution?

Updated.

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2011-09-14 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-14 14:50 t-vim: line-breaks with \inlineX{} Peter Münster
2011-09-14 15:51 ` Aditya Mahajan
2011-09-14 16:19   ` Peter Münster
2011-09-14 16:35     ` Aditya Mahajan

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).