Re: I FUBAR'd preamble: no page numbers or footer text [FIXED]

2024-03-08 Thread Rich Shepard

On Fri, 8 Mar 2024, Kornel Benko wrote:


Give it more space at the bottom. Selecting 1in (instead of 0.5in) cures it 
here.


Kornel,

How interesting. It works here, too. Without the separating lines, but
that's okay.

Thanks very much,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: I FUBAR'd preamble: no page numbers or footer text

2024-03-07 Thread Rich Shepard

On Thu, 7 Mar 2024, Rich Shepard wrote:


Now, I'm getting build errors (after hitting a LyX bug that was not
explained, but crashed the application.)


Build errors eliminated by re-installing TeXLive2023 from its last update in
October 2023. But, still have the header/footer issue.

Attached is lee-mwe.lyx. It has paper format USletter, page layout style
plain, two-sided printing, and language encoding unicode (UTF8) which
removed the error messages while producing pdflatex output because, for some
reason, latin9 language encoding seems to be hard-wired into all documents.

As a KOMA-Script report using \pagestyle[scrheadings] with the header and
footer text specified only the header text (and no separating horizontal
line) is in the output. All this used to put the header and footer text, and
the page number in the footer center, with separating lines.

Where do I look for the reason it stopped working?

Rich#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrreprt
\begin_preamble
\date{}
\usepackage{lipsum}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr,xurl}
\counterwithout{figure}{section}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Biological Evaluation}
\rohead{Biological Evaluation}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
%\automark*{sections}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "palatino" "default"
\font_sans "avant" "default"
\font_typewriter "libertine-mono" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine biblatex-natbib
\cite_engine_type authoryear
\biblio_style plain
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 0.75in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\secnumdepth 5
\tocdepth 5
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle plain
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
A Long Title:
\begin_inset Newline newline
\end_inset

Which Has Two lines
\end_layout

\begin_layout Subtitle
And a multiline
\begin_inset Newline newline
\end_inset

sub-title
\end_layout

\begin_layout Date
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
today
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
General information
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[1-30]
\end_layout

\end_inset


\end_layout

\end_body
\end_document


lee-mwe.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: I FUBAR'd preamble: no page numbers or footer text

2024-03-07 Thread Rich Shepard

On Thu, 7 Mar 2024, Rich Shepard wrote:


Well! I'll be. Yes, that was the problem. Perhaps because the original
margins I set were for letter size pages, not executive, and were too
large for the smaller text area. Think I'll change the paper size back to
letter.


Unfortunately, that fixed providing header and footer text and page numbers
but greatly increased the margins. BTW, this doc was letter size to begin;
using default margins the text area was very small. Setting the margins to
0.5 in (and inner to 0.75 in) provided the expected text area size. When
trying to compile the MWE with lipsum[] text is when the error appeared.

Now, I'm getting build errors (after hitting a LyX bug that was not
explained, but crashed the application.)

Copies of mwe.lyx and the mwe-error.log attached.

Rich
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrreprt
\begin_preamble
\date{}
\usepackage{lipsum}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr}
\counterwithout{figure}{section}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Biological Evaluation}
\rohead{Biological Evaluation}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\automark*{section}
\end_preamble
\options headsepline=on, footsepline=on
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine biblatex-natbib
\cite_engine_type authoryear
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 0.75in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\headsep 0in
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle plain
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
This is a long title:
\begin_inset Newline newline
\end_inset

It covers two lines
\end_layout

\begin_layout Subtitle
And this is a subtitle
\end_layout

\begin_layout Date
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
date
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Section
Section
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[1-40]
\end_layout

\end_inset


\end_layout

\end_body
\end_document
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded 
format=pdflatex 2024.1.2)  7 MAR 2024 06:12
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**mwe.tex
(./mwe.tex
LaTeX2e <2023-11-01>
L3 programming layer <2023-12-11>

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2023/07/07 v3.41 KOMA-Script document class (report)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2023/07/07 v3.41 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2023/07/07 v3.41 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2023/07/07 v3.41 KOMA-Script package (file load hooks)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
Package: scrlfile-hook 2023/07/07 v3.41 KOMA-Script package (using LaTeX hooks)

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlogo.sty
Package: scrlogo 2023/07/07 v3.41 KOMA-Script package (logo)
))) (/usr/

Re: I FUBAR'd preamble: no page numbers or footer text [FIXED]

2024-03-07 Thread Rich Shepard

On Thu, 7 Mar 2024, Kornel Benko wrote:


Using
Document->Settings...->Page Margins->Default margins
shows the page numbering. So something in your settings is wrong.
Just my 2 cents.


Kornel,

Well! I'll be. Yes, that was the problem. Perhaps because the original
margins I set were for letter size pages, not executive, and were too large
for the smaller text area. Think I'll change the paper size back to letter.

Many thanks!

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: I FUBAR'd preamble: no page numbers or footer text

2024-03-06 Thread Rich Shepard

On Wed, 6 Mar 2024, Rich Shepard wrote:


I don't see where the page number should be defined. Attached is a similar
document from last May. The page layout style is 'plain' and the preamble
contains this:
\date{}
%\usepackage{ftnxtra}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr,xurl}
\counterwithout{figure}{section}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Biological Evaluation}
\rohead{Biological Evaluation}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\automark*{section}

When I print page 2 of that document the header text, footer text, and page
number all appear with horizontal lines separating them from the text area.
See attached,


Well, I'm totally confused. I saved this document as mwe2.lyx, stripped all
but the first page, added the lipsum package, saved, and compiled. Now this
mwe2.pdf has the header text but only a horizontal line at the footer.
mwe2.lyx attached.

This all used to work and I've no idea what's changed. I do need to get this
resolved ASAP as I have a client who needs to submit these docs to
regulators for permit approvals.

BTW, reading the KOMA-Script manual from a year ago I don't see what's
wrong.

Regards,

Rich#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrreprt
\begin_preamble
\date{}
\usepackage{lipsum}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr,xurl}
\counterwithout{figure}{section}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Biological Evaluation}
\rohead{Biological Evaluation}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\automark*{section}
\end_preamble
\options headsepline=on, footsepline=on
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine biblatex-natbib
\cite_engine_type authoryear
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 0.75in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle plain
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
Title
\end_layout

\begin_layout Subtitle
Author
\end_layout

\begin_layout Date
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
today
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[1-30]
\end_layout

\end_inset


\end_layout

\end_body
\end_document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: I FUBAR'd preamble: no page numbers or footer text

2024-03-06 Thread Rich Shepard

On Wed, 6 Mar 2024, Richard Kimberly Heck wrote:


You redefined all the headings and footers and didn't include the page
number.


Riki,

I don't see where the page number should be defined. Attached is a similar
document from last May. The page layout style is 'plain' and the preamble
contains this:
\date{}
%\usepackage{ftnxtra}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr,xurl}
\counterwithout{figure}{section}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Biological Evaluation}
\rohead{Biological Evaluation}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\automark*{section}

When I print page 2 of that document the header text, footer text, and page
number all appear with horizontal lines separating them from the text area.
See attached,

In the MWE the page layout is the same (plain) and I added the
automark*{Section} to the preamble. But only the header text (no separating
horizontal line) appears.

Where else might there be a difference? I'm not seeing it in the settings.

Thanks,

Rich

example-page.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


I FUBAR'd preamble: no page numbers or footer text

2024-03-06 Thread Rich Shepard

I don't know how I managed to FUBAR my preamble setting so there are no page
numbers or footer text. But I did. :-(

Attached is a MWE.

Please show me what I did wrong because this is affecting many docs.

TIA,

Rich#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrreprt
\begin_preamble
\date{}
\usepackage{lipsum}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr}
\usepackage{xurl}
\counterwithout{figure}{section}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Steelhead Trout}
\rohead{Steelhead Trout}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "avant" "default"
\font_typewriter "libertine-mono" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize executivepaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine biblatex-natbib
\cite_engine_type authoryear
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 0.75in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\secnumdepth 5
\tocdepth 5
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle headings
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
Title
\end_layout

\begin_layout Author
Author
\end_layout

\begin_layout Date
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
today
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[1-20]
\end_layout

\end_inset


\end_layout

\end_body
\end_document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: File -> Import -> Plain text (join lines) opens new file [RESOLVED]

2024-01-17 Thread Rich Shepard



On Tue, 16 Jan 2024, Rich Shepard wrote:


The Plain Text (join lines) version. Yes.


Paul, et al.:

Apparently LyX needed an overnight rest before it would insert the file.
It's all done now.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: File -> Import -> Plain text (join lines) opens new file

2024-01-16 Thread Rich Shepard

On Tue, 16 Jan 2024, Paul Rubin wrote:


Are you using Insert > File > Plain Text ... ?


Paul,

The Plain Text (join lines) version. Yes.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: File -> Import -> Plain text (join lines) opens new file

2024-01-16 Thread Paul Rubin




On 1/16/24 17:03, Rich Shepard wrote:

I've not before had this problem: importing a .txt file into a .lyx
document. I'm trying to import a file import.txt ($ file input.txt 
input.txt: UTF-8 Unicode text) into an open LyX document. Instead it 
opens a

new file called input.lyx.

What might I be doing incorrectly and not seeing?

TIA,

Rich



Are you using Insert > File > Plain Text ... ?

Paul

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


File -> Import -> Plain text (join lines) opens new file

2024-01-16 Thread Rich Shepard

I've not before had this problem: importing a .txt file into a .lyx
document. I'm trying to import a file import.txt ($ file input.txt 
input.txt: UTF-8 Unicode text) into an open LyX document. Instead it opens a

new file called input.lyx.

What might I be doing incorrectly and not seeing?

TIA,

Rich


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


Re: String including \rightarrow works unless with other text

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, Kornel Benko wrote:


Alternatively you could use symbols from Insert->Special
Character->Symbols...->Category: Arrows

or use unicode direct with
M-x unicode-insert 2192


Kornel,

Thank you. I'm used to using the unfortuately-named ERT so I added the $
where needed and that did the trick.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: String including \rightarrow works unless with other text [RESOLVED]

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, Herbert Voss wrote:


$\rightarrow$  It must be in mathmode. However, insert it with the LyX
mathmode and you can insert the arrow as symbol.


Herbert,

Mea culpa! You and Paul pointed out that totally spaced using mathmode.
Adding the '$' was easier than inline math.

Thanks again,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: String including \rightarrow works unless with other text

2024-01-02 Thread Rich Shepard

On Tue, 2 Jan 2024, Paul Rubin wrote:


Neither displays correctly for me. The issue is that you are inserting the
arrow as LaTeX without invoking math mode (at least in mwe2; in mwe it's
not even LaTeX). So the compiler guesses where to begin and end math mode,
and it does not guess correctly. (Quoth the LaTeX log: "I've inserted a
begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.")

The simple fix is to insert the arrows using math model (ctrl-M), as in the 
attached version of your second example.


Paul,

I saw that but missed the point that I needed to use math mode rather than
plain LaTeX/ERT.

Thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: String including \rightarrow works unless with other text

2024-01-02 Thread Kornel Benko
Am Tue, 2 Jan 2024 18:35:50 +0100
schrieb Herbert Voss :

> Am 02.01.24 um 18:15 schrieb Rich Shepard:
> > I'm puzzled. In a document I display a series using \rightarrow to 
> > separate
> > the components. When I compile the document it displays as in the 
> > attached
> > mwe2.lyx file. When the string is by itself (mwe.lyx) it displays 
> > properly.
> >
> > I suspect it's a matter of spacing but I haven't figured out where.  
> 
> $\rightarrow$  It must be in mathmode. However, insert it with
> the LyX mathmode and you can insert the arrow as symbol.
> 
> Herbert
> 

Alternatively you could use symbols from
Insert->Special Character->Symbols...->Category: Arrows

or use unicode direct with
M-x unicode-insert 2192

Kornel








pgpRisCXaFNqa.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: String including \rightarrow works unless with other text

2024-01-02 Thread Herbert Voss



Am 02.01.24 um 18:15 schrieb Rich Shepard:
I'm puzzled. In a document I display a series using \rightarrow to 
separate
the components. When I compile the document it displays as in the 
attached
mwe2.lyx file. When the string is by itself (mwe.lyx) it displays 
properly.


I suspect it's a matter of spacing but I haven't figured out where.


$\rightarrow$  It must be in mathmode. However, insert it with
the LyX mathmode and you can insert the arrow as symbol.

Herbert

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


Re: String including \rightarrow works unless with other text

2024-01-02 Thread Paul Rubin



On 1/2/24 12:15, Rich Shepard wrote:
I'm puzzled. In a document I display a series using \rightarrow to 
separate
the components. When I compile the document it displays as in the 
attached
mwe2.lyx file. When the string is by itself (mwe.lyx) it displays 
properly.


I suspect it's a matter of spacing but I haven't figured out where.

Help's needed.

TIA,

Rich

Neither displays correctly for me. The issue is that you are inserting 
the arrow as LaTeX without invoking math mode (at least in mwe2; in mwe 
it's not even LaTeX). So the compiler guesses where to begin and end 
math mode, and it does not guess correctly. (Quoth the LaTeX log: "I've 
inserted a begin-math/end-math symbol since I think


you left one out. Proceed, with fingers crossed.")

The simple fix is to insert the arrows using math model (ctrl-M), as in 
the attached version of your second example.


Paul


mwe2a.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


String including \rightarrow works unless with other text

2024-01-02 Thread Rich Shepard

I'm puzzled. In a document I display a series using \rightarrow to separate
the components. When I compile the document it displays as in the attached
mwe2.lyx file. When the string is by itself (mwe.lyx) it displays properly.

I suspect it's a matter of spacing but I haven't figured out where.

Help's needed.

TIA,

Rich#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrreprt
\begin_preamble
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "palatino" "default"
\font_sans "avant" "default"
\font_typewriter "courier" "default"
\font_math "auto" "auto"
\font_default_family rmdefault
\use_non_tex_fonts false
\font_sc true
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command biber mergedate=compact
\index_command default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize executivepaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 0
\use_package esint 0
\use_package mathdots 1
\use_package mathtools 0
\use_package mhchem 1
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine biblatex-natbib
\cite_engine_type authoryear
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6in
\paperheight 9in
\leftmargin 0.75in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
data {
\backslash
rightarrow} information {
\backslash
rightarrow} insight
\end_layout

\begin_layout Standard

\end_layout

\end_body
\end_document
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrreprt
\begin_preamble
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "palatino" "default"
\font_sans "avant" "default"
\font_typewriter "courier" "default"
\font_math "auto" "auto"
\font_default_family rmdefault
\use_non_tex_fonts false
\font_sc true
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command biber mergedate=compact
\index_command default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize executivepaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 0
\use_package esint 0
\use_package mathdots 1
\use_package mathtools 0
\use_package mhchem 1
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine biblatex-natbib
\cite_engine_type authoryear
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6in
\paperheight 9in
\leftmargin 0.75in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
While the sequence data 
\begin_inset ERT
status open

\begin_layout Plain Layout

{
\backslash
rightarrow}
\end_layout

\end_inset

 information 
\begin_inset ERT
status open

\begin_layout Plain Layout

{
\backslash
rightarrow}
\end_layout

\end_inset

 insight requires a solid base in terms of data quantity, quality, and relevance
 the quality component is sometimes the most difficult to evaluate.
 Data quality refers to the 

Re: Adding standard enviroment text in a list

2023-10-20 Thread Rich Shepard

On Thu, 19 Oct 2023, Steve Litt wrote:


No problem. In your window manager or desktop or whatever, link an unused
key combo to the proper screenshot command. Or just install dmenu and run
the proper screenshot command from there.


SteveT,

Since the enumitem package did not offer any options I used what I had done
before: the issues to be addressed are in the paragraph environment and the
responses are in the subparagraph environment. That distinguishes them.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding standard enviroment text in a list

2023-10-19 Thread Steve Litt
Rich Shepard said on Thu, 19 Oct 2023 11:39:46 -0700 (PDT)

>I cannot grab a screen shot because
>moving off the LyX window to take a shot closes the right-click dialog
>box.

No problem. In your window manager or desktop or whatever, link an
unused key combo to the proper screenshot command. Or just install
dmenu and run the proper screenshot command from there.

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding standard enviroment text in a list

2023-10-19 Thread Herbert Voss



Am 19.10.23 um 20:39 schrieb Rich Shepard:

On Thu, 19 Oct 2023, Herbert Voss wrote:


Load the module enumitem (docuemnt->settings->modules).
- Then start a enumerate paragraph and insert Text
- Choose default paragraph style which ends the enumeration.
   Insert your text which appears outside the enmeration.
- Choose again the enumerate paragraph style and click with _right_
  mouse button and insert for enumeration option s "resume"
  Insert now the text for the enumeration text.


Herbert,

Steps 1 and 2 work, but when I right-click on the next enumerated item
there's no option entry offered. I cannot grab a screen shot because 
moving

off the LyX window to take a shot closes the right-click dialog box.


Maybe a problem with LyX 2.3, because I habe 2.4. beta

Herbert-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding standard enviroment text in a list

2023-10-19 Thread Rich Shepard

On Thu, 19 Oct 2023, Herbert Voss wrote:


Load the module enumitem (docuemnt->settings->modules).
- Then start a enumerate paragraph and insert Text
- Choose default paragraph style which ends the enumeration.
   Insert your text which appears outside the enmeration.
- Choose again the enumerate paragraph style and click with _right_
  mouse button and insert for enumeration option s "resume"
  Insert now the text for the enumeration text.


Herbert,

Steps 1 and 2 work, but when I right-click on the next enumerated item
there's no option entry offered. I cannot grab a screen shot because moving
off the LyX window to take a shot closes the right-click dialog box.

Thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding standard enviroment text in a list

2023-10-19 Thread Herbert Voss




Am 19.10.23 um 20:29 schrieb Rich Shepard:

On Thu, 19 Oct 2023, Rich Shepard wrote:


Looks like a really kool solution. Would this work in LyX, too?


I added the new environment to the prefix (at the end), reconfigured LyX,
and restarted it. There's no Normanlize in the environment list.


Rich,
you do not need the special environment. Simply using the option
"resume" is enough. Then the counter doesn't restart. Try it as
I wrote in my mail.

Herbert

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


Re: Adding standard enviroment text in a list

2023-10-19 Thread Rich Shepard

On Thu, 19 Oct 2023, Rich Shepard wrote:


Looks like a really kool solution. Would this work in LyX, too?


I added the new environment to the prefix (at the end), reconfigured LyX,
and restarted it. There's no Normanlize in the environment list.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding standard enviroment text in a list

2023-10-19 Thread Herbert Voss



Am 19.10.23 um 19:30 schrieb Rich Shepard:

I have a long list of criteria (and sub-criteria) that I have in an
enumerate environment so all criteria align properly.

Each criterion needs a statement of compliance which would be in the
standard environment. When I tried to do this the enumerated list 
below was

renumbered starting with '1'.

I found a solution (adding a 'normalize' environment) using LaTeX 
external

to LyX:
<https://tex.stackexchange.com/questions/400112/enumerated-list-followed-by-normal-text>. 



Looks like a really kool solution. Would this work in LyX, too?


Load the module enumitem (docuemnt->settings->modules).
- Then start a enumerate paragraph and insert Text
- Choose default paragraph style which ends the enumeration.
   Insert your text which appears outside the enmeration.
- Choose again the enumerate paragraph style and click with _right_
  mouse button and insert for enumeration option s "resume"
  Insert now the text for the enumeration text.

Inside Lyx you still see
1. lklklkllk
dsgfjhsdgljhagsdlfg
1. ölkököllö
2. jkhkjhkjh


but the LaTeX output shows:

1. lklklkllk
dsgfjhsdgljhagsdlfg
2. ölkököllö
3. jkhkjhkjh


Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Adding standard enviroment text in a list

2023-10-19 Thread Rich Shepard

I have a long list of criteria (and sub-criteria) that I have in an
enumerate environment so all criteria align properly.

Each criterion needs a statement of compliance which would be in the
standard environment. When I tried to do this the enumerated list below was
renumbered starting with '1'.

I found a solution (adding a 'normalize' environment) using LaTeX external
to LyX:
<https://tex.stackexchange.com/questions/400112/enumerated-list-followed-by-normal-text>.

Looks like a really kool solution. Would this work in LyX, too?

TIA,

Rich

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


Re: Advanced text editing commands

2023-05-06 Thread Scott Kostyshak
On Fri, May 05, 2023 at 03:56:38PM +0200, Jean-Marc Lasgouttes wrote:
> Le 05/05/2023 à 13:29, José Matos a écrit :
> > On Wed, 2023-05-03 at 14:49 -0400, Scott Kostyshak wrote:
> > > Because of my jealousy I will make a trite joke: instead of using
> > > Emacs bindings in LyX, why not just implement all of LyX inside of
> > > Emacs?
> > > 
> > > Scott
> > 
> > Because we, at least I, prefer C++ and Python over lisp. :-D
> 
> Implement python in lisp.

Thank you for humoring me, José and JMarc :)

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-05-05 Thread Jean-Marc Lasgouttes

Le 05/05/2023 à 13:29, José Matos a écrit :

On Wed, 2023-05-03 at 14:49 -0400, Scott Kostyshak wrote:

Because of my jealousy I will make a trite joke: instead of using
Emacs bindings in LyX, why not just implement all of LyX inside of
Emacs?

Scott


Because we, at least I, prefer C++ and Python over lisp. :-D


Implement python in lisp.

JMarc

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


Re: Advanced text editing commands

2023-05-05 Thread José Matos
On Wed, 2023-05-03 at 14:49 -0400, Scott Kostyshak wrote:
> Because of my jealousy I will make a trite joke: instead of using
> Emacs bindings in LyX, why not just implement all of LyX inside of
> Emacs?
> 
> Scott

Because we, at least I, prefer C++ and Python over lisp. :-D
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-05-03 Thread Scott Kostyshak
On Sun, Apr 30, 2023 at 08:16:06PM -0500, Christopher Menzel wrote:
> On Apr 30, 2023, at 1:20 PM, John Beattie  wrote:
> > On 2023-04-27 12:41 -0400, Scott Kostyshak wrote:
> > 
> >> Out of curiosity, do the emacs users on this list actually use emacs.bind?
> > 
> > Yes. Linux Mint 20.1, also on Windows 10.
> 
> Absolutely, under both MacOS Ventura and Kali Linux 2023.1 (both running Lyx 
> 2.3 7). I do add a number of tweaks of my own, but the default is pretty good.

I can see that a lot of people are using the emacs.bind file. That's great! It 
must work smoothly since (1) from these responses I can tell there are a lot of 
users and (2) I don't see many bugs about it. I'm jealous since I don't think 
we will get Vim-functionality anytime. Because of my jealousy I will make a 
trite joke: instead of using Emacs bindings in LyX, why not just implement all 
of LyX inside of Emacs?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


preparing abbreviations in the text for latex

2023-05-02 Thread Wolfgang Engelmann
Where can I find information for preparing abbreviations in the text for 
latex,


such as etc or i.e.

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-04-30 Thread Christopher Menzel
On Apr 30, 2023, at 1:20 PM, John Beattie  wrote:
> On 2023-04-27 12:41 -0400, Scott Kostyshak wrote:
> 
>> Out of curiosity, do the emacs users on this list actually use emacs.bind?
> 
> Yes. Linux Mint 20.1, also on Windows 10.

Absolutely, under both MacOS Ventura and Kali Linux 2023.1 (both running Lyx 
2.3 7). I do add a number of tweaks of my own, but the default is pretty good.

Chris Menzel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-04-30 Thread John Beattie
On 2023-04-27 12:41 -0400, Scott Kostyshak wrote:

> Out of curiosity, do the emacs users on this list actually use emacs.bind?

Yes. Linux Mint 20.1, also on Windows 10.

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


Re: Advanced text editing commands

2023-04-29 Thread José Matos
On Thu, 2023-04-27 at 20:07 +0200, Kornel Benko wrote:
> I am using it.
> 
>   Kornel

I have evaluate them and I have been using xemacs bindings for as long
as I remember. :-)
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-04-28 Thread Pavel Sanda
On Thu, Apr 27, 2023 at 10:57:30AM -0400, Scott Kostyshak wrote:
> I love using 'g;' in Vim. I think the first 'g;' in LyX can be down with 
> "Navigate back" ('Ctrl + shift + <' or something like that) but I would love 
> to go through the entire change list as quickly as with 'g;'.

Navigate back was implemented so it reminds `` in vim. It does not work well
though and I was thinking several times to transform it to vim's g; indeed,
just never got enough time :)

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-04-28 Thread Jean-Marc Lasgouttes
Although it requires some care : the positions are relative to the point where 
the cursor was at the time of editing. 

I am not 100% sure of how to do i5, actually.

JMarc 

Le 28 avril 2023 11:49:59 GMT+02:00, Jean-Marc Lasgouttes  
a écrit :
>We have the locations in the undo stack.

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


Re: Advanced text editing commands

2023-04-28 Thread Jean-Marc Lasgouttes

Le 28/04/2023 à 00:15, Richard Kimberly Heck a écrit :
This actually does not sound hard. We would just need (a) to save these 
locations and (b) to make it possible to iterate through the list via 
some LFUNs.


We have the locations in the undo stack.

JMarc

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


Re: Advanced text editing commands

2023-04-27 Thread Richard Kimberly Heck

On 4/27/23 14:54, R. H. van der Gaag wrote:
I would like to be able to select, change, and delete around a word 
and a sentence, like I can in Vim.


Can you explain in more detail how that works?


And to do a ‘light speed’ jump to any part of the visible text by 
typing some shortcut and then typing the first two letters of the word 
I want to jump to; in Vim, and in Obsidian (using a plugin) the 
matches are then marked with a letter, and hitting that letter takes 
me there. 


Something like this could be possible. A first step would be to have a 
'mark all matches' sort of functionality for find. Then we'd need the 
ability to restrict a find to the start of a word. (You could do that 
with the 'advanced' find feature, which permits regular expressions, 
too.) Then one could add the matches to the outliner and figure out some 
way to make the 'hitting a letter' thing work. It's doable, but would 
take work. Perhaps you could file an enhancement request?



On top of that, going back and forward through the locations where my 
cursor has been placed, 


This actually does not sound hard. We would just need (a) to save these 
locations and (b) to make it possible to iterate through the list via 
some LFUNs.



and like you say, persistent undo would be wonderful. 


I've initiated some discussion of a related bug. If we could fix that 
one, then probably it would not be hard to save the undo stack.


Riki


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


Re: Advanced text editing commands

2023-04-27 Thread Richard Kimberly Heck

On 4/27/23 12:41, Scott Kostyshak wrote:

Out of curiosity, do the emacs users on this list actually use emacs.bind?


I think Andre did, and maybe one of the other developers does? Enrico?

Riki


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


Re: Advanced text editing commands

2023-04-27 Thread R. H. van der Gaag

> On 27 Apr 2023, at 16:57, Scott Kostyshak  wrote:
> 
> On Thu, Apr 27, 2023 at 10:01:59AM -0400, Richard Kimberly Heck wrote:
>> On 4/27/23 03:13, R. H. van der Gaag wrote:
>>> Having come from Vim and Obsidian, I find I miss a number of ‘advanced’ 
>>> text editing commands, like jumping to a particular place in the text with 
>>> just a few keystrokes,
>> Such as?
>>> or selecting a sentence.
>> 
>> I don't know how easy this would be to do in a multi-lingual way.
> 
> R. H., to answer your question directly, yes I miss them :). I am used to 
> Vim, and I often wish I could use Vim-like features in LyX. e.g., I love 
> using 'g;' in Vim. I think the first 'g;' in LyX can be down with "Navigate 
> back" ('Ctrl + shift + <' or something like that) but I would love to go 
> through the entire change list as quickly as with 'g;'.
> 
> Also, I've requested persistent undo (https://www.lyx.org/trac/ticket/12578), 
> which I've gotten used to in Vim.
> 
> I imagine Emacs users have similar desires to use Emacs features in LyX.
> 
> That said, without considerable work, I don't see it happening in LyX anytime 
> soon.
> 
> Scott

It’s nice to know I’m not the only one! I guess the number of editing tricks I 
miss isn’t even that large. I would like to be able to select, change, and 
delete around a word and a sentence, like I can in Vim. And to do a ‘light 
speed’ jump to any part of the visible text by typing some shortcut and then 
typing the first two letters of the word I want to jump to; in Vim, and in 
Obsidian (using a plugin) the matches are then marked with a letter, and 
hitting that letter takes me there. On top of that, going back and forward 
through the locations where my cursor has been placed, and like you say, 
persistent undo would be wonderful. 

I have no idea how to do this in LFUN, and no time, frankly, to figure out if 
that is even possible.

I now find myself reverting to Obsidian or Vim to write longer copy, which is 
less than ideal. 

RH


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


Re: Advanced text editing commands

2023-04-27 Thread Kornel Benko
Am Thu, 27 Apr 2023 12:41:47 -0400
schrieb Scott Kostyshak :

> On Thu, Apr 27, 2023 at 11:27:45AM -0400, Richard Kimberly Heck wrote:
> > On 4/27/23 10:57, Scott Kostyshak wrote:  
> > > I imagine Emacs users have similar desires to use Emacs features in LyX.  
> > 
> > In the case of Emacs, there is the file emacs.bind, which implements some of
> > the Emacs key bindings. The problem with vi is the modes, which would take
> > work to implement. But you could certainly implement some kind of 'trigger'
> > keystroke (something you don't use much, say the pipe), and then implement
> > some vi key bindings as key sequences. I.e., in effect the pipe would
> > 'switch modes' momentarily. This would not work well for character-type
> > navigation, but for other commands it might work.
> > 
> > It may be that the things some key bindings do is not yet implemented. But
> > you can do a lot with sequences of LyX commands (via the command-sequence
> > LFUN).  
> 
> Ah that makes sense. I didn't realize that key difference which I can see 
> makes it more
> difficult to have Vim-like functionality in LyX.
> 
> Out of curiosity, do the emacs users on this list actually use emacs.bind?
> 
> Scott

I am using it.

Kornel


pgpX9Wy4PAeWN.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-04-27 Thread Scott Kostyshak
On Thu, Apr 27, 2023 at 11:27:45AM -0400, Richard Kimberly Heck wrote:
> On 4/27/23 10:57, Scott Kostyshak wrote:
> > I imagine Emacs users have similar desires to use Emacs features in LyX.
> 
> In the case of Emacs, there is the file emacs.bind, which implements some of
> the Emacs key bindings. The problem with vi is the modes, which would take
> work to implement. But you could certainly implement some kind of 'trigger'
> keystroke (something you don't use much, say the pipe), and then implement
> some vi key bindings as key sequences. I.e., in effect the pipe would
> 'switch modes' momentarily. This would not work well for character-type
> navigation, but for other commands it might work.
> 
> It may be that the things some key bindings do is not yet implemented. But
> you can do a lot with sequences of LyX commands (via the command-sequence
> LFUN).

Ah that makes sense. I didn't realize that key difference which I can see makes 
it more difficult to have Vim-like functionality in LyX.

Out of curiosity, do the emacs users on this list actually use emacs.bind?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-04-27 Thread Richard Kimberly Heck

On 4/27/23 10:57, Scott Kostyshak wrote:
I imagine Emacs users have similar desires to use Emacs features in LyX. 


In the case of Emacs, there is the file emacs.bind, which implements 
some of the Emacs key bindings. The problem with vi is the modes, which 
would take work to implement. But you could certainly implement some 
kind of 'trigger' keystroke (something you don't use much, say the 
pipe), and then implement some vi key bindings as key sequences. I.e., 
in effect the pipe would 'switch modes' momentarily. This would not work 
well for character-type navigation, but for other commands it might work.


It may be that the things some key bindings do is not yet implemented. 
But you can do a lot with sequences of LyX commands (via the 
command-sequence LFUN).


Riki


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


Re: Advanced text editing commands

2023-04-27 Thread Scott Kostyshak
On Thu, Apr 27, 2023 at 10:01:59AM -0400, Richard Kimberly Heck wrote:
> On 4/27/23 03:13, R. H. van der Gaag wrote:
> > Having come from Vim and Obsidian, I find I miss a number of ‘advanced’ 
> > text editing commands, like jumping to a particular place in the text with 
> > just a few keystrokes,
> Such as?
> > or selecting a sentence.
> 
> I don't know how easy this would be to do in a multi-lingual way.

R. H., to answer your question directly, yes I miss them :). I am used to Vim, 
and I often wish I could use Vim-like features in LyX. e.g., I love using 'g;' 
in Vim. I think the first 'g;' in LyX can be down with "Navigate back" ('Ctrl + 
shift + <' or something like that) but I would love to go through the entire 
change list as quickly as with 'g;'.

Also, I've requested persistent undo (https://www.lyx.org/trac/ticket/12578), 
which I've gotten used to in Vim.

I imagine Emacs users have similar desires to use Emacs features in LyX.

That said, without considerable work, I don't see it happening in LyX anytime 
soon.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-04-27 Thread Richard Kimberly Heck

On 4/27/23 03:13, R. H. van der Gaag wrote:

Having come from Vim and Obsidian, I find I miss a number of ‘advanced’ text 
editing commands, like jumping to a particular place in the text with just a 
few keystrokes,

Such as?

or selecting a sentence.


I don't know how easy this would be to do in a multi-lingual way.

Riki


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


Advanced text editing commands

2023-04-27 Thread R. H. van der Gaag
Having come from Vim and Obsidian, I find I miss a number of ‘advanced’ text 
editing commands, like jumping to a particular place in the text with just a 
few keystrokes, or selecting a sentence. Am I the only one who would be happy 
to have such commands in LyX? 

Kind regards, RH
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Text input completion doesn't work as expected in lyx.

2023-04-17 Thread Pavel Sanda
On Mon, Apr 17, 2023 at 11:13:19AM +0200, Pavel Sanda wrote:
> On Wed, Apr 05, 2023 at 09:32:52AM +0800, Hongyi Zhao wrote:
> > I've set the input completion as shown in the attached screenshot. But
> > when I type `countr`, I can not see any text completion, which also
> > attached here. Any hints for this problem will be appreciated.
> 
> Autocompleter uses as dictionary only words which are already written
> in your document (or other opened files).
> See also User's Guide, section 2.6.

Per EP reponse:

The program reports the following version:
??LyX 2.3.7 (2023-01-01)

??CMake Build

> Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Text input completion doesn't work as expected in lyx.

2023-04-17 Thread Pavel Sanda
On Wed, Apr 05, 2023 at 09:32:52AM +0800, Hongyi Zhao wrote:
> I've set the input completion as shown in the attached screenshot. But
> when I type `countr`, I can not see any text completion, which also
> attached here. Any hints for this problem will be appreciated.

Autocompleter uses as dictionary only words which are already written
in your document (or other opened files).
See also User's Guide, section 2.6.

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: \text{ \cdot }

2023-01-25 Thread Chris Menzel
If I'm understanding: type "\\cdot". That will render "\cdot" in text.

-chris

On Wed, Jan 25, 2023 at 6:40 PM Dan  wrote:

> When I type \text{ \cdot } into the math compiler it gives me the little
> dot, not the text "\cdot".  How do I fix this?  I'm writing a MathJax
> tutorial and I need to be able to put the codes in an array.
>
> Here's a sample of the code:
> \begin{array}{|l|l|}
> \hline
> \text{Symbol} & \text{Code} \\
> + & + \\
> - & - \\
> \text{ * } & \text{ * } \\
> \cdot & \text{ \cdot} \\
> \times & \text{ \times} \\
> /&/ \\
> \div & \text{ \div } \\
> \hline
> \end{array}
>
> (The really weird part about this is that MathJax simply refuses the
> command line entirely.)
>
> Thanks!
>
> -Dan
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


\text{ \cdot }

2023-01-25 Thread Dan
When I type \text{ \cdot } into the math compiler it gives me the little
dot, not the text "\cdot".  How do I fix this?  I'm writing a MathJax
tutorial and I need to be able to put the codes in an array.

Here's a sample of the code:
\begin{array}{|l|l|}
\hline
\text{Symbol} & \text{Code} \\
+ & + \\
- & - \\
\text{ * } & \text{ * } \\
\cdot & \text{ \cdot} \\
\times & \text{ \times} \\
/&/ \\
\div & \text{ \div } \\
\hline
\end{array}

(The really weird part about this is that MathJax simply refuses the
command line entirely.)

Thanks!

-Dan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Wrong subscript size in small text

2022-11-22 Thread Jean-Marc Lasgouttes

Le 09/11/2022 à 21:28, Csikos Bela a écrit :

Hello:

Inserting subscript into small text results in wrong subscript font 
size. The subscript size is equal to the font size (that is, small). Lyx 
incorrectly insert \small before the subscript text. An example:


{\small{}aa A}\textsubscript{{\small{}B}}{\small{} bb}{\small\par}.

This occurs in lyx 2.0.6 and 2.3.6.1.


Hello, could you describe the list of actions that you do to inset your 
subscript. I suspect that the result depends on your actions.


JMarc

PS : in 2.4.0, the font size of subscripts will be correct and there 
will be less spacing around the subscript.



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


Re: Wrong subscript size in small text

2022-11-09 Thread Paul A. Rubin

On 11/9/22 15:28, Csikos Bela wrote:

Hello:

Inserting subscript into small text results in wrong subscript font 
size. The subscript size is equal to the font size (that is, small). 
Lyx incorrectly insert \small before the subscript text. An example:


{\small{}aa A}\textsubscript{{\small{}B}}{\small{} bb}{\small\par}.

This occurs in lyx 2.0.6 and 2.3.6.1.

How to fix this?

Thanks,
bcsikos


Try selecting the subscript text and using the text style tool (or Edit 
> Text Style > Customized...) to set the size of the subscript text to 
"default". When I do this, the subscript text gets bigger in the GUI but 
appears subscript size in the PDF output.


Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Wrong subscript size in small text

2022-11-09 Thread Csikos Bela
Hello:Inserting subscript into small text results in wrong subscript font size. 
The subscript size is equal to the font size (that is, small). Lyx incorrectly 
insert \small before the subscript text. An example:{\small{}aa 
A}\textsubscript{{\small{}B}}{\small{} bb}{\small\par}.This occurs in 
lyx 2.0.6 and 2.3.6.1.How to fix this?Thanks,bcsikos-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adjust contents page text area height

2022-09-13 Thread Paul A. Rubin

On 9/13/22 13:02, Rich Shepard wrote:
In this KOMA-Script report document the table of contents has a single 
entry
(for Appendix B) on the following page. Is there a command that will 
allow

that single line to be at the bottom of the page with the rest of the
contents?

Rich

Maybe set \widowpenalty to the GDP (in pennies) in the TOC, if that's 
legal? It's mentioned in section 3.9.8 of the user guide.


Paul

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


Re: Adjust contents page text area height [RESOLVED]

2022-09-13 Thread Rich Shepard

On Tue, 13 Sep 2022, Rich Shepard wrote:


In this KOMA-Script report document the table of contents has a single
entry (for Appendix B) on the following page. Is there a command that will
allow that single line to be at the bottom of the page with the rest of
the contents?


I adjusted the top margin from 4 cm to 3 cm. That did the job.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Adjust contents page text area height

2022-09-13 Thread Rich Shepard

In this KOMA-Script report document the table of contents has a single entry
(for Appendix B) on the following page. Is there a command that will allow
that single line to be at the bottom of the page with the rest of the
contents?

Rich

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


Re: Two body text type environment [UPDATE]

2022-08-08 Thread Rich Shepard

On Mon, 8 Aug 2022, Rich Shepard wrote:


I can mark cited regulations as unnumbered sections, subsections,
subsubsections, paragraphs, and subparagraphs. See mwe.pdf attached.


Sigh. Attached to this one.

Rich

mwe.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Two body text type environment [UPDATE]

2022-08-08 Thread Rich Shepard

On Mon, 8 Aug 2022, Rich Shepard wrote:


Is there a way to do this using a package that adds another environment to
the top-level set that includes Standard, Quotation, Quote, etc.? Or is
there a better way to do this?


I've found a pragmatic solution ... which has its own question.

I can mark cited regulations as unnumbered sections, subsections,
subsubsections, paragraphs, and subparagraphs. See mwe.pdf attached.

My question is whether I can indent the subsubparagraphs (a. through
whatever). The regulation is formatted that way and some agency staff insist
that submitted reports be formatted the same way. If there's not a way to
indent these sections and their compliance responses I'll go with what I
have and see what happens.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Two body text type environment

2022-08-08 Thread Rich Shepard

I use the KOMA-Script classes. For regulatory compliance reports I need to
include each specific regulatory requirement followed by how the project
complies with it. I want the two sections to appear differently, perhaps the
regulatory requirement in an emphasized font and the compliance section in a
Roman font.

I've not found a package that allows me to do this. So far I'll set the
whole body text in the Standard environment, then change one section
(each piece separately) using Edit -> Type style -> Customized. It's a
rather inefficient PITA.

Is there a way to do this using a package that adds another environment to
the top-level set that includes Standard, Quotation, Quote, etc.? Or is
there a better way to do this?

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Extend the visible area of the text

2022-07-08 Thread Daniel

On 07/07/2022 23:56, tush via lyx-users wrote:
Is it possible to extend to the bottom of the visible area where one 
types the text?

At least, a bit lower than just to the bottom of the text (LyX's default)?

To clarify my question, here is in image with an explanation.

https://i.ibb.co/bKJPd8Q/visible-area.png 
<https://i.ibb.co/bKJPd8Q/visible-area.png>


If you don't like the color of the "bottom area", you can change it 
according to your desire, for example to match the background color. You 
can set colors in the "Preferences" under "Look & Feel".


Daniel


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


Extend the visible area of the text

2022-07-07 Thread tush via lyx-users
Is it possible to extend to the bottom of the visible area where one types the 
text?
At least, a bit lower than just to the bottom of the text (LyX's default)?

To clarify my question, here is in image with an explanation.

https://i.ibb.co/bKJPd8Q/visible-area.png-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Rotate text

2022-06-27 Thread Udicoudco
Hello Carlos.

To rotate a text in the middle of a paragraph go to
Document->Settings->Modules.
In there add a module called GraphicBoxes. Afterwards go to Insert->Custom
Insets and click on RotateBox.
Now there should be an inset layout with an argument titled "angle". In the
argument write the desired angle that you want the text to be rotated, and
inside the layout itself the text to be rotated. For more information and
examples you can read  section 5.8.1. of the Embedded Objects guide, which
you can find in Help-> Embedded Object.

Regards,
Udi

‫בתאריך יום ב׳, 27 ביוני 2022 ב-18:09 מאת ‪Carlos Knauer‬‏ <‪
carlos.kna...@gmail.com‬‏>:‬

> Can I rotate text in LyX ? How do I do ?
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Rotate text

2022-06-27 Thread Ricardo Berlasso
El lun, 27 jun 2022 a las 17:09, Carlos Knauer ()
escribió:

> Can I rotate text in LyX ? How do I do ?
>

That depends on what you need. It's quite easy to rotate table cell content
in an arbitrary angle: just go to the table properties. So, if you need to
rotate just short texts, use a table of one cell and no borders. If you
need something else, please describe what you need in more detail.

Regards,
Ricardo


> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Rotate text

2022-06-27 Thread Carlos Knauer
Can I rotate text in LyX ? How do I do ?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Re: About the effect General text class parameters

2022-03-31 Thread tush via lyx-users
But I am not 100%, because I can still change the ToC depth and Sections depth 
in the editor.. And the latex code fortocdepth and secnumdepth changes in a way 
that I don't clearly understand.-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: About the effect General text class parameters

2022-03-31 Thread tush via lyx-users
I selected it through Document -> Settings -> Document Class then choose it 
from the list.

But now I think that I understand the idea: Those parameters makes changes in 
the LaTeX code, not in the layout of the editor.-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: About the effect General text class parameters

2022-03-31 Thread Paul A. Rubin via lyx-users

On 3/31/22 12:15, tush via lyx-users wrote:
I just selected for my document the |IEEE Transactions| layout 
(IEEEtran.layout).

In this file one can find the following content:
Sides 1
SecNumDepth 3
TocDepth 3

I expected to see a change for the corresponding parameters in the 
Document Settings dialog, but nothing changes:


The table of contents depth and section depth keeps to be just the 
same as used by my settings for Document Defaults (chapters and onward 
is not included).
I also don't see the removal of "twoside" option for the document 
class: It keeps to be

\documentclass[twoside]{article}

Should the statements of this kind (Sides, SecNumDepth, TocDepth) lock 
the corresponding buttons and menus in the document settings?
If nothing changes or activates when I declare those styles, then what 
is the point of them? Or perhaps I am missing anything here?


If you selected "IEEE Transactions" from the document class list, the 
first line of your LaTeX output should be


\documentclass[english]{IEEEtran} (give or take the "english" option). 
How exactly did you select the IEEEtran layout?


Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: About the effect General text class parameters

2022-03-31 Thread Jürgen Spitzmüller via lyx-users
Am Donnerstag, dem 31.03.2022 um 16:15 + schrieb tush via lyx-
users:
> If nothing changes or activates when I declare those styles, then
> what is the point of them?

It tells LyX the standard values of the document. So if "Sides 2", LyX
doesn't need to output "twoside" if this is set in document settings,
but it would need to output "oneside".

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


About the effect General text class parameters

2022-03-31 Thread tush via lyx-users
I just selected for my document the IEEE Transactions layout (IEEEtran.layout).
In this file one can find the following content:

Sides   1

SecNumDepth 3

TocDepth3

I expected to see a change for the corresponding parameters in the Document 
Settings dialog, but nothing changes:

The table of contents depth and section depth keeps to be just the same as used 
by my settings for Document Defaults (chapters and onward is not included).
I also don't see the removal of "twoside" option for the document class: It 
keeps to be
\documentclass[twoside]{article}

Should the statements of this kind (Sides, SecNumDepth, TocDepth) lock the 
corresponding buttons and menus in the document settings?
If nothing changes or activates when I declare those styles, then what is the 
point of them? Or perhaps I am missing anything here?-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Box for two lines of text

2022-03-30 Thread Néstor via lyx-users
Thank you, it's now working, I would tell you if it fails again.

El mar, 29 mar 2022 a las 17:41, Paul A. Rubin via lyx-users
() escribió:
>
> On 3/29/22 11:10, Néstor via lyx-users wrote:
> > I need a frame to insert two lines of text. I have tried a normal Box,
> > but it only works with one line of text. I need to put a line around
> > the two lines, like a frame. Thank you!
> >
> A minipage (the default when you insert a box) should work. If it
> doesn't, please post a minimal (non)working example along with what
> specifically is wrong with it.
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users



-- 
Néstor Amigo
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Box for two lines of text

2022-03-29 Thread Paul A. Rubin via lyx-users

On 3/29/22 11:10, Néstor via lyx-users wrote:

I need a frame to insert two lines of text. I have tried a normal Box,
but it only works with one line of text. I need to put a line around
the two lines, like a frame. Thank you!

A minipage (the default when you insert a box) should work. If it 
doesn't, please post a minimal (non)working example along with what 
specifically is wrong with it.


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


Box for two lines of text

2022-03-29 Thread Néstor via lyx-users
I need a frame to insert two lines of text. I have tried a normal Box,
but it only works with one line of text. I need to put a line around
the two lines, like a frame. Thank you!

-- 
Néstor Amigo
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: create an Inset for \marginnote{text}[arg]

2022-03-27 Thread Jürgen Spitzmüller via lyx-users
Am Sonntag, dem 27.03.2022 um 16:25 + schrieb tush via lyx-users:
> I am having difficulties creating a Flex Inset that creates the
> following command:
> 
> \marginnote{text}
> and
> \marginnote{text}[arg]
> 
> Because sometimes the user needs to give the argument arg​.
> 
> If I do the following:
> 
> InsetLayout Flex:MarginalNote    LyXType        custom
>     LabelString    "Margin Note"
>     LatexType      Command
>     LatexName      marginnote
>     Decoration     classic
>     NeedProtect    0
>     Argument 1
>         LabelString vertical
>         Mandatory 0
>         LeftDelim [
>         RightDelim ]
>     EndArgument
>     Argument 2
>         LabelString left
>         #Mandatory 0
>         Requires  1
>         LeftDelim [
>         RightDelim ]
>     EndArgument
> End
> 
> Then I get the latex code \marginnote[arg]{text goes here}.
> I tried to follow the instruction written in section 5.3.7 (for
> "Requires") in the customization manual, but I can't figure it out my
> self.
> 
> What changes should I make?

InsetLayout Flex:MarginalNote
LyXTypecustom
LabelString"Margin Note"
LatexType  Command
LatexName  marginnote
Decoration classic
NeedProtect0
Argument post:1
LabelString vertical
EndArgument
End

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


create an Inset for \marginnote{text}[arg]

2022-03-27 Thread tush via lyx-users
I am having difficulties creating a Flex Inset that creates the following 
command:

\marginnote{text}
and
\marginnote{text}[arg]

Because sometimes the user needs to give the argument arg​.

If I do the following:

InsetLayout Flex:MarginalNote

LyXType custom

LabelString "Margin Note"

LatexType Command

LatexName marginnote

Decoration classic

NeedProtect 0

Argument 1

LabelString vertical

Mandatory 0

LeftDelim [

RightDelim ]

EndArgument

Argument 2

LabelString left

#Mandatory 0

Requires 1

LeftDelim [

RightDelim ]

EndArgument

End

Then I get the latex code \marginnote[arg]{text goes here}.
I tried to follow the instruction written in section 5.3.7 (for "Requires") in 
the customization manual, but I can't figure it out my self.

What changes should I make?-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-17 Thread Jürgen Spitzmüller via lyx-users
Am Sonntag, dem 16.01.2022 um 18:00 -0500 schrieb Paul A. Rubin via
lyx-users:
> As far as how the braces are placed, I don't think there is any way
> to change that other than ERT.

The reason is that it is not easy for LyX to guess what follows. With a
character, a space needs to be inserted to terminate the command, but
with another command, this space must be omitted as it would result in
a real space. Braces work in both cases.

Note though that forthcoming LyX 2.4 will be smarter and output, with
your example:

{\Large\textsl{Here is some long long long and even longer text that
spans multiple lines of a paragraph in large size and slanted
style.}}{\Large\par}

There is also a reason for size switches coming before font style
markup. I can't remember the details now but this is the only order
that works in all cases.

HTH,
Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-17 Thread Jürgen Spitzmüller via lyx-users
Am Sonntag, dem 16.01.2022 um 16:16 -0500 schrieb Paul A. Rubin via
lyx-users:
> As I suspected, the issue is that the text you are formatting occurs
> at the very end of a paragraph. 

And the reason why it is inserted is line spacing. This is wrong if the
\par is not resized, at least if whole paragraphs are in a non-standard
size.

See attached example which uses Paul's advise but with an empty ERT
rather than a space.

Jürgen 



mwe large slanted text.lyx
Description: application/lyx


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 4:27 PM, tush via lyx-users wrote:

That is certainly an advance. Thanks a lot!
The output I get is

\textsl{\Large{}Here is some text in large size and slanted style.}


Any possibility to make it

{\textsl{\large Here is some text in large size and slanted style.}}


?


PLEASE bottom post in the future.

The difference between \large with a lower case "L" and \Large with a 
capital "L" comes down to whether you choose "Large" (the former) or 
"Larger" (the latter) in the font dialog.


As far as how the braces are placed, I don't think there is any way to 
change that other than ERT.


Paul

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


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
That is certainly an advance. Thanks a lot!
The output I get is

\textsl{\Large{}Here is some text in large size and slanted style.}

Any possibility to make it

{\textsl{\large Here is some text in large size and slanted style.}}

?

‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 11:16 PM, Paul A. Rubin via lyx-users 
 wrote:

> On 1/16/22 4:02 PM, tush via lyx-users wrote:
>
>> Sure, I will take notice of the thread organization. I am new to mailing 
>> lists.
>>
>> Yes, the "unwanted formatting" refer to {\large\par}.
>>
>> Here is a (really) MWE.
>>
>> On 1/16/22 3:46 PM, tush via lyx-users wrote:
>>>
>>
>> The shape works the way I want, but the sizing rather gives the
>>
>>>
>>
>> unwanted formatting.
>>
>>>
>>
>>>
>>
>> ‐‐‐ Original Message ‐‐‐
>>
>>>
>>
>> On Sunday, January 16th, 2022 at 10:43 PM, <
>> [ehud.behar at 
>> protonmail.com](http://lists.lyx.org/mailman/listinfo/lyx-users)
>>>
>>
>>>
>>
>> wrote:
>>
>>>>
>>
>> Could you tell me how to apply the style so that the code is the way
>>
>>>>
>>
>> I want it to be?
>>
>>>>
>>
>>>>
>>
>> I selected the whole line, maybe lyx sees it as a paragraph.
>>
>>>>
>>
>>>>
>>
>>>>
>>
>> ‐‐‐ Original Message ‐‐‐
>>
>>>>
>>
>> On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via
>>
>>>>
>>
>> lyx-users <
>> [lyx-users at lists.lyx.org](http://lists.lyx.org/mailman/listinfo/lyx-users)
>>> wrote:
>>
>>>>>
>>
>> On 1/16/22 3:05 PM, tush via lyx-users wrote:
>>
>>>>>>
>>
>> I want to insert the following styled text to my document:
>>
>>>>>>
>>
>>>>>>
>>
>> {\large{\textsl{Some text goes here}}
>>
>>>>>>
>>
>>>>>>
>>
>>>>>>
>>
>> This is what a a LaTeX user would have inserted into his .tex file.
>>
>>>>>>
>>
>>>>>>
>>
>> If I select my text in LyX and right click it and choose Text Style
>>
>>>>>>
>>
>> -> Customized...
>>
>>>>>>
>>
>>>>>>
>>
>> I can apply the aforementioned features, i.e. slanted shape and
>>
>>>>>>
>>
>> large size, but the command LyX inserts is not the one above, but
>>
>>>>>>
>>
>> rather
>>
>>>>>>
>>
>>>>>>
>>
>> \textsl{\large{}Some text goes here}{\large\par}
>>
>>>>>>
>>
>>>>>>
>>
>>>>>>
>>
>> Is it possible to achieve what I first wrote, rather than inserting
>>
>>>>>>
>>
>> ERT commands?
>>
>>>>>>
>>
>>>>>
>>
>> That last {\large\par} may have something to do with how you
>>
>>>>>
>>
>> selected the text before applying the style change. In a test
>>
>>>>>
>>
>> document, I did not encounter that. Comparing your ERT version with
>>
>>>>>
>>
>> the customized style version, I can confirm the difference in the
>>
>>>>>
>>
>> LaTeX commands but see no difference in the output. Is there a
>>
>>>>>
>>
>> reason why you are unhappy with what LyX enters?
>>
>>>>>
>>
>>>>>
>>
>> Paul
>>
>>>>>
>>
>>>>
>>
>>>
>>
>>>
>>
>> First, please bottom post.
>>
>> Second, does the "unwanted formatting" refer to {\large\par}? If so, we
>> would need a minimal example. It would need to be a self-contained
>> document (your previous MWE had include commands for child documents not
>> attached to the message), preferably with as little customization as
>> possible. Every package you add, font or language change you make, etc.
>> makes it a bit less likely that someone on the list has all the packages
>> necessary to compile your MWE.
>>
>> If by "unwanted formatting" you mean that you really want the LaTeX
>> commands entered in the order you used in your ERT, I doubt that is
>> possible without resorting to ERT.
>>
>> Paul
>
> As I suspected, the issue is that the text you are formatting occurs at the 
> very end of a paragraph. The following is a bit "hacky" but solves the 
> problem. First, add a space after the end of the text. Then select the text 
> (excluding that extra space) and make the style change. The trailing space on 
> the first line is harmless, but feel free to delete it if you wish.
>
> Paul-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 4:02 PM, tush via lyx-users wrote:
Sure, I will take notice of the thread organization. I am new to 
mailing lists.


Yes, the "unwanted formatting" refer to {\large\par}.

Here is a (really) MWE.
On 1/16/22 3:46 PM, tush via lyx-users wrote:
>/The shape works the way I want, but the sizing rather gives the />/unwanted formatting. />//>/‐‐‐ Original Message ‐‐‐ />/On Sunday, January 16th, 2022 at 10:43 PM, protonmail.com <http://lists.lyx.org/mailman/listinfo/lyx-users>> />/wrote: />>/Could you tell me how to apply the style so that the code is the way />>/I want it to be? />>//>>/I selected the whole line, maybe lyx sees it as a paragraph. />>//>>//>>/‐‐‐ Original Message ‐‐‐ />>/On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via />>/lyx-users <http://lists.lyx.org/mailman/listinfo/lyx-users>> wrote: />>>/On 1/16/22 3:05 PM, tush via lyx-users wrote: />>>>/I want to insert the following styled text to my document: />>>>//>>>>/{\large{\textsl{Some text goes here}} />>>>//>>>>//>>>>/This is what a a LaTeX user would have inserted into his .tex file. />>>>//>>>>/If I select my text in LyX and right click it and choose Text Style />>>>/-> Customized... />>>>//>>>>/I can apply the aforementioned features, i.e. slanted shape and />>>>/large size, but the command LyX inserts is not the one above, but />>>>/rather />>>>//>>>>/\textsl{\large{}Some text goes here}{\large\par} />>>>//>>>>//>>>>/Is it possible to achieve what I first wrote, rather than inserting />>>>/ERT commands? />>>>//>>>/That last {\large\par} may have something to do with how you />>>/selected the text before applying the style change. In a test />>>/document, I did not encounter that. Comparing your ERT version with />>>/the customized style version, I can confirm the difference in the />>>/LaTeX commands but see no difference in the output. Is there a />>>/reason why you are unhappy with what LyX enters? />>>//>>>/Paul />>>//>>//>//>//First, please bottom post.


Second, does the "unwanted formatting" refer to {\large\par}? If so, we
would need a minimal example. It would need to be a self-contained
document (your previous MWE had include commands for child documents not
attached to the message), preferably with as little customization as
possible. Every package you add, font or language change you make, etc.
makes it a bit less likely that someone on the list has all the packages
necessary to compile your MWE.

If by "unwanted formatting" you mean that you really want the LaTeX
commands entered in the order you used in your ERT, I doubt that is
possible without resorting to ERT.

Paul



As I suspected, the issue is that the text you are formatting occurs at 
the very end of a paragraph. The following is a bit "hacky" but solves 
the problem. First, add a space after the end of the text. Then select 
the text (excluding that extra space) and make the style change. The 
trailing space on the first line is harmless, but feel free to delete it 
if you wish.


Paul

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


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
Sure, I will take notice of the thread organization. I am new to mailing lists.

Yes, the "unwanted formatting" refer to {\large\par}.

Here is a (really) MWE.

On 1/16/22 3:46 PM, tush via lyx-users wrote:
>

The shape works the way I want, but the sizing rather gives the

>

unwanted formatting.

>

>

‐‐‐ Original Message ‐‐‐

>

On Sunday, January 16th, 2022 at 10:43 PM, <
[ehud.behar at protonmail.com](http://lists.lyx.org/mailman/listinfo/lyx-users)
>

>

wrote:

>>

Could you tell me how to apply the style so that the code is the way

>>

I want it to be?

>>

>>

I selected the whole line, maybe lyx sees it as a paragraph.

>>

>>

>>

‐‐‐ Original Message ‐‐‐

>>

On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via

>>

lyx-users <
[lyx-users at lists.lyx.org](http://lists.lyx.org/mailman/listinfo/lyx-users)
> wrote:

>>>

On 1/16/22 3:05 PM, tush via lyx-users wrote:

>>>>

I want to insert the following styled text to my document:

>>>>

>>>>

{\large{\textsl{Some text goes here}}

>>>>

>>>>

>>>>

This is what a a LaTeX user would have inserted into his .tex file.

>>>>

>>>>

If I select my text in LyX and right click it and choose Text Style

>>>>

-> Customized...

>>>>

>>>>

I can apply the aforementioned features, i.e. slanted shape and

>>>>

large size, but the command LyX inserts is not the one above, but

>>>>

rather

>>>>

>>>>

\textsl{\large{}Some text goes here}{\large\par}

>>>>

>>>>

>>>>

Is it possible to achieve what I first wrote, rather than inserting

>>>>

ERT commands?

>>>>

>>>

That last {\large\par} may have something to do with how you

>>>

selected the text before applying the style change. In a test

>>>

document, I did not encounter that. Comparing your ERT version with

>>>

the customized style version, I can confirm the difference in the

>>>

LaTeX commands but see no difference in the output. Is there a

>>>

reason why you are unhappy with what LyX enters?

>>>

>>>

Paul

>>>

>>

>

>

First, please bottom post.

Second, does the "unwanted formatting" refer to {\large\par}? If so, we
would need a minimal example. It would need to be a self-contained
document (your previous MWE had include commands for child documents not
attached to the message), preferably with as little customization as
possible. Every package you add, font or language change you make, etc.
makes it a bit less likely that someone on the list has all the packages
necessary to compile your MWE.

If by "unwanted formatting" you mean that you really want the LaTeX
commands entered in the order you used in your ERT, I doubt that is
possible without resorting to ERT.

Paul

mwe large slanted text.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 3:46 PM, tush via lyx-users wrote:
The shape works the way I want, but the sizing rather gives the 
unwanted formatting.


‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:43 PM,  
wrote:
Could you tell me how to apply the style so that the code is the way 
I want it to be?


I selected the whole line, maybe lyx sees it as a paragraph.


‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via 
lyx-users  wrote:

On 1/16/22 3:05 PM, tush via lyx-users wrote:

I want to insert the following styled text to my document:

{\large{\textsl{Some text goes here}}


This is what a a LaTeX user would have inserted into his .tex file.

If I select my text in LyX and right click it and choose Text Style 
-> Customized...


I can apply the aforementioned features, i.e. slanted shape and 
large size, but the command LyX inserts is not the one above, but 
rather


\textsl{\large{}Some text goes here}{\large\par}


Is it possible to achieve what I first wrote, rather than inserting 
ERT commands?


That last {\large\par} may have something to do with how you 
selected the text before applying the style change. In a test 
document, I did not encounter that. Comparing your ERT version with 
the customized style version, I can confirm the difference in the 
LaTeX commands but see no difference in the output. Is there a 
reason why you are unhappy with what LyX enters?


Paul







First, please bottom post.

Second, does the "unwanted formatting" refer to {\large\par}? If so, we 
would need a minimal example. It would need to be a self-contained 
document (your previous MWE had include commands for child documents not 
attached to the message), preferably with as little customization as 
possible. Every package you add, font or language change you make, etc. 
makes it a bit less likely that someone on the list has all the packages 
necessary to compile your MWE.


If by "unwanted formatting" you mean that you really want the LaTeX 
commands entered in the order you used in your ERT, I doubt that is 
possible without resorting to ERT.


Paul

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


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
The shape works the way I want, but the sizing rather gives the unwanted 
formatting.

‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:43 PM,  wrote:

> Could you tell me how to apply the style so that the code is the way I want 
> it to be?
>
> I selected the whole line, maybe lyx sees it as a paragraph.
>
> ‐‐‐ Original Message ‐‐‐
> On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via lyx-users 
>  wrote:
>
>> On 1/16/22 3:05 PM, tush via lyx-users wrote:
>>
>>> I want to insert the following styled text to my document:
>>>
>>> {\large{\textsl{Some text goes here}}
>>>
>>> This is what a a LaTeX user would have inserted into his .tex file.
>>>
>>> If I select my text in LyX and right click it and choose Text Style -> 
>>> Customized...
>>>
>>> I can apply the aforementioned features, i.e. slanted shape and large size, 
>>> but the command LyX inserts is not the one above, but rather
>>>
>>> \textsl{\large{}Some text goes here}{\large\par}
>>>
>>> Is it possible to achieve what I first wrote, rather than inserting ERT 
>>> commands?
>>
>> That last {\large\par} may have something to do with how you selected the 
>> text before applying the style change. In a test document, I did not 
>> encounter that. Comparing your ERT version with the customized style 
>> version, I can confirm the difference in the LaTeX commands but see no 
>> difference in the output. Is there a reason why you are unhappy with what 
>> LyX enters?
>>
>> Paul-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
Could you tell me how to apply the style so that the code is the way I want it 
to be?

I selected the whole line, maybe lyx sees it as a paragraph.

‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via lyx-users 
 wrote:

> On 1/16/22 3:05 PM, tush via lyx-users wrote:
>
>> I want to insert the following styled text to my document:
>>
>> {\large{\textsl{Some text goes here}}
>>
>> This is what a a LaTeX user would have inserted into his .tex file.
>>
>> If I select my text in LyX and right click it and choose Text Style -> 
>> Customized...
>>
>> I can apply the aforementioned features, i.e. slanted shape and large size, 
>> but the command LyX inserts is not the one above, but rather
>>
>> \textsl{\large{}Some text goes here}{\large\par}
>>
>> Is it possible to achieve what I first wrote, rather than inserting ERT 
>> commands?
>
> That last {\large\par} may have something to do with how you selected the 
> text before applying the style change. In a test document, I did not 
> encounter that. Comparing your ERT version with the customized style version, 
> I can confirm the difference in the LaTeX commands but see no difference in 
> the output. Is there a reason why you are unhappy with what LyX enters?
>
> Paul-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 3:05 PM, tush via lyx-users wrote:

I want to insert the following styled text to my document:

{\large{\textsl{Some text goes here}}


This is what a a LaTeX user would have inserted into his .tex file.

If I select my text in LyX and right click it and choose Text Style -> 
Customized...


I can apply the aforementioned features, i.e. slanted shape and large 
size, but the command LyX inserts is not the one above, but rather


\textsl{\large{}Some text goes here}{\large\par}


Is it possible to achieve what I first wrote, rather than inserting 
ERT commands?


That last {\large\par} may have something to do with how you selected 
the text before applying the style change. In a test document, I did not 
encounter that. Comparing your ERT version with the customized style 
version, I can confirm the difference in the LaTeX commands but see no 
difference in the output. Is there a reason why you are unhappy with 
what LyX enters?


Paul

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


How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
I want to insert the following styled text to my document:

{\large{\textsl{Some text goes here}}

This is what a a LaTeX user would have inserted into his .tex file.

If I select my text in LyX and right click it and choose Text Style -> 
Customized...

I can apply the aforementioned features, i.e. slanted shape and large size, but 
the command LyX inserts is not the one above, but rather

\textsl{\large{}Some text goes here}{\large\par}

Is it possible to achieve what I first wrote, rather than inserting ERT 
commands?-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to modify text alignment

2021-09-08 Thread Scott Kostyshak
On Wed, Sep 08, 2021 at 11:56:49AM +0200, Ricardo Berlasso wrote:
> El mié, 8 sept 2021 a las 11:35, Dr Eberhard Lisse ()
> escribió:
> 
> > RTFM :-)-O
> >
> 
> Please, stop this.

+1 I take a lot of pride when recommending lyx-users in pointing out that it is 
a friendly and respectful list. You might argue that "RTFM" is a fair response 
in some cases, but it is certainly not friendly. You might argue that 
friendliness and respect should not be goals of this list, but I would disagree 
with that.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to modify text alignment

2021-09-08 Thread jezZiFeR
Am 8. Sept. 2021, 11:57 +0200 schrieb Ricardo Berlasso :
>
> El mié, 8 sept 2021 a las 11:35, Dr Eberhard Lisse () 
> escribió:
> > RTFM :-)-O
>
> Please, stop this. People come here for help, telling them to help themselves 
> is not helpful. In fact, RTMF non-answers are stupid, childish, and their 
> only effect is to scare newcomers. There is already too much poison in FOSS 
> community boards, let's keep at list this mailing list clean.
>
>
> >
> > el
> >
> > On 07/09/2021 18:37, jezZiFeR wrote:
> > > Am 7. Sep. 2021, 15:55 +0200 schrieb Axel Dessecker 
> > > :
> > >
> > >     Am Dienstag, 7. September 2021, 15:28:41 CEST schrieb jezZiFeR:
> > >
> > >         Hello,
> > >
> > >         in Komascript report, block text is specified as the default for 
> > >the text
> > >         alignment. How can I change this for the whole document? (LyX 
> > >2.3.6.2 on
> > >         OSX 10.14.6). If I try it just by edit/paragraph settings only 
> > >the current
> > >         paragraph is adjusted
> > >
> > >
> > >         Thank you
> > >         Jess
> > >
> > >
> > >     Jess,
> > >
> > >     https://wiki.lyx.org/FAQ/TextAppearance
> > >
> > >     Axel
> > >
> > >
> > >
> > > Dear Axel,
> > >
> > > thanks for your quick answer, this was helpful!
> > >
> > > All best
> > > Jess
> > >
> >
> >
> > --
> > To email me replace 'nospam' with 'el'
> >
> > --
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

This is not mentioned in the normal manual…
Thanks anyhow.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to modify text alignment

2021-09-08 Thread Ricardo Berlasso
El mié, 8 sept 2021 a las 11:35, Dr Eberhard Lisse ()
escribió:

> RTFM :-)-O
>

Please, stop this. People come here for help, telling them to help
themselves is not helpful. In fact, RTMF non-answers are stupid, childish,
and their only effect is to scare newcomers. There is already too much
poison in FOSS community boards, let's keep at list this mailing list
clean.



>
> el
>
> On 07/09/2021 18:37, jezZiFeR wrote:
> > Am 7. Sep. 2021, 15:55 +0200 schrieb Axel Dessecker <
> a.dessec...@krimz.de>:
> >
> > Am Dienstag, 7. September 2021, 15:28:41 CEST schrieb jezZiFeR:
> >
> >     Hello,
> >
> > in Komascript report, block text is specified as the default for
> the text
> > alignment. How can I change this for the whole document? (LyX
> 2.3.6.2 on
> > OSX 10.14.6). If I try it just by edit/paragraph settings only
> the current
> > paragraph is adjusted
> >
> >
> > Thank you
> > Jess
> >
> >
> > Jess,
> >
> > https://wiki.lyx.org/FAQ/TextAppearance
> >
> > Axel
> >
> >
> >
> > Dear Axel,
> >
> > thanks for your quick answer, this was helpful!
> >
> > All best
> > Jess
> >
>
>
> --
> To email me replace 'nospam' with 'el'
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to modify text alignment

2021-09-08 Thread Dr Eberhard Lisse

RTFM :-)-O

el

On 07/09/2021 18:37, jezZiFeR wrote:

Am 7. Sep. 2021, 15:55 +0200 schrieb Axel Dessecker :

Am Dienstag, 7. September 2021, 15:28:41 CEST schrieb jezZiFeR:

Hello,

in Komascript report, block text is specified as the default for the 
text
alignment. How can I change this for the whole document? (LyX 2.3.6.2 on
OSX 10.14.6). If I try it just by edit/paragraph settings only the 
current
paragraph is adjusted


Thank you
Jess


Jess,

https://wiki.lyx.org/FAQ/TextAppearance

Axel



Dear Axel,

thanks for your quick answer, this was helpful!

All best
Jess




--
To email me replace 'nospam' with 'el'

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


Re: How to modify text alignment

2021-09-07 Thread Axel Dessecker
Am Dienstag, 7. September 2021, 15:28:41 CEST schrieb jezZiFeR:
> Hello,
> 
> in Komascript report, block text is specified as the default for the text
> alignment. How can I change this for the whole document? (LyX 2.3.6.2 on
> OSX 10.14.6). If I try it just by edit/paragraph settings only the current
> paragraph is adjusted
> 
> 
> Thank you
> Jess

Jess,

https://wiki.lyx.org/FAQ/TextAppearance

Axel




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


Re: How to modify text alignment

2021-09-07 Thread jezZiFeR
Am 7. Sep. 2021, 15:55 +0200 schrieb Axel Dessecker :
> Am Dienstag, 7. September 2021, 15:28:41 CEST schrieb jezZiFeR:
> > Hello,
> >
> > in Komascript report, block text is specified as the default for the text
> > alignment. How can I change this for the whole document? (LyX 2.3.6.2 on
> > OSX 10.14.6). If I try it just by edit/paragraph settings only the current
> > paragraph is adjusted
> >
> >
> > Thank you
> > Jess
>
> Jess,
>
> https://wiki.lyx.org/FAQ/TextAppearance
>
> Axel
>


Dear Axel,

thanks for your quick answer, this was helpful!

All best
Jess
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


How to modify text alignment

2021-09-07 Thread jezZiFeR
Hello,

in Komascript report, block text is specified as the default for the text 
alignment. How can I change this for the whole document? (LyX 2.3.6.2 on OSX 
10.14.6). If I try it just by edit/paragraph settings only the current 
paragraph is adjusted


Thank you
Jess
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Paste text with italics

2021-07-05 Thread Dr Eberhard Lisse

Install the Writer-to-Latex module/package or whatever it is called.
That exports the whole file to LaTeX keeping more than just Italic.

Then you tex2lyx it and copy/paste from the document resulting.


When exporting switch to "Ultra Clean" and experiment with the other
option.

el


On 2021-07-04 22:19 , Scott Kostyshak wrote:

On Sun, Jul 04, 2021 at 06:59:27PM +0200, Ricardo Berlasso wrote:

El dom, 4 jul 2021 a las 17:15, <_johnny7_...@web.de> escribió:


Hello,

is there a way to paste text (from a source such as LibreOffice)
into LyX and keeping the words in italics emphasized?  If not, could
such an option be implemented?

As Scott pointed out, right now it's not possible on a direct way,
but you can use LibreOffice's own tools to "tag" text in italic and
then use the "paste as LaTeX" option on LyX. It goes like this:

- On Writer, make a copy of the document (don't work on the original!)
- Open the search and replace tool (Ctrl-H)
- On the Search box, write the following, complete with parenthesis:
(.*)
- With the cursor still on the search box, enable "Regular
Expressions" and, under Format, select Italics (you'll see the word
Italic bellow the search box)
- On the Replace box, write \emph{$1}
- Replace

You'll see that all the italic text will be surrounded with the
\emph{·} tag.  Now, you can copy the text to the clipboard and go to
LyX → Edit → Paste Special → Paste as LaTeX.

Of course, for short texts it's not worth doing all that, but for longer
texts, it works pretty well.


Cool idea, Ricardo!  This way is better than exporting/importing HTML
in the sense that you will only get the \emph part formatted.
Exporting and importing the HTML might give a bunch of different
formatting that is not desired.

Scott




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


Re: Paste text with italics

2021-07-05 Thread _johnny7_ger




As Scott pointed out, right now it's not possible on a direct way, but you
can use LibreOffice's own tools to "tag" text in italic and then use the
"paste as LaTeX" option on LyX. It goes like this:

- On Writer, make a copy of the document (don't work on the original!)
- Open the search and replace tool (Ctrl-H)
- On the Search box, write the following, complete with parenthesis: (.*)
- With the cursor still on the search box, enable "Regular Expressions"
and, under Format, select Italics (you'll see the word Italic bellow the
search box)
- On the Replace box, write \emph{$1}
- Replace

You'll see that all the italic text will be surrounded with the \emph{?}
tag. Now, you can copy the text to the clipboard and go to LyX ? Edit ?
Paste Special ? Paste as LaTeX.

Of course, for short texts it's not worth doing all that, but for longer
texts, it works pretty well.

Regards,
Ricardo



Thanks to you both, this method works like a charm. I was thinking about
converting the Libreoffice-HTML to LaTeX but this is much easier. It
really saves me time!
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Paste text with italics

2021-07-04 Thread Scott Kostyshak
On Sun, Jul 04, 2021 at 06:59:27PM +0200, Ricardo Berlasso wrote:
> El dom, 4 jul 2021 a las 17:15, <_johnny7_...@web.de> escribió:
> 
> > Hello,
> >
> > is there a way to paste text (from a source such as LibreOffice) into
> > LyX and keeping the words in italics emphasized?
> > If not, could such an option be implemented?
> >
> 
> As Scott pointed out, right now it's not possible on a direct way, but you
> can use LibreOffice's own tools to "tag" text in italic and then use the
> "paste as LaTeX" option on LyX. It goes like this:
> 
> - On Writer, make a copy of the document (don't work on the original!)
> - Open the search and replace tool (Ctrl-H)
> - On the Search box, write the following, complete with parenthesis: (.*)
> - With the cursor still on the search box, enable "Regular Expressions"
> and, under Format, select Italics (you'll see the word Italic bellow the
> search box)
> - On the Replace box, write \emph{$1}
> - Replace
> 
> You'll see that all the italic text will be surrounded with the \emph{·}
> tag. Now, you can copy the text to the clipboard and go to LyX → Edit →
> Paste Special → Paste as LaTeX.
> 
> Of course, for short texts it's not worth doing all that, but for longer
> texts, it works pretty well.

Cool idea, Ricardo! This way is better than exporting/importing HTML in the 
sense that you will only get the \emph part formatted. Exporting and importing 
the HTML might give a bunch of different formatting that is not desired.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Paste text with italics

2021-07-04 Thread Ricardo Berlasso
El dom, 4 jul 2021 a las 17:15, <_johnny7_...@web.de> escribió:

> Hello,
>
> is there a way to paste text (from a source such as LibreOffice) into
> LyX and keeping the words in italics emphasized?
> If not, could such an option be implemented?
>

As Scott pointed out, right now it's not possible on a direct way, but you
can use LibreOffice's own tools to "tag" text in italic and then use the
"paste as LaTeX" option on LyX. It goes like this:

- On Writer, make a copy of the document (don't work on the original!)
- Open the search and replace tool (Ctrl-H)
- On the Search box, write the following, complete with parenthesis: (.*)
- With the cursor still on the search box, enable "Regular Expressions"
and, under Format, select Italics (you'll see the word Italic bellow the
search box)
- On the Replace box, write \emph{$1}
- Replace

You'll see that all the italic text will be surrounded with the \emph{·}
tag. Now, you can copy the text to the clipboard and go to LyX → Edit →
Paste Special → Paste as LaTeX.

Of course, for short texts it's not worth doing all that, but for longer
texts, it works pretty well.

Regards,
Ricardo



>
> Thanks.
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Paste text with italics

2021-07-04 Thread Scott Kostyshak
On Sun, Jul 04, 2021 at 05:15:43PM +0200, _johnny7_...@web.de wrote:
> Hello,
> 
> is there a way to paste text (from a source such as LibreOffice) into
> LyX and keeping the words in italics emphasized?
> If not, could such an option be implemented?

Hi _johnny7,

In theory this should be possible. When copying, LibreOffice writer appears to 
save two MIME types, plain text (which does not preserve the italics), and HTML 
(which should). LyX can import HTML, so in theory you might be able to go to 
Edit > Paste Special > Paste from HTML. However, I just tested this and it 
didn't work for me. And unfortunately I don't have time to look into why it 
didn't work, but I still write this email just in case anyone else wants to dig 
:)

Note that "Paste from HTML" does not show up in the menu in some cases. In my 
opinion this should be greyed out instead of invisible.

It might work more smoothly if you are willing to export to a .html file and 
then import that from LyX. That's not as convenient as using your system 
clipboard, but it might work better.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Paste text with italics

2021-07-04 Thread _johnny7_ger

Hello,

is there a way to paste text (from a source such as LibreOffice) into
LyX and keeping the words in italics emphasized?
If not, could such an option be implemented?

Thanks.
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Introductory text to subject index

2021-05-03 Thread Jürgen Spitzmüller
Am Sonntag, dem 02.05.2021 um 18:46 +0200 schrieb Andreas Plihal:
> for a KOMA book I have created both a list of figures and a subject
> index. However, I would like to add an introductory text to the
> subject index, immediately after the heading.
> Where and how should I place this introductory text in the LYX file?

In ERT

\setindexpreamble{Introductory text...}

somewhere in the document (before the index).

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Introductory text to index

2021-05-02 Thread Andreas Plihal
I know the three codes: toc, lot and lof. But don't I need a code for the subject index?

 

Because if I just change toc to lof ...

 


\addtocontents {lof} {My short paragraph\ par}

 

... I got another error. I can play it down, but then the text stands for the list of figures immediately after its heading.

 

Instead of this I want to place it immediately after the heading of the index!

 

Greetings

Andreas


 
 

Gesendet: Sonntag, 02. Mai 2021 um 21:00 Uhr
Von: lyx-users-requ...@lists.lyx.org
An: lyx-users@lists.lyx.org
Betreff: lyx-users Digest, Vol 83, Issue 6

Send lyx-users mailing list submissions to
lyx-users@lists.lyx.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.lyx.org/mailman/listinfo/lyx-users
or, via email, send a message with subject or body 'help' to
lyx-users-requ...@lists.lyx.org

You can reach the person managing the list at
lyx-users-ow...@lists.lyx.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lyx-users digest..."


Today's Topics:

1. Introductory text to index (Andreas Plihal)
2. Re: Introductory text to index (Ricardo Berlasso)


--

Message: 1
Date: Sun, 2 May 2021 19:59:25 +0200
From: Andreas Plihal 
To: lyx-users@lists.lyx.org
Subject: Introductory text to index
Message-ID:


Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/2cd018a7/attachment-0001.html>

--

Message: 2
Date: Sun, 2 May 2021 21:00:22 +0200
From: Ricardo Berlasso 
To: LyX Users 
Subject: Re: Introductory text to index
Message-ID:

Content-Type: text/plain; charset="utf-8"

El dom, 2 may 2021 a las 19:59, Andreas Plihal () escribi?:

>
> I inserted the following between the list of figures and the following
> index:
>
> \ addtocontents {toc} {My short paragraph\ Par}
>
>
> This is how I get this error:
>
> ! LaTeX Error: Something's wrong - perhaps a missing \ item.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H  for immediate help. ... l.43 ... numberline subject
> register} {327} {chapter * .20}
>
> toc means the table of contents. But that has nothing to do with my
> business.
>

Sorry, my fault. You're right, toc is for the table of contents. For the
list of figures you need to use lof and for the list of tables lot

\addtocontents{lof}{The content you want to add\par} % for a list of
figures
\addtocontents{lot}{The content you want to add\par} % for a list of tables

Regards,
Ricardo



>
> Greetings
> Andreas
>
> *Gesendet:* Sonntag, 02. Mai 2021 um 19:09 Uhr
> *Von:* lyx-users-requ...@lists.lyx.org
> *An:* lyx-users@lists.lyx.org
> *Betreff:* lyx-users Digest, Vol 83, Issue 5
> Send lyx-users mailing list submissions to
> lyx-users@lists.lyx.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.lyx.org/mailman/listinfo/lyx-users
> or, via email, send a message with subject or body 'help' to
> lyx-users-requ...@lists.lyx.org
>
> You can reach the person managing the list at
> lyx-users-ow...@lists.lyx.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lyx-users digest..."
>
>
> Today's Topics:
>
> 1. Solved: capacity exeeded (Andreas Plihal)
> 2. Introductory text to subject index (Andreas Plihal)
> 3. Re: Introductory text to subject index (Ricardo Berlasso)
>
>
> --
>
> Message: 1
> Date: Sun, 2 May 2021 18:45:29 +0200
> From: Andreas Plihal 
> To: lyx-users@lists.lyx.org
> Subject: Solved: capacity exeeded
> Message-ID:
> 
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: <
> http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/eb97622b/attachment-0001.html
> >
>
> --
>
> Message: 2
> Date: Sun, 2 May 2021 18:46:32 +0200
> From: Andreas Plihal 
> To: lyx-users@lists.lyx.org
> Subject: Introductory text to subject index
> Message-ID:
> 
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: <
> http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/62d84350/attachment-0001.html
> >
>
> --
>
> Message: 3
> Date: Sun, 2 May 2021 19:09:17 +0200
> From: Ricardo Berlasso 
> To: LyX Users 
> Subject: Re: Introductory text to subject index
> Message-ID:
> 
> Content-Type: text/plain; charset="utf-8"
>
> El dom, 2 may 2021 a las 18:46, And

  1   2   3   4   5   6   7   8   9   10   >