Re: hyphen for range

2021-04-07 Thread Neal Becker
Yes thanks that does appear to work.

On Tue, Apr 6, 2021 at 11:13 AM Bernt Lie  wrote:
>
> As... "1--2 days". Doesn't that work?
>
> -B
>
> -Original Message-
> From: lyx-users  On Behalf Of Neal Becker
> Sent: Tuesday, April 6, 2021 5:10 PM
> To: LyX Users List 
> Subject: hyphen for range
>
> As I recall in LaTeX there are 3 different hyphen marks which are written as 
> '-', '--', and '---'.  The 2nd one is for a range as in 1--2 days.  How is 
> this entered in lyx?
>
> Thanks,
> Neal
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.lyx.org%2Fmailman%2Flistinfo%2Flyx-usersdata=04%7C01%7CBernt.Lie%40usn.no%7Cb157b7ae3b984dc0e67c08d8f90e2953%7Cbc758dd0ab5343729a7ce98a9620862c%7C0%7C0%7C637533187032130499%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000sdata=JBLlGOmDjuJGpX5hE226BQGlLbYugxgaabGy6UkohJY%3Dreserved=0



-- 
Those who don't understand recursion are doomed to repeat it
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


hyphen for range

2021-04-06 Thread Neal Becker
As I recall in LaTeX there are 3 different hyphen marks which are
written as '-',
'--', and '---'.  The 2nd one is for a range as in 1--2 days.  How is
this entered in lyx?

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


Re: blurish pdf figure

2021-03-15 Thread Neal Becker
Doesn't rsvg-covert output raster, which would be lower quality than
inkscape vector output?

On Mon, Mar 15, 2021, 1:44 PM Dr Eberhard W Lisse  wrote:

> That should read SVG of course.
>
> LyX finds rsvg-convert on the Mac when libsvg is installed, which
> has a smaller footprint than inkscape and very good qualitywise.
>
> greetings, el
>
> On 2021-03-15 19:29 , Dr Eberhard W Lisse wrote:
>  > Wolfgang,
>  >
>  > make it export SVGA and use that :-0-O
>  >
>  > el
> [...]
>
> --
> 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: beamer dual

2021-03-03 Thread Neal Becker
Yes I've used impressive.  I don't think it meets my requirements for
presenting from home: the screen to present and the screen with the
notes are in 2 different X windows, so I can share one of them.

On Wed, Mar 3, 2021 at 1:40 PM Paul A. Rubin  wrote:
>
> I've used (and been quite happy with) Impressive on Linux. It's written in 
> Python.
>
> Paul
>
> On 3/3/21 9:31 AM, Patrick Dupre wrote:
>
> Thanks, but under Linux?
>
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>  Tel: +33 (0)380395988
> ===
>
>
> Sent: Wednesday, March 03, 2021 at 12:30 PM
> From: "Dr Eberhard Lisse" 
> To: lyx-users@lists.lyx.org
> Subject: Re: beamer dual
>
> On the Mac you can use slidepilot.
>
> el
>
> On 03/03/2021 13:16, Patrick Dupre wrote:
>
> Hello,
>
> I am preparing a short presentation for a colleague.  I would like to
> have the regular slides on the standard screen, and on an auxiliary
> screen, the notes/text that he could use.  Or at least to have the
> "notes" attached to the slide, but not visible during the
> presentation.
>
> Is it possible?
>
> Thanks
>
> [...]
>
>
>
> --
> To email me replace 'nospam' with 'el'
>
> --
> 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



-- 
Those who don't understand recursion are doomed to repeat it
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: beamer dual

2021-03-03 Thread Neal Becker
*I prefer pympress because we are mostly working from home and we want
to present over internet.  pympress makes the notes window a separate
window on my display.  So I can share the main window while I view the
notes window.  Just what I need!

You may be missing one of more of these in the preamble.  You don't
need more than the first 3, the others are my customizations.  There
is a manual for pympress.

\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}
%\setbeamertemplate{note page}[compress]
\setbeamerfont{note page}{size=\tiny}
\addtobeamertemplate{note page}{\setbeamerfont{itemize/enumerate
subbody}{size=\tiny}}{}
\addtobeamertemplate{note page}{\setbeamerfont{itemize/enumerate
subsubbody}{size=\tiny}}{}

On Wed, Mar 3, 2021 at 12:04 PM Patrick Dupre  wrote:
>
> Yes,
> I installed Pympress.
> But, I anticipated that the NoteItem or \note[item]  (beamer)
> would be the visible in "Annotations" (Pympress)
> But it is not the case.
>
> What am I missing?
>
> Thanks.
>
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>  Tel: +33 (0)380395988
> ===
>
>
> > Sent: Wednesday, March 03, 2021 at 5:03 PM
> > From: "Neal Becker" 
> > To: e...@lisse.na
> > Cc: "LyX Users List" 
> > Subject: Re: beamer dual
> >
> > IIRC I've also use dspdfviewer, but pympress is python and should be
> > quite portable
> >
> > On Wed, Mar 3, 2021 at 9:58 AM  wrote:
> > >
> > > Patrick,
> > >
> > > Neal recommended pympress. So try that. Google for the website there are 
> > > packages around.
> > >
> > > el
> > >
> > > —
> > > Sent from Dr Lisse’s iPhone
> > > On 3 Mar 2021, 16:36 +0200, Patrick Dupre , wrote:
> > >
> > > Thanks, but under Linux?
> > >
> > > ===
> > > Patrick DUPRÉ | | email: pdu...@gmx.com
> > > Laboratoire interdisciplinaire Carnot de Bourgogne
> > > 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> > > Tel: +33 (0)380395988
> > > ===
> > >
> > >
> > > Sent: Wednesday, March 03, 2021 at 12:30 PM
> > > From: "Dr Eberhard Lisse" 
> > > To: lyx-users@lists.lyx.org
> > > Subject: Re: beamer dual
> > >
> > > On the Mac you can use slidepilot.
> > >
> > > el
> > >
> > > On 03/03/2021 13:16, Patrick Dupre wrote:
> > >
> > > Hello,
> > >
> > > I am preparing a short presentation for a colleague. I would like to
> > > have the regular slides on the standard screen, and on an auxiliary
> > > screen, the notes/text that he could use. Or at least to have the
> > > "notes" attached to the slide, but not visible during the
> > > presentation.
> > >
> > > Is it possible?
> > >
> > > Thanks
> > >
> > > [...]
> > >
> > >
> > >
> > > --
> > > To email me replace 'nospam' with 'el'
> > >
> > > --
> > > 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
> >
> >
> >
> > --
> > Those who don't understand recursion are doomed to repeat it
> > --
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> >



-- 
Those who don't understand recursion are doomed to repeat it
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: beamer dual

2021-03-03 Thread Neal Becker
IIRC I've also use dspdfviewer, but pympress is python and should be
quite portable

On Wed, Mar 3, 2021 at 9:58 AM  wrote:
>
> Patrick,
>
> Neal recommended pympress. So try that. Google for the website there are 
> packages around.
>
> el
>
> —
> Sent from Dr Lisse’s iPhone
> On 3 Mar 2021, 16:36 +0200, Patrick Dupre , wrote:
>
> Thanks, but under Linux?
>
> ===
> Patrick DUPRÉ | | email: pdu...@gmx.com
> Laboratoire interdisciplinaire Carnot de Bourgogne
> 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> Tel: +33 (0)380395988
> ===
>
>
> Sent: Wednesday, March 03, 2021 at 12:30 PM
> From: "Dr Eberhard Lisse" 
> To: lyx-users@lists.lyx.org
> Subject: Re: beamer dual
>
> On the Mac you can use slidepilot.
>
> el
>
> On 03/03/2021 13:16, Patrick Dupre wrote:
>
> Hello,
>
> I am preparing a short presentation for a colleague. I would like to
> have the regular slides on the standard screen, and on an auxiliary
> screen, the notes/text that he could use. Or at least to have the
> "notes" attached to the slide, but not visible during the
> presentation.
>
> Is it possible?
>
> Thanks
>
> [...]
>
>
>
> --
> To email me replace 'nospam' with 'el'
>
> --
> 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



-- 
Those who don't understand recursion are doomed to repeat it
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: beamer dual

2021-03-03 Thread Neal Becker
I recommend pympress

On Wed, Mar 3, 2021 at 6:30 AM Dr Eberhard Lisse  wrote:
>
> On the Mac you can use slidepilot.
>
> el
>
> On 03/03/2021 13:16, Patrick Dupre wrote:
> > Hello,
> >
> > I am preparing a short presentation for a colleague.  I would like to
> > have the regular slides on the standard screen, and on an auxiliary
> > screen, the notes/text that he could use.  Or at least to have the
> > "notes" attached to the slide, but not visible during the
> > presentation.
> >
> > Is it possible?
> >
> > Thanks
> [...]
>
>
>
> --
> To email me replace 'nospam' with 'el'
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users



-- 
Those who don't understand recursion are doomed to repeat it
-- 
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 Neal Becker
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.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Large delimiters, multiline equations

2021-01-22 Thread Neal Becker
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*}


-- 
Those who don't understand recursion are doomed to repeat it
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: picture environment

2021-01-15 Thread Neal Becker
I would recommend use diagrams.net.  You can use latex or asciimath.
Export as pdf.

On Fri, Jan 15, 2021 at 1:35 PM Paul A. Rubin  wrote:

> On 1/15/21 1:21 PM, Joe Babb wrote:
>
> I am trying to use Lyx to document some math and electronics and I need to
> place a block diagram into my document.  I can draw the diagram in a
> separate program and insert the jpg into Lyx, but what I'd rather do is
> draw it directly in Lyx and be able to place Greek characters in each box.
> I used to use Latex years ago and have the fourth edition of Guide to
> Latex which talks about the picture environment.  But I find no picture
> environment in Lyx.  I read on the Internet about typing an M-x somewhere
> to get to insert commands directly but can't get that to work.  I keep
> wanting to work in the code preview pane to insert Latex code directly but
> can't.  Is it possible at all in Lyx to to a block diagram?
> thanks,
> Joe
>
> First, to insert "raw" LaTeX into a LyX document, use Insert > TeX Code,
> the default shortcut for which is Ctrl+L.
>
> As for drawing diagrams, if you want to use Xy-Pic, there is a manual on
> how to do that in LyX (Help > Specific Manuals > XY-Pic. Other
> possibilities (doubtless among many) are to use the pstricks or tikz LaTeX
> packages. Each comes with its own learning curve. I have directly embedded
> tikz commands in LyX documents to produce diagrams, including flowcharts.
>
> Paul
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


beamer cross reference to subsection

2020-12-30 Thread Neal Becker
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?

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX layouts for IEEE Open Journals

2020-12-22 Thread Neal Becker
Please report your results, I will probably need this soon as well.

On Tue, Dec 22, 2020, 11:34 AM Richard Kimberly Heck 
wrote:

> On 12/22/20 4:58 AM, list_em...@icloud.com wrote:
> > The Institute of Electrical and Electronics Engineers (IEEE) has a
> series of new ‘open” journals which use a different Tex format than other
> IEEE journals.
> >
> > A superficial inspection shows that the main difference is that the
> abstract and index terms span the entire width of the page whereas the
> traditional format confines those elements to a column width in the
> two-column format.
> >
> > Does anyone know of a LyX layout or template for IEEE open journals?
> >
> > The IEEE LaTex templates are a few clicks away from this text, "IEEE
> article templates,” on this page:
> https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/
>
> I do not know, but here's an easy experiment: Copy the IEEEtran.layout
> file into your local LyX layout directory (e.g., $HOME/.lyx/layouts/,
> for me). Now rename it to whatever the name of the new class file is and
> try importing one of their new LaTeX templates. If the changes are as
> minor as you suggest, that should just work. Possibly a few small tweaks
> will be needed, but someone who actually uses this layout will be best
> placed to do that.
>
> Riki
>
>
> --
> 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: beamer notes support?

2020-12-04 Thread Neal Becker
pympress is particularly nice because:
python!
automatically detects notes
puts notes in a separate window, just what I want for online presentation

On Fri, Dec 4, 2020 at 12:57 PM Paul A. Rubin  wrote:

> On 12/4/20 1:38 AM, Dr Eberhard W Lisse wrote:
>
> Slightly off topic, but prompted by BeamerNotes, on the Mac there is the
> marvelous SlidePilot PDF viewer
>
>   https://slidepilotapp.com/en/
>
> which has a little iOS companion (to drive the presentation on screen)
> and specifically supports BeamerNotes.  It took me 5 minutes of
> experimenting to get them to work from my usual LyX template, not having
> used them before.
>
> This is an impressive piece of software.
>
> And the author is responsive to suggestions (my next one being that the
> iOS App should be able to drive the pointer on the main screen like a
> laser pointer).
>
> greetings, el
>
>
>
> My personal favorite is Impressive 
> (literally -- that's its name).
>
> Paul
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: beamer notes support?

2020-12-04 Thread Neal Becker
I've been trying pympress and I am very impressed!

On Fri, Dec 4, 2020, 11:49 AM Jürgen Spitzmüller  wrote:

> Am Donnerstag, dem 03.12.2020 um 22:53 -0800 schrieb John White:
> > So, what to do? Not knowing much of Beamer and nothing of Apple.  I
> > open the
> > url and it asks me to open or save.  When I open it I get an ad for
> > Slide
> > Pilot.  Where does my debian buster system fit in here?
>
> For Linux, use pdfpc (I think that Mac app is basically a clone of
> pdfpc):
>
> https://pdfpc.github.io/
>
> Jürgen
>
> --
> 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: hypersetup code in preamble causing problems with beamer notes

2020-12-02 Thread Neal Becker
Sorry, that's:
document settings > pdf properties > check "customize hyperref options"

On Wed, Dec 2, 2020 at 2:41 PM Neal Becker  wrote:

> I get this artifact if I change document settings > pdf properties > check
> "customize pdf options".  Don't set anything else here, although
> "Automatically fill header" is checked for me.
>
> This gives me the rectangle:
>
> On Wed, Dec 2, 2020 at 1:57 PM Paul A. Rubin  wrote:
>
>> On 12/2/20 11:05 AM, Neal Becker wrote:
>>
>> lyx-2.3.6
>>
>> I'm trying beamer with metropolis theme.  So to preamble I added:
>>
>> \usetheme[numbering=fraction,titleformat=smallcaps]{metropolis}
>>
>> I want notes on 2nd screen, so I added
>>
>> \usepackage{pgfpages}
>>
>> \setbeameroption{show notes}
>>
>> \setbeameroption{show notes on second screen=right}
>>
>> When I do this, I get a gray rectangle at the top of each page.  I
>> exported the latex code, and found
>> commenting out this section of code inserted by lyx fixed the issue:
>>
>> %% \ifx\hypersetup\undefined
>> %%   \AtBeginDocument{%
>> %% \hypersetup{unicode=true,pdfusetitle,
>> %%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
>> %%  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false}
>> %%   }
>> %% \else
>> %%   \hypersetup{unicode=true,pdfusetitle,
>> %%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
>> %%  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false}
>> %% \fi
>>
>> Any ideas what is the right way to fix this, and maybe what is the cause?
>>
>> Thanks,
>> Neal
>>
>> A gray rectangle across the entire top, or on the same side as the slide,
>> or a gray rectangle just on the right (the speaker notes side), which is
>> expected. I've attached a MWE, and to me the PDF is as it should be.
>> --
>> lyx-users mailing list
>> lyx-users@lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>
>
>
> --
> *Those who don't understand recursion are doomed to repeat it*
>


-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


reuse open pdf viewer

2020-12-02 Thread Neal Becker
When I use evince, each view re-uses the existing evince viewer instance.

I'm experimenting with pympress, which seems really nice for beamer
presentation.  Each time I view the pdf, a new pympress window is created.
How is it arranged that evince will reuse the existing window, and how
might I convince pympress to do the same?

Thanks
Neal

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: beamer notes support?

2020-12-02 Thread Neal Becker
Thanks!  I see now that there is Insert > Custom inset > Beamer Note, and
there is also Noteitem layout.  Seems odd that these two
options are in entirely different menus.

On Wed, Dec 2, 2020 at 12:09 PM Scott Kostyshak  wrote:

> On Wed, Dec 02, 2020 at 11:17:07AM -0500, Neal Becker wrote:
> > Is there any direct support for beamer notes, or do we need to use ERT?
>
> Is Insert > Custom inset > Beamer Note what you're looking for?
>
> Scott
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


beamer notes support?

2020-12-02 Thread Neal Becker
Is there any direct support for beamer notes, or do we need to use ERT?

Thanks,
Neal

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


hypersetup code in preamble causing problems with beamer notes

2020-12-02 Thread Neal Becker
lyx-2.3.6

I'm trying beamer with metropolis theme.  So to preamble I added:

\usetheme[numbering=fraction,titleformat=smallcaps]{metropolis}


I want notes on 2nd screen, so I added


\usepackage{pgfpages}

\setbeameroption{show notes}

\setbeameroption{show notes on second screen=right}


When I do this, I get a gray rectangle at the top of each page.  I exported
the latex code, and found
commenting out this section of code inserted by lyx fixed the issue:

%% \ifx\hypersetup\undefined
%%   \AtBeginDocument{%
%% \hypersetup{unicode=true,pdfusetitle,
%%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
%%  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false}
%%   }
%% \else
%%   \hypersetup{unicode=true,pdfusetitle,
%%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
%%  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false}
%% \fi

Any ideas what is the right way to fix this, and maybe what is the cause?

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


beamer \footfullcite multiple references

2020-11-19 Thread Neal Becker
When using beamer+biblatex, I'd like to have a \footfullcite with multiple
references.  What I get is a single footnote, written like:
citation1 << just imagine this is a superscript
1 In: xyx In pdq

What I'd like is
citation 1,2
1 In: xyz
2 In: pdq

If I try inserting 2 separate citations in sequence
citation 1 citation 2
The formatting in the text is
citation 12
1: In: xyz
2: In: pdq
Which is almost what I want, except the footnotemark says "12", instead of
"1,2"

Any ideas?
Thanks
Neal

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


labeling environment + beamer

2020-11-18 Thread Neal Becker
I saw in the User's Manual the labeling environment as an enhanced
Description, and thought I'd try it.  In my beamer document I don't see
labeling as one of the choices under lists.  Is it not compatible with
beamer or am I missing something?

Thanks,
Neal

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Simplify complex graph from matplotlib

2020-10-02 Thread Neal Becker
True, bitmap formats may take less memory, but I don't usually want them
for publication quality documents.
For now I just re-ran the matplotlib plots decimating the points.

On Thu, Oct 1, 2020 at 8:40 PM Murat Yildizoglu  wrote:

> Hello Neal, I flatten such graphics by converting them to PNG. They take
> less memory as such.
>
> --
>
> Prof. Murat Yildizoglu
> Advisor to the Minister of Education, Youth and Sports of Cambodia
> Expertise France
>
> On leave from:
> UNIVERSITE DE BORDEAUX
> GREThA (UMR CNRS 5113)
>
> web: www.yildizoglu.fr
>
> Le 2 oct. 2020 à 02:46, Neal Becker  a écrit :
>
> 
> Don't know if this is more appropriate for lyx or mpl.  I have a couple of
> graphs with a large number of points.  They were exported from matplotlib
> as pdf, and produced large files.  After including in lyx, the resulting
> pdf takes a long time to load.
>
> The plots don't really need so many points at all.  Other than going back
> to the mpl source to plot fewer points, is there a way to fix this?
>
> Thanks,
> Neal
>
> --
> *Those who don't understand recursion are doomed to repeat it*
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Simplify complex graph from matplotlib

2020-10-01 Thread Neal Becker
Don't know if this is more appropriate for lyx or mpl.  I have a couple of
graphs with a large number of points.  They were exported from matplotlib
as pdf, and produced large files.  After including in lyx, the resulting
pdf takes a long time to load.

The plots don't really need so many points at all.  Other than going back
to the mpl source to plot fewer points, is there a way to fix this?

Thanks,
Neal

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: bibliographic software (linux only)

2020-09-13 Thread Neal Becker
I'll just warn you that last time I tried  biblatex with ieee the spacing
looked wrong, bibliography took to much space

On Sat, Sep 12, 2020, 4:04 PM Rich Shepard  wrote:

> On Sat, 12 Sep 2020, V K wrote:
>
> > I'm historian, so never used this style – I need verbose ones (and even
> > heavily modified one of them). So can said nothing about this style.
> > Biblatex uses biber, so I think this is correct.
>
> Valdemaras,
>
> The biblatex.pdf says it's tied to biber, but also mentions the two other
> LyX options. I assumed that biber is preferred so I'm going with that.
>
> Thanks,
>
> 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


Just an \fbox please

2020-08-01 Thread Neal Becker
I want some text in a box.  Using ERT, I can write \fbox{my text} and I get
the result I wanted, a box just around my text.  But if I choose
insert/box, I don't see  an option for betting a box with a frame that is
just the size of my text, only options to manually choose a size.

Thanks,
Neal

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx icon?

2020-07-02 Thread Neal Becker
I believe you are correct, I have noticed the yellow circle with W icon on
several other apps running on kde/wayland.

I tested the version from lyx-next, and in 1 quick test, running on
kde/wayland I see lyx icon; so it appears to fix the issue, at least for
lyx.

Thanks,
Neal

On Thu, Jul 2, 2020 at 3:33 PM Jean-Marc Lasgouttes 
wrote:

> Le 02/07/2020 à 20:00, José Abílio Matos a écrit :
> > I rebuilt lyx-2.3.5.2 with just this patch applied.
> >
> > https://copr.fedorainfracloud.org/coprs/jamatos/lyx-next/
> >
> > TLDR;
> > dnf copr enable jamatos/lyx-next
> > dnf upgrade lyx
> >
> > If this works I will update the Fedora packages.
>
> Thanks José. I updated the ticket.
>
> JMarc
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Lyx icon?

2020-06-22 Thread Neal Becker
I've noticed on lyx-2.3.5 (Fedora32) that the Icon for lyx looks like a
yellow
circle with a which W.  What's this?

-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Too large space before cross-references?

2020-04-05 Thread Neal Becker
In my opinion a full space is proper here, although I'd usually put a tie.
Usually want to prevent line break before a number.

On Sat, Apr 4, 2020, 2:11 PM Bernd  wrote:

> I have the feeling that there is a too large space before cross-references.
>
> In "see table 1.1", table and 1 should be set with a half space, not a
> full space.
>
> Of course I can set it manually every time, but I would prefer a more
> integrated solution...
>
> Anybody has this issue?
>
> --
> 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


Import utf-8 encoded latex

2019-11-18 Thread Neal Becker
I'm trying to import a latex table that is in utf-8 and includes some non-ascii
(specifically, the π character).

When I try to import to lyx, this character is mangled.

If I run tex2lyx manually I get the same result.

Both emacs and 'file' say my latex is utf-8.

Any ideas?

Thanks,
Neal

-- 
Those who don't understand recursion are doomed to repeat it
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


lyx crash on latex export

2019-10-22 Thread Neal Becker
I get a repeatable crash on latex export.  Quite unfortunate since
that's the only way to debug latex errors.

Error: Software exception Detected

LyX has caught an exception, it will now attempt to save all unsaved
documents and exit.

Exception: std::exception
Buffer.cpp (1601):   /home/nbecker/itri_sls/vtc2020.lyx.emergency
KCrash: Application 'lyx' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


export to latex not working

2019-10-22 Thread Neal Becker
My document compiles fine within LyX, but export to LaTeX is not
working (lyx-2.3.3).

Specifically,
export / latex (lualatex)

[3<./system_simulation_block_diagram-2-crop.pdf>](load luc: /home/nbecker/.texl
ive2018/texmf-var/luatex-cache/generic/fonts/otl/lmroman6-bold.luc)
! Missing $ inserted.

$
l.440 }

?
! Package luatex.def Error: File `"20191022_Fig3(a) and Fig3(b)/jpg/Fig_1(a)_Gr
ant-based transmission for SCMA".jpg' not found: using draft setting.

See the luatex.def package documentation for explanation.
Type  H   for immediate help.
 ...

l.440 }

?

The 1st error, missing $ inserted, suggests to me that some file name
was not quoted correctly?  Yet, when processed within LyX there is no
error message.

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


export to dvi (luatex) not working

2019-10-22 Thread Neal Becker
I'm running LyX-2.3.3

I'm producing an IEEE conference paper (due 10/31).  I can view pdf
from LyX fine.  But if I try to produce dvi, using
export dvi(luatex), the result causes errors when run through dvipdfmx.

 dvipdfmx vtc2020.dvi
vtc2020.dvi -> vtc2020.pdf
[1
dvipdfmx:warning: Unparsed material at end of special ignored.

Current input buffer is -->! systemdict /pdfmark known{userdict
/?pdfmark sys...<--

dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(72, 720)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin [/Producer (dvips +
Distiller)/Title ()/Subje..."
dvipdfmx:warning: >> Reading special command stopped around >>begin
[/Producer (dvips + Distiller)/Title ()/Subject ()/Cre...<<
dvipdfmx:warning: Unparsed material at end of special ignored.

Current input buffer is -->! /DvipsToPDF{72.27 mul Resolution div}
def/PDFToD...<--

dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(72, 720)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin /product where{pop
product(Distiller)search{p..."
dvipdfmx:warning: >> Reading special command stopped around >>begin
/product where{pop product(Distiller)search{pop pop po...<<
dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(47.9639, 776.47)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin H.S end"
dvipdfmx:warning: >> Reading special command stopped around >>begin H.S end<<
dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(47.9639, 776.47)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin H.R end"
dvipdfmx:warning: >> Reading special command stopped around >>begin H.R end<<
dvipdfmx:warning: Unknown token "SDict"
dvipdfmx:warning: Interpreting PS code failed!!! Output might be broken!!!
dvipdfmx:warning: Interpreting special command ps: (ps:) failed.
dvipdfmx:warning: >> at page="1" position="(47.9639, 776.47)" (in PDF)
dvipdfmx:warning: >> xxx "ps:SDict begin [/View [/XYZ H.V]/Dest
(page.1) cvn /DEST pdf..."
dvipdfmx:warning: >> Reading special command stopped around >>begin
[/View [/XYZ H.V]/Dest (page.1) cvn /DEST pdfmark end<<
dvipdfmx:fatal: Unable to find TFM file "[lmroman17-regular]:+tlig;".

Output file removed.

I believe this is the method I've used before to submit to IEEE
(export to dvi, which produces dvi + eps figures), and that the result
I can verify by running dvipdfmx.

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


How to get dvi + eps output?

2019-07-19 Thread Neal Becker
I know I did this before but forgot how.
For IEEE conference I need to submit DVI + EPS figures.  I got the dvi 
output (export dvi) but not the eps converted figures.

Thanks,
Neal



why no pandoc export options?

2019-06-28 Thread Neal Becker
I'm looking here:

https://wiki.lyx.org/Tips/ExportingOpenDocumentLibreofficeOpenofficeAndOfficeOpenXMLMSWordWithPandoc#trouble

I'm using lyx-2.3.2-3.fc30.x86_64 fedora 30 linux.
I have pandoc
pandoc -v
pandoc 2.2.1
Compiled with pandoc-types 1.17.5.4, texmath 0.11.1.2, skylighting 0.7.5

Under export, I don't see any options to export to MS Word XML, or anything 
like that.  According to the above link, pandoc should have been detected 
during reconfig and I shouldn't need to do any further setup.

Any ideas?

Thanks,
Neal




Re: lyx keeps resetting bibliography style to plain

2019-06-24 Thread Neal Becker
Neal Becker wrote:

> Using lyx-2.3.2 (fedora 30 linux).
> 
> I'm writing IEEE doc (conf.).  I set default bibtex style to ieeetr (or
> IEEEtr).  But if I export latex, it says
> \bibliographystyle{plain}
> and of course produces the wrong results.
> Using plain old bibtex.
Answering my own question,
I see that in document/settings/bibliography, changing "default bibtex 
style" actually changes the *default* bibtex style.  I needed to click on 
the item "Bibtex generated bibliography" in the document itself and change 
that to ieeetr (was plain).



lyx keeps resetting bibliography style to plain

2019-06-24 Thread Neal Becker
Using lyx-2.3.2 (fedora 30 linux).

I'm writing IEEE doc (conf.).  I set default bibtex style to ieeetr (or 
IEEEtr).  But if I export latex, it says
\bibliographystyle{plain}
and of course produces the wrong results.
Using plain old bibtex.



Re: citations out of order??

2019-06-21 Thread Neal Becker
Jürgen Spitzmüller wrote:

> Am Donnerstag, den 20.06.2019, 15:08 -0400 schrieb Neal Becker:
>> I'm writing IEEEtrans (conference) paper.  For some reason, the 1st
>> citation
>> is labelled [4].  The following citations are in order starting with
>> [1].
>> What's going on?  The latex code just says \cite{whatever}.
> 
> Which bst style is this? Normally, the numbering follows the alphabetic
> order of the entries in the bibliography, so it is normal that they
> appear "unordered" in the text. If you want to number them as they are
> cited, use an "unsrt" style.
> 
> Jürgen

It's an IEEE conf paper, so ieeetr style.



citations out of order??

2019-06-20 Thread Neal Becker
I'm writing IEEEtrans (conference) paper.  For some reason, the 1st citation 
is labelled [4].  The following citations are in order starting with [1].  
What's going on?  The latex code just says \cite{whatever}.
Any ideas?



Re: beamer - list too deeply nested

2019-05-20 Thread Neal Becker
Guenter Milde wrote:

> On 2019-05-20, Neal Becker wrote:
>> Does lyx offer any solution to 'too deeply nested' for beamer + itemize?
>> itemize allows just 3 levels.
> 
> You may try the "enumitem" module and customize the lists, but it is
> possible that this will not help because of a clash with the beamer list
> redefinitions.
> 
> Then, changing your lists to not use so many levels or using simple
> paragraphs on excessively nested parts is the only way out that I know of.
> 
> Günter
This worked:

\usepackage{enumitem}
\setlistdepth{9}

\setlist[itemize,1]{label=\textbullet}
\setlist[itemize,2]{label=\textbullet}
\setlist[itemize,3]{label=\textbullet}
\setlist[itemize,4]{label=\textbullet}
\setlist[itemize,5]{label=\textbullet}
\setlist[itemize,6]{label=\textbullet}
\setlist[itemize,7]{label=\textbullet}
\setlist[itemize,8]{label=\textbullet}
\setlist[itemize,9]{label=\textbullet}

\renewlist{itemize}{itemize}{9}



beamer - list too deeply nested

2019-05-20 Thread Neal Becker
Does lyx offer any solution to 'too deeply nested' for beamer + itemize?
itemize allows just 3 levels.

Thanks,
Neal



Re: Breaking long URL

2019-01-03 Thread Neal Becker
Michael Berger wrote:

> How about this one!?
> 
> Michael Berger
> 
> On 02.01.19 20:10, Léo Rebetez wrote:
>>
>> Hi,
>>
>> I'm new on lyx, I'll use it mainly for publishing books. I'm searching
>> how to break a too long url like this one:
>>
>> http://www.guardian.co.ukuk2012jun12policestopandsearchblackpeople
>>
>> I wrote it in my preamble:
>>
>> \hyphenpenalty=1
>>
>> \tolerance=1000
>>
>> \emergencystretch=10mm
>>
>> \righthyphenmin=4
>>
>> \lefthyphenmin=4
>>
>> \usepackage[ec]{aeguill}
>>
>> \widowpenalty=1
>>
>> \clubpenalty=1
>>
>> \usepackage{hyperref}
>>
>> \usepackage[anythingbreaks]{breakurl}
>>
>> \hypersetup{breaklinks=true}
>>
>> \urlstyle{same}
>>
>> \usepackage{cite}
>>
>> I found nothing giving me an understandable way to solve this problem,
>> maybe somebody can help me??
>>
>> Thanks a lot,
>>
>> léo, CH
>>
I also found this thread:
https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url



Re: New CC Book about LyX (PDF)

2018-10-04 Thread Neal Becker
Ricardo Berlasso wrote:

> El jue., 4 oct. 2018 a las 2:21, John Kane ()
> escribió:
> 
>> Lovely book. I am up to about page 53 and it has remind me of things I
>> have forgotten and taught me a number of new things.
>>
>> I second Steve Litt's comment about the language. Very easy to read and
>> does not--at least so far need any English editing. It would be nice if
>> 90% of the native English speakers I know wrote as well.
>>
> 
> Thanks John! I was worried about the language, now I'm starting to feel
> proud of myself! :)
> 
> Regards,
> Ricardo
> 
> 
> 
>> On Wed, 3 Oct 2018 at 14:54, Steve Litt 
>> wrote:
>>
>>> On Wed, 3 Oct 2018 11:19:05 -0400
>>> Scott Kostyshak  wrote:
>>>
>>> > On Wed, Oct 03, 2018 at 03:59:44AM -0400, Steve Litt wrote:
>>> >
>>> > > but LyX' html and xhtml exporters
>>> > > export pidgeon xhtml and html that requires all sorts of human
>>> > > intervention and garbage removal.
>>> >
>>> > Have you reported bugs for this or are all of the bugs covered by
>>> > existing reports? LyX HTML export is slowly improving, especially when
>>> > bugs with minimal examples are reported.
>>>
>>> I reported them on this list, many, many times, and was shouted down as
>>> people priortized just-right rendering of Apple Retina Displays over
>>> any sane way of LyX authoring 21st century flowing text books (ePub,
>>> for instance) without repeated human intervention.
>>>
>>> I was told that the xhtml and html export mechanisms were "just fine"
>>> for ePub. They use different styles for the first paragraph after a
>>> heading, for gosh sakes. They almost completely converted styles to
>>> inline appearance codes so I couldn't customize my ePubs via CSS. The
>>> HTML they put out wasn't WYSIWYM, it was 100% pure fingerpainting. The
>>> files were therefore HUGE.
>>>
>>> Understanding that xhtml/html exports would never be adequate for ePub,
>>> I begged for the transition of LyX's language to well-formed XML to be
>>> completed so I could write my own LyX to ePub converter. No. Too much
>>> work.
>>>
>>> After years of begging and pleading, I created Stylz to author both PDF
>>> and ePub. I am writing two different books written in Stylz.
>>> It's not easy for one developer to develop an authoring tool and write
>>> books at the same time, but I'm doing it. Stylz already renders HTML
>>> beautifully, does ePub pretty darn well, but its rendering in PDF is
>>> defective and needs several repairs.
>>>
>>> I had given up on LyX, because it's important I be able to have one
>>> document render both PDF and *high quality* ePub, without human
>>> intervention. If lwarp can *correctly and semantically* export LyX to
>>> HTML5 *as XML*, I might write the HTML5 to ePub converter and return to
>>> the LyX fold.
>>>
>>> But if you're asking me to report the inadequacies of LyX' html and
>>> xhtml exports for the purpose of ePub, I've done my time. And nobody
>>> cared. And I've moved on.
>>>
>>> SteveT
>>>
>>> Steve Litt
>>> September 2018 featured book: Quit Joblessness: Start Your Own Business
>>> http://www.troubleshooters.com/startbiz
>>>
>>
>>
>> --
>> John Kane
>> Kingston ON Canada
>>

Enjoyed reading this, thanks!
1 minor comment: My procedure for inserting graphics is usually to choose 
scale to 100% columnwidth (or textwidth) for an article.  Usually for beamer 
I'll scale to 85% of textheight, unless there's other text on the page, in 
which case I'll choose perhaps 75% textheight.  I've never used scaling to 
fixed dimensions.

Although your procedure to automatically center graphics is more automatic, 
I simply choose paragraph setting centered before inserting the graphic (and 
if scaled 100% textwidth doesn't matter if it's centered anyway).



\hat{x}_i

2018-06-08 Thread Neal Becker
How do I enter (without using raw TeX) 
\hat{x}_i?

I seem to always end up with \hat{x_i}, which isn't the same (and doesn't 
look correct)



biblatex polyglossia language not set

2017-12-11 Thread Neal Becker
When I try to follow the instructions for using biblatex:
https://wiki.lyx.org/BibTeX/Biblatex

I get an error about polyglossia, default language not set.  I add at the 
beginning of the preamble

\usepackage{polyglossia}
\setdefaultlanguage{english}

I guess biblatex is loading polyglossia, but not setting a default language?



Re: beamer flex frame options

2017-03-06 Thread Neal Becker
Neal Becker wrote:

> Guillaume Munch wrote:
> 
>> Le 06/03/2017 à 19:49, Neal Becker a écrit :
>>> Richard Heck wrote:
>>>
>>>> On 03/06/2017 10:12 AM, Neal Becker wrote:
>>>>> Neal Becker wrote:
>>>>>
>>>>>> Guillaume Munch wrote:
>>>>>>
>>>>>>> Le 06/03/2017 à 14:16, Neal Becker a écrit :
>>>>>>>> I'm trying beamer(flex insets) document option.  I like it, but I
>>>>>>>> don't
>>>>>>>> see any way to set frame options.  Any hints?
>>>>>>> Insert > Frame options ?
>>>>>> AFAICT, if you choose beamer(flex inserts) for document, then there
>>>>>> is no
>>>>>> menu item "(Insert > Frame options)".  This only appears if you
>>>>>> choose "beamer" for document.
>>>>
>>>> You need to use the flex insets with the beamer document class.
>>>> (Unfortunately, there is no way at present to enforce this
>>>> requirement.)
>>>>
>>>> Richard
>>>
>>> So if I use beamer-flex.inc from Guillaume Munch <g...@lyx.org>, then if I
>>> try to insert a frame using insert > custom insets > Frame, there is no
>>> way to
>>> then set frame options.  This can only be done using the lyx standard
>>> way of inserting a frame: choosing Frame from environment dropdown list,
>>> which will
>>> then activate the "Insert > Frame options" option.  Do I understand
>>> correctly?
>> 
>> Strange. Here it works correctly if I use only beamer-flex.layout. The
>> version of beamer-flex.inc you point to correctly defines Argument 3 :
>> "Frame Options". Has the behaviour changed between 2.2 and 2.3?
> 
> Lyx-2.2.2 here.

OK, I figured it out.  You need to move the cursor to just after the frame 
title, then the 'frame options' option will appear in the Insert menu.



Re: beamer flex frame options

2017-03-06 Thread Neal Becker
Guillaume Munch wrote:

> Le 06/03/2017 à 19:49, Neal Becker a écrit :
>> Richard Heck wrote:
>>
>>> On 03/06/2017 10:12 AM, Neal Becker wrote:
>>>> Neal Becker wrote:
>>>>
>>>>> Guillaume Munch wrote:
>>>>>
>>>>>> Le 06/03/2017 à 14:16, Neal Becker a écrit :
>>>>>>> I'm trying beamer(flex insets) document option.  I like it, but I
>>>>>>> don't
>>>>>>> see any way to set frame options.  Any hints?
>>>>>> Insert > Frame options ?
>>>>> AFAICT, if you choose beamer(flex inserts) for document, then there is
>>>>> no
>>>>> menu item "(Insert > Frame options)".  This only appears if you choose
>>>>> "beamer" for document.
>>>
>>> You need to use the flex insets with the beamer document class.
>>> (Unfortunately, there is no way at present to enforce this requirement.)
>>>
>>> Richard
>>
>> So if I use beamer-flex.inc from Guillaume Munch <g...@lyx.org>, then if I
>> try to insert a frame using insert > custom insets > Frame, there is no
>> way to
>> then set frame options.  This can only be done using the lyx standard way
>> of inserting a frame: choosing Frame from environment dropdown list,
>> which will
>> then activate the "Insert > Frame options" option.  Do I understand
>> correctly?
> 
> Strange. Here it works correctly if I use only beamer-flex.layout. The
> version of beamer-flex.inc you point to correctly defines Argument 3 :
> "Frame Options". Has the behaviour changed between 2.2 and 2.3?

Lyx-2.2.2 here.



Re: beamer flex frame options

2017-03-06 Thread Neal Becker
Richard Heck wrote:

> On 03/06/2017 10:12 AM, Neal Becker wrote:
>> Neal Becker wrote:
>>
>>> Guillaume Munch wrote:
>>>
>>>> Le 06/03/2017 à 14:16, Neal Becker a écrit :
>>>>> I'm trying beamer(flex insets) document option.  I like it, but I
>>>>> don't
>>>>> see any way to set frame options.  Any hints?
>>>> Insert > Frame options ?
>>> AFAICT, if you choose beamer(flex inserts) for document, then there is
>>> no
>>> menu item "(Insert > Frame options)".  This only appears if you choose
>>> "beamer" for document.
> 
> You need to use the flex insets with the beamer document class.
> (Unfortunately, there is no way at present to enforce this requirement.)
> 
> Richard

So if I use beamer-flex.inc from Guillaume Munch <g...@lyx.org>, then if I try 
to insert a frame using insert > custom insets > Frame, there is no way to 
then set frame options.  This can only be done using the lyx standard way of 
inserting a frame: choosing Frame from environment dropdown list, which will 
then activate the "Insert > Frame options" option.  Do I understand 
correctly?



Re: beamer flex frame options

2017-03-06 Thread Neal Becker
Neal Becker wrote:

> Guillaume Munch wrote:
> 
>> Le 06/03/2017 à 14:16, Neal Becker a écrit :
>>> I'm trying beamer(flex insets) document option.  I like it, but I don't
>>> see any way to set frame options.  Any hints?
>> 
>> Insert > Frame options ?
> 
> AFAICT, if you choose beamer(flex inserts) for document, then there is no
> menu item "(Insert > Frame options)".  This only appears if you choose
> "beamer" for document.

Sorry I should be clear, I'm using beamer-flex from:
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg102752.html



Re: beamer flex frame options

2017-03-06 Thread Neal Becker
Guillaume Munch wrote:

> Le 06/03/2017 à 14:16, Neal Becker a écrit :
>> I'm trying beamer(flex insets) document option.  I like it, but I don't
>> see any way to set frame options.  Any hints?
> 
> Insert > Frame options ?

AFAICT, if you choose beamer(flex inserts) for document, then there is no 
menu item "(Insert > Frame options)".  This only appears if you choose 
"beamer" for document.



beamer flex frame options

2017-03-06 Thread Neal Becker
I'm trying beamer(flex insets) document option.  I like it, but I don't see
any way to set frame options.  Any hints?


Re: possible issue with newtxmath?

2017-01-20 Thread Neal Becker
Guenter Milde wrote:

> On 2017-01-20, Neal Becker wrote:
>> Guenter Milde wrote:
>>> On 2017-01-19, Neal Becker wrote:
>>>> Neal Becker wrote:
> 
>>>>> http://mirrors.ibiblio.org/CTAN/fonts/newtx/doc/newtxdoc.pdf
> 
>>>>> The package invoked by
>>>>> \usepackage{newtxmath}
>>>>> loads the math part of the txfonts (with revised metrics and
>>>>> additional glyphs) and should be loaded after
>>>>> the text font and its encoding have been specified, as it uses the
>>>>> text font settings to define how operators,
>>>>> numbers, math accents, \mathrm, \mathbf etc. are rendered
> 
>>>>> But if I select
>>>>> document/settings/fonts/Math: Times Roman (New TX)
> 
>>>>> Generated TeX says:
>>>>> \documentclass[american,journal,comsoc]{IEEEtran}
>>>>> \usepackage{amsmath}
>>>>> \usepackage{newtxmath}
>>>>> \usepackage[T1]{fontenc}
>>>>> \usepackage[latin9]{luainputenc}
> 
> 
>>>>> Is this OK?
> 
>>> Leaving both "font encoding" and "Serif font" at "Default" leads to
>>> suboptimal fonts beeing used (fontenc becomes T1 and the default
>>> Computer Modern fonts are substituted by bitmap EC (or, if installed
>>> CM-Super).
> 
>> What settings do you recommend?
> 
> 
> Sorry, I missed the IEEEtran documentclass setting. In this case, the
> class file selects a Times font and your settings are correct.
> I don't know whether the font selection is done before or after this,
> though (look into IEEEtran.cls to find out if you are curious).
> 
> 
> Generally, I recommend Latin Modern instead of Computer Modern if you want
> the "classic TeX fonts" and optical sizes (good looking fonts at small
> scales for indices, fractions, etc.) and newtxmath to go with Times,
> Palatino or Libertine. I also like Fourier.
...
Unfortunately if I select "Latin Modern Roman" then it seems to defeat the 
newtxmath - the math symbols don't match well with the text - it looks quite 
ugly.  Selecting all defaults for font settings, together with using 
\usepackage{newtxmath} at the end, looks good.



Re: possible issue with newtxmath?

2017-01-20 Thread Neal Becker
I should add that I'm using newtxmath because:


http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/IEEEtran/IEEEtran_HOWTO.pdf

says:

1) Comsoc Mode: Comsoc mode only affects the math font
so that it will more closely match the Times Roman main text.
Either Michael Sharpe’s freely available newtxmath package
[8] (version 1.451, July 28, 2015 or later is recommended)
or the commercial MathTime [9] math fonts (as mtpro2.sty,
mt11p.sty or mathtime.sty) are acceptable. Under comsoc
mode, if one of these packages has not been loaded by the
user at the start of the document, IEEEtran will attempt to
enforce their use based on what is available on the system.
The recommended loading procedure and order for newtxmath
is:
\usepackage[T1]{fontenc} % optional
\usepackage{amsmath}
\usepackage[cmintegrals]{newtxmath}
\usepackage{bm} % optional



Re: possible issue with newtxmath?

2017-01-20 Thread Neal Becker
Guenter Milde wrote:

> Dear Neal,
> 
> thank you for the report.
> 
> On 2017-01-19, Neal Becker wrote:
>> Neal Becker wrote:
> 
>>> http://mirrors.ibiblio.org/CTAN/fonts/newtx/doc/newtxdoc.pdf
> 
>>> The package invoked by
>>> \usepackage{newtxmath}
>>> loads the math part of the txfonts (with revised metrics and additional
>>> glyphs) and should be loaded after
>>> the text font and its encoding have been specified, as it uses the text
>>> font settings to define how operators,
>>> numbers, math accents, \mathrm, \mathbf etc. are rendered
> 
>>> But if I select
>>> document/settings/fonts/Math: Times Roman (New TX)
> 
>>> Generated TeX says:
>>> \documentclass[american,journal,comsoc]{IEEEtran}
>>> \usepackage{amsmath}
>>> \usepackage{newtxmath}
>>> \usepackage[T1]{fontenc}
>>> \usepackage[latin9]{luainputenc}
> 
> 
>>> Is this OK?
> 
> Leaving both "font encoding" and "Serif font" at "Default" leads to
> suboptimal fonts beeing used (fontenc becomes T1 and the default Computer
> Modern fonts are substituted by bitmap EC (or, if installed CM-Super).

What settings do you recommend?
>   
> Adding Times math fonts to this mix makes matters worse.
> 
> Why do you compile with LuaTeX when using 8-bit fonts? (This is not
> necessarily evil but I am curious.)
>
Just because LuaTeX is the latest thing - don't actually need any of it's 
features.
 
>>> Does \usepackage{newtxmath} need to be moved later in the
>>> preamble?
> 
> May be, you can try by leaving the GUI math-package setting at default and
> inserting \usepackage{newtxmath} in the user preamble. Please report
> differences, if found.
> 

I haven't really seen any differences but maybe I don't know what to look 
for.

> 
>> Similarly, this advice seems to be violated:
>> "If you use the babel package, you should load it before newtxtext—for
>> example:"...
> 
> OTOH, babel itself advises to be loaded last. (The Greek babel
> definitions, e.g., analyse the fontencoding setup for proper working.)
> 
> Again, this may be changed if we have evidence of problems or improvements
> with either order.
> 
> Günter




Re: possible issue with newtxmath?

2017-01-19 Thread Neal Becker
Neal Becker wrote:

> According to:
> 
> http://mirrors.ibiblio.org/CTAN/fonts/newtx/doc/newtxdoc.pdf
> 
> The package invoked by
> \usepackage{newtxmath}
> loads the math part of the txfonts (with revised metrics and additional
> glyphs) and should be loaded after
> the text font and its encoding have been specified, as it uses the text
> font settings to define how operators,
> numbers, math accents, \mathrm, \mathbf etc. are rendered
> 
> But if I select
> document/settings/fonts/Math: Times Roman (New TX)
> 
> Generated TeX says:
> \documentclass[american,journal,comsoc]{IEEEtran}
> \usepackage{amsmath}
> \usepackage{newtxmath}
> \usepackage[T1]{fontenc}
> \usepackage[latin9]{luainputenc}
> 
> 
> Is this OK?  Does \usepackage{newtxmath} need to be moved later in the
> preamble?

Similarly, this advice seems to be violated:
"If you use the babel package, you should load it before newtxtext—for 
example:"...




possible issue with newtxmath?

2017-01-19 Thread Neal Becker
According to:

http://mirrors.ibiblio.org/CTAN/fonts/newtx/doc/newtxdoc.pdf

The package invoked by
\usepackage{newtxmath}
loads the math part of the txfonts (with revised metrics and additional 
glyphs) and should be loaded after
the text font and its encoding have been specified, as it uses the text font 
settings to define how operators,
numbers, math accents, \mathrm, \mathbf etc. are rendered

But if I select 
document/settings/fonts/Math: Times Roman (New TX)

Generated TeX says:
\documentclass[american,journal,comsoc]{IEEEtran}
\usepackage{amsmath}
\usepackage{newtxmath}
\usepackage[T1]{fontenc}
\usepackage[latin9]{luainputenc}


Is this OK?  Does \usepackage{newtxmath} need to be moved later in the 
preamble?



switching between 2-column and 1-column

2017-01-12 Thread Neal Becker
Is there any easy was to switch back and forth between 2-column (which in 
this case means:
 1) setting document class to IEEEtrans with options 'journal'
 2) including biographical info

and 1-column, which means:
 1) setting document class options to 
'journal,12pt,onecolumn,draftclsnofoot,'
 2) suppressing biographical info

also output should go to different file names for the 2 cases.

I saw there is 'branches' feature, but can it switch the document class 
options?



another success

2016-12-08 Thread Neal Becker
Our paper on "Spread Asynchronous Scrambled Coded Multiple Access (SA-SCMA)" 
was just presented at IEEE Globecom 2016, written with lyx.

For the presentation version, I used lyx with beamer with the metropolis 
theme, available here

https://github.com/matze/mtheme

and the following preamble (hopefully not mangled by cut/paste)

\providecommand\suppressfontnotfounderror{\luatexsuppressfontnotfounderror}
\usetheme{metropolis}
\defbeamertemplate{footline}{my header}{%
\vskip1pt%
\makebox[0pt][l]{\,\insertsection}%
\hspace*{\fill}\insertshorttitle\hspace*{\fill}%
\llap{\insertpagenumber\,/\,\insertpresentationendpage\,}
}
\setbeamertemplate{footline}[my header]
\setsansfont[BoldFont={Fira Sans SemiBold}]{Fira Sans Book}


\usepackage{algorithm}
\usepackage{listings}

\usepackage{caption}
\captionsetup{labelformat=empty,labelsep=none}
\captionsetup[subfigure]{labelformat=empty,labelsep=none}
\usepackage[style=authoryear,autocite=footnote,backend=bibtex,language=english]
{biblatex}
\addbibresource{/home/nbecker/spread-ascma/ascma.bib}
\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}
\usepackage{siunitx}
\usepackage{scrextend}
\changefontsizes{9.5pt}
\usepackage{appendixnumberbeamer}

Thanks for all your great work on LyX!




font mystery

2016-11-11 Thread Neal Becker
I've written several IEEE publications using lyx.  They only accept .dvi 
(not pdf).

When I'm writing I use:
settings/fonts/non-tex (all defaults)
and
settings/output/pdf(luatex)

When I submit 
uncheck: settings/fonts/non-tex
settings/output/dvi(luatex)

The results look very different.  The 2nd (submit) version has much heavier 
font, especially the title.  Actually, I think it looks more readable.

I have no idea why.



Re: math preview blowing up with math within figure captions

2016-09-13 Thread Neal Becker
Guillaume Munch wrote:

> Le 13/09/2016 à 16:46, Neal Becker a écrit :
>> This is fedora 24 lyx-2.2.1
>> This problem maybe new?  If I have math in a figure caption the math is
>> displayed within a huge pinkish box, really making the display pretty
>> awful. For example a single \lambda character is shown within a box
>> taking up about 1/2 the screen.
>>
>>
> 
> Is this xelatex?
> 
> http://www.lyx.org/trac/ticket/10322

Nope, default output is pdf lualatex, and I'm not using komascript either 
(beamer)



math preview blowing up with math within figure captions

2016-09-13 Thread Neal Becker
This is fedora 24 lyx-2.2.1
This problem maybe new?  If I have math in a figure caption the math is 
displayed within a huge pinkish box, really making the display pretty awful.  
For example a single \lambda character is shown within a box taking up about 
1/2 the screen.



beamer noteitem truncated (overfull)

2016-09-13 Thread Neal Becker
Using beamer, noteitem (this time inside frame!), it's working, but the 
displays of notes, which are formatted as itemize lists, are a bit truncated 
on the right.

Probably connected with these warnings:
Overfull \hbox (6.80821pt too wide) in paragraph at lines 10--11
[][][][][][][][][][][][][][][][][][][][][] 



Re: beamer noteitem-> error: item undefined in ...

2016-09-13 Thread Neal Becker
Neal Becker wrote:

> I tried following:
> http://tex.stackexchange.com/questions/292816/presentation-using-lyx
> 
> I have the following preamble:
> \usetheme{CambridgeUS}
> \usecolortheme{dolphin}
> \usepackage{algorithm}
> \usepackage{listings}
> \usepackage{caption}
> \captionsetup{labelformat=empty,labelsep=none}
> \captionsetup[subfigure]{labelformat=empty,labelsep=none}
> 
\usepackage[style=authoryear,autocite=footnote,backend=bibtex,language=english]
> {biblatex}
> \addbibresource{/home/nbecker/scma-unframed/ascma.bib}
> \setbeamertemplate{navigation symbols}{}
> \usepackage{pgfpages}
> \setbeameroption{show notes}
> \setbeameroption{show notes on second screen=right}
> 
> I tried adding noteitem, but then running lualatex gives:
> 
> ! Package xkeyval Error: `item' undefined in families `beamernotes'.
> 
> See the xkeyval package documentation for explanation.
> Type  H   for immediate help.
>  ...
>   
> l.72 \note[item]{This is a note}

OK, I see, I can only use this inside a frame.

I wanted notes on my title page, not sure how to do this



beamer noteitem-> error: item undefined in ...

2016-09-13 Thread Neal Becker
I tried following:
http://tex.stackexchange.com/questions/292816/presentation-using-lyx

I have the following preamble:
\usetheme{CambridgeUS}
\usecolortheme{dolphin}
\usepackage{algorithm}
\usepackage{listings}
\usepackage{caption}
\captionsetup{labelformat=empty,labelsep=none}
\captionsetup[subfigure]{labelformat=empty,labelsep=none}
\usepackage[style=authoryear,autocite=footnote,backend=bibtex,language=english]
{biblatex}
\addbibresource{/home/nbecker/scma-unframed/ascma.bib}
\setbeamertemplate{navigation symbols}{}
\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}

I tried adding noteitem, but then running lualatex gives:

! Package xkeyval Error: `item' undefined in families `beamernotes'.

See the xkeyval package documentation for explanation.
Type  H   for immediate help.
 ...  
  
l.72 \note[item]{This is a note}



enumitem not available for beamer?

2016-09-08 Thread Neal Becker
I start a frame, and select enumerate.  I want to customize the enumerate 
(want to start items at "0").

I don't have any Insert/Enumerate Options on the menu.  If I view 
Help/UserGuide, I do see Insert/Enumerate (although it's grayed out probably 
because it's read-only).

I tried Document/Settings/Modules/Customizable Lists(enumitem), but I can't 
select it to Add (Add is not sensitive).



Re: Remote X11 is slow for typing

2016-09-04 Thread Neal Becker
Scott Kostyshak wrote:

> On Sat, Sep 03, 2016 at 10:48:57AM -0400, Bruce Momjian wrote:
>> On Sat, Sep  3, 2016 at 10:39:54AM -0400, Scott Kostyshak wrote:
>> > On Sat, Sep 03, 2016 at 10:26:13AM -0400, Bruce Momjian wrote:
>> > > Are there any tricks to using LyX with remote X11, beyond using
>> > > -graphicssystem native?  That helps, but typing is still very slow,
>> > > i.e. one character change a second.
>> > 
>> > Yes see here:
>> > https://www.mail-archive.com/lyx-users@lists.lyx.org/msg102675.html
>> > 
>> > Do any of those tricks work for you?
>> 
>> Well, the thread suggests ssh compression and the use of the
>> graphicssystem option I was already using.  graphicssystem fixes things
>> like window scrolling and menus, but it doesn't fix typing speed.
> 
> I'm not sure then.
> 
> We should start a wiki page for SSH + LyX listing ways to improve speed,
> since this question keeps coming up.
> 
> Scott

Perhaps try x2go?



lyx using 100% cpu

2016-07-06 Thread Neal Becker
After killing Xorg, I found lyx was using 100% cpu.

Fedora 24 linux



beamer plain frame for titlepage

2016-07-05 Thread Neal Becker
I find I need to add
\renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%

to preamble, or else the section is printed on the bottom of the title page, 
which I don't think anyone would want.

Maybe this should be lyx default. (I added [plain] onto \frame)



Re: Math: non-tex fonts default -> error

2016-07-01 Thread Neal Becker
Neal Becker wrote:

> Neal Becker wrote:
> 
>> José Abílio Matos wrote:
>> 
>>> On Friday, July 1, 2016 9:13:07 AM WEST Neal Becker wrote:
>>>> There it is!
>>>> I've tried
>>>> sudo mktexlsr --verbose
>>>> and also rm -rf ~/.texlive2015 to clean cache.
>>> 
>>> Hi Neal,
>>> do you have texlive-lm-math installed?
>>> 
>>> If not this should work:
>>> # dnf install texlive-lm-math
>>> 
>>> Regards,
>> 
>> Yes
>> I posted my question with more info here
>> https://stackoverflow.com/questions/38149551/lualatex-luaotfload-load-path-lookup-of-latinmodern-math-otf-unsuccessful
>> 
>> The issue seems to be:
>> luaotfload | load : path lookup of "latinmodern-math.otf" unsuccessful,
>> falling
>> back to file:
>> 
>> falls back to (LatinModernMath-Regular
>> which doesn't seem to work.
>> 
>> But why isn't latinmodern-math.otf found?
>> [nbecker@nbecker2 interference]$ luaotfload-tool
>> [--find=latinmodern-math.otf
>> luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont); reason:
>> "Font latinmodern-math.otf not found.".
>> luaotfload | resolve : Cannot find "latinmodern-math.otf" in index.
>> luaotfload | resolve : Hint: use the --fuzzy option to display
>> suggestions.
>> [nbecker@nbecker2 interference]$ luaotfload-tool
>> [--find=latinmodern-math.otf
>> --fuzzy
>> luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont); reason:
>> "Font latinmodern-math.otf not found.".
>> luaotfload | resolve : Cannot find "latinmodern-math.otf" in index.
>> luaotfload | resolve : Hint: use the --fuzzy option to display
>> suggestions. luaotfload | resolve : Looking for close matches, this may
>> take a while ... luaotfload | query : Distance from "latinmodernmathotf":
>> 7
>> LatinModernMath-Regular
>> LatinModernMath-Regular
>> [nbecker@nbecker2 interference]$ luaotfload-tool --find=latinmodern-math
>> [--
>> fuzzy
>> luaotfload | resolve : Font "latinmodern-math" found!
>> luaotfload | resolve : Resolved file name "/usr/share/fonts/lm-
>> math/latinmodern-math.otf"
>> 
>> My guess is luatex is looking for 'latinmodern-math.otf', which fails,
>> instead of looking for 'latinmodern-math', which succeeds.
>> 
>> If this is correct, where's the problem?
> 
> I've attached a minimal test file that shows the problem:
> Missing character: There is no 푙 (U+1D459) in font "file:lmsans10-
> regular:scr
> ipt=latn;+trep;+tlig;"!

To summarize my findings so far:
1. I believe texlive 2015 unicode-math-luatex.sty has a typo, the '.otf' 
should be removed, this removes the 'path lookup of "latinmodern-math.otf" 
unsuccessful' message
2. Adding
\usefonttheme{professionalfonts}
\usepackage{lmodern}

seems to clean things up, and gets rid of messages about 'Missing 
character...', which was upsetting lyx (lyx thinks these messages are 
errors)



Re: Math: non-tex fonts default -> error

2016-07-01 Thread Neal Becker
Neal Becker wrote:

> José Abílio Matos wrote:
> 
>> On Friday, July 1, 2016 9:13:07 AM WEST Neal Becker wrote:
>>> There it is!
>>> I've tried
>>> sudo mktexlsr --verbose
>>> and also rm -rf ~/.texlive2015 to clean cache.
>> 
>> Hi Neal,
>> do you have texlive-lm-math installed?
>> 
>> If not this should work:
>> # dnf install texlive-lm-math
>> 
>> Regards,
> 
> Yes
> I posted my question with more info here
> https://stackoverflow.com/questions/38149551/lualatex-luaotfload-load-path-lookup-of-latinmodern-math-otf-unsuccessful
> 
> The issue seems to be:
> luaotfload | load : path lookup of "latinmodern-math.otf" unsuccessful,
> falling
> back to file:
> 
> falls back to (LatinModernMath-Regular
> which doesn't seem to work.
> 
> But why isn't latinmodern-math.otf found?
> [nbecker@nbecker2 interference]$ luaotfload-tool
> [--find=latinmodern-math.otf
> luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont); reason:
> "Font latinmodern-math.otf not found.".
> luaotfload | resolve : Cannot find "latinmodern-math.otf" in index.
> luaotfload | resolve : Hint: use the --fuzzy option to display
> suggestions.
> [nbecker@nbecker2 interference]$ luaotfload-tool
> [--find=latinmodern-math.otf
> --fuzzy
> luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont); reason:
> "Font latinmodern-math.otf not found.".
> luaotfload | resolve : Cannot find "latinmodern-math.otf" in index.
> luaotfload | resolve : Hint: use the --fuzzy option to display
> suggestions. luaotfload | resolve : Looking for close matches, this may
> take a while ... luaotfload | query : Distance from "latinmodernmathotf":
> 7
> LatinModernMath-Regular
> LatinModernMath-Regular
> [nbecker@nbecker2 interference]$ luaotfload-tool --find=latinmodern-math
> [--
> fuzzy
> luaotfload | resolve : Font "latinmodern-math" found!
> luaotfload | resolve : Resolved file name "/usr/share/fonts/lm-
> math/latinmodern-math.otf"
> 
> My guess is luatex is looking for 'latinmodern-math.otf', which fails,
> instead of looking for 'latinmodern-math', which succeeds.
> 
> If this is correct, where's the problem?

I've attached a minimal test file that shows the problem:
Missing character: There is no 푙 (U+1D459) in font "file:lmsans10-
regular:scr
ipt=latn;+trep;+tlig;"!
\makeatletter
\def\input@path{{/home/nbecker/interference/}}
\makeatother
\documentclass[english]{beamer}
\usepackage{amsmath}
\usepackage{fontspec}
\usepackage{unicode-math}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\makeatletter

%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% Textclass specific LaTeX commands.
 % this default might be overridden by plain title style
 \newcommand\makebeamertitle{\frame{\maketitle}}%
 % (ERT) argument for the TOC
 \AtBeginDocument{%
   \let\origtableofcontents=\tableofcontents
   \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
   \def\gobbletableofcontents#1{\origtableofcontents}
 }

\makeatother

\usepackage{polyglossia}
\setdefaultlanguage{english}
\begin{document}

\begin{frame}{What should we expect (OFDM)?}

\begin{itemize}
\item OFDM approach
\begin{itemize}
\item If interference covers $1/M$ of the carrier spectrum, we loose $1/M$
of the symbols, which is like $1/M$ of the signal power
\item So if we loose 1/10 of the carriers, it's like receiving 9/10 of the
signal.
\item coding is equivalent to combining the symbols \emph{coherently}, so
we should expect to have to boost the signal by $20\log_{10}(0.9)=0.92\text{{dB}}$
\item In general, the loss is 
\[
20\log_{10}(1-1/M)
\]
\end{itemize}
\end{itemize}
\end{frame}
\end{document}



Re: Math: non-tex fonts default -> error

2016-07-01 Thread Neal Becker
José Abílio Matos wrote:

> On Friday, July 1, 2016 9:13:07 AM WEST Neal Becker wrote:
>> There it is!
>> I've tried
>> sudo mktexlsr --verbose
>> and also rm -rf ~/.texlive2015 to clean cache.
> 
> Hi Neal,
> do you have texlive-lm-math installed?
> 
> If not this should work:
> # dnf install texlive-lm-math
> 
> Regards,

Yes
I posted my question with more info here
https://stackoverflow.com/questions/38149551/lualatex-luaotfload-load-path-lookup-of-latinmodern-math-otf-unsuccessful

The issue seems to be:
luaotfload | load : path lookup of "latinmodern-math.otf" unsuccessful, 
falling 
back to file:

falls back to (LatinModernMath-Regular
which doesn't seem to work.

But why isn't latinmodern-math.otf found?
[nbecker@nbecker2 interference]$ luaotfload-tool --find=latinmodern-math.otf
luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont); reason: 
"Font latinmodern-math.otf not found.".
luaotfload | resolve : Cannot find "latinmodern-math.otf" in index.
luaotfload | resolve : Hint: use the --fuzzy option to display suggestions.
[nbecker@nbecker2 interference]$ luaotfload-tool --find=latinmodern-math.otf 
--fuzzy
luaotfload | db : Reload initiated (formats: otf,ttf,ttc,dfont); reason: 
"Font latinmodern-math.otf not found.".
luaotfload | resolve : Cannot find "latinmodern-math.otf" in index.
luaotfload | resolve : Hint: use the --fuzzy option to display suggestions.
luaotfload | resolve : Looking for close matches, this may take a while ...
luaotfload | query : Distance from "latinmodernmathotf": 7
LatinModernMath-Regular
LatinModernMath-Regular
[nbecker@nbecker2 interference]$ luaotfload-tool --find=latinmodern-math --
fuzzy
luaotfload | resolve : Font "latinmodern-math" found!
luaotfload | resolve : Resolved file name "/usr/share/fonts/lm-
math/latinmodern-math.otf"

My guess is luatex is looking for 'latinmodern-math.otf', which fails, 
instead of looking for 'latinmodern-math', which succeeds.

If this is correct, where's the problem?



Re: Math: non-tex fonts default -> error

2016-07-01 Thread Neal Becker
Neal Becker wrote:

> Richard Heck wrote:
> 
>> On 06/30/2016 03:38 PM, Neal Becker wrote:
>>> Selecting "Use non-tex fonts" and then Math: non-tex fonts default, I
>>> get: luaotfload | load : path lookup of "latinmodern-math" unsuccessful,
>>> falling back
>>>   to file:
>>> luaotfload | load : path lookup of "latinmodern-math" unsuccessful,
>>> falling back
>>>   to file:
>> 
>> You're missing some font package, possibly texlive-lm-math, but I'm not
>> sure.
>> 
>> Richard
> 
> OK, this has gotten really strange.
> 
...
Sorry, my mistake.  Was looking at the console output, not the log file.  
Running from lyx or from command line gives same result.

So:
luaotfload | load : path lookup of "latinmodern-math.otf" unsuccessful, 
falling 
back to file:

But:
locate latinmodern-math.otf
/usr/share/texlive/texmf-dist/fonts/opentype/public/lm-math/latinmodern-
math.otf

There it is!
I've tried 
sudo mktexlsr --verbose 
and also rm -rf ~/.texlive2015 to clean cache.




Re: Math: non-tex fonts default -> error

2016-07-01 Thread Neal Becker
Richard Heck wrote:

> On 06/30/2016 03:38 PM, Neal Becker wrote:
>> Selecting "Use non-tex fonts" and then Math: non-tex fonts default, I
>> get: luaotfload | load : path lookup of "latinmodern-math" unsuccessful,
>> falling back
>>   to file:
>> luaotfload | load : path lookup of "latinmodern-math" unsuccessful,
>> falling back
>>   to file:
> 
> You're missing some font package, possibly texlive-lm-math, but I'm not
> sure.
> 
> Richard

OK, this has gotten really strange.

I can export to lualatex, then run lualatex on the command line, and it 
works fine.
But trying to run within lyx doesn't.

If I try to compare the logs, it's not easy to do, but they are different 
right at the start!

from command line:
$lualatex comparison_notch_ofdm.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2016/dev) (rev 5238) 
 restricted \write18 enabled.
(./comparison_notch_ofdm.tex
...

from lyx:
This is LuaTeX, Version beta-0.80.0 (TeX Live 2016/dev) (rev 5238)  
(format=lualatex 2016.6.20)  1 JUL 2016 07:08   <<<<<<<<<<< see diff?
 restricted \write18 enabled.
**comparison_notch_ofdm.tex
(./comparison_notch_ofdm.tex
 fails with 
--
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/lmss/m/it' in size <10> not available
(Font)  Font shape `EU2/lmss/m/sl' tried instead on input line 
82.
(compiling luc: /usr/share/texlive/texmf-var/luatex-
cache/generic/fonts/otf/lmsa
ns10-oblique.luc)(load luc: /home/nbecker/.texlive2015/texmf-var/luatex-
cache/ge
neric/fonts/otf/lmsans10-oblique.luc)
LaTeX Font Info:Font shape `EU2/lmss/m/it' in size <7> not available
(Font)  Font shape `EU2/lmss/m/sl' tried instead on input line 
82.
Missing character: There is no 푙 (U+1D459) in font "file:lmsans10-
regular:scr
---

I did
sudo updmap-sys --enable Map=lm-math.map
rm -rf ~/.texlive2015
also rm -rf ~/.lyx/cache
reconfig lyx

I don't understand what's different about how lyx is running lualatex vs. 
command line, or why that should matter



Math: non-tex fonts default -> error

2016-06-30 Thread Neal Becker
Selecting "Use non-tex fonts" and then Math: non-tex fonts default, I get:
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/latinmodern-math.otf(1)/m/n' will be
(Font)  scaled to size 10.00015pt on input line 82.
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/latinmodern-math.otf(1)/m/n' will be
(Font)  scaled to size 7.0001pt on input line 82.
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/latinmodern-math.otf(2)/m/n' will be
(Font)  scaled to size 9.99985pt on input line 82.
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/latinmodern-math.otf(2)/m/n' will be
(Font)  scaled to size 6.pt on input line 82.
luaotfload | load : path lookup of "latinmodern-math" unsuccessful, falling 
back
 to file:
LaTeX Font Info:Font shape `EU2/lmss/m/it' in size <10> not available
(Font)  Font shape `EU2/lmss/m/sl' tried instead on input line 
82.
(compiling luc: /usr/share/texlive/texmf-var/luatex-
cache/generic/fonts/otf/lmsa
ns10-oblique.luc)(load luc: /home/nbecker/.texlive2015/texmf-var/luatex-
cache/ge
neric/fonts/otf/lmsans10-oblique.luc)
LaTeX Font Info:Font shape `EU2/lmss/m/it' in size <7> not available
(Font)  Font shape `EU2/lmss/m/sl' tried instead on input line 
82.
Missing character: There is no 푙 (U+1D459) in font "file:lmsans10-
regular:scr
ipt=latn;+trep;+tlig;"!
Missing character: There is no 푙 (U+1D459) in font "file:lmsans10-
regular:scr
ipt=latn;+trep;+tlig;"!
...

This is Fedora 24, lyx 2.2



Re: cudos for beamer-flx.lyx

2016-06-10 Thread Neal Becker
Guillaume Munch wrote:

> Le 09/06/2016 12:25, Neal Becker a écrit :
>> I'm enjoying using the beamer custom inset that was posted here.  I'd
>> like to see this as the standard method for supporting beamer frames on
>> lyx going forward.
>>
>>
> 
> Thanks for the feedback. The easiest would be to offer it as a separate
> layout and not offer automatic conversion.

Can I make it a bit more accessible and not hidden under custom insets?



cudos for beamer-flx.lyx

2016-06-09 Thread Neal Becker
I'm enjoying using the beamer custom inset that was posted here.  I'd like 
to see this as the standard method for supporting beamer frames on lyx going 
forward.



howto select multiple items in table

2016-05-17 Thread Neal Becker
OK, here's a stupid question.  I'm trying to select multiple items in a 
table with a mouse. shift-mouse1 selects all the intervening items. ctrl-
mouse1 does not add to the selection, it is overiding the selection, the 
same as mouse1. Using emacs key bindings.

This is linux 
LyX Version 2.2.0rc1
(Monday, April 11, 2016)
Built from git commit hash 
Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 4.8.7
Qt Version (compile-time): 4.8.7




Re: beamer frame in lyx-2.2

2016-05-09 Thread Neal Becker
Scott Kostyshak wrote:

> On Fri, Apr 15, 2016 at 03:43:26PM -0400, Scott Kostyshak wrote:
>> On Fri, Apr 15, 2016 at 06:57:14AM -0400, Neal Becker wrote:
>> > Scott Kostyshak wrote:
>> > 
>> > > On Thu, Apr 14, 2016 at 05:58:04PM +0200, Kornel Benko wrote:
>> > >> Am Donnerstag, 14. April 2016 um 09:52:17, schrieb Neal Becker
>> > >> <ndbeck...@gmail.com>
>> > >> > Guillaume Munch wrote:
>> > >> > 
>> > >> > > Le 14/04/2016 13:39, Neal Becker a écrit :
>> > >> > >> What is the procedure to produce beamer frames in lyx-2.2?
>> > >> > >>
>> > >> > >> I don't see anything written about it
>> > >> > >> http://wiki.lyx.org/LyX/NewInLyX22
>> > >> > >>
>> > >> > >> We used to insert a separator between frames, but that's no
>> > >> > >> longer an option
>> > >> > >> on the choices.  If I don't put a separator between frames, the
>> > >> > >> lyx display is visually incorrect, and the latex output is
>> > >> > >> incorrect.
>> > >> > >>
>> > >> > > 
>> > >> > > Please, see the discussion from two days ago:
>> > >> > > http://thread.gmane.org/gmane.editors.lyx.general/86361
>> > >> > 
>> > >> > OK, there it says that Alt+P ENTER will enter the separator.  I
>> > >> > get "command disabled".
>> > >> > 
>> > >> > I did set editing to emacs, could this be the problem?
>> > >> 
>> > >> Works here. The bindings are in menus.bind. Both (emacs.bin and
>> > >> cua.bind) include this file.
>> > > 
>> > > Similarly, consider using the menus. The relevant entries are
>> > > Edit > Start New Environment (...)
>> > > Edit > Start New Parent Environment (...)
>> > > 
>> > > Choose the one where "(...)" is "(Frame)"
>> > > 
>> > > Scott
>> > 
>> > Does lyx have any introspection capability, something like emacs
>> > describe-
>> > key-briefly (C-h C-k)?  Also whereis (C-h w).  These are very helpful
>> > for
>> > understanding bindings.  I want to know why M-p Enter is saying
>> > 'command disabled'.
>> 
>> Note that it being disabled is equivalent to the menu entry being greyed
>> out. To know the exact reason why the command is disabled and the menu
>> entry is greyed out, you would need to read the getStatus() method for
>> that particular LFUN being run. If you are very interested, grep the LyX
>> source files for "LFUN_ENVIRONMENT_SPLIT".
>> 
>> I think a better approach would be to provide a minimal example .lyx
>> file, tell us exactly where to put the cursor, and ask why the menu
>> entries in Edit regarding starting a new environment or parent
>> environment are greyed out.
> 
> Hi Neal,
> 
> Did you get the above email?
> 
> I'd still be interested in seeing a minimal example .lyx file.
> 
> Scott

OK, I see how this works.  While in the current environment, e.g., itemize 
within frame, edit menu includes the items "Start new environment", and 
"Start new Parent Environment", and these do just what I want.  This is much 
more productive than the older way of moving on to the next beamer slide, I 
just need to learn it.
I wonder if there's somewhere to put a hint for new/old(forgetful) users
"To add a new slide..."



Re: beamer frame in lyx-2.2

2016-04-15 Thread Neal Becker
Scott Kostyshak wrote:

> On Thu, Apr 14, 2016 at 05:58:04PM +0200, Kornel Benko wrote:
>> Am Donnerstag, 14. April 2016 um 09:52:17, schrieb Neal Becker
>> <ndbeck...@gmail.com>
>> > Guillaume Munch wrote:
>> > 
>> > > Le 14/04/2016 13:39, Neal Becker a écrit :
>> > >> What is the procedure to produce beamer frames in lyx-2.2?
>> > >>
>> > >> I don't see anything written about it
>> > >> http://wiki.lyx.org/LyX/NewInLyX22
>> > >>
>> > >> We used to insert a separator between frames, but that's no longer
>> > >> an option
>> > >> on the choices.  If I don't put a separator between frames, the lyx
>> > >> display is visually incorrect, and the latex output is incorrect.
>> > >>
>> > > 
>> > > Please, see the discussion from two days ago:
>> > > http://thread.gmane.org/gmane.editors.lyx.general/86361
>> > 
>> > OK, there it says that Alt+P ENTER will enter the separator.  I get
>> > "command disabled".
>> > 
>> > I did set editing to emacs, could this be the problem?
>> 
>> Works here. The bindings are in menus.bind. Both (emacs.bin and cua.bind)
>> include this file.
> 
> Similarly, consider using the menus. The relevant entries are
> Edit > Start New Environment (...)
> Edit > Start New Parent Environment (...)
> 
> Choose the one where "(...)" is "(Frame)"
> 
> Scott

Does lyx have any introspection capability, something like emacs describe-
key-briefly (C-h C-k)?  Also whereis (C-h w).  These are very helpful for 
understanding bindings.  I want to know why M-p Enter is saying 'command 
disabled'.



Re: beamer frame in lyx-2.2

2016-04-14 Thread Neal Becker
Guillaume Munch wrote:

> Le 14/04/2016 13:39, Neal Becker a écrit :
>> What is the procedure to produce beamer frames in lyx-2.2?
>>
>> I don't see anything written about it http://wiki.lyx.org/LyX/NewInLyX22
>>
>> We used to insert a separator between frames, but that's no longer an
>> option
>> on the choices.  If I don't put a separator between frames, the lyx
>> display is visually incorrect, and the latex output is incorrect.
>>
> 
> Please, see the discussion from two days ago:
> http://thread.gmane.org/gmane.editors.lyx.general/86361

OK, there it says that Alt+P ENTER will enter the separator.  I get "command 
disabled".

I did set editing to emacs, could this be the problem?



Re: beamer frame in lyx-2.2

2016-04-14 Thread Neal Becker
Neal Becker wrote:

> What is the procedure to produce beamer frames in lyx-2.2?
> 
> I don't see anything written about it http://wiki.lyx.org/LyX/NewInLyX22
> 
> We used to insert a separator between frames, but that's no longer an
> option
> on the choices.  If I don't put a separator between frames, the lyx
> display is visually incorrect, and the latex output is incorrect.

I see, it appears the procedure is:
1. exit the current frame by de-dent enough times.
2. switch to 'standard'
3. now hit 'enter'
this will produce the thin red line separator
4. Frame ...

I believe this is somewhat more logical than the previous procedure, but 
still it would be nice if it was fewer steps.



beamer frame in lyx-2.2

2016-04-14 Thread Neal Becker
What is the procedure to produce beamer frames in lyx-2.2?

I don't see anything written about it http://wiki.lyx.org/LyX/NewInLyX22

We used to insert a separator between frames, but that's no longer an option 
on the choices.  If I don't put a separator between frames, the lyx display 
is visually incorrect, and the latex output is incorrect.

Re: IEEE: The paper PDF file cannot be accepted

2016-04-01 Thread Neal Becker
Guillaume Munch wrote:

> Le 31/03/2016 20:11, Neal Becker a écrit :
>> Guillaume Munch wrote:
>>
>>> Le 31/03/2016 19:36, Neal Becker a écrit :
>>>> Trying to upload final paper, and it's not accepted.  I get:
>>>>
>>>> The paper PDF file cannot be accepted: Publishers require that PDF
>>>> fonts are embedded so that documents can be printed everywhere; one or
>>>> more of your document fonts are not embedded. See EDAS FAQ.
>>>>
>>>> I used export lualatex, with Use Non-Tex fonts option.
>>>>
>>>> Any advice (it's due by tomorrow!)
>>>>
>>>>
>>>
>>>   From EDAS:
>>> "The PDF checker will sometimes complain about missing embedded fonts.
>>> Authors should consult the EDAS FAQ item (under Help) on that topic."
>>> What does it say?
>>>
>>> What is the result of "pdffonts yourfile.pdf" ? (assuming Linux)
>>>
>>> Did you try xetex instead?
>>
>> The problem is coming from pdf drawings which were created by lucidchart
>> (online).
>>
>>   pdffonts ~/Documents/SA-SCMA_block_diagram.pdf
>> name type  encoding
>> emb sub uni object ID
>>  - 
>> --- --- --- -
>> HelveticaType 1WinAnsi 
>> no
>> no  no  17  0
>> Helvetica-Bold   Type 1WinAnsi 
>> no
>> no  no  18  0
>> Helvetica-ObliqueType 1WinAnsi 
>> no
>> no  no  19  0
>> Helvetica-BoldObliqueType 1WinAnsi 
>> no
>> no  no  20  0
>>
>> Not sure yet what to do about that.
>>
>>
> 
> I suggest embedding the fonts in your drawings using tricks found at
> https://stackoverflow.com/questions/4231656/how-do-i-embed-fonts-in-an-existing-pdf
> before generating your main pdf file.

I used pdftocairo -pdf   to fix the pdfs that I had drawn 
using lucidchart, which were lacking the embedded fonts.



Re: IEEE: The paper PDF file cannot be accepted

2016-03-31 Thread Neal Becker
Guillaume Munch wrote:

> Le 31/03/2016 19:36, Neal Becker a écrit :
>> Trying to upload final paper, and it's not accepted.  I get:
>>
>> The paper PDF file cannot be accepted: Publishers require that PDF fonts
>> are embedded so that documents can be printed everywhere; one or more of
>> your document fonts are not embedded. See EDAS FAQ.
>>
>> I used export lualatex, with Use Non-Tex fonts option.
>>
>> Any advice (it's due by tomorrow!)
>>
>>
> 
>  From EDAS:
> "The PDF checker will sometimes complain about missing embedded fonts.
> Authors should consult the EDAS FAQ item (under Help) on that topic."
> What does it say?
> 
> What is the result of "pdffonts yourfile.pdf" ? (assuming Linux)
> 
> Did you try xetex instead?

The problem is coming from pdf drawings which were created by lucidchart 
(online).

 pdffonts ~/Documents/SA-SCMA_block_diagram.pdf
name type  encoding emb 
sub uni object ID
 -  --- 
--- --- -
HelveticaType 1WinAnsi  no  
no  no  17  0
Helvetica-Bold   Type 1WinAnsi  no  
no  no  18  0
Helvetica-ObliqueType 1WinAnsi  no  
no  no  19  0
Helvetica-BoldObliqueType 1WinAnsi  no  
no  no  20  0

Not sure yet what to do about that.



Re: IEEE: The paper PDF file cannot be accepted

2016-03-31 Thread Neal Becker
Neal Becker wrote:

> Trying to upload final paper, and it's not accepted.  I get:
> 
> The paper PDF file cannot be accepted: Publishers require that PDF fonts
> are embedded so that documents can be printed everywhere; one or more of
> your document fonts are not embedded. See EDAS FAQ.
> 
> I used export lualatex, with Use Non-Tex fonts option.
> 
> Any advice (it's due by tomorrow!)

Well one approach that seems to work is:
* don't select Use Non-TeX fonts
* export via PDF (dvipdfm), which I suppose generates dvi, then convert 
using dvipdfm(x).



IEEE: The paper PDF file cannot be accepted

2016-03-31 Thread Neal Becker
Trying to upload final paper, and it's not accepted.  I get:

The paper PDF file cannot be accepted: Publishers require that PDF fonts are 
embedded so that documents can be printed everywhere; one or more of your 
document fonts are not embedded. See EDAS FAQ.

I used export lualatex, with Use Non-Tex fonts option.

Any advice (it's due by tomorrow!)



proselint looks very cool

2016-02-12 Thread Neal Becker
would be nice to integrate with lyx



anyone use synctex?

2016-02-04 Thread Neal Becker
I tried configuring converters
lyx (LuaTeX) -> pdf (LuaTeX) convert to
lualatex --synctex=1

But didn't seem to work for export->pdf(luatex).

I suspect maybe the synctex.gz file was written to a cache directory, and 
not exported to the correct (source) directory?

How would I fix this? 



Re: trouble submitting IEEE conference article

2016-02-03 Thread Neal Becker
Neal Becker wrote:

> Georg Baum wrote:
> 
>> Neal Becker wrote:
>> 
>>> Thanks!  It does appear to work to export to DVI (LuaTeX) _after_ I
>>> uncheck Document/settings/fonts use non-tex fonts.
>> 
>> You mean after you uncheck or after you check the button? It is supposed
>> to work like this:
>> 
>> use non-tex fonts checked => DVI (LuaTeX) works, DVI does not work
>> use non-tex fonts unchecked => DVI works, DVI (LuaTeX) might work
> 
> No, if I check 'use no-tex fonts' -> DVI (LuaTeX) gives me:
>  dvipdf ascma-paper-crap.dvi
> kpathsea:make_tex: Invalid fontname `"file:lmroman17-regular:script=latn;
> +trep;+tlig;"', contains '"'
> dvips: Font "file:lmroman17-regular:script=latn;+trep;+tlig;" not found;
> using cmr10
> dvips: Design size mismatch in font "file:lmroman17-regular:script=latn;
> +trep;+tlig;"
> dvips: ! invalid char 8211 from font "file:lmroman17-regular:script=latn;
> +trep;+tlig;"
> 
> which apparantly is dvipdf way to say, can't find the fonts
> 
> I have chosen all default fonts in lyx.
> 
> But if I don't check 'use no-tex fonts', DVI (LuaTeX) works.  Except, see
> below
> 
>> 
>> I believe that the error handling in this area has been improved in the
>> upcoming LyX 2.2.
>> 
>>> Yes, good EPS were created.  Unfortunately, the names of the EPS files
>>> were mangled, and I think those names don't match those in the DVI file,
>>> so I needed to manually create a bunch of symlinks from the names used
>>> in the dvi file to the mangled names, e.g.,
>>> 
>>> 0_home_nbecker_scma-unframed_frame_format-cropped.eps -> frame_format-
>>> cropped.eps
>>> 
>>> The whole process would've been automated nicely if not for this.
>> 
>> The files are referenced using the mangled names in the DVI (at least on
>> my machine). If the DVI does not reference the mangled files then this
>> would be a bug => please report at
>> http://www.lyx.org/trac/wiki/BugTrackerHome in that case.
>> 
>> If you want a DVI which refernces images without mangled names you need
>> to produce it manually: Export to "LaTeX (plain)", which will produce a
>> .tex file + all .eps files (unmangled). Then run latex, bibtex and other
>> aux programs as needed to produce the DVI.
>> 
>> 
>> Georg
> 
> Seems pretty messed up.  If I don't check 'use non-tex fonts', and export
> via DVI (LuaTeX), I get a dvi, but no eps graphics.
> 
> Finally, I tried export LaTeX (dviluatex), and THEN I got eps graphics,
> but without mangled names.

OK, using DVI export does work, and produce the correctly mangled eps file 
names.  I didn't try this at first, because my .bib file containted unicode 
characters, and export to dvi didn't work, until I changed 
document/settings/language input encoding to unicode(utf-8).  Then running 
dvipdfm worked fine.




trouble submitting IEEE conference article

2016-02-02 Thread Neal Becker
I'm submitting to IEEE VTC 2016 spring.  Article (written with LyX) is 
accepted (yay).  

http://www.ieee.org/conferences_events/conferences/publishing/vtc16spr.html
says they only accept .dvi, and graphics in .eps, and they want to make the 
pdf.  I'm shocked, this is ancient obsolete tech.

So I tried to follow this route, and uploaded a dvi and all graphics 
converted to eps, using pdftops -> pdf2epsi.  No doubt this will hurt the 
quality.

But conversion fails, I receive an email just saying
The DVI source file you uploaded as a submission to the File Submission site 
failed to produce a postscript file.  

If I try locally, I get:
dvipdf ascma-paper.dvi ascma-paper.junk.pdf
kpathsea:make_tex: Invalid fontname `"file:lmroman17-regular:script=latn;
+trep;+tlig;"', contains '"'
dvips: Font "file:lmroman17-regular:script=latn;+trep;+tlig;" not found; 
using cmr10
dvips: Design size mismatch in font "file:lmroman17-regular:script=latn;
+trep;+tlig;"
dvips: ! invalid char 8211 from font "file:lmroman17-regular:script=latn;
+trep;+tlig;"

Any ideas here?  I'm emailing them to see what can be done, but maybe you 
guys have suggestions?



Re: trouble submitting IEEE conference article

2016-02-02 Thread Neal Becker
Georg Baum wrote:

> Neal Becker wrote:
> 
>> I'm submitting to IEEE VTC 2016 spring.  Article (written with LyX) is
>> accepted (yay).
> 
> Congrats!
> 
>> 
> 
http://www.ieee.org/conferences_events/conferences/publishing/vtc16spr.html
>> says they only accept .dvi, and graphics in .eps, and they want to make
>> the
>> pdf.  I'm shocked, this is ancient obsolete tech.
>>
>> So I tried to follow this route, and uploaded a dvi and all graphics
>> converted to eps, using pdftops -> pdf2epsi.  No doubt this will hurt the
>> quality.
> 
> I would recommend to use LyX to do all these conversions. Exporting to DVI
> in LyX should produce the DVI file along with all needed .eps images. LyX
> does also know how to produce .eps images without quality loss (it uses
> pdftops with some flags, look at the "PDF (Graphics)" => EPS converter).
> Does viewing the DVI in LyX work?
> 
>> But conversion fails, I receive an email just saying
>> The DVI source file you uploaded as a submission to the File Submission
>> site failed to produce a postscript file.
>> 
>> If I try locally, I get:
>> dvipdf ascma-paper.dvi ascma-paper.junk.pdf
>> kpathsea:make_tex: Invalid fontname `"file:lmroman17-regular:script=latn;
>> +trep;+tlig;"', contains '"'
>> dvips: Font "file:lmroman17-regular:script=latn;+trep;+tlig;" not found;
>> using cmr10
>> dvips: Design size mismatch in font "file:lmroman17-regular:script=latn;
>> +trep;+tlig;"
>> dvips: ! invalid char 8211 from font "file:lmroman17-regular:script=latn;
>> +trep;+tlig;"
>> 
>> Any ideas here?  I'm emailing them to see what can be done, but maybe you
>> guys have suggestions?
> 
> Since they want to produce PS I would concentrate on the DVI => PS route,
> not DVI => PDF. You can narrow down the problem by previewing DVI or
> Postscript (or "PDF (dvipdfm)" if you want to stick to pdf). If this
> works, then something goes wrong with your conversion procedure. If it
> does not, then either the IEEE class needs some stuff you do not have
> installed, or something is wrong with your document.
> 
> 
> Georg

Thanks!  It does appear to work to export to DVI (LuaTeX) _after_ I uncheck 
Document/settings/fonts use non-tex fonts.

Yes, good EPS were created.  Unfortunately, the names of the EPS files were 
mangled, and I think those names don't match those in the DVI file, so I 
needed to manually create a bunch of symlinks from the names used in the dvi 
file to the mangled names, e.g., 

0_home_nbecker_scma-unframed_frame_format-cropped.eps -> frame_format-
cropped.eps

The whole process would've been automated nicely if not for this. 



Re: trouble submitting IEEE conference article

2016-02-02 Thread Neal Becker
Georg Baum wrote:

> Neal Becker wrote:
> 
>> Thanks!  It does appear to work to export to DVI (LuaTeX) _after_ I
>> uncheck Document/settings/fonts use non-tex fonts.
> 
> You mean after you uncheck or after you check the button? It is supposed
> to work like this:
> 
> use non-tex fonts checked => DVI (LuaTeX) works, DVI does not work
> use non-tex fonts unchecked => DVI works, DVI (LuaTeX) might work

No, if I check 'use no-tex fonts' -> DVI (LuaTeX) gives me:
 dvipdf ascma-paper-crap.dvi
kpathsea:make_tex: Invalid fontname `"file:lmroman17-regular:script=latn;
+trep;+tlig;"', contains '"'
dvips: Font "file:lmroman17-regular:script=latn;+trep;+tlig;" not found; 
using cmr10
dvips: Design size mismatch in font "file:lmroman17-regular:script=latn;
+trep;+tlig;"
dvips: ! invalid char 8211 from font "file:lmroman17-regular:script=latn;
+trep;+tlig;"

which apparantly is dvipdf way to say, can't find the fonts

I have chosen all default fonts in lyx.

But if I don't check 'use no-tex fonts', DVI (LuaTeX) works.  Except, see 
below

> 
> I believe that the error handling in this area has been improved in the
> upcoming LyX 2.2.
> 
>> Yes, good EPS were created.  Unfortunately, the names of the EPS files
>> were mangled, and I think those names don't match those in the DVI file,
>> so I needed to manually create a bunch of symlinks from the names used in
>> the dvi file to the mangled names, e.g.,
>> 
>> 0_home_nbecker_scma-unframed_frame_format-cropped.eps -> frame_format-
>> cropped.eps
>> 
>> The whole process would've been automated nicely if not for this.
> 
> The files are referenced using the mangled names in the DVI (at least on
> my machine). If the DVI does not reference the mangled files then this
> would be a bug => please report at
> http://www.lyx.org/trac/wiki/BugTrackerHome in that case.
> 
> If you want a DVI which refernces images without mangled names you need to
> produce it manually: Export to "LaTeX (plain)", which will produce a .tex
> file + all .eps files (unmangled). Then run latex, bibtex and other aux
> programs as needed to produce the DVI.
> 
> 
> Georg

Seems pretty messed up.  If I don't check 'use non-tex fonts', and export 
via DVI (LuaTeX), I get a dvi, but no eps graphics.

Finally, I tried export LaTeX (dviluatex), and THEN I got eps graphics, but 
without mangled names.



algorithm float placed too high?

2016-01-13 Thread Neal Becker
I'm preparing camera ready version for IEEE conference, and I've hit a snag.  
I inserted an algorithm float, and it got placed at the top of a column.  
But the top of the 2 columns don't align!  Any ideas?  I've included a 
snapshot showing the problem area.

Re: LyX with NewTXMath unable to load metric data

2015-11-06 Thread Neal Becker
Guillaume Munch wrote:

> Le 05/11/2015 12:36, Neal Becker a écrit :
>> Guillaume Munch wrote:
>>
>>> Le 04/11/2015 22:46, Robert Susmilch a écrit :
>>>> Dear List,
>>>>
>>>> I have been doing quite a few papers in LyX, and tried switching to
>>>> LibreOffice for Zotero integration, however the math and figure
>>>> placement drove me up the wall so badly, I came back to LyX/LaTeX,
>>>> cheated, and entered my citations and references manually via cut and
>>>> paste.
>>>>
>>>> I have looked at several fonts, and like Libertine, however I cannot
>>>> get Libertine to work for the math font.
>>>>
>>>> At first libertine would not show up as installed in LyX, but a reboot
>>>> may have fixed that. It now shows up under math font. However, even a
>>>> basic document gives me an error while trying LuaTex:
>>>>
>>>> ! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.
>>>> 
>>>> relax
>>>> l.11 This is a fancy equation $\sum
>>>>_{i=1}^{\infty}b^{i}$.
>>>> I wasn't able to read the size data for this font,
>>>> so I will ignore the font specification.
>>>> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>>>> You might try inserting a different font spec;
>>>> e.g., type `I\font='.
>>>>
>>>>
>>>> This happens with Times New Roman and Garamond for the NewTX math font.
>>>> Euler and Kurier both work (but are ugly IMHO.)
>>>>
>>>> PDFLatex gives a similar error, but complains that there is no font of
>>>> size 8.8 pt loadable.
>>>>
>>>> XeXtex coplains about missing temp pdf.
>>>>
>>>> I have tried some suggestions of reinstalling texlive-collection-
>>>> fontsrecommended. I have wiped my preamble out and removed all loaded
>>>> modules in document settings.
>>>>
>>>> This is all on a Fedora 22 system, using LyX  2.1.4.
>>>>
>>>> What am I missing?
>>>>
>>>
>>> You are trying to use NewTXMath with the libertine option if I
>>> understand correctly. I don't know what goes wrong. But, have you tried
>>> the stix fonts with pdflatex (\usepackage{stix} in the preamble) ? Stix
>>> is self-contained, so you have to remove other font packages first,
>>> including math symbols, to try. I know a couple other fonts for text and
>>> math that give good results.
>>
>> Out of curiosity I took a beamer presentation and tried adding
>> \usepackage{stix}.  I got a string of errors, starting with:
>>
>> No room for a new \mathgroup .
>>
>>
>>
> 
> If you previously needed additional packages containing math symbols,
> try to remove those packages from the preamble. Stix should already have
> all the symbols that you need. In particular I set amssymb and stmaryrd
> to "do not load" in the document settings (but maybe that's also because
> I \usepackage[scr=boondoxo,cal=pxtx]{mathalfa} in addition to stix, I
> don't remember the details).

I tried removing all other packages, and trying lualatex on this tex file I 
still get the same error.  My preamble is down to this:  (This is fedora 23)

%% LyX 2.1.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{beamer}
\usepackage{fontspec}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{graphicx}

\makeatletter

%% LyX specific LaTeX commands.
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% Textclass specific LaTeX commands.
 % this default might be overridden by plain title style
 \newcommand\makebeamertitle{\frame{\maketitle}}%
 % (ERT) argument for the TOC
 \AtBeginDocument{%
   \let\origtableofcontents=\tableofcontents
   \def\tableofcontents{\@ifnextchar[{\origtableofcontents}
{\gobbletableofcontents}}
   \def\gobbletableofcontents#1{\origtableofcontents}
 }

%% User specified LaTeX commands.
\usepackage{stix}
%\usepackage{siunitx}
%\usetheme{CambridgeUS}
%\usecolortheme{dolphin}
%\usepackage{lmodern}

\makeatother

\usepackage{babel}
\begin{document}
...



Re: LyX with NewTXMath unable to load metric data

2015-11-05 Thread Neal Becker
Guillaume Munch wrote:

> Le 04/11/2015 22:46, Robert Susmilch a écrit :
>> Dear List,
>>
>> I have been doing quite a few papers in LyX, and tried switching to
>> LibreOffice for Zotero integration, however the math and figure placement
>> drove me up the wall so badly, I came back to LyX/LaTeX, cheated, and
>> entered my citations and references manually via cut and paste.
>>
>> I have looked at several fonts, and like Libertine, however I cannot get
>> Libertine to work for the math font.
>>
>> At first libertine would not show up as installed in LyX, but a reboot
>> may have fixed that. It now shows up under math font. However, even a
>> basic document gives me an error while trying LuaTex:
>>
>> ! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.
>> 
>> relax
>> l.11 This is a fancy equation $\sum
>>   _{i=1}^{\infty}b^{i}$.
>> I wasn't able to read the size data for this font,
>> so I will ignore the font specification.
>> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>> You might try inserting a different font spec;
>> e.g., type `I\font='.
>>
>>
>> This happens with Times New Roman and Garamond for the NewTX math font.
>> Euler and Kurier both work (but are ugly IMHO.)
>>
>> PDFLatex gives a similar error, but complains that there is no font of
>> size 8.8 pt loadable.
>>
>> XeXtex coplains about missing temp pdf.
>>
>> I have tried some suggestions of reinstalling texlive-collection-
>> fontsrecommended. I have wiped my preamble out and removed all loaded
>> modules in document settings.
>>
>> This is all on a Fedora 22 system, using LyX  2.1.4.
>>
>> What am I missing?
>>
> 
> You are trying to use NewTXMath with the libertine option if I
> understand correctly. I don't know what goes wrong. But, have you tried
> the stix fonts with pdflatex (\usepackage{stix} in the preamble) ? Stix
> is self-contained, so you have to remove other font packages first,
> including math symbols, to try. I know a couple other fonts for text and
> math that give good results.

Out of curiosity I took a beamer presentation and tried adding 
\usepackage{stix}.  I got a string of errors, starting with:

No room for a new \mathgroup .




error loading file into memory

2015-08-05 Thread Neal Becker
I have a number of figures which include graphics from matplotlib.  They all 
previewed fine until I changed the mpl code to use:

import matplotlib as mpl
mpl.rc('font', family='stix')
mpl.rc('axes', labelsize='large')

I notice that mpl now warns that it cannot subset stix and includes the 
whole font.

Anyway, now the figures render fine in the final pdf, but lyx preview is 
broken with the above error message.

This is lyx-2.1.3 on fedora 22.



error loading file into memory

2015-08-05 Thread Neal Becker
I have a number of figures which include graphics from matplotlib.  They all 
previewed fine until I changed the mpl code to use:

import matplotlib as mpl
mpl.rc('font', family='stix')
mpl.rc('axes', labelsize='large')

I notice that mpl now warns that it cannot subset stix and includes the 
whole font.

Anyway, now the figures render fine in the final pdf, but lyx preview is 
broken with the above error message.

This is lyx-2.1.3 on fedora 22.



math preview not working (lyx-2.1.3, fedora-22)

2015-07-10 Thread Neal Becker
I know it used to work, but something broke.

If I turn on math preview, it does something horrible.  It looks like the 
preview of math now occupies about 1/2 of the screen, making the screen 
quite unreadable.  Like if I wrote $x^2$, there is a box showing a preview 
of this single x^2 that occupies like 1/2 of the screen.



math preview not working (lyx-2.1.3, fedora-22)

2015-07-10 Thread Neal Becker
I know it used to work, but something broke.

If I turn on math preview, it does something horrible.  It looks like the 
preview of math now occupies about 1/2 of the screen, making the screen 
quite unreadable.  Like if I wrote $x^2$, there is a box showing a preview 
of this single x^2 that occupies like 1/2 of the screen.



math preview not working (lyx-2.1.3, fedora-22)

2015-07-10 Thread Neal Becker
I know it used to work, but something broke.

If I turn on math preview, it does something horrible.  It looks like the 
preview of math now occupies about 1/2 of the screen, making the screen 
quite unreadable.  Like if I wrote $x^2$, there is a box showing a preview 
of this single x^2 that occupies like 1/2 of the screen.



\usepackage{cite} with IEEEtrans not collapsing multiple refs?

2015-07-07 Thread Neal Becker
I'm using
\documentclass[american,conference]{IEEEtran}
\usepackage{fontspec}
\usepackage{geometry}
\geometry{verbose}
\usepackage{graphicx}

\makeatletter
%% User specified LaTeX commands.
\usepackage{cite}
...

But citations like:
\cite{roberts,okada}

are not collapsed, but appear as
[1], [2]

This is supposed to work according to
http://ctan.mirrors.hoobly.com/macros/latex/contrib/IEEEtran/IEEEtran_HOWTO.pdf

Any ideas? (Of course, this is a lualatex issue, not really lyx issue - I 
can reproduce running lualatex on the latex output from lyx)



  1   2   3   4   5   6   7   8   >