Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-08-29 Thread Guillaume Munch

Le 29/08/2016 à 03:11, Richard Heck a écrit :

On 08/28/2016 06:26 PM, Guillaume Munch wrote:


I intend to replace "Source pane" with "Code Preview Pane" (and related
changes) for the purpose of, I hope, avoid confusing people regarding
LyX not being meant for editing tex files in a round-trip manner.


I htink this is fine.



Will you also want it in 2.2.2 ? (I intend to wait 1 week before
committing.)

Otherwise, I'm personally done with what I planned to do for 2.2.2
(apart from the other message in this thread about backporting a
translation string).


Guillaume



Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-08-28 Thread Richard Heck
On 08/28/2016 06:26 PM, Guillaume Munch wrote:
> Le 31/07/2016 à 22:00, Guenter Milde a écrit :
>>
>>> What about "Code preview" ? inspired by the current French translation.
>>
>> "Code" or "source code" is usually the source for a program. LyX is a
>> document processor where the source is text in a markup language.
>>
>> The source panel shows documents in several markup languages (HTML,
>> LaTeX,
>> LyX), not Code.
>>
>
> Günter, I have to disagree with your description of the words "source"
> and "code" as I believe that this is not their accepted meaning.
>
> I intend to replace "Source pane" with "Code Preview Pane" (and related
> changes) for the purpose of, I hope, avoid confusing people regarding
> LyX not being meant for editing tex files in a round-trip manner.

I htink this is fine.

rh



Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-08-28 Thread Guillaume Munch

Le 30/07/2016 à 21:10, Guillaume Munch a écrit :

Le 27/07/2016 à 17:37, Jean-Pierre Chrétien a écrit :


After reviewing the various uses of Format in the menus and the
translations I made, I eventually agree upon this, as I use Format in
French in Preferences->File Formats.


Ok so for now intend to leave it, and backport it to stable again if no
objection.



There was no objection, but since in master I have finally opted for the
plural form (Formats) I ask again to backport (translation string + user
guide update) for the principle.

>From 81b6e874e7cbb071b93cd6fb0a5d68a5995de431 Mon Sep 17 00:00:00 2001
From: Guillaume Munch 
Date: Sun, 28 Aug 2016 16:51:15 +0100
Subject: [PATCH] Change "Output" into "Formats"

This reverts commit 030f4c6d1e56f94122d5e4fae08ac6a2f2b4c5cf.

The plural form seems more appropriate and the tag [[output]] is added for
disambiguation (e.g. for the French translation).
---
 lib/doc/UserGuide.lyx | 29 -
 src/frontends/qt4/GuiDocument.cpp |  8 
 2 files changed, 28 insertions(+), 9 deletions(-)

diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index ca7b29a..2960cf2 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -140,6 +140,7 @@ enumitem
 \html_css_as_file 0
 \html_be_strict true
 \author 1414654397 "Richard Heck"
+\author 2047637253 "Guillaume Munch"
 \end_header
 
 \begin_body
@@ -16125,7 +16126,7 @@ reference "sec:File-Formats"
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:Doc-Output"
+reference "sec:Doc-Formats"
 
 \end_inset
 
@@ -37596,7 +37597,7 @@ Format
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:Doc-Output"
+reference "sec:Doc-Formats"
 
 \end_inset
 
@@ -37863,7 +37864,7 @@ Format
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:Doc-Output"
+reference "sec:Doc-Formats"
 
 \end_inset
 
@@ -37960,7 +37961,7 @@ Format
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:Doc-Output"
+reference "sec:Doc-Formats"
 
 \end_inset
 
@@ -42755,10 +42756,16 @@ reference "sec:Branches"
 \end_layout
 
 \begin_layout Section
+
+\change_deleted 2047637253 1472399758
 Output
+\change_inserted 2047637253 1472400015
+Formats
+\change_unchanged
+
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:Doc-Output"
+name "sec:Doc-Formats"
 
 \end_inset
 
@@ -42949,15 +42956,27 @@ Save transient properties
  controls whether document settings that are frequently switched or that
  are specific to the user are saved with the document.
  The properties that are affected by option are currently
+\change_inserted 2047637253 1472400492
+:
+\change_unchanged
+
 \end_layout
 
 \begin_deeper
 \begin_layout Itemize
 the activation of change tracking
+\change_inserted 2047637253 1472400062
+,
+\change_unchanged
+
 \end_layout
 
 \begin_layout Itemize
 the output of tracked changes
+\change_inserted 2047637253 1472400062
+,
+\change_unchanged
+
 \end_layout
 
 \begin_layout Itemize
diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp
index aad6201..382aa96 100644
--- a/src/frontends/qt4/GuiDocument.cpp
+++ b/src/frontends/qt4/GuiDocument.cpp
@@ -750,7 +750,7 @@ GuiDocument::GuiDocument(GuiView & lv)
 	masterChildModule->childrenTW->resizeColumnToContents(2);
 
 
-	// output
+	// Formats
 	outputModule = new UiWidget;
 
 	connect(outputModule->defaultFormatCO, SIGNAL(activated(int)),
@@ -1425,7 +1425,7 @@ GuiDocument::GuiDocument(GuiView & lv)
 	docPS->addPanel(listingsModule, N_("Listings[[inset]]"));
 	docPS->addPanel(bulletsModule, N_("Bullets"));
 	docPS->addPanel(branchesModule, N_("Branches"));
-	docPS->addPanel(outputModule, N_("Output"));
+	docPS->addPanel(outputModule, N_("Formats[[output]]"));
 	docPS->addPanel(preambleModule, N_("LaTeX Preamble"));
 	docPS->setCurrentPanel("Document Class");
 // FIXME: hack to work around resizing bug in Qt >= 4.2
@@ -2840,7 +2840,7 @@ void GuiDocument::applyView()
 	bp_.listings_params =
 		InsetListingsParams(fromqstr(listingsModule->listingsED->toPlainText())).params();
 
-	// output
+	// Formats
 	bp_.default_output_format = fromqstr(outputModule->defaultFormatCO->itemData(
 		outputModule->defaultFormatCO->currentIndex()).toString());
 
@@ -3396,7 +3396,7 @@ void GuiDocument::paramsToDialog()
 		fontModule->fontencLE->setText(toqstr(bp_.fontenc));
 	}
 
-	// Output
+	// Formats
 	// This must be set _after_ fonts since updateDefaultFormat()
 	// checks osFontsCB settings.
 	// update combobox with formats
-- 
2.7.4



Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-08-28 Thread Guillaume Munch

Le 31/07/2016 à 22:00, Guenter Milde a écrit :

On 2016-07-30, Guillaume Munch wrote:

Le 26/07/2016 à 09:23, Guenter Milde a écrit :

(I have a similar issue with the "source panel": it should really be
called "output panel".



I cannot follow this argument: the "source panel" shows various output
formats (TeX/HTML/LyX) in source form - (as opposed to a user agent
(browser) showing HTML in a presentational form or the LyX GUI window
showing the source in presentational/interactive form.



"Source" depends on the context, and in LyX one would expect that it
refers to some source for LyX.


As the LyX-source format is one of the several source formats that can be
shown in the source panel, this is no problem.

In the context of editing a document that can be exported to several other
source formats, showing these other sources is not far off either...



What about "Code preview" ? inspired by the current French translation.


"Code" or "source code" is usually the source for a program. LyX is a
document processor where the source is text in a markup language.

The source panel shows documents in several markup languages (HTML, LaTeX,
LyX), not Code.

Günter



Günter, I have to disagree with your description of the words "source"
and "code" as I believe that this is not their accepted meaning.

I intend to replace "Source pane" with "Code Preview Pane" (and related
changes) for the purpose of, I hope, avoid confusing people regarding
LyX not being meant for editing tex files in a round-trip manner.

Guillaume

>From 0036cb0179d9304ce0fb7e0eacaeace60a2920df Mon Sep 17 00:00:00 2001
From: Guillaume Munch 
Date: Sun, 28 Aug 2016 21:57:17 +0100
Subject: [PATCH] Better title for ViewSource

The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the
format. The actual default format is computed.

The menu name "Source Pane" is replaced by "Code Preview Pane" to better reflect
its purpose.
---
 lib/ui/stdmenus.inc |  2 +-
 src/Format.cpp  |  1 +
 src/frontends/qt4/GuiViewSource.cpp | 57 ++---
 src/frontends/qt4/GuiViewSource.h   | 10 +--
 4 files changed, 44 insertions(+), 26 deletions(-)

diff --git a/lib/ui/stdmenus.inc b/lib/ui/stdmenus.inc
index 62ed8e2..87c78ed 100644
--- a/lib/ui/stdmenus.inc
+++ b/lib/ui/stdmenus.inc
@@ -336,7 +336,7 @@ Menuset
 		Item "Fold Math Macro|d" "math-macro-fold"
 		Separator
 		Item "Outline Pane|u" "dialog-toggle toc"
-		Item "Source Pane|S" "dialog-toggle view-source"
+		Item "Code Preview Pane|P" "dialog-toggle view-source"
 		Item "Messages Pane|g" "dialog-toggle progress"
 		Submenu "Toolbars|b" "toolbars"
 		Separator
diff --git a/src/Format.cpp b/src/Format.cpp
index 09fb33b..b605c4e 100644
--- a/src/Format.cpp
+++ b/src/Format.cpp
@@ -846,6 +846,7 @@ FlavorTranslator initFlavorTranslator()
 	f.addPair(OutputParams::XML, "docbook-xml");
 	f.addPair(OutputParams::HTML, "xhtml");
 	f.addPair(OutputParams::TEXT, "text");
+	f.addPair(OutputParams::LYX, "lyx");
 	return f;
 }
 
diff --git a/src/frontends/qt4/GuiViewSource.cpp b/src/frontends/qt4/GuiViewSource.cpp
index d347e1a..db50b47 100644
--- a/src/frontends/qt4/GuiViewSource.cpp
+++ b/src/frontends/qt4/GuiViewSource.cpp
@@ -149,7 +149,12 @@ void ViewSourceWidget::contentsChanged()
 void ViewSourceWidget::setViewFormat(int const index)
 {
 	outputFormatCO->setCurrentIndex(index);
-	view_format_ = outputFormatCO->itemData(index).toString();
+	string format = fromqstr(outputFormatCO->itemData(index).toString());
+	if (view_format_ != format) {
+		view_format_ = format;
+		// emit signal
+		formatChanged();
+	}
 }
 
 
@@ -185,8 +190,6 @@ void ViewSourceWidget::realUpdateView()
 	// we will try to preserve this
 	int const h_scroll = viewSourceTV->horizontalScrollBar()->value();
 
-	string const format = fromqstr(view_format_);
-
 	Buffer::OutputWhat output = Buffer::CurrentParagraph;
 	if (contentsCO->currentIndex() == 1)
 		output = Buffer::FullSource;
@@ -196,7 +199,8 @@ void ViewSourceWidget::realUpdateView()
 		output = Buffer::OnlyBody;
 
 	docstring content;
-	getContent(bv_, output, content, format, masterPerspectiveCB->isChecked());
+	getContent(bv_, output, content, view_format_,
+	   masterPerspectiveCB->isChecked());
 	QString old = document_->toPlainText();
 	QString qcontent = toqstr(content);
 #ifdef DEVEL_VERSION
@@ -306,6 +310,16 @@ void ViewSourceWidget::realUpdateView()
 }
 
 
+docstring ViewSourceWidget::currentFormatName() const
+{
+	// Compute the actual format used
+	string const format = !bv_ ? ""
+		: flavor2format(bv_->buffer().params().getOutputFlavor(view_format_));
+	Format const * f = formats.getFormat(format.empty() ? view_format_ : format);
+	return f ? f->prettyname() : from_utf8(view_format_);
+}
+
+
 // only used in DEVEL_MODE for debugging
 // need a proper LFUN if we want to implement it in release mode
 void ViewSourceWidget::gotoCursor()
@@ -341,9 +355,8 @@ void 

Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-31 Thread Guenter Milde
On 2016-07-30, Guillaume Munch wrote:
> Le 26/07/2016 à 09:23, Guenter Milde a écrit :
> (I have a similar issue with the "source panel": it should really be
> called "output panel".

>> I cannot follow this argument: the "source panel" shows various output
>> formats (TeX/HTML/LyX) in source form - (as opposed to a user agent
>> (browser) showing HTML in a presentational form or the LyX GUI window
>> showing the source in presentational/interactive form.

> "Source" depends on the context, and in LyX one would expect that it 
> refers to some source for LyX.

As the LyX-source format is one of the several source formats that can be
shown in the source panel, this is no problem.

In the context of editing a document that can be exported to several other
source formats, showing these other sources is not far off either...


> What about "Code preview" ? inspired by the current French translation.

"Code" or "source code" is usually the source for a program. LyX is a
document processor where the source is text in a markup language.

The source panel shows documents in several markup languages (HTML, LaTeX,
LyX), not Code.

Günter




Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-30 Thread Richard Heck
On 07/30/2016 04:10 PM, Guillaume Munch wrote:
> Le 27/07/2016 à 17:37, Jean-Pierre Chrétien a écrit :
>>
>> So what about "LaTeX source"? Replace it by "Source Code"? or simply
>> "Code"?
>> Or make it follow a change of the selected format?
>>
>
> Sorry I only see now that you are already suggesting "Code". I like
> it, e.g. "Code Preview Pane".

That is good.

rh




Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-30 Thread Guillaume Munch

Le 27/07/2016 à 17:37, Jean-Pierre Chrétien a écrit :


After reviewing the various uses of Format in the menus and the
translations I made, I eventually agree upon this, as I use Format in
French in Preferences->File Formats.


Ok so for now intend to leave it, and backport it to stable again if no 
objection.




So what about "LaTeX source"? Replace it by "Source Code"? or simply
"Code"?
Or make it follow a change of the selected format?



Sorry I only see now that you are already suggesting "Code". I like it, 
e.g. "Code Preview Pane".




Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-30 Thread Guillaume Munch

Le 26/07/2016 à 09:23, Guenter Milde a écrit :

(I have a similar issue with the "source panel": it should really be
called "output panel".


I cannot follow this argument: the "source panel" shows various output
formats (TeX/HTML/LyX) in source form - (as opposed to a user agent
(browser) showing HTML in a presentational form or the LyX GUI window
showing the source in presentational/interactive form.


"Source" depends on the context, and in LyX one would expect that it 
refers to some source for LyX.


What about "Code preview" ? inspired by the current French translation.



I still don't like the idea to summarise saving the lyx file and export
under "output".



Do you have a suggestion? Keeping "Formats"?



Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-27 Thread Kornel Benko
Am Mittwoch, 27. Juli 2016 um 17:37:02, schrieb Jean-Pierre Chrétien 

> Le 26/07/2016 09:23, Guenter Milde a écrit :
> > On 2016-07-25, Guillaume Munch wrote:
> >> Le 24/07/2016 à 16:48, Jean-Pierre Chrétien a écrit :
> >>> Le 22/07/2016 16:21, Guillaume Munch a écrit :
>  Le 22/07/2016 à 14:31, Jean-Pierre Chrétien a écrit :
> >
> > ...
> >
> > What about "Export" rather than "Format"? This covers all three items in
> > the subwindow.
> >
>  It has the same issue as Output: "save transient properties" controls
>  the source file, rather than an output file.
> 
> In that case, what prevents the "Save Transient Properties" checkbox to be 
> inserted in the Document menu, before or after the "Compressed" and "Disable 
> Editing" checkboxes? Is it the fact that no tooltip is allowed there?
> Submenu title "Ouput" would remain appropriate as it is if this checkbox was 
> not 
> in the submenu.
> >
> 
> >
> >>> I agree with this, what about "LaTeX export panel" instead (and "LaTeX
> >>> export as window title)?
> >
> >> 1. no "LaTeX" since one can access any output format
> 
> Shame on me, I'd never seen that the pane could also display other sources 
> than 
> LaTeX. The pane title is thus badly named 'LaTeX Source".
> 
> >> To come back to your original source of disagreement, I just noticed
> >> that "Format" is currently used in the source panel in the same way as I
> >> meant it, and is already translated into "Format" in French (but your
> >> problem was more a collision with « Format local » maybe).
> >
> > IMV, the use of "Format" in the source pane is correct and unambiguous.
> 
> After reviewing the various uses of Format in the menus and the translations 
> I 
> made, I eventually agree upon this, as I use Format in French in 
> Preferences->File Formats.
> 
> So what about "LaTeX source"? Replace it by "Source Code"? or simply "Code"?
> Or make it follow a change of the selected format?
> 

Or 'Preview Output Source Formats'?

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-27 Thread Jean-Pierre Chrétien

Le 26/07/2016 09:23, Guenter Milde a écrit :

On 2016-07-25, Guillaume Munch wrote:

Le 24/07/2016 à 16:48, Jean-Pierre Chrétien a écrit :

Le 22/07/2016 16:21, Guillaume Munch a écrit :

Le 22/07/2016 à 14:31, Jean-Pierre Chrétien a écrit :


...


What about "Export" rather than "Format"? This covers all three items in
the subwindow.



It has the same issue as Output: "save transient properties" controls
the source file, rather than an output file.


In that case, what prevents the "Save Transient Properties" checkbox to be 
inserted in the Document menu, before or after the "Compressed" and "Disable 
Editing" checkboxes? Is it the fact that no tooltip is allowed there?
Submenu title "Ouput" would remain appropriate as it is if this checkbox was not 
in the submenu.







I agree with this, what about "LaTeX export panel" instead (and "LaTeX
export as window title)?



1. no "LaTeX" since one can access any output format


Shame on me, I'd never seen that the pane could also display other sources than 
LaTeX. The pane title is thus badly named 'LaTeX Source".



To come back to your original source of disagreement, I just noticed
that "Format" is currently used in the source panel in the same way as I
meant it, and is already translated into "Format" in French (but your
problem was more a collision with « Format local » maybe).


IMV, the use of "Format" in the source pane is correct and unambiguous.


After reviewing the various uses of Format in the menus and the translations I 
made, I eventually agree upon this, as I use Format in French in 
Preferences->File Formats.


So what about "LaTeX source"? Replace it by "Source Code"? or simply "Code"?
Or make it follow a change of the selected format?

--
Jean-Pierre





Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-26 Thread Guenter Milde
On 2016-07-25, Guillaume Munch wrote:
> Le 24/07/2016 à 16:48, Jean-Pierre Chrétien a écrit :
>> Le 22/07/2016 16:21, Guillaume Munch a écrit :
>>> Le 22/07/2016 à 14:31, Jean-Pierre Chrétien a écrit :

...

 What about "Export" rather than "Format"? This covers all three items in
 the subwindow.

>>> It has the same issue as Output: "save transient properties" controls
>>> the source file, rather than an output file.

>> Export covers this, as it controls "Export as LyX file" in a way.
>> And the dropdown menu in the LyX format submenu is the same as in
>> File->Export.

> I am not sure. Is there not actually an additional confusion possible
> with people who might be given to think that it is only for the Export
> menu and not saving?

Yes. "Normal" saving of a document as LyX file is (at least for me) not
export.


>>> (I have a similar issue with the "source panel": it should really be
>>> called "output panel". 

I cannot follow this argument: the "source panel" shows various output
formats (TeX/HTML/LyX) in source form - (as opposed to a user agent
(browser) showing HTML in a presentational form or the LyX GUI window
showing the source in presentational/interactive form.

>> Calling it "source" is entirely inappropriate and propagates the false
>> impression that LyX intends to be a LaTeX editor.)

Not really - the "source panel" provides a (pre)view for both, the native LyX
format and various output formats.

>> I agree with this, what about "LaTeX export panel" instead (and "LaTeX
>> export as window title)?

> 1. no "LaTeX" since one can access any output format

Indeed: e.g. setting Format: LyXHTML and still having a panel header
"LaTeX Source" is odd.

> 2. either "output" or "export".

Why not "source view panel"? The panel

* shows the document in various formats in "raw text" / source form,

* allows only viewing, no editing (unfortunately).


> Actually having "Output" everywhere that we discussed would be
> self-consistent since the panel proposes the LyX format too. So
> "Output" would encompass the LyX files for both the "source view" and
> the output options (whereas "Export" would be meant for something
> distinct from saving). Because I appreciate consistency, this is now
> what I am considering, unless somebody has a better idea.

I still don't like the idea to summarise saving the lyx file and export
under "output".

> To come back to your original source of disagreement, I just noticed
> that "Format" is currently used in the source panel in the same way as I
> meant it, and is already translated into "Format" in French (but your
> problem was more a collision with « Format local » maybe).

IMV, the use of "Format" in the source pane is correct and unambiguous.

Günter



Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-25 Thread Guillaume Munch

Le 24/07/2016 à 16:48, Jean-Pierre Chrétien a écrit :

Le 22/07/2016 16:21, Guillaume Munch a écrit :

Le 22/07/2016 à 14:31, Jean-Pierre Chrétien a écrit :

Le 21/07/2016 19:30, Richard Heck a écrit :

commit ad72f2b5544bbe42c575a3028f629c810fc0a409
Author: Richard Heck 
Date:   Thu Jul 21 14:25:32 2016 -0400

 Start preparations for 2.2.1.



+
+- New document parameter "Save transient properties" under Document
Properties >
+  Format. (Output has been renamed into Format.) Disabling this
option is made
+  to play nicer in collaborative settings. (bug 9841)


Rather Document->Settings->Format, and "Output" has not been yet renamed
to "Format".


I guess we will have to live with this omission of mine :) Sorry.



AFAIR the threads on the devel list, thre has been a decision abut this.
Bu I meant "under Document->Settings->Output" of course.



I must know since I was part of the decision. But I was referring to the
fact of forgetting to update the release notes, which I really think is
a minor problem.




[...]


What about "Export" rather than "Format"? This covers all three items in
the subwindow.


It has the same issue as Output: "save transient properties" controls
the source file, rather than an output file.


Export covers this, as it controls "Export as LyX file" in a way.
And the dropdown menu in the LyX format submenu is the same as in
File->Export.


I am not sure. Is there not actually an additional confusion possible
with people who might be given to think that it is only for the Export
menu and not saving?





(I have a similar issue with the "source panel": it should really be
called "output panel". Calling it "source" is entirely inappropriate and
propagates the false impression that LyX intends to be a LaTeX editor.)


I agree with this, what about "LaTeX export panel" instead (and "LaTeX
export as window title)?


1. no "LaTeX" since one can access any output format
2. either "output" or "export".

Actually having "Output" everywhere that we discussed would be
self-consistent since the panel proposes the LyX format too. So
"Output" would encompass the LyX files for both the "source view" and
the output options (whereas "Export" would be meant for something
distinct from saving). Because I appreciate consistency, this is now
what I am considering, unless somebody has a better idea.

To come back to your original source of disagreement, I just noticed
that "Format" is currently used in the source panel in the same way as I
meant it, and is already translated into "Format" in French (but your
problem was more a collision with « Format local » maybe).

Thank you for the suggestions.



Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-24 Thread Jean-Pierre Chrétien

Le 22/07/2016 16:21, Guillaume Munch a écrit :

Le 22/07/2016 à 14:31, Jean-Pierre Chrétien a écrit :

Le 21/07/2016 19:30, Richard Heck a écrit :

commit ad72f2b5544bbe42c575a3028f629c810fc0a409
Author: Richard Heck 
Date:   Thu Jul 21 14:25:32 2016 -0400

 Start preparations for 2.2.1.



+
+- New document parameter "Save transient properties" under Document
Properties >
+  Format. (Output has been renamed into Format.) Disabling this
option is made
+  to play nicer in collaborative settings. (bug 9841)


Rather Document->Settings->Format, and "Output" has not been yet renamed
to "Format".


I guess we will have to live with this omission of mine :) Sorry.



AFAIR the threads on the devel list, thre has been a decision abut this.
Bu I meant "under Document->Settings->Output" of course.

[...]


What about "Export" rather than "Format"? This covers all three items in
the subwindow.


It has the same issue as Output: "save transient properties" controls
the source file, rather than an output file.


Export covers this, as it controls "Export as LyX file" in a way.
And the dropdown menu in the LyX format submenu is the same as in File->Export.



(I have a similar issue with the "source panel": it should really be
called "output panel". Calling it "source" is entirely inappropriate and
propagates the false impression that LyX intends to be a LaTeX editor.)


I agree with this, what about "LaTeX export panel" instead (and "LaTeX export as 
window title)?



And for transient properties, "LyX save options" seems
better to me that "LyX format".


Makes sense. Speaking of save options, was there not a discussion about
"save compressed" missing in the dialog?


There has been I guess, I see a "Compressed" item under Document.

--
Jean-Pierre



Thanks for the feedback.

If nobody has a better idea for the name, then we can revert to Output.
I'll be waiting for opinions.


Guillaume







Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-22 Thread Guillaume Munch

Le 22/07/2016 à 14:31, Jean-Pierre Chrétien a écrit :

Le 21/07/2016 19:30, Richard Heck a écrit :

commit ad72f2b5544bbe42c575a3028f629c810fc0a409
Author: Richard Heck 
Date:   Thu Jul 21 14:25:32 2016 -0400

 Start preparations for 2.2.1.



+
+- New document parameter "Save transient properties" under Document
Properties >
+  Format. (Output has been renamed into Format.) Disabling this
option is made
+  to play nicer in collaborative settings. (bug 9841)


Rather Document->Settings->Format, and "Output" has not been yet renamed
to "Format".


I guess we will have to live with this omission of mine :) Sorry.



BTW, as a translator in French, I find the change from "Output" to
"Format" (which was discussed in a previous thread) a bit awkward as I
already translate "Layout" as "Format".


Then one could translate Format into something else, though I have to
admit that nothing else comes to mind.


What about "Export" rather than "Format"? This covers all three items in
the subwindow.


It has the same issue as Output: "save transient properties" controls
the source file, rather than an output file.

(I have a similar issue with the "source panel": it should really be
called "output panel". Calling it "source" is entirely inappropriate and
propagates the false impression that LyX intends to be a LaTeX editor.)


And for transient properties, "LyX save options" seems
better to me that "LyX format".


Makes sense. Speaking of save options, was there not a discussion about
"save compressed" missing in the dialog?

Thanks for the feedback.

If nobody has a better idea for the name, then we can revert to Output.
I'll be waiting for opinions.


Guillaume




Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-07-22 Thread Jean-Pierre Chrétien

Le 21/07/2016 19:30, Richard Heck a écrit :

commit ad72f2b5544bbe42c575a3028f629c810fc0a409
Author: Richard Heck 
Date:   Thu Jul 21 14:25:32 2016 -0400

 Start preparations for 2.2.1.



+
+- New document parameter "Save transient properties" under Document Properties 
>
+  Format. (Output has been renamed into Format.) Disabling this option is made
+  to play nicer in collaborative settings. (bug 9841)


Rather Document->Settings->Format, and "Output" has not been yet renamed to 
"Format".


BTW, as a translator in French, I find the change from "Output" to "Format" 
(which was discussed in a previous thread) a bit awkward as I already translate 
"Layout" as "Format".
What about "Export" rather than "Format"? This covers all three items in the 
subwindow. And for transient properties, "LyX save options" seems better to me 
that "LyX format".


--
Jean-Pierre