28 Jun 16:35 2016

### RCS Version Control on Windows

Hi all,

This is my first email to this group. I generally find the online resources as well as LyX documentation very helpful. The only exception to this rule is when it comes to version control. It took me so much time to know how to install RCS on Windows. I basically followed the steps given in the LyX wiki on how to install RCS for a portable LyX installation. After I did that, I was able to do version control easily. I have identical installations at the PC at home and the one at work (work is windows 7 and home is windows 10).

Now my problem is actually that I use my OneDrive to save my LyX document. I use my OneDrive so I have access to the document both at work and at home. So here is a typical scenario I am facing: I am at work, saved the document on my OneDrive and then checked in all changes. After that I go back home, the problem arises. When I open the document I saved at work with the LyX installation at home, LyX at home doesn’t recognize the last check in that I committed at work and I still have to check in the last change (LyX at home says the document is not locked). So I try to check in the last change, and then LyX complains saying that “Some error happened while ci, can’t check in the document”. Basically what is happening I can’t check in any changes made at home to the same RCS repo (the MyDoc.lyx,v file) I created at work, i.e., I have to save the document with a new name and start a new version control in it which means I will have to lose all history in the RCS repo; a bad idea obviously.

My question is whether any one saw this before. What should I do so that I can check in to same RCS repo both at home and at work without the need to re-save the same document over and over again.

Best Regards,
28 Jun 03:07 2016

### How to keep page header text from crashing into page numbers?

Hi all,

I'm using LyX 2.1.4, fancyhdr, I've customized even and odd page
headers to report current chapter and current section, respectively. On
even numbered pages, moderate length chapter names crash into the page
number. Short ones right justify away from the page number, and long
ones wrap so that the page number isn't touched, but moderate length
chapter names overwrite the rightmost digit or two of the page number.

For best rendering on medium sized mobile devices, the paper format is
5.5 inches long, and 3.5 inches wide. The margins, all measured in
inches, are:

Top: .55
Bottom: .3
Inner: .2
Outer: .2
Foot skip: .1

SteveT

Steve Litt
June 2016 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb


27 Jun 07:03 2016

### Re: lyx-2.2.0 installation ./configure cannot find libmagic

On 06/26/2016 04:24 PM, Jean-Marc Lasgouttes wrote:
Le 26/06/2016 14:23, Michael Berger a écrit :
Hope that's right,
Michael

Yes it is. The problem is that your libraries are not usable (32bits versus 64?)

JMarc

configure:9132: g++ -o conftest    conftest.cpp -lmagic    -lz >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.9.2/../../../libmagic.so when searching for -lmagic
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mageia-linux-gnu/4.9.2/../../../libmagic.a when searching for -lmagic
/usr/bin/ld: skipping incompatible /lib/libmagic.so when searching for -lmagic
/usr/bin/ld: skipping incompatible /lib/libmagic.a when searching for -lmagic
/usr/bin/ld: skipping incompatible /usr/lib/libmagic.so when searching for -lmagic
/usr/bin/ld: skipping incompatible /usr/lib/libmagic.a when searching for -lmagic
/usr/bin/ld: cannot find -lmagic

Dear Jean-Marc,
after reading your above comment last night I started RPM Search and found libmagic x86_64 versions which I tried to install.
And when I started another computer this morning Mageia's Software Manger offered
lib64magic-devel and php-devel, both x86_64.

Coincidence or luck or whatever it was, the installation of Lyx 2.2.0 (as root) ran smoothly without any complaint and Lyx 2.2 showed up.
At this point I would like to thank you for helping me!

One more question though: What to do next to give LyX access to TL2016?
I have TL2016 installed and the GUI is active.
Mageia's Software manager offers eight texlive2013 packages, but non of it installed.

I started Lyx 2.2, created a new document (KOMA article) and exported it to PDF - all worked fine.
One user advised to type '/usr/local/texlive/2016/bin/x86_64-linux' in the PATH prefix of Lyx's Preferences - which I haven't done yet.

So, are there no further actions to be taken from my side ?

Great help and great programs!

Cheers,
Michael

27 Jun 04:57 2016

### Script to repeatedly compile a document

Hi all,

The following is a script to repeatedly compile a LyX document that's
under construction or debugging:

==============================================================
#!/bin/sh

mainname=ch20

flagg=a

while [ "$flagg" != "q" ]; do rm$mainname.tex
rm $mainname.aux rm$mainname.pdf
rm $mainname.log rm$mainname.dvi
lyx --export xetex $mainname.lyx xelatex$mainname.tex
mupdf $mainname.pdf echo echo -n "Hit q then Enter to quit, " echo -n "any else to continue=\>" read flagg done ============================================================== Obviously, the preceding was made to repeatedly compile a document called ch20.lyx, but this can be changed, or it can be changed to$1
so that you can put the document name minus extension on the
shellscript command line.

Notice that this script uses --export xetex and xelatex. This is so you
can compile documents that use non-TeX fonts. There's also a way to do
it with LuaTeX, but I don't know it.

This script uses mupdf to view the finished PDF. Since discovering
mupdf, I've configured LyX to use it as LyX's exclusive PDF reader.
It's lightning fast, and even though it doesn't automatically update
when the file it's reading changes, after doing Ctrl+Shift+R in LyX and
waiting for that to complete, you can press the r key in mupdf for an
instant update. Or if you really want automatic updates, write a little
script to loop inotifywait and rerun mupdf every time the PDF changes.

SteveT

Steve Litt
June 2016 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb


26 Jun 13:32 2016

### lyx-2.2.0 installation ./configure cannot find libmagic

Hi dear Lyx users,

/.../lyx-2.2.0 run
# ./configure
it run till the end but then said to have found "minor problems":
Cannot find libmagic. Check that the libmagic library is correctly
installed.
Falling back to builtin file format detection.

Configuration of LyX was successful.
Type 'make' to compile the program, and then 'make install' to install it.

But running 'make' also ends up with errors.

I found libmagic here:

/usr/src/php-devel/extensions//fileinfo/libmagic
with 23 files in /libmagic suffixed .c or .h

I have Mageia5 / KDE

Thanks and cheers,
Michael


25 Jun 11:21 2016

### installing lyx 2.2 with TL2016,GUI already in place and functioning

Dear all,
after fixing some - as I believe - Mageia specific shortcomings, TL2016
full / 3263 files / GUI is installed on my system and functioning. See
screen-shot.

Currently no Lyx version is installed and I want to install Lyx 2.2.0

After reading the documentation I still have a big question left.

When using the software manager to install Lyx all needed texlive
packages will automatically be installed too.
But how will Lyx 2.2 find/call the required TL2016 packages after it is
installed?

Would it be the right way to simply enter

'/usr/local/texlive/2016/bin/x86_64-linux'

in Path prefix of Lyx's Preferences settings?
Kornel pointed out that this is nice but if I recall correctly he also

Can somebody please comment/advise what I should do and how to proceed ?

Thanks and cheers
Michael

24 Jun 14:12 2016

Hello!

Thanks to the excellent manual & online stuff I found (including earlier posts here) I managed to create a

The one thing I don’t like is that I had to make the menu shortcut in the menu. Is there a way to specify this in
the layout file?

thanks
john perry

—
John Perry + john.perry <at> usm.edu
Associate Professor, Department of Mathematics
University of Southern Mississippi, Box 5045
Hattiesburg MS 39406

The glory of the human spirit... is the single purpose of all science.


24 Jun 01:31 2016

### Re: lyx installation help

Am 21.06.2016 um 21:02 schrieb J. Daniel Kim:

> I found an older thread and I seem to be having the same issue.  I was able to install and Lyx just fine on my old
PC.  Now with a new PC that uses Windows 7 64-bit, I can't get Lyx to work - doesn't seem to recognize the MikTe.
>
> http://www.lyx.org/trac/ticket/8268#comment:6
>
> Any idea on what I can do?  Thanks so much.

Hi Daniel,

what exactly is your problem? What is the error message? Is this with
LyX 2.2.0?
I heard about problems with people who installed the 64it version of
MiKTeX manually before installing LyX but i could never reproduce this
problem. However, these people told me that it works fine when they
uninstall MiKTeX and then use the bundle installer of LyX 2.2.0. This
installer version installs MiKTeX for you.

regards Uwe


23 Jun 16:23 2016

### Making a Shortcut To Paste, and Save an Image in a Figure-float in LyX

To whom this may concern,

I am running LyX 2.2.0 on Windows 10.

I want to create a shortcut in LyX that pastes, saves, and formats an image in LyX. I have a created a command-sequence that can do the "formatting" part, but I can't figure out how to paste and save the image. If I use the "paste" command, it asks me to save the image (choose a name). I want to use the default name, that is, "paste%the number of images in the save directory with the name paste%".

Here is the command sequence that does the formatting I want:

command-sequence float-insert figure; char-backward; char-backward; char-backward; inset-modify figure placement H wide false sideways false; char-forward; down; paragraph-params-apply \noindent \align center; inset-apply graphics scale 50 lyxscale 50; char-backward;char-backward; char-backward

Cheers,
--
- Jonathan Horton
23 Jun 14:32 2016

### Re: LyX Function - inset-modify

M. Heck,

I've got it working! Thanks for your help!

For the record, bellow is the command that I used. As shown bellow, in order to check the allow page breaks box, you have to change the type to "Framed", and not "Boxed".

command-sequence box-insert Boxed; char-backward; inset-modify box Box Framed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "100col%" special "none" height "1in" height_special "totalheight" thickness "0pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none"; char-forward;

Cheers,

On Wed, Jun 22, 2016 at 4:03 PM, Richard Heck wrote:
On 06/22/2016 02:59 PM, Jonathan Horton wrote:
M. Heck,

Alright, it sort of works. I tried the following command:

command-sequence box-insert Boxed; char-backward; inset-modify box Box position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "100col%" special "none" height "1in" height_special "totalheight" thickness "0pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none";

But I get the error:

You're missing an argument, after "Box", for the type of Box. In this case, I think it should be "Boxed". So you want:

command-sequence box-insert Boxed; char-backward; inset-modify box Box Boxed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "100col%" special "none" height "1in" height_special "totalheight" thickness "0pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none";

Richard

PS I never use boxes, so I'm pretty clueless about how they work.

--
- Jonathan Horton
23 Jun 03:34 2016

### How to insert a frame between two frames in lyx2.2?

Suppose I have already created two frames in lyx beamer. Then I realize that
I need to insert a new frame between the two. Since lyx2.2 has removed
separator. I tried the following two approaches, both failed.

(1) "Alt+P Enter" obtained message "Command disabled".
(2) There is no "Start new environment" from the "Editor" in the menu.

What is the correct way to insert a frame between two existing frames?



Gmane