Subject: mailing-list for TeXmacs Users
List archive
From : Adam Warner <address@hidden>- To: address@hidden
- Subject: Re: Pasting source code into TeXmacs?
- Date: 24 Feb 2002 13:45:48 +1300
On Sun, 2002-02-24 at 13:16, David Allouche wrote:
> On Sunday 24 February 2002 00:45, Adam Warner wrote:
> >
> > What environment do people use to paste source code into TeXmacs? I've
> > tried the code and verbatim environments but both throw away the
> > indenting and carriage returns. Plus the code seems to interact with
> > TeXmacs as well [for example if I paste in this segment: "(if (< (-
> > (length ND0_list) iperiods) t)" then the output becomes: "(if
> > (<expand|(->(define lambdaTech 1.0)"].
>
> It is not a matter of environment. You must specify the import conversion
> (here, verbatim) using Edit->import->verbatim before pasting into TeXmacs.
Thanks again David!
> I think this is a misfeature, since:
>
> 1. default conversion conversion for text pasted from other applications
> should be verbatim, not TeXmacs (that is, mostly no-op) as it is now;
Agreed.
> 2. I believe X clipboard protocol (I do not remember the technical acronym)
> supports some form of content type negociation, so 1. is not incompatible
> with having text copied from other TeXmacs instances use, by default,
> TeXmacs
> conversion. Maybe this would even allow text copied from LyX to be
> automatically pasted using the appropriate conversion (LaTeX?)
That would be clever. I'd like to see the option to force the type of
import type remain though.
Regards,
Adam
- Pasting source code into TeXmacs?, Adam Warner, 02/24/2002
- Re: Pasting source code into TeXmacs?, David Allouche, 02/24/2002
- Re: Pasting source code into TeXmacs?, Adam Warner, 02/24/2002
- Re: Pasting source code into TeXmacs?, David Allouche, 02/24/2002
- Re: Pasting source code into TeXmacs?, David Allouche, 02/24/2002
- Re: Pasting source code into TeXmacs?, Adam Warner, 02/24/2002
- Questions about TeXmacs development, Joris van der Hoeven, 02/24/2002
- Modal Logic Diamond, Willem Robert van Hage, 02/25/2002
- Re: Modal Logic Diamond, David Allouche, 02/25/2002
- Questions about TeXmacs development, Joris van der Hoeven, 02/24/2002
- Re: Pasting source code into TeXmacs?, Adam Warner, 02/24/2002
- Re: Pasting source code into TeXmacs?, David Allouche, 02/24/2002
- Re: Pasting source code into TeXmacs?, David Allouche, 02/24/2002
- Re: Pasting source code into TeXmacs?, Adam Warner, 02/24/2002
- Re: Pasting source code into TeXmacs?, David Allouche, 02/24/2002
Archive powered by MHonArc 2.6.19.