Re: Figure numbering and cross references

2023-06-29 Thread Herbert Voss



Am 30.06.23 um 05:09 schrieb Dan:
Both the LaTeX and pdf files are attached.  (Ignore the text: it needs 
a lot of work!)


This is a simple problem, I'm sure, but I just can't get it to render 
right.


I have an article I'm adding an image to as a float and I have 
attached a label to it.


The first problem is that it comes up as Figure 0.1.  I'll eventually 
be putting this into a section, so how can I put this as Figure 1.1?  
How can I get this to put the section number correctly?


Then I add a sentence (see the very end of the text) "(See Figure .)"  
I add in a cross-reference to the label "Figure 1."  Okay, but the 
figure number does not come in, and I wanted to enumerate this, in 
case I wanted to add another figure in front of this one.  How do I do 
the enumeration?


Don't use the modul for sectionwise image count:
Documents->Preferences->Modules

or define a section.

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


Re: Lyx 2.4 beta3

2023-06-29 Thread Richard Kimberly Heck

On 6/29/23 10:53, Murat Yildizoglu wrote:

Dear friends,
I have upgraded from beta2 to beta3 today and I have the impression that I am 
meeting problems: a document I was able to compile with beta3 gives strange 
errors.
Before bothering you with these errors and me by preparing a small example, I 
would like to try to compile my document with beta2. Can I downgrade? Is beta2 
compatible with the document format of beta3? The preferences are compatible 
too (but this is not a problem because I have zipped my old preferences folder 
before installing beta3)?


The beta3 file format is different from the beta2 format. So you'd have 
to use lyx2lyx to convert any file you saved with beta3. This is less 
complicated than it sounds. Save the lyx2lyx directory from the beta3 
version before you uninstall it. Then after you reinstall beta2, copy 
that directory into place. It's just python so text files, so this will 
work. I think. Worst case, you can run lyx2lyx from the command line to 
do the conversion.


Riki


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


Re: latex vs xetex

2023-06-29 Thread Steve Litt
Patrick Dupre said on Thu, 29 Jun 2023 14:54:45 +0200

>Hello,
>
>I used to use lyx with latex.
>Now I get:
>Class moderncv Warning: "academicons requires xetex/luatex to work.
>Using alter natives.".
>
>How to I switch to xetex for a specific document?

I'm going to get a lot of static about this, but in any serious
documents I place a compile shellscript in the directory and use that
to compile the LyX document and display it in *my* PDF viewer. So each
doc has its own compilation method, and when there are problems, LyX is
almost completely ruled out as a root cause. It's either something I
did or an unfortunate CTAN change.

Over time, as things evolve, usually for the better, I can alter my
compile script to take advantage of the changes. With my compile
shellscript, I can do a reconfigure every time with configure.py. I
name my shellscript something like jj so when it's time to recompile my
book I simply do ./jj  . After all, I'm already in the book's directory.

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


texlogsieve

2023-06-29 Thread Dr Eberhard W Lisse
Hi,

how do I pipe the lualatex call into another program, such as texlogsieve?

Pointer to the Manual will do :-)-O

https://ctan.org/pkg/texlogsieve


greetings, el

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


Re: How do I increase TL2023 TeX capacity?

2023-06-29 Thread Dr Eberhard W Lisse
And what Steve and I are saying, doing this successive reduction one
will find the location of the error.  Then one can either remove the
offending code or figure out what to do to make it work.


In the case of a KOMA bug, the author is extremely responsive and
helpful.

el

On 29/06/2023 14:41, Rich Shepard wrote:
> On Wed, 28 Jun 2023, Steve Litt wrote:
[...]
> In my case it's a bug in the KOMA-Script book class.  Herbert filed a
> bug report and sent me a temporary replacement class.  Sunday, when
> /etc/cron.weekly runs, there might be an official fix.  If not, then
> next week.
[...]

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


Re: How do I increase TL2023 TeX capacity?

2023-06-29 Thread Dr Eberhard W Lisse
Selective quote.

Eventually you locate the line that triggers the error.

el


On 28/06/2023 23:59, Rich Shepard wrote:
> On Wed, 28 Jun 2023, Dr Eberhard W Lisse wrote:
> 
>> Reduce the document by half and look at the half which triggers the
>> error.
> 
> Would make no difference.
> 
> TL2023 needed an update. Updating TL2023 is now included in
> /etc/cron.weekly.
> 
> Rich


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


Lyx 2.4 beta3

2023-06-29 Thread Murat Yildizoglu
Dear friends,
I have upgraded from beta2 to beta3 today and I have the impression that I am 
meeting problems: a document I was able to compile with beta3 gives strange 
errors.
Before bothering you with these errors and me by preparing a small example, I 
would like to try to compile my document with beta2. Can I downgrade? Is beta2 
compatible with the document format of beta3? The preferences are compatible 
too (but this is not a problem because I have zipped my old preferences folder 
before installing beta3)?
Thank you for your help.
Best regards,

Murart

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


Re: latex vs xetex

2023-06-29 Thread Ricardo Berlasso
El jue, 29 jun 2023 a las 14:55, Patrick Dupre () escribió:

> Hello,
>
> I used to use lyx with latex.
> Now I get:
> Class moderncv Warning: "academicons requires xetex/luatex to work. Using
> alter
> natives.".
>
> How to I switch to xetex for a specific document?
>

Under Document → Settings → Fonts check "Use non-TeX fonts (via
XeTeX/LuaTeX)." By default LyX will use XeTeX, but you can pick another
font engine under Output.

Regards,
Ricardo




>
> Thank.
>
>
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> ===
>
> --
> 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


latex vs xetex

2023-06-29 Thread Patrick Dupre
Hello,

I used to use lyx with latex.
Now I get:
Class moderncv Warning: "academicons requires xetex/luatex to work. Using alter
natives.".

How to I switch to xetex for a specific document?

Thank.


===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
===

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


Re: biblatex question

2023-06-29 Thread Rich Shepard

On Wed, 28 Jun 2023, Rich Shepard wrote:


I'm getting a build error at the bibliography grey box at the end of the
document: "Package inputenc error: keyboard character used is undefined."


Part of the KOMA-Script bug.

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


Re: How do I increase TL2023 TeX capacity?

2023-06-29 Thread Rich Shepard

On Wed, 28 Jun 2023, Steve Litt wrote:


You can, and I suggest you try it just in case it works, but my experience
tells me that out of stack errors are caused by bad LaTeX authoring, not a
correct LaTeX file that just happens to need a little more stack.


Steve,

In my case it's a bug in the KOMA-Script book class. Herbert filed a bug
report and sent me a temporary replacement class. Sunday, when
/etc/cron.weekly runs, there might be an official fix. If not, then next
week.

Thanks,

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


Re: LyX 2.4, Beta 3

2023-06-29 Thread didiergabory
Thank you very much for all this work done.
Lyx is a great tool, thanks to all the contributors. 

- Mail original -

| A new beta of LyX 2.4 has been released. Source code and binaries for
| Windows and OSX can be found here:

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

| Please report any bugs either using our bug tracker or else by
| sending
| an email to

| lyx-de...@lists.lyx.org

| We hope to proceed to a release candidate in the near future.

| Riki

| --
| 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: biblatex question

2023-06-29 Thread Scott Kostyshak
On Wed, Jun 28, 2023 at 03:17:28PM -0700, Rich Shepard wrote:
> 
> I'm getting a build error at the bibliography grey box at the end of the
> document: "Package inputenc error: keyboard character used is undefined."
> 
> In the biblatex cheat sheet the first command in the preamble should be
> \usepackage[utf8]{inputenc}
> but in my document it's
> \usepackage[latin9]{inputenc}
> 
> I don't see where in Settings I can change that. It must be an option in one
> of the settings and I don't know which one.
> 
> Pointer needed.

In Document > Settings > Language change the Encoding radio button from 
"Language default" to "Other" and in the scrollbox select "Unicode (utf8)".

Scott


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