bugGNU TeXmacs - Bugs: bug #56675, \center does not work as the last...


You are not allowed to post comments on this tracker with your current authentication level.

bug #56675: \center does not work as the last item with beamer style.

Submitted by:  EFanZh <efanzh>
Submitted on:  Fri 26 Jul 2019 05:41:56 AM UTC  
Category:  Editor Priority:  5 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  1.99.9 Release:  None
Fixed Release:  1.99.12 Fixed Release:  1.99.12

Wed 16 Oct 2019 05:12:25 PM UTC, comment #3: 

Ooops, commenting `notify-new-style` is not enough to fix the bug.

Turn on "texmacs->pdf:expand slides" will prevent it when exporting to PDF.

Just click Edit -> Preference -> Convert -> PDF -> Expand beamer slides to turn it on.

And there are some other problems when using the \center macro.

For example,


will not work.

Darcy Shen <sadhen>
Project Member
Wed 16 Oct 2019 04:55:10 PM UTC, comment #2: 

Using git-bisect, I found that this commit


is the root cause.

Commentting the `notify-new-style` in fold-menu.scm will fix the bug.

I looked into the code, but didn't find a nicer solution.

It seems for the last item, a `right-flush` will be automatically appended. And it will make `lazy_paragraph_rep::make_unit` exit early on the first if condition.

Darcy Shen <sadhen>
Project Member
Tue 15 Oct 2019 03:37:57 PM UTC, comment #1: 

Tests on macOS, 1.99.8 works fine, but 1.99.9 does not work fine.

Darcy Shen <sadhen>
Project Member
Fri 26 Jul 2019 05:41:56 AM UTC, original submission:  

Open the following document in TeXmacs:



      Not centered


I expected the text being centered, but instead the text is on the left side.

EFanZh <efanzh>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by sadhen (Posted a comment)
  • -email is unavailable- added by efanzh (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-10 sadhen Open/ClosedOpen => Closed
        Fixed ReleaseNone => 1.99.12
    2020-01-26 sadhen StatusReady For Test => Fixed
        Fixed Release2.1 => 1.99.12
    2019-10-17 sadhen StatusConfirmed => Ready For Test
        Fixed Release => 2.1
    2019-10-15 sadhen StatusNone => Confirmed
        Release => 1.99.9

    Back to the top

    Powered by Savane 3.5