Victor Porton | 22 Jul 00:36 2014
Picon

[TeXmacs] Bug when opening multiple windows

Miguel de Benito Delgado<m.debenito.d <at> gmail.com>22 jul. at 00:52
Victor Porton<porton <at> narod.ru>21 jul. at 10:18 PM
TeXmacs 1.0.7.18 on Debian Linux "testing".
Current stable version is 1.99.2. 
I am not sure whether I am able to do work on my book due this TeXmacs bug. Maybe I should switch to an other project (which does not use TeXmacs) until this bug is fixed. :-(
That's always an option to keep in mind, yes.
This bug persists with 1.99.2.
 
--
Victor Porton - http://portonvictor.org
Victor Porton | 21 Jul 22:18 2014
Picon

[TeXmacs] Bug when opening multiple windows

When I open two windows with the same file, using "View"/"Clone window", the star in the title denoting that
the file was modified behaves in a strange way.

Sometimes I have the left window with star and the right one without star, sometimes reversely. When I press
Ctrl+Z it makes the current window without a star as it should be, but at the same time it switches star on in
the second window (one is corrected, the other is made wrong by a single Ctrl+Z in one of the two windows).

TeXmacs 1.0.7.18 on Debian Linux "testing".

I am not sure whether I am able to do work on my book due this TeXmacs bug. Maybe I should switch to an other
project (which does not use TeXmacs) until this bug is fixed. :-(

--
Victor Porton - http://portonvictor.org

Miguel de Benito Delgado | 20 Jul 23:11 2014
Picon

Re: [TeXmacs] TexMacs crashes while starting up (Mac os x)

Hi Enrico,

  I don't know what I was thinking... I meant a zip with the contents of the folder, of course. Sorry!

Cheers,
--
Miguel de  Benito.


On Sat, Jul 19, 2014 at 1:48 PM, Enrico Guarnera <enrico.guarnera <at> gmail.com> wrote:
Hi Benito,

here's the listing after step 3:

a .TeXmacs

a .TeXmacs/bin

a .TeXmacs/doc

a .TeXmacs/fonts

a .TeXmacs/langs

a .TeXmacs/misc

a .TeXmacs/packages

a .TeXmacs/plugins

a .TeXmacs/progs

a .TeXmacs/server

a .TeXmacs/styles

a .TeXmacs/system

a .TeXmacs/texts

a .TeXmacs/texts/scratch

a .TeXmacs/system/bib

a .TeXmacs/system/cache

a .TeXmacs/system/interactive.scm

a .TeXmacs/system/preferences.scm

a .TeXmacs/system/settings.scm

a .TeXmacs/system/tmp

a .TeXmacs/system/tmp/63986

a .TeXmacs/system/tmp/63986/tmp_477522817

a .TeXmacs/system/cache/__generic__

a .TeXmacs/system/cache/__tmdoc__english__

a .TeXmacs/system/cache/dir_cache.scm

a .TeXmacs/system/cache/doc_cache

a .TeXmacs/system/cache/file_cache

a .TeXmacs/system/cache/font_cache.scm

a .TeXmacs/system/cache/plugin_cache.scm

a .TeXmacs/system/cache/stat_cache.scm

a .TeXmacs/system/cache/validate_cache.scm

a .TeXmacs/misc/patterns

a .TeXmacs/misc/pixmaps

a .TeXmacs/langs/mathematical

a .TeXmacs/langs/natural

a .TeXmacs/langs/programming

a .TeXmacs/langs/natural/dic

a .TeXmacs/langs/natural/hyphen

a .TeXmacs/langs/mathematical/syntax

a .TeXmacs/fonts/enc

a .TeXmacs/fonts/error

a .TeXmacs/fonts/pk

a .TeXmacs/fonts/tfm

a .TeXmacs/fonts/truetype

a .TeXmacs/fonts/type1

a .TeXmacs/fonts/unpacked

a .TeXmacs/fonts/virtual

a .TeXmacs/doc/about

a .TeXmacs/doc/about/changes



best,
Enrico


On Sat, Jul 19, 2014 at 6:31 PM, Miguel de Benito Delgado <m.debenito.d <at> gmail.com> wrote:
Hi Enrico,

   please post a listing of your .TeXmacs folder after step 3. This url_* crazyness rings a bell or two...

Best,

--
Miguel de  Benito.


On Thu, Jul 17, 2014 at 12:01 PM, Enrico Guarnera <enrico.guarnera <at> gmail.com> wrote:

Hi François,

My problem is this sequence of events

1 I start TeXmacs, it crashes;
2 I delete ~/.TeXmacs dir
3 TeXmacs start smoothly, I close it;
4 if I reopen TeXmacs it crashes again
5 goto line 1 etc.

I do not understand what it going on…

Best,
Enrico

On Jul 17, 2014, at 17:16, François Poulain <fpoulain <at> metrodore.fr> wrote:

> Le Thu, 17 Jul 2014 15:54:53 +0800,
> Enrico Guarnera <enrico.guarnera <at> gmail.com> a écrit :
>
>> The apple crash report is attached.
>
> Thank you. However, I don't know what is your problem.
>
> Whereis is your ~/.TeXmacs directory? Has it been completely removed?
>
> François
>
> --
> François Poulain <fpoulain <at> metrodore.fr>


--
Miguel de  Benito.


On Thu, Jul 17, 2014 at 12:01 PM, Enrico Guarnera <enrico.guarnera <at> gmail.com> wrote:
Hi François,

My problem is this sequence of events

1 I start TeXmacs, it crashes;
2 I delete ~/.TeXmacs dir
3 TeXmacs start smoothly, I close it;
4 if I reopen TeXmacs it crashes again
5 goto line 1 etc.

I do not understand what it going on…

Best,
Enrico

On Jul 17, 2014, at 17:16, François Poulain <fpoulain <at> metrodore.fr> wrote:

> Le Thu, 17 Jul 2014 15:54:53 +0800,
> Enrico Guarnera <enrico.guarnera <at> gmail.com> a écrit :
>
>> The apple crash report is attached.
>
> Thank you. However, I don't know what is your problem.
>
> Whereis is your ~/.TeXmacs directory? Has it been completely removed?
>
> François
>
> --
> François Poulain <fpoulain <at> metrodore.fr>




Adrian S. | 19 Jul 22:24 2014
Picon

[TeXmacs] Keyboard layout for static qt

Hi everyone. I tried the static qt version for linux in my ubuntu 14.04 system as well as in sage-live-usb, and TeXmacs does not work properly with the layout us intnl. I filed a bug report http://savannah.gnu.org/bugs/?42753

Does anyone know of a workaround?

I am teaching several courses if differential equations next semester and wanted to distribute them the usb with sage live usb, all the software that it contains, some worksheets for sage as well as some documents in TeXmacs to interact with the programs.

The x version shows images, like those in the welcoming screen, as black boxes. The qt version is great, except that they all will want other-than-English layouts.

The keyboard is set to 
us-international with dead keys. 

I tried debugging tools within TeXmacs and the static Binary: 
TeXmacs-1.99.2-i386-pc-linux-gnu-B.tar.gz, which uncompresses into
TeXmacs-1.99.2-8683M-i386-pc-linux-gnu 
and was downloaded from 
http://ftp.texmacs.org/TeXmacs/tmftp/generic/ 

**When typing: 
 ' a 
**I expected: 
á 
**It output: 
á 
**The terminal output: 
TeXmacs] debug-keyboard, Pressed � at 26026 
TeXmacs] debug-keyboard, � -> � -> � 

Warning messages in the console at startup: 
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed 
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed 

Any help will be welcomed.

Other issues I noticed:
The static qt version works fine keyboard-wise in Puppy Linux (slacko puppy 5.7.0), and does not show these problems However, it cannot show the 'select document dialog' in puppy linux, and crashes. It did not complain about QiconvCodec at all. Perhaps the issue is having coliding libraries of Qt, since slacko does not port any, I think, whereas ubuntu and sage live do.

In slacko puppy 5.7.0, the static x version 1.99.1, it does not recognize the dead keys. With the keybiard debugging tool the program notices that <acute> was pressed, but complained that it was an undefined shortcut or a key missing in the encoding files.

School starts in two weeks, so it would be great to have a workaround for this problem.

It is a wonderful piece of software, and it is getting better and better.

-Adrian.

Miguel de Benito Delgado | 19 Jul 12:37 2014
Picon

Re: [TeXmacs] Macro not handling big operators

Hi,

  (reposting to the list)

On Fri, Jul 18, 2014 at 1:24 PM, Alexandre Dezotti <dezotti.alexandre <at> gmail.com> wrote:
* The keyboard works just fine until I insert script above/bellow
through the menu, I can see in source mode that the below/above
commands are inserted in the source text.

* The shortcuts displayed in the menu are Alt+B for bellow, and Alt+A for above.

*
$ uname -r
3.15.5-1-ARCH
$ gnome-shell --version
GNOME Shell 3.12.2
$ texmacs --version
TeXmacs version 1.0.7.21
(c) 1999-2013 by Joris van der Hoeven and others

I have just learned this version of Texmacs was 1 year old, though it
is still the official version for my distribution.
I have also tried to get the source from the web and compile it, but
it failed. I have probably to set up Qt correctly, which I don't have
time to do this.

Compilation should work out of the box. You only need to be sure that the version of guile you have is 1.8 and NOT 2.0 

 * I see xmodmap is used to translate keyboard inputs, maybe it could
work. If I understand well, it would require to type differently than
what is expected and displayed on the actual keyboard. I feel it is a
bit overkill for this. My solution will be to wait for a new release
from Archlinux.
 
Have you tried the static binaries?


or if you have an older glibc:


--
Miguel de  Benito.
2014-07-18 12:49 GMT+02:00 Miguel de Benito Delgado <m.debenito.d <at> gmail.com>:
> Hi,
>
> * The scripts above/below *do* work, but then you have problems with the
> keyboard, right?
> * What's the shortcut displayed next to Script->script above/below?
> * What is your TeXmacs version and system?
> * If you are running Linux, couldn't you use Xmodmap to avoid this conflict?
>
> Best,
>
> --
> Miguel de  Benito.
>
>
> On Fri, Jul 18, 2014 at 9:45 AM, Alexandre Dezotti
> <dezotti.alexandre <at> gmail.com> wrote:
>>
>> Hi,
>>
>> Thank you for your answer. Unfortunately, this does not work.
>> When I use Insert->script->script bellow (or above), and then stroke
>> "\" it produces a lower script. It does this every time I stroke
>> backslash in any mathematical context. Thus I cannot enter command any
>> more.
>> In normal context (text) the backlash is interpreted as "_". This is
>> probably related to the fact that backslash, on my keyboard is
>> produced by hitting "alt gr" and "_" as the same time.
>> I have to restart texmacs to have normal behaviour again.
>>
>> Best regards,
>> Alexandre.
>>
>> 2014-07-17 17:41 GMT+02:00 Miguel de Benito Delgado
>> <m.debenito.d <at> gmail.com>:
>> > On Thu, Jul 17, 2014 at 2:03 PM, Alexandre Dezotti
>> > <dezotti.alexandre <at> gmail.com> wrote:
>> >>
>> >> The subscript and superscript won't go under and above the symbol.
>> >>
>> >> Is there a way to make this work?
>> >
>> >
>> > I don't know, but there has to be since superscripts for some symbols
>> > are
>> > interpreted as "script above".
>> >
>> > In any case, this motivates the workaround, which should provide
>> > reasonably
>> > good results in your case (union/intersection/etc), of using
>> > Insert->Script->Script above (or the corresponding shortcut, ctrl+A in
>> > my
>> > setup).
>> >
>> > Best,
>> > --
>> > Miguel de  Benito.
>> >
>
>

Sam Liddicott | 17 Jul 18:16 2014

Re: [TeXmacs] lined paragraph

datoms can almost do it with a cell but the height is never quite enough, see attached.

if you want top, bottom or right lines you also need to insert something to stretch the box.

I used to do what you ask with datoms and with a <graphics> somehow, making the vertical lines overlap but I don't remember how I did that now. The overlap looked visible (which it shouldn't have) so I stopped using it.

I may be able to find it later for you

Sam




On Wed, Jul 16, 2014 at 4:52 PM, Julien Frontisi <julien.frontisi <at> free.fr> wrote:
Hi to all,
I would like to border some of the paragraphs in a document with a vertical line so I tried with a table. 
But apparently there is no page break possible inside a table. This is the code I wrote :

What is the best way to make page breaks work inside such lined paragraphs ?
Thanks and have a pleasant summer.
Julien


Attachment (atoms.tm): text/x-texmacs, 2026 bytes
Miguel de Benito Delgado | 17 Jul 17:36 2014
Picon

Re: [TeXmacs] lined paragraph

Hi,

 AFAIK it's not possible to have a page break at a table. I was going to suggest using ornaments but then I saw that they don't support setting just one border (though this would be quite easy to implement). Also, I just checked and they don't do pagebreaks either :(

  So I can't really think of a solution other than creating the tables yourself each time you want this line. This sucks, yes...

PS: don't you need to set the width of the table to exact in order to have proper line breaking?

--
Miguel de  Benito.


On Wed, Jul 16, 2014 at 5:52 PM, Julien Frontisi <julien.frontisi <at> free.fr> wrote:
Hi to all,
I would like to border some of the paragraphs in a document with a vertical line so I tried with a table. 
But apparently there is no page break possible inside a table. This is the code I wrote :

What is the best way to make page breaks work inside such lined paragraphs ?
Thanks and have a pleasant summer.
Julien


Alexandre Dezotti | 17 Jul 14:03 2014
Picon

[TeXmacs] Macro not handling big operators

Dear all,

Thank you for being patient with me...
Here is my problem: i would like to use an alias for big operators
such as the <big|cap>. What I do does not seem to work.

Here is what I try to do:
-Create a new file
-Set the document style to "source"
-Create a new macro using a "big operator" such as
<assign|union|<big|cap>> or <assign|union|<macro|<big|cap>>>
-Go back to the "generic" style
-Insert an equation
-use the new macro inside the equation
-add subscripts and superscripts
The subscript and superscript won't go under and above the symbol.

Is there a way to make this work?

Enrico Guarnera | 17 Jul 06:18 2014
Picon

[TeXmacs] TexMacs crashes while starting up (Mac os x)

Hi there,

I’m having a problem with my 1.99.1 on mac osx mavericks. For some strange reason all of the sudden it
crashes on starting up. At first I thought there was a problem in .Texmacs/cache… in fact by deleting
.Texmacs folder the program starts up ok but, once you close it again it crashes again when restarted… 

Don’t know what’s going on here, any hint? 

Best,
Enrico
Miguel de Benito Delgado | 16 Jul 15:24 2014
Picon

Re: [TeXmacs] Problem inserting sub figure

Hi,

On Wed, Jul 16, 2014 at 2:39 PM, zhaoyunsong <zhao_yunsong <at> 163.com> wrote:
> Thank you very much!
> Is it possible to set different fonts for English and Chinese character?

You can always change the font for a text fragment. Just go to Format->Font...

Better yet, you could tweak the language tag <\english> (assuming your document is mainly written in chinese and that's the language you set for it). For this you can redefine the macro:

* Click on Insert->Language->English
* Click on the little wrench in the focus bar, select Edit macro...
* Select "source" in the combobox at the bottom left.
* Click on the word "english" to place the cursor on it.
* Add a new argument to the "with" tag. You can do this with Alt+right or Ctrl+right, depending on your configuration.
* Two blanks appear: in the first type "font" (no quotes), in the second the name of your font. The first should be green.
* Important: Hit enter to activate the tag.

After clicking "Apply", this will insert something similar to the following in the preamble of your document:

<assign|english|<macro|body|<with|language|chinese|font|SOMEFONT|<arg|body>>>>

You can verify this with Document->Part->Show preamble
You can see your document again with Document->Part->Show all parts

Of course you can just use Paste from...->TeXmacs with the code above and skip those steps.

Now use this tag every time you insert some english text. This has the added bonus that you have semantic information. For instance, the spell-checker might (I haven't checked) use the proper language at each place. If it doesn't it should and you could open a ticket for it.

You'll probably want to add a shortcut to insert the macro. In your my-init-texmacs.scm add

(kbd-map
  ("C-e" (make (string->symbol "english"))))

Typing Ctrl+e will now insert an <\english> tag.

I don't know if there's some other method, maybe one of our other chinese users knows?

Best,
--
Miguel de  Benito.

At 2014-07-16 08:12:37, "Miguel de Benito Delgado" <m.debenito.d <at> gmail.com> wrote:

User lorenzo submitted a package to do that, but I have yet to commit the code.

You can find it here: https://savannah.gnu.org/patch/?7777

On Tue, Jul 15, 2014 at 7:01 PM, zhaoyunsong <zhao_yunsong <at> 163.com> wrote:
>
> Hi,
> How can I insert sub figure?  when I try to use "Insert->Image->Small figure", I find that small figure shares the same number variable with big figure and figure text. Thanks!
zhaoyunsong | 15 Jul 19:01 2014

[TeXmacs] Problem inserting sub figure

Hi, 
How can I insert sub figure?  when I try to use "Insert->Image->Small figure", I find that small figure shares the same number variable with big figure and figure text. Thanks!





Gmane