Re: color names make trouble

2024-04-14 Thread Joel Kulesza
On Sun, Apr 14, 2024 at 8:33 AM Andreas Plihal via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Hi,
>
> I'm working on a KOMA script book. It contains over a hundred graphics. One
> graphic is particularly complex and I've been working on it for several
> weeks. I drew about 50 curves in it, all of which are made point by point
> according to a complicated scheme:
>
>\draw [color=Gray] (0,1) -- (1,2) -- (2,3) -- (3,4);
>
> This has always worked very well so far. But a few days ago I suddenly
> got an error message.
>
>Package tikz Error: Giving up on this path. Did you forget a semicolon?
>
> I have largely isolated the error (I am attaching the associated file). Now
> I'm faced with the fact that the error is apparently caused by the color
> names (RubineRed, Gray etc.) that I've been using without any problems for
> over a year! What is suddenly going on in the LYX/LATEX world?
>
> Andreas
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


Andreas,

I'm not sure what's happening from your side, but if I disable the fonts
you have and change "Gray" to "gray", then the line renders for me.

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


Re: Insert cross-reference shortcut

2024-04-10 Thread Joel Kulesza
On Wed, Apr 10, 2024 at 10:16 AM Folsk Pratima 
wrote:

> You can make a shortcut for inserting a label, but I did not find a way
> to do it for inserting a cross-reference, so every time I have to use
> mouse to click on the toolbar.
>
> Any suggestions?
>
> LyX 2.3.7 (2023-01-01)
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


Folsk,

To find the command needed, use View -> Messages Pane, and then insert the
cross-reference label manually.  You should see `dialog-show-new-inset ref`
appear in the Messages pane.  This is the command that you need to add to
the shortcut's Function specification when you go to Preferences -> Editing
-> Shortcuts -> New.

Hope this helps,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding bibliography to ToC

2023-10-19 Thread Joel Kulesza
Rich,

Do you have an MWE?

Thanks,
Joel

On Thu, Oct 19, 2023 at 10:41 Rich Shepard  wrote:

> When I added the bibliography to the document I checked the box to have it
> added to the ToC. But it's not shown. What might I have missed?
>
> TIA,
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx 2.4 B2

2023-02-06 Thread Joel Kulesza
On Mon, Feb 6, 2023 at 05:28 Murat Yildizoglu  wrote:

> Hello,
>
> I have at last installed the beta2 on my Macbook Air M1. It seems to start
> and behave normally for now. It seems pretty stable and reliable for now.
>
> Thank you very much for your good work!
>
> The graphic inclusion subwindow hides behind the LyX window in this
> version too.
>
>
> I was of course excited by the Docbook and epub exports, and I have tried
> with a small document.
>
> The output looks quite good but the document has some references (bibtex,
> Natebib, authordate3) and they are not included in the body of the exported
> text (I see ??? in their place), but the cited documents are included in
> the bibliography at the end of the document.
>
> I am doing something stupid?
>
> Best regards,
>
> Murat
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


Murat,

Can you please provide a MWE?

Thank you,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: ogv animation in Lyx beamer?

2022-12-05 Thread Joel Kulesza
On Mon, Dec 5, 2022 at 02:34 Jean-Marc Lasgouttes 
wrote:

>
> Can someone help Wolfgang?
>
> JMarc
>
>  Message transféré 
> Sujet : ogv animation in Lyx beamer?
> Date : Wed, 30 Nov 2022 19:52:12 +0100
> De : Wolfgang Engelmann 
> Pour : lyx-users-ow...@lists.lyx.org
>
> I would like to show an .ogv animation in a beamer presentation. If I
> include the ogv file, I get this:
>
>   error converting to loadable format
>
> Is there another format which would be displayed in the lyx beamer
> presentation?


Wolfgang,

Can an MWE be provided showing what you tried that is failing?

Thanks,
Joel

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


Re: Can you reproduce this bug?

2022-12-04 Thread Joel Kulesza
On Sun, Dec 4, 2022 at 1:39 PM Scott Kostyshak  wrote:

> Dear all,
>
> Can you reproduce this bug on your system?
>
>   https://www.lyx.org/trac/ticket/12435
>
> It's helpful to know the type of systems on which it can be reproduced.
> Specifically, it will be helpful to figure out whether the bug only
> surfaces on certain operating systems, and only with certain
> configurations.
>
> Here is the recipe to reproduce the bug:
>
>   1. Maximize (non-fullscreen) the window
>   2. Enter Full screen mode
>   3. Exit Full screen.
>
> After step 3, does the LyX window return to the state after step (1)?
> i.e., is the window maximized?
>
> If you try to reproduce it, please state:
>
> 1. Can you reproduce the bug?
> 2. Your operating system and version number (version number is
>especially helpful for macOS users).
> 3. Copy/paste the info from Help > About.
>
>
> Here's my own responses to the 3 questions:
>

1. Somewhat.  When I go "full screen" from half-width, I restore
correctly.  When I go "full screen" from full width, it returns to
something like half width (not the previous full width).  This is observed
with BetterTouchTool running.  If I quit it, then both approaches appear to
restore correctly.
2. macOS 12.5
3. Version 2.4.0-alpha3
(February 14, 2021)

Qt Version (run-time): 5.12.9
Qt Version (compile-time): 5.12.9
Python detected: python3 -tt

Hope this helps,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Un-spanning multicolumns [RESOLVED]

2022-12-02 Thread Joel Kulesza
On Thu, Dec 1, 2022 at 9:41 AM Jean-Marc Lasgouttes 
wrote:

> Le 01/12/2022 à 17:35, Rich Shepard a écrit :
> > On Thu, 1 Dec 2022, Jean-Marc Lasgouttes wrote:
> >
> >> Note that Undo is not supposed to do something after you close the
> >> file (there is a ticket asking for permanent undo, but this does not
> >> exist now).
> >
> > JMarc,
> >
> > I assumed that was the case; it's certainly reasonable, IMO.
>
> Do you know of programs that do store undo information, BTW?
>

My submission: vim.

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


Re: correct spacing in e.g. of a document

2022-08-27 Thread Joel Kulesza
On Sat, Aug 27, 2022 at 6:02 AM Jürgen Spitzmüller 
wrote:

> Am Samstag, dem 27.08.2022 um 13:08 +0200 schrieb Herbert Voss:
> > yes, german users often used it  :-)  but it is not common for
> > english texts written by native people, as far as I know.
>
> Bringhurst suggests to do it.
>

As a counterpoint, the Chicago Manual of Style (my preferred reference for
style alongside Strunk and White) seems to suggest not.

https://www.chicagomanualofstyle.org/qanda/data/faq/topics/Abbreviations/faq0047.html

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


Re: Jabref error

2022-05-17 Thread Joel Kulesza
On Tue, May 17, 2022 at 03:25 Wolfgang Engelmann 
wrote:

> Slightly OT
>
> I use jabref as a reference manager for including literature in my lyx
> documents.
> I get a very annoying error >
> The library has been modified by another program
>   and I don't know how to handle it.
>
> I use
> JabRef 5.6--2022-04-25--5c9d898
> Linux 5.10.0-14-amd64 amd64
>
> and according to a search in the internet this error should not occur in
> version 5.6 anymore.
>
> Has somebody a solution? I tried various changes in the preferences,
> without success so far.
>
> Wolfgang
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


>
Wolfgang,

I have seen the same message and I ignore it (it has never caused me
problems). I also keep my .bib in a git repository to provide additional
assurance/monitoring regarding changes. I recommend raising this to JabRef
developers, particularly if you’re able to reliably reproduce the behavior
through some repeatable process.

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


Re: Request for feedback: open/close all insets of a branch ?

2022-04-03 Thread Joel Kulesza via lyx-users
On Sun, Apr 3, 2022 at 11:07 Scott Kostyshak via lyx-users <
lyx-users@lists.lyx.org> wrote:

> On Sun, Apr 03, 2022 at 09:23:39AM -0600, Joel Kulesza wrote:
> > On Sat, Apr 2, 2022 at 08:37 Scott Kostyshak via lyx-users <
> > lyx-users@lists.lyx.org> wrote:
> >
> > > Dear all LyX branch users,
> > >
> > > Have you ever wished there were a way to open (or close) all insets of
> a
> > > certain branch? We have a pending patch on lyx-devel that would add an
> > > option to the context-menu when you right-click on the inset of a
> > > branch. E.g., we could add two entries "Open All" and "Close All".
> > >
> > > Would you use this feature? Could you describe a particular use case
> > > i.e., some context and a reason why you want to open all branch insets
> > > of a specific branch in that context?
> >
> >
> > Scott,
> >
> > I have used branches and I see how this might be helpful. However, I’m
> > never editing in such an en masse manner that this would be helpful to
> me,
> > so I would likely not use it. However, if you have a use case that it’s
> > helpful for, I see no downside to it.
>
> Thanks, Joel. As for the downside, we try not to clutter menus too much
> so it's nice to know that people will use a feature. It seems like an
> intuitive feature to add and the functionality fits well in that menu,
> but it would still be nice to know that someone would use it.


Scott,

Agreed, which is why I said *if you* have a use case, then I see no
downside. The downside would be clutter without at least one use case.

Thanks,
Joel

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


Re: Request for feedback: open/close all insets of a branch ?

2022-04-03 Thread Joel Kulesza via lyx-users
On Sat, Apr 2, 2022 at 08:37 Scott Kostyshak via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Dear all LyX branch users,
>
> Have you ever wished there were a way to open (or close) all insets of a
> certain branch? We have a pending patch on lyx-devel that would add an
> option to the context-menu when you right-click on the inset of a
> branch. E.g., we could add two entries "Open All" and "Close All".
>
> Would you use this feature? Could you describe a particular use case
> i.e., some context and a reason why you want to open all branch insets
> of a specific branch in that context?


Scott,

I have used branches and I see how this might be helpful. However, I’m
never editing in such an en masse manner that this would be helpful to me,
so I would likely not use it. However, if you have a use case that it’s
helpful for, I see no downside to it.

Joel

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


Re: Program Listings

2022-01-13 Thread Joel Kulesza via lyx-users
On Thu, Jan 13, 2022 at 10:07 PM Dr Eberhard Lisse via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Joe,
>
> When you open the Insert -> File -> Child Document -> Program Listing
> there should be a window looking something like the enclosed, where you
> can either type the path to the file (complete or relative as in this
> example) or click the Browse button, find the file and double click it
> after the path will appear there.
>
> Please note the Caption, Label and the parameters.  If you enter
> something on the right the left will show you "completions" and/or
> choices. Color is mentioned in the LaTeX Listings manual.
>
> greetings, el
>
> On 2022-01-14 05:32 , Joseph Hesse via lyx-users wrote:
> > On 1/13/22 21:11, Herbert Voss wrote:
> >> Joseph Hesse via lyx-users schrieb:
> >>> On 1/12/22 15:00, Herbert Voss via lyx-users wrote:
>  Use /Insert -> Program Listing/ option.
> 
> >>> I tried what you suggested.  I right clicked on the inset and could
> >>> not find an option where I could specify where my code listing are
> >>> located.
> >>
> >> What do you mean with "listing are located"?  If you do not define it
> >> as a float it will appear at the place where you defined it.
> >>
> >> Attached the screenshot of the output of the demo file.
> >>
> >> Herbert
> > I am sorry that I did not state my problem more clearly.
> > Before even using lyx, I have program code in folders in my computer.
> > I want to have this code appear in my lyx document.  What I meant was
> > that when I use "Insert -> Program Listing" I do no see a way to
> > choose the folders on my computer to import these already written
> > programs into my lyx document.  The only option that gave me that
> > choice was "Insert -> File -> Child Document" and this seems to work
> > for me except for the color.
> > Thank you,
> > Joe
> > --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


With respect to concrete styling, below my signature is an example snippet
that I use (or some variation thereof) in my preamble for code listings via
the listings package.  I hope it helps.

As EL noted, one can then use the LyX dialog to specify
language= to perform syntax highlighting.

Thank you,
Joel

--

\usepackage{xcolor}

\definecolor{UMBlue}{HTML}{00274C}
\definecolor{UMMaize}{HTML}{FFCB05}
\definecolor{UMTappanRed}{HTML}{9A3324}
\definecolor{UMRossOrange}{HTML}{D86018}
\definecolor{UMRackhamGreen}{HTML}{75988d}
\definecolor{UMWaveFieldGreen}{HTML}{A5A508}
\definecolor{UMTaubmanTeal}{HTML}{00B2A9}
\definecolor{UMArboretumBlue}{HTML}{2F65A7}
\definecolor{UMA2Amethyst}{HTML}{702082}
\definecolor{UMMatthaeiViolet}{HTML}{575294}
\definecolor{UMUMMATan}{HTML}{CFC096}
\definecolor{UMBurtonTowerBeige}{HTML}{9B9A6D}
\definecolor{UMAngellHallAsh}{HTML}{989C97}
\definecolor{UMLawQuadStone}{HTML}{655A52}
\definecolor{UMPumaBlack}{HTML}{131516}

\colorlet{CodeComment}{UMRossOrange}
\colorlet{CodeLineNumber}{UMAngellHallAsh}
\colorlet{CodeString}{UMA2Amethyst}
\colorlet{CodeBackground}{white}
\colorlet{CodeKeyword}{UMArboretumBlue}

\lstset{
  backgroundcolor=\color{CodeBackground},% choose the background
color; you must add \usepackage{color} or \usepackage{xcolor}
  basicstyle=\normalsize\ttfamily,   % the size of the fonts
that are used for the code
  breakatwhitespace=false,   % sets if automatic breaks
should only happen at whitespace
  breaklines=true,   % sets automatic line
breaking
  captionpos=t,  % sets the
caption-position to bottom
  commentstyle=\color{CodeComment},  % comment style
  deletekeywords={...},  % if you want to delete
keywords from the given language
  escapeinside={\%*}{*)},% if you want to add LaTeX
within your code
  extendedchars=true,% lets you use non-ASCII
characters; for 8-bits encodings only, does not work with UTF-8
  frame=single,  % surround with a black
line
  keywordstyle=\color{CodeKeyword},  % keyword style
  keepspaces=true,   % keeps spaces in text,
useful for keeping indentation of code (possibly needs columns=flexible)
  keywordstyle=\color{blue}, % keyword style
  morekeywords={*,...},  % if you want to add more
keywords to the set
  numbers=left,  % where to put the
line-numbers; possible values are (none, left, right)
  numbersep=5pt, % how far the line-numbers
are from the code
  numberstyle=\scriptsize\color{CodeLineNumber}, % the style that is used
for the line-numbers
  stepnumber=1,  % the step between two
line-numbers. If it's 1, each line will be numbered
  showspaces=false,  % show spaces everywhere
adding 

Re: LuaTeX vs XeTeX

2021-11-08 Thread Joel Kulesza
On Mon, Nov 8, 2021 at 1:50 AM Herbert Voss 
wrote:

>
> Am 08.11.21 um 09:46 schrieb Saša Janiška:
> > On Mon, 8 Nov 2021 08:58:37 +0100
> > Herbert Voss  wrote:
> >
> >
> >> LuaHBTeX   (HB for HarfBuzz) is the default engine for lualatex
> >>
> > Thank you since I was not aware of it despite it is being installed on
> > my Debian machine.
> >
> > Otherwise, I was aware of LuaTeX since I was considering to use ConTeXt
> > instead of LyX/LaTeX...
>
> I wrote everything with lualatex and use xelatex in only rare cases
> and never use pdf(la)tex
>

I don't necessarily recommend one versus the other, but I usually use
`pdflatex` unless I cannot, in which case I opt for `lualatex`.  In those
cases, my preference was somewhat informed by other Internet-based opinions
posted here: https://tex.stackexchange.com/a/126216, and in particular,
claims regarding TikZ compatibility.

Thank you,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Sort order in the index

2021-07-14 Thread Joel Kulesza
On Wed, Jul 14, 2021 at 5:11 AM Andreas Plihal  wrote:

> Hi,
>
> I'm writing a KOMA book.
>
> Please: How can I force the DUDEN sort order in the index? So that the
> umlauts Ä, Ö and Ü are sorted as if they were normal vowels A, O and U.
>

 Please try making the index entry A@Ä, O@Ö, etc.

I do that with the default index processor and it works.  I hope this helps.

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


Re: Fw: Aw: Re: 3D graphics for LYX

2021-04-14 Thread Joel Kulesza
On Wed, Apr 14, 2021 at 1:18 PM Andreas Plihal  wrote:

> Hi folks,
>
> Is there anybody going to listen to my story
> All about the PROBS who came to stay?
>
> Please, I urgently need relevant information! (In the case of other
> inquiries, I received mostly helpful information a day later. ;-) )
>
> It could be (theoretically) that my problem is too difficult and that
> there is no (simple) software solution for it. Then I just would have
> liked to know. Then I'd have to bite the bullet and read into Blender,
> which in turn opens a whole new chapter for me.
>
> Greetings
> Andreas
>

Andreas,

I still stand by TikZ, because I believe it will address your needs based
on the images you provided.  I'm unsure how to answer questions about
ease, complication of installing Python, etc., because those are specific
to your workflow preferences and computer system.

Regarding 3-D surfaces, an example of such output is given here:
https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-18-25260

Hope this helps,
Joel

P.S.  I think this email list generally prefers bottom posting.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: 3D graphics for LYX

2021-03-26 Thread Joel Kulesza
On Fri, Mar 26, 2021 at 8:06 AM Andreas Plihal  wrote:

> With which tool is it possible to produce professional 3D graphics in the
> context of LYX? Can a software such as tikzpicture be used for this? And
> if so, how?
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


Andreas,

I regularly use TikZ for (3-D) graphics in LyX.  Unfortunately, there is
no built-in editor, so I tend to create the images in TikZ Editor
 (or just my favorite text
editor), save the .tex file, and then use Insert -> Child Document ->
Input.

Many of the images for this article
 took
the aforementioned approach when preparing the manuscript in LyX.

Hope this helps,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Changing the background color in math menus

2021-03-03 Thread Joel Kulesza
On Tue, Mar 2, 2021 at 12:22 AM Jürgen Spitzmüller  wrote:

> Am Dienstag, dem 02.03.2021 um 07:37 +0100 schrieb Stephan Witt:
> > … with current 2.4.x master it looks like this:
>
> Not here, so there's something fishy on your side.
>

An FYI: I've run into weird behavior when I build versus when I download,
which appears to be the result of some bits of Python's Qt infrastructure
getting caught in my build process.   I wonder if that could be one of the
fishy components?

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


Re: find next?

2021-02-13 Thread Joel Kulesza
On Sat, Feb 13, 2021 at 8:20 AM Richard Kimberly Heck 
wrote:

> On 2/12/21 7:43 PM, Joel Kulesza wrote:
>
>
>
> On Fri, Feb 12, 2021 at 8:24 AM David Pesetsky  wrote:
>
>> Pleased indeed, thank you!!!
>>
>> On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller  wrote:
>>
>> Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
>>
>> If you click on the document window, the "find next" key (⌘-G ) will
>> do its job and get you to the next occurrence of the search string.
>>  Without that, however, if focus remains in the Find window, nothing
>> happens at all. That is what is non-intuitive.  In most other apps,
>> You can search for what you want with ⌘-F, and then simply pressing
>> ⌘-G gets you the next occurrence, with no other steps necessary.
>>
>>
>> You might be pleased to hear that your message inspired me to go ahead
>> and fix that for 2.4.0 this morning.
>>
>> Jürgen
>>
>> Seconding David's remarks.  I'm pleased indeed and just tested with
> master at 400cb1b.  I look forward to a rebinding of F3 -> Cmd-G, but until
> then, this is still a welcome step forward.
>
> It should already be like that on OSX, if you are using mac.bind.
>
Sorry, I thought I saw separate traffic that this was yet to come.  I've
never actually switched that on any OS I've used LyX on.  But, yes, Cmd-G
with mac.bind works as expected.

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


Re: find next?

2021-02-12 Thread Joel Kulesza
On Fri, Feb 12, 2021 at 8:24 AM David Pesetsky  wrote:

> Pleased indeed, thank you!!!
>
> On Feb 12, 2021, at 10:14 AM, Jürgen Spitzmüller  wrote:
>
> Am Freitag, dem 12.02.2021 um 14:53 + schrieb David Pesetsky:
>
> If you click on the document window, the "find next" key (⌘-G ) will
> do its job and get you to the next occurrence of the search string.
>  Without that, however, if focus remains in the Find window, nothing
> happens at all. That is what is non-intuitive.  In most other apps,
> You can search for what you want with ⌘-F, and then simply pressing
> ⌘-G gets you the next occurrence, with no other steps necessary.
>
>
> You might be pleased to hear that your message inspired me to go ahead
> and fix that for 2.4.0 this morning.
>
> Jürgen
>
> Seconding David's remarks.  I'm pleased indeed and just tested with master
at 400cb1b.  I look forward to a rebinding of F3 -> Cmd-G, but until then,
this is still a welcome step forward.

Thank you,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Large delimiters, multiline equations

2021-01-22 Thread Joel Kulesza
On Fri, Jan 22, 2021 at 2:40 PM Paul A. Rubin  wrote:

> On 1/22/21 3:24 PM, Joel Kulesza wrote:
>
>
>
> On Fri, Jan 22, 2021 at 12:09 Paul A. Rubin  wrote:
>
>> On 1/22/21 1:06 PM, Neal Becker wrote:
>> > On Fri, Jan 22, 2021 at 11:26 AM Joel Kulesza 
>> wrote:
>> >> On Fri, Jan 22, 2021 at 6:29 AM Neal Becker 
>> wrote:
>> >>> I have an equation that has to be split (to fit into beamer
>> >>> presentation).  It has large delimiters that span the lines.  Does lyx
>> >>> have any facility to help with this?  I did get a useable result, but
>> >>> only with a lot of ERT.  Lyx seems not helpful here, is there any way
>> >>> other than ERT to get "\Biggl. ... \Biggr]"?  Or "\right."?
>> >>>
>> >>> Here is what I wanted:
>> >>>
>> >>> \begin{multline*}
>> >>>
>> >>> \mathbf{X}_{N_{C}\times S\times
>> >>>
>> A}=\left[\left[\left[\sum_{n}m1_{p+cL_{c}+nS}m2_{p+cL_{c}+(n+\tau)S}^{*}\right.\right.\right.,\\
>> >>>
>> >>> \Biggl.\Biggl.\Biggl.\tau\in[-A/2\dots A/2]\Biggr],p\in[0\dots
>> >>> S-1]\Biggr],c\in[0\dots N_{c}-1]\Biggr]
>> >>>
>> >>> \end{multline*}
>> >>
>> >> To accomplish this, I prefer to use the Insert Delimiters capability
>> (the subject of an adjacent thread).  Using "none" will let you give the
>> appearance of matched delimiters that vertically scale to contain the
>> contents.  The "Swap & Reverse" button is meant as a convenience to control
>> delimiter insertion in this manner.  Finally, if you have lines that vary
>> in vertical extent, a vertical phantom (\vphantom) with the proper contents
>> will ensure consistent delimiter sizes.
>> >>
>> >> Hope this helps,
>> >> Joel
>> > Thanks for the reply.  I can't see how to do this.  Inserting
>> > Delimiters seems to insist on inserting a pair of delimiters - I don't
>> > see any way to just get \left[ for example.
>> I've attached three screenshots. The first (shot1.png) shows LyX open
>> with a new document, containing two copies of your example. The first
>> copy is pasted into an ERT box (so that I can see what you are shooting
>> for). The second has most of your example, but not the nested brackets,
>> typed into a multiline math environment. The first line of the multiline
>> formula is selected, so that I can put a left bracket in front of it.
>>
>> The second screenshot shows the delimiter insertion dialog. Note that I
>> unchecked the "keep matched" box below the left pane, then selected a
>> left bracket in the left pane and "(None)" in the right pane.
>>
>> The third screenshot shows the formula after I click "Insert" in the
>> delimiter dialog. There is a large left bracket at the start of the
>> first line and "phantom" bracked (dotted line) at the end of the first
>> line. To insert other brackets, do similar things, selecting the content
>> of the bracketed area and where appropriate selecting none on the left
>> and a closing bracket on the right.
>>
>
> Paul,
>
> Thanks for picking up the thread!  If you provide the LyX file for shot3,
> I’ll demonstrate what I meant about vphantom.
>
> Thanks again,
> Joel
>
> Joel,
>
> Happy to help on the thread. Here's the file for shot 3.
>
> Paul
>
> Thanks Paul!

Please see attached for how I use vphantom—it's not pretty in LyX, but it
works well in the final PDF.

Note: I did/saved this with 2.4.0a1.

Thanks,
Joel


brackets.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Large delimiters, multiline equations

2021-01-22 Thread Joel Kulesza
On Fri, Jan 22, 2021 at 12:09 Paul A. Rubin  wrote:

> On 1/22/21 1:06 PM, Neal Becker wrote:
> > On Fri, Jan 22, 2021 at 11:26 AM Joel Kulesza 
> wrote:
> >> On Fri, Jan 22, 2021 at 6:29 AM Neal Becker 
> wrote:
> >>> I have an equation that has to be split (to fit into beamer
> >>> presentation).  It has large delimiters that span the lines.  Does lyx
> >>> have any facility to help with this?  I did get a useable result, but
> >>> only with a lot of ERT.  Lyx seems not helpful here, is there any way
> >>> other than ERT to get "\Biggl. ... \Biggr]"?  Or "\right."?
> >>>
> >>> Here is what I wanted:
> >>>
> >>> \begin{multline*}
> >>>
> >>> \mathbf{X}_{N_{C}\times S\times
> >>>
> A}=\left[\left[\left[\sum_{n}m1_{p+cL_{c}+nS}m2_{p+cL_{c}+(n+\tau)S}^{*}\right.\right.\right.,\\
> >>>
> >>> \Biggl.\Biggl.\Biggl.\tau\in[-A/2\dots A/2]\Biggr],p\in[0\dots
> >>> S-1]\Biggr],c\in[0\dots N_{c}-1]\Biggr]
> >>>
> >>> \end{multline*}
> >>
> >> To accomplish this, I prefer to use the Insert Delimiters capability
> (the subject of an adjacent thread).  Using "none" will let you give the
> appearance of matched delimiters that vertically scale to contain the
> contents.  The "Swap & Reverse" button is meant as a convenience to control
> delimiter insertion in this manner.  Finally, if you have lines that vary
> in vertical extent, a vertical phantom (\vphantom) with the proper contents
> will ensure consistent delimiter sizes.
> >>
> >> Hope this helps,
> >> Joel
> > Thanks for the reply.  I can't see how to do this.  Inserting
> > Delimiters seems to insist on inserting a pair of delimiters - I don't
> > see any way to just get \left[ for example.
> I've attached three screenshots. The first (shot1.png) shows LyX open
> with a new document, containing two copies of your example. The first
> copy is pasted into an ERT box (so that I can see what you are shooting
> for). The second has most of your example, but not the nested brackets,
> typed into a multiline math environment. The first line of the multiline
> formula is selected, so that I can put a left bracket in front of it.
>
> The second screenshot shows the delimiter insertion dialog. Note that I
> unchecked the "keep matched" box below the left pane, then selected a
> left bracket in the left pane and "(None)" in the right pane.
>
> The third screenshot shows the formula after I click "Insert" in the
> delimiter dialog. There is a large left bracket at the start of the
> first line and "phantom" bracked (dotted line) at the end of the first
> line. To insert other brackets, do similar things, selecting the content
> of the bracketed area and where appropriate selecting none on the left
> and a closing bracket on the right.
>

Paul,

Thanks for picking up the thread!  If you provide the LyX file for shot3,
I’ll demonstrate what I meant about vphantom.

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


Re: Large delimiters, multiline equations

2021-01-22 Thread Joel Kulesza
On Fri, Jan 22, 2021 at 6:29 AM Neal Becker  wrote:

> I have an equation that has to be split (to fit into beamer
> presentation).  It has large delimiters that span the lines.  Does lyx
> have any facility to help with this?  I did get a useable result, but
> only with a lot of ERT.  Lyx seems not helpful here, is there any way
> other than ERT to get "\Biggl. ... \Biggr]"?  Or "\right."?
>
> Here is what I wanted:
>
> \begin{multline*}
>
> \mathbf{X}_{N_{C}\times S\times
>
> A}=\left[\left[\left[\sum_{n}m1_{p+cL_{c}+nS}m2_{p+cL_{c}+(n+\tau)S}^{*}\right.\right.\right.,\\
>
> \Biggl.\Biggl.\Biggl.\tau\in[-A/2\dots A/2]\Biggr],p\in[0\dots
> S-1]\Biggr],c\in[0\dots N_{c}-1]\Biggr]
>
> \end{multline*}
>

To accomplish this, I prefer to use the Insert Delimiters capability (the
subject of an adjacent thread).  Using "none" will let you give the
appearance of matched delimiters that vertically scale to contain the
contents.  The "Swap & Reverse" button is meant as a convenience to control
delimiter insertion in this manner.  Finally, if you have lines that vary
in vertical extent, a vertical phantom (\vphantom) with the proper contents
will ensure consistent delimiter sizes.

Hope this helps,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: beamer cross reference to subsection

2020-12-30 Thread Joel Kulesza
On Wed, Dec 30, 2020 at 5:53 AM Neal Becker  wrote:

> I have a beamer document, and I want to make a crossreference to a
> subsection.  It appears that labeling the subsection and inserting a
> crossreference results in a reference to the pageno, not the subsection
> number.  I'm guessing that this is some behavior of latex that beamer has
> modified?  I'm not having much luck finding any information on this.  Is
> this expected?
>

Can you provide a MWE [https://wiki.lyx.org/FAQ/MinimalExample]?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Mac Binary with Qt 5.12.9

2020-12-06 Thread Joel Kulesza
On Sat, Dec 5, 2020 at 6:44 PM Richard Kimberly Heck 
wrote:

> Hi, all,
>
> Due to bug #12042 (https://www.lyx.org/trac/ticket/12042), Stephan Witt
> has produced an OSX package built with Qt 5.12.9. This is a more
> up-to-date version of Qt than we've been using. If the package works
> well, then we'll replace the binary for 2.3.6 with it. But first, we
> need to make sure it works well! We don't expect there to be any
> problems, but you never know. Could some brave souls test it out and let
> us know how it works?
>
> It can be found here:
>
> http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
>
> Riki
>

I'm happy to test, and will report back when I've done so.  Is there any
(mis)behavior I should be on the lookout for?

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


Re: cutting and pasting text in LyX document error

2020-11-28 Thread Joel Kulesza
On Sat, Nov 28, 2020 at 7:57 AM Richard Kimberly Heck 
wrote:

> On 11/28/20 4:50 AM, Wolfgang Engelmann wrote:
> > If I cut and paste text from literature in e.g. Jabref in a LyX
> > document I get this error
> > An error occurred while running:
> > python -tt $$s/scripts/html2latexwrapper.py gnuhtml2latex
> > "Buffer_importStringMHQHEd.html" "Buffer_importStringMHQHEd.tex"
> >
> > Not important, since it includes the pasted text in spite of the warning.
> >
> > Just curious
>
> It looks as if what's copied from JabRef is HTML and LyX is trying to
> convert it to LaTeX for pasting.
>

I suspect this is correct.  As a JabRef user, copying (Ctrl-C) from the
preview results in HTML but it seems that right-click -> Copy will produce
something that is effectively plain text.  Why there is seemingly
dissimilar behavior between like commands is a mystery.

Hope this helps,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Detokenized Math Macros?

2020-11-11 Thread Joel Kulesza
On Wed, Nov 11, 2020 at 9:06 AM Richard Kimberly Heck 
wrote:

> On 11/10/20 1:13 PM, Joel Kulesza wrote:
> > Colleagues,
> >
> > Is there a way to detokenize math macros in LyX such that characters
> > like an underscore are not passed?  I'd like to highlight text and
> > then apply the macro (via toolbar button/shortcut), but it passes
> > through characters without escaping them automatically.
>
> This is intentional. The idea is that you can write some LaTeX,
> highlight it, and them hit ctrl-M to make it math. Or paste it. Or
> whatever.
>

Makes sense, and I understand.  I was asking on behalf of a colleague with
the hope that there was a "quick fix" based on how we've implemented
macros.

> My goal is to apply macro-based styling to various keywords in a
> > document, so a macro seems like the most natural way to mark those
> > items and then update them, as needed.  However, I'm happy to consider
> > other, better, ways to accomplish that.
>
> This looks like a job for a character style. The Logical Markup module
> defines a 'Code' style that renders its content as monospace. Of course,
> it can be customized.
>

Interesting—I'll look into that.  Thanks Riki!

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


Detokenized Math Macros?

2020-11-10 Thread Joel Kulesza
Colleagues,

Is there a way to detokenize math macros in LyX such that characters like
an underscore are not passed?  I'd like to highlight text and then apply
the macro (via toolbar button/shortcut), but it passes through characters
without escaping them automatically.

For example, please see the attached MWE.

My goal is to apply macro-based styling to various keywords in a document,
so a macro seems like the most natural way to mark those items and then
update them, as needed.  However, I'm happy to consider other, better, ways
to accomplish that.

Thank you,
Joel


detokenize_macro.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX shortcuts

2020-11-06 Thread Joel Kulesza
On Mon, Nov 2, 2020 at 12:53 AM Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

> I remember that in earlier LyX versions the shortcuts were indicated
> somewhere and I was thus reminded how to use them. How do I get this
> back?
>

I haven't followed this thread, but because I haven't seen it mentioned:
are you referring to the View -> Messages pane?

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


Re: How to break long equations with LyX

2020-06-20 Thread Joel Kulesza
On Sat, Jun 20, 2020 at 12:13 PM Paul A. Rubin  wrote:

> On 6/19/20 9:47 PM, list_em...@icloud.com wrote:
>
> On Jun 19, 2020, at 5:14 PM, Paul A. Rubin  
>  wrote:
>
> On 6/19/20 7:34 PM, list_em...@icloud.com wrote:
>
> On Jun 19, 2020, at 8:15 AM, Paul A. Rubin  
>  wrote:
>
> On 6/19/20 7:51 AM, list_em...@icloud.com wrote:
>
> I have tried mightily to get LyX to break long equations. I’ve studied 
> multiple pages at stackexchange, both LaTeX and LyX, and can’t seem to get 
> anything to work.
>
> I have had luck in the past with the second large block of code at this page:
> https://stackoverflow.com/questions/2904807/lyx-breaking-long-formula-lines
>
> but today I have some problems with it.
>
> First, it doesn’t work if the \text command appears inside my own LaTeX code 
> that appears between \begin{dmath} and \end{dmath} or if I try to use the 
> trick twice in the same document. (That’s a tentative analysis of the 
> problem.) Specifically, LyX runs at 100% CPU eventually gives me a chance to 
> abort and then follows up with this additional message: "The external program 
> pdflatex finished with an error. It is recommended you fix the cause of the 
> external program's error (check the logs)."
>
> Plus, I now want to to apply the line breaking to a line within an aligned 
> environment (Insert -> Math -> Aligned Environment in the menu system.) This 
> is causing things to look even worse, even though I added two “aligned” lines 
> to the referenced code block. (If you look at the code you’ll see the obvious 
> places to add the lines.)
>
> How do LyX-ers handle this? Is there “LyX” solution to breaking long 
> equations? I’m OK with some ad hoc solution for now, or some ERT if it works.
>
> Thanks,
> Jerry
>
>
>
> I've never used the breqn package, but with ordinary and AMS math 
> environments, hitting Ctrl-Enter in the middle of a long formula will break 
> it (inserting a line break, \\, in the LaTeX output). If that doesn't achieve 
> what you want, perhaps you could post a minimal example and a specification 
> of what the output should look like.
>
> Paul
>
>
> Thanks, Paul. I’m on a Mac so of course Control-Enter has no meaning. Usually 
> this translates to Mac-speak as Command-Enter. When I do Command-Enter in my 
> equation, which is unfortunately inside a align environment, it instead adds 
> a row to the matrix that represents the align environment. Ditto for 
> Shift-Command-Enter. These two commands in LyX are mapped as Insert -> 
> Formatting -> Ragged Line Break and Justified Line Break, respectively but 
> invoking the menu commands with the cursor in my equation has exactly the 
> same effect: adding a row to the align matrix (above the row where the cursor 
> is.) When (Shift-)Command-Enter is done to a non-align display equation a 
> similar thing happens except now the non-align equation is converted to an 
> align equation with a blank new row _below_ the original equation.
>
> Right now I guess I would be pretty happy with merely a way to make 
> Command-shift (Control-shift) do what is expected which is apparently break 
> the equation instead of creating a new row.
>
> Jerry
>
>
> Jerry,
>
> I just created an align environment with two equations, the left side of the 
> first being ridiculously long. When I put the cursor somewhere toward the 
> middle of the left side of the long equation and inserted a break (using 
> Ctrl-Enter -- I'll get to the Mac part in a minute), it broke the equation 
> and inserted a new row. So
>
> (x+x+x+x+...+x) =1
>  y =2
>
> (where the right column contained the equal signs and integers) became
>
> (x+x+x+...
> +x+x+x+x) =1
>  y =2
>
> where the right column is empty in the first row. See the attached minimal 
> example. Is this not what you want?
>
> Regarding the key mapping, if you can find an unused key combo that you have 
> a chance of remembering, you can map it to "newline-insert newline" using 
> Tools > Preferences... > Editing > Shortcuts. That's what Ctrl+Enter binds to 
> for me.
>
> Paul
>
> Paul:
>
> Thanks. The effect appears to work by adding another row to the matrix and 
> filling it with the partial equation. In your example the new row is on top. 
> If the long equation is moved to the RHS the new row is below.
>
> I tried adding horizontal space to the second line of your broken equation 
> but Latex seems to ignore it: when I click outside the math box and the 
> equation is rendered, it is rendered without the horizontal space even though 
> it was visible while in math editing mode.
>
> About Mac key mappings: According to the status line in the document window, 
> when I hit Command-Shift, it displays “(newline-insert newline;) and then 
> icons for “Command” and “new line” which is an arrow thingy. So I’m going to 
> assume that the key mapping is correct but that there is another problem, 
> meaning…
>
> …See my attached example. Attempting to break the line before the second 
> 

Re: How to break long equations with LyX

2020-06-19 Thread Joel Kulesza
On Fri, Jun 19, 2020 at 5:51 AM  wrote:

> I have tried mightily to get LyX to break long equations. I’ve studied
> multiple pages at stackexchange, both LaTeX and LyX, and can’t seem to get
> anything to work.
>
> ...
>
> How do LyX-ers handle this? Is there “LyX” solution to breaking long
> equations? I’m OK with some ad hoc solution for now, or some ERT if it
> works.
>

Jerry,

I regret that I don't have any good guidance to satisfy your desire to
automatically break equations.  One benefit to LaTeX is the aesthetic as a
result of the underlying algorithms, but I know of no automatic algorithms
to universally break equations well.  I suspect this is the case because
each component in the equation has distinct meaning and how the equation is
broken and aligned can help the reader interpret it (e.g., breaking at
"logical" places).

As such, the two approaches I take are to either use multiline or aligned
equations (with the "right-hand side" indented with a manual \quad).  This
has produced equations I'm usually happy with.  Multiline is a bit more
"automatic," but it can produce equations that aren't totally satisfying
(e.g., 6b in this paper

).

Sorry I can't offer a good and direct answer, but I hope these thoughts
help.

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


Re: Show changes by date

2020-04-29 Thread Joel Kulesza
On Wed, Apr 29, 2020 at 12:33 PM Daniel  wrote:

> Hi,
>
> I am hunting down some encoding error possibly to do with my
> bibliography which is created via Zotero and Better BibTeX. If I remove
> the bibliography from my document it works fine. I am unable to create a
> minimal example because I don't know which entry is causing the problem.
> Is there a way to show the tracked changes I made by date so I can go
> through all the changes I made today in order to find the problematic
> entry?
>

Do you track the problematic file in version control (e.g., git)?  Is it
stored on an online service like Dropbox?  If not, I don't have a
suggestion, but either of those facilities should give some historical
perspective.

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


Re: Showing article DOI in Bibliography for IEEE Trans Template

2020-04-02 Thread Joel Kulesza
On Thu, Apr 2, 2020 at 10:44 AM Paul A. Rubin  wrote:

> On 4/2/20 8:49 AM, Rami Ghannam wrote:
>
> Dear Colleagues,
>
>
>
> I trust you are well. I am new to using LyX and I’m interested in
> submitting an article to the IEEE. According to the journal, references
> must include the DOI. I have tried configuring LyX to include these DOIs,
> but haven’t succeeded. Can you please kindly indicate how I can include
> article DOI’s my bibliography?
>
>
>
> Thank you very much for your kind support.
>
>
>
> Regards,
>
> Rami.
>
> You need to use a bibliography style (.bst file) that supports the DOI
> field. I just looked, and the IEEE Trans bibliography style file I have
> (ieeetr.bst) does not. This version seems to date back to 2010. There's a
> 2015 version on CTAN which apparently still does not support DOI. I suggest
> you do a web search for "ieeetr.bst DOI field", which will get you links to
> some customized (hacked) versions of the file that do include the DOI.
>
> Paul
>

One such hacked version is available here:
https://github.com/jkulesza/UMich_Dissertation_LyX/tree/master/include

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


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

2020-02-15 Thread Joel Kulesza
On Sat, Feb 15, 2020 at 3:53 PM David Pesetsky  wrote:

> I was using Lyx for Mac rather extensively to write a long-ish manuscript
> about a year ago, but have been away from it for a while.
>
> In the interval, a problem has arisen, though nothing has changed in my
> setup besides updating Lyx and Latex via TexLive.  I install the embrac
> package, which ensures non-italic brackets in otherwise italicized
> environments.  This used to work without a problem, but now generates the
> error message:
>
> LaTeX3 Error: Command '\textsi' not yet defined!
>
> I am sure of my trouble-shooting, since commenting out the usepackage
> command eliminates the error.
>
> When I was using Lyx a year ago, I wasn't seeing any mentions of LaTex3,
> I'm fairly sure (and no errors from embrac).  Any idea what's going wrong
> and how I can eliminate the problem or work around it?
>

David,

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

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


Re: doi > how to open

2020-01-21 Thread Joel Kulesza
On Tue, Jan 21, 2020 at 1:59 AM Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

> I would like to open a doi in a lyx exported pdf file, e.g.
>
> Cingi C, Emre IE, Muluk NB (2018) Jetlag related sleep
> problems and their management: A review. Travel
> medicine and infectious disease 24:59–64,
> DOI 10.1016/j.tmaid.2018.05.008
>
> by clicking on the DOI. I have it in the references. How would one do it?
>
> Wolfgang
>

How a DOI is treated in the references is a function of the bibliography
style used to generate the entry.  If a non-hyperlinked DOI is given, it
can be followed by pasting it into the text box at https://dx.doi.org or
building it into a URL directly as, for example,
https://doi.org/10.1109/5.771073.

Ultimately: you need to find or create a bibliography style that generates
this URL for you and creates a hyperlink with it.  I don't have a
recommended style for this (I've modified IEEEtranN to do it for myself).

Best regards,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Index "see..." Cross-reference Broken in User Guide

2019-12-11 Thread Joel Kulesza
On Wed, Dec 11, 2019 at 4:59 PM Andrew Parsloe  wrote:

>
> On 12/12/2019 12:36 pm, Joel Kulesza wrote:
>
> On Wed, Dec 11, 2019 at 4:01 PM Andrew Parsloe 
> wrote:
>
>>
>> On 12/12/2019 2:55 am, Joel Kulesza wrote:
>>
>> On Wed, Dec 11, 2019 at 3:07 AM Axel Dessecker  wrote:
>>
>>> Am Dienstag, 10. Dezember 2019, 23:53:24 CET schrieb Joel Kulesza:
>>>
>>> > Has anyone else observed that the "See..." cross-references in the User
>>> > Guide index fail to render?
>>> >
>>> > For example, using LyX 2.3.3 the "GIF|see{Image Formats}" in Section
>>> 4.4.1
>>> > of the User Guide does not make an entry for GIF or anything indicating
>>> > that something else should be seen.
>>>
>>> I cannot confirm your observation. I have the user guide in German and
>>> the
>>> cross-reference command for GIF you are mentioning correctly creates a
>>> list
>>> entry for “Grafikformate” (image formats). This is LyX 2.3.3 and Linux
>>> (openSUSE).
>>>
>>
>> Axel,
>>
>> Thank you for testing.  Weird.  I cannot see it (see attached with no
>> "GIF" entry int he index).  I've tried on various flavors of macOS with
>> TeXLive 2017, 2018, and 2019.  All fail. I also tried on RHEL7, with LyX
>> 2.3.2 and TeXLive 2018, and it also fails.
>>
>> I'm glad to know it works, at least for someone.  I'll continue digging,
>> but I'd be happy to know if anyone else sees GIF in the index pointing to
>> Image Formats, or not.
>>
>> Thank you,
>> Joel
>>
>> Like Axel, I get the "GIF see Image formats" entry produced in the index.
>> This is LyX 2.3.3, the English User's Guide, on a Windows 10 machine. Under
>> "Images" there is a subheading "Formats  71".
>>
>> Andrew
>>
> Andrew,
>
> To confirm: you see an entry for "GIF" in the index?
>
> My understanding from Section 6.6.3 of the User Guide is that it should
> exist and point to Image Formats as a cross reference.  However, I do not
> see that and I believe Axel indicated that he didn't look for the GIF
> entry.
>
> The cross-referencing entry for GIF that I'm missing (and want to have in
> my own document).
>
> Thanks,
> Joel
>
> Yes, I copied the "GIF see Image formats" entry from the index of a
> just-compiled User's Guide. It's there, along with similar entries for JPG,
> SVG, PNG and EPS. In case it's relevant the index has numerous other see
> references, e.g., "Bindings see Key Bindings", "Formulas see Math",
> "Glossary see Nomenclature", "Ligatures see Typography", and as a
> subheading under "LYX", "Reconfigure see Reconfiguration of LYX".
>
> Andrew
>

Darn, OK, thanks.  I'll hunt around some more to see if I can provoke it
into appearing.  A question: are you using MikTeX or TeXLive?

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


Re: Index "see..." Cross-reference Broken in User Guide

2019-12-11 Thread Joel Kulesza
On Wed, Dec 11, 2019 at 4:01 PM Andrew Parsloe  wrote:

>
> On 12/12/2019 2:55 am, Joel Kulesza wrote:
>
> On Wed, Dec 11, 2019 at 3:07 AM Axel Dessecker  wrote:
>
>> Am Dienstag, 10. Dezember 2019, 23:53:24 CET schrieb Joel Kulesza:
>>
>> > Has anyone else observed that the "See..." cross-references in the User
>> > Guide index fail to render?
>> >
>> > For example, using LyX 2.3.3 the "GIF|see{Image Formats}" in Section
>> 4.4.1
>> > of the User Guide does not make an entry for GIF or anything indicating
>> > that something else should be seen.
>>
>> I cannot confirm your observation. I have the user guide in German and
>> the
>> cross-reference command for GIF you are mentioning correctly creates a
>> list
>> entry for “Grafikformate” (image formats). This is LyX 2.3.3 and Linux
>> (openSUSE).
>>
>
> Axel,
>
> Thank you for testing.  Weird.  I cannot see it (see attached with no
> "GIF" entry int he index).  I've tried on various flavors of macOS with
> TeXLive 2017, 2018, and 2019.  All fail. I also tried on RHEL7, with LyX
> 2.3.2 and TeXLive 2018, and it also fails.
>
> I'm glad to know it works, at least for someone.  I'll continue digging,
> but I'd be happy to know if anyone else sees GIF in the index pointing to
> Image Formats, or not.
>
> Thank you,
> Joel
>
> Like Axel, I get the "GIF see Image formats" entry produced in the index.
> This is LyX 2.3.3, the English User's Guide, on a Windows 10 machine. Under
> "Images" there is a subheading "Formats  71".
>
> Andrew
>
Andrew,

To confirm: you see an entry for "GIF" in the index?

My understanding from Section 6.6.3 of the User Guide is that it should
exist and point to Image Formats as a cross reference.  However, I do not
see that and I believe Axel indicated that he didn't look for the GIF
entry.

The cross-referencing entry for GIF that I'm missing (and want to have in
my own document).

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


Re: Index "see..." Cross-reference Broken in User Guide

2019-12-11 Thread Joel Kulesza
On Wed, Dec 11, 2019 at 7:16 AM Axel Dessecker  wrote:

> Am Mittwoch, 11. Dezember 2019, 14:55:42 CET schrieb Joel Kulesza:
> > On Wed, Dec 11, 2019 at 3:07 AM Axel Dessecker  wrote:
> > > Am Dienstag, 10. Dezember 2019, 23:53:24 CET schrieb Joel Kulesza:
> > > > Has anyone else observed that the "See..." cross-references in the
> User
> > > > Guide index fail to render?
> > > >
> > > > For example, using LyX 2.3.3 the "GIF|see{Image Formats}" in Section
> > >
> > > 4.4.1
> > >
> > > > of the User Guide does not make an entry for GIF or anything
> indicating
> > > > that something else should be seen.
> > >
> > > I cannot confirm your observation. I have the user guide in German and
> the
> > > cross-reference command for GIF you are mentioning correctly creates a
> > > list
> > > entry for “Grafikformate” (image formats). This is LyX 2.3.3 and Linux
> > > (openSUSE).
> >
> > Axel,
> >
> > Thank you for testing.  Weird.  I cannot see it (see attached with no
> "GIF"
> > entry int he index).  I've tried on various flavors of macOS with TeXLive
> > 2017, 2018, and 2019.  All fail. I also tried on RHEL7, with LyX 2.3.2
> and
> > TeXLive 2018, and it also fails.
> >
> > I'm glad to know it works, at least for someone.  I'll continue digging,
> > but I'd be happy to know if anyone else sees GIF in the index pointing to
> > Image Formats, or not.
> >
> > Thank you,
> > Joel
>
>
> I understood there should be an index entry for "image formats” (which
> appears
> in your output correctly referring to p. 71), not for „GIF”.
>

My understanding is that there should also be an entry for GIF, which says
"see Image Formats" as a way of redirecting a reader.

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


Index "see..." Cross-reference Broken in User Guide

2019-12-10 Thread Joel Kulesza
Colleagues,

Has anyone else observed that the "See..." cross-references in the User
Guide index fail to render?

For example, using LyX 2.3.3 the "GIF|see{Image Formats}" in Section 4.4.1
of the User Guide does not make an entry for GIF or anything indicating
that something else should be seen.

I can also find no way to manually force the correct behavior.  Perhaps
something in the underlying LaTeX functionality has changed?  In addition
to fixing this, any ideas for a workaround are appreciated.

If this is confirmed with a bug, I will enter it into the tracker.

Thank you,
Joel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to Elegantly "Unbold" Description Label in LyX & Output?

2019-11-05 Thread Joel Kulesza


> On Nov 5, 2019, at 12:06, Jean-Marc Lasgouttes  wrote:
> 
> Le 05/11/2019 à 19:36, Richard Kimberly Heck a écrit :
>>> On 11/5/19 10:38 AM, Joel Kulesza wrote:
>>> What is the recommended way to reconfigure the description environment
>>> to not be bold in LyX and in the output.  For the output, I might use
>>> 
>>> \renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}\normalfont{#1}}
>> I'm guessing you are missing a "format" tag. But you don't need to copy
>> the whole definition. Just:
>> Format 66
>> Style Description
>> LabelFont
>> Series Medium
>> EndFont
>> End

Yes. That was it. Thanks!  Thanks also for the pointer to the right 
documentation. 

> You can even stick your renewcommand in there, like:
> Preamble
>  \renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}\normalfont{#1}}
> EndPreamble

That was my next step after getting the layout to behave.  :-)

Thanks for the quick response to both of you!

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


How to Elegantly "Unbold" Description Label in LyX & Output?

2019-11-05 Thread Joel Kulesza
Colleagues,

What is the recommended way to reconfigure the description environment to
not be bold in LyX and in the output.  For the output, I might use

\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}\normalfont{#1}}

However, it's not clear how best to set the description to not show "bold"
in the interface (so that I can selectively apply bolding to my label and
have it appear faithfully in LyX and in the output).  Section 3.3.7.4 of
the User Guide would seem to be the place to find the information—have I
overlooked it elsewhere?

I've tried setting a local layout to override the standard "description"
definition, but validation suggests that it's invalid (below my
signature).  Even copying the definition from stdlists.inc fails
validation...

Any thoughts you can provide are appreciated.

Thank you,
Joel

--

# Removed the LabelFont definition -> fails validation before and after.

Style Description
  Category  List
  MarginFirst_Dynamic
  LatexType Item_environment
  LatexName description
  NextNoIndent  1
  LeftMarginMM
  LabelSep  xxx
  ParSkip   0.4
  ItemSep   0.2
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  HTMLTag   dl
  HTMLAttr  class='description'
  HTMLItem  dd
  HTMLLabel dt
  HTMLLabelFirst1
  HTMLStyle
dl.description dt { font-weight: bold; }
  EndHTMLStyle
End
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx for Windows

2019-10-28 Thread Joel Kulesza
On Mon, Oct 28, 2019 at 1:30 AM Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

>
> I remember a
> note where TeXLive was recommended over MikTeX for some reason. I guess
> this is no issue any more.


I remember this guidance, and it feels like a "more-pure" approach, so that
is why I try it first each time I must install on Windows.  However,
because of my poor success with getting the TeXLive installer to complete
successfully on Windows, I end up with MiKTeX with no ill effects (thus
far).  Admittedly, I use Windows rather infrequently, so I'm not the best
authority for the approach here.

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


Re: Lyx for Windows

2019-10-27 Thread Joel Kulesza

> I have a colleague with whom I would like to write a book chapter. I am 
> under Linux, he uses Windows. Is the following advice sufficient or should I 
> mention more points?
> 
> Lyx for windows
> https://wiki.lyx.org/Windows/Windows
> 
> 1- Installing TeXLive for Windows over Internet
> https://www.tug.org/texlive/acquire-netinstall.html
> use Custom install
> and follow the proposal below the Texlive 2018 figure
> Click install texlive

This is the same advice I’d give. However, I’ve generally had bad luck 
successfully installing TeXLive on Windows and still usually end up with 
MiKTeX.  You might want to be prepared for this contingency. 

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


Re: understanding gdb

2019-08-12 Thread Joel Kulesza
On Mon, Aug 12, 2019 at 9:27 AM Helge Hafting  wrote:

>
> Den 12.08.2019 08:42, skrev Wolfgang Engelmann:
> > It was recommended to use gdb for tracking errors in LyX. I don't
> > understand, how to get infos from it. The --help mentions data (for
> > examining), stack (for examining stacks), and tracepoints (without
> > stopping the texting). What would I use, and how, if I want to get
> > infos out of the command?
>
> gdb is a debugger, and is useful mostly for the programmers that fix
> problems in LyX. If you are not a programmer, then you may still be able
> to use gdb to provide some useful information for the programmer that is
> trying to solve your particular problem. Usually, the programmer trying
> to figure out your problem can help you with the use of gdb in that
> specific case.
>
>
> A common case is to use gdb to find the position of an unexpected
> program crash in the source code. (LyX is not supposed to crash at all
> under normal use.)
>
> In this case, instead of issuing the command "lyx myfile.lyx", you do this:
>
> gdb lyx
>
> [gdb prints some lines of output in your terminal]
>
> (gdb) run myfile.lyx
>
> [gdb prints more lines in the terminal, and a lyx window appear.]
>
> Do whatever you need to do to get the unwanted program crash
>
> [gdb prints some more info, then you issue the "bt" command to get a
> backtrace]
>
> (gdb) bt
>
> [gdb prints the call chain up to the crashing function. This information
> is very useful for a developer trying to figure out the problem.]
>
>
> After this, copy all the text gdp printed into a mail message to the
> developer helping you - or send it to this list. Also write exactly what
> you did to get the crash. (Menu choices, typing, ...)
>

Helge,

This is a nice summary.  Is it something to add to the LyX wiki?

Thanks,
Joel


Re: Command-line Out-of-source LyX, Relative Include Paths, and Empty Directories

2019-08-08 Thread Joel Kulesza



> On Aug 7, 2019, at 13:05, Richard Kimberly Heck  wrote:
> 
>> On 8/4/19 11:25 AM, Kornel Benko wrote:
>> Am Sonntag, 4. August 2019, 07:40:48 CEST schrieb Joel Kulesza:
>>> On Sun, Aug 4, 2019 at 1:47 AM Kornel Benko  wrote:
>>> 
>>>> Am Sonntag, 4. August 2019, 09:34:53 CEST schrieb Kornel Benko:
>>>> 
>>>>> I don't see it here.
>>>>> 1.) What is your cmake version? (my is 'cmake version
>>>> 3.15.20190726-g8ce18')
>>>> 
>>> 3.15.1
>>> 
>>> 
>>>>> 2.) What is the path of this dir?
>>>>>  Searching for include in the build gives here nothing.
>>>>>  $ find . -name include
>>> I've attached two logs.  The first (cmake_use.txt) is me using cmake.  I'm
>>> not passing any parameters.  Furthermore, this isn't a cmake issue but a
>>> LyX issue.  The second log shows me building directly with LyX and without
>>> cmake altogether.  However, in both cases, I get an empty `include`
>>> directory (shown with `ls -alR`).
>>> 
>>> Please read "cmake_use.txt" first, the other log is a continuation of it.
>>> 
>>> 
>>>> Retested with your CMakeLists.txt I get
>>>>$ cmake ..
>>>>$ make
>>>>$ ls -l
>>>> 
>>> Look one directory higher—what do you see?
>> I see it too now.
>> If using '-dbg files' param for lyx, lyx shows:
>>support/FileName.cpp (732): creating path 
>> '/usr2/kornel/tmp/doc1/cmd_line_test/doc/include'.
>> This path is created because lyx searches first this path for the file 
>> 'inclusion.tex'.
>> 
>> I confess, it is not sooo nice behaviour.
> 
> It does find the included file, at least, right?

Yes. It finds the file and produces a correct PDF. 

> Certainly LyX should not create this directory, though.

Thanks for confirming. With your and Kornel’s feedback, I’ll enter an issue in 
the tracker (when I return from travel). I took a quick look at this based on 
Kornel’s debugging insight, and the fix isn’t obvious (it is further up the 
call stack).  I’ll take a deeper look, but if an expert has any tips I’m happy 
to pursue them. 

Thanks,

Joel

Re: Command-line Out-of-source LyX, Relative Include Paths, and Empty Directories

2019-08-04 Thread Joel Kulesza
On Sun, Aug 4, 2019 at 1:47 AM Kornel Benko  wrote:

> Am Sonntag, 4. August 2019, 09:34:53 CEST schrieb Kornel Benko:
>
> > I don't see it here.
> > 1.) What is your cmake version? (my is 'cmake version
> 3.15.20190726-g8ce18')
>

3.15.1


> > 2.) What is the path of this dir?
> >   Searching for include in the build gives here nothing.
> >   $ find . -name include
>

I've attached two logs.  The first (cmake_use.txt) is me using cmake.  I'm
not passing any parameters.  Furthermore, this isn't a cmake issue but a
LyX issue.  The second log shows me building directly with LyX and without
cmake altogether.  However, in both cases, I get an empty `include`
directory (shown with `ls -alR`).

Please read "cmake_use.txt" first, the other log is a continuation of it.


> Retested with your CMakeLists.txt I get
> $ cmake ..
> $ make
> $ ls -l
>

Look one directory higher—what do you see?

Thanks for your willingness to help with this so quickly!

- Joel
479 jkulesza@tempest[~]> rm -rf ~/build/
479 jkulesza@tempest[~]> mkdir build
479 jkulesza@tempest[~]> cd build/
479 jkulesza@tempest[~/build]> mkdir cmake_use
479 jkulesza@tempest[~/build]> cd cmake_use/
479 jkulesza@tempest[~/build/cmake_use]> cmake --version
cmake version 3.15.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
479 jkulesza@tempest[~/build/cmake_use]> cmake ~/tmp/cmd_line_test/doc/
-- LyX: /Applications/lyx.app/Contents/MacOS/lyx
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jkulesza/build/cmake_use
479 jkulesza@tempest[~/build/cmake_use]> 
/Applications/lyx.app/Contents/MacOS/lyx --version
LyX 2.3.3 (2019-06-10)
Configuration
  Host type:   x86_64-apple-darwin18.6.0
  Special build flags:  build=release std-regex warnings use-hunspell 
use-aspell
  Bundled libraries:boost mythes
  C++ Compiler:c++ -stdlib=libc++ (10.0.1)
  C++ Compiler flags:   -Wall -Wextra -Os -std=c++14  
-Wno-deprecated-register
  C++ Compiler user flags:  -I/Users/Shared/LyX/utilities/include   -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -mmacosx-version-min=10.10 -std=c++14  -std=c++11
  Linker flags:
  Linker user flags:-L/Users/Shared/LyX/utilities/lib -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -mmacosx-version-min=10.10
  Qt Frontend:
  Qt version:  5.9.8
  Packaging:   macosx
  LyX binary dir:  
/Users/Shared/LyX/lyx-build/LyX-2.3.3.app/Contents/MacOS
  LyX files dir:   
/Users/Shared/LyX/lyx-build/LyX-2.3.3.app/Contents/Resources

479 jkulesza@tempest[~/build/cmake_use]> make
Scanning dependencies of target test_doc
[100%] Generating base_doc.pdf
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded 
format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./base_doc.tex
LaTeX2e <2017-04-15>
Babel <3.10> and hyphenation patterns for 84 language(s) loaded.

[100%] Built target test_doc
479 jkulesza@tempest[~/build/cmake_use]> ls -alR ~/build/
total 0
drwxr-xr-x4 jkulesza  staff   128 Aug  4 07:34 .
drwxr-xr-x+ 138 jkulesza  staff  4416 Aug  4 07:34 ..
drwxr-xr-x7 jkulesza  staff   224 Aug  4 07:34 cmake_use
drwxr-xr-x2 jkulesza  staff64 Aug  4 07:34 include

/Users/jkulesza/build//cmake_use:
total 72
drwxr-xr-x   7 jkulesza  staff224 Aug  4 07:34 .
drwxr-xr-x   4 jkulesza  staff128 Aug  4 07:34 ..
-rw-r--r--   1 jkulesza  staff   4889 Aug  4 07:34 CMakeCache.txt
drwxr-xr-x  12 jkulesza  staff384 Aug  4 07:34 CMakeFiles
-rw-r--r--   1 jkulesza  staff   4243 Aug  4 07:34 Makefile
-rw-r--r--   1 jkulesza  staff  13873 Aug  4 07:34 base_doc.pdf
-rw-r--r--   1 jkulesza  staff   1376 Aug  4 07:34 cmake_install.cmake

/Users/jkulesza/build//cmake_use/CMakeFiles:
total 64
drwxr-xr-x  12 jkulesza  staff   384 Aug  4 07:34 .
drwxr-xr-x   7 jkulesza  staff   224 Aug  4 07:34 ..
drwxr-xr-x   3 jkulesza  staff96 Aug  4 07:34 3.15.1
-rw-r--r--   1 jkulesza  staff   644 Aug  4 07:34 
CMakeDirectoryInformation.cmake
-rw-r--r--   1 jkulesza  staff40 Aug  4 07:34 CMakeOutput.log
-rw-r--r--   1 jkulesza  staff   129 Aug  4 07:34 CMakeRuleHashes.txt
-rw-r--r--   1 jkulesza  staff  1611 Aug  4 07:34 Makefile.cmake
-rw-r--r--   1 jkulesza  staff  3315 Aug  4 07:34 Makefile2
-rw-r--r--   1 jkulesza  staff   175 Aug  4 07:34 TargetDirectories.txt
-rw-r--r--   1 jkulesza  staff85 Aug  4 07:34 cmake.check_cache
-rw-r--r--   1 jkulesza  staff 2 Aug  4 07:34 progress.marks
drwxr-xr-x   8 jkulesza  staff   256 Aug  4 07:34 test_doc.dir

/Users/jkulesza/build//cmake_use/CMakeFiles/3.15.1:
total 8
drwxr-xr-x   3 jkulesza  staff   96 Aug  4 07:34 .
drwxr-xr-x  12 jkulesza  staff  384 Aug  4 07:34 ..
-rw-r--r--   1 jkulesza  staff  362 Aug  4 07:34 CMakeSystem.cmake


Re: Command-line Out-of-source LyX, Relative Include Paths, and Empty Directories

2019-08-04 Thread Joel Kulesza
On Sat, Aug 3, 2019 at 11:47 PM Kornel Benko  wrote:

>
> Strictly speaking, this is not 'out of source'.
>

Fair enough.  My point is that it was not in the same directory as the LyX
file such that the relative path would have been consistent with the actual
relative path.


> I suggest, you use a completely different directory and use an absolute
> path.
> 1. mkdir -p ~/build/lyx
> 2. cd ~/build/lyx
> 3. cmake  ...
>

Doing this (and cleaning up my `source` directory), I still end up with an
`include` directory in the `~/build` directory.  Yes, this doesn't pollute
my document directory; however, LyX is unnecessarily creating an empty
directory.  This does not seem appropriate.

Thanks,
Joel


Command-line Out-of-source LyX, Relative Include Paths, and Empty Directories

2019-08-03 Thread Joel Kulesza
Colleagues,

Sorry for the very lengthy subject line, but I'm seeing
unexpected/undesired behavior that I wonder if (a) anyone else has
experienced and/or (b) anyone else has a way to prevent.

I am using CMake to drive a command-line call to LyX to build a document
from a directory that is different than the LyX file (an "out-of-source"
build).  The LyX document has relative paths for files included.  During
the build process, LyX is creating empty directories, in a relative sense,
for the included file(s).  This is ultimately polluting my source
directory.  I'm seeing this with both LyX 2.3.2 and 2.3.3 on macOS 10.13
and 10.14.

A concrete MWE is attached.

In the example, the steps to reproduce are:

   1. Untar/zip.
   2. Navigate to the `doc` subdirectory.
   3. Make a new `build` subdirectory and enter it.
   4. Configure using cmake (i.e., `cmake ..`).
   5. Build (i.e., `make`).
   6. In the `build` directory, there should now be `base_doc.pdf,` as
   desired.  However, in the parent `doc` directory, there will be an empty
   `include` directory.

I presume this is a bug.  If that is agreed, I'll file this into the
tracker.  Whether it is or not, does anyone see a way to prevent this
behavior?

Thanks,
Joel


cmd_line_test.tar.gz
Description: GNU Zip compressed data


Re: Multi-paragraph Description Text Inquiry

2019-07-19 Thread Joel Kulesza
On Fri, Jul 19, 2019 at 10:54 PM Joel Kulesza  wrote:

> Does anyone know how to achieve multi-paragraph descriptions as noted
> here: https://www.contextgarden.net/Description#LaTeX_2.  Newlines do not
> give the desired behavior.
>

Sorry for the spam. I thought of a better way to search this and Kornel
answered this same question on Aug. 11, 2016...


Multi-paragraph Description Text Inquiry

2019-07-19 Thread Joel Kulesza
Colleagues,

Does anyone know how to achieve multi-paragraph descriptions as noted here:
https://www.contextgarden.net/Description#LaTeX_2.  Newlines do not give
the desired behavior.

I've tried using a frameless box to encapsulate the text, and that doesn't
achieve the effect.  I can do this by using ERT in the description text;
however, I'd rather avoid this.

MWE attached.  Any thoughts are appreciated!

Thank you,
Joel


multi_para_mwe.lyx
Description: Binary data


Re: Is latest Windows 10 (1809 prior to 1903-not installed) Update breaking Lyx 2.33 and MikTex?

2019-07-17 Thread Joel Kulesza
On Wed, Jul 17, 2019 at 11:21 AM Brian Davis  wrote:

>
> Odd, strange, not normal... yes, but not impossible or even improbable
> it is happening.
>
> Insanity Is Doing the Same Thing Over and Over Again and Expecting
> Different Results - Einstein
>
> Einstein obviously never used a computer.  Updates, patches, fixes,
> rolling modifications, BIOS and boot roms, firmware updates... we can be
> doing literally  the same things (steps) when using the software, but
> quite literally the system is changing out from underneath us.  I expect
> different results it's only a matter of time.  I had an argument with a
> fellow software engineer regarding building software is like building,
> as building it can be designed and implemented cleanly,  he argued and I
> have come to agree with the reality that building software is like
> building a sand castle as the waves keep crashing causing pieces to fall
> into the sea in while an impetuous child barks orders (changing
> requirements) on how to build it often changing goals on each new wave.
>

Periodic brief and amusing comments are welcome.  However, including these
lengthy irrelevant remarks obscure the relevant text and waste everyone's
time.  Please be considerate to the volunteers who support LyX and think
twice before including such content in your email.

How do you communicate with professional colleagues?  The same style is
appropriate here.

Thank you,
Joel


Re: Booktabs + Longtable + Caption -> Toprule Missing

2019-05-31 Thread Joel Kulesza
On Fri, May 31, 2019 at 2:50 AM Jürgen Spitzmüller  wrote:

> Am Freitag, den 31.05.2019, 10:16 +0200 schrieb Jürgen Spitzmüller:
> > Yes, it's a bug in the GUI.
>
> Fixed in master. But please file a report nonetheless (assigned to me),
> so we can fix it for 2.3.4 as well.
>

Awesome!  Thank you for the *quick* work!

- Joel


Spack Installation of LyX?

2019-05-13 Thread Joel Kulesza
Colleagues,

Has anyone setup a "spackage" in Spack to install LyX?

See: https://github.com/spack/spack and
https://spack.readthedocs.io/en/latest/tutorial_packaging.html

If someone has done this, do you have any tips?  If not, is there any
interest in me making a pull request against Spack to make the package
publicly available?

Thank you,
Joel


Re: insert listing so it can be copy/pasted from pdf

2019-05-09 Thread Joel Kulesza

> On May 8, 2019, at 17:13, Bob Alvarez <4...@outlook.com> wrote:
> 
> > So I expect this to be a problem of your PDF Viewer or clipboard or OS.
> 
> I agree. As I mentioned in a previous post on this thread, putting the code 
> in the pdf is not reliable enough to be used. So I have decided not to 
> attempt to do it. I will put the code in a supplementary information file for 
> the paper and post it online. 
> 

Bob,

Unless you will go through a publisher that will prevent it, I would still 
encourage you to look at the approach I suggested. It is demonstrated here: 
https://laws.lanl.gov/vhosts/mcnp.lanl.gov/pdf_files/la-ur-19-20291.pdf

See Appendix A.

- Joel

Re: insert listing so it can be copy/pasted from pdf

2019-05-05 Thread Joel Kulesza
On Sun, May 5, 2019 at 2:43 PM Bob Alvarez <4...@outlook.com> wrote:

>
>  I want to insert text code listings into Lyx  so readers can copy and
> paste from the pdf document into their plain text editor software.
>

Bob,

This doesn't directly address your need, but to permit readers to obtain
content from PDFs, the approach I've taken is to use the `navigator` (
https://ctan.org/pkg/navigator?lang=en) package. What I will typically do
is include the listing and then also use `navigator` to embed the full
document as an attachment to the PDF.  I've begun to routinely take this
approach because of ongoing difficulty providing easily copied text within
a LaTeX-generated PDF.

Hope this helps,
Joel


Re: LyX installation problems on Windows 10.

2019-04-09 Thread Joel Kulesza


> On Apr 8, 2019, at 12:55, 장지웅(수학과)  wrote:
> 
> 
> 
> 보낸 사람: Joel Kulesza 
> 보낸 날짜: 2019년 4월 8일 월요일 오전 12:18
> 받는 사람: 장지웅(수학과)
> 참조: mailing lyx
> 제목: Re: LyX installation problems on Windows 10.
>  
> On Sun, Apr 7, 2019 at 4:02 PM 장지웅(수학과)  wrote:
> 
> Following your advice, I did it. Here is the link:
> 
> https://tex.stackexchange.com/questions/483668/installing-lyx-no-textclass-is-found?noredirect=1#comment1222832_483668
> Jiwoong Jang
> Jiwoong,
> 
> As one commenter to you post noted, I'd bet that the Hangul characters in 
> your path are causing a problem with configure.py.  This may be caused by 
> your username (장지웅) and/or the won symbol (₩) used as a directory separator.
> 
> Perhaps a core LyX developer can speak to this?  I cannot open the ktug.org 
> link you gave, but do you know if that custom configure.py attempted to solve 
> this issue?
> 
> Thanks,
> Joel 
> 
> --
> Joel,
> 
> I removed Korean characters and spaces by reinstalling programs, but I don't 
> get what you mean by the won symbol.
> 
> \ is what I write for backslash, which is different from ₩ in the number of 
> horizontal lines.
> 
> I posted the result of new try in the same link:
> 
> https://tex.stackexchange.com/questions/483668/installing-lyx-no-textclass-is-found?noredirect=1#comment1222832_483668
> 
> Thanks,
> Jiwoong Jang

I’m currently traveling and hope to look at this when I’m home next week. 
Perhaps in the meantime someone else will identify a solution. 

Thank you for your patience. 

Joel

Re: LyX installation problems on Windows 10.

2019-04-07 Thread Joel Kulesza
On Sun, Apr 7, 2019 at 4:02 PM 장지웅(수학과)  wrote:

>
> Following your advice, I did it. Here is the link:
>
>
> https://tex.stackexchange.com/questions/483668/installing-lyx-no-textclass-is-found?noredirect=1#comment1222832_483668
> Jiwoong Jang
>
Jiwoong,

As one commenter to you post noted, I'd bet that the Hangul characters in
your path are causing a problem with configure.py.  This may be caused by
your username (장지웅) and/or the won symbol (₩) used as a directory separator.

Perhaps a core LyX developer can speak to this?  I cannot open the ktug.org
link
 you
gave, but do you know if that custom configure.py attempted to solve this
issue?

Thanks,
Joel


Re: LyX installation problems on Windows 10.

2019-04-07 Thread Joel Kulesza


> On Apr 7, 2019, at 09:48, 장지웅(수학과)  wrote:
> 
> 
> 
>  
> 보낸 사람: Joel Kulesza 
> 보낸 날짜: 2019년 4월 4일 목요일 오후 12:17
> 받는 사람: 장지웅(수학과)
> 제목: Fwd: LyX installation problems on Windows 10.
>  
>> One person suggested the posts below.  Please reply to him and the 
>> lys-user's list with the results.
>> 
>> Thanks,
>> Joel
>> 
> Have you tried:
> 
> 
> 
> https://tex.stackexchange.com/questions/280731/lyx-installation-error-text-class-not-found-reconfigure-or-use-without-late
> 
> 
> 
> or
> 
> 
> 
> https://wiki.lyx.org/LyX/Troubleshooting
> 
> 
> 
> B. Erkus
> 
> -- 
> 
> 
> I again deleted TeXStudio and LyX, and rebooted the computer, installed 
> MikTeX 2.9 and LyX,
> but the same result. Now I cannot come up with any idea that I could try... 
> haha...
> 
> Thanks,
> Jiwoong Jang

Can you create a screen recording of the process and post it so others can see 
it?  I’ve done that in the past and it’s been helpful. 

Joel

Re: LyX installation problems on Windows 10.

2019-04-02 Thread Joel Kulesza
On Tue, Apr 2, 2019 at 10:57 PM 장지웅(수학과)  wrote:

> There's nothing that does not work correctly while following the video.
> At that time, I also downloaded MikTex 2.9 and set it up.
> After then, I deleted all of them, and set up TeXLive and LyX. Why I chose
> TeXLive is because I'm used to TeXLive, rather than MikTex.
>
> After typing "where pdflatex," the command prompt shows:
> C:\texlive\2017\bin\win32\pdflatex.exe
>
> where the installation program of LyX chose as a path to latex.exe.
>
> Best regards,
> Jiwoong Jang
>

When you `reconfigure` LyX (Tools -> Reconfigure) do you still have the
message after you restart LyX?

- Joel


Re: LyX installation problems on Windows 10.

2019-04-02 Thread Joel Kulesza
On Tue, Apr 2, 2019 at 10:28 PM 장지웅(수학과)  wrote:

> Dear Mr. Kulesza,
>
> Yes, here is a link:
> https://www.youtube.com/watch?v=kALm051M0iA=179s
>
> I think the video suggests a really basic procedure.
>
> Best regards,
> jiwoong Jang
>

Jiwoong,

Please be sure to CC the mailing list so others are able to help also.

Yes, that video does show a very basic procedure.  It seems quite normal.
Is there anything that did not work correctly for you while following it?

If you have deleted both MikTeX and TeXLive and LyX, have you tried
following the installation procedures again?

After you install MikTeX or TeXLive, open a Command Prompt (Start Menu ->
cmd.exe) and type `where pdflatex`.  What does it show?

Thanks,
Joel


Re: LyX installation problems on Windows 10.

2019-04-02 Thread Joel Kulesza
On Tue, Apr 2, 2019 at 6:26 PM 장지웅(수학과)  wrote:

> Dear LyX users,
>
> Hi, my name is Jiwoong, and I am trying to install LyX, which is a
> typewriter program for LaTeX, but I'm having trouble doing it.
>
> Really I tried tons of way to do this, but the error message is the same:
>
> LyX: No textclass is found
>
> LyX will only have minimal functionality because no textclasses have been
> found. You can either try to reconfigure LyX normally, try to reconfigure
> without checking your LaTeX installation, or continue.
>
> (Press the button) Reconfigure (or) Without LaTeX (or) Continue
>
>
> I posted the same question on the tex.stackexchange, and the below is the
> link:
>
>
> https://tex.stackexchange.com/questions/482526/about-installing-lyx?noredirect=1#comment1220637_482526
>
> Inspite of thankful comments, I cannot figure why the same problem
> happens, and I now became to ask a question to LyX users.
>
>
> Best regards,
> Jiwoong Jang
>
>
Jiwoong,

Your note at StackExchange that you followed Youtube.  Which video on
Youtube did you watch?  It would be good to try reproducing what you did to
see where it might have gone wrong.

Thanks,
Joel

P.S. I wonder if publishing a series of short LyX "how to install" videos
(one for each major OS) may be something that would be helpful for new
users...


Re: Are you going to offer new versions of LyXWinInsaller?

2019-04-01 Thread Joel Kulesza
On Mon, Apr 1, 2019 at 10:22 AM Richard Kimberly Heck 
wrote:

> On 3/31/19 8:13 PM, Uwe Stöhr wrote:
> > Am 26.03.2019 um 20:58 schrieb Richard Kimberly Heck:
> >
> >> Just to be super clear: The compilers used are different, so the
> >> binaries are different.
> >
> > How do youu build? I use MSVC 2015.
>
> I use gcc in a cross-platform environment. I.e., I compile for Windows
> on Linux.
>

To be sure: is the process you (Riki) are describing the one on Line 156 of
Install.Win32?  If not, can you please guide me to a description of the
process you're following (either your own documentation in the repo or a
more generic guidance document)?

I'm interested in learning more about this and want to be sure I'm
following from the state-of-the-art.

Thank you,
Joel


Re: LyX & differential *operator*

2019-01-08 Thread Joel Kulesza
On Tue, Jan 8, 2019 at 7:54 AM Bernt Lie  wrote:

> Perhaps better to define it as a **macro**?
>
> \newcommand{\diff}{\mathrm{d}}
>
This is what I do, and I'm happy with the result.

- Joel


Cross-reference Styling Inquiry

2018-11-08 Thread Joel Kulesza
Colleagues,

As I'm writing a paper, I have a mix of Ref:... and EqRef:... cross
references.  I also, unfortunately, sometimes manage to break them and
achieve BROKEN:... cross references.

Has anyone identified a way to color the associated boxes/buttons
differently based on their status (Ref, EqRef, BROKEN, etc.)?  By default,
they are all gray and it can be easy to overlook the miscategorization of
an EqRef style to a typical Ref and vice versa.  It can also be hard to
quickly see or incidentally notice BROKEN cross references.

What I'd like to see is something like Ref (light blue), EqRef (light
green), BROKEN (light red).  Has anyone identified a way to do this?  Is
this an enhancement request that I should enter?

Thank you,
Joel


Re: Formula in Section title

2018-11-06 Thread Joel Kulesza

> On Nov 6, 2018, at 11:21 PM, Patrick Dupre  wrote:
> 
> Hello,
> 
> I used to use small formula in section or sub-section title.
> Unfortunately, if latex manage the font of the Titles (by typically
> using a bold font) for the regular text, it just use the "standard" 
> font for the formula.
> The transition from bold to regular is just ugly. Is there a way to
> coordinate the fonts?

Can you please provide a MWE (https://wiki.lyx.org/FAQ/MinimalExample 
) to work from?

- Joel

Re: LyX... the most important missing feature [for me]...

2018-11-05 Thread Joel Kulesza
On Mon, Nov 5, 2018 at 6:06 AM Bernt Lie  wrote:

> LyX is great in many ways. However, there is one thing that I really,
> really miss... I write papers and notes that contain a mixture of math and
> computer code/simulation results.
>
> First: for the "LyX: Graphics" window (double-click on inserted graphics),
> there is a "LaTeX and LyX options" tab which holds a section on "Graphics
> Group". This is a super feature, and allows me to create a new, named
> group. Thus, if I import a new graphics and assign the graphics to a named
> group (e.g., "MATLAB plot"), I can later on change the features of one plot
> within this named group, and... presto... all the graphics with the same
> named group are changed to adhere to this new setting.
>
> Settings include: Scale on screen (i.e., within LyX), and Scale graphics
> (i.e., in the produced PDF file). This is a very important feature to
> achieve *consistency* in the document.
>
> Second: a Program Listing object has many, many more settings than the
> Graphics object.  It would be *very useful* with a similar possibility to
> create "named group" for Program Listings, so that I can assing a program
> listing to such a named group.
>
> The way it is now, it is virtually impossible to ensure a consistent
> document wrt. Program Listing. Yes, it is possible to create a dummy
> document with a tailor made program listing, and copy+paste from this
> document. That way, I can get consisting layout of the document. But if I
> later have to change the program listing, e.g., remove line numbering, I'm
> in trouble again.
> --
> Anyway, my wish is thus: introduce named group for every object possible,
> in particular for Program Listing.
>

Bernt,

As a stop-gap measure before such a feature is implemented, you may be
interested in how I've accomplished consistent Program Listing styling via
the preamble in my April 5 post to this list.

https://www.mail-archive.com/lyx-users@lists.lyx.org/msg106968.html

Please contact me with any comments, questions, or concerns.

Thank you,
Joel


Re: LyX on iPad

2018-11-01 Thread Joel Kulesza
On Nov 1, 2018, at 6:44 PM, Richard Kimberly Heck  wrote:
> 
> On 11/1/18 6:42 PM, Daniel Kian Mc Kiernan (the best Daniel of the
> bunch) wrote:
>> On 11/1/18 12:41 PM, Anders Host-Madsen wrote:
>>> 
>>> Perhaps beating a dead horse, but I really wish there would be a LyX
>>> for iPad. 
>> 
>> I don't think that anyone is opposed to the idea, but it requires
>> developers willing and _able_ to port to the iPad.
>> 
>> I think that your hope would be in finding some programmers already
>> familiar with iOS, and somehow getting them excited about LyX.
>> 
>> At one point, I wanted to create a couple of apps for Android.  I've
>> taught Java programming for a university; but, when I saw how much I
>> would have to invest in learning the peculiarities of the Android
>> interface, I lost nearly all of my interest in the two projects.  I
>> assume that the demands of programming for iOS are similar.
> 
> 
> No doubt. A slightly different possibility would be (a) find a developer
> who'd be willing to commit to doing the work for X dollars, and then (b)
> crowdfund the effort. We have had success with this before. I think
> spellcheck-on-the-fly was done this way. I could be wrong, but SOMETHING
> was done that way.


It seems that spellcheck-on-the-fly and change tracking were done this way.

https://www.lyx.org/Donate

- Joel


Re: tikz pictures rendering

2018-10-28 Thread Joel Kulesza
Paolo,

Can you please provide MWE (https://wiki.lyx.org/FAQ/MinimalExample 
)?  If so, I'll take a closer look.

Thanks,
Joel

> On Oct 28, 2018, at 6:36 AM, Pol  wrote:
> 
> Hi all, 
> ​I don't know  if this a lyx software issue or a tikz programming issue (i 
> am
> rather new to tikz)
> 
> I would like to lower a bit the circle in the 'in line' command:
> 
> \tikz \draw (0,-9pt) circle (4pt);
> 
> so that the circle appear shifted a little lower, with respect to the text
> line it is in.
> ​inserting the latex command:
> 
> \tikz \draw (0,-9pt) circle (4pt);
> 
> ​obtains:
> 1 - ​the ​picture​​,​ on the lyx display​,​ effectively shifted downward, but 
> its lower part has been cut away.​ I would have a full circle in the text 
> line.
> ​
> ​2 - T​he picture appears unmoved, in the pdf rendering
> 
> Any comments will be appreciated
> 
> thank you
> 
> paolo m.
> 



Re: Option for displaying equation labels less obstrusively?

2018-10-03 Thread Joel Kulesza
On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer <
bauer.klaus.die...@gmail.com> wrote:

> Hello!
>
> As it is currently implemented, equation labels are displayed as part of
> the equation number in LyX's editor. Sadly, for longer, semantically
> meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws
> off the formatting in the editor buffer: Instead of centering the equation,
> the combination of label and equation is centered. A similar problem
> occurs, when left-aligned equations with left-aligned numbering are used.
>
> Is there some setting in LyX, that allows getting better alignment,
> without sacrifizing the ability to use long label names?
>
> - Klaus
>

I do not know of such a method, but would be thrilled if such were created
(or explained).  I wonder if mouseover tooltips could be used here...

- Joel


Re: tkzpeople is throwing errors

2018-09-01 Thread Joel Kulesza
On Sat, Sep 1, 2018 at 7:56 PM, Anthony  wrote:

> I am trying to use tkzpeople package to place an object at a node.
>
>
>
> The MWE is attached, along with the error log.
>
> I am running MiKTeX 2.9 on windows 10 using LyX2.3.0
>
>
>
> Kind Regards,
>
> Anthony
>
>
>
> Sent from Mail  for
> Windows 10
>

If I comment out the last line in your preamble (the line below my
signature), then I don't get an error.  Do you need this line as part of
the MWE / eventual use case?

- Joel

%\pgfplotsset{width=10cm,compat=1.15}

>


Re: Scalebox / Resizebox via GUI?

2018-08-24 Thread Joel Kulesza


> On Aug 24, 2018, at 02:13, Jürgen Spitzmüller  wrote:
> 
> Am Mittwoch, den 22.08.2018, 16:06 -0600 schrieb Joel Kulesza:
>> P.S. Is there a reason this is in a module and not in the GUI
>> natively?
> 
> Because it is so much easier to hack together a module than to add
> proper GUI support.

Understood, thanks!

Question on using PGF Files

2018-08-23 Thread Joel Kulesza
Colleagues,

I'm currently trying to include matplotlib-created .pgf files in a LyX
document.  The PGF files, in turn, include .png files (e.g., for filled
contour plots).  These PNG files are not copied to the directory that LyX
is building my document in.

This is entirely understandable—LyX cannot know how to interrogate every
type of file I include to then determine yet-more-nested files that it
needs to contend with.

*However, is there a way to specify to LyX additional files to carry into
the build directory so that they will be included?  *My apologies if I've
overlooked this somewhere.

Thank you,
Joel


Fwd: Scalebox / Resizebox via GUI?

2018-08-22 Thread Joel Kulesza
I also seem to be blind and missed this in the modules (GraphicBoxes).

Sorry,
Joel

P.S. Is there a reason this is in a module and not in the GUI natively?

-- Forwarded message --
From: Joel Kulesza 
Date: Wed, Aug 22, 2018 at 4:03 PM
Subject: Scalebox / Resizebox via GUI?
To: mailing lyx 


Colleagues,

I cannot seem to find a way to insert/manipulate a \scalebox or \resizebox
via the GUI.  Am I overlooking this or are they unavailable?

For example, I produce a .pgf plot via matplotlib that I'd like to include
and then scale.  The plot is such that it displays better this way than
generating it at the correct size in the first place.

Any guidance you can provide is appreciated.

Thank you,
Joel


Scalebox / Resizebox via GUI?

2018-08-22 Thread Joel Kulesza
Colleagues,

I cannot seem to find a way to insert/manipulate a \scalebox or \resizebox
via the GUI.  Am I overlooking this or are they unavailable?

For example, I produce a .pgf plot via matplotlib that I'd like to include
and then scale.  The plot is such that it displays better this way than
generating it at the correct size in the first place.

Any guidance you can provide is appreciated.

Thank you,
Joel


Tiling Window Manager Interaction with LyX

2018-08-07 Thread Joel Kulesza
Colleagues,

A co-worker recently prompted me to experiment with a tiling window manager
(TWM) within macOS.  I'm still evaluating how it fits in with my workflow.
However, I've found that it periodically doesn't treat LyX as consistently
as the other applications I commonly use.  That is, the TWM inconsistently
fails to properly tile LyX's window.

Does anyone else use a TWM (either with macOS or another OS)?  If so, have
you experienced any odd behavior or is this a "feature" of the particular
TWM application I'm using?

Thank you,
Joel

P.S. The TWM I'm using is chunkwm (https://koekeishiya.github.io/chunkwm/).


Re: How to Prevent "Non-math" Packages from Automatic Loading?

2018-07-12 Thread Joel Kulesza
On Thu, Jul 12, 2018 at 9:19 AM, Jürgen Spitzmüller  wrote:

> Am Donnerstag, den 12.07.2018, 09:10 -0600 schrieb Joel Kulesza:
> > Colleagues,
> >
> > Is there a recommended way to prevent arbitrary packages from being
> > automatically loaded by LyX?
>
> Provides  1
>
> in Document > Local Layout.
>

Excellent, thank you for the quick reply.  Generally, this approach serves
me better (my MWE is quite M versus my actual application); however, the
other approach is confirmed equally valid.

Thanks again,
Joel


How to Prevent "Non-math" Packages from Automatic Loading?

2018-07-12 Thread Joel Kulesza
Colleagues,

Is there a recommended way to prevent arbitrary packages from being
automatically loaded by LyX?

Example: I have a document with change tracking that I need to manually
load

\usepackage[table]{xcolor}

but showing tracked changes adds

\usepackage{xcolor}

to the preamble.

This results in package option conflicts (on OS X 10.11.6 with LyX 2.2.3
and 2.3.0).

MWE attached.  Toggle "show changes in output" to see the symptoms.

I know of Document -> Settings -> Math Options, but only certain packages
are listed.  Is there somewhere else that I can blacklist arbitrary
packages to override LyX and perform my own management (at my own risk)?

Thank you,
Joel


xcolor_conflict_mwe.lyx
Description: Binary data


Re: subscripts and superscripts display problem

2018-07-08 Thread Joel Kulesza

> On Jul 8, 2018, at 10:49, David Pesetsky  wrote:
> 
> And an update:  I've discovered the problem previously reported here (missed 
> this for some reason when searching earlier):
> 
> https://tex.stackexchange.com/questions/311041/subscript-and-superscript-in-lyx-leave-large-gaps-in-onscreen-editor
> 
> -- with a reference to this bug report: https://www.lyx.org/trac/ticket/10177
> 
> Is there an approved way to add my own "please fix this" to that bug report 
> from two years ago?

I’m not sure of it’s acceptability, but if I find an unresolved bug that I’m 
also afflicted by, I comment with the specifics (LyX version, OS, etc.) to (a) 
provide additional information about extent of effect, (b) indicate interest, 
and (c) get CC’d on any replies so I can follow and/or help debug as the issue 
is addressed by the dev team. 

As an aside, I think most developers monitor this list so the interest is 
likely already noted. 

- Joel

Re: subscripts and superscripts display problem

2018-07-08 Thread Joel Kulesza
On Sun, Jul 8, 2018 at 9:52 AM, David Pesetsky  wrote:

> -
>
> On Jul 8, 2018, at 11:48 AM, Joel Kulesza  wrote:
>
> On Sun, Jul 8, 2018 at 9:29 AM, David Pesetsky  wrote:
>
>> When I add text as a subscript or superscript using
>> Insert>Formatting>{Sub,Super}script,  Lyx 2.3.0 adds a large onscreen
>> horizontal gap before the text.  This appears to be WYSIWYG problem only,
>> as the Latex output does not have this problem (and there is no gap, as far
>> as the onscreen cursor is concerned).  I don't see anything about this in
>> the bug tracker, so is it something I should file as a bug?  Or something I
>> did, without knowing it ...?
>>
>> -David
>>
>
> I don't see similar behavior with LyX 2.3.0 on OS X 10.13.5 (see attached
> for what I see).
>
> It looks like your LyX background color is different from the default
> (white rather than the default beige).  Perhaps another customization is
> driving this behavior?
>
>
> Right, that's what I was wondering, but I can't think of what.  I changed
> some colors a while ago, and picked an onscreen font — but I've tried
> tinkering with different onscreen fonts, with no difference in the
> superscript/subscript problem.
>

What I would do to diagnose this:

Rename ~/Library/Application Support/LyX-2.3 to  ~/Library/Application
Support/LyX-2.3.bak

Relaunch LyX 2.3.0.  It will think it's a new installation with no
configuration files and will generate them (taking longer than usual to
start while doing so).  Run a test to see if the sub/superscripts are
"normal."  If so, it is something in the non-default settings.  From there,
you can compare the contents of the new (clean) configuration files in that
directory to the backup you made.

To recover your old settings, for better or worse, remove the "new"
~/Library/Application
Support/LyX-2.3 directory and copy over the "old", backed-up, one from
~/Library/Application
Support/LyX-2.3.bak.

- Joel


Re: References and Umlaute

2018-07-06 Thread Joel Kulesza



> On Jul 6, 2018, at 00:49, Jürgen Spitzmüller  wrote:
> 
> Am Donnerstag, den 05.07.2018, 11:27 -0600 schrieb Joel Kulesza:
>> To add to what was said. I only use JabRef with LyX/LaTeX and have
>> generally had better luck specifying accent marks using LaTeX
>> commands rather than Unicode characters. 
> 
> We're in the 21st century. Even BibTeX (BibTeX8) understands 8-bib
> encodings now. Such things shouldn't be necessary if you set up things
> right.
> 
> Jürgen
> 
>> 
>> Sorry for formatting, on mobile. 
>> 
>> Joel

I made no claim that this was necessary or ideal. However, in the future I’ll 
avoid contributing my personal experiences. 

Joel

Re: References and Umlaute

2018-07-05 Thread Joel Kulesza



> On Jul 5, 2018, at 09:46, Jürgen Spitzmüller  wrote:
> 
> Am Donnerstag, den 05.07.2018, 16:39 +0200 schrieb Wolfgang Engelmann:
>> I have difficulties with Umlaute in my references (see appended
>> shot). 
> 
> This looks like one of your bib databases has a different encoding than
> the LyX file.  Looks like the LyX file and at least one bib file (with
> the correct "Bünning" entry) uses ISO-8859-15 and the other(s) (with
> the misrepresented ü) utf8.
> 
> Assure the encodings match.
> 
>> With biblatex it says
>> Accessing a database via biblatex is almost identical to BibTeX: Use
>> the menu Insert->List/TOC->Bib(la)TeX Bibliography. In contrary to
>> BibTeX you cannot select a style file. 
>> But I would like to use a special style file. So biblatex is
>> apparently not an alternative.
> 
> No, you misunderstood. You cannot select a style file in Insert-
>> List/TOC->Bib(la)TeX Bibliography. You need to do that in Document >
> Settings > Bibliography.
> 
> This is explained just in the next paragraph following the passage you
> quoted.
> 
> Jürgen
> 
>> Any idea what to do?
>> Wolfgang

To add to what was said. I only use JabRef with LyX/LaTeX and have generally 
had better luck specifying accent marks using LaTeX commands rather than 
Unicode characters. 

Sorry for formatting, on mobile. 

Joel

Re: Find Forward (Ctrl/Cmd-G) not working?

2018-06-13 Thread Joel Kulesza
On Wed, Jun 13, 2018 at 12:49 PM, Scott Kostyshak  wrote:

> On Wed, Jun 13, 2018 at 06:30:14PM +0000, Joel Kulesza wrote:
> > On Wed, Jun 13, 2018 at 11:56 AM, Scott Kostyshak 
> wrote:
> > >
> > > > I see in my preferences the attached; however, this doesn't appear
> to do
> > > > anything (with or without the "LyX: Find and Replace" dialog
> showing).
> > >
> > > I did not read the conversation in this ticket, but is the following
> > > related?
> > >
> > > https://www.lyx.org/trac/ticket/8055
> >
> >
> > Definitely related, though more specific about cross-platform behaviors.
> >
> > My concern is mainly what is reflected in the LyX interface for Cmd-G
> does
> > not seem to work.  On Linux / Windows, does Ctrl-G perform a forward find
> > (i.e., find next occurrence)?
>
> No, they do not work on Linux or Windows, because the bindings are only
> the default on Mac. See the following file:
>
>   lib/bind/mac.bind
>
> In any case, if they don't do what you expect, and it's not a duplicate
> of #8055, perhaps open a trac ticket. I don't have time to look into
> this more at the moment.


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


Re: Find Forward (Ctrl/Cmd-G) not working?

2018-06-13 Thread Joel Kulesza
On Wed, Jun 13, 2018 at 11:56 AM, Scott Kostyshak  wrote:
>
> > I see in my preferences the attached; however, this doesn't appear to do
> > anything (with or without the "LyX: Find and Replace" dialog showing).
>
> I did not read the conversation in this ticket, but is the following
> related?
>
> https://www.lyx.org/trac/ticket/8055


Definitely related, though more specific about cross-platform behaviors.

My concern is mainly what is reflected in the LyX interface for Cmd-G does
not seem to work.  On Linux / Windows, does Ctrl-G perform a forward find
(i.e., find next occurrence)?

Thanks,
Joel


Re: LyX 2.3.0 on Mac: Exporting to LaTeX (pdflatex) messes up paths to tables and figures

2018-05-13 Thread Joel Kulesza
On Sun, May 13, 2018 at 9:37 AM, Uwe Thuemmel 
wrote:

> Dear fellow users,
>
> I have figures (as pdf) and tables (as LyX child documents) in
> subdirectories ./figures and ./tables. When I export from LyX 2.3.0 on Mac
> to LaTeX (pdflatex), the relative paths to these figures and tables are
> messed up. In particular, they are replaced by absolute paths where ‘/‘ is
> replaced by ‘_'. For example, a relative path /figures/figure1.pdf is
> replaced by something like 1_users_user_project_project1_figures_figure1.pdf.
> In addition, LyX places pdf files with these names as
> 1_users_user_project_project1_figures_figure1.pdf in the same directory
> as the main LyX file (but does not do so for the tables contained in LyX
> child documents). As a result, the TeX file does not compile correctly and
> I have to edit it by hand to adjust the paths. I’d much rather see LyX keep
> the relative paths when exporting to LaTeX. Sometimes this actually works -
> but I don’t know why. Can anyone help?
>
> Thank you,
> Uwe
>

Uwe,

I experienced something that may be similar on Mac.  Are you able to test
also with LyX 2.2.3?  In my case, LyX 2.2.3 would behave how I expect but
not LyX 2.3.0.

Also, are you able to post a MWE 
that has the problem for others to test with?

Thanks,
Joel


Re: Version Control -> Compare with Older Revision... Question

2018-05-10 Thread Joel Kulesza
On Thu, May 10, 2018 at 8:36 AM, Pavel Sanda <sa...@lyx.org> wrote:

> Joel Kulesza wrote:
> > Is there a way to bring these consistent so a user can clearly see which
> > commits are going to be compared?  I understand the ease associated with
> > the HEAD~N approach; however, can that information be put into the
> Version
> > Control Log?  Alternatively, could a Version Control Log-like text box be
> > added to the diff dialog and populated with "git log -N" according to the
> > "N" selected by the user?  This latter approach is likely (a) easier and
> > (b) more descriptive.
>
> What sounds relatively easy is to add one-line text field next to
> "Revision back: N" counter which contains the ouput of:
> git show --quiet --abbrev-commit --pretty=oneline HEAD~N
> which would be triggered for any value entered in the counter.


Even better!  I'll file that as a request.  Thanks!

- Joel


Re: Version Control -> Compare with Older Revision... Question

2018-05-10 Thread Joel Kulesza
On Thu, May 10, 2018 at 5:35 AM, Pavel Sanda <sa...@lyx.org> wrote:

> Joel Kulesza wrote:
> > Colleagues:
> >
> > I have a LyX document in a larger git repository that I wish to compare
> > with a previous commit.  Other than "counting back" commits, is there a
> way
> > to see precisely which two commits the LyX documents correspond to that
> are
> > being compared?
>
> If you mean sha of the commit then no, you would need to check log
> for the exact strings. In fact LyX internally does not deal with them,
> it just goes by HEAD~N pointers when reaching back to N-th commit in
> history...


Indeed, I meant the sha1sum hash.  A thought:

There is perhaps an inconsistency here: the LyX-internal Version Control
Log gives the standard `git log` output which is based only on the hashes.
The LyX-internal Compare with Older Revision is based only on HEAD~N
pointers.

Is there a way to bring these consistent so a user can clearly see which
commits are going to be compared?  I understand the ease associated with
the HEAD~N approach; however, can that information be put into the Version
Control Log?  Alternatively, could a Version Control Log-like text box be
added to the diff dialog and populated with "git log -N" according to the
"N" selected by the user?  This latter approach is likely (a) easier and
(b) more descriptive.

If any of these approaches (or another) sounds reasonable, I'll submit an
enhancement request.

Thank you,
Joel


Version Control -> Compare with Older Revision... Question

2018-05-09 Thread Joel Kulesza
Colleagues:

I have a LyX document in a larger git repository that I wish to compare
with a previous commit.  Other than "counting back" commits, is there a way
to see precisely which two commits the LyX documents correspond to that are
being compared?

I apologize in advance if I'm overlooking something totally obvious.

Thank you,
Joel


Re: Code listings in colored boxes

2018-04-05 Thread Joel Kulesza
On Wed, Apr 4, 2018 at 10:30 AM,  wrote:

> Hello,
>
> Just a note of hearty thanks to all for support of Lyx and Lyx users. And
> an apology if I inadvertently abused list etiquette.
>
> I've attached a piece that I wrote to document the solution to the code
> listing problem that I posed on the list. I never would have found the
> solution without the lyx-users list and the generous help of Paul Rubin.
>
> Thanks again,
>
> Lloyd R. Prentice


Lloyd,

That was an entertaining read; thanks for (a) putting the time into documenting
your ordeal and (b) keeping a light heart.

I've attached a style I use for showing code that I thought might be of
interest.  The configuration is in the document preamble and the "program
listing" used to display the code should fit into your colored boxes.

- Joel


program_listing.pdf
Description: Adobe PDF document


program_listing.lyx
Description: Binary data


Re: Creating a tree with math in LyX

2018-03-31 Thread Joel Kulesza
On Sat, Mar 31, 2018 at 11:37 AM, Scott Kostyshak  wrote:

>
> I think I will go for this workaround instead of the TiKZ path for now.
> I would like to learn TiKZ, but not until I want to dedicate some time
> to learning it correctly.


Definitely use what works and feels most convenient.

However, I'd caution you against waiting to play with TikZ until "learning
it correctly".  It has a truly immense feature set.  I'm continually
learning about new features (I found "spy" not too long ago, which was
nearly mind blowing).  Almost every time I use TikZ I learn a better or
more efficient way to do something, that I wish I would have known
previously, but in each case I ended up with a graphic I was happy with and
file away that knowledge for next time.

- Joel


Re: Creating a tree with math in LyX

2018-03-31 Thread Joel Kulesza
On Sat, Mar 31, 2018 at 6:40 AM, Rich Shepard 
wrote:

> On 03/30/2018 06:35 PM, Scott Kostyshak wrote:
>
> Does someone recommend a different way?
>>
>
>   Just out of curiosity, does anyone but me use PSTricks for creating
> vector
> graphics?
>

Plenty of people do.

One interesting trait I've identified with PSTricks users: they love it!
Almost to a fault.  Nearly every time I Google for how to do something with
TikZ, I always see a PSTricks user has provided an answer on how to do it
their way even though the question relates specifically to TikZ.


>   Several years ago I created a scannable form with PSTricks and was able
> to
> adjust each component with very fine (sub-millimeter) resolution so the
> filled boxes were correctly seen by the scanner.
>

TikZ can do this too.  Both tools have comparable capabilities.


>   It does involve writing code but I've yet to find a situation where
> PSTricks didn't produce precision output fully compativle with LaTeX/LyX.
>

These are two different technologies (PSTricks/TikZ vs LyX/LaTeX, where
LaTeX is taken *very* loosely) intended for two different purposes.
Besides, LaTeX involves writing code, so working with TikZ, PSTricks, etc.
is a natural extension.

- Joel


Re: Creating a tree with math in LyX

2018-03-30 Thread Joel Kulesza
On Fri, Mar 30, 2018 at 5:02 PM, Scott Kostyshak <skost...@lyx.org> wrote:

> On Fri, Mar 30, 2018 at 04:55:10PM -0600, Joel Kulesza wrote:
> > On Fri, Mar 30, 2018 at 4:35 PM, Scott Kostyshak <skost...@lyx.org>
> wrote:
> >
> > > I would like to make a simple tree that uses math. The current way I do
> > > it is to use the linguistics module, which gives access to the forest
> > > package. Then I go to Insert > custom insets > Structure tree. I then
> > > wrap the math I want to write in \protect. Attached is an example of
> > > what I'm currently doing. It works, but I don't like writing out
> > > \protect, and I have the feeling I'm asking the forest package to do
> > > something it was not meant to do (include math).
> > >
> > > Does someone recommend a different way?
> > >
> >
> > I'm a fan of TikZ.
> >
> > http://www.texample.net/tikz/examples/feature/trees/
>
> Do you write out the TikZ each time? Or did you make an inset or macro
> that makes it quicker?
>
> I will be making several of these small trees. I can just copy paste the
> code each time and it is not so much trouble, but I'm curious if you
> have a smoother setup than that.


My workflow is to put global style definitions, etc. into a preamble.tex
file that I \input within LyX's Document Settings.  Or, if minimal, I
include them directly in the LyX file.

I then create the graphics as individual .tex files (usually
image_name.tikz.tex) that I then include as a Child Document in LyX.
The image_name.tikz.tex
are fully renderable files that I work with independently (these days, with
vimtex and Skim) while I tweak everything to my liking.  Because of this, I
also \usepackage{standalone} so that they inherit the parent document
style, font, etc. settings when rendered out via LyX.

I find this approach gives me the fine-grained control I need/want while
reducing repetition in the preamble.  Note that the preamble can also be
included in the individual standalone .tikz.tex files to make sure
everything is kept synchronized.

Crude demonstration attached.

- Joel


tikz_mwe.lyx
Description: Binary data


icon_magnifying_glass.tikz.tex
Description: Binary data


test1.tikz.tex
Description: Binary data


Re: Creating a tree with math in LyX

2018-03-30 Thread Joel Kulesza
On Fri, Mar 30, 2018 at 4:35 PM, Scott Kostyshak  wrote:

> I would like to make a simple tree that uses math. The current way I do
> it is to use the linguistics module, which gives access to the forest
> package. Then I go to Insert > custom insets > Structure tree. I then
> wrap the math I want to write in \protect. Attached is an example of
> what I'm currently doing. It works, but I don't like writing out
> \protect, and I have the feeling I'm asking the forest package to do
> something it was not meant to do (include math).
>
> Does someone recommend a different way?
>

I'm a fan of TikZ.

http://www.texample.net/tikz/examples/feature/trees/

- Joel


Re: gnuplot - pyxplot

2018-03-24 Thread Joel Kulesza
On Sat, Mar 24, 2018 at 8:17 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

> Am 24.03.2018 um 14:52 schrieb Wolfgang Engelmann:
>
>> I am very intrigued by the new feature of lyx 2.3 to insert gnuplot
>> grafic. I have used for many years pyxplot
>>
>> http://pyxplot.org.uk/
>
>
I am not the person you seek regarding plotting integration with LyX;
however, I do lots of technical plotting and drawing in LaTeX.  I hadn't
encountered this utility before, but it looks quite powerful.  I look
forward to checking it out further.


> in my documents and would like to know, how difficult it would be to use
>> this in the same way as gnuplot; pyxplot is quite similar to gnuplot, but
>> IMHO easier to use. Could I perhaps get in touch with the person who did
>> the lyx implementation or could somebody forward my EMail to him? I would
>> gladly pay for it, since it would be much easier to keep the plotting
>> programs on hand (at the moment I do it by putting the corresponding
>> program in a note, from where I can copy/paste it if changes are needed).
>>
>
Rather than copying/pasting changes, have you tried Insert->File->Child
document and using the "Input" option to include the external file?  I
routinely do this when I prepare TikZ graphics.



> I just tried a few simple plots from pyxplot using the ending .gp instead
>> of .plot and it worked just fine. I hope, it is not too difficult to adapt
>> pyxplot to lyx; however, I realize, the devil is in the details.
>
>
Are you able to provide a MWE to demonstrate what you did that was
successful with some description of how you would like it to work instead?
A clear goal might help a developer assess feasibility.

- Joel


Re: Toggle comments in Lyx->LaTeX Preamble

2018-02-22 Thread Joel Kulesza
On Thu, Feb 22, 2018 at 12:52 PM, Daniel Gómez Martínez <
dangome...@gmail.com> wrote:

> Hello everyone,
>
> I have large sections of customized TeX code in the LaTeX preamble of some
> LyX templates I've created over time. I would like to know if there's a way
> to quickly toggle between commented and uncommented line for a given
> selection of lines (say, with a keyboard shortcut)
>

I don't know of a way to do this.


> , and in case there's not a quick way to do this, I would like to ask the
> developers if they can include this feature in Settings->Document->LaTeX
> Preamble and in the TeX code environment
>

I would be happy to see this also.


> (the one you have with Ctrl+L), it would also be great if a message of how
> to do so (toggle comment lines keyboard shortcut) could be included in the 
> Settings->Document->LaTeX
> Preamble sub-window.
>
> I'm sure I've read somewhere that LyX tries to the highest extent to be so
> complete that users don't usually have to put TeX or Preamble code lines,
> but as we users have some really customized and variable needs
>

The approach I use is to write a separate, external, preamble.tex file that
I then put alongside the .lyx file and in LyX's premable I issue
"\input{preamble.tex}".  Then, I can (un)comment the contained behavior in
one line.  Naturally, one can use multiple preamble files to segregate
behaviors.  Using this approach also allows multiple documents to share a
common preamble.  Further, by symbolically linking the .tex file, an update
in one instance updates behaviors globally.

- Joel


Re: Small poll - download speed of LyX installers

2018-02-16 Thread Joel Kulesza
On Fri, Feb 16, 2018 at 9:20 AM, Pavel Sanda  wrote:

> Hello lyx users,
>
> it has been brought to our(=developers) attention that downloading speed
> of lyx
> installers might become too slow on various places over the globe. The
> size of
> installers was steadily growing past years and 220 MB might indeed pose
> problem
> in case users end up with connections speeds about ~10kbs...
>
> That's why this small poll - we would be intersted to know how bad the
> situation
> generally is -- especially outside of Europe.
>
> If you have one minute of spare time could you download this file
> ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3
> .0rc2+qt5-x86_64-cocoa.dmg
> and report:
>
> 1. time to download (/ download speed)
> 2. country (and/or domain) where you download from
> 3. whether you download from home/academic network/large company...
> (you don't have to report more details than it feels comfortable...)
>
> Both good and bad answers matter, we want to know whether this is sporadic
> or widespread problem.
>


US(NM): 7.23MB/s; business network; UCSD mirror: 23.8MB/s

No logs, but the speeds speak for themselves.

US(NM): 90 KB/s (24 minutes to download); residential ISP; UCSD mirror:
9.5MB/s (16 seconds to download)

As an aside, and as one of the likely instigators of this poll, the slow
speeds I've seen (as slow as 10s of kbps) have been sporadic, albeit
observed in both the US and Asia from ftp.lyx.org.  Note that both of the
residential ISP wgets above were made from the same computer, one directly
after the next.  Note further that the ISP is much derided Comcast
Xfinity...

Full info from my residential wgets:

9995 jkulesza@tempest[/tmp]> time wget
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
--2018-02-16 18:43:20--
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
   => ‘LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg’
Resolving ftp.lyx.org (ftp.lyx.org)... 195.83.118.1
Connecting to ftp.lyx.org (ftp.lyx.org)|195.83.118.1|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/lyx/devel/lyx-2.3/lyx-2.3.0rc2 ...
done.
==> SIZE LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg ... 135668328
==> PASV ... done.==> RETR LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg ... done.
Length: 135668328 (129M) (unauthoritative)

LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
 
100%[=>]
129.38M  89.6KB/sin 24m 4s

2018-02-16 19:07:27 (91.7 KB/s) - ‘LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg’ saved
[135668328]


real 24m7.349s
user 0m0.713s
sys 0m1.833s
9995 jkulesza@tempest[/tmp]> time wget
ftp://ftp.ucsd.edu/LyX/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
--2018-02-16 19:08:04--
ftp://ftp.ucsd.edu/LyX/devel/lyx-2.3/lyx-2.3.0rc2/LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg
   => ‘LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg.1’
Resolving ftp.ucsd.edu (ftp.ucsd.edu)... 2607:f720:300:202::12, 132.239.1.12
Connecting to ftp.ucsd.edu (ftp.ucsd.edu)|2607:f720:300:202::12|:21...
connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /LyX/devel/lyx-2.3/lyx-2.3.0rc2 ... done.
==> SIZE LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg ... 135668328
==> EPSV ... done.==> RETR LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg ... done.
Length: 135668328 (129M) (unauthoritative)

LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg.1
 
100%[=>]
129.38M  9.55MB/sin 16s

2018-02-16 19:08:21 (8.11 MB/s) - ‘LyX-2.3.0rc2+qt5-x86_64-cocoa.dmg.1’
saved [135668328]


real 0m16.831s
user 0m0.114s
sys 0m0.553s


Re: lyx-2.3.1beta-1

2018-01-31 Thread Joel Kulesza
On Wed, Jan 31, 2018 at 9:11 AM, Uwe Stöhr  wrote:

> Am 31.01.2018 um 10:31 schrieb Wolfgang Engelmann:
>
>> 2- How do I use the tar.xz.sig file in respect to the tar.xz?
>>
>
> This is the signature file to check if the file you downloaded was not
> modified.
>

Uwe described what the file is, but how it is used is summarized here:
http://www.lyx.org/Download#toc11  

- Joel


Re: Using algorithm2e with Package Options, Recommended Approach?

2018-01-30 Thread Joel Kulesza
On Tue, Jan 30, 2018 at 4:06 PM, Paul A. Rubin  wrote:
>
> Does the attached module do what you want (or show the way)? I just moved
> all the preamble stuff from your MWE into a hacked version of Jürgen's
> module. Feel free to change the name from "MyAlgorithm2e". Imagination is
> in short supply at the moment.


Paul,

Yes, and thanks for digging into this! My main hangup was thinking that I
needed the PackageOptions and AddToPreamble within the float rather than in
the external "module namespace."

Best regards,
Joel


Re: Need to display computer code listings with normal, bold, and strikeout display

2018-01-22 Thread Joel Kulesza
On Mon, Jan 22, 2018 at 11:15 AM,  wrote:

> My web research suggests that lyx on XeTex or LuaTex would enable me to
> select a more appropriate font family. But I hesitate for two reasons:
>
>
>
> 1. Replacing my LaTex system sounds like major surgery with unknown
> consequences
>
> 2. I fear that it might be incompatible with our current book-length *.lyx
> file
>

I've always been a pdflatex user (and still am).  However, I recently
needed to switch fonts in a somewhat complicated document and was able to
do so painlessly and used XeTeX and LuaTeX with equal ease and no
problems.  Have you just tried using them? I don't think you need to
replace what you have, just augment it (if you don't have these already).

- Joel


Re: How to extend a standard layouts

2018-01-20 Thread Joel Kulesza
On Sat, Jan 20, 2018 at 2:58 PM, racoon <xraco...@gmx.de> wrote:

> On 20.01.2018 19:22, Joel Kulesza wrote:
>
>> On Sat, Jan 20, 2018 at 9:30 AM, racoon <xraco...@gmx.de > xraco...@gmx.de>> wrote:
>>
>> By default LyX loads standard layouts and insets. Is there a way to
>> extend them without overwriting the default .inc file and without
>> using a module?
>>
>>
>> Would putting your changes into the Document's Local Layout (and
>> optionally saving as document defaults) be satisfactory?
>>
>
> Thanks. Right that is an option. But that is not ideal either. It would,
> for example, mean that I have to add it to all files I already created.
>

That's true.  However, the way I'd approach it (probably via module
inclusion) is to batch-edit the .lyx files from the command line to update
the already existing ones retroactively.


Re: How to extend a standard layouts

2018-01-20 Thread Joel Kulesza
On Sat, Jan 20, 2018 at 9:30 AM, racoon  wrote:

> By default LyX loads standard layouts and insets. Is there a way to extend
> them without overwriting the default .inc file and without using a module?
>

Would putting your changes into the Document's Local Layout (and optionally
saving as document defaults) be satisfactory?


Re: bbold

2018-01-17 Thread Joel Kulesza
On Wed, Jan 17, 2018 at 8:48 AM, Patrick Dupre  wrote:

> The problem is that you can use the package
> bbold (usepackake{}) which provides different different
> characters.
> Then the displayed characters are different from the printed one (with
> pdflatex).
>

An earlier related discussion that may be of interest:
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg105030.html


  1   2   >