Re: What controls figure numbering?

2024-01-18 Thread Dr Eberhard Lisse
Order something from Amazon, they will deliver :-)-O

el

On 2024-01-19 04:46 , Rich Shepard wrote:
[...]
> Mea culpa! Six days stuck in the house because temps are below freezing and
> there was a half-inch of ice (under the freezing rain) everywhere and I
> blanked on that issue.
[...]

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


Re: Extra space in moderncv doc [FIXED]

2024-01-18 Thread Dr Eberhard Lisse
What does the LyX Compare of the two versions show you?

el

On 2024-01-18 22:39 , Rich Shepard wrote:
> On Thu, 18 Jan 2024, Rich Shepard wrote:
> 
>> Help needed.
> 
> Fixed it. I re-entered the second presentation, deleted the original,
> saved, and compiled. No more extra space. I didn't see anything at
> the begining of that flawed entry but re-entering it solved the
> problem.
> 
> Rich


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


Re: Compiling causes LyX to crash [UPDATE]

2024-01-18 Thread Dr Eberhard Lisse
What I do for long documents is to split it by chapter into child
documents which (may) include a .tex file where I can do a lot of things
including conditionals.

I can then compile those also individually if I have an issue which then
makes "bisecting" it down to the error (or an MWE) easier.

greetings, el

On 2024-01-19 04:47 , Rich Shepard wrote:
[...]
> I'm done futzing with it. I'm using the PDF from last July (when it 
> was last compiled) and copying text into a new document. It's 
> compiling each time I complete a secion.
[...]

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


Re: Compiling causes LyX to crash [UPDATE]

2024-01-18 Thread Rich Shepard

On Thu, 18 Jan 2024, Steve Litt wrote:


Sure you can. Reduce it down to your own MWE, and then replace the English
with nonsense Latin. The only thing remaining that's proprietary to the
client is any commands or environments specific to the client.


SteveT,

I'm done futzing with it. I'm using the PDF from last July (when it was last
compiled) and copying text into a new document. It's compiling each time I
complete a secion.

Thanks,

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


Re: What controls figure numbering?

2024-01-18 Thread Rich Shepard

On Thu, 18 Jan 2024, Richard Kimberly Heck wrote:


I believe this is standard behavior for reports. There's no LyX option
that controls it, so far as I know. Using LaTeX, of course, you can do
anything you want.


Riki

Mea culpa! Six days stuck in the house because temps are below freezing and
there was a half-inch of ice (under the freezing rain) everywhere and I
blanked on that issue.

You're correct, of course.

Sigh,

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


Re: What controls figure numbering?

2024-01-18 Thread Richard Kimberly Heck

On 1/18/24 18:57, Rich Shepard wrote:

I'm recreating, under a different name, the doc that crashed LyX when I
tried to compile it. Using the KOMA-Script report class (scrreport.)

Because the only options for section numering that work are none or 
all I've

chosen to us all.

Chapter 1 has 3 figures; chapter 2 has 3 figures. In the prior version 
(and

all other report docs) the figures are numbered continously. Now, the new
doc re-numbers the chapter 2 figures 1--3 rather than 4--6.

Where is this controlled? I don't see any place in Document -> Settings.


I believe this is standard behavior for reports. There's no LyX option 
that controls it, so far as I know. Using LaTeX, of course, you can do 
anything you want.


Riki


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


Re: Compiling causes LyX to crash [UPDATE]

2024-01-18 Thread Steve Litt
Rich Shepard said on Wed, 17 Jan 2024 11:32:48 -0800 (PST)

>On Wed, 17 Jan 2024, Rich Shepard wrote:
>
>> Modifying a fifth document I notice that a sub-section is not
>> numbered and while I can save it pressing ctrl-h to build it with
>> pdflatex causes a message box to appear saying I've hit a bug.  
>
>I corrected a couple of spelling errors in one of the other files,
>saved, and compiled it without error. This is a client document so I
>cannot make a MWE from it or share it with the world.

Sure you can. Reduce it down to your own MWE, and then replace the
English with nonsense Latin. The only thing remaining that's
proprietary to the client is any commands or environments specific to
the client.

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: Failed to clone the git repo of lyx.

2024-01-18 Thread Hongyi Zhao
On Fri, Jan 19, 2024 at 12:01 AM Richard Kimberly Heck
 wrote:
>
> On 1/18/24 00:17, Hongyi Zhao wrote:
> > On Thu, Jan 18, 2024 at 1:11 PM Hongyi Zhao  wrote:
> >> On Wed, Jan 17, 2024 at 11:54 PM Pavel Sanda  wrote:
> >>> On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:
>  However, I am not sure if this setting is correct and can work as
>  expected. Because I don't have much experience in this regard.
> >>> I can't be of much help here. Just FYI we are in the middle of slow
> >>> transition to a new git server, so you update process might need
> >>> some tinkering in near future (we'll announce here and on
> >>> announce maillist).
> >> Based on what I've seen so far, my repo doesn't automatically update
> >> to the latest official repo commit, so maybe it's because of what
> >> you've described above, or maybe there's something wrong with my
> >> workflow script.
> > I noticed that my workflow was running into the error shown in the
> > attached screenshot
>
> If I'm reading that right, the error is when you try to push to origin.
> Does origin exist? Where? The problem is with access to that repo.

I tried to ask GPT4 and got the following response:

If the remote repository only supports the git protocol and there is a
"connection reset by the peer" error, it might be a network issue,
maybe a firewall restriction.

From the workflow file, it appears you're using the GitHub-hosted
runner (runs-on: ubuntu-latest). In this configuration, the 'origin'
is a token representing the GitHub repository where the workflow is
running. This is not a 'physical' repository but an address in the
GitHub system that corresponds to your source repository (in this case
https://github.com/hongyi-zhao/lyx.git).

If the 'push origin master' command fails, it's likely because the
GitHub token doesn't have the necessary permission to push to the
master branch, perhaps due to branch protection rules.

>
> Riki

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


What controls figure numbering?

2024-01-18 Thread Rich Shepard

I'm recreating, under a different name, the doc that crashed LyX when I
tried to compile it. Using the KOMA-Script report class (scrreport.)

Because the only options for section numering that work are none or all I've
chosen to us all.

Chapter 1 has 3 figures; chapter 2 has 3 figures. In the prior version (and
all other report docs) the figures are numbered continously. Now, the new
doc re-numbers the chapter 2 figures 1--3 rather than 4--6.

Where is this controlled? I don't see any place in Document -> Settings.

TIA,

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


Re: LyX 2.4.0, Release Candidate 1

2024-01-18 Thread Cor Blom

Op 15-01-2024 om 21:40 schreef Richard Kimberly Heck:
The LyX team is happy (and relieved) to announce the publication of the 
first 'release candidate' for the long awaited 2.4.0. You can find 
tarballs and binaries for Windows and OSX here:


     http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/

Strictly speaking, we are releasing RC1 for testing purposes only. 
Please report any bugs you may find to the user list or the developer 
list, as you prefer.


That said, many of us have been using the development branch for 
production work, and we believe it is pretty stable. Remember, however, 
that files saved with 2.4 cannot be opened in LyX 2.3.x unless you first 
export them to that format.


Riki




Those on opensuse can find packages here:

https://download.opensuse.org/repositories/Publishing/

This is a testing project. With the release of 2.4.0 final it will move 
to Tumbleweed and future Leap 15.6. The version for Tumbleweed has 
switched to using Qt 6.


Packaging or opensuse specific bugs can be reported at

https://bugzilla.opensuse.org/

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


Updated LyX donation page (was: LyX 2.4.0, Release Candidate 1)

2024-01-18 Thread Pavel Sanda
> On Tue, Jan 16, 2024 at 10:11:48PM +, Cesare Padovani wrote:
> > It is a pity. It's the first time I've heard that it's not possible to make 
> > donations. The problem should be solved.

Dear all, who knocked on our doors with donations, which we could not process.
As TUG accepted to collected donations on our behalf we changed the link on the 
LyX donation
page. I hope it will work now. Thanks for TUG's help and sorry for taking 
(literally)
years to act...

BCC-ing all the kind souls who repeatedly asked on this list :)
Pavel Sanda
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Extra space in moderncv doc [FIXED]

2024-01-18 Thread Rich Shepard

On Thu, 18 Jan 2024, Rich Shepard wrote:


Help needed.


Fixed it. I re-entered the second presentation, deleted the original, saved,
and compiled. No more extra space. I didn't see anything at the begining of
that flawed entry but re-entering it solved the problem.

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


Extra space in moderncv doc

2024-01-18 Thread Rich Shepard

I found presentations from 18 years ago that needed to be added to my CV.
For a reason I haven't been able to find, there's an extra line between the
two entries in the attached MWE. A .tex file is also attached.

Help 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 moderncv
\begin_preamble
% adjust the page margins
%%\usepackage[scale=0.75]{geometry}
%%\usepackage{fancyhdr}
%%\fancyfoot[C]{\thepage}

\moderncvtheme[black]{classic}
% possible themes are "classic" and "casual"
% optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 
'roman' (for roman fonts, instead of sans serif fonts)

% required
\firstname{Rich}
% required
\familyname{Whome}

% optional, remove the line if not wanted
\title{Curriculum Vitae}

% optional
% \address{street and number}{postcode city}
% '\\' adds a line break
\address{someplace\protect\\[0.1em] \protect\\[0.2em]}

% optional
\phone{511}
% optional
\mobile{522}
% optional
%\fax{503-667-8863}
% optional
\email{m...@example.com}
% optional
\extrainfo{www.example.com}

% optional
% \photo[height]{name}
% 'height' is the height the picture is resized to
% 'name' is the name of the picture file
% photo[64pt]{CV-image}

% optional
% quote{"You only live twice." (an optional quote)}
\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 default
\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 basic
\cite_engine_type default
\biblio_style plain
\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 2cm
\topmargin 4cm
\bottommargin 2cm
\headsep 1.5cm
\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 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
mwe
\end_layout

\begin_layout Entry
\begin_inset Argument 1
status open

\begin_layout Plain Layout
2006
\end_layout

\end_inset

 
\begin_inset Argument 2
status open

\begin_layout Plain Layout
Objective Environmental Planning/Permitting: A Breakthrough in Making Critical
 Decisions
\end_layout

\end_inset


\begin_inset Argument 3
status open

\begin_layout Plain Layout
Northwest Mining Association Annual Convention
\end_layout

\end_inset


\begin_inset Argument 4
status open

\begin_layout Plain Layout
Sparks, NV
\end_layout

\end_inset


\end_layout

\begin_layout Entry
\begin_inset Argument 1
status open

\begin_layout Plain Layout
2006
\end_layout

\end_inset


\begin_inset Argument 2
status open

\begin_layout Plain Layout
Environmental Decision-Making: A New Paradigm for Regulators
\end_layout

\end_inset


\begin_inset Argument 3
status open

\begin_layout Plain Layout
Bureau of Land Management, National Minerals Workshop
\end_layout

\end_inset


\begin_inset Argument 4
status open

\begin_layout Plain Layout
Sparks, NV
\end_layout

\end_inset


\end_layout

\end_body
\end_document


mwe.tex
Description: TeX document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling causes LyX to crash [UPDATE]

2024-01-18 Thread Eberhard W Lisse
This is not an MWE.

el

On 17/01/2024 23:12, Rich Shepard wrote:
> On Wed, 17 Jan 2024, Richard Kimberly Heck wrote:
[...]
> mwe.lyx (anonymized file) attached. So it the error message box. Clicking on
> the OK button kills LyX and removes all open tabs.
[...]

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


Re: Failed to clone the git repo of lyx.

2024-01-18 Thread Richard Kimberly Heck

On 1/18/24 00:17, Hongyi Zhao wrote:

On Thu, Jan 18, 2024 at 1:11 PM Hongyi Zhao  wrote:

On Wed, Jan 17, 2024 at 11:54 PM Pavel Sanda  wrote:

On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:

However, I am not sure if this setting is correct and can work as
expected. Because I don't have much experience in this regard.

I can't be of much help here. Just FYI we are in the middle of slow
transition to a new git server, so you update process might need
some tinkering in near future (we'll announce here and on
announce maillist).

Based on what I've seen so far, my repo doesn't automatically update
to the latest official repo commit, so maybe it's because of what
you've described above, or maybe there's something wrong with my
workflow script.

I noticed that my workflow was running into the error shown in the
attached screenshot


If I'm reading that right, the error is when you try to push to origin. 
Does origin exist? Where? The problem is with access to that repo.


Riki


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


Re: Failed to clone the git repo of lyx.

2024-01-18 Thread Hongyi Zhao
On Thu, Jan 18, 2024 at 4:34 PM Markus Oppmann
 wrote:
>
> Am 18.01.2024 um 06:17 schrieb lyx-users-requ...@lists.lyx.org:> On Thu,
> Jan 18, 2024 at 1:11?PM Hongyi Zhao  wrote:
> >>
> >> On Wed, Jan 17, 2024 at 11:54?PM Pavel Sanda  wrote:
> >>>
> >>> On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:
>  However, I am not sure if this setting is correct and can work as
>  expected. Because I don't have much experience in this regard.
> >>>
> >>> I can't be of much help here. Just FYI we are in the middle of slow
> >>> transition to a new git server, so you update process might need
> >>> some tinkering in near future (we'll announce here and on
> >>> announce maillist).
> >>
> >> Based on what I've seen so far, my repo doesn't automatically update
> >> to the latest official repo commit, so maybe it's because of what
> >> you've described above, or maybe there's something wrong with my
> >> workflow script.
> >
> > I noticed that my workflow was running into the error shown in the
> > attached screenshot
> >
> >>> Pavel
> >>
> >> Regards,
> >> Zhao
> While i cannot provide insight into the error cause, did you consider
> using git's --mirror push mode for your mirror repo?
> This option most importantly automatically does a force-update or
> force-delete of refs if they were changed or deleted. Also, it
> automatically pushes all locally present branches.
> 
>
> Also it may be useful to check this GitHub docs site about this matter:
> 

Now, I changed to the following:

name: "Sync"

on:
  schedule:
- cron:  '0 0 * * *'  # This sets the action to run every day at midnight

jobs:
  sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
  uses: actions/checkout@v3

- name: Mirror and Sync the repo
  run: |
git config --global user.name 'Hongyi Zhao'
git config --global user.email 'hongyi.z...@gmail.com'
git clone --mirror git://git.lyx.org/lyx.git
cd lyx
git remote set-url --push origin https://github.com/hongyi-zhao/lyx.git
git fetch -p origin
git push --mirror


Let's see whether it works this time.

> Regards, Markus

Regards,
Zhao

> --
> Markus Oppmann
> Öffentlicher Schlüssel:
> 
> --
> 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: Failed to clone the git repo of lyx.

2024-01-18 Thread Markus Oppmann
Am 18.01.2024 um 06:17 schrieb lyx-users-requ...@lists.lyx.org:> On Thu, 
Jan 18, 2024 at 1:11?PM Hongyi Zhao  wrote:


On Wed, Jan 17, 2024 at 11:54?PM Pavel Sanda  wrote:


On Wed, Jan 17, 2024 at 09:58:43PM +0800, Hongyi Zhao wrote:

However, I am not sure if this setting is correct and can work as
expected. Because I don't have much experience in this regard.


I can't be of much help here. Just FYI we are in the middle of slow
transition to a new git server, so you update process might need
some tinkering in near future (we'll announce here and on
announce maillist).


Based on what I've seen so far, my repo doesn't automatically update
to the latest official repo commit, so maybe it's because of what
you've described above, or maybe there's something wrong with my
workflow script.


I noticed that my workflow was running into the error shown in the
attached screenshot


Pavel


Regards,
Zhao
While i cannot provide insight into the error cause, did you consider 
using git's --mirror push mode for your mirror repo?
This option most importantly automatically does a force-update or 
force-delete of refs if they were changed or deleted. Also, it 
automatically pushes all locally present branches.



Also it may be useful to check this GitHub docs site about this matter: 



Regards, Markus
--
Markus Oppmann
Öffentlicher Schlüssel: 



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