On 4/6/25 4:37 PM, Enrico Forestieri wrote:
On Sun, Apr 06, 2025 at 11:39:01AM -0500, T Rex wrote:
Yes, I'll try that. What I'm asking more clearly is what is the LaTeX
equivalent of "integrate(x,x)"? My problem is related to the syntax that
lyx can recognize, I would just use "\int_0^{10} x\, dx" but it doesn't
work.
It should work, and indeed it works with lyx 2.3 but is apparently
broken in lyx 2.4.
This is the corresponding output on the terminal:
lyx 2.3
-------
use equation inset
use cell: [subsup [symbol int] [char 0 mathalpha] [char 1
mathalpha][char 0 mathalpha]][char x mathalpha][space 4] [char d
mathalpha][char x mathalpha]
checking expr: 'integrate( x , x ,0,10)'
calling: maxima
input: 'simpsum:true;tex(integrate( x , x ,0,10));'
output: '50'
lyx-2.4
-------
use equation inset
use cell: [subsup [macro int] [char 0 mathalpha] [char 1
mathalpha][char 0 mathalpha]][char x mathalpha][space 4] [char d
mathalpha][char x mathalpha]
checking expr: 'intop[0]^(10) x dx'
calling: maxima
input: 'simpsum:true;tex(intop[0]^(10) x dx);'
So, in 2.3 the integral sign is interpreted as [symbol int] but in 2.4
as [macro int] and that seems to make the difference.
I've forward this to Thibaut. I'll guess it has to do with some of his
changes.
Riki
--
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users