Re: After-preamble with polyglossia

2024-04-09 Thread Folsk Pratima
On Tue, 09 Apr 2024 08:01:03 +0200
"Jürgen Spitzmüller"  wrote:

> Am Dienstag, dem 09.04.2024 um 00:17 +0300 schrieb Folsk Pratima:
> > \addto\captions{%
> >   \renewcommand{\figurename}{I LOVE LYX}%
> > }
> > 
> > does not work after \begin{document} and there is no way to put it
> > after \usepackage{polyglossia}. I am enraged!  
> 
> \AtBeginDocument{
>   \addto\captions{%
> \renewcommand{\figurename}{I LOVE LYX}%
>   }
> }
> 

To be very honest I remembered the \AtBeginDocument thing when I cooled
down a bit it the bed :P

Thank you anyway.

Maybe this will be useful for somebody in some distant future...
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: After-preamble with polyglossia

2024-04-09 Thread Jürgen Spitzmüller
Am Dienstag, dem 09.04.2024 um 00:17 +0300 schrieb Folsk Pratima:
> \addto\captions{%
>   \renewcommand{\figurename}{I LOVE LYX}%
> }
> 
> does not work after \begin{document} and there is no way to put it
> after \usepackage{polyglossia}. I am enraged!

\AtBeginDocument{
  \addto\captions{%
\renewcommand{\figurename}{I LOVE LYX}%
  }
}

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


After-preamble with polyglossia

2024-04-08 Thread Folsk Pratima
\addto\captions{%
  \renewcommand{\figurename}{I LOVE LYX}%
}

does not work after \begin{document} and there is no way to put it
after \usepackage{polyglossia}. I am enraged!

LyX 2.3.7 (2023-01-01)

Should I compile whatever is the latest version to fix this? It feels
so dumb to handcraft a file with LyX to end up compiling it with
xelatex on command line, because LyX does not allow me to mess with
polyglossia!

Sorry if missed some info I am very angry and I want to sleep and I
still have not finished with my documents.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users