How to refresh images of equations

2024-05-22 Thread David Cardon
Version 2.4.0~RC4
(Sunday, March 24, 2024)

Qt Version (run-time): 6.6.1 on platform windows
Qt Version (compile-time): 6.6.1
OS Version (run-time): Windows 11 Version 23H2
Python detected: 3.11.4
(C:\Users\David\AppData\Local\Programs\Python\Python311\python.exe)

I am having a problem with the images created for equations when "Instant
preview" is turned on. I created a document on one computer with a 4K 32"
monitor.  When I opened the same document on my laptop with a 4K 16"
monitor, the equations were all microscopic, but the images for the
equations would not refresh to look right on the new display.  Is there a
way to force a refresh?  If not, then this may be a bug.

Thanks,
David
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Inserting graphics located in directory from which lyx is executed

2022-07-25 Thread David Halpern
On Mon, Jul 25, 2022 at 11:15 AM Paul A. Rubin  wrote:

> On 7/25/22 11:55, David Halpern wrote:
> > Paul,
> > Thanks for the response. The problem seems to be that the working
> > directory is permanently set as my home directory, /home/dhalpern.
> > Reading the information that appears in preferences about paths, it
> > clearly states that the working directory should be the directory from
> > which one starts lyx. However, I've tried starting lyx from different
> > directories, and the working directory does not change. It's always
> > set as the home directory. Is this a bug?  The way around seems to be
> > to change the working directory while working on a particular project,
> > but this is not optimal.
> >
> > I am using Lyx 2.3.6.1, a fedora 36 binary package. I tried to compile
> > myself but it failed.
> >
> >
>
> David,
>
> Please bottom-post, since it makes the email threads easier for everyone
> to read. The default working directory is set in Tools > Preferences...
>  > Paths > Working directory. Regardless of where you are when you
> launch LyX (assuming you are launching from a terminal), that's the
> initial working directory. So if I open a new document and browse for a
> file to insert, the directory in that setting is where the browsing starts.
>
> When you open an existing document and browse for something to insert,
> the initial directory should be the directory from which you loaded the
> document, again regardless of where you were when you started LyX.
>
> So the issue has nothing to do with where you start LyX. The question
> is, once you have opened a document (presumably not in your default
> directory), why doesn't the initial directory setting in the graphics
> insertion dialog update to the home of the document?
>
> If you open the parent document and then click Insert > File > External
> material (or any of the other choices), then click the browse button,
> does it again begin browsing in /home/dhalpern?
>
> Paul
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


Hi Paul,
When I do what you suggested, that is "Insert>File>External Material", I
get a new window and running down on its left side there is a column with
"Recent, Home, Desktop, Documents, Downloads, Music, etc..". The other
column lists the contents of whichever item on the left I click.
I then need to navigate to the directory where the file that I would like
to import is located by selecting "Home" first which lists the files and
directories in my home directory. If I want to insert another file, I need
to repeat the process. The only difference is that the popup window now
lists the first file that was imported, which is not that useful. ("Home"
could be replaced with "Documents" with the same outcome of having to click
a number of directories.)  I use a terminal window and don't start lyx from
my home directory.

Thanks.

David
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Inserting graphics located in directory from which lyx is executed

2022-07-25 Thread David Halpern
Paul,
Thanks for the response. The problem seems to be that the working directory
is permanently set as my home directory, /home/dhalpern. Reading the
information that appears in preferences about paths, it clearly states that
the working directory should be the directory from which one starts lyx.
However, I've tried starting lyx from different directories, and the
working directory does not change. It's always set as the home directory.
Is this a bug?  The way around seems to be to change the working directory
while working on a particular project, but this is not optimal.

I am using Lyx 2.3.6.1, a fedora 36 binary package. I tried to compile
myself but it failed.

David Halpern

On Mon, Jul 25, 2022 at 9:34 AM Paul A. Rubin  wrote:

> On 7/24/22 17:32, David Halpern wrote:
> > I am having the following problem in linux (fedora 36). I have a a
> > directory called Docs that contains a lyx file together with eps files
> > that I would like to insert in the lyx file. To insert a figure, I
> > select Insert, choose Float and then select Figure. Then inside the
> > Float, I again select Insert, and choose Graphics. In the Graphics
> > menu, I click on Browse. Unfortunately, I don't get a list of the list
> > of eps files that are in the same directory as the lyx file and from
> > which I issued the command "lyx". I have to change directories, and
> > this is particularly cumbersome since I end up having to do this for
> > each float.  I don't seem to have the same problem when using lyx on a
> > Mac.
> >
> > Any suggestions would be appreciated.
> >
> > Thank you.
> >
> > David Halpern
> >
> I can confirm that (a) this is not a Linux issue (I don't have this
> problem on Linux Mint) and (b) checking the option to save the document
> directory in the document is not necessary on Linux (or at least not on
> Mint). That said, it's possible that checking that option might override
> whatever is going wrong.
>
> When you click the browse button in the insertion dialog, in what
> directory does it start? Also, which version of LyX are you using, and
> did you compile it yourself or use a binary package?
>
> Paul
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Inserting graphics located in directory from which lyx is executed

2022-07-24 Thread David Halpern
I am having the following problem in linux (fedora 36). I have a a
directory called Docs that contains a lyx file together with eps files that
I would like to insert in the lyx file. To insert a figure, I select
Insert, choose Float and then select Figure. Then inside the Float, I again
select Insert, and choose Graphics. In the Graphics menu, I click on
Browse. Unfortunately, I don't get a list of the list of eps files that are
in the same directory as the lyx file and from which I issued the command
"lyx". I have to change directories, and this is particularly cumbersome
since I end up having to do this for each float.  I don't seem to have the
same problem when using lyx on a Mac.

Any suggestions would be appreciated.

Thank you.

David Halpern
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Older LyX files

2022-05-21 Thread David Löwenstein
Hi everyone,


I use the latest version of LyX (2.3.6.2), but I have many old files which
I created with older versions. Many of these can't be opened anymore. The
error message states that the lyx2lyx script was unable to convert them.
Does anyone have an idea what I can do?


Thanks and all the best,


David
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: adding a class to LyX from a "latex skeleton"

2021-11-04 Thread David Pesetsky
Thanks!  I am actually rather faint of heart, but I'll have a go at it.

On Nov 3, 2021, at 7:13 PM, Paul A. Rubin 
mailto:parubi...@gmail.com>> wrote:

On 11/3/21 1:31 PM, David Pesetsky wrote:
I would like to be able to create a LyX document using one of the 
“latex-skeletons” at https://langsci-press.org/templatesAndTools (specifically, 
at the moment, the “Latex-skeleton for monographs”)  — but can’t seem to find a 
how-to for adding, say, a Langsci Press book class to LyX, or anything else 
useful.

If there are relevant instructions somewhere, can you point me to them, or 
otherwise help?  I’m using LyX 2.3 on a Mac — thanks!

-David


--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html



As a starting point, I would urge you to read section 5 of the customization 
manual (Help > Customization). You'll need to create a layout file for the new 
class (in this case, "langscibook.cls"). The recommended approach is usually to 
find a LaTeX class similar to the new one for which LyX has a layout file, then 
use that file as a guide when creating your own layout file. I'm inclined to 
describe the process as "not for the faint of heart", but it is doable (and has 
been done in the past).

Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users

-
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


adding a class to LyX from a "latex skeleton"

2021-11-03 Thread David Pesetsky
I would like to be able to create a LyX document using one of the 
“latex-skeletons” at https://langsci-press.org/templatesAndTools (specifically, 
at the moment, the “Latex-skeleton for monographs”)  — but can’t seem to find a 
how-to for adding, say, a Langsci Press book class to LyX, or anything else 
useful.

If there are relevant instructions somewhere, can you point me to them, or 
otherwise help?  I’m using LyX 2.3 on a Mac — thanks!

-David


--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: shortcut for going to edge of ERT frame?

2021-08-08 Thread David Pesetsky
Very helpful, thank you!

> On Aug 8, 2021, at 3:12 PM, Paul A. Rubin  wrote:
> 
> On 8/8/21 2:01 PM, David Pesetsky wrote:
>> Is there any way to program a key so that if you are typing within an ERT 
>> frame, it takes the cursor to the last (or first) character in that frame?
>> 
>> Also useful would be a way to exit the frame — landing at at the first 
>> non-ERT character to the left or right of the frame.
>> 
>> -David
>>   
> You can bind keys to the functions "inset-begin" (positions the cursor before 
> the first character in the inset) and "inset-end" (positions the cursor after 
> the last character in the inset). In both cases, the cursor remains within 
> the inset.
> 
> To exit the inset, you can use "command-sequence inset-end; char-forward;".
> 
> Paul
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: shortcut for going to edge of ERT frame?

2021-08-08 Thread David Pesetsky


On Aug 8, 2021, at 2:09 PM, Chris Menzel 
mailto:chris.men...@gmail.com>> wrote:

For me, Ctrl-a and Ctrl-e move the cursor in an ERT frame to the first and last 
characters of the frame, respectively. However, I'm not sure if this is because 
I'm using Emacs keybindings or because I'm using a Mac, which also uses those 
keybindings in text areas.

Thanks for the reply!  Unfortunately, no luck.

I have been using the mac keybindings, plus some customizations.  
Unfortunately, neither with the mac keybindings nor when I change to the emacs 
keybindings (I was hoping to get the code that way) do I see these actions.  
With the mac keybindings, ctrl-e takes me to the end of the on-screen line, but 
not the end of the frame.  Ctrl-a alone seems to do nothing except display "^a 
options" on the status bar at the bottom.  With the emacs keybindings, both 
ctrl-a and ctrl-e yield "unknown function".


Ctrl-o closes the frame and places the cursor to its immediate left; that 
behavior is definitely due to my choice of Emacs keybindings.



Chris Menzel

On Sun, Aug 8, 2021 at 1:01 PM David Pesetsky 
mailto:pese...@mit.edu>> wrote:
Is there any way to program a key so that if you are typing within an ERT 
frame, it takes the cursor to the last (or first) character in that frame?

Also useful would be a way to exit the frame — landing at at the first non-ERT 
character to the left or right of the frame.

-David

--
lyx-users mailing list
lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users

--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


shortcut for going to edge of ERT frame?

2021-08-08 Thread David Pesetsky
Is there any way to program a key so that if you are typing within an ERT 
frame, it takes the cursor to the last (or first) character in that frame?  

Also useful would be a way to exit the frame — landing at at the first non-ERT 
character to the left or right of the frame.

-David
  
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


LyX for M1 Mac on Silicon under Rosetta 2

2021-03-30 Thread David Bickel
Has anyone tried LyX in Rosetta 2 on a Silicon (M1) Mac?

If so, what issues did you encounter?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-20 Thread David Pesetsky
I'm not seeing "<" or ">" on the buttons.

-David

On Feb 20, 2021, at 3:07 PM, Kornel Benko 
mailto:kor...@lyx.org>> wrote:

Am Sat, 20 Feb 2021 19:53:20 +
schrieb David Pesetsky mailto:pese...@mit.edu>>:

Trying it out on 2.4.0 Alpha 3, it seems to work very well now, thank you 
again.  But I
am seeing two "Find" and two "Replace" buttons.  Not a functionality problem — 
they
both work — but presumably some kind of error.

You mean probably ' < Find ' and ' Find > ' (means find backward and find 
forward)
Same for 'replace'

-David

On Feb 12, 2021, at 10:24 AM, David Pesetsky 
mailto:pese...@mit.edu><mailto:pese...@mit.edu>>
wrote:

Pleased indeed, thank you!!!

On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller 
mailto:sp...@lyx.org><mailto:sp...@lyx.org>>
wrote:

Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
If you click on the document window, the "find next" key (⌘-G ) will
do its job and get you to the next occurrence of the search string.
Without that, however, if focus remains in the Find window, nothing
happens at all. That is what is non-intuitive.  In most other apps,
You can search for what you want with ⌘-F, and then simply pressing
⌘-G gets you the next occurrence, with no other steps necessary.

You might be pleased to hear that your message inspired me to go ahead
and fix that for 2.4.0 this morning.

Jürgen


Kornel
--
lyx-users mailing list
lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users

--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-20 Thread David Pesetsky
Trying it out on 2.4.0 Alpha 3, it seems to work very well now, thank you 
again.  But I am seeing two "Find" and two "Replace" buttons.  Not a 
functionality problem — they both work — but presumably some kind of error.

-David

On Feb 12, 2021, at 10:24 AM, David Pesetsky 
mailto:pese...@mit.edu>> wrote:

Pleased indeed, thank you!!!

On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller 
mailto:sp...@lyx.org>> wrote:

Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
If you click on the document window, the "find next" key (⌘-G ) will
do its job and get you to the next occurrence of the search string.
 Without that, however, if focus remains in the Find window, nothing
happens at all. That is what is non-intuitive.  In most other apps,
You can search for what you want with ⌘-F, and then simply pressing
⌘-G gets you the next occurrence, with no other steps necessary.

You might be pleased to hear that your message inspired me to go ahead
and fix that for 2.4.0 this morning.

Jürgen



--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-12 Thread David Pesetsky
Pleased indeed, thank you!!!

On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller 
mailto:sp...@lyx.org>> wrote:

Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
If you click on the document window, the "find next" key (⌘-G ) will
do its job and get you to the next occurrence of the search string.
 Without that, however, if focus remains in the Find window, nothing
happens at all. That is what is non-intuitive.  In most other apps,
You can search for what you want with ⌘-F, and then simply pressing
⌘-G gets you the next occurrence, with no other steps necessary.

You might be pleased to hear that your message inspired me to go ahead
and fix that for 2.4.0 this morning.

Jürgen


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: find next?

2021-02-12 Thread David Pesetsky
I really appreciate all the replies.  Jürgen's message is exactly what I 
discovered with more tinkering.

If you click on the document window, the "find next" key (⌘-G ) will do its job 
and get you to the next occurrence of the search string.  Without that, 
however, if focus remains in the Find window, nothing happens at all. That is 
what is non-intuitive.  In most other apps, You can search for what you want 
with ⌘-F, and then simply pressing ⌘-G gets you the next occurrence, with no 
other steps necessary.

-David


https://www.lyx.org/trac/ticket/11170

Here, F3 does work, but only if I gave the workarea focus, which is not
so apparent if you use the dialog. The working procedure is:

1. Ctrl-F
2. Enter search string
3. Hit Enter to fin first occurrence
4. Click into workarea OR close dialog
5. Hit F3 to find next occurrences

I suspect 4. is the crucial missing step.

I'll check if we can do something to avoid this unintuive extra step.

Jürgen

--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


find next?

2021-02-11 Thread David Pesetsky
My Macintosh-educated fingers are used to ⌘-G for "find next" (used after using 
⌘-F for "find").  Does Lyx have a "find next" function so I can duplicate this? 

I may be missing something in plain view, in which case, my apologies for 
wasting everyone's time — but I'm not finding it.

-David
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX acting differently between computers

2020-11-05 Thread David Chan
>
> Message: 2
> Date: Wed, 4 Nov 2020 20:10:27 +0100
> From: Kornel Benko 
> To: lyx-users@lists.lyx.org
> Subject: Re: lyx-users Digest, Vol 58, Issue 8
> Message-ID: <20201104201027.540f1787@admin1-desktop>
> Content-Type: text/plain; charset="us-ascii"
>
> Am Wed, 4 Nov 2020 09:27:16 -0800
> schrieb David Chan :
>
> > > Add the line
> > > \default_view_format pdf2
> > > to file 'preferences'
> > >
> > > Kornel
> > >
> >
> > Thanks very much Kornel!
> >
> > I have found the file `preferences.txt` in Library > Application Support
> >
> > LyX-2.3, and I have added that line to it. I then reconfigured LyX.
> > However, when I look in Preferences > File Handling > File Formats, I
> still
> > can't find pdflatex.
> >
> > Thanks,
> > Dave
>
> 1.) I wonder about the name 'preferences.txt'. In case this is wrong, look
> at
> Help->About LyX->user directory
> The preferences file should be in this directory
> 2.) Add the line there (After the line with 'Format 34'
> 3.) No need to reconfigure. You have to restart lyx though, so lyx can
> read preferences
> again
>
> 4.) If that does not work, check the log-file 'configure.log' (in the same
> directory)
> Should contain the lines
> INFO: checking for the pdflatex program...
> INFO: +checking for "pdflatex"...  yes
>
> Kornel
>
> Thanks again Kornel!

Here are some quick responses:
1. The directory is indeed the user directory in About LyX.
2. I see in the preferences file the line "Format 24" but no line "Format
34." I added the line

 \default_view_format pdf2

after this line, but it didn't seem to do anything upon restarting LyX.
4. When I look in configure.log in the same directory, I do see these lines

INFO: checking for the pdflatex program...
INFO: +checking for "pdflatex"...  yes
DEBUG: Add to RC:
\converter pdflatex   pdf2   "pdflatex $$i"
"latex=pdflatex,hyperref-driver=pdftex"

Thanks,
Dave
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx-users Digest, Vol 58, Issue 8

2020-11-04 Thread David Chan
>
> > Thanks very much Baris for your thoughts!
> >
> > I tried compiling the document in my LaTeX installation (TeXShop). When I
> > typeset the file with `pdflatexmk`, it compiles fine. When I compile it
> > with Plain TeX, it compiles incorrectly, although it looks different than
> > the problematic output from LyX.
> >
> > Yes, I have reconfigured LyX whenever updating in the TeX Live Utility or
> > installing a new version of MacTeX. This doesn't seem to matter.
> >
> > Can you tell me more about how to add PDF (pdflatex) to Preferences by
> > myself? I'm sure that would do the trick. As I mentioned, when I manually
> > use pdflatex from Document > View (Other Formats), it works fine. The
> only
> > problem is that I cannot get pdflatex to appear in the dropdown in
> > Preferences in order to make it my default.
> >
> > Thanks,
> > Dave
>
> Add the line
> \default_view_format pdf2
> to file 'preferences'
>
> Kornel
>

Thanks very much Kornel!

I have found the file `preferences.txt` in Library > Application Support >
LyX-2.3, and I have added that line to it. I then reconfigured LyX.
However, when I look in Preferences > File Handling > File Formats, I still
can't find pdflatex.

Thanks,
Dave
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX acting differently between computers

2020-11-03 Thread David Chan
>
>
> Message: 1
> Date: Tue, 3 Nov 2020 01:02:10 +0300
> From: Baris Erkus 
> To: lyx-users@lists.lyx.org
> Subject: Re: LyX acting differently between computers
> Message-ID:
> <
> vi1pr0601mb2528962986ef1cca7cee54e1de...@vi1pr0601mb2528.eurprd06.prod.outlook.com
> >
>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> On 03-Nov-20 12:39 AM, David Chan wrote:
> >
> > On 28-Oct-20 12:01 AM, David Chan wrote:
> > > Hi all,
> > >
> > > I noticed that LyX was acting differently between computers
> > and am
> > > trying to figure out the source of this issue.
> > >
> > > One computer cannot compile a file that uses biblatex with
> > the apa
> > > bibliography style, while the other two computers can. Also,
> > the first
> > > computer compiles lines slightly differently so that a paper
> > compiles
> > > to 110 pages, while on the other two computers, the paper
> > compiles to
> > > 109 pages.
> > >
> > > The first computer initially had an older version of LyX, 2.3.0
> > > (February 24, 2018), but when I updated it to the newest
> > version, LyX
> > > 2.3.5.2 (June 25, 2020), the problem persists. I also found the
> > > version that matches the other computers in the archive, LyX
> > 2.3.1-1,
> > > and the problem persists with this as well.
> > >
> > > When I checked the preferences on LyX on each of the
> > computers, the
> > > first one differs by not having `pdflatex` as an option under
> > > Preferences > File Handling > File Formats > Default Output
> > Formats,
> > > whereas this option exists on the other computers. I am
> > unable to find
> > > the `pdflatex` option on the first computer regardless of
> > the version
> > > of LyX.
> > >
> > > The next thing that I did was to reinstall MikTeX on the first
> > > computer. This did not seem to resolve the problem, although
> > it seems
> > > to have caused errors in compilation ("undefined control
> > sequence",
> > > "Missing number, treated as zero", and "Missing glyphs!").
> > >
> > > Can someone please help me troubleshoot this?
> > >
> > > Thanks in advance,
> > > Dave
> > >
> > First, I would recommend you sending a MWE for each of the
> > problem you
> > have listed. Users of the list can try these MWEs on their
> > computers and
> > tell you if there is a problem with the LyX file or LyX.
> >
> > Second, missing "pdflatex" option under LyX may be a sign of
> > faulty
> > MikTeX system and trailing faulty LyX configuration. I am
> > guessing you
> > are using Windows. You should install the latest updates of
> > MikTeX and
> > update everything for both user and admin mode.
> >
> > I would also recommend testing your MikTeX setup with a MWE of
> > LaTeX file.
> >
> > You can also re-configure your LyX and see possible errors.
> >
> > --
> > ??
> > Please bottom-post. Start your reply here:
> >
> > Thanks so much for your reply!
> >
> > The suggestion to do MWEs is really great. I?ve never done this
> > before, but it makes a lot of sense. I?m attaching two .lyx MWEs
> > and a related .. For each MWE, I also attach two PDF files: PDF
> > files with the suffix |-1| correspond to the error produced on the
> > first computer, and PDF files with the suffix |-0| correspond to
> > the correct output produced on the other computers.
> >
> >   * |mwe1.lyx| is what happens when I switch from BibTeX to
> > biblatex in the Settings > Bibliography page.
> >   * |mwe2.lyx| is what happens when I further specify the apa
> > bibliography style within biblatex in the Settings >
> > Bibliography page.
> >
> > In a way, the fact that I do not have pdflatex as an op

Re: LyX acting differently between computers

2020-11-02 Thread David Chan
On 28-Oct-20 12:01 AM, David Chan wrote:
>> > Hi all,
>> >
>> > I noticed that LyX was acting differently between computers and am
>> > trying to figure out the source of this issue.
>> >
>> > One computer cannot compile a file that uses biblatex with the apa
>> > bibliography style, while the other two computers can. Also, the first
>> > computer compiles lines slightly differently so that a paper compiles
>> > to 110 pages, while on the other two computers, the paper compiles to
>> > 109 pages.
>> >
>> > The first computer initially had an older version of LyX, 2.3.0
>> > (February 24, 2018), but when I updated it to the newest version, LyX
>> > 2.3.5.2 (June 25, 2020), the problem persists. I also found the
>> > version that matches the other computers in the archive, LyX 2.3.1-1,
>> > and the problem persists with this as well.
>> >
>> > When I checked the preferences on LyX on each of the computers, the
>> > first one differs by not having `pdflatex` as an option under
>> > Preferences > File Handling > File Formats > Default Output Formats,
>> > whereas this option exists on the other computers. I am unable to find
>> > the `pdflatex` option on the first computer regardless of the version
>> > of LyX.
>> >
>> > The next thing that I did was to reinstall MikTeX on the first
>> > computer. This did not seem to resolve the problem, although it seems
>> > to have caused errors in compilation ("undefined control sequence",
>> > "Missing number, treated as zero", and "Missing glyphs!").
>> >
>> > Can someone please help me troubleshoot this?
>> >
>> > Thanks in advance,
>> > Dave
>> >
>> First, I would recommend you sending a MWE for each of the problem you
>> have listed. Users of the list can try these MWEs on their computers and
>> tell you if there is a problem with the LyX file or LyX.
>>
>> Second, missing "pdflatex" option under LyX may be a sign of faulty
>> MikTeX system and trailing faulty LyX configuration. I am guessing you
>> are using Windows. You should install the latest updates of MikTeX and
>> update everything for both user and admin mode.
>>
>> I would also recommend testing your MikTeX setup with a MWE of LaTeX file.
>>
>> You can also re-configure your LyX and see possible errors.
>>
>> --
>> ??
>> Please bottom-post. Start your reply here:
>>
>> Thanks so much for your reply!
>
> The suggestion to do MWEs is really great. I’ve never done this before,
> but it makes a lot of sense. I’m attaching two .lyx MWEs and a related ..
> For each MWE, I also attach two PDF files: PDF files with the suffix -1
> correspond to the error produced on the first computer, and PDF files with
> the suffix -0 correspond to the correct output produced on the other
> computers.
>
>- mwe1.lyx is what happens when I switch from BibTeX to biblatex in
>the Settings > Bibliography page.
>- mwe2.lyx is what happens when I further specify the apa bibliography
>style within biblatex in the Settings > Bibliography page.
>
> In a way, the fact that I do not have pdflatex as an option in the first
> computer under Preferences > File Handling > File Formats > Default Output
> Formats, while I have that specified in the other computers, is a clue that
> does not even depend on the .lyx document.
>
> FYI, all computers are Macs, and they all are using macOS Catalina
> (10.15.7).
>
> Apologies for stating MiKTeX on my last post, as that was misleading. In
> fact, I’ve been using MacTeX. I updated MacTeX, reconfigured LyX, and
> confirmed that the path in Tools > TeX Information points to
> /usr/local/texlive/2020/. Weirdly, the update actually caused more
> errors, as I mentioned above. Is there a way to figure out which packages
> are causing the problem?
>
> Thanks again,
> Dave
>
Hi all,

I have an update on this, which has clarified the root of the problem but
in some ways is still mysterious.

I’ve discovered that that pdflatex indeed does exist on the previously
problematic computer under Document > View (Other Formats). If I compile
the files using pdflatex from this dropdown menu, everything turns out fine
for the MWEs. It turns out that LuaTeX is problematic on all of my
computers, regardless of the MacTeX version that I’m using. In other words,
I need to use pdflatex rather than LuaTeX to handle biblatex properly.

The weird thing is that pdflatex can be set as the default output
format in Preferences
> File Handling > File Formats in all of my computers except for the
problematic computer. I’m not sure why in that computer it’s not showing up
in Preferences, but is an option in the Document > View (Other Formats)
dropdown.

Does anyone have any clue?

Thanks,
Dave
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


LyX acting differently between computers

2020-10-27 Thread David Chan
Hi all,

I noticed that LyX was acting differently between computers and am trying
to figure out the source of this issue.

One computer cannot compile a file that uses biblatex with the apa
bibliography style, while the other two computers can. Also, the first
computer compiles lines slightly differently so that a paper compiles to
110 pages, while on the other two computers, the paper compiles to 109
pages.

The first computer initially had an older version of LyX, 2.3.0 (February
24, 2018), but when I updated it to the newest version, LyX 2.3.5.2 (June
25, 2020), the problem persists. I also found the version that matches the
other computers in the archive, LyX 2.3.1-1, and the problem persists with
this as well.

When I checked the preferences on LyX on each of the computers, the first
one differs by not having `pdflatex` as an option under Preferences > File
Handling > File Formats > Default Output Formats, whereas this option
exists on the other computers. I am unable to find the `pdflatex` option on
the first computer regardless of the version of LyX.

The next thing that I did was to reinstall MikTeX on the first computer.
This did not seem to resolve the problem, although it seems to have caused
errors in compilation ("undefined control sequence", "Missing number,
treated as zero", and "Missing glyphs!").

Can someone please help me troubleshoot this?

Thanks in advance,
Dave
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Paths forgotten?

2020-05-07 Thread David Mertens
Kaplan,

Are you opening this file in LyX from two different operating systems (or
two different machines), synchronized via Dropbox? Otherwise I cannot
fathom any circumstances that LyX would even think to use a Windows-based
path and then a Linux-based path. Maybe running LyX under Cygwin, and then
not under Cygwin?

If you are looking at files using two different operating systems (or
shared across two different computers with different users, so different
absolute paths to files), you can manually enter a relative path to the
figures. LyX will always store that relative path just fine. The only issue
arises if you decide to change the figure file and use the "Browse" button
to find the file. But again, once you have found that file, you can alter
the beginning (absolute) part of the path and replace it with the
appropriate relative path with ".." and the like.

David

On Thu, May 7, 2020 at 10:22 AM UD Kap  wrote:

> Pavel,
>
> When you shoot in the dark you come close to the target (I think), so I
> should be more careful ;-)
> When I look at the path of the "confusing" image files (in the Lyx file),
> it says: C:/Users/Gabriel.000/Dropbox
>
> The beginning of that path (C:/Users/Gabriel.000) is the path to the
> *Windows* partition on my disk. If I then click on that path in the Lyx
> file, I get the usual Linux path (/home/udi/Dropbox...) which then works
> fine, until the next visit to the Lyx file (might require a boot to show
> the issue-- I shall check)..
>
>So this exercise showed me that when I exit from the Lyx file, and
> perhaps reboot, the beginning of the path for the confusing image files
> changes from /home/udi/Dropbox... to c:/gabriel.000/Dropbox... for
> reasons known only to the Gods of Lyx.  That path confuses Lyx.
>
>
> Yours,
>
> E. Kaplan
>
>
> On 5/6/20 3:38 PM, Pavel Sanda wrote:
>
> On Wed, May 06, 2020 at 12:45:34PM -0400, UD Kap wrote:
>
>Pavel, I think you are getting close-- the line says:** \origin
>unavailable
>
>What now?
>
> Unfortunately no, this was not fruitful direction, that value is pretty 
> normal.
> Can you answer my other questions (see below)?
>
>
> Reading one more time the original report, I have two additional questions:
> - when you say that you return to your presentation day(s) later does it mean
>   that LyX was running the whole time or you launch LyX anew?
>
> - you report the error "cannot determine the size of the graphics..".
>   But if you click on that image and check in the dialog field "File:"
>   do you still see correct path or is it lost?
>
> Pavel
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
*David Mertens*
Assistant Professor of Physics
727.864.8521

Office Hours can be made by appointment Tuesdays and Thursdays between 10
and 2.

Eckerd College <http://www.eckerd.edu>
4200 54th Avenue South
St. Petersburg, Florida 33711
[image: Eckerd College logo]
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Importing files: Some file types (.tex, .odt) only show up under "All files"

2020-02-24 Thread David Johnson
I also cannot reproduce this, on an Ubuntu machine.  All the *.tex files
show up.

On Mon, Feb 24, 2020 at 5:32 PM Paul A. Rubin  wrote:

> On 2/24/20 3:12 PM, Tobias Hilbricht wrote:
> > Dear readers of this list,
> > I am using LyX 2.3.4.2 on Ubuntu 18.04.4 and have the following issue:
> > When clicking File -> Import File -> LaTeX (plain), a window pops up
> > allowing to choose a LaTeX.tex file. However, when navigating to a
> > folder which contains LaTeX.tex files and the menu just above the
> > button "Open" says "LaTeX", no file at all shows up. When changing the
> > menu button to "All Files" all files are shown. The same is true for
> > OpenDocument.odt files - they do not show up specifically when the menu
> > says "OpenDocument", but only among many others, which lengthens the
> > process of file choosing.
> >
> > By contrast, when trying to import HTML, the menu just above the "Open"
> > button reads "HTML", and all HTML-files in the folder are shown; it
> > works as expected for OpenDocument spreadsheets (ods), too, and for MS-
> > Word Office-Open XML (docx).
> >
> > Is this a local malconfiguration - if so, how can I reconfigure my
> > system properly - or is this a bug?
> >
> > Thanks for helpful hints
> > Tobias Hilbricht
> >
> I am unable to reproduce this with LyX 2.3.4.2 on Linux Mint 18.3 (which
> is Ubuntu-based). Can you post a screen shot, like the attached, of the
> file open dialog when it malfunctions?
>
> Paul
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
David L. Johnson
Department of Mathematics
Lehigh University
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: "LaTeX3 Error: Command '\textsi' not yet defined!"

2020-02-22 Thread David Pesetsky
FYI, I reported the bug to the developer, who replied:

Thanks. It looks like fontspec doesn’t define this any more. I’ll fix embrac. 
In the meantime you can add to your preamble

\providecommand\textsi[1]{#1}


That should prevent the error.


Thank you for your help here.

-David


On Feb 16, 2020, at 2:10 PM, David Pesetsky 
mailto:pese...@mit.edu>> wrote:

One final note:  I have discovered that if I go to TexLive and change Configure 
> Change Default Tex Live Version from "TeXLive-2019" to "TeXLive-2018", the 
error and the "L3 Programming Layer" messages disappear.  I hope that narrows 
things down sufficiently.

-David

On Feb 16, 2020, at 11:49 AM, David Pesetsky 
mailto:pese...@mit.edu>> wrote:

Before (June 2019, via MacOS Time Machine):
LyX 2.3.2
TexLive 1.35
MacOS Mojave (10.14.x)

Now
Lyx 2.3.4.2
TexLive 1.36
MacOS Catalina (10.15.3)

Minimal Working Example:
without embrac package:

with embrac package:


Without embrac, the file compiles successfully, but does display "L3 
Programming Layer " while compiling (as does every Lyx file at the 
moment).

Hope this gives you what you need to help, and many thanks in advance.

-David



On Feb 15, 2020, at 11:24 PM, Joel Kulesza 
mailto:jkule...@gmail.com>> wrote:

On Sat, Feb 15, 2020 at 3:53 PM David Pesetsky 
mailto:pese...@mit.edu>> wrote:
I was using Lyx for Mac rather extensively to write a long-ish manuscript about 
a year ago, but have been away from it for a while.

In the interval, a problem has arisen, though nothing has changed in my setup 
besides updating Lyx and Latex via TexLive.  I install the embrac package, 
which ensures non-italic brackets in otherwise italicized environments.  This 
used to work without a problem, but now generates the error message:

LaTeX3 Error: Command '\textsi' not yet defined!

I am sure of my trouble-shooting, since commenting out the usepackage command 
eliminates the error.

When I was using Lyx a year ago, I wasn't seeing any mentions of LaTex3, I'm 
fairly sure (and no errors from embrac).  Any idea what's going wrong and how I 
can eliminate the problem or work around it?

David,

Additional details will be useful to folks if they wish to help.  For example, 
what versions of LyX and TeXLive were being used "before" and "after"?  What 
version of macOS were you using before and after?  Perhaps most important: 
please provide a minimal working example (MWE) 
[https://wiki.lyx.org/FAQ/MinimalExample] that demonstrates the problem now 
(and, ideally, that used to work before).

Regards,
Joel


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: "LaTeX3 Error: Command '\textsi' not yet defined!"

2020-02-16 Thread David Pesetsky
One final note:  I have discovered that if I go to TexLive and change Configure 
> Change Default Tex Live Version from "TeXLive-2019" to "TeXLive-2018", the 
error and the "L3 Programming Layer" messages disappear.  I hope that narrows 
things down sufficiently.

-David

On Feb 16, 2020, at 11:49 AM, David Pesetsky 
mailto:pese...@mit.edu>> wrote:

Before (June 2019, via MacOS Time Machine):
LyX 2.3.2
TexLive 1.35
MacOS Mojave (10.14.x)

Now
Lyx 2.3.4.2
TexLive 1.36
MacOS Catalina (10.15.3)

Minimal Working Example:
without embrac package:

with embrac package:


Without embrac, the file compiles successfully, but does display "L3 
Programming Layer " while compiling (as does every Lyx file at the 
moment).

Hope this gives you what you need to help, and many thanks in advance.

-David



On Feb 15, 2020, at 11:24 PM, Joel Kulesza 
mailto:jkule...@gmail.com>> wrote:

On Sat, Feb 15, 2020 at 3:53 PM David Pesetsky 
mailto:pese...@mit.edu>> wrote:
I was using Lyx for Mac rather extensively to write a long-ish manuscript about 
a year ago, but have been away from it for a while.

In the interval, a problem has arisen, though nothing has changed in my setup 
besides updating Lyx and Latex via TexLive.  I install the embrac package, 
which ensures non-italic brackets in otherwise italicized environments.  This 
used to work without a problem, but now generates the error message:

LaTeX3 Error: Command '\textsi' not yet defined!

I am sure of my trouble-shooting, since commenting out the usepackage command 
eliminates the error.

When I was using Lyx a year ago, I wasn't seeing any mentions of LaTex3, I'm 
fairly sure (and no errors from embrac).  Any idea what's going wrong and how I 
can eliminate the problem or work around it?

David,

Additional details will be useful to folks if they wish to help.  For example, 
what versions of LyX and TeXLive were being used "before" and "after"?  What 
version of macOS were you using before and after?  Perhaps most important: 
please provide a minimal working example (MWE) 
[https://wiki.lyx.org/FAQ/MinimalExample] that demonstrates the problem now 
(and, ideally, that used to work before).

Regards,
Joel

--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html


--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: "LaTeX3 Error: Command '\textsi' not yet defined!"

2020-02-16 Thread David Pesetsky
Before (June 2019, via MacOS Time Machine):
LyX 2.3.2
TexLive 1.35
MacOS Mojave (10.14.x)

Now
Lyx 2.3.4.2
TexLive 1.36
MacOS Catalina (10.15.3)

Minimal Working Example:
without embrac package:


newfile3.lyx
Description: newfile3.lyx
with embrac package: 

newfile3 produces error.lyx
Description: newfile3 produces error.lyx
Without embrac, the file compiles successfully, but does display "L3 Programming Layer " while compiling (as does every Lyx file at the moment).Hope this gives you what you need to help, and many thanks in advance.  -DavidOn Feb 15, 2020, at 11:24 PM, Joel Kulesza <jkule...@gmail.com> wrote:On Sat, Feb 15, 2020 at 3:53 PM David Pesetsky <pese...@mit.edu> wrote:




I was using Lyx for Mac rather extensively to write a long-ish manuscript about a year ago, but have been away from it for a while.


In the interval, a problem has arisen, though nothing has changed in my setup besides updating Lyx and Latex via TexLive.  I install the embrac package, which ensures non-italic brackets in otherwise italicized environments.  This used to work
 without a problem, but now generates the error message:


LaTeX3 Error: Command '\textsi' not yet defined!


I am sure of my trouble-shooting, since commenting out the usepackage command eliminates the error.  


When I was using Lyx a year ago, I wasn't seeing any mentions of LaTex3, I'm fairly sure (and no errors from embrac).  Any idea what's going wrong and how I can eliminate the problem or work around it?David,Additional details will be useful to folks if they wish to help.  For example, what versions of LyX and TeXLive were being used "before" and "after"?  What version of macOS were you using before and after?  Perhaps most important: please provide a minimal working example (MWE) [https://wiki.lyx.org/FAQ/MinimalExample] that demonstrates the problem now (and, ideally, that used to work before).Regards,Joel

-- David Pesetsky	[pese...@mit.edu]Department of Linguistics and Philosophy32-D862 Massachusetts Institute of Technology77 Massachusetts AvenueCambridge, MA 02139 USA(617) 253-0957 office           (617) 253-5017 fax http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: "LaTeX3 Error: Command '\textsi' not yet defined!"

2020-02-16 Thread David Pesetsky
Thanks.  Is there a way to stop LaTeX3 from compiling the file?  In fact, 
independent of using or not using this package, since starting to use Lyx again 
a day ago, no matter what I compile, I periodically see the message "L3 
Programming Layer " on the status bar at the bottom of the Lyx window.

Lyx 2.3.4.2
MacOS Catalina 10.15.3

-David

On Feb 16, 2020, at 6:34 AM, Richard Kimberly Heck 
mailto:rikih...@lyx.org>> wrote:

On 2/15/20 5:52 PM, David Pesetsky wrote:
I was using Lyx for Mac rather extensively to write a long-ish manuscript about 
a year ago, but have been away from it for a while.

In the interval, a problem has arisen, though nothing has changed in my setup 
besides updating Lyx and Latex via TexLive.  I install the embrac package, 
which ensures non-italic brackets in otherwise italicized environments.  This 
used to work without a problem, but now generates the error message:

LaTeX3 Error: Command '\textsi' not yet defined!

I am sure of my trouble-shooting, since commenting out the usepackage command 
eliminates the error.

This is pretty suspicious. It suggests, to me, that LaTeX3 is being used to 
compile this file, which will almost certainly cause major problems with LyX. 
Then again, it's possible that the problem is just local to the embrac package. 
You might try writing the maintainer at 
cont...@mychemistry.eu<mailto:cont...@mychemistry.eu>.

Riki


--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


"LaTeX3 Error: Command '\textsi' not yet defined!"

2020-02-15 Thread David Pesetsky
I was using Lyx for Mac rather extensively to write a long-ish manuscript about 
a year ago, but have been away from it for a while.

In the interval, a problem has arisen, though nothing has changed in my setup 
besides updating Lyx and Latex via TexLive.  I install the embrac package, 
which ensures non-italic brackets in otherwise italicized environments.  This 
used to work without a problem, but now generates the error message:

LaTeX3 Error: Command '\textsi' not yet defined!

I am sure of my trouble-shooting, since commenting out the usepackage command 
eliminates the error.

When I was using Lyx a year ago, I wasn't seeing any mentions of LaTex3, I'm 
fairly sure (and no errors from embrac).  Any idea what's going wrong and how I 
can eliminate the problem or work around it?

Thanks,
David
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Capabilities for navigating my trove of LyX documents

2019-11-05 Thread David Mertens
On Tue, Nov 5, 2019 at 10:22 AM Paul A. Rubin  wrote:

> On 11/5/19 8:15 AM, David Mertens wrote:
>
> Hello Paul, list,
>
> Thank you for your ideas. The batch file/bash script for keeping a set of
> tabs coherent is an excellent idea!
>
> Unfortunately, the bookmarks suggestion won't work for me. Most of my
> notebooks have figures generated by analysis scripts (usually PNG these
> days). When LyX opens a symbolic link, it will look for relative paths
> relative to the symbolic link's directory. I use relative paths all over
> the place because I synchronize my notebooks across two different machines
> with different usernames, and thus different full paths. If I use relative
> figure filenames, LyX can find the figures whether I open them on my laptop
> of the lab machine, but that would break bookmarking.
>
> Note: I tried using a tilde to represent the home directory for figures,
> something like "~/projects/2019/.../some-figure.png". This works in LyX,
> but the way it works is that LyX replaces the tilde with my current user's
> home directory as soon as I close the Graphics dialog. If LyX kept the
> tilde in the path to the file, I would be able to express "absolute" paths
> across my two different users.
>
> Upon further reflection, I feel like at least some fraction of this
> behaviour could be implemented use lyxpipe if lyxpipe could speak to all
> open sessions. For example, if there were a command-line option to give the
> LyX session a name, then I could use the batch-file trick to save tabs
> *and* associate a name with the session. I could then implement a
> third-party GUI program that handles bookmarked notebooks and could speak
> to the different sessions as needed.
>
> David
>
> On Sat, Nov 2, 2019 at 4:49 PM Paul A. Rubin  wrote:
>
>> On 11/2/19 12:04 PM, David Mertens wrote:
>>
>> Hello everyone,
>>
>> After years of using LyX for research notebooks, I find myself these days
>> working with sets of documents much like I have sets of tabs in my browser.
>> I would really, really like to be able to open up sets of documents just
>> like I can open up sets of tabs in a browser, and I would also really like
>> to be able to bookmark documents much like I can bookmark web pages.
>> Finally, it would be really nice if I could embed LyX links to other
>> documents to refer to previous calculations or experimental results, so
>> that I could click on it and LyX would open the document in a new tab. This
>> would really, really facilitate my scholarly work.
>>
>> Apart from the bookmarking, most of these are "solved" by opening
>> multiple LyX sessions with the tabs I need, then never restarting my laptop
>> for weeks on end. However, when my laptop inadvertently loses power, all of
>> that "state" is lost and I have to recreate it from scratch.
>>
>> I have looked into implementing some of these ideas with lyxpipe
>> programming, but as I said I use multiple LyX sessions for different kinds
>> of work: one research project, another research project, one class, and
>> another class all need their own tab sets, so they go in different
>> sessions. lyxpipe can only talk with the first LyX process that starts.
>>
>> As far as I can tell, LyX does not have any of these capabilities and
>> lyxpipe is not the way to implement them. Am I wrong? If I wanted to
>> implement them, what is the most sensible way to do so? Is there an
>> extension mechanism for this kind of thing besides lyxpipe? Finally, what
>> are the tools that others use to organize large collections of notebook-ish
>> files?
>>
>> Thanks!
>> David
>>
>> P.S. I am not (yet) subscribed to the user list, so I'd appreciate if
>> replies included my email address explicitly. Thanks!
>>
>> --
>> *David Mertens*
>> Assistant Professor of Physics
>> 727.864.8521
>>
>> Office Hours can be made by appointment within the following time blocks:
>>
>>- Tuesday 11:30 a.m. to 4:00 p.m., MPC 213
>>- Thursday 11:30 a.m. to 2:00 p.m., MPC 107
>>- Friday 1:00 p.m. to 2:00 p.m., MPC 107
>>
>>
>> Eckerd College <http://www.eckerd.edu>
>> 4200 54th Avenue South
>> St. Petersburg, Florida 33711
>> [image: Eckerd College logo]
>>
>> At least part of this is fairly easy to implement.
>>
>> Opening sets of documents: You can set up a one-line batch file to open a
>> particular bunch of documents. Omitting the path info for brevity, "lyx
>> file1.lyx file2.lyx ..." will open all the files listed in one LyX window.
>> Similarly, &

Re: Capabilities for navigating my trove of LyX documents

2019-11-05 Thread David Mertens
Hello Paul, list,

Thank you for your ideas. The batch file/bash script for keeping a set of
tabs coherent is an excellent idea!

Unfortunately, the bookmarks suggestion won't work for me. Most of my
notebooks have figures generated by analysis scripts (usually PNG these
days). When LyX opens a symbolic link, it will look for relative paths
relative to the symbolic link's directory. I use relative paths all over
the place because I synchronize my notebooks across two different machines
with different usernames, and thus different full paths. If I use relative
figure filenames, LyX can find the figures whether I open them on my laptop
of the lab machine, but that would break bookmarking.

Note: I tried using a tilde to represent the home directory for figures,
something like "~/projects/2019/.../some-figure.png". This works in LyX,
but the way it works is that LyX replaces the tilde with my current user's
home directory as soon as I close the Graphics dialog. If LyX kept the
tilde in the path to the file, I would be able to express "absolute" paths
across my two different users.

Upon further reflection, I feel like at least some fraction of this
behaviour could be implemented use lyxpipe if lyxpipe could speak to all
open sessions. For example, if there were a command-line option to give the
LyX session a name, then I could use the batch-file trick to save tabs *and*
associate a name with the session. I could then implement a third-party GUI
program that handles bookmarked notebooks and could speak to the different
sessions as needed.

David

On Sat, Nov 2, 2019 at 4:49 PM Paul A. Rubin  wrote:

> On 11/2/19 12:04 PM, David Mertens wrote:
>
> Hello everyone,
>
> After years of using LyX for research notebooks, I find myself these days
> working with sets of documents much like I have sets of tabs in my browser.
> I would really, really like to be able to open up sets of documents just
> like I can open up sets of tabs in a browser, and I would also really like
> to be able to bookmark documents much like I can bookmark web pages.
> Finally, it would be really nice if I could embed LyX links to other
> documents to refer to previous calculations or experimental results, so
> that I could click on it and LyX would open the document in a new tab. This
> would really, really facilitate my scholarly work.
>
> Apart from the bookmarking, most of these are "solved" by opening multiple
> LyX sessions with the tabs I need, then never restarting my laptop for
> weeks on end. However, when my laptop inadvertently loses power, all of
> that "state" is lost and I have to recreate it from scratch.
>
> I have looked into implementing some of these ideas with lyxpipe
> programming, but as I said I use multiple LyX sessions for different kinds
> of work: one research project, another research project, one class, and
> another class all need their own tab sets, so they go in different
> sessions. lyxpipe can only talk with the first LyX process that starts.
>
> As far as I can tell, LyX does not have any of these capabilities and
> lyxpipe is not the way to implement them. Am I wrong? If I wanted to
> implement them, what is the most sensible way to do so? Is there an
> extension mechanism for this kind of thing besides lyxpipe? Finally, what
> are the tools that others use to organize large collections of notebook-ish
> files?
>
> Thanks!
> David
>
> P.S. I am not (yet) subscribed to the user list, so I'd appreciate if
> replies included my email address explicitly. Thanks!
>
> --
> *David Mertens*
> Assistant Professor of Physics
> 727.864.8521
>
> Office Hours can be made by appointment within the following time blocks:
>
>- Tuesday 11:30 a.m. to 4:00 p.m., MPC 213
>- Thursday 11:30 a.m. to 2:00 p.m., MPC 107
>- Friday 1:00 p.m. to 2:00 p.m., MPC 107
>
>
> Eckerd College <http://www.eckerd.edu>
> 4200 54th Avenue South
> St. Petersburg, Florida 33711
> [image: Eckerd College logo]
>
> At least part of this is fairly easy to implement.
>
> Opening sets of documents: You can set up a one-line batch file to open a
> particular bunch of documents. Omitting the path info for brevity, "lyx
> file1.lyx file2.lyx ..." will open all the files listed in one LyX window.
> Similarly, "lyx *.lyx" will open all the .lyx files in the directory where
> the command is being run (at least on Linux, but I imagine also on MacOS
> and Windows).
>
> Bookmarks: LyX lets you open files from a list of recently opened ones. If
> that's not sufficient, one possibility is to create a folder (directory)
> someplace for "bookmarks". In that folder, put a link to each file you
> would like to bookmark. (On Linux, this is known as a symlink. Windows and,
> I

Capabilities for navigating my trove of LyX documents

2019-11-02 Thread David Mertens
Hello everyone,

After years of using LyX for research notebooks, I find myself these days
working with sets of documents much like I have sets of tabs in my browser.
I would really, really like to be able to open up sets of documents just
like I can open up sets of tabs in a browser, and I would also really like
to be able to bookmark documents much like I can bookmark web pages.
Finally, it would be really nice if I could embed LyX links to other
documents to refer to previous calculations or experimental results, so
that I could click on it and LyX would open the document in a new tab. This
would really, really facilitate my scholarly work.

Apart from the bookmarking, most of these are "solved" by opening multiple
LyX sessions with the tabs I need, then never restarting my laptop for
weeks on end. However, when my laptop inadvertently loses power, all of
that "state" is lost and I have to recreate it from scratch.

I have looked into implementing some of these ideas with lyxpipe
programming, but as I said I use multiple LyX sessions for different kinds
of work: one research project, another research project, one class, and
another class all need their own tab sets, so they go in different
sessions. lyxpipe can only talk with the first LyX process that starts.

As far as I can tell, LyX does not have any of these capabilities and
lyxpipe is not the way to implement them. Am I wrong? If I wanted to
implement them, what is the most sensible way to do so? Is there an
extension mechanism for this kind of thing besides lyxpipe? Finally, what
are the tools that others use to organize large collections of notebook-ish
files?

Thanks!
David

P.S. I am not (yet) subscribed to the user list, so I'd appreciate if
replies included my email address explicitly. Thanks!

-- 
*David Mertens*
Assistant Professor of Physics
727.864.8521

Office Hours can be made by appointment within the following time blocks:

   - Tuesday 11:30 a.m. to 4:00 p.m., MPC 213
   - Thursday 11:30 a.m. to 2:00 p.m., MPC 107
   - Friday 1:00 p.m. to 2:00 p.m., MPC 107


Eckerd College <http://www.eckerd.edu>
4200 54th Avenue South
St. Petersburg, Florida 33711
[image: Eckerd College logo]
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: preparing math exams

2019-04-23 Thread David Johnson
I have used TGIF for years, and it works well.  I don't know if it is
available for wondows or mac, but in linux it's widely available.

On Tue, Apr 23, 2019 at 11:06 AM Gour  wrote:

> Hello,
>
> I wonder what do you use to prepare math exams for primary school (e.g.
> 5th to 8th grade) which involves drawing lines, segments, angles,
> polygons, circles, drwaing functions etc.?
>
> For rational numbers etc. I suppose that LateX/LyX's math-input-language
> is more than enough...
>
> In the past I was using LyX to prepare books, but math was not involved,
> but now I might have a need for it.
>
>
> Sincerely,
> Gour
>
>
> --
> As a lamp in a windless place does not waver, so the transcendentalist,
> whose mind is controlled, remains always steady in his meditation on the
> transcendent self.
>
>
>

-- 
David L. Johnson
Department of Mathematics
Lehigh University


Re: Lyx sluggish on Windows 10

2019-03-22 Thread David Belius
Fantastic, thank you very much!

Is the fix in a git repository somewhere so I can try it out?

Regards,
David

Den tors 21 mars 2019 kl 21:51 skrev Jean-Marc Lasgouttes <
lasgout...@lyx.org>:

> Le 21/03/2019 à 21:32, Dr Paul Verschueren a écrit :
> > Well done Jean-Marc - and many thanks!
>
> I am interested in other documents that exhibit performance issues.
> I know that more remains to be done.
>
> JMarc
>


Re: Lyx sluggish on Windows 10

2019-03-10 Thread David Belius
No, it's turned off.

Den sön 10 mars 2019 kl 15:55 skrev Paul A. Rubin :

> On 3/10/19 8:31 AM, David Belius wrote:
>
>
>
> Den sön 10 mars 2019 kl 01:11 skrev Paul A. Rubin :
>
>> On 3/9/19 2:59 AM, David Belius wrote:
>>
>> Den lör 9 mars 2019 kl 00:19 skrev Scott Kostyshak :
>>
>>> On Fri, Mar 08, 2019 at 08:47:34PM +0100, David Belius wrote:
>>> > Hi,
>>> >
>>> > Recently Lyx has been sluggish when typing equations and scrolling in
>>> > moderately sized documents, to the point that it becomes very
>>> frustrating.
>>> > Is this known to be an issue with current versions? I am using a fresh
>>> > install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
>>> > 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
>>> > computer editing same document is very snappy.
>>>
>>> I'm not sure I have seen such a report. It is hard to know how to
>>> diagnose the problem. When you see the sluggishness, are you by chance
>>> working on a file that is in a Dropbox folder and you have automatic
>>> save set to a high frequency? That's just a random guess. We have seen
>>> some problems from users with both Windows and Dropbox.
>>>
>>
>>
>> Indeed the file is in a dropbox folder. But "Look>Document
>> Handling->Backup documents every X minutes" is set to 5, which doesn't seem
>> bery high frequency, and the problem persists even if I edit a copy of the
>> document I placed in a non-dropbox folder.
>>
>> If you open the Windows Task Manager and then start editing a document in
>> LyX, does the Task Manager show either high CPU utilization or high disk
>> utilization for anything?
>>
>
> When I type into an equation CPU usage hits about 50%, split evenly
> between Lyx and a process called "Usermode Font Driver Host". I googled the
> latter and found some references to it in connection with possibly similar
> problems (
> https://forum.affinity.serif.com/index.php?/topic/51268-usermode-font-driver-host-freezes-computer/).
> I tried the "clean boot" mentioned in that discussion but it didn't change
> anything.
>
> Incidently on Ubuntu the CPU usage for lyx in "top" hits ca 30% when I
> type into an equation in the same document at the same speed, but there is
> no additional process that sees increased CPU usage and lyx remains
> responsive while typing, unlike on windows.
>
> You don't by any chance have instant preview turned on, do you?
>
> Paul
>
>


Re: Lyx sluggish on Windows 10

2019-03-10 Thread David Belius
Den sön 10 mars 2019 kl 01:11 skrev Paul A. Rubin :

> On 3/9/19 2:59 AM, David Belius wrote:
>
> Den lör 9 mars 2019 kl 00:19 skrev Scott Kostyshak :
>
>> On Fri, Mar 08, 2019 at 08:47:34PM +0100, David Belius wrote:
>> > Hi,
>> >
>> > Recently Lyx has been sluggish when typing equations and scrolling in
>> > moderately sized documents, to the point that it becomes very
>> frustrating.
>> > Is this known to be an issue with current versions? I am using a fresh
>> > install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
>> > 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
>> > computer editing same document is very snappy.
>>
>> I'm not sure I have seen such a report. It is hard to know how to
>> diagnose the problem. When you see the sluggishness, are you by chance
>> working on a file that is in a Dropbox folder and you have automatic
>> save set to a high frequency? That's just a random guess. We have seen
>> some problems from users with both Windows and Dropbox.
>>
>
>
> Indeed the file is in a dropbox folder. But "Look>Document
> Handling->Backup documents every X minutes" is set to 5, which doesn't seem
> bery high frequency, and the problem persists even if I edit a copy of the
> document I placed in a non-dropbox folder.
>
> If you open the Windows Task Manager and then start editing a document in
> LyX, does the Task Manager show either high CPU utilization or high disk
> utilization for anything?
>

When I type into an equation CPU usage hits about 50%, split evenly between
Lyx and a process called "Usermode Font Driver Host". I googled the latter
and found some references to it in connection with possibly similar
problems (
https://forum.affinity.serif.com/index.php?/topic/51268-usermode-font-driver-host-freezes-computer/).
I tried the "clean boot" mentioned in that discussion but it didn't change
anything.

Incidently on Ubuntu the CPU usage for lyx in "top" hits ca 30% when I type
into an equation in the same document at the same speed, but there is no
additional process that sees increased CPU usage and lyx remains responsive
while typing, unlike on windows.


Re: Lyx sluggish on Windows 10

2019-03-10 Thread David Belius
Code preview is not open.

Best Regards,
David

Den lör 9 mars 2019 kl 22:52 skrev Daniel :

> On 2019-03-08 20:47, David Belius wrote:
> > Hi,
> >
> > Recently Lyx has been sluggish when typing equations and scrolling in
> > moderately sized documents, to the point that it becomes very
> > frustrating. Is this known to be an issue with current versions? I am
> > using a fresh install of Lyx 2.3.2-2 on an up-to-date version of Windows
> > 10 (Version 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a
> > much older computer editing same document is very snappy.
> >
> > Best Regards,
> > David
>
> Do you happen to have the code preview open?
>
> Daniel
>
>


Re: Lyx sluggish on Windows 10

2019-03-09 Thread David Belius
Den lör 9 mars 2019 kl 00:19 skrev Scott Kostyshak :

> On Fri, Mar 08, 2019 at 08:47:34PM +0100, David Belius wrote:
> > Hi,
> >
> > Recently Lyx has been sluggish when typing equations and scrolling in
> > moderately sized documents, to the point that it becomes very
> frustrating.
> > Is this known to be an issue with current versions? I am using a fresh
> > install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
> > 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
> > computer editing same document is very snappy.
>
> I'm not sure I have seen such a report. It is hard to know how to
> diagnose the problem. When you see the sluggishness, are you by chance
> working on a file that is in a Dropbox folder and you have automatic
> save set to a high frequency? That's just a random guess. We have seen
> some problems from users with both Windows and Dropbox.
>


Indeed the file is in a dropbox folder. But "Look>Document
Handling->Backup documents every X minutes" is set to 5, which doesn't seem
bery high frequency, and the problem persists even if I edit a copy of the
document I placed in a non-dropbox folder.


Lyx sluggish on Windows 10

2019-03-08 Thread David Belius
Hi,

Recently Lyx has been sluggish when typing equations and scrolling in
moderately sized documents, to the point that it becomes very frustrating.
Is this known to be an issue with current versions? I am using a fresh
install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
computer editing same document is very snappy.

Best Regards,
David


Re: LyX on iPad

2018-11-06 Thread David L. Johnson
On Tue, 6 Nov 2018 15:49:19 + (UTC)
Anders Host-Madsen  wrote:

> Still have not found the proper way to post to thread, so I just hope
> it will show up the right place. First, for the topic of the thread:
> I have now tried 1) rollapp.com and 2) remote access to my Mac from
> iPad (Screens and TeamWiever). rollapp.com is too limited (e.g.,
> shortcuts and arrow keys don't work) and expensive. Remote access is
> too slow and unreliable to be a solution. So, the only solution would
> be some type of native app on iPad. 

These limitations are not surprising.  It would be nice to have a
version that would work --- at least on the front end --- on a tablet
(I prefer Android, but the idea is the same).  I'd like to be able to
write when I only have my tablet with me, rather than have to deal with
my laptop all the time.

I remember this kind of discussion before, when Windows users were
asking for a version of LyX that ran on their computers (Initially LyX
was only available for un*x machines, principally linux but it would
compile on most unix boxes, if you had Motif).  Eventually it happened,
but you need to find a programmer with the proper expertise and
interest.


> I do think of LyX as a frontend
> for LaTeX, and not at all irrelevant. In fact, it is the software I
> use the most of all software that I have. It has completely
> revolutionized my workflow, as it's now so easy to write LaTeX. 

I certainly agree.  But, being a mathematician, most of what I write is
impossible to produce decently on Word, et. al.  Also, most of what I
write is still meant for paper, eventually, so e-book formats are not a
big deal for me.


 I
> think the issue is not that LyX is outdated, but that LaTeX is
> outdated. It's made for typesetting on paper, and honestly most
> reading now is done on screens. For that PDF is terrible. It's fixed
> format for printing. Instead, what is needed is mathematical
> typesetting that is free-flowing and adaptable to the screen it's
> read on (including a phone). Is there any work going on on that kind
> of standard?

Again, having a long memory of such things is useful.  Since TeX is
intended primarily for paper output, it took time to get someone
interested in exporting it to pdf, so it could be read on a screen.
Postscript seemed, back then, to be the preferred output (since
printers like that).  But what you are asking for is not a new
component for LyX, but a way to export to e-book formats, which would
be, basically, a dvi-to-(enter your e-book format) utility.  TeX may be
too wedded to page sizes and predetermined font sizes, but that also is
a TeX issue, it never has been a LyX issue.



-- 

David L. Johnson
Department of Mathematics
Lehigh University


Re: LyX on iPad

2018-11-01 Thread David L. Johnson
On Thu, 1 Nov 2018 19:41:54 -0600
Joel Kulesza  wrote:

> >> At one point, I wanted to create a couple of apps for Android.
> >> I've taught Java programming for a university; but, when I saw how
> >> much I would have to invest in learning the peculiarities of the
> >> Android interface, I lost nearly all of my interest in the two
> >> projects.  I assume that the demands of programming for iOS are
> >> similar.  
> > 
That is a disappointment.  Given Android's start as an offshoot of
linux, you would think it would be more straightforward.  This would
also enable (I think) LyX to run on netbooks, since AFAIK they are
Android machines --- and since they have real keyboards they would make
a usable platform.  I do believe TeX is available in some form.  I also
have no idea why porting to the iPad would be significantly harder than
a Mac.  I am, perhaps, too naive.

-- 

David L. Johnson
Department of Mathematics
Lehigh University


Re: subscripts and superscripts display problem

2018-07-08 Thread David Pesetsky
Thanks — reported.


> On Jul 8, 2018, at 8:00 PM, Richard Kimberly Heck  wrote:
> 
> On 07/08/2018 03:42 PM, Joel Kulesza wrote:
>> 
>> On Jul 8, 2018, at 10:49, David Pesetsky > <mailto:pese...@mit.edu>> wrote:
>> 
>>> And an update:  I've discovered the problem previously reported here 
>>> (missed this for some reason when searching earlier):
>>> 
>>> https://tex.stackexchange.com/questions/311041/subscript-and-superscript-in-lyx-leave-large-gaps-in-onscreen-editor
>>>  
>>> <https://tex.stackexchange.com/questions/311041/subscript-and-superscript-in-lyx-leave-large-gaps-in-onscreen-editor>
>>> 
>>> -- with a reference to this bug report: 
>>> https://www.lyx.org/trac/ticket/10177 
>>> <https://www.lyx.org/trac/ticket/10177>
>>> 
>>> Is there an approved way to add my own "please fix this" to that bug report 
>>> from two years ago?
>> 
>> I’m not sure of it’s acceptability, but if I find an unresolved bug that I’m 
>> also afflicted by, I comment with the specifics (LyX version, OS, etc.) to 
>> (a) provide additional information about extent of effect, (b) indicate 
>> interest, and (c) get CC’d on any replies so I can follow and/or help debug 
>> as the issue is addressed by the dev team. 
> 
> More info about such bugs is always welcome. And if more people seem to be 
> affected, then that does tend to bring attention to the issue.
> 
> Riki
> 

-

smime.p7s
Description: S/MIME cryptographic signature


Re: subscripts and superscripts display problem

2018-07-08 Thread David Pesetsky
And an update:  I've discovered the problem previously reported here (missed 
this for some reason when searching earlier):

https://tex.stackexchange.com/questions/311041/subscript-and-superscript-in-lyx-leave-large-gaps-in-onscreen-editor
 
<https://tex.stackexchange.com/questions/311041/subscript-and-superscript-in-lyx-leave-large-gaps-in-onscreen-editor>

-- with a reference to this bug report: https://www.lyx.org/trac/ticket/10177 
<https://www.lyx.org/trac/ticket/10177>

Is there an approved way to add my own "please fix this" to that bug report 
from two years ago?

-David

> On Jul 8, 2018, at 12:42 PM, David Pesetsky  wrote:
> 
> OK, thank you.  I've pinpointed the issue now.
> 
> Early in using Lyx a year or so ago, I was othered by the absence of 
> on-screen margins, the text running right up to the edge of the window in the 
> default configuration.  Somewhere online, I found the advice to modify "Local 
> Layout" under Document>Settings to take care of this.  Following what I had 
> read, I added to Local Layout the following:
> 
> Format 60
> RightMargin 10pt
> LeftMargin 10pt
> 
> — which did the trick, as far as I was concerned.
> 
> What I have now learned is that my LeftMargin setting is responsible for what 
> I now assume is a bug in the display of superscripts and subscripts.  When I 
> remove this line, the problem disappears (along with my onscreen left 
> margin).  When I put it back, the problem reappears.  The other two commands 
> that I added to Local Layout have no effect on this problem.
> 
> Unless this is a feature rather than a bug, for some reason, I assume this is 
> something to report, but perhaps you will know better than me how to report 
> it informatively?
> 
> For now, I will live with my onscreen margins and the (presumed) bug, unless 
> you have a better suggestion.  Thank you again.
> 
> -David
> 
> 
>> On Jul 8, 2018, at 12:10 PM, Joel Kulesza > <mailto:jkule...@gmail.com>> wrote:
>> 
>> On Sun, Jul 8, 2018 at 9:52 AM, David Pesetsky > <mailto:pese...@mit.edu>> wrote:
>> -
>> 
>>> On Jul 8, 2018, at 11:48 AM, Joel Kulesza >> <mailto:jkule...@gmail.com>> wrote:
>>> 
>>> On Sun, Jul 8, 2018 at 9:29 AM, David Pesetsky >> <mailto:pese...@mit.edu>> wrote:
>>> When I add text as a subscript or superscript using 
>>> Insert>Formatting>{Sub,Super}script,  Lyx 2.3.0 adds a large onscreen 
>>> horizontal gap before the text.  This appears to be WYSIWYG problem only, 
>>> as the Latex output does not have this problem (and there is no gap, as far 
>>> as the onscreen cursor is concerned).  I don't see anything about this in 
>>> the bug tracker, so is it something I should file as a bug?  Or something I 
>>> did, without knowing it ...?
>>> 
>>> -David
>>> 
>>> I don't see similar behavior with LyX 2.3.0 on OS X 10.13.5 (see attached 
>>> for what I see). 
>>> 
>>> It looks like your LyX background color is different from the default 
>>> (white rather than the default beige).  Perhaps another customization is 
>>> driving this behavior?
>> 
>> Right, that's what I was wondering, but I can't think of what.  I changed 
>> some colors a while ago, and picked an onscreen font — but I've tried 
>> tinkering with different onscreen fonts, with no difference in the 
>> superscript/subscript problem.
>> 
>> What I would do to diagnose this:
>> 
>> Rename ~/Library/Application Support/LyX-2.3 to  ~/Library/Application 
>> Support/LyX-2.3.bak
>> 
>> Relaunch LyX 2.3.0.  It will think it's a new installation with no 
>> configuration files and will generate them (taking longer than usual to 
>> start while doing so).  Run a test to see if the sub/superscripts are 
>> "normal."  If so, it is something in the non-default settings.  From there, 
>> you can compare the contents of the new (clean) configuration files in that 
>> directory to the backup you made.
>> 
>> To recover your old settings, for better or worse, remove the "new" 
>> ~/Library/Application Support/LyX-2.3 directory and copy over the "old", 
>> backed-up, one from ~/Library/Application Support/LyX-2.3.bak.
>> 
>> - Joel
>>  
>> 
> 
> -- 
> David Pesetsky[pese...@mit.edu <mailto:pese...@mit.edu>]
> Department of Linguistics and Philosophy
> 32-D818 Massachusetts Institute of Technology
> 77 Massachusetts Avenue
> Cambridge, MA 02139 USA
> (617) 253-0957 office   (617) 253-5017 fax 
> http://web.mit.edu/linguistics/www/pesetsky.home.html 
> <http://web.mit.edu/linguistics/www/pesetsky.home.html>

-- 
David Pesetsky  [pese...@mit.edu]
Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax 
http://web.mit.edu/linguistics/www/pesetsky.home.html



smime.p7s
Description: S/MIME cryptographic signature


Re: subscripts and superscripts display problem

2018-07-08 Thread David Pesetsky
OK, thank you.  I've pinpointed the issue now.

Early in using Lyx a year or so ago, I was othered by the absence of on-screen 
margins, the text running right up to the edge of the window in the default 
configuration.  Somewhere online, I found the advice to modify "Local Layout" 
under Document>Settings to take care of this.  Following what I had read, I 
added to Local Layout the following:

Format 60
RightMargin 10pt
LeftMargin 10pt

— which did the trick, as far as I was concerned.

What I have now learned is that my LeftMargin setting is responsible for what I 
now assume is a bug in the display of superscripts and subscripts.  When I 
remove this line, the problem disappears (along with my onscreen left margin).  
When I put it back, the problem reappears.  The other two commands that I added 
to Local Layout have no effect on this problem.

Unless this is a feature rather than a bug, for some reason, I assume this is 
something to report, but perhaps you will know better than me how to report it 
informatively?

For now, I will live with my onscreen margins and the (presumed) bug, unless 
you have a better suggestion.  Thank you again.

-David


> On Jul 8, 2018, at 12:10 PM, Joel Kulesza  wrote:
> 
> On Sun, Jul 8, 2018 at 9:52 AM, David Pesetsky  <mailto:pese...@mit.edu>> wrote:
> -
> 
>> On Jul 8, 2018, at 11:48 AM, Joel Kulesza > <mailto:jkule...@gmail.com>> wrote:
>> 
>> On Sun, Jul 8, 2018 at 9:29 AM, David Pesetsky > <mailto:pese...@mit.edu>> wrote:
>> When I add text as a subscript or superscript using 
>> Insert>Formatting>{Sub,Super}script,  Lyx 2.3.0 adds a large onscreen 
>> horizontal gap before the text.  This appears to be WYSIWYG problem only, as 
>> the Latex output does not have this problem (and there is no gap, as far as 
>> the onscreen cursor is concerned).  I don't see anything about this in the 
>> bug tracker, so is it something I should file as a bug?  Or something I did, 
>> without knowing it ...?
>> 
>> -David
>> 
>> I don't see similar behavior with LyX 2.3.0 on OS X 10.13.5 (see attached 
>> for what I see). 
>> 
>> It looks like your LyX background color is different from the default (white 
>> rather than the default beige).  Perhaps another customization is driving 
>> this behavior?
> 
> Right, that's what I was wondering, but I can't think of what.  I changed 
> some colors a while ago, and picked an onscreen font — but I've tried 
> tinkering with different onscreen fonts, with no difference in the 
> superscript/subscript problem.
> 
> What I would do to diagnose this:
> 
> Rename ~/Library/Application Support/LyX-2.3 to  ~/Library/Application 
> Support/LyX-2.3.bak
> 
> Relaunch LyX 2.3.0.  It will think it's a new installation with no 
> configuration files and will generate them (taking longer than usual to start 
> while doing so).  Run a test to see if the sub/superscripts are "normal."  If 
> so, it is something in the non-default settings.  From there, you can compare 
> the contents of the new (clean) configuration files in that directory to the 
> backup you made.
> 
> To recover your old settings, for better or worse, remove the "new" 
> ~/Library/Application Support/LyX-2.3 directory and copy over the "old", 
> backed-up, one from ~/Library/Application Support/LyX-2.3.bak.
> 
> - Joel
>  
> 

-- 
David Pesetsky  [pese...@mit.edu]
Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax 
http://web.mit.edu/linguistics/www/pesetsky.home.html



smime.p7s
Description: S/MIME cryptographic signature


Re: subscripts and superscripts display problem

2018-07-08 Thread David Pesetsky
-

> On Jul 8, 2018, at 11:48 AM, Joel Kulesza  wrote:
> 
> On Sun, Jul 8, 2018 at 9:29 AM, David Pesetsky  <mailto:pese...@mit.edu>> wrote:
> When I add text as a subscript or superscript using 
> Insert>Formatting>{Sub,Super}script,  Lyx 2.3.0 adds a large onscreen 
> horizontal gap before the text.  This appears to be WYSIWYG problem only, as 
> the Latex output does not have this problem (and there is no gap, as far as 
> the onscreen cursor is concerned).  I don't see anything about this in the 
> bug tracker, so is it something I should file as a bug?  Or something I did, 
> without knowing it ...?
> 
> -David
> 
> I don't see similar behavior with LyX 2.3.0 on OS X 10.13.5 (see attached for 
> what I see). 
> 
> It looks like your LyX background color is different from the default (white 
> rather than the default beige).  Perhaps another customization is driving 
> this behavior?

Right, that's what I was wondering, but I can't think of what.  I changed some 
colors a while ago, and picked an onscreen font — but I've tried tinkering with 
different onscreen fonts, with no difference in the superscript/subscript 
problem.


> 
> - Joel
> 
> 




smime.p7s
Description: S/MIME cryptographic signature


subscripts and superscripts display problem

2018-07-08 Thread David Pesetsky
When I add text as a subscript or superscript using 
Insert>Formatting>{Sub,Super}script,  Lyx 2.3.0 adds a large onscreen 
horizontal gap before the text.  This appears to be WYSIWYG problem only, as 
the Latex output does not have this problem (and there is no gap, as far as the 
onscreen cursor is concerned).  I posted a screenshot here: 
https://imgur.com/a/FSnSRsP <https://imgur.com/a/FSnSRsP>

I don't see anything about this in the bug tracker, so is it something I should 
file as a bug?  Or something I did, without knowing it ...?

-David


 

smime.p7s
Description: S/MIME cryptographic signature


Re: \hat{x}_i

2018-06-11 Thread David L. Johnson
On Mon, 11 Jun 2018 03:14:59 -0700
Daniel Kian Mc Kiernan  wrote:

> A _pure_ LyX method is to select the hat box from the frame 
> decorations menu, enter the ‘x’, leave the hat box, then select 
> subscripts, and enter the ‘i’
> 
> But, really, I think that a mix of LaTeX and gooey LyX is a better
> way to go.  I'd probably use the method of Hal Kierstead.  Professor 
> Johnson's second method is fine too.

I would agree that a more LaTeX approach would be easiest, but I
usually find myself needing to add, or remove, an \overline{}
decoration, which is easier for me in the gooey fashion.  The only
problem with using LaTeX directly is that LyX puts you in that box, and
you have to know to get out of it.


-- 

David L. Johnson
Department of Mathematics
Lehigh University


Re: \hat{x}_i

2018-06-08 Thread David L. Johnson
On Fri, 08 Jun 2018 17:49:15 -0400
Neal Becker  wrote:

> How do I enter (without using raw TeX) 
> \hat{x}_i?
> 
> I seem to always end up with \hat{x_i}, which isn't the same (and
> doesn't look correct)

You have to be just a little careful.  You can either enter the x, then
highlight it and add in the \hat from the menu, then get out of that
box and enter the _i, or you can enter the x_i, highlight the x only,
and choose the \hat from the menu.  Since I don't always remember
quickly all of the commands for such decorations, it's easier for me to
do this than to use the keystrokes.  

-- 

David L. Johnson
Department of Mathematics
Lehigh University


Re: Improvements to splitting math equation for multi-line?

2018-05-19 Thread David L. Johnson
On Sat, 19 May 2018 18:35:25 +0200
Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote:

> Le 19/05/2018 à 16:08, David L. Johnson a écrit :
> > I would prefer to have it go into the eqnarry environment rather
> > than AMS align, or at least default to three columns rather than 2,
> > with the = in the middle.  That way, following lines will have the
> > = sign aligned, which IMO is how it should be.  
> 
> I am not sure that I understand the argument. = signs are aligned
> with "align" environment, aren't they? And the extra spacing added by
> eqnarry is gone, which is a good thing IMO.
> 
> Could you give an example of what you do not like?

Attached.  I have two nonsense displayed equations.  The top is with
align, the bottom with eqnarray.  The extra spacing, as you call it,
justifies the two sides of the equation consistently with eqnarray.  I
think it's easier to read.


-- 

David L. Johnson
Department of Mathematics
Lehigh University


test1.lyx
Description: application/lyx


Re: Improvements to splitting math equation for multi-line?

2018-05-19 Thread David L. Johnson
On Sat, 19 May 2018 11:14:16 -0400
Scott Kostyshak <skost...@lyx.org> wrote:

> > I would prefer to have it go into the eqnarry environment rather
> > than AMS align, or at least default to three columns rather than 2,
> > with the = in the middle.  That way, following lines will have the
> > = sign aligned, which IMO is how it should be.  
> 
> If you set amsmath to "Do not Load" in Document > Settings > Math
> Options, the default will be an eqnarray.

Well, I can't do that.

-- 

David L. Johnson
Department of Mathematics
Lehigh University


Re: Improvements to splitting math equation for multi-line?

2018-05-19 Thread David L. Johnson
On Sat, 19 May 2018 01:04:31 -0400
Scott Kostyshak <skost...@lyx.org> wrote:

> When in a math display equation, if you press "ctrl + return", LyX
> will turn it into a multi-line equation. I think the default is an
> "align" environment. To do this, LyX tries "split" your current
> equation into two parts. For example, if the equation is:
> 
>   y = 3x + 5
> 
> LyX guesses that you want "y" on the left box, and "= 3x + 5" in the
> right box. In other words, it splits on the "=" sign.
> 
> Do you use this feature? Are there any improvements that you can think
> of? 

I would prefer to have it go into the eqnarry environment rather than
AMS align, or at least default to three columns rather than 2, with the
= in the middle.  That way, following lines will have the = sign
aligned, which IMO is how it should be.

 I haven't looked at the code yet, but I'm considering trying to
> improve the algorithm for splitting. My personal use case is that I
> often have expressions of the form
> 
>   P(X < 3) = 2
> 
> Currently LyX splits this on the "<". 

Well, you could prevent that by replacing "P(X<3)=2" with
"P\left(X<3\right)=2", which is easy to do in LyX.  It also looks
better.

 I would like to have
the
> algorithm prioritize a relation character that is outside of
> delimiters.

But LyX doesn't understand them as delimiters unless they are written
as such.


-- 

David L. Johnson
Department of Mathematics
Lehigh University


Re: \approx with /

2018-05-15 Thread David L. Johnson
On Tue, 15 May 2018 17:09:58 +0200
Wolfgang Engelmann <engelm...@uni-tuebingen.de> wrote:

> does anybody know how to produce the \approx (2 waves) with a / sign 
> going through it in LaTeX or LyX
> 
> Wolfgang?
> 
In LyX
\not then hit enter then \approx 

-- 

David L. Johnson
Department of Mathematics
Lehigh University


feature request: text search in LaTex Preamble

2018-03-31 Thread David Pesetsky
I often find myself hunting for something in the preamble and having to cut and 
paste the contents of the "Document Settings/LaTex Preamble" window into a text 
processing program to search for what I want. (And then I sometimes tinker with 
it in the text processing program, forgetting that this does nothing until I go 
back to LyX and make the change there.) It would be nice to have a text search 
facility available within this LyX window, if possible. Or am I missing 
something and the feature is there somewhere?

(If there is another place to post feature requests let me know.  The bug 
tracker looks like it's only for bugs.)

-David




Re: Change Latex Math Code

2018-03-20 Thread David L. Johnson

On 03/20/2018 03:39 PM, Baris Erkus wrote:


Hello,

Is there a way to change the latex math code in LyX by editing the code?

For example, if I enter a fraction in math environment using back 
slash  like \frac, is there a way to edit this Latex code and make it 
\dfrac simply by placing “d” in front of “f”?


Baris Erkus


Did you try entering \dfrac while in math mode?  It works for me.

--

David L. Johnson
Department of Mathematics
Lehigh University



Index not printing

2018-03-15 Thread David White
Hi,

For some reason, indexes are not being produced with pdflatex.

I started noticing this around the time of upgrading MiKTeX to the latest
(64-bit) version.  I have created several documents with indexes (single
and multiple) in the past, so I am rather baffled.

If I open the LyX User's Guide from the Help menu and hit View [PDF
(pdflatex)], an index is not printed.  If I create a brand new document,
type some text, insert an index entry (using the menu) and insert an index,
an index is not printed.

The "Default" Processor is set in Document Settings > Index Generation.

Strangely, the idx file is created and there are no errors or warnings in
the logs.

Has anyone seen this before?

Any thoughts on what might be causing this issue.

Many thanks, David.


Re: binding "Wrap by Preview" to a key

2018-01-17 Thread David Pesetsky
Excellent, that works — thank you so much!  I added an additional char-forward 
to the end of your incantation, so I stay within the innermost box.

-David

> On Jan 17, 2018, at 2:05 PM, Paul A. Rubin <parubi...@gmail.com> wrote:
> 
> On 01/17/2018 01:28 PM, David Pesetsky wrote:
>> Is there any way to create a keyboard shortcut for “Wrap by Preview”, which 
>> otherwise appears only in the control-click/right-click contextual menu when 
>> clicking in an ERT box?
>> 
>> I don’t see anything obvious in the list of keyboard shortcut possibilities 
>> offered in the preference settings — but perhaps I’m missing something?
>> 
>> -David
>> 
>> 
> You can try binding the following incantation to a keyboard shortcut of your 
> choosing:
> 
> command-sequence repeat 
> 1;inset-toggle;char-forward;char-backward;char-forward-select;preview-insert;char-backward;char-backward;inset-toggle
> 
> Paul
> 

-- 
David Pesetsky  [pese...@mit.edu]
Head, Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax 
http://web.mit.edu/linguistics/www/pesetsky.home.html



binding "Wrap by Preview" to a key

2018-01-17 Thread David Pesetsky
Is there any way to create a keyboard shortcut for “Wrap by Preview”, which 
otherwise appears only in the control-click/right-click contextual menu when 
clicking in an ERT box?  

I don’t see anything obvious in the list of keyboard shortcut possibilities 
offered in the preference settings — but perhaps I’m missing something?

-David




Re: bbold

2018-01-17 Thread David L. Johnson

On 01/17/2018 07:46 AM, Patrick Dupre wrote:

Hello,

Lyx offers mathbb
But il looks like that it does not belong to the package
bbold
seems this package is not installed.

My problem is that the package bbold gives me the symbol that I want (like 
\mathbb{1})
while, that I get by default with lyx is a bizarre symbol.
The thing to note is that \mathbb{} is only for capital letters. You do 
get strange symbols if you use it on lower-case letters. \mathbb{}, 
usually called "blackboard bold" gives a font similar to what we usually 
use on a chalkboard to indicate a bold letter, with doubled line 
segments.  Try \mathbb{R} for example.


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Little Problem

2017-08-31 Thread David L. Johnson

On 08/31/2017 01:23 PM, Carlos Knauer wrote:

Good Afternon

How can I erase númber 6 in front of mqtrix at page 9 ? I am sending 
the file.


Thanks.

Carlos F. Knauer - Brazil

That number 6 is there because the environment for that matrix is 
"Section", which you don't want.  Make it "standard" and it will be fine.


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: replace-all within selected text

2017-08-06 Thread David Pesetsky
I see — the discussion seems to have gotten a bit confused around eight years 
ago, but the discussion around three years ago hits the nail on the head.  It 
should work this way in "replace all", and not in simple find or find-replace.  
I am not a member of the Lyx team, obviously, so not part of that discussion — 
but could you or someone revive the discussion on my behalf (as I see someone 
did for some other user)?

Thanks!


> On Aug 6, 2017, at 8:02 PM, Paul A. Rubin <parubi...@gmail.com> wrote:
> 
> On 08/06/2017 06:52 PM, David Pesetsky wrote:
>> I just learned the (very) hard way that Lyx, unlike standard word processors 
>> and other text-manipulating software that I've used, does not limit the 
>> effect of "replace all" to selected text (when something has been selected).
>> 
>> Am I unaware of some switch that can change this behavior, perhaps — or is 
>> there really no way to to select some text and "replace all" limited to 
>> what's been selected?  It's a feature I use constantly in other applications 
>> that's become second-nature  ...
>> 
>> -David
> There's a feature request on file for this: 
> http://www.lyx.org/trac/ticket/2548. Looks as if the ticket hasn't been 
> updated in two years or so.
> 
> Paul
> 

-

replace-all within selected text

2017-08-06 Thread David Pesetsky
I just learned the (very) hard way that Lyx, unlike standard word processors 
and other text-manipulating software that I've used, does not limit the effect 
of "replace all" to selected text (when something has been selected). 

Am I unaware of some switch that can change this behavior, perhaps — or is 
there really no way to to select some text and "replace all" limited to what's 
been selected?  It's a feature I use constantly in other applications that's 
become second-nature  ...

-David

Re: all-inclusive file format

2017-07-28 Thread David L. Johnson

On 07/28/2017 12:02 PM, Joe wrote:

Please please please don't make LyX more like Word. Please!


Amen.

--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Issues using lyx

2017-06-23 Thread David L. Johnson

On 06/22/2017 10:12 PM, Mr William Balthes wrote:



A suggestion from the list is that I use linux.


I know nothing about it.  Does it have automatic updates that you 
can't avoid where the system restarts.


No - at least not the version I use.  Each distribution has its own way 
of doing updates, but having the computer automatically update, and then 
re-starting, seems, well, stupid.



Is it more stable and do you avoid the crashes out of the blue and 
when selecting large amounts of text with the mouse.



I don't have any trouble with that.



Does linux still have back-ups and save temp files.

Sure, but everything is configurable.  There are advantages to linux: 
stability, speed (some programs), versatility.  When I started using 
TeX, the windows version was a complete mess.  Under linux, everything 
talked to everything else easily (a unix feature in general) and 
everything worked like it should.  Networking is part of the design, not 
a bunch of nonsense add-ons.  Security is far better.


There are, for some, disadvantages to linux as well: No Word (I regard 
this as a feature, not a problem), not many games.  The big commercial 
programs usually just ignore linux, except for Maple and Mathematica, 
and things like that.  You do kind of have to like fiddling with your 
computer to want linux on it.


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Is "Citation Style" menu tweakable?

2017-06-21 Thread David Pesetsky
Thanks for your continued help!  I have solved the problem, with the help of 
(the presuppositions of) your questions and this: 
https://tex.stackexchange.com/questions/56525/natbib-setcitestyle-causes-undefined-control-sequence-error?rq=1.

Early in my exploring of Lyx a few weeks ago, I took advantage of the 
information offered by Maria Gouskova, who is in my field, at 
https://www.gouskova.com/resources/.  That includes a link to her texmf 
directory with field-specific stuff in it, with an invitation to copy that into 
one's own texmf directory, which I did.  That turns out to have included an 
out-of-date version of natbib.sty, which was the cause of my error messsages.  
Removing it solved the problem.

Thanks again,
David

On Jun 20, 2017, at 11:23 PM, Richard Heck 
<rgh...@lyx.org<mailto:rgh...@lyx.org>> wrote:

On 06/20/2017 06:25 PM, David Pesetsky wrote:
Thank you for your detailed reply (and hello)!  Your suggestion to add "comma" 
to [...]Class Options>Custom works very well, thank you!

But no matter what I put after \setcitestyle (or where I locate the command in 
the document -- preamble, body), I get an error message from Lyx — for example:

\setcitestyle
{notesep={: }}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

It's not worth chasing down this problem to the ends of the earth, but if you 
have any troubleshooting suggestions, I'd be happy to try them.

Very odd. The \setcitestyle command is defined by natbib.sty, and you said you 
were using natbib, yes?  (It did not exist before version 8 of natbib, but that 
was about a decade ago.) What OS are you using? Do you know what LaTeX 
distribution you have? Actually, maybe a better questin is: What document class 
are you using?

If you could produce as small a file as possible that causes this to happen and 
post that, then it will help debug the issue.

Richard


--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Head, Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html



Re: Is "Citation Style" menu tweakable?

2017-06-20 Thread David Pesetsky
Thank you for your detailed reply (and hello)!  Your suggestion to add "comma" 
to [...]Class Options>Custom works very well, thank you!

But no matter what I put after \setcitestyle (or where I locate the command in 
the document -- preamble, body), I get an error message from Lyx — for example:

\setcitestyle
{notesep={: }}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

It's not worth chasing down this problem to the ends of the earth, but if you 
have any troubleshooting suggestions, I'd be happy to try them.

Thank you again!

-David


On Jun 19, 2017, at 10:45 PM, Richard Heck 
<rgh...@lyx.org<mailto:rgh...@lyx.org>> wrote:

On 06/19/2017 08:48 PM, David Pesetsky wrote:
Is there a way to tweak Lyx so the Citation dialog shows a different set of 
options for "Citation Style" than the ones that appear by default when I have 
selected  "natbib" and "author-year" in Document Settings/Bibliography?  I'd be 
interested in having a comma rather than semicolon separating multiple 
references, for example.

There's nothing I can't produce manually, of course, by simply selecting the 
date-only option on the Citation Style pull-down menu and typing what I want 
before and after the date, but if I could take advantage of the pull-down menu 
options more often, it would save some effort.

Similarly, for some purposes, at least, I'd be happy if I could tweak "text 
after" in the same dialog so that it ends up preceded by a colon rather than 
the comma that Lyx inserts.

The issues you're raising here are actually LaTeX issues, rather than
LyX issues. It's important, in understanding how LyX operates, to
separate these: There's the question how things look in LyX; then there
is the question how the PDF looks when it is generated. The latter
ultimately concerns LaTeX. In some cases, LyX provides a 'native' way to
tweak the LaTeX output. But oftentimes, you have to do something
manually, e.g., add something to the LaTeX preamble.

In this case, the semi-colon citation-separator and comma before the
"text after" are being inserted by natbib, which is what formats the
citations and bibliogrpahy. So it's natbib that we need to control. The
natbib manual
   http://mirror.utexas.edu/ctan/macros/latex/contrib/natbib/natbib.pdf
has a bunch of information about tweaks. Section 5 of the manual
mentions a number of package options that change global behavior. The
one you want for your first request is "comma". You just add this, as a
class option, under Document> Settings> Class Options> Custom. (If there
already are some there, this is a comma-separated list, so add it with a
new comma, e.g.: draft,comma.)

For the other one, section 2.9 of the natbib manual explains how to
select citation punctuation using the \setcitestyle command. In your
case, you want:
   \setcitestyle{notesep={: }}
to select a colon followed by a space. It is probably easiest to put
this command into Document> Settings> LaTeX Preamble, though it can also
be entered as TeX code in the document itself. Note, by the way, that
natbib seems to be quite picky about space before and after the "=",
i.e., it does not like space there.

As it happens, \setcitestyle will also control the citation separator,
so you could just do:
   \setcitestyle{notesep = {: },citesep={,}}
and skip the class option, if you wanted.

Note that this will NOT change how the citations appear within LyX
itself. That can be done, but it's a much messier matter.

Richard Heck

PS Yes, the Richard Heck from the other side of L


--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Head, Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html



Is "Citation Style" menu tweakable?

2017-06-19 Thread David Pesetsky
Is there a way to tweak Lyx so the Citation dialog shows a different set of 
options for "Citation Style" than the ones that appear by default when I have 
selected  "natbib" and "author-year" in Document Settings/Bibliography?  I'd be 
interested in having a comma rather than semicolon separating multiple 
references, for example.  

There's nothing I can't produce manually, of course, by simply selecting the 
date-only option on the Citation Style pull-down menu and typing what I want 
before and after the date, but if I could take advantage of the pull-down menu 
options more often, it would save some effort.

Similarly, for some purposes, at least, I'd be happy if I could tweak "text 
after" in the same dialog so that it ends up preceded by a colon rather than 
the comma that Lyx inserts.

-David




Re: Issues using lyx

2017-06-18 Thread David L. Johnson

On 06/17/2017 11:58 PM, Mr William Balthes wrote:


I am using lyx to write my thesis and having major problems.

The program continually crashes and mostly forms an emergency file but 
sometimes not.


The document seems to get messed up regardless.


I have never had any such problems, so let's find out what is going on.


The document class is American Mathematical Society (AMS) Article


Which I use all the time.



I can send a document sample if this helps

I would guess this is a configuration issue.  Are you new to LyX? Send 
me a minimal file that shows the problem.  One way to do that is to take 
the file that is causing problems, cut it in half, and see which half 
continues to be a problem.  Continue until you can isolate the problem 
area (and of course remove anything you want to keep private).  Send 
that to me.


Now, I don't use Windows, and have version 2.2.2 of LyX, but this would 
be a first test to see where the problem is.


--
David L. Johnson
Department of Mathematics
Lehigh University



Re: hide "BibTeX Generated Bibliography"?

2017-06-10 Thread David Pesetsky
Thanks! That is probably what I would have done if Jürgen had not made his 
suggestion, which allows me to use my normal key binding for getting to the end 
of the document (without wrong consequences in documents without 
bibliographies).

-David

> On Jun 10, 2017, at 11:57 AM, Paul A. Rubin <parubi...@gmail.com> wrote:
> 
> On 06/10/2017 09:23 AM, David Pesetsky wrote:
>> Is there any way to have BibTex citations resolve correctly while editing 
>> without having "BibTeX Generated Bibliography" constantly visible at the 
>> bottom of the buffer.  I find myself constantly going to the end of the 
>> buffer to continue writing my document and having to hit the back arrow and 
>> return to avoid  "BibTeX Generated Bibliography" — plus it's distracting.  
>> If there's a way to hide it, or to get Lyx to resolve citations on-screen 
>> and in pdf previews without it, that would be excellent.
>> 
>> (I am new to Lyx, so if the answer is obvious, or somewhere in the 
>> documentation that I missed, my apologies.)
>> 
>> -David
>> 
> Besides Jürgen's suggestion, another possibility is to bind the following to 
> a key combination of your choosing:
> 
> command-sequence buffer-end; char-left; paragraph-break;
> 
> This does what you've been doing manually -- jump to the end of the document 
> (presumably after the bibliography inset), back up one character (presumably 
> to just before the inset) and start a new paragraph.
> 
> Paul
> 




Re: hide "BibTeX Generated Bibliography"?

2017-06-10 Thread David Pesetsky
The two suggestions together appear to do exactly what I need — many thanks!

-David


> On Jun 10, 2017, at 9:39 AM, Jürgen Spitzmüller <sp...@lyx.org> wrote:
> 
> Am Samstag, den 10.06.2017, 13:23 +0000 schrieb David Pesetsky:
>> Is there any way to have BibTex citations resolve correctly while
>> editing without having "BibTeX Generated Bibliography" constantly
>> visible at the bottom of the buffer.  
> 
> With a hack, yes (see below).
> 
>> I find myself constantly going to the end of the buffer to continue
>> writing my document and having to hit the back arrow and return to
>> avoid  "BibTeX Generated Bibliography" — plus it's distracting.  If
>> there's a way to hide it, or to get Lyx to resolve citations on-
>> screen and in pdf previews without it, that would be excellent.
> 
> The inset is needed for two reasons: (1) it tells LaTeX where to put
> the references (they could be placed anywhere in the document) and (2)
> it tells LyX which database and and style is used.
> 
> For the latter, it does not matter where you place the inset. So you
> could place it at the beginning of a document, but in a note inset (in
> order to prevent it being printed at this position).
> 
> For the former, you could add to your preamble something such as:
> 
> \AtEndDocument{%
> \bibliographystyle{}
> \bibliography{}
> }
> 
> (i.e., the LaTeX output of the "BibTeX Generated Bibliography" inset
> wrapped into \AtEndDocument).
> 
> HTH
> Jürgen
> 
>> 
>> (I am new to Lyx, so if the answer is obvious, or somewhere in the
>> documentation that I missed, my apologies.)
>> 
>> -David




hide "BibTeX Generated Bibliography"?

2017-06-10 Thread David Pesetsky
Is there any way to have BibTex citations resolve correctly while editing 
without having "BibTeX Generated Bibliography" constantly visible at the bottom 
of the buffer.  I find myself constantly going to the end of the buffer to 
continue writing my document and having to hit the back arrow and return to 
avoid  "BibTeX Generated Bibliography" — plus it's distracting.  If there's a 
way to hide it, or to get Lyx to resolve citations on-screen and in pdf 
previews without it, that would be excellent.

(I am new to Lyx, so if the answer is obvious, or somewhere in the 
documentation that I missed, my apologies.)

-David



Re: Business card template

2017-06-02 Thread David L. Johnson

On 06/02/2017 09:23 AM, Rich Shepard wrote:
  A web search tells me there are a few LaTeX templates for business 
cards.
If you have experience using any of these in LyX please share your 
thoughts

with me.


I haven't used this for business cards, but I use glabels to print up 
nametags, placecards, and the like.  It is not TeX-based, but does well 
with graphics, and has a database of standard card formats which in my 
experience works well.  It handles graphics, and elements of text can be 
placed as needed.  In fact, now that I think of it, I think I will make 
up some business cards for myself using it.


--
David L. Johnson
Department of Mathematics
Lehigh University



Re: Lyx on Mac: Preferences problems

2017-05-29 Thread David Pesetsky
Yes indeed, it looks like this is fixed in 2.3(alpha).  Many thanks, looking 
forward to its official release.

-David


Le 29/05/2017 à 15:26, David Pesetsky a écrit :



Can you please confirm that it is fixed in 2.3(alpha)?



Relevant commit is 881b7ec67 which was not backported to 2.2.3 as it was 
assumed to be minor.

Guillaume



Re: Lyx on Mac: Preferences problems

2017-05-29 Thread David Pesetsky
No — no Karabiner on my system.

-David


> On May 29, 2017, at 4:28 PM, Scott Kostyshak <skost...@lyx.org> wrote:
> 
> On Mon, May 29, 2017 at 05:41:16PM +, David Pesetsky wrote:
>> Dear Anders and Joel,
>> 
>> Thank you both.
>> 
>> Just to add one more piece of data.  To try to isolate what might cause Lyx 
>> to freeze for me but not for you, I booted in "safe mode", so my system 
>> would be running only the bare essentials.  Lyx behaved exactly the same, 
>> with the same freeze.
>> 
>> So though it sounds like the change in dialog focus that you are seeing 
>> might well be related to my more severe problem, I haven't a clue why we are 
>> seeing different behavior.  Very puzzling.
>> 
>> -David
> 
> David, you don't happen to have a program "Karabiner" installed, do you?
> Please check in the list of running applications to make sure (in the
> past some have had it installed without knowing).
> 
> Scott

-- 
David Pesetsky  [pese...@mit.edu]
Head, Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax 
http://web.mit.edu/linguistics/www/pesetsky.home.html



Re: Lyx on Mac: Preferences problems

2017-05-29 Thread David Pesetsky
Dear Anders and Joel,

Thank you both.

Just to add one more piece of data.  To try to isolate what might cause Lyx to 
freeze for me but not for you, I booted in "safe mode", so my system would be 
running only the bare essentials.  Lyx behaved exactly the same, with the same 
freeze.

So though it sounds like the change in dialog focus that you are seeing might 
well be related to my more severe problem, I haven't a clue why we are seeing 
different behavior.  Very puzzling.

-David


On May 29, 2017, at 1:13 PM, Anders Ekberg <a...@me.com<mailto:a...@me.com>> 
wrote:


On 2017May29, at 18:45, Joel Kulesza 
<jkule...@gmail.com<mailto:jkule...@gmail.com>> wrote:

On Mon, May 29, 2017 at 8:44 AM, David Pesetsky 
<pese...@mit.edu<mailto:pese...@mit.edu>> wrote:

1. Open a Lyx file in the editor window.
2. Change any setting, for example, Screen Font (but it can be anything, on any 
submenu
3. Click "Apply"
4. A white box appears and the program freezes.
5. Also: if you click on the editor window while the program is in its frozen 
state, that window turns black.

Thanks for the detailed steps.  Unfortunately, I cannot reproduce with LyX 
2.2.3 on OS X 10.12.5.  However, there is some differing behavior I experience 
which might explain why you see different things.

When I do NOT have a document open, I can tweak a preference, Apply, Save, and 
all is well. This is also the behavior I'd expect relative to my next point.

When I do have a document open, I can tweak a preference, Apply, *the dialog 
window goes to the background*, I retrieve the dialog, Save, and all is well.

I wonder if someone can track down why the dialog focus changes depending on 
whether a document is open or not.

Can’t track down why the dialog focus changes, but can confirm the behaviour 
that Apply with a document open sends the dialog window to the background (OSX 
10.12.5 here too if that is any clue).
/Anders




Re: Lyx on Mac: Preferences problems

2017-05-29 Thread David Pesetsky
Sending a second time, since evidently the version with attachments did not go 
through.

On May 29, 2017, at 10:44 AM, David Pesetsky 
<pese...@mit.edu<mailto:pese...@mit.edu>> wrote:

Thank you for your reply.  This is Lyx version 2.2.3, installed from .dmg.

Focusing on the first of the two problems I wrote about:

1. Open LyX:Preferences  (with no file open)
2. Change any setting, for example, Screen Font (but it can be any change on 
any submenu)
3. Click "Apply"
4. Click "Save"
5. all is well - the preference is saved and works

but:
1. Open a Lyx file in the editor window.
2. Change any setting, for example, Screen Font (but it can be anything, on any 
submenu
3. Click "Apply"
4. A white box appears and the program freezes.
5. Also: if you click on the editor window while the program is in its frozen 
state, that window turns black.

I don't know if this message board will accept attachments, but I'll send 
screen shots, in case they get through.





On May 29, 2017, at 10:29 AM, Joel Kulesza 
<jkule...@gmail.com<mailto:jkule...@gmail.com>> wrote:

On Mon, May 29, 2017 at 7:26 AM, David Pesetsky 
<pese...@mit.edu<mailto:pese...@mit.edu>> wrote:
I have been trying out Lyx on the Mac over the past week, and have a repeated 
problem setting preferences.  If I try to apply or save any preference from the 
Lyx menu while there is a document open, a blank white box appears (as if the 
system is trying to show me a message of some sort, except there is no message) 
and the program freezes.  This is repeatable on both my laptop and iMac running 
MacOS 10.12.5, and the only way out is to force-quit the program.  I eventually 
learned that setting preferences only works if there is no open document.

Additionally, if I try to change a key binding that is already assigned to 
another function, the program notifies me, and asks me if I want to reassign 
the key — but if I say yes, I am dumped out of preferences and nothing is saved.

These look like bugs, but any information or assistance (am I doing something 
wrong somewhere?) would be helpful.

-David

David:

Which version of LyX (LyX Menu -> About LyX)?  Installed from .dmg or compiled 
yourself?

If you give a step-by-step examples to reproduce what you're experiencing, I'll 
try to reproduce and will report back.

- Joel




--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Head, Department of Linguistics and Philosophy
32-D818 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office   (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html



Lyx on Mac: Preferences problems

2017-05-29 Thread David Pesetsky
I have been trying out Lyx on the Mac over the past week, and have a repeated 
problem setting preferences.  If I try to apply or save any preference from the 
Lyx menu while there is a document open, a blank white box appears (as if the 
system is trying to show me a message of some sort, except there is no message) 
and the program freezes.  This is repeatable on both my laptop and iMac running 
MacOS 10.12.5, and the only way out is to force-quit the program.  I eventually 
learned that setting preferences only works if there is no open document.

Additionally, if I try to change a key binding that is already assigned to 
another function, the program notifies me, and asks me if I want to reassign 
the key — but if I say yes, I am dumped out of preferences and nothing is 
saved. 

These look like bugs, but any information or assistance (am I doing something 
wrong somewhere?) would be helpful.

-David




Re: glossary sort as

2017-03-31 Thread David L. Johnson

On 03/31/2017 01:11 PM, Wolfgang Engelmann wrote:



Am 31.03.2017 um 18:37 schrieb David L. Johnson:

On 03/31/2017 10:53 AM, Wolfgang Engelmann wrote:


I try to get an item starting with an Umlaut 'Ü' sorted under the 
appropriate place U and not at the end of the glossary. I added in 
this nomenclature item under */sort by/* an *U* hoping that it would 
now be correctly sorted. It does not (see appended lyx file).


I would appreciate a hint what I am doing wrong. I am using lyx 
2.2.0 under Debian. Do I need another package instead of 
nomenclature, which takes care of umlaute?



As a guess, since you probably use a font set that includes the 
Umlaut-U as a character, the glossary is sorting by the order that 
that symbol appears in the font.  You might try replacing that 
character by the TeX equivalent \"{U}  (in ERT) and see whether it is 
then properly alphabetized.

--
  
David L. Johnson

Department of Mathematics
Lehigh University
Thanks, David, that did it. What about $Q_{10}$? It is sorted 
correctly, but the global


\renewcommand{\nomlabel}[1]{\textsf{\textbf{#1}}}

does not turn it into bold, nor does the individual \textbf{$Q_{10}$} 
do it.


Wolfgang


I'm glad I guessed right about the umlaut.  But for this I think there 
is a different problem.  \textbf{}  has, I believe, a problem with math 
mode.  Try $\mathbf{Q_{10}}$ instead -- or, equivalently, enter 
math-mode in LyX and type \mathbf (then space), and then Q_10 (space).


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: QUESTION & A REQUEST

2017-03-23 Thread David L. Johnson

On 03/23/2017 11:32 AM, Richard Heck wrote:

On 03/22/2017 02:25 PM, Bozdogan, Hamparsum (Ham) wrote:

I have installed LyX on my new PC laptop Win 10 system. This is the
new version 222.When I use the equation editor and the superscript for
minus (-) sign it gives me left-upward arrow. Do you know why this is
caused?

Are you sure you are using superscript? I get that symbol if I use the
script *font* and try to type a minus. How are you getting the superscript?
This problem occurs when the character you put the superscript on is a 
special type.  For example, I often use \mathbb{R}^n and terms like it.  
In LyX, if you type \mathbb  and hit space, or use the menu selection, 
you are put in that blackboard bold mode.  If you don't hit another 
space after the  R to get out of that mode --- there are red corners 
indicating the special mode on-screen --- then you actually are entering 
\mathbb{R^n}, and TeX gets very confused about what that n is.  With the 
tap on the spacebar, the red corners disappear and all works as it 
should.  The same holds for scripted characters like \mathcal{A}  and 
similar things.



--

David L. Johnson
Department of Mathematics
Lehigh University



Re: new operators in LyX?

2017-02-24 Thread David L. Johnson

On 02/24/2017 10:07 AM, Bernt Lie wrote:

I use LyX 2.2 on Win10.

I need to typeset the signum function as an operator. I have tried to insert 
"\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.

Is there a syntax for this?

-Bernt


\rm{sgn}  ??

--
David L. Johnson
Department of Mathematics
Lehigh University



Exporting lyx file with multiple class options

2017-01-21 Thread David Rosenberg
I routinely need to make 2 versions of my beamer slides: handout and
not-handout.  My current plan to do this is to have a program that rewrites
the lyx file win two different ways (with and without the  handout option),
and compile each.  I'm wondering if there's an easier way?

e.g. Is it possible to make a new export option that writes two versions of
the file?  Not sure how customizable the exports are...

Thanks!


Converting lyx version for beamer file from command line

2017-01-21 Thread David Rosenberg
Hi,

I've got a lot of beamer presentations in LyX.  Some of them are in the
older LyX 474 format, and some are in the newer 508 format.  The 508
formats all have the annoying latexpar separators, which I'd like to
remove.  I was hoping somebody could help me figure out how to do these
conversions from the command line so I can do them in a batch.

The "inset-forall Separator:latexpar char-delete-forward" command sequence
works well within LyX, but I can't figure out how to get it to run from the
command line.

I assume converting from 474 to 508 format from the command line would
straightforward, but  a pointer for that as well would be appreciated.


Re: Menu fonts

2016-09-26 Thread David L. Johnson

On 09/26/2016 09:09 AM, Daniel CLEMENT wrote:


With QT4 (no QT5 yet here) I can manage menu font sizes for QT apps with
the qtconfig-qt4 utility. It works well in XFCE.

However, AFAIK there's no QT5 counterpart (am I wrong?)

HTH,
I had a bad link to qtconfig, but when I installed qtconfig-qt4 it now 
works.  Excellent, thanks.  I can't imagine why that wasn't a part of 
the qt package in debian.  I can now read the menus.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Menu fonts

2016-09-25 Thread David L. Johnson



I recommend compiling LyX 2.2.0 with Qt 5.6. The latter knows about
high-dpi monitors, and it uses the system settings to select the
appropriate magnification.
And what "system settings" allow me to change the fontsize globally?  I 
use xfce4, and have also been looking for that.

Have you tried
Right click on the menu panel and select Huge icons?

That changes the size of the icons, not the text of menus.


Menu fonts

2016-09-24 Thread David L. Johnson
I just recently got a tablet/laptop, an asus t300 chi.  I have managed 
to install debian testing on it, rather than whatever was there beforehand.


Most things are working great, but some, like LyX, do not make it easy 
to enlarge the menu fonts.  With a standard HD monitor, 1920x1080 in a 
12.6" size (32cm), and my cruddy vision, menu fonts are impossible.  I 
found advice to adjust the Qt fonts with "qtconfig" -- but the program 
does not exist (its a broken symlink).  The suggestions I read were from 
2010.  Does anyone have a more recent experience with this font 
problem?  I want to make all of the menu and related fonts considerably 
larger.  I am using LyX 2.2.0, with Qt 4.8.7, which is standard on 
debian testing.


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Command sequence to duplicate a frame in Beamer?

2016-09-10 Thread David Rosenberg
This works very nicely -- thanks!

Think there's a way to do this as a command-sequence?

On Sat, Sep 10, 2016 at 4:13 PM, Paul A. Rubin <parubi...@gmail.com> wrote:

> On 09/10/2016 03:16 PM, David Rosenberg wrote:
>
> With the newer versions of LyX (I'm in 2.2.1 now... I think before I was
> using 2.1), I'm having trouble figuring out a clean way to duplicate a
> frame.  In the older versions, I would select everything from Frame until
> the end of the frame separator, then copy and paste.  Now I can only select
> 'Frame' and the separator above it together, so my technique doesn't work.
>
> I'm wondering what the clean way to do this is in 2.2.1, and also if how I
> could make a command-sequence to do this, so I can bind it to a keystroke.
>
> Thanks much!
> David
>
> I assume you want to copy the title as well as the contents of the source
> frame. The following works for me:
>
>1. Copy the frame from the title line to the end of its contents.
>(This will not include any separators.)
>2. Move the cursor to the point where you want to insert (this will be
>inside the frame that will precede the new one) and start a new frame. I
>use the cua binding and have "Ctrl+Alt+Return" bound to this, but you can
>also use Edit > Start New Parent Environment (Frame) or the key combo bound
>to that (Alt+P Shift+Return in my case).
>3. The cursor will be inside the title inset of a new frame. Backspace
>once to exit the inset, then paste the contents of the clipboard.
>
> Paul
>


Command sequence to duplicate a frame in Beamer?

2016-09-10 Thread David Rosenberg
With the newer versions of LyX (I'm in 2.2.1 now... I think before I was
using 2.1), I'm having trouble figuring out a clean way to duplicate a
frame.  In the older versions, I would select everything from Frame until
the end of the frame separator, then copy and paste.  Now I can only select
'Frame' and the separator above it together, so my technique doesn't work.

I'm wondering what the clean way to do this is in 2.2.1, and also if how I
could make a command-sequence to do this, so I can bind it to a keystroke.

Thanks much!
David


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread David L. Johnson

On 08/02/2016 10:40 AM, Rich Shepard wrote:

On Tue, 2 Aug 2016, David L. Johnson wrote:

These are being created since the files were edited by the new 
version of
LyX you installed, which uses a newer format. LyX then auto-saves 
them in

the old format so that you can edit it, if you need to, with an older
version of LyX. This seems to be a reasonable thing to do at the 
start of

a new format, and will not occur when you edit files using LyX-2.2 that
are already in the new format.


David,

  Thanks for the clarification. I don't recall seeing these files when
previous versions (from 1.0 on) were upgraded.


It was certainly not the case with every change of format --- and was 
probably added because someone got caught with a file they could not 
edit after going to a new version of LyX, then backing out of the 
upgrade for some reason.  I am not sure whether this feature had been 
added earlier --- I don't have such backups around except those created 
by lyx 2.2.



--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread David L. Johnson

On 08/02/2016 09:47 AM, Rich Shepard wrote:

On Tue, 2 Aug 2016, Påvel Nicklasson wrote:

I work on several projects in LyX. Lately I have noticed that in the 
same
folders as my .lyx files there is a second file called 
-lyxformat-474.lyx.
For instance, if the regular file is called xxx.lyx. The second is 
called

xxx-lyxformat-474.lyx. The 474.lyx files seems to be old versions of the
regular files.


  I, too, have started to find these apparent backup files left in the
document directory when I exit lyx. It would be nice for them to be 
cleaned

up when the program exits, but I do it manually.

These are being created since the files were edited by the new version 
of LyX you installed, which uses a newer format.  LyX then auto-saves 
them in the old format so that you can edit it, if you need to, with an 
older version of LyX.  This seems to be a reasonable thing to do at the 
start of a new format, and will not occur when you edit files using 
LyX-2.2 that are already in the new format.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: What happened to "print"?

2016-07-17 Thread David L. Johnson

On 07/17/2016 04:26 PM, David L. Johnson wrote:
When I upgraded to lyx 2.2.0 (which was when debian testing went to 
it) I lost the print menu.  I thought at first it was because my home 
computer uses an old printer, but the same thing is true on my office 
machine.  I could not find out anything about printing on the 
http://wiki.lyx.org/LyX/NewInLyX22 site, or anywhere else I looked.


Was there a decision to relegate printing (maybe just in linux) to 
programs handling the output files?  I can print fine viewing the 
output (using evince) and then printing from there, but lyx used to 
support printing directly.  Or, perhaps, something happened with the 
configuration, but I did not see anything about printing in the menus, 
or any mention of it.


Never mind, I guess.  I see it now in the release notes.  But it does 
seem odd to dump it entirely.  The argument that most people would want 
to preview the output first is not the way I work with it.  I often have 
a viewing window open, but in the past have opted to print directly from 
lyx.  In fact, on an earlier computer lyx was one of the few programs 
that would work with my legacy printer.


Oh well.  I will adapt, but I'd rather have the option.

--

David L. Johnson
Department of Mathematics
Lehigh University



What happened to "print"?

2016-07-17 Thread David L. Johnson
When I upgraded to lyx 2.2.0 (which was when debian testing went to it) 
I lost the print menu.  I thought at first it was because my home 
computer uses an old printer, but the same thing is true on my office 
machine.  I could not find out anything about printing on the 
http://wiki.lyx.org/LyX/NewInLyX22 site, or anywhere else I looked.


Was there a decision to relegate printing (maybe just in linux) to 
programs handling the output files?  I can print fine viewing the output 
(using evince) and then printing from there, but lyx used to support 
printing directly.  Or, perhaps, something happened with the 
configuration, but I did not see anything about printing in the menus, 
or any mention of it.


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: LyX 2.2 for Debian Jessie

2016-07-15 Thread David L. Johnson

On 07/15/2016 11:05 AM, David L. Johnson wrote:

On 07/15/2016 10:31 AM, Wolfgang Engelmann wrote:



On 15.07.2016 16:10, Wolfgang Engelmann wrote:



On 15.07.2016 14:57, Guy Rutenberg wrote:
I've backported the LyX 2.2 package from Unstable to Jessie and 
thought it might be useful for others as well. Debs can be found in


https://www.guyrutenberg.com/debian/jessie/

Regards,
Guy

Thanks for it. I have installed your lyx-common_2.2.0-2_all.deb
Oh, this is it.  You have to also install lyx_2.2.0-2_amd64.deb. Just 
adding the common package does not force the installation of a 
particular binary.



--

David L. Johnson
Department of Mathematics
Lehigh University



Re: LyX 2.2 for Debian Jessie

2016-07-15 Thread David L. Johnson

On 07/15/2016 10:31 AM, Wolfgang Engelmann wrote:



On 15.07.2016 16:10, Wolfgang Engelmann wrote:



On 15.07.2016 14:57, Guy Rutenberg wrote:
I've backported the LyX 2.2 package from Unstable to Jessie and 
thought it might be useful for others as well. Debs can be found in


https://www.guyrutenberg.com/debian/jessie/

Regards,
Guy

Thanks for it. I have installed your lyx-common_2.2.0-2_all.deb
Question 1: Should I have used lyx-dbg_2.2.0-2_amd64.deb instead (my 
PC is amd64)

Question 2: How do I find the installed lyx and how do I start it?
 lyx & tells me, the command was not found:
[2] 10975
[1]   Exit 127lyx
bash: lyx: Kommando nicht gefunden.
Question 3: Do I need also fonts_lyx and ttf-lyx 2.2.0-2?

Wolfgang


To question 2: I found the installed lyx in /usr/share/lyx
but how do I start it?
It should have installed the binary lyx in /usr/bin.  I am jumping into 
this in the middle, but if you installed things the debian way it should 
work properly.  You don't have to use the debugging version.  Let me 
know if I can help, as a long-time debian user.


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Inserting blackboard bold 1 in LyX

2016-07-02 Thread David L. Johnson

On 07/02/2016 11:15 PM, Jonathan Horton wrote:

To whom this may concern,

I want to insert a blackboard bold 1 in lyx (For the identity matrix) 
(Unicode: ퟙ), but I can't seem to find anyway to do it. I tried 
changing the encoding to the various unicode types in the document 
settings (Document->Settings->Language-Encoding-Other), but all of the 
encoding types produce errors. In LaTeX, typically dsfont is used, but 
\(\mathds{1}\) produces no result (within lyx).
But it does work on the output, right? At least, once you add 
\usepackage{dsfont} to the preamble.  Worked for me.


I could import the package in the preamble 
(Document>Settings>Preamble) via \usepackage{dsfont} (untested), but I 
would like to avoid the Evil Red Text.
I have never run into this, but I also never tried it.  You could use 
\mathbb{I} instead -- but the blackboard bolds within math mode, as far 
as I know, only apply to capital Roman letters (I use R, C, H, and Z all 
the time).



--

David L. Johnson
Department of Mathematics
Lehigh University



Just upgraded to 2.2.0 on debian testing

2016-06-30 Thread David L. Johnson
Debian testing just included the upgrade to lyx 2.2.0.  I want to point 
out one thing:  If you don't see menu icons, you need to add the svg 
versions of the qt library (it may still be linked with qt-4.??, but 
looking for the svg libraries with apt-cache search found what I needed).


I have yet to check it all out, but I am absolutely floored by the 
scrolling ability in math eqnarray finally.  As one who never can keep 
the line length in check during the writing process, it is a blessing to 
be able to see the whole line.  Formerly I have had to either set the 
font really, really small or (more recently) stretch the window over two 
monitors.  This is a great advance; thanks to all who developed it.


I have yet to see what has changed with the beamer layout.  I hope it is 
not too much of a PITA to change old files to the new layout, since I 
have classes on Tuesday that I need it for.  I will find that out 
tomorrow


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: ClassicThesis

2016-06-01 Thread David L. Johnson

On 06/01/2016 11:31 AM, David L. Johnson wrote:

I apologize.  I must have butt-dialed that one.

C.  "  ,  cb.   " Poptropica the driveway


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: ClassicThesis

2016-06-01 Thread David L. Johnson

C.  "  ,  cb.   " Poptropica the driveway

Sent with AquaMail for Android
http://www.aqua-mail.com


On June 1, 2016 10:31:14 AM Wolfgang Engelmann  
wrote:





On 01.06.2016 13:55, PhilipPirrip wrote:

On 05/31/2016 05:17 AM, Wolfgang Engelmann wrote:


This I do not understand. Classicthesis language is set in English, why
is ngerman demanded? If I do need it, how do I load it?



There's a section in Abstract.lyx marked as German.



2- with biblatex_biber I do not get the bibliography in the pdf
printout.
What has to be done


Have you checked two simple examples from
http://wiki.lyx.org/BibTeX/Biblatex

Do they work? Do you have biber installed? All three engines (bibtex,
bibtex8, biber) work for me on linux, people had some issues with
biber on other OS.

Philipp,
I checked the http://wiki.lyx.org/BibTeX/Biblatex examples, both work.
So biber should work.
But classicthesis-LyX-v4.2_biblatex_biber does not produce the
References in the pdf output (the page stays empty) and gives no error
message for it (there is an error "unknown float option 'H' -ignored, p
used - which is unimportant for me).
The classicthesis-LyX-v4.2_biblatex_bibtex example works and produces
the References in the output.
Could you or somebody else kindly check whether
classicthesis-LyX-v4.2_biblatex_biber works?
Wolfgang





Lyx Change tracking show changes in output not working with displayed equations

2016-05-30 Thread David Halpern
Hi,

I would like to print a hardcopy changes in output (deleted and added).
If what I deleted does not contain a displayed equation, I can export the
contents of my lyx file to a pdf file, and then print it out. However, if I
delete a displayed equation, then an error message appears during the
export to a pdf phase. I've also exported a lyx file to a plain latex file,
with the changes in output on. In this case, again I get similar errors.
With the changes in output off, latex does not generate errors.
Is this a limitation of "tracking changes" or an error?
Let me know how to get around this problem.
Thanks.

David Halpern


Re: Automatic save of LaTeX

2016-04-06 Thread David L. Johnson

On 04/06/2016 06:12 PM, Anders Host-Madsen wrote:


Update. If I run

command-sequence buffer-write; buffer-export pdf2; buffer-export pdflatex

It sometimes make LyX hang. If I run

command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2

sometimes the pdf export doesn't happen. So, neither quite work.

I have a strong feeling it has to do with how long the commands take to run.
On my iMac, which has a slow spinning HD, I get more trouble than on my
MacBook, which has an SSD.

I would think that the second sequence would have the least trouble with 
LyX not waiting for a command to finish, since the first two commands 
are (I thought) internal to LyX itself.  The pdf generation calls 
external programs, LaTeX of course, then something like dvipdf, so once 
it's in the pipeline sometimes the shell might think the command is 
complete and then let LyX run the next process.  That may cause the hang 
you mentioned, but does not explain the problem with the second sequence.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Automatic save of LaTeX

2016-04-06 Thread David L. Johnson

On 04/06/2016 10:05 AM, Anders Host-Madsen wrote:

Anders Host-Madsen  yahoo.com> writes:



I can only say that so far it works for me. I assigned

command-sequence buffer-write; buffer-export pdflatex; buffer-export pdf2

to a key (control-command-S), and it works as intended. I'm using a mac.




I do have one issue, though. Sometimes the third part is not executed,
so the updated pdf is not saved. I don't see the pattern in when it's
  executed, and when it's not.

I notice that, when I export repeatedly to pdf, the command will 
actually run and the pdf will not update unless the buffer has been 
changed.  So that's probably why your pdf doesn't always run --- you 
have to change the document, then it will all run.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Updating TexLive from Ubuntu/Mint

2016-03-21 Thread David L. Johnson

On 03/21/2016 11:20 AM, UD wrote:
This is not a new topic, and this is probably not the right place to 
ask, but
how do I update TexLive in Ubuntu (15.10) or Mint (17.3)?  When 
TexLive is installed via Ubuntu, there is no package manager, and 
Ubuntu discourages package management that is done outside of its own 
package management.
I don't know that much about Ubuntu, except that it is debian based (as 
is Mint, isn't it?).  I can't imagine why Ubuntu's update path, with or 
without a package management program, would not keep TeXlive fairly well 
up-to-date.  How do you go about updating Ubuntu?  For debian "apt-get 
update; apt-get upgrade" works perfectly well.


You need to find someone (maybe someone on this list) who is 
knowledgeable about Ubuntu, and find out how to upgrade in general. If 
that is not forthcoming then you should find a distribution (such as 
"real" debian) that allows easy updates.


On the other hand, TeXlive (how do they spell/capitalize that, anyway?) 
is quite mature by now, and not much changes between updates.  What is 
it that you can't do with the version you have (and which version is it?)?



--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: I can't open old Lyx files

2016-03-02 Thread David L. Johnson

On 03/02/2016 01:39 PM, Scott Kostyshak wrote:

On Wed, Mar 02, 2016 at 02:27:14PM +, Aron Toth wrote:

Hi,

Currently I am using Lyx 2.1 on Windows 7 (Enterprise). I cannot open old Lyx 
files. I can't remember in which Lyx version they were edited last, but the 
last time I edited them was two years ago... I would really need to access 
these files, so your help would be much appreciated.

Thanks, Áron

PS: I am not a techy guy...


Hi Áron,

Thank you

When reporting problems like these, it's always helpful if you are
specific. When you say "I cannot open old Lyx files", that doesn't give
us much information to go off of. Why can't you open old LyX files? LyX
does not open? Or it opens and gives an error? How exactly are you
opening the LyX files from within LyX using File > Open or are you
double-clicking them in your file browser?

Also when giving a bug report, it's useful to say what your operating
system is and what the version of your operating system is. For example,
I'm using Ubuntu 15.04.
He did mention that he was using Windows 7.  However, the suggestion 
that he provide more detail about what happened when he tried to open 
the files is helpful.  BTW, I have no trouble opening 10+ -year old 
files, so there is something amiss.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



  1   2   3   4   5   6   7   8   9   10   >