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


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


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: 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: 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: 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-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: 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=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: 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: 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: '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=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: 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: 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: 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: 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


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


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

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


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


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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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=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: 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: 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: 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: 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-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: 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: 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: 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: 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: Announce Istanbul Technical University Thesis Template in LyX

2018-11-04 Thread Scott Kostyshak
On Sun, Nov 04, 2018 at 10:38:55PM +, Baris Erkus wrote:
> Hello,
> 
> I have developed a very preliminary version of LyX template files for my 
> university's (Istanbul Technical University) Engineering School M.S. and 
> Ph.D. thesis, which are originally provided by the school in LaTeX.
> 
> GitHub Web Page:
> 
> https://github.com/ituast/itutezLyX
> 
> It is quite ripe; need to master the LyX- layouts. Still, it is useful.

Nice work, Barış! You should list it here:

  https://wiki.lyx.org/Examples/Thesis

Scott


signature.asc
Description: PGP signature


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

2018-11-02 Thread Scott Kostyshak
On Fri, Nov 02, 2018 at 10:33:53AM +, 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
> 

I can reproduce the incorrect LaTeX import, and also Vim says the file
encoding is "utf-8". I can also reproduce with LyX 2.1.0, so it appears
it is not a recent regression. Hopefully someone who knows more will
have an idea.

Scott


signature.asc
Description: PGP signature


Re: LyX on iPad

2018-11-01 Thread Scott Kostyshak
On Thu, Nov 01, 2018 at 07:41:00PM +, Anders Host-Madsen wrote:
> Perhaps beating a dead horse, but I really wish there would be a LyX for iPad.

I doubt it's what you're looking for, but note that you can use LyX on
the cloud. e.g., 

  https://www.rollapp.com/app/lyx

Scott


signature.asc
Description: PGP signature


Re: LyX -- search & replace in math

2018-10-26 Thread Scott Kostyshak
On Fri, Oct 26, 2018 at 06:23:42PM +, Bernt Lie wrote:
> I use Windows 10, 64bit latest version with LyX 2.3.1.
> 
> Question:
> * I want to replace symbol $l$ in equations with symbol $\ell$. 
> * How can I restrict the search to *equations*, and avoid all letters 
> "L" in the document?

Hi Bernt,

Go to Edit > Find & Replace (Advanced), and under the Settings tab of
the panel that pops up, see the options "Ignore format" (I guess you
want unchecked), or maybe only "Search only in maths" is relevant for
your case.

Scott


signature.asc
Description: PGP signature


Re: Superscripts in ABNT keyboard: version 2.3.1

2018-10-15 Thread Scott Kostyshak
On Mon, Oct 15, 2018 at 10:52:45PM +0200, Ricardo Berlasso wrote:
> El lun., 15 oct. 2018 a las 22:44, Murat Yildizoglu ()
> escribió:
> 
> > I have the same problem with the French keyboard.
> >
> 
> Add the Spanish keyboard to the list.

I think you are all being bitten by the following bug, which will be
fixed for LyX 2.3.2:

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

Scott


signature.asc
Description: PGP signature


Re: Ubuntu: keep lyx 2.2.3 and 2.3.1 in same system

2018-10-13 Thread Scott Kostyshak
On Sat, Oct 13, 2018 at 01:55:09PM -0400, Paul A. Rubin wrote:

> 1. Start LyX 2.3 the usual way and start LyX 2.2.3 with
>"/lyx -userdir ".

+1 you could create an alias that makes this easy.

Scott


signature.asc
Description: PGP signature


Re: Replace list x by list y

2018-10-12 Thread Scott Kostyshak
On Fri, Oct 12, 2018 at 11:43:54AM +0200, Jean-Marc Lasgouttes wrote:
> Le 12/10/2018 à 09:41, Kornel Benko a écrit :
> > > It would be possible in theory with Advanced F, but a crucial feature is
> > > still missing: handling of regepx references (\1 etc.) in replace.
> > 
> > Yes, and this is really hard.
> > 
> > Also the lists are hard to differentiate at this level.
> > 'enumerate' and 'itemize' look same
> > as do 'description' and 'labeling'.
> 
> We should introduce a paragraph-forall lfun like we have inset-forall, which
> would take a layout name as parameter.

+1

I wonder if it would also make sense to introduce a layout mechanism to
handle conversion of layouts. e.g., each layout could specify which
other layouts it could be converted to, and optionally how (if this
"how" is omitted, then the conversion is assumed to work without any
tweaks). We could then introduce a GUI interface accordingly (e.g.,
right clicking on an enumerate layout could allow for conversion to
itemize). A separate example is that we currently allow "LyX note" to be
converted to a "comment" or a "greyed out" inset. The user might also
want to convert to a "marginal note", and specifying that this
conversion is possible could be easily made (e.g., by an advanced user)
in a layout tag.

It would probably be a lot of work to do something like this, but I'm
just writing down some thoughts.

Scott


signature.asc
Description: PGP signature


Re: Bold face in LyX

2018-10-05 Thread Scott Kostyshak
Hi Hal,

On Fri, Oct 05, 2018 at 06:27:26AM -0700, Hal Kierstead wrote:
> All -
> 
> I am using LyX 2.2.1-1 on macOS 10.14.

Do you mean 2.3.1-1?

> I can no longer distinguish boldface fonts from ordinary fonts in the LyX 
> document, although they appear correctly in the pdf output. This is the case 
> both when I enter the bold face font by hand or when I use an environment 
> like Theorem. Is this a known issue? Do you need an example? The problem is 
> obvious even in a two word document with the same word first in bold face and 
> then not.
> 

I believe this is a bug in Qt that only shows up on mojave. We are
tracking it here:

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

Scott


signature.asc
Description: PGP signature


Re: New CC Book about LyX (PDF)

2018-10-03 Thread Scott Kostyshak
On Wed, Oct 03, 2018 at 02:54:21PM -0400, Steve Litt wrote:

> But if you're asking me to report the inadequacies of LyX' html and
> xhtml exports for the purpose of ePub,

Yes, that was what I was asking. I've found that if we make a trac
ticket with a minimal example, it might not receive attenion at the
time, but there's a higher chance that it will be fixed.

> I've done my time. And nobody
> cared. And I've moved on.

I'm really sorry for all the frustration you've been through on this
topic.

Scott


signature.asc
Description: PGP signature


Re: New CC Book about LyX (PDF)

2018-10-03 Thread Scott Kostyshak
On Wed, Oct 03, 2018 at 03:59:44AM -0400, Steve Litt wrote:

> but LyX' html and xhtml exporters
> export pidgeon xhtml and html that requires all sorts of human
> intervention and garbage removal.

Have you reported bugs for this or are all of the bugs covered by
existing reports? LyX HTML export is slowly improving, especially when
bugs with minimal examples are reported.

Best,

Scott


signature.asc
Description: PGP signature


Re: Does anyone else use \middle | when writing math?

2018-10-02 Thread Scott Kostyshak
On Tue, Oct 02, 2018 at 11:27:44AM +0200, Daniel CLEMENT wrote:
> Le lundi 01 octobre 2018 à 12:09 -0400, Scott Kostyshak a écrit :
> > On Mon, Oct 01, 2018 at 03:45:45PM +0200, Daniel CLEMENT wrote:
> > 
> > > \Bigl( [some math] \Bigm| [more math] \Bigl)
> > 
> > Ah thanks! I did not know about \Bigm|. I think that's what I'm looking
> > for.
> > 
> > > I'd gladly test \middle but it gives me an error.
> > 
> > Attached is the example file with 2.1.x format.
> 
> Thank you, I can see your example now, and how \middle works. I was able
> to test it.
> 
> I think I'll adopt it, except for some special cases where I want to
> prevent the delimiters from growing too much. 

Makes sense. Thanks for your idea about \Bigm|. I suppose which one is
better depends on the situation.

Scott


signature.asc
Description: PGP signature


Re: New CC Book about LyX (PDF)

2018-10-01 Thread Scott Kostyshak
On Mon, Oct 01, 2018 at 09:58:59PM +0200, Ricardo Berlasso wrote:

> Ups! That's what happens when you are low on caffeine! Fixed!

Yep looks fixed here. Congratulations! There is a lot of content in
there. You really go into a lot of important details. Nice!

Scott


signature.asc
Description: PGP signature


Re: Does anyone else use \middle | when writing math?

2018-10-01 Thread Scott Kostyshak
On Mon, Oct 01, 2018 at 03:45:45PM +0200, Daniel CLEMENT wrote:

> \Bigl( [some math] \Bigm| [more math] \Bigl)

Ah thanks! I did not know about \Bigm|. I think that's what I'm looking
for.

> I'd gladly test \middle but it gives me an error.

Attached is the example file with 2.1.x format.

Best,

Scott


middle_bar.21.lyx
Description: application/lyx


signature.asc
Description: PGP signature


Does anyone else use \middle | when writing math?

2018-09-30 Thread Scott Kostyshak
Do you use the LaTeX "\middle" command? If not, how do you write
expressions in LyX like the attached one? Do you just use \mid? \mid
achieves the same semantics but just looks a little worse to me
aesthetically, because it is shorter.

If curious about the "\middle" command, see: 
https://tex.stackexchange.com/a/45717/12212

I'm guessing that there is a better way to do what I want, since LyX
does not have "support" for "\middle" (i.e., the LaTeX is displayed).

Scott


middle_bar.lyx
Description: application/lyx


signature.asc
Description: PGP signature


Re: Issue with graphic files

2018-09-17 Thread Scott Kostyshak
On Mon, Sep 17, 2018 at 02:42:27PM +0200, Patrick Dupre wrote:
> Hello,
> 
> Since 3 days, I get an issue when I compile my lyx file:

OK I'll bite: so it worked 4 days ago? Did you do a system upgrade? What
changed? Do you use revision control for your .lyx file? Maybe you can
check out the version from 4 days ago and see if that still compiles,
and if so, compare the differences?  Can you make a minimal example .lyx
and .eps file? Please read:

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

Scott


signature.asc
Description: PGP signature


Re: you say install latest version of MiKTeX before installing LyX - what is the minimal version needed?

2018-09-16 Thread Scott Kostyshak
On Sun, Sep 16, 2018 at 06:34:31PM +, Baris Erkus wrote:

> I have been looking into the LyX Bug reporter and changes made to the 
> code by the developers, and I have realized that I am not actually too 
> far away from code being developed. I studied C and C++ long time ago, 
> but I have never had a chance to put it into action. After clearing up 
> some of the major work and projects I have on my plate, I am hoping to 
> get more involved with developing LyX. Who knows how long it will 
> take... Thanks again to all...

Nice! Even though I have been a LyX "developer" for some years now, I
still consider myself somewhere in-between beginner and intermediate in
terms of my C++ knowledge. When you are looking for your first issue to
tackle, try to start *very* small. Also, feel free to email the
lyx-devel list to ask for advice if you are stuck.

Best,

Scott


signature.asc
Description: PGP signature


Re: Dead lyx

2018-09-14 Thread Scott Kostyshak
On Sat, Sep 15, 2018 at 09:29:54AM +1200, Andrew Parsloe wrote:
> On 15/09/2018 2:26 a.m., Scott Kostyshak wrote:
> > On Fri, Sep 14, 2018 at 09:17:53PM +1200, Andrew Parsloe wrote:
> > 
> > > In his opening post Ehud mentioned TeXworks: "Now Latex works fine 
> > > (through
> > > Texworks) but Lyx does not". In windows systems using MiKTeX, a version of
> > > TeXworks is provided which has its own pdf viewer which LyX can find if,
> > > under Tools > Preferences > File Formats for PDF (pdflatex), Custom is
> > > entered beside Viewer and TeXworks in the neighbouring slot.
> > Interesting and good to know. Thanks, Andrew. Do you find the PDF viewer
> > better than others?
> No. It's a "toy" pdf viewer -- you can't print from it for instance (at
> least the version supplied with MiKTeX). I still use Sumatra as my main pdf
> viewer (and reluctantly turn to Adobe reader for printing odd and even pages
> separately for two-sided printing).

Ah I see. Good to know.

Scott


signature.asc
Description: PGP signature


Re: you say install latest version of MiKTeX before installing LyX - what is the minimal version needed?

2018-09-14 Thread Scott Kostyshak
On Fri, Sep 14, 2018 at 12:56:25PM -0700, Hal Kierstead wrote:
> I think people should be encouraged to use LyX to learn LaTeX. The code 
> window is very useful! In a collaborative world, it is impossible to only use 
> LyX, but you can get started only using LyX. For instance students should be 
> encouraged to use LyX for homework problems, and then their theses, and then 
> editing other peoples LaTeX, etc.

That makes sense. I've known several people who have been successful
doing it that way.

Scott


signature.asc
Description: PGP signature


Re: Dead lyx

2018-09-14 Thread Scott Kostyshak
On Fri, Sep 14, 2018 at 05:02:38PM +0200, udi wrote:
> On 09/14/2018 04:22 PM, Scott Kostyshak wrote:
> 
> On Fri, Sep 14, 2018 at 01:55:37PM +0200, udi wrote:
> 
> 
> I suspected initially that the problem is a pdf viewer that Lyx fails
> to see, and this suspicion was supported by some of you.  So, even
> though other programs (like Texworks) could show pdf documents, I
> installed the Foxit Reader (which I use under Windows).  That did not
> solve the problem.  In addition, I still get: Command Disabled when I
> type Cntrl-R to compile a lyx file for pdf, although compiling for
> DVI works fine.  Furthermore, I did not find in the Lyx preferences
> where or how to specify the pdf viewer that Lyx should be using.
> 
> If in Tools > Preferences you search for "viewer", one result is
> File Handling > File Formats. Select the PDF format from the dropdown
> box at the top, and then put in the binary name of your PDF viewer.
> Unfortunately, if you have to use multiple PDF formats, you must change
> it for all.
> 
> 
> I made Foxit the default pdf viewer, but Lyx still seems to ignore 
> it. 
> 
> Do you mean at the OS level? indeed, I think someday we will add support
> for xdg-open or something like that, but right now we don't have it.
> 
> 
> Incidentally, I tried to find in the Texworks preferences where the
> pdf viewer is specified, but I was unable to find it.
>     So, sadly, Lyx is still dead (for me).
> 
> LyX seems to be alive on your system! It is just not able to communicate.
> 
> What is the binary name of Foxit Reader?
> Did Lubuntu install a PDF reader and you removed it or it really does
> not install a PDF reader in the base installation?
> 
> Scott
> 
> I believe that the binary name is FoxitReader-- when I type in
> terminal "FoxitReader foo" the pdf file named foo.pdf is shown by
> FoxitReader.

OK good to know. Yes, that should be the binary name. You could run

  type FoxitReader

to confirm.

> I tried to give Lyx the full path of FoxitReader, but
> no dice.

Which format did you give it for? PDF (pdflatex)? Are you sure you are
viewing with PDF (pdflatex)?

> Right now, when I type Cntrl-R in Lyx the output is
> displayed by a (terrible) viewer called xdvik, which is not pdf.  I
> suspect that this is the viewer that comes with LXDE.

Sounds like the default export is DVI for your document I guess?

Scott


signature.asc
Description: PGP signature


Re: Dead lyx

2018-09-14 Thread Scott Kostyshak
On Fri, Sep 14, 2018 at 09:17:53PM +1200, Andrew Parsloe wrote:

> In his opening post Ehud mentioned TeXworks: "Now Latex works fine (through
> Texworks) but Lyx does not". In windows systems using MiKTeX, a version of
> TeXworks is provided which has its own pdf viewer which LyX can find if,
> under Tools > Preferences > File Formats for PDF (pdflatex), Custom is
> entered beside Viewer and TeXworks in the neighbouring slot.

Interesting and good to know. Thanks, Andrew. Do you find the PDF viewer
better than others?

> The first time
> viewing a document it takes ages to display the pdf since TeXworks needs to
> load, but after that it works fine.

I see. That's unfortunate.

Scott


signature.asc
Description: PGP signature


Re: Dead lyx

2018-09-14 Thread Scott Kostyshak
On Fri, Sep 14, 2018 at 01:55:37PM +0200, udi wrote:

> I suspected initially that the problem is a pdf viewer that Lyx fails
> to see, and this suspicion was supported by some of you.  So, even
> though other programs (like Texworks) could show pdf documents, I
> installed the Foxit Reader (which I use under Windows).  That did not
> solve the problem.  In addition, I still get: Command Disabled when I
> type Cntrl-R to compile a lyx file for pdf, although compiling for
> DVI works fine.  Furthermore, I did not find in the Lyx preferences
> where or how to specify the pdf viewer that Lyx should be using.

If in Tools > Preferences you search for "viewer", one result is
File Handling > File Formats. Select the PDF format from the dropdown
box at the top, and then put in the binary name of your PDF viewer.
Unfortunately, if you have to use multiple PDF formats, you must change
it for all.

> I made Foxit the default pdf viewer, but Lyx still seems to ignore it. 

Do you mean at the OS level? indeed, I think someday we will add support
for xdg-open or something like that, but right now we don't have it.

> Incidentally, I tried to find in the Texworks preferences where the
> pdf viewer is specified, but I was unable to find it.
>     So, sadly, Lyx is still dead (for me).

LyX seems to be alive on your system! It is just not able to communicate.

What is the binary name of Foxit Reader?
Did Lubuntu install a PDF reader and you removed it or it really does
not install a PDF reader in the base installation?

Scott


signature.asc
Description: PGP signature


Re: you say install latest version of MiKTeX before installing LyX - what is the minimal version needed?

2018-09-14 Thread Scott Kostyshak
On Fri, Sep 14, 2018 at 06:38:30AM +, Baris Erkus wrote:

> Hello Again;
> 
> This is a tough one.

+1

> I think the target audience and intended scope is also important.
> 
> If the intention is more like a complete WYSIWYG software package (or bundle) 
> allowing users to produce documents right after installation without much 
> hassle of Tex and other setups and preventing them from dealing with 
> low-level Latex programming, it would be more reasonable to develop LyX as a 
> bundle/package of LyX Frontend+TeX system+misc components. This would make 
> the bundle more predictable and manageable if the components of the package 
> are package-specific and they are developed specifically for the package. In 
> this case, the TeX system should be customized by the LyX developers and 
> should not be allowed to be updated by a third party software. This is the 
> approach taken by Scientific Workplace and Bakoma, I guess.

This approach would require more volunteers who are willing to be LyX
developers on Windows. Unfortunately, most LyX developers are not
comfortable on Windows. Riki has very bravely jumped into the Windows
world to tackle the issues that prevent us from making a release. But
the situation is not sustainable.

> In my opinion, it is just not feasible/meaningful to achieve these two 
> different-and conflicting-by-nature intentions at the same time.

It's possible that's true, I don't know. We tried to achive both by
having both a bundle and an installer. But that just didn't work.
I'm not convinced that a LyX installer bundling TeX Live would not work,
I'm just convinced that right now we don't have a volunteer to put in
the time to get that.

> One of them should be chosen. My preference is the second approach since one 
> can never avoid a certain level of low-level intervention when dealing with 
> LaTeX even if the first time users(!).

True. I don't think that we have as a goal for LyX users never to learn
LaTeX. In fact, I usually advocate learning LaTeX well before using LyX,
because I agree with you that eventually the user will need to learn it
anyway.

> Eventually every single user of LyX goes to SE, mailing list or other 
> resources to achieve a specific thing.

+1

> Anyhow, I again want to thank to everyone, who put a big effort into 
> development of LyX no matter what direction is to be taken.

Thanks for your thoughts on this tricky issue, Barış!

Scott


signature.asc
Description: PGP signature


Re: Dead lyx

2018-09-13 Thread Scott Kostyshak
On Thu, Sep 13, 2018 at 11:15:03PM +0200, Kornel Benko wrote:
> OK, but we are still missing the requested log-file (as suggested by Scott).

He sent it to me privately. I won't repost it here, since perhaps there
is something that he does not want to share. I will share part of it
that I don't think has any private information, and that has suggestions
for the problem.

No problem here:

checking for the pdflatex program...
+checking for "pdflatex"...  yes
checking for XeTeX...
+checking for "xelatex"...  yes
checking for LuaTeX...
+checking for "lualatex"...  yes
checking for LuaTeX (DVI)...
+checking for "dvilualatex"...  yes

But:

checking for a PDF previewer...
+checking for "pdfview"...  no
+checking for "kpdf"...  no
+checking for "okular"...  no
+checking for "qpdfview"...  no
+checking for "evince"...  no
+checking for "xreader"...  no
+checking for "kghostview"...  no
+checking for "xpdf"...  no
+checking for "SumatraPDF"...  no
+checking for "acrobat"...  no
+checking for "acroread"...  no
+checking for "mupdf"...  no
+checking for "gv"...  no
+checking for "ghostview"...  no
+checking for "AcroRd32"...  no
+checking for "gsview64"...  no
+checking for "gsview32"...  no

Well, I certainly won't argue that Lubuntu is light :)

Actually, I guess they include a different PDF viewer? What is the
executable name?

If you do File > Export, does that create a PDF file (check with your
file browser) ? If so, it seems it's just a viewer issue.

Please respond to the list, unless there is something that you prefer is
private.

Scott


signature.asc
Description: PGP signature


  1   2   3   4   5   6   7   8   9   10   >