Re: Copy/paste from lyx document

2018-11-26 Thread Scott Kostyshak
On Mon, Nov 26, 2018 at 02:57:43PM -0800, Rich Shepard wrote:
>   Platform: lyx-2.3.1 on Slackware-14.2.
> 
>   I used to be able to highlight text in a lyx document (using the
> pointer-thingy) and paste the highlighted text in a text file, e-mail
> message (in alpine), or other documents. This no longer works. Is there a
> switch that needs to be reset?

Are you talking about middle-click paste? It works for me with 2.3.1.

Scott


signature.asc
Description: PGP signature


Re: Copy/paste from lyx document

2018-11-26 Thread Scott Kostyshak
On Mon, Nov 26, 2018 at 03:40:44PM -0800, Rich Shepard wrote:
> On Mon, 26 Nov 2018, Scott Kostyshak wrote:
> 
> > Are you talking about middle-click paste? It works for me with 2.3.1.
> 
> Scott,
> 
>   Interesting. That's what I do when pasting highlighted text from all
> applications, but it has not been working from lyx with my logitech
> trackball. However, after reading your response I discovered that if I first
> press the scroll wheel, then the middle button, it works. Very strange, but
> as long as I can do the copy/paste I don't care what sequence of moving
> parts needs to be done.

Strange, LyX shouldn't be different from other applications. Not sure
why that's happening.

Scott


signature.asc
Description: PGP signature


Re: Problem adding computer code to colored boxes

2018-11-28 Thread Scott Kostyshak
On Wed, Nov 28, 2018 at 05:54:54PM -0500, ll...@writersglen.com wrote:
> Hello,
>  
> My co-author and I are trying to typeset a computer programming book with 
> Lyx. We're able to create fancy colored boxes to display computer code with 
> the following:
> 
> New Color Box Type cBoxA1colback=gray!25!white,colbacktitle=black, 
> colframe=black!75!black, fonttitle=\bfseries, title=\listno\,#1, 
> width=\textwidth
> 
> The goal is to display programming code noted below in these boxes. Our book 
> has some 200 code boxes, so we need a very efficient method to accomplish 
> this. But our efforts fails.
> 
> If we select Insert/Custom Inset/Colored Box1 and enter plain text into the 
> custom colored box, it compiles with this error, LaTex Error: Missing 
> \begin{document}, but properly displays the box in PDF.
> 
> If we enter either of the first two lines of the sample code below, e.g.: 
> 
> .../site/src$ mkdir n_dbs
> .../site/src$ cd n_dbs
> 
> ...the system compiles with the missing begin document error, but displays 
> properly in PDF.
> 
> But if we enter both of those lines, much less the full sample code stanza 
> shown below, the system throws errors (see below sample code) and fails to 
> compile.
> 
> So now we're stuck. We're at a total loss as to how to solve this problem. 

Hi Lloyd,

If you make a minimal example .lyx file (please read [1]), and post it
to the list, it might be easier for people to jump in and try to figure
out the problem.

Best,

Scott


[1] https://wiki.lyx.org/FAQ/MinimalExample


signature.asc
Description: PGP signature


Re: Get notifications on a trac ticket without commenting?

2018-12-18 Thread Scott Kostyshak
On Tue, Dec 18, 2018 at 11:38:42AM +0100, Klaus-Dieter Bauer wrote:
> Hello!
> 
> I have just added myself to the CC list of a ticket, which I am interested
> in but have no comments to give on. This probably has prompted a
> notifications to the people already involved.
> 
> Is there some way to follow tickets, without raising a notification to
> everyone? Or is this intentional?

Hi Klaus,

Thanks for your concern. I don't think there is any other way, except to
use one of those stand-alone "website watchers" (I don't have any to
recommend) that check if there have been any changes to a page.

My opinion is that you should feel free to CC yourself on any ticket
without worrying about notifications. I have no idea if others feel the
same way.

Scott


signature.asc
Description: PGP signature


Re: serious bug

2018-12-24 Thread Scott Kostyshak
On Wed, Nov 07, 2018 at 02:35:13PM +0100, Patrick Dupre wrote:
> Hello,
> 
> There is a serious bug with the version 2.3.1 under fedora 28
> When I run the spellchecker, I got the following crash.
> 
> Then I am stuck if I want to recover. It crashes immediately.
> If I start from the previous version, again the spellchecker will crash at 
> the same
> place.
> Changing the name may help, bit again a crash appears later in the document.
> 
> Unfortunately, I cannot make the document public.

Hi Patrick,

Do you see the same thing with LyX 2.3.2?

Scott


signature.asc
Description: PGP signature


Re: serious bug

2018-12-25 Thread Scott Kostyshak
On Tue, Dec 25, 2018 at 09:25:28AM +0100, Patrick Dupre wrote:
> Hello Scott,
> 
> It has not been released for fedora yet.

Thanks for the reply, Patrick. Let us know once you upgrade.

Scott



signature.asc
Description: PGP signature


Re: serious bug

2018-12-28 Thread Scott Kostyshak
On Fri, Dec 28, 2018 at 07:33:48PM +, José Abílio Matos wrote:
> On Tuesday, 25 December 2018 18.12.22 WET Scott Kostyshak wrote:
> > Thanks for the reply, Patrick. Let us know once you upgrade.
> > 
> > Scott
> 
> Patrick has upgraded with no change, the same crashes. :-(

That's unfortunate. If he can make an MWE we can try to debug. Or
perhaps he can try buffer-anonymize.

Scott


signature.asc
Description: PGP signature


Re: Question: how to run Reconfigure without GUI

2019-01-15 Thread Scott Kostyshak
On Tue, Jan 15, 2019 at 11:27:34AM -0500, Daniel Gómez Martínez wrote:
> I found out I can start the action I want with "lyx -x reconfigure";
> however, GUI is triggered at the end.

You can call the configure script directly. For example,

  python -tt "/usr/local/share/lyx/configure.py"

Be sure to run it inside your home directory. On Linux, this is ~/.lyx.
(note that you can set your home directory at run-time to any directory
when launching LyX)

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 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: crash

2019-01-18 Thread Scott Kostyshak
On Fri, Jan 18, 2019 at 09:30:02PM +0100, Patrick Dupre wrote:
> Hello,
> 
> Where are you with the crash report that I submitted in December?
> Actually, I can also crash lyx by using trhe option "go to label"
> when I click on a figure reference.

Hi Patrick,

In the furture can you please respond to the relevant email thread or if
it is a trac ticket, please post on trac? We get lots of emails (and
unfortunately, several mysterious crashes) and I personally have a
horrible memory, so keeping things organized helps out a lot.

I think I found the crash you're referring to. For anyone who is
curious, see here:

  
https://www.mail-archive.com/search?l=mid&q=trinity-4267d203-5264-439d-84e6-c54806590235-1541597713075%403c-app-mailcom-bs04

Also, it seems you might have missed a question asked by Jean-Marc in
that email thread. The question was the following:

  Is it enough to obfuscate it with "buffer-anonymize"?

The reason why this question is so important is that it would really
help us to have a minimal example file. Without an example file, it is
quite difficult to track down the problem since we can't reproduce it.
If you're not sure what "buffer-anonymize" is, please let us know and we
can give you instructions for how to use it.

Thanks for following up on this important issue. Hopefully we can figure
out the crash.

Best,

Scott


signature.asc
Description: PGP signature


Re: crash

2019-01-18 Thread Scott Kostyshak
On Fri, Jan 18, 2019 at 10:22:55PM +0100, Patrick Dupre wrote:
> Hello,
> 
> Yes, you are right. I did not response to the mentioned message
> because I did not understand the point.
> Now, I cannot give you the previous lyx file, it is too long, too sensitive
> and it has a lot of pictures that I cannot communicate.

I see, thanks for the explanation. buffer-anonymize basically replaces
all of your characters with the character "a", in order to remove the
sensitive information. Are the pictures necessary to reproduce the
problem?

> I expect that the attached file will be more helpful.
> It just crashes when I try to open the inlet
> (before it was when I run the spellchecker).

Strange. It does not crash for me with LyX 2.3.x. Does it matter whether
you have continuous spell-checking enabled or not?

> For me, all these crashes seem due to a memory leak.

What makes you think that? I know little about these low-level issues so
I'm always trying to learn more intuition. If it is indeed due to a
memory link, perhaps Valgrind would be helpful?

Scott


signature.asc
Description: PGP signature


Re: Question: how to run Reconfigure without GUI

2019-02-05 Thread Scott Kostyshak
On Tue, Feb 05, 2019 at 12:35:55PM +0200, Dr Eberhard Lisse wrote:
> Scott,
> 
> this is very helpful for my alias file on the Mac.
> 
> function lyxconfigure
> {
>   pushd ~/
>   python -tt "/Applications/LyX.app/Contents/Resources/configure.py"
>   popd
> }

Nice. Thanks for sharing I actually never saw that trick for saving the
directory in a bash function (I've only used pushd and popd
interactively). I am used to saving "$(pwd)" to a variable and then "cd"
back to it. I like your trick instead.

Scott


signature.asc
Description: PGP signature


Re: How to force tex2lyx to read unicode (from within Lyx)?

2019-02-10 Thread Scott Kostyshak
On Sat, Nov 03, 2018 at 11:45:14AM -0400, Richard Kimberly Heck wrote:
> On 11/2/18 5:52 PM, Baris Erkus wrote:
> > On 11/2/2018 1:33 PM, Baris Erkus wrote:
> >> Hello,
> >>
> >> I am trying to import the a .tex  file into LyX (using file->import). 
> >> The file has Turkish characters and I believe it is using UTF8 encoding. 
> >> When I import it, it does not show Turkish characters properly. I 
> >> attached the file for your play-around.
> >>
> >> When I import the file on the command line with the UTF8 option tex2lyx 
> >> -e UTF8 ch1.tex, the LyX file looks just fine except one or two characters.
> >>
> >> So is there a way to tell to tex2lyx to use UTF8 encoding from within 
> >> LyX? This issue is occured when I import a tex file that has 
> >> \input{ch1.tex} in it. So, maybe LyX has and option to force tex2lyx to 
> >> read in UTF8 for all imports?
> >>
> >> I found exactly same question on this post, but the answers seem to be 
> >> unrelated:
> >>
> >> https://lyx-users.lyx.narkive.com/Rg1StNIT/how-to-force-tex2lyx-to-read-unicode-from-within-lyx
> >>
> >> Thanks
> >>
> >> Baris
> >>
> >
> > Found the answer:
> 
> Well, that's *an* answer: You can set up a custom "utf8" import, if you
> want. As JMarc said, though, tex2lyx should detect the encoding. Can you
> file a bug report about this so it doesn't get lost?

For archival purposes, note that a bug report was created here:

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

Scott


signature.asc
Description: PGP signature


Re: serious bug (fedora issue?)

2019-02-10 Thread Scott Kostyshak
On Sat, Jan 05, 2019 at 08:46:42PM +0100, Patrick Dupre wrote:
> Hello,
> 
> Was the information that I provided useful?

From what I understand, yes it does look useful because you have debug
symbols installed.

> I also have to face other crash issues. I will try to communicate after
> the previous one have been solved.

Do all of the crash issues you see require you to use a private
document? Did you try buffer-anonymize? It might not help since this
issue is related to spell-checking, but it's worth a try.

If you can find a way to get a crash from a document you can share,
please let us know. It might be a while before we figure out a fix to
the other bug (since we don't have a document to reproduce).

Scott


signature.asc
Description: PGP signature


Re: preview of linguistic trees in LyX

2019-02-10 Thread Scott Kostyshak
On Fri, Dec 28, 2018 at 01:21:14PM +0100, Michael Berger wrote:
> 
> On 12/28/18 1:05 PM, Jürgen Spitzmüller wrote:
> > Am Freitag, den 28.12.2018, 12:45 +0100 schrieb Michael Berger:
> > > sorry for not making myself clear enough!
> > > My Classicthesis Document has five child documents. There is only
> > > one tree we are talking about which is in child 2 but it cannot be
> > > previewed in child 2.
> > > ( if I put the same tree in the master it behaves and shows
> > > perfectly)
> > > - the linguistics module is and must be activated in both Preambles,
> > > the Master's  AND the Child's; if it is not activated in the Child 's
> > > Preamble a conversion to PDF  is not possible and the Child cannot be
> > > previewed
> > > - the tree can be previewed in the Master only but not in the Child
> > > (where it was created)
> > > Hope I could make myself clear now and thanks for your continuing
> > > help!
> > OK, this sounds like a bug. Please strip down the master and the
> > respective child to an absolute minimal example file and post it.
> > 
> > Thanks
> > Jürgen
> > 
> > > Michael Berger
> 
> Thanks Jürgen and Kornel, will take a couple of days because of ongoing
> holidays commitments.

No worries if you're still too busy, Michael, but just in case the
reason is that you forgot, here's a reminder :)

Scott


signature.asc
Description: PGP signature


Re: characters marked in red

2019-02-25 Thread Scott Kostyshak
On Mon, Jan 21, 2019 at 09:50:55AM +0100, paolo m.  wrote:
> Jean-Marc Lasgouttes wrote:
> 
> > Le 19/01/2019 à 10:34, paolo m.  a écrit :
> >> Jean-Marc Lasgouttes wrote:
> >> 
> >>>
> >>> 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.
> >>>
> >> 
> >> That happens on Lenovo B590 /ubuntu , not on hp elitebook / opensuse .
> >> same lyx 2.3.2
> > 
> > What other differences in terms of screen resolution and zoom level? We
> > may have a bug in this respect.
> > 
> >> How to change preview?
> > 
> > Well, you can disable previews for math in the preferences, but it is
> > probably too much.
> > 
> > JMarc
> 
> While my test file is open, as I change the instant preview size from 1.0  to 
> 1.2 i get :
> 
>  Assertion false violated in
> file: ../../src/CoordCache.cpp, line: 31
> There has been an error with this document.
> LyX will attempt to close it safely.
> The current document was closed.
> 
> Followed by :
> 
> SIGSEGV signal caught!
> Sorry, you have found a bug in LyX, hope you have not lost any data.
> Please read the bug-reporting instructions in 'Help->Introduction' and send 
> us a bug report, if necessary. Thanks!
> Bye.
> 
> Then I open another file and perform the above change in preview size, 
> eveything is ok. 
> Reopening my test file afterwards,  red marks are not shown any more

Do you compile LyX by chance?

Scott


signature.asc
Description: PGP signature


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-03-07 Thread Scott Kostyshak
On Tue, Feb 05, 2019 at 12:26:20PM +0200, Dr Eberhard Lisse wrote:
> Hi,
> 
> on MacOs 10.14.2 I loaded
> 
> https://wiki.lyx.org/uploads/Modules/soul.module
> 
> into LyX 2.3.2, validated and converted it and am getting messages such
> as these:
> 
> 
> LyX: Unknown InsetLayout tag [around line 19 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 20 of file  current token:
> 'Static' context: '']
> LyX: Unknown InsetLayout tag [around line 39 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 40 of file  current token:
> 'Static' context: '']
> LyX: Unknown InsetLayout tag [around line 60 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 61 of file  current token:
> 'Static' context: '']
> LyX: Unknown InsetLayout tag [around line 81 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 82 of file  current token:
> 'Static' context: '']
> LyX: Unknown InsetLayout tag [around line 101 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 102 of file  current token:
> 'Static' context: '']
> 
> What can I do to avoid these?

I don't know, but I can confirm that I see the same.

Scott


signature.asc
Description: PGP signature


Re: Lyx sluggish on Windows 10

2019-03-08 Thread 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.

Scott


signature.asc
Description: PGP signature


Re: Embedding sounds and video in beamer class

2019-04-17 Thread Scott Kostyshak
On Thu, Apr 18, 2019 at 11:45:05AM +1000, Anthony wrote:
> I have attached an MWE.
> 
> Running LyX2.3.0 under windows 10. Using Adobe Acrobat Pro DC.
> 
> My problem is that I can compile the LyX document to generate a pdf, however, 
> when I click on the link in the pdf, the following message appears.

I think I've heard this issue reported a few times. I don't know
anything about this (I'm on Ubuntu). Hopefully we can figure out the
root cause with Adobe Acrobat and fix that, but just in case it helps,
many users have reported success using Sumatra PDF view.

Best,

Scott


signature.asc
Description: PGP signature


Re: Quicker build

2019-04-20 Thread Scott Kostyshak
On Sat, Apr 20, 2019 at 03:51:11PM +0200, Daniel wrote:
> Hi,
> 
> My manuscript takes very long to fully compile, a couple of minutes. I have
> already tried to only compile parts of it but there was not much difference.
> 
> Since LaTeX is running several rounds in order to get all the references and
> such right, is there a way to get LyX to run less rounds?

You can define your own converter. See Help > Customization.

Scott


signature.asc
Description: PGP signature


Re: Quicker build

2019-04-21 Thread Scott Kostyshak
On Sun, Apr 21, 2019 at 10:09:34AM +0200, Daniel wrote:
> On 2019-04-20 19:21, Scott Kostyshak wrote:
> > On Sat, Apr 20, 2019 at 03:51:11PM +0200, Daniel wrote:
> > > Hi,
> > > 
> > > My manuscript takes very long to fully compile, a couple of minutes. I 
> > > have
> > > already tried to only compile parts of it but there was not much 
> > > difference.
> > > 
> > > Since LaTeX is running several rounds in order to get all the references 
> > > and
> > > such right, is there a way to get LyX to run less rounds?
> > 
> > You can define your own converter. See Help > Customization.
> > 
> > Scott
> > 
>  Thanks! It's a bit sparse on information what I would have to set there to
> achieve what I am after though. Any ideas welcome.

It's been a long time since I've made a custom converter, so I don't
know off-hand.

Does it do what you want if you remove "latex=pdflatex" in the converter
flag for the converter LaTeX (pdflatex) -> PDF (pdflatex)? (if you use
something other than pdfLaTeX, adapt accordingly).

Scott


signature.asc
Description: PGP signature


Re: Outline pane bug

2019-05-08 Thread Scott Kostyshak
On Wed, May 08, 2019 at 02:04:22PM -0400, Paul A. Rubin wrote:
> On 5/8/19 4:37 AM, Horsfield, Andrew P wrote:
> > Hi,
> > 
> > I am using LyX Version 2.3.2 on a desktop machine running Kubuntu 19.04
> > (Qt 5.12.2). I find that the outline pane refreshes itself every time I
> > type a character, which is rather distracting.

That would be very distracting to me as well.

> > The work-around is to
> > close the pane when typing. I do not have this problem on my Mac
> > laptop.
> > 
> > Andrew
> I don't see that (LyX 2.3.2, Mint 18.3, Qt 4.8.7), which suggests that it
> might be related either to the operating system (or window manager?) or to
> the Qt version.

I also can't reproduce. I'm on Ubuntu (default GNOME) 19.04 with system
Qt 5.12.2. I self-compiled LyX though. I can test tomorrow on the Ubuntu
version from the repository, if that would help.

How did you get LyX? From the Ubuntu repository or self-compiled or PPA?

Scott


signature.asc
Description: PGP signature


Re: Articles written with LyX

2019-05-08 Thread Scott Kostyshak
On Wed, May 08, 2019 at 02:36:45PM -0300, Carlos Knauer wrote:
> Hi
> 
> Where do I found articles written using LyX ? Is there a site ?

Not sure if this is what you mean, but I don't think we have a list of
published articles that used LyX. We do have one for some books though:

  https://wiki.lyx.org/LyX/ProducedPublications

Best,

Scott


signature.asc
Description: PGP signature


Re: Articles written with LyX

2019-05-09 Thread Scott Kostyshak
On Thu, May 09, 2019 at 07:58:35AM +0200, Dr Eberhard Lisse wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Scott,
> 
> I like the look, in particular the front page matter.
> 
> Can you send me (e...@lisse.na) the source(s) of one to have a look how
> you did that?

Hi Eberhard,

I didn't make the website or any document there. I don't have any
sources.

Scott


signature.asc
Description: PGP signature


Re: [ANNOUNCE] LyX 2.3.3

2019-07-11 Thread Scott Kostyshak
On Thu, Jul 11, 2019 at 11:00:57AM -0400, Maria Gouskova wrote:

> Any idea when Liviu's PPA and/or the official Debian release are going to
> be updated to 2.3.3? I just had LyX 2.3.2 crash on me (the Instant Preview
> Math bug) and I see that the bug is fixed in 2.3.3, so I was hoping to
> upgrade without having to build from source.

I'm CC'ing Liviu. I think he's busy but he'll let us know when he can
update the PPA.

Maria, if you are by chance interested in compiling LyX, start a
separate email thread and we can help you get it set up. This way, if
you are interested, you could use the 2.3.x branch, which is a
development version (i.e., updated every day), but is quite stable and
is what most developers use for daily work (I believe). I know this was
not the suggestion you were looking for, but I offer it nonetheless.

Best

Scott


signature.asc
Description: PGP signature


Re: Export child document to pdf2 from command line

2019-08-23 Thread Scott Kostyshak
On Fri, Aug 23, 2019 at 05:10:44PM -0300, Rudi Gaelzer wrote:
> I have a multi-part document with chapters that are included as child
> documents.  I can successfully export the whole document to PDF in a
> terminal using the standard way given in the ImportExport FAQ in WikiLyX:
> 
> lyx --export pdf2 master.lyx
> 
> Now, if I want to export only some of the childs to PDF, is there a
> standard way to accomplish this?
> The only other relevant instruction in the FAQ is related to branches:
> 
> lyx -x "command-sequence branch-activate b1; branch-deactivate b2" -E pdf2
> outfile.pdf infile.lyx
> 
> but I don't think it applies to my case.

Is putting each of your child documents in a separate branch a
possibility? That way you could use the solution you found. I'm not
aware of a different approach (maybe someone else knows though).

Best,

Scott


signature.asc
Description: PGP signature


Re: Export child document to pdf2 from command line

2019-08-26 Thread Scott Kostyshak
On Mon, Aug 26, 2019 at 10:55:42AM -0300, Rudi Gaelzer wrote:
> On Sun, Aug 25, 2019 at 9:11 PM Richard Kimberly Heck 
> wrote:
> 
> > > Another detail came up.  I did a simple test with a document containing
> > 3
> > > short chapters.
> > >
> > > From the GUI, in Settings -> Child Documents -> Master Document Output
> > ->
> > > Include only selected children  I can select only some child documents
> > and
> > > then create the PDF in File -> Export -> PDF (pdflatex).  The exported
> > PDF
> > > will contain only the selected child(ren), with all the cross-references.
> > >
> > > However, if I export from command line with
> > > lyx --export pdf2 master.lyx
> > > the PDF will invariably contain the whole document.
> > > I can sen the test files if you wish.
> >
> > Can you file a bug report about this?
> >
> > Riki
> >
> >
> >
> I can, but I'll need to initiate myself to the process...
> If I go to the main page (www.lyx.org) and click Bug Tracker, it opens the
> LyX Bug Tracker
> page in https://www.lyx.org/trac/wiki/BugTrackerHome
> I believe that's the correct place to report bugs, right?
> I will have to register first, in this case.

That's the place. Sorry for the extra trouble to register, but this way
the next time you come across a bug it will be easier to report it.
Thanks for taking the time to do it.

Scott


signature.asc
Description: PGP signature


Re: Convert float figure to float table?

2019-09-26 Thread Scott Kostyshak
On Thu, Sep 26, 2019 at 10:14:19AM -0700, Rich Shepard wrote:
> I goofed and put a table in a figure float. Can I directly convert it?

Maybe if you edit the .lyx file with a text editor (which I don't
recommend). I think the feature you're hoping for (which doesn't exist
yet) would be a layout tag that specifies which layouts can be converted
to other layouts.

Scott


signature.asc
Description: PGP signature


Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Scott Kostyshak
The current tooltip says the following:

  Save settings as LyX's default document settings

One LyX user was confused and thought this meant that these document
settings would be used for all .lyx files (e.g., existing ones as well).
This made me think we should clarify as follows:

  Save settings as LyX's default document settings for new documents

But now it's getting a little long. How about the following?

  Save settings as the defaults for new documents

Any comments or alternative proposals?

Thanks,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Scott Kostyshak
On Sat, Oct 26, 2019 at 06:47:27PM +0200, Jürgen Spitzmüller wrote:
> Am Samstag, den 26.10.2019, 12:04 -0400 schrieb Scott Kostyshak:
> >   Save settings as the defaults for new documents
> 
> This sounds good IMHO (is it "the defaults" or "defaults" without
> article?).

Good question, I don't know which is correct.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Scott Kostyshak
On Sat, Oct 26, 2019 at 02:31:57PM -0400, Paul A. Rubin wrote:
> On 10/26/19 1:57 PM, Scott Kostyshak wrote:
> > On Sat, Oct 26, 2019 at 06:47:27PM +0200, Jürgen Spitzmüller wrote:
> > > Am Samstag, den 26.10.2019, 12:04 -0400 schrieb Scott Kostyshak:
> > > >Save settings as the defaults for new documents
> > > This sounds good IMHO (is it "the defaults" or "defaults" without
> > > article?).
> > Good question, I don't know which is correct.
> > 
> > Scott
> > 
> Neither is incorrect IMO, but I would drop "the" just because (a) it's
> consistent with omitting "the" before "settings" and (b) brevity is the soul
> of wit.

Would you drop "the" or would you drop *the* "the" ? :)

Committed to master without "the" at 75bbe374. Thanks for the comments,
Jürgen and Paul!

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX crashes when selecting Document menu item on Mageia 7 (64 bits)

2019-12-27 Thread Scott Kostyshak
On Mon, Aug 12, 2019 at 03:10:04PM -, Antonio García Cordero wrote:
> Hi,
> 
> When selecting the bottom Document menu item on LyX 2.3.1 (Mageia 7, 64 
> bits), it crashes. I get this through the console:
> 
> lyx
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Code Preview 
> Pane|P" and "Panel del esquema|P" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Entorno split|
> s" and "Entorno cases|s" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Fantasma|F" and 
> "Espacio fino|f" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Limpiar página 
> doble|b" and "Optional Line Break|B" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Cita...|C" and 
> "Marco|c" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Información 
> TeX|X" and "Comprobar TeX|X" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios 
> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios 
> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
> [antonio@Gimli BOINC]$ lyx
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Code Preview 
> Pane|P" and "Panel del esquema|P" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Entorno split|
> s" and "Entorno cases|s" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Fantasma|F" and 
> "Espacio fino|f" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Limpiar página 
> doble|b" and "Optional Line Break|B" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Cita...|C" and 
> "Marco|c" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Información 
> TeX|X" and "Comprobar TeX|X" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios 
> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> support/lassert.cpp (51): ASSERTION static_cast(ascii[i]) 
> < 0x80 VIOLATED IN /home/iurt/rpmbuild/BUILD/lyx-2.3.1/src/support/
> docstring.cpp:54
> (  1) lyx: lyx::doAssertWithCallstack(bool)
> (  2) lyx: lyx::doAssert(char const*, char const*, long)
> (  3) lyx: lyx::from_ascii(std::__cxx11::basic_string std::char_traits, std::allocator > const&)
> (  4) lyx: lyx::frontend::GuiApplication::languageModel()
> (  5) lyx: 
> lyx::frontend::GuiDocument::GuiDocument(lyx::frontend::GuiView&)
> (  6) lyx: lyx::frontend::createGuiDocument(lyx::frontend::GuiView&)
> (  7) lyx: lyx::frontend::GuiView::build(std::__cxx11::basic_string std::char_traits, std::allocator > const&)
> (  8) lyx: 
> lyx::frontend::GuiView::findOrBuild(std::__cxx11::basic_string std::char_traits, std::allocator > const&, bool)
> (  9) lyx: lyx::frontend::GuiView::doShowDialog(QString const&, QString 
> const&, lyx::Inset*)
> ( 10) lyx: lyx() [0x10b1228]
> ( 11) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int, 
> void**)
> ( 12) lyx: lyx::frontend::GuiView::triggerShowDialog(QString const&, 
> QString const&, lyx::Inset*)
> ( 13) lyx: 
> lyx::frontend::GuiView::showDialog(std::__cxx11::basic_string std::char_traits, std::allocator > const&, 
> std::__cxx11::basic_string, 
> std::allocator > const&, lyx::Inset*)
> ( 14) lyx: lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&, 
> lyx::DispatchResult&)
> ( 15) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest 
> const&, lyx::DispatchResult&)
> ( 16) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest 
> const&)
> ( 17) lyx: lyx::dispatch(lyx::FuncRequest const&)
> ( 18) lyx: lyx::frontend::Action::action()
> ( 19) lyx: lyx() [0x110f336]
> ( 20) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int, 
> void**)
> ( 21) /lib64/libQt5Widgets.so.5: QAction::triggered(bool)
> ( 22) /lib64/libQt5Widgets.so.5: QAction::activate(QAction::ActionEvent)
> ( 23) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2c8b4c) 
> [0x7f8b8482bb4c]
> ( 24) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2cfbe0) 
> [0x7f8b84832be0]
> ( 25) /lib64/libQt5Widgets.so.5: QMenu::

Re: Creating custom shortcut for cross-referencing

2020-01-02 Thread Scott Kostyshak
On Tue, Dec 31, 2019 at 10:53:50PM -0800, Hung-Tzu Chang wrote:
> Hi,
> 
> I would like to ask about how to create custom keyboard shortcut for the
> "Insert | Cross-Reference" function in LyX. I searched through the list in
> Preferences->Editing->Shortcuts and couldn't find the corresponding item
> for such function. I also searched through the LyX bind folder for the
> program and found the function "reference-insert" in the file "aqua.bind".
> However, the function "reference-insert" cannot be found in the preference
> menu. Manually adding the "reference-insert" line to the bind file
> user.bind in the .config folder doesn't work. The LyX version in question
> is 2.3.3 (both Windows and Mac).
> 
> Thank you and happy new year!
> 
> Best,
> Hung-Tzu

The following might be helpful for learning how to figure out the
correct command:

http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531

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



signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.3.3 & chapter appendices

2020-01-09 Thread Scott Kostyshak
On Thu, Jan 09, 2020 at 03:00:57PM +, Bernt Lie wrote:
> Happy New Year to LyX:ers.
> 
> 
> 
> I’m about to reorganize some lecture notes, and would like to have the 
> possibility of chapter appendices.
> 
> 
> 
> Does anyone have experience with how to achieve this?
> 
> ·   What type of style/template is recommended?
> 
> ·   How to add needed packages? (E.g., pointers to help files – there are 
> quite a few of , and it is sometimes difficult to find the relevant 
> information.)

Hi Bernt,

You can try this LyX template:

  https://github.com/scottkosty/lyx-princeton-diss

It shows how each chapter can have its own appendix and own list of
references. From what I remember, it uses some hacks, so if you find
something else you might want to go with that.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Image paths when exporting from Lyx

2020-01-21 Thread Scott Kostyshak
On Tue, Jan 21, 2020 at 04:40:06PM +0100, muzzle wrote:
> Hello,
> 
> I am trying to setup LyX to export directly to the reStructuredText format.
> I adapted these instructions
>  just replacing markdown
> with rst.
> 
> Unfortunately LyX changes the path of every image.
> 
> e.g. this figure
> 
> .. figure:: 
> 0_home_muzzle_Nextcloud_Stuff_Stuff_documentation_source_img_pressure.jpg
>:alt: Pressure
>:width: 80.0%
> 
>Pressure
> 
> should be
> 
> .. figure:: img/pressure.jpg
>:alt: Pressure
>:width: 80.0%
> 
>Pressure
> 
> I think LyX is replacing the image path with that of a copy of the image
> created to allow the converter to do its job. This is the correct behavior
> if the output format will somehow embed the image in the document, but that
> is not the case for reStructuredText (or for markdown, for that matter).
> 
> If I export the lyx file as latex from the GUI, and then convert it to
> reStructuredText using the command
> 
> pandoc --wrap=none -f latex -t rst -o file.rst file.tex
> 
> the image path is correct, is there a way to obtain the same effect from
> the UI conversion and export system?
> 
> Best,
> 
> Emme

Hi Emme,

It's helpful to always cross-reference your posts. That way, if someone
solves your question on one list, others with the same problem who find
your other post can follow the link and see the solution. Here's your
other post:

  
https://tex.stackexchange.com/questions/524505/image-path-when-exporting-from-lyx

I don't know the answer to you question but I hope someone else does!

Best of luck,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-09 Thread Scott Kostyshak
On Sun, Feb 09, 2020 at 07:56:56PM +0100, Martin Weise wrote:
> Dear all,
> 
> I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
> (successfully) for almost two years). However, I recently switched
> laptops and therefore needed to reinstall ubuntu.
> 
> On the new machine, LyX fails to export pdf files via pdflatex and
> LuaTeX. There is no pdf file after running export. The only thing that
> does work is using ps2pdf.
> 
> Here's the message output from Lyx:
> 
> ***
> 05:44:25.151: Previewing ...
> 05:44:25.154: (buffer-view: Ctrl+R)
> 05:44:25.158: pdflatex  "Document.tex"
> 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> 2017/Debian) (preloaded format=pdflatex)
> 05:44:25.233:  restricted \write18 enabled.
> 05:44:25.243: entering extended mode
> 05:44:25.244: (./Document.tex
> 05:44:25.253: LaTeX2e <2017-04-15>
> 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
> loaded.
> 05:44:25.254:
> 05:44:25.380: pdflatex  "Bauordnungsamt.tex"
> 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> 2017/Debian) (preloaded format=pdflatex)
> 05:44:25.453:  restricted \write18 enabled.
> 05:44:25.462: entering extended mode
> 05:44:25.463: (./Document.tex
> 05:44:25.464: LaTeX2e <2017-04-15>
> 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
> loaded.
> 05:44:25.466:
> 05:44:25.593: Successful export to format: PDF
> (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
> VIOLATED IN ../../src/Buffer.cpp:4382
> ***
> 
> Any idea what might be wrong?
> 
> Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX 
> does work.

Hi Martin,

When you run pdflatex manually on LaTeX code produced by LyX,
does it have a non-zero exit code?

Can you send a .lyx minimal example file that reproduces the error?

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Extremely slow to save file (2.3.4, Windows)

2020-02-09 Thread Scott Kostyshak
On Sun, Feb 09, 2020 at 08:30:35PM -0500, Jim Rockford wrote:
> Since v.2.3.4 (Windows 10) Lyx is extremely slow to save Lyx files.  I'll
> click the save button and have to wait 3-5 seconds for the file saving
> process to complete, during which time the cursor is basically frozen (i.e.
> I cannot click back into the document and edit).
> 
> At first I thought my computer may have needed a reboot, but that didn't
> help.  In v.2.3.3 file saving was practically instantaneous.  As far as I
> can tell this hangup is specifically a v.2.3.4 issue.

I Jim, I think you ran into this issue:
https://www.lyx.org/trac/ticket/11728. There will be a new LyX release
soon that fixes it.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 08:18:40AM +0100, Martin Weise wrote:
> On 10.02.20 02:43, Scott Kostyshak wrote:
> > On Sun, Feb 09, 2020 at 07:56:56PM +0100, Martin Weise wrote:
> >> Dear all,
> >>
> >> I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
> >> (successfully) for almost two years). However, I recently switched
> >> laptops and therefore needed to reinstall ubuntu.
> >>
> >> On the new machine, LyX fails to export pdf files via pdflatex and
> >> LuaTeX. There is no pdf file after running export. The only thing that
> >> does work is using ps2pdf.
> >>
> >> Here's the message output from Lyx:
> >>
> >> ***
> >> 05:44:25.151: Previewing ...
> >> 05:44:25.154: (buffer-view: Ctrl+R)
> >> 05:44:25.158: pdflatex  "Document.tex"
> >> 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> >> 2017/Debian) (preloaded format=pdflatex)
> >> 05:44:25.233:  restricted \write18 enabled.
> >> 05:44:25.243: entering extended mode
> >> 05:44:25.244: (./Document.tex
> >> 05:44:25.253: LaTeX2e <2017-04-15>
> >> 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
> >> loaded.
> >> 05:44:25.254:
> >> 05:44:25.380: pdflatex  "Bauordnungsamt.tex"
> >> 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> >> 2017/Debian) (preloaded format=pdflatex)
> >> 05:44:25.453:  restricted \write18 enabled.
> >> 05:44:25.462: entering extended mode
> >> 05:44:25.463: (./Document.tex
> >> 05:44:25.464: LaTeX2e <2017-04-15>
> >> 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
> >> loaded.
> >> 05:44:25.466:
> >> 05:44:25.593: Successful export to format: PDF
> >> (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
> >> VIOLATED IN ../../src/Buffer.cpp:4382
> >> ***
> >>
> >> Any idea what might be wrong?
> >>
> >> Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX 
> >> does work.
> > Hi Martin,
> >
> > When you run pdflatex manually on LaTeX code produced by LyX,
> > does it have a non-zero exit code?
> >
> > Can you send a .lyx minimal example file that reproduces the error?
> >
> > Best,
> >
> > Scott
> 
> Sure thing... here you go. But it's really just any .lyx file.
> 
> Running pdflatex manually yields a zero exit code (and thus, a .pdf file).
> 
> Thanks for your help,

Thanks for the example file. As you probably expected, it compiles fine
on my computer (although it was good to check). 

How did you install LyX? Did you install it from the Ubuntu repository,
or a PPA, or did you manually compile?

When you do the export, do you get an error dialog? What does the
message pane say right after doing the export?

The line about the assertion in your output means that LyX did not
detect an error when exporting but at the same time there is no export
file. So LyX is just as confused as we are it seems.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote:
> On 10.02.20 17:34, Kornel Benko wrote:
> > Am Mon, 10 Feb 2020 16:54:27 +0100
> > schrieb Martin Weise :
> >
> >>> I'm wondering whether LyX successfully compiles the PDF file in the
> >>> temp directory but then fails to copy or move it to the target directory.
> >>>
> >>> Paul
> >>>  
> >> No, Document -> View (pdflatex) produces nothing either. Nor does the
> >> LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
> >> .dvi,. log, .tex and .dep-pdf files.
> >>
> >> Martin
> >
> > That (.dvi) is the clue probably. Select different output in
> > Document->Settings...->Formats->Default output format: -> PDF (pdflatex)
> >
> > Kornel
> >
> No, I'm afraid that's not it. pdflatex keeps throwing the assertion
> error message, when run through LyX, regardless of what I choose as the
> default output format.

Still I think Kornel picked up on an important clue: we need to figure
out why there's a .dvi file in the temporary directory. If you exit LyX
and start LyX again (which should use a fresh temp dir), and compile a
simple .lyx file, can you confirm that there's a .dvi in the temporary
directory?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 05:38:08PM -0500, Paul A. Rubin wrote:
> On 2/10/20 4:03 PM, Martin Weise wrote:
> > On 10.02.20 21:52, Scott Kostyshak wrote:
> > > On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote:
> > > > On 10.02.20 17:34, Kornel Benko wrote:
> > > > > Am Mon, 10 Feb 2020 16:54:27 +0100
> > > > > schrieb Martin Weise :
> > > > > 
> > > > > > > I'm wondering whether LyX successfully compiles the PDF file in 
> > > > > > > the
> > > > > > > temp directory but then fails to copy or move it to the target 
> > > > > > > directory.
> > > > > > > 
> > > > > > > Paul
> > > > > > No, Document -> View (pdflatex) produces nothing either. Nor does 
> > > > > > the
> > > > > > LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves 
> > > > > > .aux,
> > > > > > .dvi,. log, .tex and .dep-pdf files.
> > > > > > 
> > > > > > Martin
> > > > > That (.dvi) is the clue probably. Select different output in
> > > > > Document->Settings...->Formats->Default output format: -> PDF 
> > > > > (pdflatex)
> > > > > 
> > > > >   Kornel
> > > > > 
> > > > No, I'm afraid that's not it. pdflatex keeps throwing the assertion
> > > > error message, when run through LyX, regardless of what I choose as the
> > > > default output format.
> > > Still I think Kornel picked up on an important clue: we need to figure
> > > out why there's a .dvi file in the temporary directory. If you exit LyX
> > > and start LyX again (which should use a fresh temp dir), and compile a
> > > simple .lyx file, can you confirm that there's a .dvi in the temporary
> > > directory?
> > > 
> > > Scott
> > > 
> > Positive. There's a .dvi file in the (new) temporary directory after I
> > choose File->Export->PDF (pdflatex).
> > 
> Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools >
> Preferences... > File Handling > Converters and, if so, what do the
> "Converter:" and "Extra flag:" boxes say?

In addition to Paul's question, can you send us your preferences file?
It is a text file and you can find its location by going to Help > About
and looking in the "User directory" path that is listed there.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Extremely slow to save file (2.3.4, Windows)

2020-02-13 Thread Scott Kostyshak
On Thu, Feb 13, 2020 at 10:35:23PM -0500, Jim Rockford wrote:
> Thank you for the information that this was (is) a recognized problem.
> However, after the update to 2.3.4.2, I am still experiencing the exact
> same slow file saving problem on Windows 10.  I rebooted just to be sure,
> and I did check that I had the newest version installed.  Anyone else
> notice that this problem persists?

Hi Jim,

Take a look here:

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

There is a proposed fix and new binaries should be available soon!

Also, please bottom-post (https://www.lyx.org/MailingLists#toc8) in future 
posts.

Best,

Scott

> Jim
> 
> On Sun, Feb 9, 2020 at 8:44 PM Scott Kostyshak  wrote:
> 
> > On Sun, Feb 09, 2020 at 08:30:35PM -0500, Jim Rockford wrote:
> > > Since v.2.3.4 (Windows 10) Lyx is extremely slow to save Lyx files.  I'll
> > > click the save button and have to wait 3-5 seconds for the file saving
> > > process to complete, during which time the cursor is basically frozen
> > (i.e.
> > > I cannot click back into the document and edit).
> > >
> > > At first I thought my computer may have needed a reboot, but that didn't
> > > help.  In v.2.3.3 file saving was practically instantaneous.  As far as I
> > > can tell this hangup is specifically a v.2.3.4 issue.
> >
> > I Jim, I think you ran into this issue:
> > https://www.lyx.org/trac/ticket/11728. There will be a new LyX release
> > soon that fixes it.
> >
> > Best,
> >
> > Scott
> >

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



signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Espace dans le chemin d'accès

2020-02-16 Thread Scott Kostyshak
On Sun, Feb 16, 2020 at 09:31:47AM +, Paul Rey wrote:
> Je viens d'installer la version 2.3.4.2  de Lyx et avec mes fichiers dont le 
> chemin d'accès contient des espaces, il me répond méchamment (voir image 
> jointe) alors que tout marchait très bien avec la version 2.3.Ce n'est pas 
> terriblement génant, puisque si l'on enlève effectivement les espaces, cela 
> fonctionne correctement mais tout de même ... !Sinon, c'est un outil 
> magnifique.

Thanks for the report, Paul. Can you post the output from reconfiguring
LyX? It seems that we check to see if your TeX installation allows
spaces or not while reconfiguring. (if interested in seeing the source
code, grep for 'tex_allows_spaces'). As for why the change, it could be
because when you installed 2.3.4.2 you also installed a newer version of
your TeX distribution. Or it could be a code change in LyX, but since I
can't reproduce it's hard to know.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: how to use parselog flag

2020-02-23 Thread Scott Kostyshak
On Sun, Feb 23, 2020 at 04:26:29AM +, Amra, Nasir wrote:
> Hello,
>I am trying to debug why a converter does not work in lyx 2.3.3 (using 
> miktex 2.9 on windows 7)  , but I am able to run the script in a windows 
> command window (cmd.exe). How do I set parselog flag  in the converter and 
> where would I find the log file? Is it just placing "parselog" in the flag 
> option or "parselog=TRUE" or something else?
> What I am trying to resolve is why the MS Word converter:
> pandoc -s --filter pandoc-citeproc --csl vancouver-superscript.csl   -f latex 
> -o $$o -t docx $$i
> 
> gives me a " lyx - can not convert file" error message. Moreover, I am able 
> to run the script above in a windows command line (cmd.exe) successfully.  
> Any help would be much appreciated.

Maybe you will get helpful output if when you start LyX on the command
line you use "-dbg". For example:

  lyx -dbg any

should give a lot of output. Perhaps there's a better flag to choose.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: End-of-frame separator in lyx/Beamer

2020-03-25 Thread Scott Kostyshak
On Wed, Mar 25, 2020 at 12:33:56PM -0400, UD Kap wrote:
> Jurgen-- The alt-shift-P-return shortcut does not work in my system/
> environment, and adding a separate frame (environment?) below is not
> what I needed to separate one from from the one following it in an
> existing presentation-- I needed just a separator. 

Hi Ehud,

Please bottom-post (https://wiki.lyx.org/FAQ/ListNetiquette#tofu).

Indeed, it is difficult and frustrating to transition to a new way of
doing things. You might just want to stick with an older version of LyX
until you have the time and energy to deal with the transition and to
read Help > Specific Manuals > Beamer Presentations.

If you send us a minimal example, and describe exactly what you would
like to achieve as the end goal, we can tell you the "new" way of doing
things. It's always fun to argue whether the new way of doing things is
better/worse than the old way, but let's separate that discussion from
"how do accomplish things in the new way?".

As for just needing a separator, I'm not sure that manually inserting a
separator is the best way to accomplish what you want to do in the *new*
way of using Beamer in LyX.

Extra credit reading:

  http://xyproblem.info/
  https://wiki.lyx.org/FAQ/MinimalExample

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: End-of-frame separator in lyx/Beamer

2020-03-26 Thread Scott Kostyshak
On Thu, Mar 26, 2020 at 07:50:53AM -0400, UD Kap wrote:
> 
> On 3/25/20 1:07 PM, Jürgen Spitzmüller wrote:
> 
> Am Mittwoch, den 25.03.2020, 12:33 -0400 schrieb UD Kap:
> 
> Jurgen-- The alt-shift-P-return shortcut does not work in my
> system/environment, and adding a separate frame (environment?) below
> is not what I needed to separate one from from the one following it
> in an existing presentation-- I needed just a separator.
> 
> Why do you need a separator if no other frame follows?
> 
> Jürgen
> 
> 
> 
> 
> Jurgen & Scott,
> 
> As I mentioned above, I have an old presentation, which was prepared
> with Lyx/Beamer.  I wanted to update it, by adding a new slide, which
> was to be followed by a subsection header from the old presentation. 
> I inserted the new slide/frame from the Insert menu (Separated Frame
> Below), which inserts a frame separator followed by Frame.. Frame
> Title etc., following TNODT (The New Way Of Doing Things.)  Upon
> compiling (with no errors reported), that newly inserted frame and
> frame title generates a blank space and other unexpected and
> undesired effects.  That is the reason I needed just a separator.  My
> mother told me I was special, but that situation must have happened
> to others before, and might happen again, which is why I screamed
> publicly for help.

I see, thanks for the explanation, Ehud.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: onehalfspace

2020-04-05 Thread Scott Kostyshak
On Thu, Aug 08, 2019 at 08:19:29PM +0200, Patrick Dupre wrote:
> Hello,
> 
> It seems that there is an issue with: onehalfspace
> 
> Can I get some feedback?
> 
> See attached file.

You might want to file a bug report so we don't forget about this
(please remove the preamble code when you attach the file). I can
reproduce that I get an error with the .lyx file, but I don't know what
the root issue is.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: knitr and LuaLaTeX

2020-04-23 Thread Scott Kostyshak
On Thu, Apr 23, 2020 at 09:31:53PM +0200, Dr Eberhard Lisse wrote:
> Hi,
> 
> I have a LyX/knitR document which is
> 
>   Document -> Settings -> Formats
>   Default Output Format: PDF (LuaTeX)
> 
> produces PDF without issue.
> 
> Export to TeX
> 
>   latexmk pgf.tex
> 
> produces PDF without issue
> 
> 
> Export to Rnw
> 
>   R -e 'library(knitr);knit("pgf.Rnw")' && latexmk pgf.tex
> 
> fails as there is no
> 
>   \usepackage[latin9]{luainputenc}
> 
> in the Rnw which is however present in the pgf.tex.
> 
> Should that not be there as determined by the Default Output Format?

I can see why you would expect that. Currently in LyX, from what I
understand, the default output format does not affect non-default
output. If your default output is set to PDF (LuaTeX) and you export to
knitr, LyX thinks "OK they don't want the default output format since
they chose a different output".

However, I do see your point that if LyX had to guess what flavor of TeX
it should write the .Rnw in, choosing the flavor that is in the chain
for the default output format is a good guess.

This discussion seems somewhat related to the following feature, which
is not yet implemented:

https://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014#toc4

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LaTeX Log scrolled to top

2020-04-26 Thread Scott Kostyshak
On Sat, Mar 14, 2020 at 12:44:34PM +0100, Daniel wrote:
> Hi,
> 
> Whenever I click on LyX's work area, the LaTeX Log gets scrolled to the top.
> This makes it a bit tricky to go back and forth between the LaTeX Log and
> LyX's work area while fixing errors and warnings.
> 
> Is there a specific reason this scrolling to the top happens?

For me, it does not scroll to the top. It scrolls to the LaTeX output
corresponding to where the cursor is.

Does it do that with every document or just one?

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LaTeX Log scrolled to top

2020-04-27 Thread Scott Kostyshak
On Mon, Apr 27, 2020 at 10:51:30AM +0200, Kornel Benko wrote:
> Am Sun, 26 Apr 2020 23:38:23 -0400
> schrieb Scott Kostyshak :
> 
> > On Sat, Mar 14, 2020 at 12:44:34PM +0100, Daniel wrote:
> > > Hi,
> > > 
> > > Whenever I click on LyX's work area, the LaTeX Log gets scrolled to the 
> > > top.
> > > This makes it a bit tricky to go back and forth between the LaTeX Log and
> > > LyX's work area while fixing errors and warnings.
> > > 
> > > Is there a specific reason this scrolling to the top happens?  
> > 
> > For me, it does not scroll to the top. It scrolls to the LaTeX output
> > corresponding to where the cursor is.
> > 
> > Does it do that with every document or just one?
> > 
> > Best,
> > 
> > Scott
> 
> I see the same as Daniel. Master _and_ branch.

Thanks for checking, Kornel. I see that I misread Daniel's message. I
thought he was talking about the LaTeX source preview box. I now see the
same behavior with the LaTeX Log as you and Daniel, that it scrolls to
the top. My guess as to why it happens is that we are taking into
account the possibility that the .log file has changed and so we reload
it. I haven't looked in the code to confirm this guess. If that is
indeed the case, then we would need a better mechanism to see if the log
file has changed.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Let it run

2020-04-30 Thread Scott Kostyshak
On Thu, Apr 30, 2020 at 10:29:04PM +0200, Daniel wrote:
> Hi
> 
> I have a large document that takes more than 10 minutes to compile. In
> between LyX seems to stop the process to ask me whether I want to "Let it
> run" or "Stop it". Is there a way to turn this dialog off? Otherwise, I
> always have to attend to LyX while waiting for the typesetting to finish.

I agree it is annoying for certain cases. For me it is annoying when I
use knitr. For you, is it purely LaTeX compilation that is taking the
time or something else?

I believe the process is not stopped. Try an experiment: when you get
the dialog, wait 10 more minutes until you're sure your script would
have finished, and then click "let it run"---it should immediately show
the PDF.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX crashes when selecting Document menu item on Mageia 7 (64 bits)

2020-05-09 Thread Scott Kostyshak
On Sat, May 09, 2020 at 04:10:36PM +0200, Antonio García Cordero wrote:
> Sorry for the delay in answering you.

No problem, thanks for the response!

> lyx
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Code Preview
> Pane|P" and "Panel del esquema|P" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Entorno
> split|s" and "Entorno cases|s" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Fantasma|F"
> and "Espacio fino|f" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Limpiar
> página doble|b" and "Optional Line Break|B" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Cita...|C"
> and "Marco|c" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Información
> TeX|X" and "Comprobar TeX|X" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios
> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> support/lassert.cpp (51): ASSERTION static_cast char>(ascii[i]) < 0x80 VIOLATED IN /home/iurt/rpmbuild/BUILD/lyx-
> 2.3.1/src/support/docstring.cpp:54
> (  1) lyx: lyx::doAssertWithCallstack(bool)
> (  2) lyx: lyx::doAssert(char const*, char const*, long)
> (  3) lyx: lyx::from_ascii(std::__cxx11::basic_string std::char_traits, std::allocator > const&)
> (  4) lyx: lyx::frontend::GuiApplication::languageModel()
> (  5) lyx:
> lyx::frontend::GuiDocument::GuiDocument(lyx::frontend::GuiView&)
> (  6) lyx: lyx::frontend::createGuiDocument(lyx::frontend::GuiView&)
> (  7) lyx:
> lyx::frontend::GuiView::build(std::__cxx11::basic_string std::char_traits, std::allocator > const&)
> (  8) lyx:
> lyx::frontend::GuiView::findOrBuild(std::__cxx11::basic_string std::char_traits, std::allocator > const&, bool)
> (  9) lyx: lyx::frontend::GuiView::doShowDialog(QString const&, QString
> const&, lyx::Inset*)
> ( 10) lyx: lyx() [0x10b1228]
> ( 11) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int,
> void**)
> ( 12) lyx: lyx::frontend::GuiView::triggerShowDialog(QString const&,
> QString const&, lyx::Inset*)
> ( 13) lyx:
> lyx::frontend::GuiView::showDialog(std::__cxx11::basic_string std::char_traits, std::allocator > const&,
> std::__cxx11::basic_string,
> std::allocator > const&, lyx::Inset*)
> ( 14) lyx: lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&,
> lyx::DispatchResult&)
> ( 15) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest
> const&, lyx::DispatchResult&)
> ( 16) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest
> const&)
> ( 17) lyx: lyx::dispatch(lyx::FuncRequest const&)
> ( 18) lyx: lyx::frontend::Action::action()
> ( 19) lyx: lyx() [0x110f336]
> ( 20) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int,
> void**)
> ( 21) /lib64/libQt5Widgets.so.5: QAction::triggered(bool)
> ( 22) /lib64/libQt5Widgets.so.5:
> QAction::activate(QAction::ActionEvent)
> ( 23) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2c950c)
> [0x7fad58a1550c]
> ( 24) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2d0600)
> [0x7fad58a1c600]
> ( 25) /lib64/libQt5Widgets.so.5: QMenu::mouseReleaseEvent(QMouseEvent*)
> ( 26) /lib64/libQt5Widgets.so.5: QWidget::event(QEvent*)
> ( 27) /lib64/libQt5Widgets.so.5: QMenu::event(QEvent*)
> ( 28) /lib64/libQt5Widgets.so.5:
> QApplicationPrivate::notify_helper(QObject*, QEvent*)
> ( 29) /lib64/libQt5Widgets.so.5: QApplication::notify(QObject*,
> QEvent*)
> ( 30) lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
> ( 31) /lib64/libQt5Core.so.5:
> QCoreApplication::notifyInternal2(QObject*, QEvent*)
> ( 32) /lib64/libQt5Widgets.so.5:
> QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
> QWidget*, QWidget**, QPointer&, bool, bool)
> ( 33) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x1be1dd)
> [0x7fad5890a1dd]
> ( 34) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x1c06a8)
> [0x7fad5890c6a8]
> ( 35) /lib64/libQt5Widgets.so.5:
> QApplicationPrivate::notify_helper(QObject*, QEvent*)
> ( 36) /lib64/libQt5Widgets.so.5: QApplication::notify(QObject*,
> QEvent*)
> ( 37) lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
> ( 38) /lib64/libQt5Core.so.5:
> QCoreApplication::notifyInternal2(QObject*, QEvent*)
> ( 39) /lib64/libQt5Gui.so.5:
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate
> ::MouseEvent*)
> ( 40) /lib64/libQt5Gui.so.5:
> QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterface
> Private::WindowSystemEvent*)
> ( 41) /lib64/libQt5Gui.so.5:
> QWindowSystemInterface::sendWindowSystemEvents(QFlags ssEventsFlag>)
> ( 42) /lib64/libQt5XcbQpa.so.5: 

Re: Intermediate .tex file during 'Convert' differs from manual export, causes problems

2020-06-11 Thread Scott Kostyshak
On Thu, Jun 11, 2020 at 05:43:42PM +0200, Alexander wrote:
> Hi Jürgen,
> 
> On Thu, 11 Jun 2020 14:13:34 +0200
> Jürgen Spitzmüller  wrote:
> 
> > The reason for the difference is this commit:
> > commit e798db5739871aaa29f95de321c52f19058064c9
> > (…)
> > The converter flag "nice" will get you the LaTeX file which is also
> > used for export.
> 
> This is the even-greater-than-I-could-hope-for answer I could not
> even hope for :-)
> 
> Adding 'nice' as flag for the converter solves the case (and the
> question marks in my head) – thank you very much for your effort.

That's great the problem seems to be solved. Alexander, would you mind
still filing a bug/enhancement report for Pandoc? Even though the issue
doesn't affect you anymore, it would affect others. I suggest to make a
minimal example .tex file and to post it here:

  https://github.com/jgm/pandoc/issues

Let us know what issue number is so we can follow the discussion.

Thanks!

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Can't upgrade LyX on Focal Fossa

2020-07-13 Thread Scott Kostyshak
On Sun, Jul 12, 2020 at 11:08:40AM +0200, Kees Zeelenberg wrote:
> Op 12-07-2020 om 00:06 schreef Paul A. Rubin:
> > ...
> > 
> > Is anybody else having problems upgrading to 2.3.5.1 for Focal via the
> > PPA?
> > 
> In the right-hand corner of the ppa-page
> (https://launchpad.net/~lyx-devel/+archive/ubuntu/release) you see that the
> amd64 version, which you probably want to install, failed to build. So there
> is no update, and Synaptic etc correctly see this.

Looks like the problem is the following:

The following packages have unmet dependencies:
 sbuild-build-depends-lyx-dummy : Depends: libboost-signals-dev but it is not 
installable or
   libboost-signals1.67-dev but it is 
not going to be installed

Liviu, do you know how to solve this for the PPA?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: how to create a child document

2020-08-19 Thread Scott Kostyshak
On Wed, Aug 19, 2020 at 04:00:51PM -0400, Richard Kimberly Heck wrote:
> On 8/19/20 3:24 AM, Wolfgang Engelmann wrote:
> > I want to create a child document for chapter 1 of a book
> > (Koma-script) in LyX. In the help file 'Embedded Objects' it is, as
> > far as I can see, not described how to create it.
> > What I do:
> > 1- In the table of content of the outline I go to chapter 1 and
> > mouse-click right.
> > 2- I select section (which is actually a chapter) which blues the
> > chapter (except the title of the chapter)
> > 3- I choose Insert > file > child document
> > 4- A box pops up 'LyX Child Document' and here I am lost:
> > There is a line File: . Browse ...
> > but if I enter in either File or Browse a name for the child, say
> > Chapter_1 I am told that the file could not be found.
> >
> > Could somebody kindly tell me what has to be done in order to get the
> > selected chapter exported as a child?
> 
> Create the document first, in the normal way (File> New). Then cut and
> paste the content into it. (Probably make sure you have the same
> document class, etc, first.) Then include the new document in the old one.
> 
> Alternatively: Use your OS to copy the original file to Chapter_1.lyx.
> Then delete everything except chapter 1. Then remove Chapter 1 from the
> old file and instead include the new file. (That may be easiest, in the
> end.)

Unfortunately, Wolfgang's expected behavior does not exist yet:

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

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Anyone using LyX for quizes on Canvas with math?

2020-09-03 Thread Scott Kostyshak
There are some resources online about turning LaTeX math into the format used 
on Canvas, but I haven't actually tried anything. Has anyone done this? If so, 
what are the steps you take from getting from LyX to Canvas quiz? Do you use 
the LyX HTML export?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Anyone using LyX for quizes on Canvas with math?

2020-09-04 Thread Scott Kostyshak
On Fri, Sep 04, 2020 at 12:06:18PM -0400, Richard Kimberly Heck wrote:
> On 9/3/20 10:20 AM, Scott Kostyshak wrote:
> > There are some resources online about turning LaTeX math into the format 
> > used on Canvas, but I haven't actually tried anything. Has anyone done 
> > this? If so, what are the steps you take from getting from LyX to Canvas 
> > quiz? Do you use the LyX HTML export?
> 
> I hadn't thought to do this, but it's a good idea. Note that you can
> just copy the relevant code out of the Code Preview pane, so don't
> really have to export.

I prefer to export since I want to export the entire exam. That is, I
don't want to use LyX just as an equation editor.

> A quick test shows that pasting MathML into Canvas does seem to work,
> though maybe setting the math export type to HTML (under Formats, in
> Document Settings) would be safer, if it worked.

Nice, I didn't know about that option. I will experiment with it.

Thanks,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Anyone using LyX for quizes on Canvas with math?

2020-09-04 Thread Scott Kostyshak
On Fri, Sep 04, 2020 at 04:32:19PM -0400, Richard Kimberly Heck wrote:
> On 9/4/20 1:47 PM, Scott Kostyshak wrote:
> > On Fri, Sep 04, 2020 at 12:06:18PM -0400, Richard Kimberly Heck wrote:
> >> On 9/3/20 10:20 AM, Scott Kostyshak wrote:
> >>> There are some resources online about turning LaTeX math into the format 
> >>> used on Canvas, but I haven't actually tried anything. Has anyone done 
> >>> this? If so, what are the steps you take from getting from LyX to Canvas 
> >>> quiz? Do you use the LyX HTML export?
> >> I hadn't thought to do this, but it's a good idea. Note that you can
> >> just copy the relevant code out of the Code Preview pane, so don't
> >> really have to export.
> > I prefer to export since I want to export the entire exam. That is, I
> > don't want to use LyX just as an equation editor.
> 
> You can do that and remove the various bits you don't need. Or you can
> preview the whole body and copy and paste that (minus the body tags).
> 
> That said, Canvas lets you create individual questions on the quiz,
> which you may well want to do. In that case, you'd be cutting and
> pasting parts.

Good idea. I'm hoping to eventually automate the process of cutting them
up into multiple questions. I know there is an API for Canvas so it
might be possible. In any case, I wouldn't be able to get to that for a
while.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A general layout/ layout-less lyx file

2020-09-27 Thread Scott Kostyshak
On Sun, Sep 27, 2020 at 01:38:18PM +0300, email.i...@gmail.com wrote:
> Hello,
> 
> I maintain a file with many macros which I use in all of my projects.
> My projects usually differ in their layout (e.g., due to submitting to
> different journals) so I commonly get a warning of mismatch between the
> layout of the macros file and the layout of the project file.

Seems like a common workflow and I can see how that would be annoying.

> Even after I silence the pop-up message I see a warning in the LyX log and
> it causes the compilation to run much slower.

The "much slower" part is surprising to me. It could be a bug in LyX.
Could you please provide a minimal example where it runs much slower?

> Is there a way to define the macros file to be layout-less (since it is not
> a stand-alone file so I never compile it) or maybe define it to be of a
> user-defined layout that will be compatible with any article layout I will
> be using (of course, I guess I'll need to manually define and extend this
> list of compatible layouts).

Not that I know of but I think it's a good idea. We do have the concept
of "no color" and "no language". You make a good argument in my opinion
for something like "no class". A related idea we've discussed before in
different contexts is the idea that child documents could share document
settings of master documents. In this case, you want the child document
to inherit the document class of the master document. This is not
implemented yet, but there are a few different use cases we would want
that general framework.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A general layout/ layout-less lyx file

2020-09-27 Thread Scott Kostyshak
On Sun, Sep 27, 2020 at 10:36:08AM -0400, Scott Kostyshak wrote:

> Not that I know of but I think it's a good idea. We do have the concept
> of "no color" and "no language". You make a good argument in my opinion
> for something like "no class".

To expand on this, the idea is not that the document would have actually *no* 
class. But there could be a special class called "basic" or something that only 
has "standard" layout and that does not generate a warning when included in any 
other class that has a standard layout. Something like that.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: 'su lyx' changes file access privileges

2020-09-27 Thread Scott Kostyshak
On Sun, Sep 27, 2020 at 04:31:24PM +0200, paolo m.  wrote:
> Kornel Benko wrote:
> 
> > Am Sun, 27 Sep 2020 14:03:44 +0200
> > schrieb "paolo m. " :
> > 
> >> Kornel Benko wrote:
> >> 
> >> > Am Sun, 27 Sep 2020 13:19:52 +0200
> >> > schrieb "paolo m." :
> >> >   
> >> >> Sometimes, while  in user1 session, I find convenient launching lyx as
> >> >> user2
> >> >> (same group as user1)  to open a lyx file, through 'su'.
> >> >> As user2 changes and save that file, access privileges are changed as
> >> >> well. That does not happen when a text file is opened by kwrite, so it
> >> >> should be something specific to lyx.
> >> >>  
> >> >> Before 'su' switch:
> >> >> text file x-rw-rw-r--
> >> >> lyx file xx.lyx-rw-rw-r--
> >> >> 
> >> >> Switching and modifying file x (by  kwrite)  and xx.lyx (by lyx):
> >> >>   x  -rw-rw-r--
> >> >>   xx.lyx -rw---
> >> >> 
> >> >> (Same results when  launching 'dolphin' file manager as user2 to open
> >> >> a lyx file, through 'su'').
> >> >>   
> >> > 
> >> > Have you checked the setting of 'umask' for both users?
> >> > 
> >> > Kornel
> >> Yes, umask is set in /etc/zshenv;  kwrite complies with that
> >> specification Maybe lyx reads a different umask setting?
> >> 
> >> thanks
> >> 
> >> p.
> >> 
> > 
> > Hm, I meant the output of the command 'umask'.
> > Maybe it is set be /etc/zshenv, but there may be different handling (like
> > include of user specific file).
> > 
> >  Here it is for example
> >  $ umask
> > 22
> > 
> > Kornel
> 
> Umask is the same for both users: 
> % umask
>  002
>  
> 
> % grep -i umask /etc/zshenv
>   umask u=rwx,g=rwx,o=rx 

Is the following discussion related?

https://www.mail-archive.com/search?l=mid&q=ptceag%245s5%241%40blaine.gmane.org

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX under WSL2 using VcXsrv (sharing clipboard problems)

2020-11-28 Thread Scott Kostyshak
On Sat, Nov 28, 2020 at 09:55:53AM -0500, Richard Kimberly Heck wrote:
> On 11/27/20 2:47 PM, Cris Fuhrman wrote:
> > Hello, 
> >
> > I recently started using LyX  on my Windows 10 via WSL2 (Ubuntu) with
> > VcXsrv. The application is snappy and I like configuring the
> > supporting tools in linux (especially the tex configurations). 
> >
> > Sadly, I can't get the clipboard to work consistently outside of X.
> > For example:
> >
> >  1. In Windows, start the VcXsrv
> >  2. In WSL2, start LyX, create New file
> >  3. In Windows, copy some text (e.g., from Notepad++)
> >  4. In LyX paste (this works)
> >  5. In LyX, change the text, then Copy
> >  6. In Notepad++, paste (no effect). Windows-V (to show the clipboard
> > history) shows no trace of the newly copied text from LyX.
> >  7. Try steps 2-4 again and it no longer works, implying something
> > "breaks" the Xserver in those steps.
> >
> > I'm able to do copy/paste with other applications such as xfe (file
> > explorer) and gedit (text editor), so I know my XServer
> > can work properly (at least sometimes). 
> >
> > Is there some option I need to configure in LyX to get it to use the
> > proper clipboard that can be shared outside (assuming that is how it's
> > working with xfe and gedit), or is this a bug?
> 
> I guess it's a bug, but I'm not sure we ever considered this kind of
> setup. (Apparently, what's on the X clipboard is not appearing on the
> Windows one. Does that work with other Linux apps?) I'd suggest you
> either file it on trac or raise it on the devel list.

I don't know if it's relevant, but does LyX work with Wayland's
clipboard? And if it does, is it because there is a compatibility layer?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Using LyX for publication

2020-11-30 Thread Scott Kostyshak
On Mon, Nov 30, 2020 at 10:32:55AM -0600, Les Denham wrote:
> I mentioned in a post back in March this year that I had a book in
> publication for which I was using LyX to prepare the final PDF for the
> printer, adhering to rather rigid specifications by the publisher.
> 
> That book has now been published, using my PDF for everything but the
> cover. Both I and the publisher are happy with the results.
> 
> If anyone wants advice with a similar project I am happy to help.

Congrats, Les! If you are up for it, add it to the Wiki:

https://wiki.lyx.org/LyX/ProducedPublications

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Tab autocomplete behavior in tables

2020-11-30 Thread Scott Kostyshak
On Mon, Nov 30, 2020 at 04:11:41PM -0500, Maria Gouskova wrote:
> Hi LyX users,
> 
> I'm probably missing something obvious in Preferences, but I couldn't
> figure out how to turn off tab autocompletion for tables. I don't mind it
> in math mode, so it's checked, but I pretty much never ever want that
> behavior in a table. When I hit the Tab key in a table, I want to advance
> to the next cell, and not to see a drop-down menu of random words that
> start with the same string I just typed.
> 
> so, how do I make Tab always advance to the next cell in a table?

I have similar preferences to you. We just had a similar discussion on 
lyx-devel:

  
https://www.mail-archive.com/search?l=mid&q=20201120032750.3austjolf7ornvpg%40tallinn

You mention that you "don't mind it in math mode". If you also don't
mind *not* having it in math, then the solution is simple:

rebind . The default binding is the following:

  "command-alternatives 
completion-accept;cell-forward;tab-insert;outline-in;depth-increment"

Just remove the "completion-accept" part in your rebinding.

If you do want to keep autocompletion for math, then things are more
complicated. I have a simple patch that does this, but you would have to
compile LyX with the patch. If you by chance use Ubuntu, I can compile a
.deb for you, but I can't compile for other platforms.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Tab autocomplete behavior in tables

2020-11-30 Thread Scott Kostyshak
On Mon, Nov 30, 2020 at 05:45:59PM -0500, Paul A. Rubin wrote:
> On 11/30/20 5:13 PM, Scott Kostyshak wrote:

> Scott: Perhaps you can alleviate my confusion here.

Thanks for joining the conversation, Paul. It seems we have a mystery.

> I use the CUA bind file
> (with a couple of tweaks) and have the same binding for Tab that you listed.
> In the preferences dialog, tab completion is on for math mode and off for
> text mode.

Just to be clear, I think you mean *automatic* completion is on for
math mode and off for text mode. It took me a while to understand the
distinction.

> In a math inset, if I type something like \right and start
> playing with the tab key, it does various completion tasks. If I'm not part
> way into a LaTeX command (but, say, in an align* environment), tabbing moves
> from cell to cell.
> 
> In a text table, Tab moves from cell to cell, period. I do *not* under any
> circumstances get prompted to do word completion. (If it matters, I do have
> continuous spell checking on, using Enchant.) So I can't reproduce the
> problem.

> While I'm not complaining, either I don't understand the problem or
> you and Maria both failed to appease some digital deity with whom I am
> apparently on good terms.

Well shoot, I was hoping it was the opposite---that some deity was doing me a 
favor by trying to help with completion, and all I would have to do is piss 
them off. Gaining their favor seems much more challenging.

> This is on Linux Mint 20, so behavior should be the same as on Ubuntu Focal.

Interesting differences. If in preferences you turn automatic completion on for 
text, does that change anything? If not, it might just be that completion in 
text mode is (conveniently) broken for you.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: beamer notes support?

2020-12-02 Thread Scott Kostyshak
On Wed, Dec 02, 2020 at 11:17:07AM -0500, Neal Becker wrote:
> Is there any direct support for beamer notes, or do we need to use ERT?

Is Insert > Custom inset > Beamer Note what you're looking for?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Tab autocomplete behavior in tables

2020-12-03 Thread Scott Kostyshak
On Mon, Nov 30, 2020 at 08:08:44PM -0500, Paul A. Rubin wrote:

> An interesting related behavior has to do with the escape key. In other
> programs (such as programming IDEs), if I get autocompletion hints I don't
> want, I typically hit the escape key to get rid of them. So, having
> reproduced the problem with Maria's help, my instinct was to hit Esc and
> then Tab ... except Esc boots me out of the table. I can understand the
> logic (sort of), but I wonder if there is a way to repurpose the escape key
> to just stop hints without moving the cursor?

I have a similar annoyance when I open the layout box (with alt + p, ) 
in a read-only document. I remember I spent some time trying to figure out 
where in the code the escape was received and processed (i.e., not processed), 
but failed to make progress.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to avoid RCS and use git always?

2020-12-17 Thread Scott Kostyshak
On Thu, Dec 17, 2020 at 12:15:17PM +0100, Matěj Cepl wrote:
> Hi,
> 
> I am trying to persuade my wife to start using VCS for her
> documents, and avoid pressing her to use command line for it. I
> thought that just by running git init in the directory her
> documents are stored, LyX would understand that I want to use git
> exclusively, but it still suggests RCS. I have to git add and git
> commit the document to make LyX understand my preferences.
> 
> Is there somewhere some option which would switch off RCS for her
> forever?
> 
> Best,
> 
> Matěj

Hi Matěj,

From what I understand, the reason that things are the way they are in
LyX is that git was added "recently". I'm not sure about adding an
option/preference. In general, we are hesitant to add preferences like
this, and I believe you're the first one to ask for it.

One possibility that *might* satisfy you would be to default to Git if
RCS is not detected on the system. For example, on Linux if the command
"ci" is not available and the command "git" is available, LyX could just
assume Git is intended and can do the setup. However, I'm not sure what
I think of that and I'm not sure what other LyX developers think of
that.

Although I'm also a gitophile, in my opinion the biggest downside to
choosing Git by default and to LyX doing "git init" is that Git can
create lots of files (in its internal .git directory). I do not know if
users would expect this and especially since using Dropbox is so common,
users might be surprised and confused (by Dropbox syncing) from the
creation of so many files.

Best,
Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failure bilding 2.3.6.1

2021-02-19 Thread Scott Kostyshak
On Fri, Feb 19, 2021 at 04:32:48PM -0800, Rich Shepard wrote:
> On Fri, 19 Feb 2021, Rich Shepard wrote:
> 
> > Did that and had the same result.
> 
> I don't see a different issue in the build log with --enable=qt5 in the
> config options. That build log is attached.

Just to try something different, do you feel like trying the cmake build?
Let us know if you want instructions for how to use cmake.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Failure bilding 2.3.6.1

2021-02-19 Thread Scott Kostyshak
On Fri, Feb 19, 2021 at 05:09:59PM -0800, Rich Shepard wrote:
> On Fri, 19 Feb 2021, Scott Kostyshak wrote:
> 
> > Just to try something different, do you feel like trying the cmake build?
> > Let us know if you want instructions for how to use cmake.
> 
> Scott,
> 
> I can try that. Since I switched from Red Hat-7 to Slackware-8.0 in 2003
> I've built Lyx using the SlackBuild script (copy attached.) And it's always
> worked flawlessly for me ... until earlier this week when I inadvertently
> removed all the SBo packages while upgrading the distribution (and spent the
> rest of the week re-building and re-installing them).
> 
> I should mention that the SlackBuild script worked fine last month in the
> upgrade from 2.6.3 to 2.6.3.1. That's why I'm puzzled it now fails. Same
> Qt4 and Qt5/PyQt5 versions as then.
> 
> And long ago I switched from writing tools for me in C to Python so I'm 20
> years out of data on all the different C/C++ compilers now out there.
> 
> Carpe weekend,
> 
> Rich

Makes sense, Rich. I was just thinking it might provide a clue as to
what's going on with the other build. Sometimes different build systems
give different errors. Similar to C++: if I don't understand an error
from GCC, sometimes I compile with Clang.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Beamer: reveal a multi-line math line-by-line?

2021-02-21 Thread Scott Kostyshak
Is there a way to not have to use full ERT to reveal a multi-line math
line-by-line? This can be accomplished with LaTeX with the following
solution:

  
https://tex.stackexchange.com/questions/60689/uncover-lines-of-an-align-environment-with-beamer

but I don't see how I can avoid doing the full align in ERT. Is there
any other easier LyX-friendly solution?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer: reveal a multi-line math line-by-line?

2021-02-22 Thread Scott Kostyshak
On Mon, Feb 22, 2021 at 02:00:09PM +0700, Murat Yildizoglu wrote:
> 
> 
> > Le 22 févr. 2021 à 12:56, Scott Kostyshak  a écrit :
> > 
> > Is there a way to not have to use full ERT to reveal a multi-line math
> > line-by-line? This can be accomplished with LaTeX with the following
> > solution:
> > 
> >  
> > https://tex.stackexchange.com/questions/60689/uncover-lines-of-an-align-environment-with-beamer
> > 
> > but I don't see how I can avoid doing the full align in ERT. Is there
> > any other easier LyX-friendly solution?
> > 
> > Scott
> > -- 
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users 
> > <http://lists.lyx.org/mailman/listinfo/lyx-users>
> 
> Hello Scott,
> 
> I use this kind of trick (see the LyX screenshot). Is this what you are 
> looking for?

Hi Murat,

Thanks for that example! Are those separate equations (from LyX's
perspective) or is it a multi-line construct? I think they are separate,
which makes sense and gives some flexibility. But it might be difficult
to align things. But perhaps I should not be so picky :)

Attached is an example and with manual \onslide it can be made to work.
I'm not sure if this approach generalizes for other cases, but I think
it will work for me.

Thanks for your help!

Scott


multi-line-example.23.lyx
Description: application/lyx


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: You use bookmarks in LyX. Tell me about it

2021-04-06 Thread Scott Kostyshak
On Mon, Apr 05, 2021 at 02:17:02PM -0400, Paul A. Rubin wrote:

> I rarely use bookmarks, and when I do...

This opening phrase made me think you might be "The Most Interesting LyXer in 
the World" (https://www.youtube.com/watch?v=nYR3TPKKzdE).

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: add appendix to a chapter

2021-04-12 Thread Scott Kostyshak
On Mon, Apr 12, 2021 at 05:17:55PM +0200, Wolfgang Engelmann wrote:
> 
> 
> Am 12.04.21 um 16:26 schrieb Ricardo Berlasso:
> > 
> > 
> > El lun, 12 abr 2021 a las 16:14, Jürgen Spitzmüller ( > >) escribió:
> > 
> > Am Mo., 12. Apr. 2021 um 14:47 Uhr schrieb Wolfgang Engelmann
> > mailto:engelm...@uni-tuebingen.de>>:
> > 
> > Is there a way to add an additional appendix to one or more
> > chapters in
> > addition to the one at the very end of the document (book)?
> > 
> > 
> > https://ctan.org/pkg/appendix 
> > 
> > HTH
> > Jürgen
> > 
> > 
> > For a working example on the use of the Appendix package, check
> > 
> > https://github.com/scottkosty/lyx-princeton-diss
> > 
> > 
> > Regards,
> > Ricardo
> > 
> > Wolfgang
> > -- 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
> > 
> > 
> > 
> Thanks, Jürgen and Ricardo.
> Ricardo, I can't access
> https://library.princeton.edu/special-collections/sites/default/files/MuddDissertationRequirements.pdf
> I get:
> Oops! This page doesn't exist
> Should I write
>  scott.kostys...@gmail.com
> who is given there as an address?

Perhaps the following is an updated link:

https://library.princeton.edu/special-collections/file/44213/download?token=YE7XonQq

I'm not sure if the new requirements are different.

In any case, I don't think the Princeton-specific requirements are
relevant to what you are interested in. You can just look at the .lyx
files for an example of having a separate appendix for each chapter.

There might be a better way in recent versions of LyX to achieve this. I
really don't know.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Pasting latex in a lyx file

2021-04-22 Thread Scott Kostyshak
On Tue, Apr 20, 2021 at 12:15:56AM +0200, Dr Eberhard W Lisse wrote:
> On 2021-04-19 14:47 , Christoph Schmitz wrote:
> >> Am 19.04.2021 um 14:43 schrieb Daniel :
> >>
> >> On 10/4/21 16:07, Mario D wrote:
> >>> Paul,
> >>> Ctrl+Shift+V works just fine for me, thanks!
> >>> My fault, and I beg your pardon for this, for not having tried the
> >>> relative option in "Edit -> Paste Special" : I just tried the "Paste
> >>> from LaTeX", which doesn't work in my case (I am pasting tikz
> >>> figures, so @rich: I was referring to the second option).  Thank you
> >>> everybody.  :)
> >>
> >> Actually, I am wondering whether preserving newlines should be the
> >> default.  I don't think one can expect that the default paste command
> >> changes the format that way.  Instead the "special" option should be
> >> paste with removing newlines, I think.
> >> --
> >> Daniel
> [...]
> >
> > I want to second this proposal!
> >
> > I do not know how much work it would be to create a new setting, which
> > would allow users to use whatever method they prefer.  If I have to
> > chose between the two options, Daniel's proposal is my preference.
> >
> > Chris
> >
> Me three :-)-O

I also get confused by this and I think new LyX users are especially confused.
I also vote for considering a change of the default behavior.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Paste text with italics

2021-07-04 Thread Scott Kostyshak
On Sun, Jul 04, 2021 at 05:15:43PM +0200, _johnny7_...@web.de wrote:
> Hello,
> 
> is there a way to paste text (from a source such as LibreOffice) into
> LyX and keeping the words in italics emphasized?
> If not, could such an option be implemented?

Hi _johnny7,

In theory this should be possible. When copying, LibreOffice writer appears to 
save two MIME types, plain text (which does not preserve the italics), and HTML 
(which should). LyX can import HTML, so in theory you might be able to go to 
Edit > Paste Special > Paste from HTML. However, I just tested this and it 
didn't work for me. And unfortunately I don't have time to look into why it 
didn't work, but I still write this email just in case anyone else wants to dig 
:)

Note that "Paste from HTML" does not show up in the menu in some cases. In my 
opinion this should be greyed out instead of invisible.

It might work more smoothly if you are willing to export to a .html file and 
then import that from LyX. That's not as convenient as using your system 
clipboard, but it might work better.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Paste text with italics

2021-07-04 Thread Scott Kostyshak
On Sun, Jul 04, 2021 at 06:59:27PM +0200, Ricardo Berlasso wrote:
> El dom, 4 jul 2021 a las 17:15, <_johnny7_...@web.de> escribió:
> 
> > Hello,
> >
> > is there a way to paste text (from a source such as LibreOffice) into
> > LyX and keeping the words in italics emphasized?
> > If not, could such an option be implemented?
> >
> 
> As Scott pointed out, right now it's not possible on a direct way, but you
> can use LibreOffice's own tools to "tag" text in italic and then use the
> "paste as LaTeX" option on LyX. It goes like this:
> 
> - On Writer, make a copy of the document (don't work on the original!)
> - Open the search and replace tool (Ctrl-H)
> - On the Search box, write the following, complete with parenthesis: (.*)
> - With the cursor still on the search box, enable "Regular Expressions"
> and, under Format, select Italics (you'll see the word Italic bellow the
> search box)
> - On the Replace box, write \emph{$1}
> - Replace
> 
> You'll see that all the italic text will be surrounded with the \emph{·}
> tag. Now, you can copy the text to the clipboard and go to LyX → Edit →
> Paste Special → Paste as LaTeX.
> 
> Of course, for short texts it's not worth doing all that, but for longer
> texts, it works pretty well.

Cool idea, Ricardo! This way is better than exporting/importing HTML in the 
sense that you will only get the \emph part formatted. Exporting and importing 
the HTML might give a bunch of different formatting that is not desired.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Simple keyboard shortcut

2021-07-25 Thread Scott Kostyshak
On Sun, Jul 25, 2021 at 08:48:51AM +0300, Baris Erkus wrote:
> Could someone explain *step-by-step* how to add a shortcut to insert italic
> "i.e." when I press Ctrl+i+e?
> 

Hi Barış,

I don't know if it's possible to use that particular key sequence for the 
shortcut. I tried and it doesn't work for me. In case it's still helpful, I can 
tell how to use a different key sequence.

First let's make sure we get the command-sequence that you want. The general 
way to do this is written up step-by-step here:

http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531

I think the command-sequence you want is the following:

  command-sequence font-emph; self-insert i.e.; font-emph

Copy that command-sequence line (starting with "command-sequence" and ending 
with the second "font-emph"), then in LyX go to Tools > Preferences > Editing > 
Shortcuts. Then click on "New". In the box "Function", paste the 
command-sequence. Then click on the blank rectangle and then press the key 
sequence you want (unfortunately I think your ideal sequence doesn't work). 
Then press "OK".

I'm sorry I couldn't figure out how to do it with "Ctrl+i+e". It did work for 
me with "Ctrl + ;".

Best,
Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to modify text alignment

2021-09-08 Thread Scott Kostyshak
On Wed, Sep 08, 2021 at 11:56:49AM +0200, Ricardo Berlasso wrote:
> El mié, 8 sept 2021 a las 11:35, Dr Eberhard Lisse ()
> escribió:
> 
> > RTFM :-)-O
> >
> 
> Please, stop this.

+1 I take a lot of pride when recommending lyx-users in pointing out that it is 
a friendly and respectful list. You might argue that "RTFM" is a fair response 
in some cases, but it is certainly not friendly. You might argue that 
friendliness and respect should not be goals of this list, but I would disagree 
with that.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Why don't I get an answer?

2021-09-13 Thread Scott Kostyshak
On Mon, Sep 13, 2021 at 08:29:46PM +0200, Andreas Plihal wrote:
> Dear LYX community,
>  
> I've sent you some inquiries in the past two weeks, but haven't
> received a response.
>  
> I beg you to answer my question(s) in a solution-oriented manner - as
> most time in the past.
>  
> For example, I gratefully remember Jürgen's (Spitzmüller) quick and
> uncomplicated interventions!
>  
> However, if my last problems I have raised are unsolvable, please let
> me know. Then at least I know my way around. But staying in the dark
> is very "uncomfortable" ...
>  
> Or if I'm getting on your nerves with my inquiries, please tell me
> who I could turn to instead.
>  
> Thanks very much!

Hi Andreas,

I think a lot of people are just busy. These days are quite difficult for a lot 
of people. We've had our schedules and commitments squeezed, stretched, and 
mixed all up. All of us are volunteers.

It sounds like you might be open to some constructive feedback. I remember that 
for one of your questions you did not post a minimal example. This makes it 
difficult to help. It's nice when the person who wants help tries to make it as 
easy as possible to help them. I think someone else pointed out that you did 
not post a minimal example and you replied "I had already radically shortened 
the LYX file." Well, that's still not a minimal example. And when someone is 
volunteering their time to help you and they point out how you could have made 
it easier, to get such a reply does not make other people want to jump in and 
spend time (often it takes a long time to solve and communicate a solution) to 
help you. For more information, you can study the following:

  https://wiki.lyx.org/FAQ/MinimalExample

Please also read our list netiquette, in particular the top-posting versus 
bottom-posting:

  https://wiki.lyx.org/FAQ/ListNetiquette

To be clear, I'm not at all upset; I just mention the above since it sounded 
like you might be interested in what else you can do in the future to increase 
the chance of getting help. Unfortunately I'm ignorant in the area of your 
questions.

I hope someone finds a solution to the problem!

Best,
Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Using chrome as pdf viewer

2021-09-22 Thread Scott Kostyshak
On Wed, Sep 22, 2021 at 08:42:39AM -0400, Neal Becker wrote:
> 1. Wayland is the new thing to replace X11 (eventually)
> 2. Many of us work from home, and need to do presentations
> 
> But sharing screens under wayland doesn't work well.  My usual way to
> present from lyx is to use the view button, which opens a window with
> evince as viewer (or okular will also work).  Then to present from
> chrome, I will have a choice on X11 of sharing screen, a window, or a
> chrome tab.  I would normally choose to share the pdf viewer window.
> 
> This doesn't work on wayland.  Running chrome on wayland shows no
> windows to share.
> 
> But a thought is sharing a chrome  tab might work.  So that brings up
> my question, how can I configure lyx to open a chrome tab as the pdf
> viewer?  From what I can see, chrome seems to be an adequate viewer
> for most presentation purposes (has basics, no fancy features though).
> 
> Thanks,
> Neal

Tools > Preferences > File Handling > File Formats, choose your format (e.g., 
PDF (pdflatex)), and under "Viewer" select "Custom" and put in "chromium" (or 
the Chrome equivalent). Note that I did not test this.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LibreOffice to LyX

2021-10-04 Thread Scott Kostyshak
On Mon, Oct 04, 2021 at 12:55:34PM +, Virgil Arrington wrote:
> On October 3, Steve Litt (on the LyX User 
> List) wrote:
> 
> > Several times, on long wordprocessing documents, I personally have had
> > LibreOffice writer styles spontaneously change. At one point my
> > personal problem with LibreOffice style prevented me from converting a
> > 300 page doc made in MS Word to LibreOffice. The import went just fine,
> > but the styles kept changing, and keeping them all intact was like
> > playing whack-a-mole.
> 
> > I had an even worse personal failure involving changing styles in
> > LibreOffice's Impress, which contained the 90+ slide presentation I
> > license to companies for their internal Universal Troubleshooting
> > Process course, that now I need to rewrite the entire thing in Beamer.
> 
> At the risk of joining in a flame war, I feel a need to share my experiences 
> with LyX and LibreOffice. As I am on both LyX’s and LibreOffice’s user lists, 
> I am posting this message to both lists.
> 
> I have used both LyX and LibreOffice for decades, the former going back to 
> version 1.4 and the latter going back to its origins as StarOffice and later 
> as OpenOffice.org. Over the years I have found myself having a love/hate 
> relationship with both. I have had to learn that each has its own way of 
> working, and when I try to make either work like the other, I run into 
> problems.
> 
> My current work is primarily with slide presentations, and I bounce back and 
> forth between LyX/Beamer and LO Impress (as well as 
> RMarkdown/Slidy/Ioslides). I have found that with LyX, I can very happily 
> change formatting after composing my content and, so long as I am satisfied 
> with Beamer’s slide designs and themes, it works very well. But, I usually 
> find myself getting very frustrated when I want to change some design detail. 
> It often requires a Google search to learn the right LaTeX command to achieve 
> the change I want. After spending hours trying to achieve a certain result 
> and editing preamble and/or LaTeX code, I often find I just give up and move 
> it all to LO Impress just to get the job done.
> 
> On the flip side, I have had to learn that LO Impress doesn’t like having 
> slide formats changed *after* the presentation substance has been composed. 
> While my styles haven’t suddenly changed on me, I have learned that changes 
> made to Impress master slides do not always get to all slides in a 
> presentation. Through painful experience, I have learned that, if I ever make 
> any direct changes to a particular slide’s format, it seems to disassociate 
> that slide from the master slide. So, after hours of composing and wrestling 
> with Impress’s master slides trying to get it all to behave, I find I often 
> just give up and move it all to LyX/Beamer just to get the job done.
> 
> And in those cases where my slide design needs are particularly simple, I run 
> to Rstudio and Slidy to create a quick and dirty (and well behaved) slide 
> presentation.
> 
> And, so I bounce back and forth between the programs using the one that will 
> let me get the job done efficiently. I find they all require considerable 
> commitment of time and effort to achieve the desired results. Each has some 
> feature I find maddening and each has some feature I find indispensable. In 
> short, despite my obsessive search for the perfect document processing 
> system, I have learned it doesn’t exist. I will continue to use whatever tool 
> best meets the need at hand. Sometimes it’s LyX, sometimes it’s LibreOffice 
> and sometimes it’s
> RMarkdown.

Thanks for this helpful comparison, Virgil! It was interesting for me to read 
about your experience and workflow.

I'm happy to have both LyX and LO and I'm very thankful to all of the 
developers giving their free time for these open source programs!

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: END-OF-FRAME, once again..

2021-10-13 Thread Scott Kostyshak
On Wed, Oct 13, 2021 at 12:13:30PM +0200, Daniel wrote:
> On 13/10/2021 00:32, UD K wrote:
> > On 10/12/21 7:49 PM, Steve Litt wrote:
> > > UD K said on Mon, 11 Oct 2021 17:47:46 +0200
> > > 
> > > > I SHOULD know this, because it came up in the (distant) past, but
> > > > either I forgot, or Lyx has changed-- probably a little of both.
> > > >     I wanted to cut a frame from a lyx/beamer presentation and put it
> > > > in
> > > > another place in the presentation. Control-X, and Control-V failed. So
> > > > I tried to insert a new frame, but that came without an end-of-frame,
> > > I like LyX as much as the next guy --- I'm selling about 9 books
> > > authored in LyX. But when it comes to putting together a slide
> > > presentation with Beamer, I think LyX adds more complexity than it
> > > removes. When I use Beamer at all, I just edit the LaTeX in an editor.
> > > Doing that would be the kiss of death writing a book, but Beamer/LaTeX
> > > uses only a small subset of LaTeX.
> > > 
> > > SteveT
> > > 
> > > Steve Litt
> > > Spring 2021 featured book: Troubleshooting Techniques of the Successful
> > > Technologisthttp://www.troubleshooters.com/techniques
> > Steve-- I TOTALLY agree with you about the Lyx/Beamer combo being a
> > killjoy experience.  To make matters worse, I use this combination only
> > rarely, and in between, pandemics, Former-Presidents and other plagues
> > brush away what I knew about using it, so the experience is usually like
> > a root-canal: painful, frustrating and disappointing. It is harder to
> > use than the much maligned Impress of the even-more-maligned
> > LibreOffice, but of course the output, if I ever get to that stage, is
> > MUCH better looking.  Whether that improved look is worth the pain
> > depends on your pain threshold ;-)
> > 
> > -- 
> > Ehud Kaplan, Ph.D.
> 
> Hi,
> 
> It's always great to get feedback on LyX.

+1 especially *constructive* feedback :)

> Something that I thought while using beamer with LyX was that it seems that
> it would be easier if Frames would not "hang together". I mean: right now,
> if you press enter at the end or beginning of a frame, you get a new line
> that is extending the same frame. Wouldn't it be easier if you get a new
> frame this way and instead would just nest stuff in order to get it onto a
> specific frame? So, no need for separators either. There may be issues with
> this suggestion that I have not thought careful enough about but on the face
> of it, it seems like a good idea to me and to solve the issues you
> mentioned. What do you think?

I think the workflow you're suggesting makes the not-always-true assumption 
that the user does not use the "frame" layout for the *content* of the frame, 
and only uses nested layouts (e.g., itemize or standard). Did I understand 
right?

What abut making it so that if the user changes the layout to "frame title", 
then a *new* frame is started (i.e., LyX realizes "oh this frame already has a 
frame title so the user must want a new frame)?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: END-OF-FRAME, once again..

2021-10-13 Thread Scott Kostyshak
On Wed, Oct 13, 2021 at 07:59:16AM -0700, Rich Shepard wrote:
> On Wed, 13 Oct 2021, Scott Kostyshak wrote:
> 
> > I think the workflow you're suggesting makes the not-always-true
> > assumption that the user does not use the "frame" layout for the *content*
> > of the frame, and only uses nested layouts (e.g., itemize or standard).
> > Did I understand right?
> > 
> > What abut making it so that if the user changes the layout to "frame
> > title", then a *new* frame is started (i.e., LyX realizes "oh this frame
> > already has a frame title so the user must want a new frame)?
> 
> Scott,
> 
> I don't recall the exact keystrokes, but if the cursor is at the end of the
> last line in a frame and one presses (IIRC), shift-ctrl-enter, then an
> end-of-frame and new frame below that magically appears. That does the job,
> but takes two hands and a couple of fingers. :-)

Thanks, Rich. That's what I do also and it is the recommended approach.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: END-OF-FRAME, once again..

2021-10-19 Thread Scott Kostyshak
On Thu, Oct 14, 2021 at 03:14:48PM +0200, Daniel wrote:
> On 13/10/2021 16:50, Scott Kostyshak wrote:
> > On Wed, Oct 13, 2021 at 12:13:30PM +0200, Daniel wrote:
> > > Something that I thought while using beamer with LyX was that it seems 
> > > that
> > > it would be easier if Frames would not "hang together". I mean: right now,
> > > if you press enter at the end or beginning of a frame, you get a new line
> > > that is extending the same frame. Wouldn't it be easier if you get a new
> > > frame this way and instead would just nest stuff in order to get it onto a
> > > specific frame? So, no need for separators either. There may be issues 
> > > with
> > > this suggestion that I have not thought careful enough about but on the 
> > > face
> > > of it, it seems like a good idea to me and to solve the issues you
> > > mentioned. What do you think?
> > 
> > I think the workflow you're suggesting makes the not-always-true assumption 
> > that the user does not use the "frame" layout for the *content* of the 
> > frame, and only uses nested layouts (e.g., itemize or standard). Did I 
> > understand right?
> 
> Yes. It is not a conservative approach. It suggest to not use the frame
> layout for the content because, if I see it correctly, this can be equally
> achieved by using a nested standard layout. So, why not have just one way of
> doing things. And it seems to me more consistent in that, say, itemized
> lists have to be nested as well within a frame which makes them appear at
> another level than the content of the frame when not nested but they are
> not. Isn't that a bit strange or misleading?
> 
> Instead, everything will have to be nested if it should go on a frame. (Of
> course there must be a lyx2lyx mechanism to transfer old beamer documents to
> the new "nesting-style".)
> 
> The workflow would in the new style would be like this:
> 
> 1. Select the Frame layout to create a new frame.
> 2. Press enter which creates a nested Standard paragraph to add content.
> 3. Press enter twice to un-nest and get a Frame layout which starts a new
> frame.
> 
> Doesn't this appear more simple and intuitive?

It does. I think it is a reasonable proposal. I'm just not sure everyone will 
agree. For example, our own beamer example uses the frame layout for content.

> > What abut making it so that if the user changes the layout to "frame 
> > title", then a *new* frame is started (i.e., LyX realizes "oh this frame 
> > already has a frame title so the user must want a new frame)?
> 
> I still tend to prefer the way I suggested because of its simplicity
> (especially for new users or people who use, say, beamer not frequently)
> unless it has some flaw I missed.

Perhaps we can start by writing some use cases that are currently annoying with 
the current interface. Then we can propose different interfaces to make those 
workflows easier. I think your proposal is a reasonable one, but I'm not sure 
it's the only one. Also, I'm hesitant to start this conversation since I would 
really want to see Jürgen's thoughts and I don't think he has much time these 
days.

The main confusion I see is that I think users would like one key combination 
that always produces a new frame. Currently, the user has to think whether to 
do "Alt + P, return" or "Alt + P, shift + return", depending on what nesting 
level they are currently at. Do you agree this is the main problem that your 
proposal and my proposal were both trying to solve? Is there any other big 
issue with the current workflow?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: END-OF-FRAME, once again..

2021-11-17 Thread Scott Kostyshak
On Tue, Oct 19, 2021 at 10:29:05AM -0400, Scott Kostyshak wrote:
> On Thu, Oct 14, 2021 at 03:14:48PM +0200, Daniel wrote:
> > On 13/10/2021 16:50, Scott Kostyshak wrote:
> > > On Wed, Oct 13, 2021 at 12:13:30PM +0200, Daniel wrote:
> > > > Something that I thought while using beamer with LyX was that it seems 
> > > > that
> > > > it would be easier if Frames would not "hang together". I mean: right 
> > > > now,
> > > > if you press enter at the end or beginning of a frame, you get a new 
> > > > line
> > > > that is extending the same frame. Wouldn't it be easier if you get a new
> > > > frame this way and instead would just nest stuff in order to get it 
> > > > onto a
> > > > specific frame? So, no need for separators either. There may be issues 
> > > > with
> > > > this suggestion that I have not thought careful enough about but on the 
> > > > face
> > > > of it, it seems like a good idea to me and to solve the issues you
> > > > mentioned. What do you think?
> > > 
> > > I think the workflow you're suggesting makes the not-always-true 
> > > assumption that the user does not use the "frame" layout for the 
> > > *content* of the frame, and only uses nested layouts (e.g., itemize or 
> > > standard). Did I understand right?
> > 
> > Yes. It is not a conservative approach. It suggest to not use the frame
> > layout for the content because, if I see it correctly, this can be equally
> > achieved by using a nested standard layout. So, why not have just one way of
> > doing things. And it seems to me more consistent in that, say, itemized
> > lists have to be nested as well within a frame which makes them appear at
> > another level than the content of the frame when not nested but they are
> > not. Isn't that a bit strange or misleading?
> > 
> > Instead, everything will have to be nested if it should go on a frame. (Of
> > course there must be a lyx2lyx mechanism to transfer old beamer documents to
> > the new "nesting-style".)
> > 
> > The workflow would in the new style would be like this:
> > 
> > 1. Select the Frame layout to create a new frame.
> > 2. Press enter which creates a nested Standard paragraph to add content.
> > 3. Press enter twice to un-nest and get a Frame layout which starts a new
> > frame.
> > 
> > Doesn't this appear more simple and intuitive?
> 
> It does. I think it is a reasonable proposal. I'm just not sure
> everyone will agree. For example, our own beamer example uses the
> frame layout for content.

One use case that would benefit from your suggested interface:

It's currently annoying to change a "Frame" to a "Fragile Frame" or
"Plain Frame". Consider the following pseudo code:

  [frame content...]
  [more frame content...]
  [nested itemize]
  [frame content...]

You can't just select all paragraphs and change to the new
(Fragile/Plain) Frame. With your workflow, I think it would be
sufficient to change the first paragraph.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Top toolbar missing after switching from debian 10 to debian 11 (bullseye)

2022-05-16 Thread Scott Kostyshak
On Thu, May 12, 2022 at 09:56:08AM -0700, John White wrote:
> The main lyx tool bar is gone, the one with 
> 
> File, Edit, View, Insert, Navigate, Document, Tools, Help.
> 
> Any thoughts on how I might get it back?

What operating system are you on? I saw something like this a long time ago on 
Ubuntu and the following fixed it for me:

  sudo apt-get remove appmenu-qt5

Here is the thread:

  
https://www.mail-archive.com/search?l=mid&q=CAO7dr0hxjaR-heXCPN%2BPdvWa37ckVKqRnY-Co1dH8YuVj-KXFQ%40mail.gmail.com

I doubt that issue is still around, but just thought I'd throw out another shot 
in the dark.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx 2.4.0 dev -download

2022-08-01 Thread Scott Kostyshak
On Mon, Aug 01, 2022 at 08:59:30AM +0200, Wolfgang Engelmann wrote:
> What is the recommended download place and -way for the latest
> lyx 2.4.0 dev

Hi Wolfgang, I don't think there is a recent lyx 2.4.0 dev.

Best,
Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Batch convert LyX files that require `needauth` action

2022-10-01 Thread Scott Kostyshak
On Sat, Oct 01, 2022 at 08:39:05AM -0400, Steven Paulson wrote:
> Dear LyX users,
> 
> I have LyX files (that require `knitr` converter) synced over GitHub across
> multiple computers. It is tedious sometimes when I pull the files to a new
> machine and convert all of them to PDF, because I have to open every single
> one of them in LyX and grant their permission to always run before I can
> batch convert them with a makefile. I know it is possible to get around
> this hassle by unchecking the `Use needauth option` box for the converter
> in the preference, but I feel it is not the optimal solution for me because
> I do want a warning of security for LyX documents I am not familiar with. I
> am wondering if there is a command line option (I am thinking of something
> along the lines of `--assume-yes`) that I can pass to `lyx` to grant
> permission for the converter to run LyX documents I am familiar with. That
> way I do not need to uncheck the `needauth` option globally. If you have
> any idea how to do this or if you have other solutions, please let me know.
> 
> Thank you,
> Yuwen

Hi Yuwen, I've come across this as well and have the same goal as you
(to not disable globally but to allow controling on the command line).

The current approach I use is that I created a command 'lyx-noauth',
that uses the '-usedir' argument that points to a user directory where I
did uncheck the "Use needauth option" box.

I use 'lyx -e blah.lyx' when I don't want needauth disabled, and
'lyx-noauth -e blah.lyx' when I do want to disable need auth on the
command line.

Do you think that will work with your workflow?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Batch convert LyX files that require `needauth` action

2022-10-01 Thread Scott Kostyshak
On Sat, Oct 01, 2022 at 04:48:19PM -0400, Steven Paulson wrote:
> Hi Scott,
> 
> Genius workaround! Following your suggestion, I created a different user
> directory where I added an additional line `\use_converter_needauth false`
> to the preference file. Running `lyx` with the `-userdir` argument pointing
> toward the new user directory perfectly solved the problem. Thank you so
> much. I really appreciate your help.

Great! I'm glad it worked for you. I do think there are things we can do to 
make this easier for users since I think this is a common workflow. But at the 
moment no one is working on this.

Best,
Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Book about LyX 2.4

2022-10-17 Thread Scott Kostyshak
On Mon, Oct 17, 2022 at 03:17:20PM +0200, Ricardo Berlasso wrote:
> I'm a bit crazy, let's face it, so not only have I updated the book I once
> wrote about LyX, I've done it in English, Spanish and Italian. Here they
> are:
> 
> [EN]
> https://frommindtotype.wordpress.com/lyx-book/
> [ES]
> https://elpinguinotolkiano.wordpress.com/latexxetexlyx/
> [IT]
> https://ilpinguinoscrittore.wordpress.com/xelatexlyx/
> 
> Comments and corrections are welcome. Surely there will be many corrections
> ;)

This is great! Congratulations, and thank you. I have questions :)

What is your workflow for writing a book in multiple languages? Are they
completely separate .lyx files, or do you produce them from the same
.lyx file?

Only if you have time (no worries if not!):
Since you have 2.4.0dev set up: can you export your .lyx file to 2.3.x,
and open the exported file in master? Does compilation succeed? Are
there any differences in the PDF? (a great tool for checking is
diffpdf). Doing this "roundtrip" conversion is a helpful test of
lyx2lyx. If you also have 2.3.x installed, in addition to the above, can
you check that 2.3.x can compile the file that you exported from
2.4.0dev?

Thanks,
Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Book about LyX 2.4

2022-10-17 Thread Scott Kostyshak
On Mon, Oct 17, 2022 at 10:03:51PM +0200, Ricardo Berlasso wrote:
> Thanks to all!
> 
> @ Bernt Lie
> 
> > Any idea of when LyX 2.4 is released?
> 
> I'm not the right person to answer that! :)

I don't think anyone knows. All of our schedules have been disrupted by
the craziness of the last few years. We are in a weird state where
development is happening, but we are not necessarily getting closer to
2.4.0.

> > What is your workflow for writing a book in multiple languages?
> 
> For the first draft, I start by writing in my native language (Spanish).
> Then I "save as" to create the other files, change their languages and do a
> first translation. Finally, I work more or less in parallel with all of
> them: changing language helps finding new ways to explain things!

Thanks! I think that's how we handle the translations of our manuals as
well. It would be nice if there were an easier workflow so that
everything could be in one .lyx file, but perhaps no such workflow
exists.

> > can you export your .lyx file to 2.3.x, and open the exported file in
> master?
> 
> Not this week, sorry. I'll try to get some free time ASAP.

Don't worry about it! I'll ask you again whenever we are close to
releasing 2.4.0 if we really want lyx2lyx to get some extra testing with
complex documents.

> @ Jack Lyon
> 
> > Would you be so kind as to share the color scheme you are using in LyX?
> 
> It's just the default "breeze dark" theme from my Plasma desktop, I haven't
> changed anything in LyX.
> 
> @ John White

Note that there are improvements to the dark theme in 2.4.0dev, so they
might not work as smoothly on 2.3.x.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Rebinding ESC to \

2022-10-19 Thread Scott Kostyshak
On Wed, Oct 19, 2022 at 08:13:24AM -0500, Christopher Menzel wrote:
> You don’t identify your OS. Pavel gives you the answer for Linux. If you are 
> on MacOS, Karabiner-Elements can do that sort of remapping in a jiffy via a 
> convenient graphical interface. On Windows it’s a bit more work. You can 
> either edit the registry (instructions are easy to find), use the Microsoft 
> Powertoys program, or use the much more powerful AutoHotkey scripting app. 
> AutoHotkey requires you to create a text file with some quirky syntax but 
> it’s a super powerful program that can do way more than  keys remapping. 
> Again, exact instructions are easy to google.
> 
> -chris

I don't know if it's still relevant, but at some point there was a problem with 
karabiner and LyX I think that caused crashes:

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

Scott
 http://lists.lyx.org/mailman/listinfo/lyx-users


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Few bits about netiquette (was: Drawing an arc)

2022-10-19 Thread Scott Kostyshak
On Wed, Oct 19, 2022 at 04:02:05PM +0200, Pavel Sanda wrote:
> On Thu, Oct 06, 2022 at 07:14:50PM +0200, Daniel wrote:

> What our netiquette indeed does not cover is kindness and I find
> it impossible to impose it from outside. What can we do as a
> community is to decide that we might not want to scare user
> newbies -- if you the only thing you have to say is RTFM, just
> leave the thread and move to another one. 
> 
> I must confess though that in cases where someone is repeatedly
> outsourcing his effort to *at least try* to find some solution on
> his own, the RTFM might be approprite input... In my view of course,
> but if there is some community sense that we should try to declare
> some positive approach in the netiquette, we are free to discuss it
> on this list and set our boundaries :)

How about a maximum of one use of "RTM" per year? Use it wisely.

I would be in favor of a policy that encourages respectful, and
informative, replies. That said, I don't volunteer to lead the effort.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Why is Theorems (ams-extended) not available?

2022-11-04 Thread Scott Kostyshak
On Fri, Nov 04, 2022 at 04:02:59PM -0400, Neal Becker wrote:
> Why is Theorems (ams-extended) not available (Add is grayed out)?  See
> screenshot below.  This is lyx-2.3.6.1 on Fedora 36.

I think first you have to add Theorems (AMS). It's strange in your
screenshot there's no text in the box. The box should explain that the
extended module requires the base module.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Cannot Create New Frame

2022-11-16 Thread Scott Kostyshak
On Mon, Nov 14, 2022 at 11:10:14AM -0800, Michela Giorcelli via lyx-users wrote:
> Hi,
> 
> I recently upgraded my Mac to Ventura and in Lyx the create new environment 
> option has disappeared and I’m not able to create a new frame, not even using 
> the key board option. Could anyone help with this?

Hi Michela,

Unfortunately, we've seen a lot of strange issues reported by LyX users 
upgrading to Ventura. Further, we have only one LyX developer whose main 
operating system is macOS and I'm not even sure if they are on Ventura so I 
don't know if there will be a fix anytime soon since it's hard to figure out 
what the problem is and how to fix it. I'm really sorry for the inconvenience!

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Cannot Create New Frame

2022-11-16 Thread Scott Kostyshak
On Thu, Nov 17, 2022 at 07:43:50AM +1100, Gordon Watson wrote:
> Hi Scott,
> 
> On the subject of LyX and Mac! LyX — LyX Version 2.3.6.2 (7 January 2021) — 
> is more important to me than my Monterey v12.6 Mac. (Ventura is on hold.) I 
> am currently locked out of hundreds of essays with a lyx2lyx problem. SO: Is 
> it time for me to buy a PC?
> 
> NB: I am a heavy user of LyX, often 14 hours per day. BUT: it is a black box 
> to me, and that’s how I want it to stay: for I do not expect to fiddle with 
> the engine when I buy a car! And, yes, to escape my current dilemma, I’d be 
> happy to BUY LyX or hire a consultant.
> 
> In particular: I have no familiarity with the jargon — python, Koma, 
> Linux/Unix — and I hope to remain that way
> 
> If a PC is the BEST solution, then recommendations for a suitable PC — or 
> ones to avoid — will be happily received!
> 
> Thanks; Gordon

Hi Gordon,

Ouch! That sounds really frustrating! I do not think you should buy a new 
computer just because of this. We are working on releasing 2.4.0, and I wonder 
if this will somehow work for you since it has a lot of improvements compared 
to the version you're using.

Wow, 14 hours a day! I wonder if there is an entry in the Guiness Book of World 
Records for LyX usage?

It is our goal that you should not have to know anything about Python, Unix, 
Qt, C++, etc., to use LyX. Unfortunately, in practice it's hard to achieve that 
since LyX has a lot of things it needs to work well and sometimes the parts 
don't line up.

Best,
Scott

> 
> > On 17 Nov 2022, at 3:22 am, Scott Kostyshak  wrote:
> > 
> > On Mon, Nov 14, 2022 at 11:10:14AM -0800, Michela Giorcelli via lyx-users 
> > wrote:
> >> Hi,
> >> 
> >> I recently upgraded my Mac to Ventura and in Lyx the create new 
> >> environment option has disappeared and I’m not able to create a new frame, 
> >> not even using the key board option. Could anyone help with this?
> > 
> > Hi Michela,
> > 
> > Unfortunately, we've seen a lot of strange issues reported by LyX users 
> > upgrading to Ventura. Further, we have only one LyX developer whose main 
> > operating system is macOS and I'm not even sure if they are on Ventura so I 
> > don't know if there will be a fix anytime soon since it's hard to figure 
> > out what the problem is and how to fix it. I'm really sorry for the 
> > inconvenience!
> > 
> > Scott
> > -- 
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> 


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Can you reproduce this bug?

2022-12-04 Thread Scott Kostyshak
Dear all,

Can you reproduce this bug on your system?

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

It's helpful to know the type of systems on which it can be reproduced.
Specifically, it will be helpful to figure out whether the bug only
surfaces on certain operating systems, and only with certain
configurations.

Here is the recipe to reproduce the bug:

  1. Maximize (non-fullscreen) the window
  2. Enter Full screen mode
  3. Exit Full screen.

After step 3, does the LyX window return to the state after step (1)?
i.e., is the window maximized?

If you try to reproduce it, please state:

1. Can you reproduce the bug?
2. Your operating system and version number (version number is
   especially helpful for macOS users).
3. Copy/paste the info from Help > About.


Here's my own responses to the 3 questions:

1. No. (the window is correctly restored as maximized after 3 for me).
2. Ubuntu 22.04.
3. Pasted info is below:
  
   Version 2.4.0dev
   (Sunday, December 4, 2022)
   
   Built from git commit hash abd69b06
   Qt Version (run-time): 5.15.3 on platform xcb
   Qt Version (compile-time): 5.15.3
   Python detected: python3 -tt

Thanks!

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Can you reproduce this bug?

2022-12-06 Thread Scott Kostyshak


On Tue, Dec 06, 2022 at 10:20:30AM +0100, kzsta...@gmail.com wrote:
> 
> 
> > -Oorspronkelijk bericht-
> > Van: lyx-users  Namens Scott Kostyshak
> > Verzonden: zondag 4 december 2022 21:39
> > Aan: LyX Users 
> > Onderwerp: Can you reproduce this bug?
> > 
> > Dear all,
> > 
> > Can you reproduce this bug on your system?
> > 
> >   https://www.lyx.org/trac/ticket/12435
> > 
> > It's helpful to know the type of systems on which it can be reproduced.
> > Specifically, it will be helpful to figure out whether the bug only
> surfaces on
> > certain operating systems, and only with certain configurations.
> > 
> > Here is the recipe to reproduce the bug:
> > 
> >   1. Maximize (non-fullscreen) the window
> >   2. Enter Full screen mode
> >   3. Exit Full screen.
> > 
> > After step 3, does the LyX window return to the state after step (1)?
> > i.e., is the window maximized?
> > 
> > If you try to reproduce it, please state:
> > 
> > 1. Can you reproduce the bug?
> > 2. Your operating system and version number (version number is
> >especially helpful for macOS users).
> > 3. Copy/paste the info from Help > About. 
> 
> 1. No. The screen returns to a maximized view.
> 2. Windows 11 Pro 22H2, build: 22621.900
> 3.  LyX versie 2.3.6.1
> (dinsdag 29 december 2020)
> Bibliotheek-map: C:\Program Files\LyX 2.3\Resources\
> Gebruikersmap: ~\AppData\Roaming\LyX2.3\
> Qt-versie (run-time): 5.15.2
> Qt-versie (compile-time): 5.15.2

Thank you all, this information is helpful! I think we've got enough
information. I guess it's not the Qt version then, because Wolfgang can
reproduce with 5.15.2 and kzstatis cannot reproduce with 5.15.2. It's
also not a macOS-specific issue since Wolfgang is on Linux.

I'll move discussion to the trac ticket now.

Thanks for your help!

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to make LyX work with Mac OS 13.1?

2022-12-13 Thread Scott Kostyshak
On Tue, Dec 13, 2022 at 05:02:30PM -0700, Hal Kierstead via lyx-users wrote:
> All -
> 
> I just upgraded to Mac OS 13.1. I was not given a chance to install python. 
> How do I check if I have the right version of python?
> 
> I cannot reconfigure LyX. I get the message: The system reconfiguration has 
> failed. Default textclass is used but LyX may not be able to work properly. 
> Please reconfigure again if needed. 
> 
> Reconfiguring again does not work either.
> 
> Also, I have a bind file that LyX finds, but does not use. Is this because 
> LyX needs to be reconfigured?
> 
> I tried reinstalling LyX, but that did not help.
> 
> What should I do next?

I don't have any experience with macOS, but one user found that the following 
worked:

  xcode-select --install
  
source: https://twitter.com/IvanWerning/status/1599544006962139136

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Scott Kostyshak
On Wed, Dec 14, 2022 at 04:50:02AM -0700, Hal Kierstead wrote:
> 
> 
> > On Dec 13, 2022, at 5:38 PM, Scott Kostyshak  wrote:
> > 
> > On Tue, Dec 13, 2022 at 05:02:30PM -0700, Hal Kierstead via lyx-users wrote:
> >> All -
> >> 
> >> I just upgraded to Mac OS 13.1. I was not given a chance to install 
> >> python. How do I check if I have the right version of python?
> >> 
> >> I cannot reconfigure LyX. I get the message: The system reconfiguration 
> >> has failed. Default textclass is used but LyX may not be able to work 
> >> properly. Please reconfigure again if needed. 
> >> 
> >> Reconfiguring again does not work either.
> >> 
> >> Also, I have a bind file that LyX finds, but does not use. Is this because 
> >> LyX needs to be reconfigured?
> >> 
> >> I tried reinstalling LyX, but that did not help.
> >> 
> >> What should I do next?
> > 
> > I don't have any experience with macOS, but one user found that the 
> > following worked:
> > 
> >  xcode-select --install
> > 
> > source: https://twitter.com/IvanWerning/status/1599544006962139136
> > 
> > Scott
> > -- 
> Thanks Scott. I forgot to reply to the list.
> 
>  For some reason this failed to install xcode, but downloading it from the 
> app store worked, and now my LyX is working. Probably I should not have 
> needed to download all of xcode, but it is simple this way.

Good to know, Hal! Indeed, probably there is a more simple way.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


  1   2   3   4   5   6   7   8   9   10   >