Re: Important poll: would this dialog be confusing?

2018-03-19 Thread Emile Lunardon
I don't remember seeing the possibility to install LyX without LaTeX (I'll
have to change my glasses !), but I want to trust you on this point ! In
this case, I would be more than happy to agree with your analysis.

2018-03-19 17:16 GMT+01:00 racoon :

> On 19.03.2018 00:41, emile lunardon wrote:
>
>> Miktex 2.9 or later is mandatory to compile LyX document but if LyX is
>> used to simply generate LyX document  (or LaTeX  document) without
>> compiling it, we should not forbid this use. So I would suggest to install
>> LyX in all cases and if need be, to give the choice to the user either to
>> upgrade himself properly Miktex (followed by a reconfiguration of LyX) or
>> to let the LyX installer perform this Miktex  upgrade.
>>
>
> I am not sure I understand this correctly.
>
> It is still possible to install LyX without LaTeX. For example by checking
> "do not use LaTeX" during installation. But then it should be made sure
> that the dialog about upgrading MiKTeX should come only after this option
> and the upgrade should be done only if MiKTeX is really used with LyX.
>
> Daniel
>
>


Re: LyX 2.3 --- Citation at end of a quotation

2018-03-19 Thread Rich Shepard

On Mon, 19 Mar 2018, F M Salter wrote:


    I am trying to cite a quotation, so that the citation is placed right
justified on the line following the last line of the quotation.



    Is there a correct way to achieve the desired output automatically?


Frank,

  I won't claim this to be the 'correct' way, but what I've done after a
newline is type the citation then use Edit -> Paragraph settings -> Right.
If vertical spacing is needed to keep the quotation and citation together a
slight negative spacing usually does the trick. Otherwise, I adjust the text
so the page break is where I want it to be.

Regards,

Rich



LyX 2.3 --- Citation at end of a quotation

2018-03-19 Thread F M Salter
Hi.

    I am trying to cite a quotation, so that the citation is placed
right justified on the line following the last line of the quotation.

    After ^Enter ^space  , LyX displays a
line with the citation on the right.  But the pdf output has the
citation left justified on the following line.

    If the citation is placed right justified on the following line, it
appears as requested, but the citation can become a widow.

    Is there a correct way to achieve the desired output automatically?

Regards

Frank Salter




Re: Long preview compilation due to unnecessarily often calling pdflatex?

2018-03-19 Thread Scott Kostyshak
On Mon, Mar 19, 2018 at 10:35:08AM +, Jürgen Spitzmüller wrote:
> Am Montag, den 19.03.2018, 11:29 +0100 schrieb Jürgen Spitzmüller:
> > Am Montag, den 19.03.2018, 11:17 +0100 schrieb Klaus-Dieter Bauer:
> > > >  Hopefully someone here knows whether there's something we
> > > 
> > > should improve.
> > > 
> > > Mostly just the ability to get a faster error reports and layout
> > > previews by forcing single-pass compilation of the PDF preview
> > > (unless it already exists and I just can't find it).
> > 
> > I think you can define your own "one-pass" LaTeX > PDF (maybe
> > incomplete)" converter by omitting the latex flag. I don't think it
> > is
> > a good idea to provide this in LyX, though, since we do not want to
> > provide something that potentially results in incomplete or wrong
> > documents.
> 
> Having said that, there are this two comparable requests:
> https://www.lyx.org/trac/ticket/10080
> https://www.lyx.org/trac/ticket/7521
> 
> I think something like a "draft" mode could be done, given that it's
> clearly marked as such (and people do not have the impression their
> document is final).

I just did not know how LyX decided a rerun was necessary, so I just
wanted to make sure we weren't misparsing the logs.

Scott


signature.asc
Description: PGP signature


Re: Important poll: would this dialog be confusing?

2018-03-19 Thread racoon

On 19.03.2018 00:41, emile lunardon wrote:
Miktex 2.9 or later is mandatory to compile LyX document but if LyX is 
used to simply generate LyX document  (or LaTeX  document) without 
compiling it, we should not forbid this use. So I would suggest to 
install LyX in all cases and if need be, to give the choice to the user 
either to upgrade himself properly Miktex (followed by a reconfiguration 
of LyX) or to let the LyX installer perform this Miktex  upgrade.


I am not sure I understand this correctly.

It is still possible to install LyX without LaTeX. For example by 
checking "do not use LaTeX" during installation. But then it should be 
made sure that the dialog about upgrading MiKTeX should come only after 
this option and the upgrade should be done only if MiKTeX is really used 
with LyX.


Daniel



LyX & conference template...

2018-03-19 Thread Bernt Lie
Hi

I use LyX 2.2 on Windows 10 (64 bit). I need to write some papers for a 
conference, and the conference has a specific template - originally defined for 
Word. I *suspect* the style is quite simple... the main requirements are:


* Paper format = A4. Comment: easy to set up.

* Specific margins... = 17 mm left and right, 25 mm top and bottom. 
Comment: easy to achieve in LyX

* Two columns. Comment: easy to achieve in LyX (column separation 
appears to be ca. 5mm - don't know how to set up that, though).

* No headers/footers (i.e., now page numbers, etc.). But footnotes. 
Comment: don't know to set up this.

* Specified font: New Times Roman. Comment: easy to achieve in LyX, I 
think.

* Font sizes: title should be 17 pt, body font should be 10.5 pt. I'm 
not sure whether there are specific requirements for the headings. 
Verbatim-inline/code inline should be 9.5 pt. Displayed code should be 9pt. 
Comment: don't know how to set up this - standard is body size 10, 11 or 12 pt. 
Code font size is specified as "normal", "small", "large", etc...

* References should have heading "References", un-numbered, same size 
as Section. References themselves should be typeset in 9.5 pt font size. Should 
be ordered alphabetically according to the surname of the furst author. Author 
name should be listed as first name last name. Example...

o   Iain S. Duff and John K. Reid. An Implementation of Tarjan's Algorithm for 
the Block Triangularization of a Matrix. ACM Transactions on Mathematical 
Software, 4(2):137-147, 1978.

Comment: how do I set up BibTeX style for this?


Not directly related to style... where in the LyX documentation does it state 
how to specify that certain figures/tables/equations should go across both 
columns? How should column flow be relative to these "straddling" items? (e.g., 
should the text above such items be balanced so that I read both columns above 
the item before coming to the item in the flow, or should I still read each 
column in turn, and just consider these straddling items as breaks in the flow?

In other words...
--
Text continues in up here, continuing
the first column and   here, with text flowing
then there is a stradd-   down here, and here
ling item  and here, and here,

Xx

with text following  and still continuing after
here... and a new the wide, nuisance item?
column starting
--
Or should the layout be...
--
Text continues in ling item after
the first column and   balanced text
then there is a stradd-   above the item

Xx

with text following  wide item, like here,
here... and a new i.e., the straddling item
column startingworks more or less
below the straddling, like a page break?

--
Bernt Lie


Re: Important poll: would this dialog be confusing?

2018-03-19 Thread Benedict Holland
I would be in disagreement with Charles. Lyx has a massive range of users
from latex experts to novices. Power users will be incredibly upset if Lyx
does something that changes a working configuration without notifying them
first. It is even more important to get it right before release since it
affects the install. From my experience, I would probably not upgrade Lyx
if it changed MikTex if say, I had a publication that had to get out or a
dissertation that was almost finished. I remember frantically trying to
debug a beamer presentation because Lyx changed something with Beamer... a
day or two before I had to get it printed.

I, for one, greatly appreciate holding up something as massively disruptive
as a latex engine upgrade until it can be properly communicated to the
greater audience. Still, expect to see a bunch of questions regarding this.

Thanks,
~Ben

On Sun, Mar 18, 2018 at 8:11 PM, Scott Kostyshak  wrote:

> On Sun, Mar 18, 2018 at 10:27:25PM +, Charles Roddie wrote:
> > What matters most of all is a release. I understand that Windows release
> has been held up by extensive discussions over this issue of whether to
> include a dialog. This is a minor issue as few people read dialogs. Having
> a dialog is fine, and not having a dialog is fine.
>
> Thanks for the feedback.
>
> > Not having a version available for Windows however is a major problem
> for users.
>
> If there's one thing everyone here agrees on, it is this.
>
> > Also may I suggest that you upgrade your email list to a forum? It's
> unclear how to interact with this list without reading
> https://www.lyx.org/MailingLists
> in detail in its entirety and even then it's not self-contained.
> >
> > Apologies for the complaints: I appreciate the work of the lyx
> developers and the new features in 2.3 sound great.
>
> Thanks,
>
> Scott
>


Re: Miktex vs Texlive

2018-03-19 Thread Jürgen Spitzmüller
Am Montag, den 19.03.2018, 13:16 +0100 schrieb Michael Berger:
> Dear Jürgen,
> I am back now to answer your questions:
> - Was the file your son created a pure LaTeX file? >> Yes!
> - I take it that you imported it into LyX. >> Yes!
> And yes again, it is a Beamer presentation and that probably explains
> what I am facing here. I recall that I could indeed open and convert
> previous documents not even knowing that my son had to use Windows
> (because that is mandatory)
> 
> I learn now that you are already working on this problem, thanks for
> that.

Yes, I took some time to finally enable tex2lyx to handle the beamer
format we have since LyX 2.0 (especially the "overlay" inset stuff).
The work is finished, has landed in master and will be part of stable
at least with LyX 2.3.2 (depending on how urgent a 2.3.1 will be). Most
beamer presentations should be imported now without problems (but there
might be corner cases I have missed).

> Moreover, let me take this opportunity to thank you for continuously
> providing the domain of linguistics with so many great enhancements.

You're welcome.

Jürgen

> 
> Michael


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


Re: Miktex vs Texlive

2018-03-19 Thread Michael Berger

Dear Jürgen,

I am back now to answer your questions:

- Was the file your son created a pure LaTeX file? >> Yes!

- I take it that you imported it into LyX. >> Yes!

And yes again, it is a Beamer presentation and that probably explains 
what I am facing here. I recall that I could indeed open and convert 
previous documents not even knowing that my son had to use Windows 
(because that is mandatory)


I learn now that you are already working on this problem, thanks for that.
Moreover, let me take this opportunity to thank you for continuously 
providing the domain of linguistics with so many great enhancements.


Michael


On 12.03.2018 18:14, Jürgen Spitzmüller wrote:

2018-03-12 18:00 GMT+01:00 Richard Heck:

On 03/12/2018 12:39 PM, Michael Berger wrote:


Thanks Richard,

my son is using Windows 10, not Lyx. But I learned from Kornel
and Uwe that his file should nevertheless compile if opened in
LyX. Did I get something wrong here?:-(



Was the file your son created a pure LaTeX file? Or was it a LyX
file? If the former, I take it
that you imported it into LyX.


And if it's a beamer presentation, the chance it fails is high. The 
import of beamer documents in LyX is still very shaky (particularly 
due to the overlay arguments), but we're working presently on the issue.


Jürgen





Re: Long preview compilation due to unnecessarily often calling pdflatex?

2018-03-19 Thread Jürgen Spitzmüller
Am Montag, den 19.03.2018, 11:29 +0100 schrieb Jürgen Spitzmüller:
> Am Montag, den 19.03.2018, 11:17 +0100 schrieb Klaus-Dieter Bauer:
> > >  Hopefully someone here knows whether there's something we
> > 
> > should improve.
> > 
> > Mostly just the ability to get a faster error reports and layout
> > previews by forcing single-pass compilation of the PDF preview
> > (unless it already exists and I just can't find it).
> 
> I think you can define your own "one-pass" LaTeX > PDF (maybe
> incomplete)" converter by omitting the latex flag. I don't think it
> is
> a good idea to provide this in LyX, though, since we do not want to
> provide something that potentially results in incomplete or wrong
> documents.

Having said that, there are this two comparable requests:
https://www.lyx.org/trac/ticket/10080
https://www.lyx.org/trac/ticket/7521

I think something like a "draft" mode could be done, given that it's
clearly marked as such (and people do not have the impression their
document is final).

Jürgen

> 
> Jürgen

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


Re: Long preview compilation due to unnecessarily often calling pdflatex?

2018-03-19 Thread Jürgen Spitzmüller
Am Montag, den 19.03.2018, 11:17 +0100 schrieb Klaus-Dieter Bauer:
> >  Hopefully someone here knows whether there's something we
> should improve.
> 
> Mostly just the ability to get a faster error reports and layout
> previews by forcing single-pass compilation of the PDF preview
> (unless it already exists and I just can't find it).

I think you can define your own "one-pass" LaTeX > PDF (maybe
incomplete)" converter by omitting the latex flag. I don't think it is
a good idea to provide this in LyX, though, since we do not want to
provide something that potentially results in incomplete or wrong
documents.

Jürgen

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


Re: Long preview compilation due to unnecessarily often calling pdflatex?

2018-03-19 Thread Klaus-Dieter Bauer
>  Hopefully someone here knows whether there's something we should improve.

Mostly just the ability to get a faster error reports and layout previews
by forcing single-pass compilation of the PDF preview (unless it already
exists and I just can't find it).

- Klaus

2018-03-19 1:05 GMT+01:00 Scott Kostyshak :

> On Sun, Mar 18, 2018 at 08:20:55PM +, Klaus-Dieter Bauer wrote:
> > I attached a simple example file. Sorry for the late replay, seems I
> didn't
> > get the previous message.
>
> Thanks for the example file!
>
> > shows no changes between 3rd and 4th pass.
>
> I can reproduce that LyX does 4 compilations.
>
> Hopefully someone here knows whether there's something we should
> improve.
>
> Best,
>
> Scott
>


Re: Long preview compilation due to unnecessarily often calling pdflatex?

2018-03-19 Thread Jürgen Spitzmüller
Am Sonntag, den 18.03.2018, 20:05 -0400 schrieb Scott Kostyshak:
> On Sun, Mar 18, 2018 at 08:20:55PM +, Klaus-Dieter Bauer wrote:
> > I attached a simple example file. Sorry for the late replay, seems
> > I didn't
> > get the previous message.
> 
> Thanks for the example file!
> 
> > shows no changes between 3rd and 4th pass.
> 
> I can reproduce that LyX does 4 compilations.
> 
> Hopefully someone here knows whether there's something we should
> improve.

I don't know what to improve. If a package requests a rerun, all we can
do is do it, even if it might not result in a visible change.

If the rerun is indeed unnecessary, then the package needs to be fixed,
not LyX.

Jürgen

> 
> Best,
> 
> Scott

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