Junsong Li | 24 Feb 17:59 2015

[TeXmacs] writing math symbols in source mode

Hello there,

I am wondering Is there any better way to write math symbol in the source mode? Although I could use activate to preview the formula, I could not type in math symbols in the source mode. 

I normally just switch to generic mode, type all the math symbol I want, and then switch back to source mode, copy what I have typed into places. It requires to switch back and forth multiple times inefficiently if I get some bugs. Any suggestions? What is the typical way to write macros for math equations, especially to write math symbols(like calligraphy letters) in source mode?


Andrea Verdi | 17 Feb 15:50 2015

[TeXmacs] Help with page style and formatting

I'm using Texmacs for my thesis.
I'm using the "article" and I'm quite found of it style but I need some
-Page number always on the right of the header
-the header must contain only page number (now it has page number and the
section of that page).
-no footer
-double spacing

I also have a problem with images. Some are showed correctly on Texmacs but
when I print them they are cut. I tried reducing the size but the problem
persists (except with one images that managed to get printed correctly without
my intervention).

How can I do this?


Miguel de Benito Delgado | 19 Feb 11:29 2015

Re: [TeXmacs] Maxima session

This might be this bug:

You can either try the fix there or downgrade to Maxima 5.28, for which the plugin works as is.

Miguel de Benito.

On Sat Feb 14 2015 at 2:18:14 PM Alfonso Salinas Extremera <asalinas <at> ugr.es> wrote:
I'm trying to use TeXmacs as a frontal of Maxima, but I have the following message when I start a Maxima session:

; file: /Applications/TeXmacs-1.99.2.app/Contents/Resources/share/TeXmacs/plugins/maxima/lisp/texmacs-maxima.lisp
;           (MAXIMA::TEX MAXIMA::X '("d*i*s*p*l*a*y*s*t*y*l*e*");'("
;   ")
;                        'MAXIMA::MPAREN 'MAXIMA::MPAREN))
; ==>
;   (SB-C::%FUNCALL #:G2 (CAR #:G1))
;   The function was called with one argument, but wants exactly two.
; compilation unit finished
;   caught 1 STYLE-WARNING condition

Do you know where is the problem or where can I find information about that? I use TeXmacs-199.2, Maxima 5.30.0 in Mac OS X 10.6.8.
Thank you.

Alfonso Salinas
Grupo de Electrodinámica de Fenómenos Transitorios
Dpto. Electromagnetismo y Física de la Materia
Facultad de Ciencias. Universidad de Granada
Avda. de Fuentenueva s/n. E-18071 Granada (Spain)
Phone: +34958242312
URL: http://electrodinamica.ugr.es/~asalinas

Miguel de Benito Delgado | 19 Feb 11:44 2015

Re: [TeXmacs] Alt shortcut under linux

This is weird, I use the latest TeXmacs daily on an Ubuntu box and I don't have this problem. Might you have conflicts with system bindings? Also, do shortcuts work with another "look and feel"?


On Wed Feb 11 2015 at 10:49:42 PM marc lalaude-labayle <marc.lalaude <at> gmail.com> wrote:
I have to add that in fact none of the shortkeys (CTRL, ALT etc ...) seem to work.


2015-02-11 22:40 GMT+01:00 marc lalaude-labayle <marc.lalaude <at> gmail.com>:

i compiled texmacs on a newly installed ubuntu 14.10 OS in order to have the default indentation for python.

I have (at least) one problem : no alt key shortcuts, neither in the me,nus nor with the keyboard. Clearly, one of the good points to texmacs is the use of shortcuts.

Do you have any hints ? Here is what i get in a terminal whiole debugging

debug-keyboard, unrecognized key A-e. Undefined shortcut or key missing in the encoding files.



Miguel de Benito Delgado | 19 Feb 11:55 2015

Re: [TeXmacs] Sidebar on beamer presentations


  again these (cool!) features could be easily implemented and seem like a good exercise ;)

A couple of comments:

On Wed, Feb 11, 2015 at 10:33 AM, Peeter Tinits <peeter.tinits <at> gmail.com> wrote:
Is it possible to write the presentation first as document, and then change it to beamer format.
E.g. converting all (sub)sections into slides?

You'd want to write your document using the experimental style package "structured-section", since this would allow for easy extraction of the contents of each section.
Does the beamer format support headings higher than the level of the slide? E.g. a presentation can have its own title, then subsections, (subsubsections), then titles for each of the slides etc.

You can use the little wrench in the focus bar to edit the macro rendering the title of a slide. Here you can add more fields or whatever you need. Then you'd fill them with the titles of the (sub)sections you just retrieved.

Sorry, I don't have much time these days, but if you have any questions I'll be glad to help. If you are serious about implementing this stuff, let's open a task in the issue tracker at savannah.gnu.org

Miguel de  Benito.
Miguel de Benito Delgado | 19 Feb 11:49 2015

Re: [TeXmacs] Sidebar on beamer presentations

On Wed, Feb 11, 2015 at 10:04 AM, Peeter Tinits <peeter.tinits <at> gmail.com> wrote:
Is there an option to include such a sidebar easily in Texmacs too (I would imagine
as part of Beamer styles or as a feature for to be included on all slides)?

Currently no.

But it is of course quite straightforward to write your own style implementing this. You could add a table for each slide and use one column for the TOC. Then with a bit of scheme you can extract the titles from the slides and build it. You'd also want to add this functionality to Document->Update all.

Miguel de  Benito.
Miguel de Benito Delgado | 19 Feb 11:39 2015

Re: [TeXmacs] Main menu with right mouse button


  inside a scheme session in any document type the following:

(menu-bind texmacs-popup-menu
  (link texmacs-alternative-popup-menu))

If this is what you want, then add the code to your my-init-texmacs.scm to have it run upon startup.

Miguel de Benito.

On Sun Feb 08 2015 at 11:30:32 PM Pablo S. Casas <pabloscasas <at> gmail.com> wrote:
Hi TeXmacs users:

   I use TeXmacs-1.99.2 on Gentoo Linux. Up to version 1.99.1 the
right mouse button on any place in a document use to open the main
menu with all its options. With 1.99.2 version only the Focus part of
the main menu is shown. I haven't found anything in the manual about
this. So my question is:

   Can the whole main menu be obtained as in previous versions?

   Thanks so much for your help.
Miguel de Benito Delgado | 19 Feb 11:58 2015

Re: [TeXmacs] Phonetic characters in Texmacs ?

Out of the top of my head: I guess you'd need a font with support for these characters and the unicode values of the chars. Then you'd have to add these to some of the conversion tables of TeXmacs in langs/convert/.

There might some steps more to perform. But if you get it to work for one char then the rest is routine ;)


Miguel de  Benito.

On Thu, Feb 5, 2015 at 9:33 PM, Nicola Mingotti <nmingotti <at> gmail.com> wrote:

is there a way to insert phonetic characters in Texmacs ?

Here is an example of what i mean by phonetic characters:

Nicola Mingotti

Miguel de Benito Delgado | 19 Feb 12:00 2015

Re: [TeXmacs] [TeXMacs] Multiple columns for pages

It does not create a new colum. Instead the typesetter finds it best to distribute the content evenly among the columns, rather than first fill one, then the other. This can be a PITA but it's designed like that and has its advantages. I don't know of an easy way of changing the behaviour (but I've been known to be very wrong very often ;)


Miguel de  Benito.

On Fri, Jan 23, 2015 at 10:25 PM, Michael Kovarik <michaelkovarik <at> outlook.com> wrote:
I know that paragraphs support multiple columns via Format -> Paragraphs -> Number of Columns. However, pressing return in this environment does not create a new paragraph in the multcolumn environment. Instead it seems to create a new column. Is this feature intended? How would I make entire pages multicolumn?



Miguel de Benito Delgado | 19 Feb 12:05 2015

Re: [TeXmacs] Python session outputs "auto"


 can you try the new package

and see if this fixes your problem?


Miguel de  Benito.

On Fri, Dec 5, 2014 at 1:18 PM, chengsi.shang <chengsi.shang <at> qq.com> wrote:
I'm using Texmacs 1.99.2 in Windows 7, without Cygwin and Texmacs  isn't on C: Drive.
And the python session behaves oddly.
Why does the output becomes "auto"?
Similar behavior occurs when I try to copy and paste something into  Texmacs.
For example, copy the url from address bar and paste it into Texmacs(using  Ctrl-V or Edit->Paste), then it'll become "auto".
To launch the session, I've made a little change to "tm_python.bat" in  "TeXmacsFolder\plugins\python\bin". I think this is not what has caused the  problem.
my tm_python.bat :
<at> echo off
rem denis raux LIX 2013
rem windows launcher python interpreter with wrapper script
cd /d %~dp0
python "tm_python" %1 %2 %3 %4

Miguel de Benito Delgado | 19 Feb 12:09 2015

Re: [TeXmacs] Texmacs + Win7 x64 + Aspell +Spanish

Sorry, this email got lost in the mess of my inbox.

Are you still experiencing this problem?

Can you try again with the latest installer?

Have you actually set the document language to spanish? (Sorry for the stupid question but it works for me)


Miguel de  Benito.

On Tue, Sep 30, 2014 at 7:53 AM, Nicolas Hasbun <nhasbun <at> gmail.com> wrote:
El 29/09/2014 a las #4, Miguel de Benito Delgado escribió:

On Tue, Sep 9, 2014 at 2:45 AM, Nicolas Hasbun <nhasbun <at> gmail.com
<mailto:nhasbun <at> gmail.com>> wrote:

    My issue now is that aspell on texmacs is only working for english
    but my native language is Spanish. My document and software is on
    Spanish and I obv downloaded the setup file of Aspell for Spanish
    and I dont know how to say to texmacs/aspell to use Spanish other
    than indicate texmacs that my document is on spanish.

I don't understand. If you tell TeXmacs that your document is in
Spanish, correction works? Then, what's the problem?

If you want to specify certain subsections as being in a specific
language use the tag <language> (Insert->Language). I expect aspell will
be called with the right parameters for those text fragments.

Miguel de  Benito.

My document is in Spanish but Aspell runs and correct it in English xD.

PD: I have Aspell Spanish Packages installed.