Re: "Date intended for the title?

2017-09-15 Thread Richard Heck
On 09/15/2017 01:58 PM, John Parejko wrote:
> I'm getting the following LyX error when building my project [1]
> (which has a custom class and layout[2]), both when outputting PDF or
> when exporting to LaTeX (XeTeX), although the created LaTeX and PDF
> appear to be fine:
>
>
> You are using at least one layout (Date) intended for the title, after
> using non-title layouts. This could lead to missing or incorrect output.
>
>
> I've defined Date, Title, Author, Abstract, and DocumentReference (a
> custom command) in the layout as "InPremable 1" (our LaTeX class
> expects them to come before \begin{document}), but still get the above
> message.

You need to define DocumentReference also as "InTitle 1". It might seem
as if InPreamble should do this automatically, but there are cases where
they come apart. Maybe "InPreamble 1" should by default imply "InTitle
1", but at the moment it doesn't.

Richard



"Date intended for the title?

2017-09-15 Thread John Parejko

I'm getting the following LyX error when building my project [1] (which has a 
custom class and layout[2]), both when outputting PDF or when exporting to 
LaTeX (XeTeX), although the created LaTeX and PDF appear to be fine:


You are using at least one layout (Date) intended for the title, after using 
non-title layouts. This could lead to missing or incorrect output.


I've defined Date, Title, Author, Abstract, and DocumentReference (a custom command) in 
the layout as "InPremable 1" (our LaTeX class expects them to come before 
\begin{document}), but still get the above message.

Any suggestions about what I might be doing wrong?

Thank you,
John

1: 
https://github.com/lsst-dm/dmtn-036/pull/2/files#diff-eed5772f0a61e3638ae58c9761dd53c3
2: 
https://github.com/lsst-dm/dmtn-036/pull/2/files#diff-87ef684793d340a913df750ae25a43fe


Re: xunicode layout option?

2017-09-15 Thread John Parejko

On 09/14/2017 11:26 PM, Guenter Milde wrote:

On 2017-09-14, John Parejko wrote:

xunicode is only added for phonetic symbols with Unicode fonts ("tipa"
emulation via Insert->Special characters->Phonetic symbols): you may
consider inserting phonetic symbols as literal Unicode characters instead.


Unicode support is already provided by our document class (currently
also via xunicode).


Usually, loading a package twice means the second call is just ignored. Only
if there are different package options, this fails.
Are you using options? What is the error message?


I'm not getting errors right now, but if our document class eventually does any 
configuring of xunicode, I would receive an error and I'm trying to avoid that 
possibility in the future.


Does your document class try include/require "tipa" functionality?
Otherwise, it should not require xunicode with an up to date fontspec package.


I don't think so? I haven't inserted special phonetic symbols that way, but I 
may have inserted raw unicode.

On 09/15/2017 12:39 AM, Jürgen Spitzmüller wrote:


I've added this option now for LyX 2.3.0.


Thank you! Since it's not giving me an error on build right now, I'm happy to 
wait.

John


LyX - Luminati SDK

2017-09-15 Thread Yuval Cohen
Hi,

​​My name is Yuval and I lead the SDK partnerships at Luminati.​ I assume your
software earns money by charging users for a premium subscription or by showing
ads - both models do not pay out much and harm the user experience.

We now offer you a third option.

Luminati’s monetization SDK for Windows desktop provides your users the option
to use the software for free, and in exchange we pay you $30,000 USD per month,
for every 1M daily active users.
More information is available on http://luminati.io/sdk_win.

I’d like to schedule a 15 minute call to let you know how we can start. Are you
available tomorrow at 12:30pm your local time?

Best Regards,
-- 
Yuval Cohen | Business Development Manager, Luminati SDK | Skype: yuval__cohen
http://luminati.io/sdk_win


Re: Output / view without footnotes

2017-09-15 Thread Jürgen Spitzmüller
Am Freitag, den 15.09.2017, 13:14 +0200 schrieb Jean-Marc Lasgouttes:
> Le 15/09/2017 à 12:25, jezZiFeR a écrit :
> > Hello,
> > 
> > is there a possibility to view a document without the footnotes, so
> > that 
> > one could switch between a view with and without footnotes, but
> > still 
> > keeping them in the document? This would be very helpful…
> 
> Hello,
> 
> It is possible by keeping them in branches.

You can also define a branch that outputs a footnote if activated.

In Document > Settings > Local Layout, insert

InsetLayout Branch:Footnote
CopyStyle Foot
End

Then define a branch named "Footnote".

Jürgen


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


Re: Output / view without footnotes

2017-09-15 Thread jezZiFeR
Hello,

thanks, good solution – yes, it helped!

All best
Jess



On 15. Sep. 2017, 13:14 +0200, Jean-Marc Lasgouttes , wrote:
> Le 15/09/2017 à 12:25, jezZiFeR a écrit :
> > Hello,
> >
> > is there a possibility to view a document without the footnotes, so that
> > one could switch between a view with and without footnotes, but still
> > keeping them in the document? This would be very helpful…
>
> Hello,
>
> It is possible by keeping them in branches.
>
> HTH,
> JMarc
>


Re: Output / view without footnotes

2017-09-15 Thread Jean-Marc Lasgouttes

Le 15/09/2017 à 12:25, jezZiFeR a écrit :

Hello,

is there a possibility to view a document without the footnotes, so that 
one could switch between a view with and without footnotes, but still 
keeping them in the document? This would be very helpful…


Hello,

It is possible by keeping them in branches.

HTH,
JMarc



Output / view without footnotes

2017-09-15 Thread jezZiFeR
Hello,

is there a possibility to view a document without the footnotes, so that one 
could switch between a view with and without footnotes, but still keeping them 
in the document? This would be very helpful…

Best
Jess



Re: xunicode layout option?

2017-09-15 Thread Jürgen Spitzmüller
Am Donnerstag, den 14.09.2017, 16:58 -0700 schrieb John Parejko:
> Is there a way to get LyX to not add \usepackage{xunicode} to the
> resulting LaTeX output? Unicode support is already provided by our
> document class (currently also via xunicode). I've added Provides
> commands to my LyX layout for a number of other things (e.g. amsmath,
> geometry, fontspec), but there does not appear to be such an option
> for xunicode.

I've added this option now for LyX 2.3.0.

Jürgen

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


Re: xunicode layout option?

2017-09-15 Thread Guenter Milde
On 2017-09-14, John Parejko wrote:

> Is there a way to get LyX to not add \usepackage{xunicode} to the
> resulting LaTeX output? 

Unfortunately not (at least not easily).

Let's look for workarounds:

xunicode is only added for phonetic symbols with Unicode fonts ("tipa"
emulation via Insert->Special characters->Phonetic symbols): you may
consider inserting phonetic symbols as literal Unicode characters instead.

> Unicode support is already provided by our document class (currently
> also via xunicode). 

Usually, loading a package twice means the second call is just ignored. Only
if there are different package options, this fails. 
Are you using options? What is the error message?

Does your document class try include/require "tipa" functionality?
Otherwise, it should not require xunicode with an up to date fontspec package.

Günter