Joris van der Hoeven | 2 Nov 2009 15:37

Re: [TeXmacs] pstricks, again

Hi,

On Tue, Oct 27, 2009 at 08:22:32PM -0700, Juan Carlos Bustamante wrote:
> Hi all, 
> 
> I'm a TeXmacs fan, although I cannot really do everything I can do with LaTeX, at least, not yet. 
> 
> In the next weeks I will give a short course to high-school teachers of mathematics. I will show them
GeoGebra, and I also want to show them TeXmacs (I assume their skills with computers are not very high, so I
forget LaTeX or Lyx). Usually, when I make pictures with GeoGebra i export the pstricks code, the compile
it using Kile, or something else, in order to get a high quality picture, then include it within a TeXmacs
document. However, I want to avoid passing through LaTeX with them. I've already asked if someone knows
how to use the pstricks code produced by GeoGebra to insert a picture in TeXmacs... I was not lucky last
time, but I feel lucky today... 
> 
> I'm using TeXmacs 1.0.6.15 under ubuntu 9.04, I can use TeXmacs to make maxima sessions without any
problem (however xymatrix does not work). 
> 
> Thank you, 
> 
> JC 
> 
> please, I'm not a computer scientist, so give me a reasonable amount of details in your answers, if there
are some. 

Pstricks is really a LaTeX package, so we do not have any direct support for it.
The simplest solution remains to create a postscript image and to include it
into your TeXmacs document.

Best wishes, --Joris
(Continue reading)

bytecolor | 4 Nov 2009 08:05
Picon
Favicon

[TeXmacs] strike out an expression

Is there a way to strike out selected text?

Like if I am in math mode, reducing a rational expression

(x-3)(y+4)
----------
  3(x-3)

I'd like to strike out the (x-3) in the numerator and denominator. A slash would be best instead of a
horizontal line like <strike></strike>.

--

-- 
bytecolor (S. Edward Dolan)

Picon
Favicon

[TeXmacs] Multilanguage documents on TeXmacs

Hi,

I have asked this question before. The answers have been from the 
programing point, but for the moment I have no time for that approach so 
I have tried a more craftsman's approach putting just the English 
paragraph after the Spanish one. This is the result:

http://dl.getdropbox.com/u/394620/U/Maestria/Educacion/Tesis/EscritoTesis/articuloTesisMaestria-es-en.pdf
http://dl.getdropbox.com/u/394620/U/Maestria/Educacion/Tesis/EscritoTesis/articuloTesisMaestria-es-en.tm

As you see, having this arrangements seems difficult to read, so I 
thought in a more easy one. To put the paragraph and its translation in 
different columns one in front of the other. Is this possible on 
TeXmacs? I recently remember to read someone who post a similar 
questions (and answered himself but I can not find it). Any pointer to 
the solution will be welcomed.

Thanks

Offray

Michael Lachmann | 6 Nov 2009 16:25
Picon

[TeXmacs] session on a remote host

Hi,

There is a hidden feature of the R session that allows a user to log
to a remote host to execute the R session there. I use it quite a lot,
because my local machine is sometimes not strong enough, so I can ssh
to another machine, and run R there.

The way it works, though in the current version it seems a bit broken,
is that you set two environment variables:
TEXMACS_CMD and TEXMACS_SEND

TEXMACS_CMD you set to a command to execute instead of R. For example /bin/tcsh
TEXMACS_SEND you set to a string to send to that command, instead of
the load library command, for example "".
Then you have a shell prompt, you ssh to the remote machine, and then
run R. You still have to load the TeXmacs library on the remote
machine, so you should install it there. And, it is important that you
can log in without a password prompt, because that is not handled.

Quite a complicated procedure...
It has to be a bit flexible, because sometimes you'll have to log to a
gateway and then from there log to the computer you want, or some
such.

Anyway, it would probably be good if one could tell TeXmacs from
within the program which type of session you want - R or shell.
Possibly other session types also benefit from accessing a remote
server.

The question is how to do that best? One could easily have two
(Continue reading)

Michael Lachmann | 6 Nov 2009 16:29
Picon

Re: [TeXmacs] f(x)=&&& if x<0 and §§§ if 0<x<2 and ...

I think my previous reply didn't make it. Here it is again.....

To make the alt key work on my Mac, I have a file called ~/.Xmodmap
containing the following:
clear Mod1
clear Mod2
keycode 63 = Mode_switch
keycode 66 = Meta_L
add Mod1 = Meta_L
add Mod2 = Mode_switch

then, if you call:
xmodmap ~/.Xmodmap
(I`m sure there is some way to have that done automatically when X11
starts...), alt keys work again on TeXmacs.

Michael

On 05/10/2009, El.douwen <el.douwen <at> gmail.com> wrote:
> ok thank you very much
> alt+right dont work on my mac os X, like a lot of other shortcuts
> but by clicking on the right icone it is ok, i should have noticed
> that the "choices" work like the "tables"...
> Vincent
>
> Le 4 oct. 09 à 19:21, Pablo Angulo a écrit :
>
>> Once you're inside the choice environment, you can create extra
>> columns
>> with Alt+right.
(Continue reading)

El.douwen | 7 Nov 2009 12:15
Picon

[TeXmacs] simple question about inserting images

hi

i have inserted a centered block and an image on the same line
the image is higher than the block and i would like to center it  
vertically
i cant find in the format menu nor in the manuals what is the method  
to do this...

i have this

        bbb
        bbb
ii     bbb
ii     bbb

i would like to have this

        bbb
ii     bbb
ii     bbb
        bbb

Vincent

El.douwen | 7 Nov 2009 12:29

customize mod keys under mac os X [was: f(x)=&&& if x<0 and §§§ if 0<x<2 and ...]

ok thank you very much
now, each time i launch texmacs, i open a new windows in the mac os X temrinal, i type modmap ~/.Xmodmap and then the key alt works

- could you lighten me about the instructions you have writed ?
are keycode 63 and keycode 66 the alt and apple keys ?
- what are the numbers of ctrl key, shift key... i mean if i want to customize this
- do we agree that the "customize mod keys" menu of Texmacs does not work under mac os X ? your proposition replace this bugging menu, doesn't it ?
- does anyone know any mean to make this automatic at x11 opening ?
- would it be possible to make an upgrade of Texmacs, with a "customize mod keys" menu that would work properly under mac os X ?

indeed, thank you very much Michael, it is fine, to have the shortcuts...

Vincent


Am 6 nov. 09 um 16:29 schrieb Michael Lachmann:


o make the alt key work on my Mac, I have a file called ~/.Xmodmap
containing the following:
clear Mod1
clear Mod2
keycode 63 = Mode_switch
keycode 66 = Meta_L
add Mod1 = Meta_L
add Mod2 = Mode_switch

then, if you call:
xmodmap ~/.Xmodmap
(I`m sure there is some way to have that done automatically when X11
starts...), alt keys work again on TeXmacs.

Le monde semble sombre quand on a les yeux fermés.

Proverbe indien

loic MAZO | 7 Nov 2009 12:47
Favicon

Re: [TeXmacs] simple question about inserting images

El.douwen a écrit :

hi

i have inserted a centered block and an image on the same line
the image is higher than the block and i would like to center it vertically
i cant find in the format menu nor in the manuals what is the method to do this...


Insert a table and then your block in the cell(1,1) of the table and your image in the cell (1,2). Then, modify cell alignment.

Loic



Joachim | 7 Nov 2009 16:05

[TeXmacs] newby: margin/sidenotes - if & how?

Dagh, TexMacs,

I'm new on this list and not (yet?) user of TeXMacs. Good a year ago, for producing and typesetting handouts and literature presentation, I changed from Office to LaTeX with LyX as editor and helping cap. I'm quite good with it, though I had to learn and try much. The decident reason for this wand to LaTeX & Co. had been the possibility to make many, many helping 

sidenotes (i. e. footnotes as margin notes in the tufte doc classes), 

wellformed and comfortably, in old language's texts to present them, also for teaching goals. On the TeXMacs' website I didn't find this kind of insets mentioned, only the word "footnotes…". 

So, before I seriously consider to install and test-out TeXMacs, I would like to know, wether it has this inset-possibility - number-linked sidenotes -, too, and if yes, wether it can be done there with ease (via menu or keyboard shortcut) as well.

To make it unmistakable:

I mean numbered (little) annotations like footnotes, but put in the margin. I can't make without.

Salut & Goutgaun! joachim
--
MacBook Pro OSX 10.4.11 Tiger - MacPorts 1.7
MacTeXLive 2008 - TeXShop 2.18-svn - TeXmakerX 1.8 svn - LyX 1.6.4
Browser: Safari & Opera 10.0 (auch als Newsreader)




marc lalaude-labayle | 7 Nov 2009 16:50
Picon

Re: [TeXmacs] newby: margin/sidenotes - if & how?

Hi,

i asked exactly the same question some time ago. And the response was
clear : this feature is not yet implemented.

I indeed do consider that it is really more helpfull for teaching notes
than footnotes.

ML

Le samedi 07 novembre 2009 à 16:05 +0100, Joachim a écrit :
> Dagh, TexMacs,
> 
> 
> I'm new on this list and not (yet?) user of TeXMacs. Good a year ago,
> for producing and typesetting handouts and literature presentation, I
> changed from Office to LaTeX with LyX as editor and helping cap. I'm
> quite good with it, though I had to learn and try much. The decident
> reason for this wand to LaTeX & Co. had been the possibility to make
> many, many helping 
> 
> 
> sidenotes (i. e. footnotes as margin notes in the tufte doc classes), 
> 
> 
> wellformed and comfortably, in old language's texts to present them,
> also for teaching goals. On the TeXMacs' website I didn't find this
> kind of insets mentioned, only the word "footnotes…". 
> 
> 
> So, before I seriously consider to install and test-out TeXMacs, I
> would like to know, wether it has this inset-possibility -
> number-linked sidenotes -, too, and if yes, wether it can be done
> there with ease (via menu or keyboard shortcut) as well.
> 
> 
> To make it unmistakable:
> 
> 
> I mean numbered (little) annotations like footnotes, but put in the
> margin. I can't make without.
> 
> 
> Salut & Goutgaun! joachim
> --
> MacBook Pro OSX 10.4.11 Tiger - MacPorts 1.7
> MacTeXLive 2008 - TeXShop 2.18-svn - TeXmakerX 1.8 svn - LyX 1.6.4
> Browser: Safari & Opera 10.0 (auch als Newsreader)
> 
> 
> 
> 
> 
> 


Gmane