Philippe Joyez | 2 Dec 21:18 2009

Re: Problem in exporting selected area to post scripts form . .


Dear Siva

I was very recently trying to do the same thing. It took me a lot of
browsing through the (undocumented) code and some trial-and-error to finally
succeed. Via the Tools menu, you can enter a scheme command:

(print-snippet (url "$HOME" "filename.pdf") (selection-tree))

Of course you need to adjust the path to your needs. It works for most
formats (ps, eps, png...), following the extension you give.

You can look in the "glue" files to find out what c code is called.

best,
Philippe

--

-- 
View this message in context: http://old.nabble.com/Problem-in-exporting-selected-area-to-post-scripts-form-.-.-tp26570271p26615733.html
Sent from the Gnu - Texmacs - Dev mailing list archive at Nabble.com.
Philippe Joyez | 2 Dec 21:32 2009

Re: qt-texmacs not displaying documents well in ubuntu 9.10


I all!

It works now. I decided to give it another try recently, and Qt-Texmacs now
behaves normally, without doing anything special. I don't know weather it's
due to a source code change or to an updated Ubuntu package, though.

Philippe

--

-- 
View this message in context: http://old.nabble.com/qt-texmacs-not-displaying-documents-well-in-ubuntu-9.10-tp26160144p26615913.html
Sent from the Gnu - Texmacs - Dev mailing list archive at Nabble.com.
Mansour Moufid | 2 Dec 22:49 2009
Picon

octave plugin maintainership

Hello,

I was just wondering if the TeXmacs project currently has a maintainer
for the Octave plugin. If not, I wouldn't mind volunteering as such.
:-)

--

-- 
Mansour Moufid
Joris van der Hoeven | 3 Dec 08:38 2009

Re: octave plugin maintainership

Hi Mansour,

On Wed, Dec 02, 2009 at 04:49:45PM -0500, Mansour Moufid wrote:
> I was just wondering if the TeXmacs project currently has a maintainer
> for the Octave plugin.

Not really. The official maintainer is Michael Graffam,
but I did not hear from him since years.

> If not, I wouldn't mind volunteering as such. :-)

Yes please, thank you for your kind proposal.

Best wishes, --Joris
Philippe Joyez | 3 Dec 20:27 2009

Re: Patches: copy/paste and selection handling.


Hi all,

I was disappointed to realize that the handling of the selection in the
Qt-texmacs I compiled a few days ago is still not completely conforming to
standards. For instance, when I have an active selection, if I start typing
text or if I paste something, the selection is not replaced by the new text.
Instead, the selection is merely canceled and the text entered next to it. 
Also the "insert" key does not seem to toggle the usual insert/overwrite
mode, at least in my configuration.

Is this the intended behavior, or is there a configuration switch I missed
somewhere? If it is normal, would it be hard to change the code in order to
(at least as an option) delete any existing selection when something is
inserted from the keyboard or the clipboard? 

Philippe
--

-- 
View this message in context: http://old.nabble.com/Patches%3A-copy-paste-and-selection-handling.-tp21634429p26631713.html
Sent from the Gnu - Texmacs - Dev mailing list archive at Nabble.com.
Norbert Nemec | 4 Dec 01:24 2009
Picon
Picon

Re: Patches: copy/paste and selection handling.

Philippe Joyez wrote:
> I was disappointed to realize that the handling of the selection in the
> Qt-texmacs I compiled a few days ago is still not completely conforming to
> standards. For instance, when I have an active selection, if I start typing
> text or if I paste something, the selection is not replaced by the new text.
> Instead, the selection is merely canceled and the text entered next to it.
>   
Indeed, this is one detail that is still left to do in the selection 
mechanism of TeXmacs. It should not be too hard to implement - I don't 
know when I might get to it. It is not high priority for me, but I agree 
that it would be nice to have.

> Also the "insert" key does not seem to toggle the usual insert/overwrite
> mode, at least in my configuration.
>   
I don't think TeXmacs has an "overwrite" mode at all. The problem may be 
already finding a proper definition for the behavior. All is easy while 
editing plain text, but what should happen to formatting information or 
any non-text elements when you "overwrite" them?

Personally, I find overwrite mode quite handy in text editors in plain 
ASCII, fixed-character width setting. I don't think I have ever used it 
in a variable-width font. It might be nice to have in preformatted 
environments within TeXmacs. Otherwise, I think it is not really worth 
the trouble.

> Is this the intended behavior, or is there a configuration switch I missed
> somewhere? If it is normal, would it be hard to change the code in order to
> (at least as an option) delete any existing selection when something is
> inserted from the keyboard or the clipboard? 
(Continue reading)

prasad sodanapalli | 4 Dec 05:27 2009
Picon

Problem in sending selected text to Maxima Plugin

Hi all,
I am new to TeXmacs customizing.
I want to send  the text which is present in " eqnarray* " to maxima Plugin for solving equations.
When I write simple equations (linear equations) maxima is able to solve them.
 
But when I write little complex equations involving :  square, square root, and etc .. .   Maxima first of all not recognizing the equation. May be it is because Maxima cant understand text in tree format(normal texmacs text). I think it needs converter to Maxima Plugin....

Please tell me , How I can solve this problem....


Thank you in advance.

prasad,
prasad4T <at> gmail.com

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
http://lists.gnu.org/mailman/listinfo/texmacs-dev
siva prasad | 4 Dec 08:17 2009
Picon

Re: Texmacs-dev Digest, Vol 84, Issue 1

Hi Philippe,
 Thank you very much for your valuable reply..
siva.

On Thu, Dec 3, 2009 at 10:30 PM, <texmacs-dev-request <at> gnu.org> wrote:
Send Texmacs-dev mailing list submissions to
       texmacs-dev <at> gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.gnu.org/mailman/listinfo/texmacs-dev
or, via email, send a message with subject or body 'help' to
       texmacs-dev-request <at> gnu.org

You can reach the person managing the list at
       texmacs-dev-owner <at> gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Texmacs-dev digest..."


Today's Topics:

  1. Re: Problem in exporting selected area to post    scripts form .
     . (Philippe Joyez)
  2. Re: qt-texmacs not displaying documents well in   ubuntu 9.10
     (Philippe Joyez)
  3. octave plugin maintainership (Mansour Moufid)
  4. Re: octave plugin maintainership (Joris van der Hoeven)


----------------------------------------------------------------------

Message: 1
Date: Wed, 2 Dec 2009 12:18:40 -0800 (PST)
From: Philippe Joyez <texmacs.5.pjoyez <at> spamgourmet.com>
Subject: Re: [Texmacs-dev] Problem in exporting selected area to post
       scripts form . .
To: Texmacs-dev <at> gnu.org
Message-ID: <26615733.post <at> talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


Dear Siva

I was very recently trying to do the same thing. It took me a lot of
browsing through the (undocumented) code and some trial-and-error to finally
succeed. Via the Tools menu, you can enter a scheme command:

(print-snippet (url "$HOME" "filename.pdf") (selection-tree))

Of course you need to adjust the path to your needs. It works for most
formats (ps, eps, png...), following the extension you give.

You can look in the "glue" files to find out what c code is called.

best,
Philippe

--
View this message in context: http://old.nabble.com/Problem-in-exporting-selected-area-to-post-scripts-form-.-.-tp26570271p26615733.html
Sent from the Gnu - Texmacs - Dev mailing list archive at Nabble.com.





------------------------------

Message: 2
Date: Wed, 2 Dec 2009 12:32:02 -0800 (PST)
From: Philippe Joyez <texmacs.5.pjoyez <at> spamgourmet.com>
Subject: Re: [Texmacs-dev] qt-texmacs not displaying documents well in
       ubuntu 9.10
To: Texmacs-dev <at> gnu.org
Message-ID: <26615913.post <at> talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


I all!

It works now. I decided to give it another try recently, and Qt-Texmacs now
behaves normally, without doing anything special. I don't know weather it's
due to a source code change or to an updated Ubuntu package, though.

Philippe


--
View this message in context: http://old.nabble.com/qt-texmacs-not-displaying-documents-well-in-ubuntu-9.10-tp26160144p26615913.html
Sent from the Gnu - Texmacs - Dev mailing list archive at Nabble.com.





------------------------------

Message: 3
Date: Wed, 2 Dec 2009 16:49:45 -0500
From: Mansour Moufid <mansourmoufid <at> gmail.com>
Subject: [Texmacs-dev] octave plugin maintainership
To: texmacs-dev <at> gnu.org
Message-ID:
       <44a1f4d20912021349i7e6ff5d5w3e37b85860816c55 <at> mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello,

I was just wondering if the TeXmacs project currently has a maintainer
for the Octave plugin. If not, I wouldn't mind volunteering as such.
:-)

--
Mansour Moufid




------------------------------

Message: 4
Date: Thu, 3 Dec 2009 08:38:31 +0100
From: Joris van der Hoeven <vdhoeven <at> texmacs.org>
Subject: Re: [Texmacs-dev] octave plugin maintainership
To: texmacs-dev <at> gnu.org
Message-ID: <20091203073831.GF30678 <at> barah.math.u-psud.fr>
Content-Type: text/plain; charset=us-ascii

Hi Mansour,

On Wed, Dec 02, 2009 at 04:49:45PM -0500, Mansour Moufid wrote:
> I was just wondering if the TeXmacs project currently has a maintainer
> for the Octave plugin.

Not really. The official maintainer is Michael Graffam,
but I did not hear from him since years.

> If not, I wouldn't mind volunteering as such. :-)

Yes please, thank you for your kind proposal.

Best wishes, --Joris




------------------------------

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
http://lists.gnu.org/mailman/listinfo/texmacs-dev


End of Texmacs-dev Digest, Vol 84, Issue 1
******************************************

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
http://lists.gnu.org/mailman/listinfo/texmacs-dev
Philippe Joyez | 5 Dec 13:15 2009

Re: Patches: copy/paste and selection handling.


Dear Norbert,

  
>I am not sure. Should be straighforward but it might be non-trivial to 
>get the behavior "quite right". In my experience it takes a lot of 
>tweaking until such a change has exactly the effect that you intend in 
>all the possible different cases.

I have tried this minimalistic change:

**************************
diff -u 'src/Edit/Modify/edit_text.cpp.0' 'src/Edit/Modify/edit_text.cpp'
--- src/Edit/Modify/edit_text.cpp.0	2009-11-19 20:43:01.000000000 +0100
+++ src/Edit/Modify/edit_text.cpp	2009-12-05 12:39:55.000000000 +0100
 <at>  <at>  -197,6 +197,7  <at>  <at> 

 void
 edit_text_rep::insert_tree (tree t, path p_in_t) {
+    selection_get_cut () ; // delete existing selection to get overwrite
behavior
   if (is_atomic (t) && (p_in_t == end (t)) &&
       is_atomic (subtree (et, path_up (tp))))
     insert (tp, t);

******************************

It seems to to the trick (deleting any existing selection prior to adding
stuff to the document). I have not yet extensively tested it, though.
Moreover, since I don't know the overall architecture of the project, it may
introduce really bad side effects in some cases. So, it's better to have it
checked by an "architect".

best,
Philippe

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
http://lists.gnu.org/mailman/listinfo/texmacs-dev

--

-- 
View this message in context: http://old.nabble.com/Patches%3A-copy-paste-and-selection-handling.-tp21634429p26655064.html
Sent from the Gnu - Texmacs - Dev mailing list archive at Nabble.com.
Norbert Nemec | 8 Dec 11:07 2009
Picon
Picon

Displaying table grids

Hi there,

attached is a patch implementing an idea that I had for a long time:

Currently, when the cursor is inside a table, only the outer border of 
the whole table is displayed as a cyan rectangle. This patch displays 
the whole grid of a table as very faint gray lines.

I hope that this feature will help greatly if you do intense layout with 
complex tables and especially nested tables.

The patch also slightly changes the color of outline rectangles from 
intense cyan to fainter gray-cyan. This is mostly a matter of taste. I 
always found the intense color a bit "loud" on the eye. The intense red 
for selections is fine, but the outline should be a mere hint to guide 
the eye and seems a bit more elegant in a fainter tone.

This whole patch is probably not the final form of this feature, but 
more a basis of discussion.

Greetings,
Norbert
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev <at> gnu.org
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Gmane