Re: How would LyX perform?
Às 11:39 de 27/12/21, Wolfgang Engelmann via lyx-users escreveu: Am 27.12.21 um 11:31 schrieb Wolfgang Engelmann via lyx-users: This has shocked me https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0115069 Would be interesting to see how LyX performs Wolfgang I had posted it also at tex-...@listserv.dfn.de and Hraban answered: (sorry, in German, English notes at ### Ich habe nur mal ein bisschen hineingelesen und sehe keinen Grund, mich näher damit zu befassen: * Es wird nur die Leistung bei kurzen Texten ### only short texts - tex strong in larger papers ### verglichen. Die Stärken von TeX liegen aber bei umfangreichen Arbeiten. Man hätte z.B. die Aufgabe stellen können, Änderungen in einer Dissertation vorzunehmen: Abschnitte verschieben, systematische Änderungen der Formatierung, Register erstellen... Wenn man die Expertise im Umgang mit einem Programm nicht nur in Stunden gemessen hätte, sondern auch den sinnvollen Einsatz der Möglichkeiten, hätten sich evtl. auch noch andere Gruppierungen ergeben – auch erfahrene Word-Benutzer verwenden z.B. selten konsequent Stilvorlagen. ### style importance### Zeichenstile für Hervorhebungen (wie sie z.B. in InDesign üblich sin d und in TeX als Makros) gibt es gar nicht... Es ist aber sehr leicht, Aufgaben zu konstruieren, die das eine oder andere System bevorzugen. Bei TeX kommt es auch noch auf den Editor an und wie mensch ihn auszunutzen weiß. * Das Paper ist schon von 2014. ### old paper! Lualatex ### Seitdem haben sich wohl auch die meisten LaTeX-Benutzer an LuaTeX mit Unicode und OpenType gewöhnt, so dass viele Codierungsprobleme entfallen (die hier allerdings keine große Rolle gespielt haben dürften). * Es wäre interessant gewesen, auch LibreOffice und ConTeXt einzubeziehen. Vielleicht auch noch Layoutprogramme wie InDesign, Affinity Publisher, Scribus... (Ist LibreOffice bei umfangreichen Arbeiten immer noch stabiler als Word?) Hraban Wolfgang Translated with www.DeepL.com/Translator (free version) I just read into it a bit and see no reason to look into it further: * It only compares performance in short texts *only short texts*. However, TeX's strengths are in large papers. For example, one could have set the task of making changes in a dissertation: Move sections, make systematic formatting changes, create indexesIf one had measured the expertise in using a program not only in hours, but also the sensible use of the possibilities, other groupings might have resulted - even experienced Word users rarely use style sheets consistently, for example. * *Style importance.* Character styles for highlighting (as they are common e.g. in InDesign and as macros in TeX) do not exist at all... But it is very easy to construct tasks that favor one system or another. With TeX it depends also still on the editor and how humans know to use it. * The paper is already from 2014. *old paper! Lualatex. *Since then, most LaTeX users have probably gotten used to LuaTeX with Unicode and OpenType, so that many coding problems no longer apply (although they may not have played a major role here). * It would have been interesting to include LibreOffice and ConTeXt as well. Maybe also layout programs like InDesign, Affinity Publisher, Scribus (Is LibreOffice still more stable than Word for extensive work?). Hraban -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fwd: Re: no modules availables
Às 16:23 de 15/08/20, Jose Ramom Flores das Seixas escreveu: Mensagem reencaminhada Assunto:Re: no modules availables Data: Sat, 15 Aug 2020 15:56:29 +0200 De: Jose Ramom Flores das Seixas Para: José Abílio Matos Às 23:37 de 14/08/20, José Abílio Matos escreveu: On Friday, 14 August 2020 16.28.22 WEST Jose Ramom Flores das Seixas wrote: > Hi: > > I take a long time without using LyX, but my package manager has been > updating lyx when new versions come out. Nowadays, I have installed version > 2.3.5.2 (OS: Ubuntu 18.04). > > Today I tried to edit a file, with lyxformat 544, but LyX tells me a module > is missing. Looking at the module dialogue I found that no module is > available. > > I've checked that the standard module files are in /usr/share/lyx/layouts, > and besides them I have some other modules in ~/.lyx/layouts. > > When I run LyX from a terminal I can notice the following error: > > UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 395: > invalid start byte support/Systemcall.cpp (276): Systemcall: 'python -tt > "/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"' finished with exit > code 1 > > LyX: Done! From experience this means that you have a old layout file or module that have an encoding that is not utf-8. In your case I assume that the culprit is either in latin1 or latin9 (the difference between those is the presence/absence of the euro sign). Also I thought that we had fixed all the remainder errors like this in 2.3.5.2 So my suggestion is to go to your personal lyx directory and check the encoding of file. By default in linux the location of the personal directory is ~/.lyx. You can see this in LyX using the menu: Help->About LyX->Version and see the User dir entry there. Using the shell in my case I have: $ cd ~/.lyx $ file bind/* bind/user.bind: ASCII text My suggestion is to check the layouts directory that could be the likely source of the problem: $ file layouts/* You got it right, as I had several old modules from Editorium <http://www.editorium.com/lyxconverter.htm> of type: Non-ISO extended-ASCII text, with CRLF line terminators I have converted them to UTF-8 Unicode text and now configure.py recognizes all the modules. On the other hand, executing *Reconfigure* inside LyX no longer gives an error message. However, it still does not recognize Inkscape, even though it is installed. So in the log file the following is listed: INFO: checking for a SVG -> PDFTeX converter...INFO: +checking for "inkscape"... no The problem with Inkscape was that I had installed it as a flatpak package. I've removed it and installed the deb package and now all seem OK. Cheers Ramom -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Fwd: Re: no modules availables
Mensagem reencaminhada Assunto:Re: no modules availables Data: Sat, 15 Aug 2020 15:56:29 +0200 De: Jose Ramom Flores das Seixas Para: José Abílio Matos Às 23:37 de 14/08/20, José Abílio Matos escreveu: On Friday, 14 August 2020 16.28.22 WEST Jose Ramom Flores das Seixas wrote: > Hi: > > I take a long time without using LyX, but my package manager has been > updating lyx when new versions come out. Nowadays, I have installed version > 2.3.5.2 (OS: Ubuntu 18.04). > > Today I tried to edit a file, with lyxformat 544, but LyX tells me a module > is missing. Looking at the module dialogue I found that no module is > available. > > I've checked that the standard module files are in /usr/share/lyx/layouts, > and besides them I have some other modules in ~/.lyx/layouts. > > When I run LyX from a terminal I can notice the following error: > > UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 395: > invalid start byte support/Systemcall.cpp (276): Systemcall: 'python -tt > "/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"' finished with exit > code 1 > > LyX: Done! From experience this means that you have a old layout file or module that have an encoding that is not utf-8. In your case I assume that the culprit is either in latin1 or latin9 (the difference between those is the presence/absence of the euro sign). Also I thought that we had fixed all the remainder errors like this in 2.3.5.2 So my suggestion is to go to your personal lyx directory and check the encoding of file. By default in linux the location of the personal directory is ~/.lyx. You can see this in LyX using the menu: Help->About LyX->Version and see the User dir entry there. Using the shell in my case I have: $ cd ~/.lyx $ file bind/* bind/user.bind: ASCII text My suggestion is to check the layouts directory that could be the likely source of the problem: $ file layouts/* You got it right, as I had several old modules from Editorium <http://www.editorium.com/lyxconverter.htm> of type: Non-ISO extended-ASCII text, with CRLF line terminators I have converted them to UTF-8 Unicode text and now configure.py recognizes all the modules. On the other hand, executing *Reconfigure* inside LyX no longer gives an error message. However, it still does not recognize Inkscape, even though it is installed. So in the log file the following is listed: INFO: checking for a SVG -> PDFTeX converter...INFO: +checking for "inkscape"... no Thanks you very much Ramom -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: no modules availables
Às 19:34 de 14/08/20, Paul A. Rubin escreveu: On 8/14/20 11:28 AM, Jose Ramom Flores das Seixas wrote: Hi: I take a long time without using /LyX/, but my package manager has been updating lyx when new versions come out. Nowadays, I have installed version 2.3.5.2 (OS: Ubuntu 18.04). Today I tried to edit a file, with lyxformat 544, but /LyX/ tells me a module is missing. Looking at the module dialogue I found that no module is available. I've checked that the standard module files are in /usr/share/lyx/layouts, and besides them I have some other modules in ~/.lyx/layouts. When I run /LyX/ from a terminal I can notice the following error: UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 395: invalid start byte support/Systemcall.cpp (276): Systemcall: 'python -tt "/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"' finished with exit code 1 LyX: Done! Finally, when executing *Reconfigure*, an error dialog appears with the following message: The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed. I've run *Reconfigure* several times, but the modules still don't appear.Any leads on what's not going well? Cheers Ramom It would be nice to know if the alleged non-UTF8 character is in configure.py or in some file it is trying to read. I've attached configure.py from my system (Linux Mint 19.3). You might start by comparing it to the one on your system (in /usr/share/lyx) using diff, meld or whatever tool you prefer. If there is a discrepancy, try reconfiguring using my copy. The files are identical. If there's no difference in the script files, I would suggest trying to run the configuration script directly in a terminal (python -tt "/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"). If you get the same error message, check ~/.lyx/configure.log to see if you can figure out where the error occurred, and maybe post the log here. Paul There was a problem checking the layouts in ".lyx/layouts", since the configure.log stops in the first module: INFO: layouts/LB--AllowRaggedBottoms.module Thanks very much, Ramom -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
no modules availables
Hi: I take a long time without using /LyX/, but my package manager has been updating lyx when new versions come out. Nowadays, I have installed version 2.3.5.2 (OS: Ubuntu 18.04). Today I tried to edit a file, with lyxformat 544, but /LyX/ tells me a module is missing. Looking at the module dialogue I found that no module is available. I've checked that the standard module files are in /usr/share/lyx/layouts, and besides them I have some other modules in ~/.lyx/layouts. When I run /LyX/ from a terminal I can notice the following error: UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 395: invalid start byte support/Systemcall.cpp (276): Systemcall: 'python -tt "/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"' finished with exit code 1 LyX: Done! Finally, when executing *Reconfigure*, an error dialog appears with the following message: The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed. I've run *Reconfigure* several times, but the modules still don't appear.Any leads on what's not going well? Cheers Ramom -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Displaying chapter authors in headers
Às 12:02 de 22/12/2018, Jose Ramom Flores das Seixas escreveu: I am sending a minimal not working example. Às 21:57 de 21/12/2018, Richard Kimberly Heck escreveu: On 12/21/18 8:17 AM, Jose Ramom Flores das Seixas wrote: Hi: I'm editing a book written by different authors, each chapter one or several authors. I would like to include the name of the authors of each chapter in the ToC, and *also in the headers*. To include the name of the chapter authors in the Toc, I have follow a method explained in StackExchange: https://tex.stackexchange.com/questions/156862/displaying-author-for-each-chapter-in-book?newreg=cc7bd951630649d0af0686b5a3446973 I tried to expand the method, including the following code in the Latex Preamble, but it doesn't work. Any idea of how to include the authors of the chapters in the TOC and in the header? There are so many things that could be going wrong. I'd suggest creating a simple test document that includes this code and tries to do what you want to do. Then we can maybe diagnose the problem. Riki I have obtained an answer in tex.stackechange.com. In case anyone is interested, the solution is as follows: \newcommand\thechapterauthor[1]{} \newcommand\chapterauthor[1]{\authortoc{#1}\printchapterauthor{#1}} \makeatletter \newcommand{\printchapterauthor}[1]{% {\parindent0pt\vspace*{-25pt}% \linespread{1.1}\large\scshape#1% \par\nobreak\vspace*{35pt}} \@afterheading% } \newcommand{\authortoc}[1]{% \addtocontents{toc}{\vskip-10pt}% \addtocontents{toc}{% \protect\contentsline{chapter}% {\hskip1.3em\mdseries\scshape\protect\scriptsize#1}{}{}} \addtocontents{toc}{\vskip5pt}% } \makeatother \fancyhf{} \fancyhead[LE,RO]{\thepage} \fancyhead[LO]{\textbf{\leftmark}} \fancyhead[RE]{\thechapterauthor}
Re: Displaying chapter authors in headers
I am sending a minimal not working example. Às 21:57 de 21/12/2018, Richard Kimberly Heck escreveu: On 12/21/18 8:17 AM, Jose Ramom Flores das Seixas wrote: Hi: I'm editing a book written by different authors, each chapter one or several authors. I would like to include the name of the authors of each chapter in the ToC, and *also in the headers*. To include the name of the chapter authors in the Toc, I have follow a method explained in StackExchange: https://tex.stackexchange.com/questions/156862/displaying-author-for-each-chapter-in-book?newreg=cc7bd951630649d0af0686b5a3446973 I tried to expand the method, including the following code in the Latex Preamble, but it doesn't work. Any idea of how to include the authors of the chapters in the TOC and in the header? There are so many things that could be going wrong. I'd suggest creating a simple test document that includes this code and tries to do what you want to do. Then we can maybe diagnose the problem. Riki test_chapter_author.lyx Description: application/lyx
Displaying chapter authors in headers
Hi: I'm editing a book written by different authors, each chapter one or several authors. I would like to include the name of the authors of each chapter in the ToC, and *also in the headers*. To include the name of the chapter authors in the Toc, I have follow a method explained in StackExchange: https://tex.stackexchange.com/questions/156862/displaying-author-for-each-chapter-in-book?newreg=cc7bd951630649d0af0686b5a3446973 I tried to expand the method, including the following code in the Latex Preamble, but it doesn't work. Any idea of how to include the authors of the chapters in the TOC and in the header? \newcommand\chapterauthor[1]{\authortoc{#1}\printchapterauthor{#1}\thechapterauthor{#1}} \makeatletter \newcommand{\printchapterauthor}[1]{% {\parindent0pt\vspace*{-25pt}% \linespread{1.1}\large\scshape#1% \par\nobreak\vspace*{35pt}} \@afterheading% } \newcommand{\authortoc}[1]{% \addtocontents{toc}{\vskip-10pt}% \addtocontents{toc}{% \protect\contentsline{chapter}% {\hskip1.3em\mdseries\scshape\protect\scriptsize#1}{}{}} \addtocontents{toc}{\vskip5pt}% } \newcommand{\thechapterauthor}[1]{\textit#1} \makeatother \fancyhf{} \fancyhead[LE,RO]{\thepage} \fancyhead[LO]{\textbf{\leftmark}} \fancyhead[RE]{\thechapterauthor}