Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Merge branch 'staging' into unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
gadmm committed Feb 11, 2018
2 parents 3b47908 + 649382d commit 2dc0be9
Show file tree
Hide file tree
Showing 63 changed files with 7,719 additions and 3,320 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ For Ubuntu this is distributed on the PPA:
# What is LyX?

LyX is a document processor and equation editor that encourages an approach to
writing based on the structure of your documents, rather than their
appearance. It is released under a Free Software / Open Source license.
writing based on the structure of your documents, rather than their appearance.
It is released under a Free Software / Open Source license.

LyX is for people who write and want their writing to look great, right out of
the box. No more endless tinkering with formatting details, “finger painting”
Expand Down Expand Up @@ -76,13 +76,17 @@ try <https://github.com/gadmm/lyx-unstable/compare/master...staging>.
* Better display for High-dpi screens: lines and drawings are now proportional
to the zoom level.
* Better display for Low-dpi screens: lines and drawings are now antialiased.
* Beamer-flex: Layout and examples for beamer that uses flex insets instead of
environments for frames and similar insets. (Also available from
<https://github.com/gadmm/beamer-flex>.)
* Beamer-flex: Layout for beamer that uses flex insets instead of environments
for frames and similar environments, complete with documentation, templates
and examples. This solves common issues reported by Beamer users. (The layout
is available from <https://github.com/gadmm/beamer-flex> for backwards-
compatibility.)
* A new Custom insets menu is available from the toolbar, useful for Beamer-flex.
The button remembers which inset was entered last.
* New command to split an inset (inset-split), useful for Beamer-flex.
* Layout and templates for easychair.cls. (Also available from
<https://github.com/gadmm/easychair-lyx>.)
* Custom insets are now available from the toolbar.
* Improved default parameters and shortcuts.
* Improved default parameters and shortcuts, more beginner-friendly.
* Open hyperlinks in application from the contextual menu in a secure way.
(#9906)

Expand All @@ -101,7 +105,7 @@ try <https://github.com/gadmm/lyx-unstable/compare/master...staging>.
* Fix automatically loaded packages with acmart.
* Properly enforce scrolling boundaries.
* Properly reset references and counters when updating citations.
* Fix visual ambiguity between nested pars and continues environments. (#10978)
* Properly reset selection when inputting a composed character.

## Minor enhancements

Expand Down
102 changes: 59 additions & 43 deletions autotests/export/lyx2lyx/lyx_2_2_test.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ logicalmkup
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
Expand Down Expand Up @@ -94,11 +94,15 @@ Test reversion/conversion between 2.2 and 2.1 formats with lyx2lyx
\end_layout

\begin_layout Description
BoxFeatures,
\begin_inset space ~
\end_inset

colorbox: The word
\begin_inset Newline newline
\end_inset

shadowsize at start of a line did trigger insertion of box options.
shadowsize at start of a line must not trigger insertion of box options.

\end_layout

Expand All @@ -123,7 +127,7 @@ backgroundcolor "orange"
status open

\begin_layout Plain Layout
simple green frame around orange box
framecolor "green" around orange box
\end_layout

\end_inset
Expand Down Expand Up @@ -173,24 +177,41 @@ thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none"
backgroundcolor "cyan"
status open

\begin_layout Plain Layout
no frame around cyan box
framecolor "black" around cyan box
\begin_inset Note Note
status open

\begin_layout Plain Layout
nested inset
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
Fancy boxes have the colour chooser greyed out:
\end_layout

\begin_layout Standard
\begin_inset Box ovalbox
position "t"
position "b"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 0
width "40col%"
width "20col%"
special "none"
height "1in"
height_special "totalheight"
Expand All @@ -202,24 +223,20 @@ backgroundcolor "none"
status open

\begin_layout Plain Layout
no frame around cyan box
framecolor at bol must not trigger replacement
\end_layout

\end_inset


\begin_inset Newline newline
\end_inset


\begin_inset Box Shadowbox
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 0
width "40col%"
width "30col%"
special "none"
height "1in"
height_special "totalheight"
Expand All @@ -231,7 +248,7 @@ backgroundcolor "none"
status open

\begin_layout Plain Layout
no frame around cyan box
shadowsize at bol must not trigger insertion of box options
\end_layout

\end_inset
Expand All @@ -244,7 +261,7 @@ has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 0
width "40col%"
width "12col%"
special "none"
height "1in"
height_special "totalheight"
Expand All @@ -256,24 +273,20 @@ backgroundcolor "none"
status open

\begin_layout Plain Layout
no frame around cyan box
oval, thick
\end_layout

\end_inset


\begin_inset Newline newline
\end_inset


\begin_inset Box Shaded
\begin_inset Box Doublebox
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 0
width "40col%"
width "30col%"
special "none"
height "1in"
height_special "totalheight"
Expand All @@ -284,21 +297,25 @@ framecolor "black"
backgroundcolor "none"
status open

\begin_layout Plain Layout
no frame around cyan box
\begin_layout LyX-Code
double frame
\end_layout

\end_inset


\begin_inset Box Doublebox

\end_layout

\begin_layout Standard
The background of
\begin_inset Box Shaded
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 0
width "40col%"
width "30col%"
special "none"
height "1in"
height_special "totalheight"
Expand All @@ -310,20 +327,16 @@ backgroundcolor "none"
status open

\begin_layout Plain Layout
no frame around cyan box
shaded boxes
\end_layout

\end_inset


is set in Document>Settings>Colors
\end_layout

\begin_layout Standard
The conversion must not change LyX code examples, e.
\begin_inset space \thinspace{}
\end_inset

g., for fancy frames:
The problem was detected in a LyX-Code example for fancy frames:
\end_layout

\begin_layout LyX-Code
Expand Down Expand Up @@ -352,8 +365,15 @@ shadowsize}{1pt}]{shadow}

\end_deeper
\begin_layout Description
Hyphens vs.
dashes in different context
Hyphens
\begin_inset space ~
\end_inset

vs.
\begin_inset space ~
\end_inset

dashes in different context
\end_layout

\begin_deeper
Expand Down Expand Up @@ -440,6 +460,7 @@ LyX-Code
hyphens -- ---; en–dash, em—dash;
\end_layout

\end_deeper
\end_deeper
\begin_layout Subsubsection
ligature breaks inserted by lyx2lyx
Expand All @@ -458,11 +479,7 @@ Rows of hyphens on subsequent lines -- ---; en–dash, em—dash and more hyphen
\end_layout

\begin_layout Standard

\bar under
H
\bar default
yphens with explicit ligature breaks -\SpecialChar ligaturebreak
Hyphens with explicit ligature breaks -\SpecialChar ligaturebreak
- -\SpecialChar ligaturebreak
-\SpecialChar ligaturebreak
-; en–dash, em—dash.
Expand Down Expand Up @@ -516,7 +533,7 @@ literal "false"
\end_inset


\begin_inset Formula $\ @{-->>}[r]$
\begin_inset Formula $math--formula>>$
\end_inset


Expand Down Expand Up @@ -550,6 +567,5 @@ set_width "auto"

\end_layout

\end_deeper
\end_body
\end_document
Loading

0 comments on commit 2dc0be9

Please sign in to comment.