Re: LyX 2.3 reporting “Unknown function” with user.bind file that remaps keyboard shortcuts to LyX functions (LFuns)

2019-01-17 Thread Paul A. Rubin

On 1/17/19 7:20 PM, Jack M. Lyon wrote:


Hi, Paul.

Thanks for your help with this. I apologize for the cross-posting. I 
posted on tex.stackexchange and then thought, "Wait a minute--isn't 
there a LyX mailing list? That's where I should ask!" So I found it 
and posted there. I'm sorry for any confusion.


You wrote:

> Your file works fine for me (LyX 2.3.2, Linux Mint 18.3). What 
version of LyX are you using, what OS (probably doesn't matter, but 
you never know), and have you used this file successfully in the past?


I'm using LyX 2.3.2 on Windows 10. I recently did a clean install of 
Windows 10 and then reinstalled LyX 2.3.2, along with my customized 
user.bind file. Yesterday was the first time I tried to use LyX since 
then, and that's when I started getting the "unknown function" 
message. The user.bind file has worked just fine in the past.


If I take just one of the commands from the user.bind file, like this one:

command-sequence font-emph

and enter it into LyX's command buffer, it works just fine.

I've tried the user.bind file with LyX 2.3.1-1 as well, and it doesn't 
work there, either.


By the way, I've always reconfigured LyX after installing the 
user.bind file, which I've placed in ~\AppData\Roaming\LyX2.3\ as 
specified under Help > About.


I'm pretty good with LyX, but this one has me stumped.

Thanks again for your help.

Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com


Bit of a long-shot, but if you copy the bind file contents from your 
first message and paste them into a new text file (which is what I did), 
does that file work? I'm wondering if the original bind file might have 
a non-printing character that is messing up one of the commands.


Paul



Re: LyX 2.3 reporting “Unknown function” with user.bind file that remaps keyboard shortcuts to LyX functions (LFuns)

2019-01-17 Thread Jack M. Lyon

Hi, Paul.

Thanks for your help with this. I apologize for the cross-posting. I 
posted on tex.stackexchange and then thought, "Wait a minute--isn't 
there a LyX mailing list? That's where I should ask!" So I found it and 
posted there. I'm sorry for any confusion.


You wrote:

> Your file works fine for me (LyX 2.3.2, Linux Mint 18.3). What 
version of LyX are you using, what OS (probably doesn't matter, but you 
never know), and have you used this file successfully in the past?


I'm using LyX 2.3.2 on Windows 10. I recently did a clean install of 
Windows 10 and then reinstalled LyX 2.3.2, along with my customized 
user.bind file. Yesterday was the first time I tried to use LyX since 
then, and that's when I started getting the "unknown function" message. 
The user.bind file has worked just fine in the past.


If I take just one of the commands from the user.bind file, like this one:

command-sequence font-emph

and enter it into LyX's command buffer, it works just fine.

I've tried the user.bind file with LyX 2.3.1-1 as well, and it doesn't 
work there, either.


By the way, I've always reconfigured LyX after installing the user.bind 
file, which I've placed in ~\AppData\Roaming\LyX2.3\ as specified under 
Help > About.


I'm pretty good with LyX, but this one has me stumped.

Thanks again for your help.

Best wishes,
Jack Lyon
The Editorium
http://www.editorium.com




Re: LyX 2.3 reporting “Unknown function” with user.bind file that remaps keyboard shortcuts to LyX functions (LFuns)

2019-01-17 Thread Scott Kostyshak
On Thu, Jan 17, 2019 at 12:24:30PM -0700, Jack Lyon wrote:
> I'm using a customized user.bind file with LyX to remap keyboard shortcuts
> to LyX functions (LFuns), but when I try to use any of the keyboard
> shortcuts, LyX reports "Unknown function." Thanks for any help you're able
> to give. Here is the contents of my user.bind file:
> 
> # Unbind defaults
> \unbind "F2" "buffer-write"
> \unbind "F5" "screen-recenter"
> \unbind "F7" "dialog-show spellchecker"
> \unbind "F9" "meta-prefix"
> \unbind "F11" "ui-toggle fullscreen"
> \unbind "C-i" "next-inset-toggle"
> \unbind "C-u" "font-underline"
> 
> # Editing
> \bind "F2" "command-sequence changes-track"
> \bind "F4" "command-sequence change-reject"
> \bind "F5" "command-sequence drop-layouts-choice"
> \bind "F6" "command-sequence font-noun"
> \bind "F7" "command-sequence font-emph"
> \bind "F8" "command-sequence word-select; font-emph; word-forward"
> \bind "F9" "command-sequence word-select; word-lowcase; word-capitalize;
> word-forward"
> \bind "F10" "command-sequence word-select; word-lowcase; word-forward"
> \bind "F11" "command-sequence word-select; char-right-select; cut;
> word-backward; clipboard-paste; escape"
> \bind "F12" "command-sequence chars-transpose; char-left"

Cross-post here:

https://tex.stackexchange.com/questions/470570/lyx-reporting-unknown-function-with-user-bind-file-that-remaps-keyboard-shortc

Jack, please always cross-reference your duplicate posts. Paul was very
kind to spend time to try to help you. What if someone on tex.se also
spent time to give the same answer to your question, not knowing that an
answer might already exist? I know you did not intend it, but by
cross-referencing posts, you respect more the time of those trying to
help you.

Best,

Scott


signature.asc
Description: PGP signature


Re: LyX 2.3 reporting “Unknown function” with user.bind file that remaps keyboard shortcuts to LyX functions (LFuns)

2019-01-17 Thread Paul A. Rubin

On 1/17/19 2:24 PM, Jack Lyon wrote:
I'm using a customized user.bind file with LyX to remap keyboard 
shortcuts to LyX functions (LFuns), but when I try to use any of the 
keyboard shortcuts, LyX reports "Unknown function." Thanks for any 
help you're able to give. Here is the contents of my user.bind file:


# Unbind defaults
\unbind "F2" "buffer-write"
\unbind "F5" "screen-recenter"
\unbind "F7" "dialog-show spellchecker"
\unbind "F9" "meta-prefix"
\unbind "F11" "ui-toggle fullscreen"
\unbind "C-i" "next-inset-toggle"
\unbind "C-u" "font-underline"

# Editing
\bind "F2" "command-sequence changes-track"
\bind "F4" "command-sequence change-reject"
\bind "F5" "command-sequence drop-layouts-choice"
\bind "F6" "command-sequence font-noun"
\bind "F7" "command-sequence font-emph"
\bind "F8" "command-sequence word-select; font-emph; word-forward"
\bind "F9" "command-sequence word-select; word-lowcase; 
word-capitalize; word-forward"

\bind "F10" "command-sequence word-select; word-lowcase; word-forward"
\bind "F11" "command-sequence word-select; char-right-select; cut; 
word-backward; clipboard-paste; escape"

\bind "F12" "command-sequence chars-transpose; char-left"

Your file works fine for me (LyX 2.3.2, Linux Mint 18.3). What version 
of LyX are you using, what OS (probably doesn't matter, but you never 
know), and have you used this file successfully in the past?


Paul



LyX 2.3 reporting “Unknown function” with user.bind file that remaps keyboard shortcuts to LyX functions (LFuns)

2019-01-17 Thread Jack Lyon
I'm using a customized user.bind file with LyX to remap keyboard 
shortcuts to LyX functions (LFuns), but when I try to use any of the 
keyboard shortcuts, LyX reports "Unknown function." Thanks for any help 
you're able to give. Here is the contents of my user.bind file:


# Unbind defaults
\unbind "F2" "buffer-write"
\unbind "F5" "screen-recenter"
\unbind "F7" "dialog-show spellchecker"
\unbind "F9" "meta-prefix"
\unbind "F11" "ui-toggle fullscreen"
\unbind "C-i" "next-inset-toggle"
\unbind "C-u" "font-underline"

# Editing
\bind "F2" "command-sequence changes-track"
\bind "F4" "command-sequence change-reject"
\bind "F5" "command-sequence drop-layouts-choice"
\bind "F6" "command-sequence font-noun"
\bind "F7" "command-sequence font-emph"
\bind "F8" "command-sequence word-select; font-emph; word-forward"
\bind "F9" "command-sequence word-select; word-lowcase; word-capitalize; 
word-forward"

\bind "F10" "command-sequence word-select; word-lowcase; word-forward"
\bind "F11" "command-sequence word-select; char-right-select; cut; 
word-backward; clipboard-paste; escape"

\bind "F12" "command-sequence chars-transpose; char-left"



kbibtex Issue

2019-01-17 Thread Richard Kimberly Heck
I have tried to find some other place to ask questions about kbibtex,
but have struck out, so if anyone knows

I've grown frustrated with JabRef, due to display problems on different
systems, and so am looking for a new bibliography manager. I've found
kbibtex quite useful, but now I've found a real annoyance: It seems to
`translate' such LaTeX constucts as --, \'a, etc, to –, á, etc, which
breaks the compilation of some of my documents (and was a total hassle
to revert). So far as I can tell, there is no option to turn this off,
but maybe I'm missing it? It seems a very strange thing to do by default.

If there isn't an option to suppress this, I may try to create a patch

Riki




Re: LyX 2.3.1: bug with preview of \oiint... what about LyX 2.3.2?

2019-01-17 Thread Richard Kimberly Heck
On 1/17/19 8:12 AM, Pavel Sanda wrote:
> On Tue, Jan 15, 2019 at 04:21:06PM +, Bernt Lie wrote:
>> I???m still using LyX 2.3.1 on one PC. There appears to be a bug on Win 10 
>> 64bit, latest version. If I insert \oiint in a math expression, nothing is 
>> displayed.
> https://www.lyx.org/trac/ticket/8493
>
> It will be fixed in next major (2.4.x) release.
> Not nice workaround but it should be at least visible if you have instant 
> preview on and leave the math inset.

I take it there is no way to #ifdef this stuff?

I suppose I could patch 2.3.x for Windows myself, right? Since I'm
compiling with Qt5?

Riki




Re: characters marked in red

2019-01-17 Thread Jean-Marc Lasgouttes

Le 17/01/2019 à 11:19, paolo m.  a écrit :

In math mode, characters c,e,r,s,z are marked in red in lyx display, but not
so if they are next to other characters, as in ar or ae. (see enclosed
picture).  I cannot see why.
Any ideas?
Lyx is 2.3.2


This is a feature (good or bad) : previews that are too small, where 
"small" is defined as 0.1in (used to be hardcoded to 10 pixels) are 
marked in red.


This is probably what you see here.

I am not sure what to do about it

JMarc


Re: LyX 2.3.1: bug with preview of \oiint... what about LyX 2.3.2?

2019-01-17 Thread Pavel Sanda
On Tue, Jan 15, 2019 at 04:21:06PM +, Bernt Lie wrote:
> I???m still using LyX 2.3.1 on one PC. There appears to be a bug on Win 10 
> 64bit, latest version. If I insert \oiint in a math expression, nothing is 
> displayed.

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

It will be fixed in next major (2.4.x) release.
Not nice workaround but it should be at least visible if you have instant 
preview on and leave the math inset.

Pavel


characters marked in red

2019-01-17 Thread paolo m.
In math mode, characters c,e,r,s,z are marked in red in lyx display, but not 
so if they are next to other characters, as in ar or ae. (see enclosed 
picture).  I cannot see why.
Any ideas?
Lyx is 2.3.2

thank you

paolo m.

mathchar-test.lyx
Description: application/lyx