Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fixed width Maple results to newsgroups

2 views
Skip to first unread message

Ioannis

unread,
Dec 7, 2005, 1:24:41 PM12/7/05
to
I've been using Maple V and 9 for some years now and often see posters in
sci.math posting Maple results in pretty formatted fixed width font, with
fraction notation, parens, etc, all correctly formatted.

Is this is some feature of Maple I am not aware of?

Should I assume that this is a "copy to clipboard" feature that I have not
seen?

Can it be done in Maple 9?

Thanks.
--
Ioannis
http://ioannis.virtualcomposer2000.com/
Eventually, _everything_ is understandable

Joe Riel

unread,
Dec 7, 2005, 1:39:26 PM12/7/05
to
"Ioannis" <morp...@olympus.mons> writes:

> Can it be done in Maple 9?

The usual way is to use command line maple. However, you can get the
same effect in the gui by first calling interface(prettyprint=1);

Joe

Axel Vogt

unread,
Dec 7, 2005, 2:26:44 PM12/7/05
to
Ioannis wrote:
>
> I've been using Maple V and 9 for some years now and often see posters in
> sci.math posting Maple results in pretty formatted fixed width font, with
> fraction notation, parens, etc, all correctly formatted.
>
> Is this is some feature of Maple I am not aware of?
>
> Should I assume that this is a "copy to clipboard" feature that I have not
> seen?
>
> Can it be done in Maple 9?

I just export it as text file.

Robert Israel

unread,
Dec 7, 2005, 2:55:51 PM12/7/05
to
In article <1133979883.791055@athnrd02>, Ioannis <morp...@olympus.mons> wrote:
>I've been using Maple V and 9 for some years now and often see posters in
>sci.math posting Maple results in pretty formatted fixed width font, with
>fraction notation, parens, etc, all correctly formatted.
>
>Is this is some feature of Maple I am not aware of?
>
>Should I assume that this is a "copy to clipboard" feature that I have not
>seen?
>
>Can it be done in Maple 9?

If you're using the Classic GUI under Windows, the trick is to select and
copy both input and output at the same time. For example, I just did that
and pasted into this terminal window:

> Int(x^2/3,x=a..b) = int(x^2/3,x=a..b);

b
/ 2 3 3
| x b a
| ---- dx = ---- - ----
| 3 9 9
/
a


If I only copy the output, it pastes as

Int(1/3*x^2,x = a .. b) = 1/9*b^3-1/9*a^3

In Standard GUI it turns out less nicely for me, with extra line breaks
that have to be deleted:

> Int(x^2/3,x=a..b) = int(x^2/3,x=a..b);

b

/

| 1 2 1 3 1 3

| - x dx = - b - - a

| 3 9 9

/ a


Robert Israel isr...@math.ubc.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada

Ioannis

unread,
Dec 7, 2005, 3:33:33 PM12/7/05
to
"Robert Israel" <isr...@math.ubc.ca> wrote in message
news:dn7eo7$r99$1...@nntp.itservices.ubc.ca...
[snip]

> If you're using the Classic GUI under Windows, the trick is to select and
> copy both input and output at the same time. For example, I just did that
> and pasted into this terminal window:
>
> > Int(x^2/3,x=a..b) = int(x^2/3,x=a..b);
>
> b
> / 2 3 3
> | x b a
> | ---- dx = ---- - ----
> | 3 9 9
> /
> a
>
>
> If I only copy the output, it pastes as
>
> Int(1/3*x^2,x = a .. b) = 1/9*b^3-1/9*a^3
>
> In Standard GUI it turns out less nicely for me, with extra line breaks
> that have to be deleted:
>
> > Int(x^2/3,x=a..b) = int(x^2/3,x=a..b);
>
> b
>
> /
>
> | 1 2 1 3 1 3
>
> | - x dx = - b - - a
>
> | 3 9 9
>
> / a
>

Thanks to all who replied. All answers mentioned worked all the way back to
Maple V, although the parentheses are not very nice with version V. On 9,
the parentheses look good.

Cheerio

> Robert Israel isr...@math.ubc.ca

Nasser Abbasi

unread,
Dec 7, 2005, 3:39:11 PM12/7/05
to

"Ioannis" <morp...@olympus.mons> wrote in message
news:1133979883.791055@athnrd02...

Are you talking about seeing this on an HTML pages or on the newsgroup
article itself?

As you know, you can convert Maple worksheet to HTML. I don't know
when this feature was added, I would think Maple 9 should have it, but
check your maple9 it should say that.

When I was doing something like this, and wanted to take only part of
the Maple worksheet and put it on an HTML page that included other
things, I could not just cut/paste that part of the worksheet with the
input statements and any output generated.

I had to cut/paste the input lines separately (the Maple commands),
and then the output, and move those to another software (scientific
word) and then from there export to HTML. This is an example HTML web
page with Maple example at the end of it done that way.

http://12000.org/my_notes/mma_matlab_control/e3/HTML/e3.htm

In addition, I found that I can not select all the lines generated as
output (result of Maple commands) in one time.

I have to actually cut/paste each output line (as an image)
separately.

When I select more than one line from the output, or all of the
output, and copy these as an image, only the first line gets copied.
very annoying.

You want another cut/paste problem/bug in Maple? When I select from
Maple classical worksheet and try to paste to a news article, most of
the time it does not copy over. sometimes it does, but most of the
time it does not work.

using maple 10 on windows.


Nasser

Alec Mihailovs

unread,
Dec 7, 2005, 5:24:42 PM12/7/05
to
"Nasser Abbasi" <n...@12000.org> wrote in message
news:PLHlf.32304$tV6....@newssvr27.news.prodigy.net...

>
> You want another cut/paste problem/bug in Maple? When I select from Maple
> classical worksheet and try to paste to a news article, most of the time
> it does not copy over. sometimes it does, but most of the time it does
> not work.

If you use Outlook Express, the right way of doing that is to select the
portion of the worksheet that has to be copied, then click Edit - Copy as
Maple Text. After that pasting works OK.

Alec


Nasser Abbasi

unread,
Dec 7, 2005, 5:42:46 PM12/7/05
to

"Alec Mihailovs" <al...@mihailovs.com> wrote in message
news:KiJlf.748$EE4...@news02.roc.ny...

thanks Alec, yes I use outlook express (can't find anything better yet
on windows), and yes I do what you suggest as well also, but many
times the text still does not get copied over. It seems it works first
few times, then it stops working.

I found that I get more success of pasting the text into a word
document. Then from the word document I copy/paste into outlook
express, then it works.

I think Maple does not like something about outlook express of outlook
express does not like something about Maple.

Nasser


Alec Mihailovs

unread,
Dec 7, 2005, 6:52:21 PM12/7/05
to

"Nasser Abbasi" <n...@12000.org> wrote in message
news:GzJlf.32332$tV6....@newssvr27.news.prodigy.net...

>
> thanks Alec, yes I use outlook express (can't find anything better yet on
> windows), and yes I do what you suggest as well also, but many times the
> text still does not get copied over. It seems it works first few times,
> then it stops working.

Sometimes it doesn't work if not the entire execution group is selected. For
the entirely selected execution groups that should always work for Maple
input and output. That doesn't work for text.

Sometimes I also use copying and pasting into the Notepad, and then copying
from there, but it is longer.

Alec


0 new messages