Bug with 2.3.8->2.4

2023-01-27 Thread Herbert Voss

In a document of 2.3 I see:


|\begin_inset Graphics
    filename 3-42.jpg
    lyxscale 15
    width 15text%
    clip
    rotateOrigin center
    height 20.0theight%

\end_inset
|


Reading the file with 2.4 on macOS I see:


\begin_inset Graphics
    filename /private/tmp/3-42.jpg
    lyxscale 15
    width 15text%
    clip
    rotateOrigin center
    special height=20.0theight%

\end_inset
...


which is converted to LaTeX as


\centering{}\includegraphics[clip,width=0.15\textwidth,height=20.0theight%]{/private/tmp/3-42}\\
\includegraphics[clip,width=0.15\textwidth,height=20.0theight%]{/private/tmp/3-42}\\
\includegraphics[clip,width=0.15\textwidth,height=20.0theight%]{/private/tmp/3-42}\\
...


which is wrong!

Herbert


Version 2.4.0-beta2 (11. Dezember 2022)

Qt-Version (Laufzeit): 6.4.1 (Plattform: cocoa)

Qt-Version (bei Erstellung): 6.4.1

OS-Version (bei Erstellung): macOS 13.1

Python-Aufruf: python3 -tt
#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties false
\origin unavailable
\textclass scrbook
\begin_preamble
% Definitionen um Legenden neben Tabellen und Abbildungen zu setzen
\usepackage{sidecap}

\newcommand{\FigBesBeg}[1][1.0]{%
 \let\MyFigure\figure
 \let\MyEndfigure\endfigure
 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}

\newcommand{\FigBesEnd}{%
 \let\figure\MyFigure
 \let\endfigure\MyEndfigure}
\end_preamble
\use_default_options true
\begin_modules
logicalmkup
\end_modules
\maintain_unincluded_children true
\language british
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "libertine" "default"
\font_sans "helvet" "default"
\font_typewriter "cmtt" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts true
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype true
\use_dash_ligatures true
\graphics default
\default_output_format pdf5
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_title "Models for biological Rhythms"
\pdf_author "Karl-Heinz Witte, Wolfgang Engelmann and Anders Johnsson"
\pdf_subject "Chronobiology"
\pdf_keywords "Examples Rhythms Models Simulations Significance"
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks true
\pdf_pdfborder true
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle true
\pdf_quoted_options "linkcolor=red, citecolor=blue, urlcolor=green, 
filecolor=blue"
\papersize a5paper
\use_geometry false
\use_package amsmath 0
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine biblatex
\cite_engine_type authoryear
\biblio_style plainnat
\biblio_options uniquename=false
\biblatex_bibstyle biblatex-spbasic
\biblatex_citestyle biblatex-spbasic
\use_bibtopic false
\use_indices true
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 0
\use_minted 0
\index Subject index
\shortcut idx
\color #008000
\end_index
\index Name index
\shortcut nam
\color #00
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 1
\papercolumns 1
\papersides 2
\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
The 
\emph on
Kalanchoe
\emph default
 petal movement rhythm as shown in figure 
\begin_inset CommandInset ref
LatexCommand ref
reference "fig:KalanchoePetalCells"

\end_inset

 and the motor cells shrinking and swelling leads to the closing and opening of 
the flowers 
\series bold

\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
FigBesBeg
\end_layout

\end_inset


\series default

\begin_inset Float figure
placement H
wide false
sideways false
status open

\begin_layout Plain Layout
\align center
\begin_inset Graphics
filename 3-42.jpg
lyxscale 15
width 15text%
clip
rotateOrigin center
height 20.0theight%

\end_inset


\begin_inset Newline newline
\end_inset


\begin_inset Graphics
filename 3-42.jpg
lyxscale 15
width 15text%
clip
rotateOrigin center
height 20.0theight%

\end_inset


\begin_inset Newline newline
\end_inset


\begin_inset Graphics
filename 3-42.jpg
lyxscale 15
width 15text%
clip
rotateOrigin center
height 20.0theight%

\end_inset


\begin_inset Newline newline
\end_inset


\begin_inset Caption Standard

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label

Re: de Additional.lyx roundtrip lyx2lyx failing

2023-01-27 Thread Scott Kostyshak
On Fri, Jan 27, 2023 at 07:34:12AM +0100, Jürgen Spitzmüller wrote:
> Am Donnerstag, dem 26.01.2023 um 23:17 -0500 schrieb Scott Kostyshak:
> > Anything to be fixed here, or best to ignore the tests?
> 
> Ignore it for now. de/Additional and Additional are still under
> construction.

Sounds good, thanks!

Scott


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


Re: LyX 2.4.0-beta2; zoom slider

2023-01-27 Thread Daniel

On 2023-01-27 07:30, Jürgen Spitzmüller wrote:

Am Mittwoch, dem 25.01.2023 um 19:26 +0100 schrieb Daniel:

Anyway, for system default, there is a solutions that seem compatible
with your position:

Set the system default to 100% (and even better make the system
default
so that it matches the actual size of the font). There was a
discussion
about this on the list if I remember correctly.


100% is way too low on all Linux system I have used. This is not a good
default.


Ah, that was poor explanation on my side. I meant: whatever LyX 
considers the correct system default, say 150% on macOS, make that show 
up as 100%.


Anyway, I also think the scaling factor alternative is better since it 
can satisfy more needs (for people who use a different default zoom).


Daniel


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