Re: view and update disabled

2014-05-22 Thread Wolfgang Engelmann


Am 22.05.2014 19:47, schrieb Richard Heck:

On 05/22/2014 09:10 AM, Wolfgang Engelmann wrote:
View (ctr r) and update (ctr shift r) is disabled in my recent 
document (kubuntu).

Strange, that an older different document is doing it alright.
I checked similar complains in the Internet and tried
tools>preferences>file handling> file formats
which shows BMP and default output latex (pdflatex) in BOTH cases,
so that can't be the reason.
View other formats and selecting pdflatex as well as update other 
formats works, as well as pdflatex export.

I can live with it, but it is a bit annoying.


Check the default output format for the document, under Document> 
Settings> Output.


Thanks, Richard, yes, that was the difference. In one of the documents 
output was > default output format instead of pdflatex. What is the 
intention of the default setting? Wolfgang




Re: Re: Lyx 2.1.0 not compiling knitr.lyx

2014-05-22 Thread José Matos
On Thursday 22 May 2014 11:06:57 Ricardo Dislich wrote:
> I tried exactly the knitr.lyx file shipped with LyX, available from the
> menu Help -> Specific Manuals -> Knitr
> 
> At first, LyX informed I did not have the needed converters. After I
> defined them in Preferences, I was able to click the View button, and then
> got the error message you can see in the screenshot below:
> 
> [image: Imagem inline 1]
> 
> Ricardo

It seems that you have the wrong converters. :-(

What do you get when you go to

Tools->Preferences->File Handling->Converters

>From "Rnw (knitr)" to "LaTeX (pdflatex)"

The converter I have is:

Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o 
$$e $$r

and I suspect that you have:

python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o

that seems to be the problem...
-- 
José Abílio


Re: How to tell LyX to add empty line after paragraphs of my style?

2014-05-22 Thread Enrico Forestieri
On Thu, May 22, 2014 at 01:44:44PM -0400, Richard Heck wrote:
> On 05/21/2014 05:46 PM, Enrico Forestieri wrote:
> >> (For display maths, the presence of white space
> >> around it is almost invisible in the LyX window while it has a profound
> >> effect in the output.)
> >
> >Yes, this is really a bugger and the only way to recognize it is activating
> >the end of paragraph marker in the preferences. If you see a pilcrow mark
> >before the math inset it means that a blank line will be output. Placing the
> >cursor just before the math inset and hitting the backspace key gets rid of 
> >it.
> >It's easier to get aware of a blank line after the math inset by the fact the
> >following text is indented.
> 
> Would it be worth our outputting a pilcrow in such cases? or some other
> visual indication? Maybe more vertical space, as one will get in the PDF?

I don't think that increasing the vertical space is a clear indicator
and that would also be a waste of screen space. On the other hand, it
seems odd outputting a pilcrow only in this case. Maybe a *small* vertical
double arrow like those used for inserting a vertical space is more
eye catching, or, perhaps, an arrow like the parbreak separator.

-- 
Enrico


Problem with header in nomenclature

2014-05-22 Thread Jason F. Siegel

Hello all,

I am getting ready to send off my thesis, but there are two formatting 
issues with LyX that I still need to resolve.


1) I have a Table of Contents, List of Figures, List of Tables, and 
Nomenclature in my front matter, with headings at the top of the page. 
However, the Nomenclature is two pages long, and the second page of it 
carries the 'List of Tables' header. Is there any way to change that?


2) This is more of a bibliography question, so if I need to be 
redirected, that's fine. I'm using plainnat with biblatex/biber, and I 
would like multiple authors to be conjoined by /&/ rather than by /and/. 
How can I do this?


I am using LyX 2.1.0 on Ubuntu 14.04.

Thanks!


Re: view and update disabled

2014-05-22 Thread Richard Heck

On 05/22/2014 09:10 AM, Wolfgang Engelmann wrote:
View (ctr r) and update (ctr shift r) is disabled in my recent 
document (kubuntu).

Strange, that an older different document is doing it alright.
I checked similar complains in the Internet and tried
tools>preferences>file handling> file formats
which shows BMP and default output latex (pdflatex) in BOTH cases,
so that can't be the reason.
View other formats and selecting pdflatex as well as update other 
formats works, as well as pdflatex export.

I can live with it, but it is a bit annoying.


Check the default output format for the document, under Document> 
Settings> Output.


Richard



Re: FW: help/cannot open after emergency stop...

2014-05-22 Thread Richard Heck

On 05/21/2014 03:52 PM, Rudi Gaelzer wrote:
This is happening a lot for me, since version 2.1.0. In my case, both 
the original and the backup files are complete, whereas the emergency 
lacks

\end_body
\end_document and ends with
\begin_inset Tabular
I noticed that this seems to happen after I spent a long time working 
on the doc without saving, i. e., when the autosave kicks in. If I 
save the doc a lot, the crash don't happen. I'd suggest that you 
manually save your work and disable the autobackup in Tools -> 
Preferences -> Document Handling until the fix is available. 


Can you confirm that this really does help? I am not sure we even know 
that at this point


Richard



Re: How to tell LyX to add empty line after paragraphs of my style?

2014-05-22 Thread Richard Heck

On 05/21/2014 05:46 PM, Enrico Forestieri wrote:

> (For display maths, the presence of white space
> around it is almost invisible in the LyX window while it has a profound
> effect in the output.)

Yes, this is really a bugger and the only way to recognize it is activating
the end of paragraph marker in the preferences. If you see a pilcrow mark
before the math inset it means that a blank line will be output. Placing the
cursor just before the math inset and hitting the backspace key gets rid of it.
It's easier to get aware of a blank line after the math inset by the fact the
following text is indented.


Would it be worth our outputting a pilcrow in such cases? or some other
visual indication? Maybe more vertical space, as one will get in the PDF?

Richard



Re: Problems with custom modules after upgrade to 2.1.0

2014-05-22 Thread John Kane
Update on my knitr problem which I just got around to looking at.  It looks 
linked to my R installation.  My knitr and tables packages just disappeared.  
Re-installation of the packages cured the problem. Weird, I don't remember 
doing anything that would have wiped out those packages and it looks like  the 
rest of my installation is still okay.

On Wednesday, April 23, 2014 9:01:51 PM, Richard Heck  wrote:
 


On 04/23/2014 05:37 PM, aparsloe wrote:
>
> On 23/04/2014 10:45 p.m., Csikos Bela wrote:
>> aparsloe  írta:
>>>     On 23/04/2014 5:50 a.m., John Kane
>>>
>>>         Currently I am
>>>             running Ubuntu 13.10 with LyX 2.1.0. I seem to be having
>> [LONG SNIP]
>>>     I'm the writer of the ShortInsetNames module. I tried it with
>>>     2.1.0beta2 earlier today and it worked. I've now installed 2.1.0 
>>> and
>>>     it doesn't, but it's easily fixed. Open the module in a text editor
>>>     and insert double quotes so that the relevant two lines look like:
>> Hello:
>>
>> You both mention lyx 2.1.0. Do you really mean 2.1.0 or would it be 
>> 2.1.0rc1?
>>
>> I don't see reference to 2.1.0 on the lyx site (main page and under 
>> recent news) and it was not announced in this list either.
>>
>> bcsikos
>>
> I hope I'm not spoiling the party for the developers, but I downloaded 
> from ftp://ftp.lyx.org/pub/lyx/bin/2.1.0/. I think it's the real 2.1.0 
> rather than rc1.

We had some issues with file corruption, or something of that sort, so 
I'd suggest waiting until the binaries I uploaded today sync properly 
with the mirrors.


Richard

view and update disabled

2014-05-22 Thread Wolfgang Engelmann
View (ctr r) and update (ctr shift r) is disabled in my recent document 
(kubuntu).

Strange, that an older different document is doing it alright.
I checked similar complains in the Internet and tried
tools>preferences>file handling> file formats
which shows BMP and default output latex (pdflatex) in BOTH cases,
so that can't be the reason.
View other formats and selecting pdflatex as well as update other 
formats works, as well as pdflatex export.

I can live with it, but it is a bit annoying.
Any suggestion?
Wolfgang



Re: Lyx 2.1.0 not compiling knitr.lyx

2014-05-22 Thread José Matos
On Wednesday 21 May 2014 11:35:09 Ricardo Dislich wrote:
> I tried the knitr help file (knitr.lyx), and it didn't work out either. I
> get the following progress/debug messages:
> 

What is the error that you get when you try the example shipped with lyx, 
knitr.lyx?

I am asking because the error can not be the same that you reported. The 
knitr.lyx file has the same version as lyx 2.1 reads and writes and thus 
lyx2lyx is never called.

-- 
José Abílio