'view' (Ctrl-R) is grayed-out for non-tex fonts

2015-03-09 Thread Neal Becker
I have a brand-new install of Fedora 21.  If I choose 'use non-tex fonts 
(via xetex-luatex)' then 'view' is grayed out.  How can I fix this?  I have 
texlive-luatex (and I can export to pdf).

-- 
Those who fail to understand recursion are doomed to repeat it



howto export with batch mode

2015-03-10 Thread Neal Becker
How would I use batch mode to process a lyx file, exporting with lualatex to 
pdf?

-- 
Those who fail to understand recursion are doomed to repeat it



howto change math fonts

2015-04-14 Thread Neal Becker
In the document/settings/fonts dialog:

Using:
Use non-tex fonts

I can select various text fonts, but the only selection of math fonts is:

Class Defaults (TeX fonts)
Non-tex default

Should other choices be available?
(playing with document preamble, I haven't found a way to choose stix, xits, 
or asana that works).

-- 
Those who fail to understand recursion are doomed to repeat it



color math not shown on screen

2015-05-04 Thread Neal Becker
I applied coloring 'blue' to the following sentence.  It is rendered 
correctly on the tex output, but on screen the \mathbf{s_{0}} is rendered 
black.

By demodulating, decoding, and remodulating we will recover the desired 
signal \mathbf{s_{0}}
 
-- 
Those who fail to understand recursion are doomed to repeat it



trying to get stix fonts working

2015-04-14 Thread Neal Becker
Some years ago I tried this and I think got it to work - but now
trying on a new machine under fedora 21 (lyx-2.1.3)

I found some old discussion and tried setting:

\usepackage{unicode-math}
\setmathfont{xits-math.otf}

(the older discussion said \setmatfont{XITS Math}, but that just gives font 
not found)

Then running lualatex.

When I put a \Delta_f in my document, then I get no error or warning - but
when the pdf is displayed, the '\Delta' is invisible.

Without the 
\setmatfont{xits-math.otf}

the \Delta is displayed.

Any ideas?

-- 
Those who fail to understand recursion are doomed to repeat it



\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)



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

2015-07-07 Thread Neal Becker
Neal Becker wrote:

 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)

my mistake, it seems only collections of =3 items are collapsed - I was 
testing with 2.



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.



IEEEtrans not 2 column?

2006-04-12 Thread Neal Becker
I'm just trying out IEEEtrans class.  The class is supposed to be 2 column
by default, but lyx is displaying 1 column.  Running latex though, it does
show 2 columns.




Simple question - howto enter macro w/args

2006-04-14 Thread Neal Becker
I want to enter the latex command: \unit[N]{symbols} in mathed.  How do I do
it?
Simply typing this in doesn't work.  The '{' is interpreted as a literal
brace insertion, not as an arg to the \unit macro.



Re: Insert identical custom header on each page

2006-04-20 Thread Neal Becker
Tim Vaughan wrote:

 Good catch!  Also, the example I gave above will include a horizontal
 line at the top of the page.  To remove that then add the following to
 the preamble (which should be modified in the manner which Paul pointed
 out):

 \rhead{\bfseries 123456789}
 \renewcommand{\headrulewidth}{0pt}

 The new line will remove the horizontal line at the top, should you so
 wish, leaving you merely with the number 123456789 at the top right.
 
 
 That worked perfectly.  Thanks for the help, much appreciated.
 
 Tim

Seems like this would be a nice feature request, to support fancy
header/footer specification without needing to mess with latex preamble.



Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
I'm using beamer (happily), inserting frame/endframe.  Life is good.  Now, I
want to insert a frame with an optional argument.
I want it to expand to:

\frame[allowframebreaks]{\frametitle{whatever}...

How do I do this with lyx?



Re: Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
On Thursday 20 April 2006 9:15 am, Bo Peng wrote:
 On 4/20/06, Neal Becker [EMAIL PROTECTED] wrote:
  I'm using beamer (happily), inserting frame/endframe.  Life is good. 
  Now, I want to insert a frame with an optional argument.
  I want it to expand to:
 
  \frame[allowframebreaks]{\frametitle{whatever}...

 Have you tried ert at the beginning of the frame title? That is where
 I add things like [+-]


Seems to work.  Thanks!


generate pdf with comments enabled?

2006-06-02 Thread Neal Becker
Is there some way to generate pdf that has review comments enabled?  Using
lyx with pdflatex (This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C
7.5.4)) the generated pdf does not have review comments enabled.




export to openoffice?

2006-08-29 Thread Neal Becker
I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.



Re: Document - Change Tracking?

2006-09-19 Thread Neal Becker
Jean-Marc Lasgouttes wrote:

 Wolfgang == Wolfgang Keller
 [EMAIL PROTECTED] writes:
 
 Wolfgang BTW: Is the LyX file format subversion-friendly (i.e.
 Wolfgang diff-able)?
 
 It is diff-able (just look at it, it is plain text), but we do not
 have the tools to display the diffs in the interface.
 
 JMarc

You might want to use kdiff3



Re: MSWord(html) or OpenOffice.Org

2006-09-25 Thread Neal Becker
Bob Lounsbury wrote:

[...]
 What has worked best for me is to do as you said in step 5 and ensure
 that all the standard environments are on default settings and do an
 export to rtf from within LyX. Opening the rtf in Word there are a
 few formatting concerns, but it is easy enough to correct them
 quickly and send the file out to my advisor.

No export to rtf in my LyX(1.4.3).  What am I missing?



convert grace - pdf (not png)?

2006-09-28 Thread Neal Becker
I want to include grace (.agr) graphics.  I want to export to pdf.

The default setup works, but grace is converted to png.  I want to convert
to pdf instead.

How do I convince lyx?

I tried:
\converter agr pdf2 gracebat -hardcopy -printfile $$o -hdevice PDF $$i
2/dev/null 




Re: convert grace - pdf (not png)?

2006-09-29 Thread Neal Becker
Georg Baum wrote:

 Helge Hafting wrote:
 
 Neal Becker wrote:
 I want to include grace (.agr) graphics.  I want to export to pdf.

 The default setup works, but grace is converted to png.  I want to
 convert to pdf instead.

 How do I convince lyx?
 
 By changing the source code, function findTargetFormat in
 src/insets/insetgraphics.C.
 
 I tried:
 \converter agr pdf2 gracebat -hardcopy -printfile $$o -hdevice PDF
 $$i 2/dev/null 
 
 You should use pdf instead of pdf2 if there would not be the hardcoding
 problem.
 
 I did this with lilypond files.  It works well, because I use an
 external inset.  So I get conversion to .pdf for pdflatex,
 .eps for plain latex, and .png for the instant preview in lyx.
 
 Neal sent a message to the devel list with an external agr inset, but it
 does not work. I have no idea why, and did not have the time yet to look
 at it.
 
 I am not sure about how lyx handles graphichs included via
 the graphichs inset, if that is what you use.  Perhaps someone
 else can help with that.
 
 It is hardcoded to png conversion for pdflatex, and yes, we need to change
 that.
 
 The external inset way works - in addition to converters, you
 will need to modify the file external_templates.  Feel free to ask
 if you want some help with that. A nice thing about external
 insets is that you also may specify an editor for your .agr files.
 That way, you can click on your graphichs in lyx, and have lyx
 launch the proper editing app.
 
 That does also work with graphic insets.
 
 
 Georg

Thank you.  Let me know if I can help with any testing.




hyperlink to html documents?

2007-11-13 Thread Neal Becker
I'm using lyx to document some code (python).  I used epydoc to generate
html docs for the API.  If I want to link from my lyx-generated pdf to that
code, I see that file:///absolute_file_path.html will work (at least, when
viewed with kpdf).  I would rather use a relative file path.  Is this
feasible?  Do other pdf viewers support this as well?



syntax highlighted code

2007-11-15 Thread Neal Becker
I want to put hyperlinks in my pdf output to syntax highlighted code
listings.  I wonder if anyone can recommend a syntax highlighter that:

1) groks c++ and python (at least)
2) outputs pdf
3) Can number lines
4) Can wrap long lines

I don't want to include the code listings in my main document (because they
are long), I just want hyperlinks to them.



Re: syntax highlighted code

2007-11-16 Thread Neal Becker
G. Milde wrote:

 On 15.11.07, Neal Becker wrote:
 I want to put hyperlinks in my pdf output to syntax highlighted code
 listings.  I wonder if anyone can recommend a syntax highlighter that:
 
 1) groks c++ and python (at least)
 2) outputs pdf
 3) Can number lines
 
 I recommend pygments: http://pygments.org/
 Its a highly configurable, clean, documented Python package producing html
 or latex.
 
 I do not know about
 4) Can wrap long lines
 however.
 

Pygments was my first choice.  In the end, I don't think I will use it.  It
can generate pdf via latex, but it uses fancyvrb.  AFAICT, this doesn't
allow line wrap, and the code for fancyvrb.sty is (to my eye) some of the
scariest latex code I've seen.




listings prebreak question

2007-11-21 Thread Neal Becker
Anyone know something that can be put into listings prebreak that would be
more visually appealing than '/'?

I'd like some kind of arrow, but attempts to put in any math symbols, using
e.g. prebreak={$+$} (That is, just try a simple math symbol) results in
errors:
Improper discretionary list.



Re: listings prebreak question

2007-11-21 Thread Neal Becker
Neal Becker wrote:

 Anyone know something that can be put into listings prebreak that would be
 more visually appealing than '/'?
 
 I'd like some kind of arrow, but attempts to put in any math symbols,
 using e.g. prebreak={$+$} (That is, just try a simple math symbol) results
 in errors:
 Improper discretionary list.

Ah, think I found one:
\usepackage{pifont}
prebreak={\ding{43}}



Re: TeXLive rpm packages available to Fedora 8 users

2007-12-08 Thread Neal Becker
Jürgen Spitzmüller wrote:

 Oisin Feeley wrote:
 For those of us running Fedora 8 it's now easy to install TeXLive (the
 replacement to the no longer maintained teTeX) thanks to Red Hat's
 Jindrich Novy.  As part of the work he's doing for the upcoming Fedora
 9 Jindrich has released RPMs which are available at his personal page
 in a repository which can be activated as detailed here:
 
 Note, however, that we got crash reports from users of TeXLive with Fedora
 8: http://bugzilla.lyx.org/show_bug.cgi?id=4409
 
 Jürgen
In retrospect, the crash might be unrelated to the upgrade.



Re: TeXLive rpm packages available to Fedora 8 users

2007-12-09 Thread Neal Becker
Jürgen Spitzmüller wrote:

 Neal Becker wrote:
 In retrospect, the crash might be unrelated to the upgrade.
 
 Did you try my suggestion on bugzilla (uninstalling KDE4)?
 
 Jürgen

Sorry, were you asking me?  I don't have kde4, but I do have the crash.



Re: TeXLive rpm packages available to Fedora 8 users

2007-12-09 Thread Neal Becker
Neal Becker wrote:

 Jürgen Spitzmüller wrote:
 
 Neal Becker wrote:
 In retrospect, the crash might be unrelated to the upgrade.
 
 Did you try my suggestion on bugzilla (uninstalling KDE4)?
 
 Jürgen
 
 Sorry, were you asking me?  I don't have kde4, but I do have the crash.

Actually, I DO have kdelibs4-3.94.0-2.fc8.x86_64.



Re: TeXLive rpm packages available to Fedora 8 users

2007-12-09 Thread Neal Becker
Jürgen Spitzmüller wrote:

 José Matos wrote:
  Did you try my suggestion on bugzilla (uninstalling KDE4)?

 I suspect that you are right.

 In my new desktop I have not (yet) installed kde4 and lyx displays
 figures and math previews. On my laptop were kde4libs are installed it
 crashes as soon as I enable figures display. :-(

 As I said before this only happens for some eps figures (not all) but the
 User's Guide is perfect example where it crashes.

 A simple recipe to duplicate this bug is:

 Help-User's Guide

 crash
 
 So this means that this is a Fedora bug, right? They either ship a buggy
 kde4libs, or there is a packaging problem, and the wrong kimg is used.
 
 FWIW, on my openSuse 10.3 box, everything works fine with KDE3 and KDE4
 both installed (including both versions of kimg).
 
 Jürgen

It seems that removing kdelibs4 fixes it.



dejavu fonts with texlive (fedora 8)

2007-12-12 Thread Neal Becker
I noticed after installing texlive on fedora f8 that now if I create a
beamer document, the default fonts are ugly, and they are coming from:
/usr/share/fonts/dejavu-lgc/DejaVuLGCSans.ttf

If I do \usepackage{cmlgc}, everything is cool.

Where did this default get set and how to change it?



Shortcuts for environments?

2007-12-13 Thread Neal Becker
Are there keyboard shortcuts to select an environment?  I do a lot of beamer
presentations, could use one for 'begin frame' and 'itemize'.



Don't want equations numbered within sections

2007-12-17 Thread Neal Becker
lyx-1.5.2.  I chose ams article class.  I don't have any sections in this
short memo, and the first equation is 0.1.

Exporting latexpdf, I see:
\numberwithin{equation}{section} %% Comment out for sequentially-numbered
\numberwithin{figure}{section} %% Comment out for sequentially-numbered

How can I change this within lyx?  I don't see anything in document
settings.



Re: Don't want equations numbered within sections

2007-12-20 Thread Neal Becker
Jürgen Spitzmüller wrote:

 Neal Becker wrote:
 lyx-1.5.2.  I chose ams article class.  I don't have any sections in this
 short memo, and the first equation is 0.1.

 Exporting latexpdf, I see:
 \numberwithin{equation}{section} %% Comment out for sequentially-numbered
 \numberwithin{figure}{section} %% Comment out for sequentially-numbered

 How can I change this within lyx?  I don't see anything in document
 settings.
 
 Document class article (AMS, sequential numbering)?
 
Thanks.

BTW, having to choose a different class just to get some little variation
is, (let me be kind here...) suboptimal?

I can imagine a nice dialog with check boxes for this sort of thing.




Re: Don't want equations numbered within sections

2007-12-21 Thread Neal Becker
Paul A. Rubin wrote:

 Neal Becker wrote:
 Jürgen Spitzmüller wrote:
 
 Neal Becker wrote:
 lyx-1.5.2.  I chose ams article class.  I don't have any sections in
 this short memo, and the first equation is 0.1.

 Exporting latexpdf, I see:
 \numberwithin{equation}{section} %% Comment out for
 sequentially-numbered \numberwithin{figure}{section} %% Comment out for
 sequentially-numbered

 How can I change this within lyx?  I don't see anything in document
 settings.
 Document class article (AMS, sequential numbering)?

 Thanks.
 
 BTW, having to choose a different class just to get some little variation
 is, (let me be kind here...) suboptimal?
 
 Well, funky maybe.
 
 I can imagine a nice dialog with check boxes for this sort of thing.
 
 This sort of thing is going to be very class-specific.  For AMS, it's
 a check box to decide whether numbering is within sections ... and
 another for whether there's numbering at all.  For a different class
 it's going to be something else.  So I think what this would require is
 (1) syntax in the layout file to define options (how to display them in
 a dialog, what the choices are, what LaTeX to insert for each choice)
 and (2) an extra dialog in Document - Settings that self-configures
 based on that piece of the layout file.  Sounds doable (though not by me
 -- allergy to C++), but perhaps not obvious how many layouts would
 exploit it.  Perhaps it should go on the wiki wish-list and people could
 vote for it (by suggesting layouts that would benefit from it)?
 
 /Paul

I have so far not written any code for lyx.  I _did_ buy the PyQt4 book. 
How do we feel about using PyQt for something like this, or does that even
make any sense?



Re: Some Inconvenient Truths...

2007-12-23 Thread Neal Becker
Ryan Cross wrote:

 I completely sypathize with you and using equations in my documents is one
 of the main reason I use latex. Just a thought though to perhaps ease the
 pain of transition. How about taking your ms word file, converting it into
 an open office file and then from there using the conversion from open
 office (ODF) to lyx/latex. I think there is also a fairly reliable
 converter between lyx/odt to go back and forth if you need to, but check
 the wiki for more details.
 

skeptic_mode
Does this actually work with math?
/skeptic_mode



Re: DocBook Support?

2008-01-04 Thread Neal Becker
José Matos wrote:

 On Wednesday 02 January 2008 08:03:52 Ryan Cross wrote:
 Bump... Can anyone provide some guidance on working with DocBook for Lyx
 (with any current versions)?

 Thanks!
 -Ryan
 
   I am sorry for the delay. I have been recovering from a small surgery
   just
 before the holidays, and now I am recovering from the holidays. :-)
 
   Expect new documentation next week. I will add the documentation to the
   wiki
 and then post a link here.
 

Has anyone tried dblatex to work with docbook in lyx?  Seems like a perfect fit.



[OT] using open office

2008-01-07 Thread Neal Becker
Every now and then I get an inclination to try the more widely used tools,
such as OO (open office).  I am always stumped right at the start.  Where
is the template for something like a lyx or latex article format?



Re: (latex question) Repeated footnote?

2008-01-11 Thread Neal Becker
Neal Becker wrote:

 I have a description env, and I have some notes for some entries.  I was
 planning to use footnotes, but I need multiple references to the _same_
 notes.
 
 Like:
 
 entry A: 1
 entry B: 1
 entry C: 2
 
 1: some footnote
 2: some other footnote

It looks like floatmisc package can help.

Strangely, lyx allows inserting a label into a footnote, but I don't see how
to use this as a reference (that would appear formatted in the style of a
footnote). 



(latex question) Repeated footnote?

2008-01-11 Thread Neal Becker
I have a description env, and I have some notes for some entries.  I was
planning to use footnotes, but I need multiple references to the _same_
notes.

Like:

entry A: 1
entry B: 1
entry C: 2

1: some footnote
2: some other footnote



Footnote in table problem (texlive issue?)

2008-01-11 Thread Neal Becker
Then I run the enclosed test through pdflatex using texlive
(texlive-2007-0.18.fc9.x86_64), the footnote doesn't show up.




newfile1.lyx
Description: application/lyx


Re: LyX install on Fedora

2008-01-15 Thread Neal Becker
Uh, did you consider 'yum install lyx'?  You don't need to build anything
for lyx on F8.



lyx wiki problems

2008-01-17 Thread Neal Becker
http://wiki.lyx.org/uploads/Tools/LyX2OpenOffice/ConvTex.zip

doesn't exist.

Is there a working ConvTex and if so where can I find it?



copy+paste table entries?

2008-01-21 Thread Neal Becker
It doesn't seem possible to copy and paste a group of table entries.  Is
this correct?  Sure would be useful.



Re: Latex presentation with lyx

2008-01-27 Thread Neal Becker
David Hewitt wrote:
 
 It sure seems like a good idea to me. The Beamer products are very
 impressive and clean, and IMO anything is better than another dull PPT
 presentation with Comic Sans text. I intended to start working on this a
 few days from now for a presentation of my own, but knowing nothing I went
 and checked the Wiki. This helped:
 
 http://wiki.lyx.org/Examples/Beamer
 
Thanks for the example.  How did you insert the optional args that show up
as opt?  For example:
\title[Brainlab]{Brainlab:}

I'm using lyx-1.5.3, but I don't see any way to do this.



Re: Latex presentation with lyx

2008-01-27 Thread Neal Becker
Paul A. Rubin wrote:

 Neal Becker wrote:
 
 Thanks for the example.  How did you insert the optional args that show
 up
 as opt?  For example:
 \title[Brainlab]{Brainlab:}
 
 
 Menus: Insert - Short Title;
 Command buffer (opened with M-x): optional-insert (and hit enter).
 [...]

Thanks.  This makes me wonder what else I'm missing?  I've used lyx for a
while now, and didn't know about this feature.

How does one discover these things?

If this was emacs, M-x would have tab completions, apropos, etc that would
help me discover these features.




Howto put itemize inside beamer block

2008-02-19 Thread Neal Becker
One time I did this, the latex looks like:

\begin{block}
{Key Idea}
\begin{itemize}
\item \alert{blah blah...}
\end{itemize}
\end{block}

I can't seem to enter this in lyx (although I must have done it once
before).  Either I forgot how, or lyx 1.5.3 doesn't work.

If I select block, then put in the ERT, hit return.  Then if I try to choose
itemize, I get an itemize _after_ the block is closed, not inside the
block.



[OT] latex unicode question

2008-02-29 Thread Neal Becker
I have recent texlive. 

\documentclass[10pt,a4paper,english]{article}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\begin{document}
What is π
\end{document}

I get:
! Undefined control sequence.
\u-default-960 #1-\textpi 
   
l.5 What is π
  
? 
! Emergency stop.
\u-default-960 #1-\textpi 

Any clues?



lyx + xetex?

2008-03-05 Thread Neal Becker
I looked at http://wiki.lyx.org/LyX/XeTeX.

I grabbed this example:
http://wiki.lyx.org/uploads/Examples/XeTeX/xetex.lyx

If I try export/LaTeX(pdflatex)

I get:
Could not find Latex command for character (some chinese unicode char)





making 1 small mod to layout

2008-03-28 Thread Neal Becker
I want to allow paragraph in amsart.

One way is copy amsart.layout to my .lyx/layouts, and just comment out
NoStyle paragraph

Is there a way to just include the standard system file, and just make a
1-line .lyx/layouts that makes this modification?



delete label from equation

2008-04-11 Thread Neal Becker
I'm trying to delete a label from an ams align.  It was somehow applied to
the first equation of the set instead of the entire set.

I can't seem to figure out any way to select the label to delete it.

If I ever do, how can I make sure the label is attached to the whole set of
(align) eqs, not just to one equation?



Re: delete label from equation

2008-04-11 Thread Neal Becker
Bob Lounsbury wrote:

 On Fri, Apr 11, 2008 at 11:24 AM, Neal Becker
 [EMAIL PROTECTED] wrote:
 I'm trying to delete a label from an ams align.  It was somehow applied
 to
  the first equation of the set instead of the entire set.

  I can't seem to figure out any way to select the label to delete it.

  If I ever do, how can I make sure the label is attached to the whole set
  of (align) eqs, not just to one equation?
 
 
 Edit-Math, Number this Line  Number whole Formula.
 
 Cheers,
 /Bob

It seems Number whole Formula turns on Number this line for every line,
whether I want it or not.



subequation numbering?

2008-04-14 Thread Neal Becker
Does lyx support subequations?



Howto ERT that uses external files?

2008-04-16 Thread Neal Becker
I wanted to play with pdfpages.  I tried ERT:
\includepdf[pages=-,angle=90,fitpaper]{Visio-rx_block_diagram_rev4}

But 'view' will fail, because the file is in my cwd, not in /tmp/blah, which
is where pdflatex is run.

Howto workaround this?



ams align requires a punctuation character?

2008-04-22 Thread Neal Becker
I tried using ams align (lyx1.6svn), to typeset this:
\begin_layout Standard
\begin_inset Formula \begin{align*}
\renewcommand \minalignsep {2em}s_{i}  :i\text{th systematic bit}\\
p_{i}^{j}  :j\text{th parity bit for }i\text{th input}\\
t_{i}^{j}  :j\text{th tail bit from }i\text{th encoder}\end{align*}

\end_inset


It seemed that unless I put some punctuation, such a '=' or in the above
case ':', I did not get any column space.



Re: english appended to the left side of the running head

2008-04-22 Thread Neal Becker
Richard Heck wrote:

 rhb wrote:
 I'm rather inexperienced with LaTeX and LyX, trying to use the latter to
 write a presentation for a class. I'm using the amsart document class,
 because it makes the handout look the best, but at the top of each page,
 it prints the title as englishTopological Vector Spaces instead of
 Topological Vector Spaces. Is there any way I can fix this, or get rid
 of the header entirely (I don't really need it)?

 Also, is there a way to remove or lessen the empty space above the title
 on the first page of the document? I'm having trouble figuring that out.

   
 I've seen this problem, too. I think it's a LyX bug. Please file a
 report at bugzilla.lyx.org, and I'll have a look at it as soon as I get
 a chance.
 
 rh
Well known bug in babel IIRC, grab latest babel.



lyx vs. winedt?

2008-05-01 Thread Neal Becker
I pointed one of my colleagues to lyx.  She showed me winedt, which she
uses.  I'm not sure what advantages one has over the other.  Any info on
this topic?



Automated generation of graphs to be included

2008-05-14 Thread Neal Becker
I wrote a little python to generate a bunch of graphs.  How do I format this
to a file to include in lyx?

I tried making a file with:

\begin_layout Standard
\begin_inset Graphics
filename N=512,e=--20.pdf
width 100line%

\end_inset

And tried insert/file/lyx, but lyx says it's not a lyx file.  What is the
best way to implement this?



Re: Automated generation of graphs to be included

2008-05-14 Thread Neal Becker
José Matos wrote:

 On Wednesday 14 May 2008 13:54:04 Neal Becker wrote:
 I wrote a little python to generate a bunch of graphs.  How do I format
 this to a file to include in lyx?

 I tried making a file with:

 \begin_layout Standard
 \begin_inset Graphics
 filename N=512,e=--20.pdf
 width 100line%

 \end_inset

 And tried insert/file/lyx, but lyx says it's not a lyx file.  What is the
 best way to implement this?
 
 How about using external insets?
 

Not sure what you mean here.

What I did:

Add \usepackage{graphicx} to preamble.

Add child doc using \input

Child doc has just a bunch of lines:
\includegraphcs[blah blah]{filename}



comment out in lyx?

2008-05-30 Thread Neal Becker
Simple question.  Can I comment out some lines in lyx?



Help on new (1.6) mathmacro

2008-06-04 Thread Neal Becker
I'm trying to find a description of how to use the new mathmacro stuff. 
Attempting to insert a mathmacro I get something that appears to have input
for a name, TeX code, and LyX code.  I don't know what should go into
these.  I'm guessing that the box labeled TeX is for a TeX expansion of the
macro, but don't know what the box labeled LyX is for.



Nested lists

2008-06-16 Thread Neal Becker
I have an enumerated list nested in an itemize list.  How do I exit the
inner enumerated list and return to the outer itemize?  (Decreasing list
depth doesn't do it)



Re: Nested lists

2008-06-16 Thread Neal Becker
James Sutherland wrote:

 
 On Jun 16, 2008, at 7:31 PM, Neal Becker wrote:
 
 I have an enumerated list nested in an itemize list.  How do I exit
 the
 inner enumerated list and return to the outer itemize?  (Decreasing
 list
 depth doesn't do it)

 
 Just restart the itemized list.
 
 James
What if it was the other way round?  I wouldn't want to restart the
enumeration, but continue it.  The whole design of TeX was around nested
environments.  It seems easy enough to start enclosing one env inside
another in LyX, but how to end the env?



Re: Nested lists

2008-06-17 Thread Neal Becker
G. Milde wrote:

 On 16.06.08, James Sutherland wrote:
 On Jun 16, 2008, at 7:53 PM, Neal Becker wrote:
 James Sutherland wrote:
 On Jun 16, 2008, at 7:31 PM, Neal Becker wrote:
 
 I have an enumerated list nested in an itemize list.  How do I exit
 the inner enumerated list and return to the outer itemize?
 
 (Decreasing list depth doesn't do it)
 Really? What does it then?
 
 Just restart the itemized list.
 
 James
 What if it was the other way round?  I wouldn't want to restart the
 enumeration, but continue it.  The whole design of TeX was around
 nested environments.  It seems easy enough to start enclosing one env
 inside another in LyX, but how to end the env?
 
 It works just fine.  See the attached example.
 
 LyX merges consecutive paragraphs of the same Layout into a
 common LaTeX environment. Something nested inside a paragraph will not
 break this behaviour.
 
 * Setting the next paragraph after the nested list to Enumerate
   will continue the enumeration.
   
 * To start a new enumeration, you have to separate the paragraphs with
   something different than a Enumerate paragraph.
   
   The --- Environment Separator --- is devised for this purpose; it
   will persist even if empty, shows a blue label in LyX and produces
   no output.
   
 Günter
What is --- Environment Separator ---?  I'm using 1.6beta3.



Option in beamer frame?

2008-06-19 Thread Neal Becker
Can I add the option allowframebreaks in my beamer frame?  How?  This is
1.6beta3.



[OT] article-like env for OO

2008-07-09 Thread Neal Becker
I'm forced to use OO today.  Is there any OO template that would look
similar to amsart, or article latex env?



Re: LyX version 1.6.0 (beta 4) is released

2008-07-14 Thread Neal Becker
José Matos wrote:

...
 
 ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.6.0beta4.tar.gz
 ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.6.0beta4.tar.bz2
 

No files found in above dir.





Re: Viewing changes in output document

2008-08-08 Thread Neal Becker
Paul A. Rubin wrote:

 alvaro wrote:
 Hello forum,
 
 today I discovered the function of tracking changes in Lyx documents... I
 think it is great! but when I wanted to create my output (dvi) with
 marked changes, lyx says it is not possible because I don't have
 installed xcolors/soul and dvipost... but I do have installed them!
 
 Does anyone know this problem? and maybe a solution?
 
 thank you!
 
 álvaro
 
 PS: rebooting didn't help either! :-(
 
 If you installed them after you installed LyX, you need to reconfigure
 LyX (Tools - Reconfigure), then shut LyX down and restart it.
 
 If you installed them before you installed LyX (or have reconfigured LyX
 since you installed them), open Help - LaTeX Configuration and see if
 they were found.  At least in version 1.5.6, divpost is section 7.3,
 soul is 7.17, and xcolor is 7.21.  They should all say yes.  If not (and
 assuming you've reconfigured LyX), you need to verify that your LaTeX
 distribution knows where to find them.  Open a command shell and run
 'kpsewhich dvipost.sty', 'kpsewhich soul.sty' and 'kpsewhich xcolor.sty'
 to verify their locations.  If they are not found, refresh the LaTeX
 filename database.
 
 /Paul

How do you change the visualization of changes?  Seems the default is to show 
them colored.  I'd like changebars.  Maybe overstrike?



1.6rc2 buglet

2008-08-29 Thread Neal Becker
When I change background color (in the gui), it opens additional 'list of 
equations' and 'source' views.



Re: units of measure in lyx

2008-11-11 Thread Neal Becker
Uwe Stöhr wrote:

 muzzle schrieb:
 
 does lyx have some kind of support for units of measure?
 
 Yes, see the Math manual, Appendix A.
 
 I was going to define some math macros like \TeV or \cm to be able to
 write thing like 3\cm or x\cm in math mode and have them formatted in a
 nice and consistent way.
 
 This is not really needed as you only have to write
 5 cm
 and insert a half space between the unit and the value. The Math manual
 and also the UserGuide explains this.
 
 regards Uwe

But shouldn't this be a non-breaking space?



Re: lyx2.0.0beta3 vs. texlive 2010

2011-03-02 Thread Neal Becker
[texlive]
name=TeX Live
baseurl=http://jnovy.fedorapeople.org/texlive/2010/packages.fc14/
enabled=0
metadata_expire=1d
gpgcheck=0


On Wednesday 02 March 2011, Rudi Gaelzer wrote:
 Can you please tell me what did you do?
 Did you first uninstall all the TeXlive 2007 packages that come with F14
 and then force the installation of 2010?
 Did you have to remove and reinstall LyX in the process?
 
 How do you find 2010 as compared with 2007?  I'm mainly interested in the
 reverse search capabilities offered by the most recent releases.
 
 Thank you.
 
 On Tue, Feb 1, 2011 at 10:12 AM, Neal Becker ndbeck...@gmail.com wrote:
  Guenter Milde wrote:
   On 2011-01-31, Neal Becker wrote:
   On Monday 31 January 2011, Marcelo Acuña wrote:
This is fedora 14 using texlive 2010
package from  Jindrich Novy
jn...@redhat.com

checking for a Latex2e program...
+checking for latex...  yes
   
   texlive 2010 work very well for me, with all 2.0 alphas and betas and
  
  1.6.8
  
   versions. I have debian lenny.
   
   Do you run a local TeXLive? Debian comes with texlive 2009 as newest
   version.
   
   Can you please tell me if you have:
   lrwxrwxrwx 1 root root 6 Jan 16 11:17 /usr/bin/latex - pdftex
   
   Yes, this is the Debian setup. With a recent Debian/testing, it is
   
   lrwxrwxrwx 1 root root 6 18. Okt 11:05 /usr/bin/latex - pdftex
   
   
   Günter
  
  My texlive was corrupt.  Cleaned out and reinstalled, now it's working.
  
  One surprise.  Choosing to view my document opened up firefox.  Probably
  not
  what I wanted (usually would use okular).



lmodern?

2011-04-06 Thread Neal Becker
I'm trying lyx-2.0.0rc2.

Do I still need to keep manually adding \usepackage{lmodern} to get vector 
fonts?  I would have hoped that if this wasn't the default by now, at least I'd 
find an option on the document settings.



2.0.0rc2 math panel drawing defect

2011-04-06 Thread Neal Becker
I just hit alt-m d to insert a display equation, and noticed the math panel was 
not drawn properly.  Only one menu appeared, but as I mouse over the panel, 
more 
menus are drawn.



Re: 2.0.0rc2 math panel drawing defect

2011-04-06 Thread Neal Becker
Pavel Sanda wrote:

 Neal Becker wrote:
 Pavel Sanda wrote:
 
  Neal Becker wrote:
  I just hit alt-m d to insert a display equation, and noticed the math
  panel was
  not drawn properly.  Only one menu appeared, but as I mouse over the
  panel, more menus are drawn.
  
  can't reproduce, can you report more info about your setup? p
 
 Also seen on spell checker pane.
 
 fedora linux 14
 kde
 nvidia proprietary driver
 
 I have seen sometimes similar symptoms related to nvidia driver, which is why
 I
 mention it.  Before you dismiss this though, I haven't seen this on any other
 app for quite a long time.
 
 
 qt version? p
qt-4.7.2-1.fc14.x86_64




caption in listings

2011-05-06 Thread Neal Becker
I used menu/insert caption to place a caption into my program listing float.  
But, the pld just says e.g. Listing 1, without my caption.  Ideas?



cross refs with page #s?

2011-05-06 Thread Neal Becker
Is there a way to get cross refs including page #s? Like
see Section 7.5 (pg 23).



selecting fonts in xetex

2011-05-10 Thread Neal Becker
I'm interested in trying out xetex.  Any suggestions for font settings to try 
(free, widely available)?  This is fedora 14, have stix fonts.

How are math fonts selected?



Re: selecting fonts in xetex

2011-05-10 Thread Neal Becker
On Tuesday 10 May 2011, Richard Heck wrote:
 On 05/10/2011 02:22 PM, Neal Becker wrote:
  I'm interested in trying out xetex.  Any suggestions for font settings to
  try (free, widely available)?  This is fedora 14, have stix fonts.
 
 You can use almost any font you have installed. The Liberation fonts
 seem quite good. You can use Deja Vu fonts, whatever.
 

I'm wondering if there any 'good' suggestions.  Perhaps from someone more 
knowlegable in the subject than I am (that'd be just about anyone).

  How are math fonts selected?
 
 This is one I do not know
 
 Richard



Re: selecting fonts in xetex

2011-05-11 Thread Neal Becker
Guenter Milde wrote:

 On 2011-05-10, Neal Becker wrote:
 
 I'm interested in trying out xetex.  Any suggestions for font settings
 to try (free, widely available)?  This is fedora 14, have stix fonts.
 
 This very much depends on what you want to achieve.
 As with XeTeX, you can use system fonts, this leaves the realm of TeX
 and you can follow the advise of the typesetting gurus.
 
 Some links:
 http://en.wikipedia.org/wiki/Typophile_%28Internet_Forum%29
 http://praegnanz.de/essays/freie-schriften-anspruch-und-wirklichkeit
 (German)
 http://www.100besteschriften.de/ (German)
 
 If you want matching math fonts, the selection becomes considerably
 narrower.
 
 How are math fonts selected?
 
 By default, math fonts are not changed and still taken from the 8-bit
 encoded CM fonts.
 
 To configure math fonts, there are two options:
 
 a) load a traditional math-font package like fourier, txfonts or
qtxfonts or mathdesign or kpmath or ...
*before* configuring the text fonts.

In LyX this means to leave the Font GUI at [Default], read the
fontconfig documentation and configure text fonts in the LaTeX
preamble, e.g.

% Requirements
\usepackage{fourier}

% Text font
\usepackage[no-math]{fontspec}
\usepackage{xunicode}
\setmainfont[BoldFont={XITS Bold},ItalicFont={XITS Italic}]{XITS Math}
\setsansfont{DejaVu Sans}
% \setmonofont[HyphenChar=None,Scale=MatchUppercase]{DejaVu Sans Mono}
\setmonofont[HyphenChar=None,Scale=MatchUppercase]{FreeMono}
 
 b) use the experimental unicode-math package
http://ctan.org/pkg/unicode-math
with one of the few OpenType Math fonts Asana-Math, XITS, Cambria-Math
(from MS-Word), NeuEuler or (the soon to be released) LM-Math.

Again, you need to call and configure this in the LaTeX preamble.
See the comprehensive package documentation
http://mirror.ctan.org/macros/latex/contrib/unicode-math/unicode-math.pdf
   
As this is hithero not tested with LyX, you might expect some
incompatibilities and problems.
 
 Günter

Thanks!  I found setting 
roman - XITS
+
\usepackage{unicode-math}
\setmathfont{XITS Math}

was good.  Only missing a \tt font to go with it.  I tried Deja Sans Mono, but 
the characters look larger than the roman text, not good.  Also tried Nimbus 
mono, but it's too thin.



Re: selecting fonts in xetex

2011-05-11 Thread Neal Becker
Bruce Pourciau wrote:

 
 On May 11, 2011, at 2:32 AM, Guenter Milde wrote:
 
 How are math fonts selected?

 By default, math fonts are not changed and still taken from the 8-bit
 encoded CM fonts.

 To configure math fonts, there are two options:
 
 You could also, within LyX, use the mathpazo package: In Document
 Settings  Fonts choose Palatino and check Small Caps and Old Style
 figures. This gives you Zapf's lovely Palatino for text and symbols
 for mathematics that have been redrawn (Palatino'd) to blend well with
 the text.
 
 Bruce

Unfortunately, on my setup (texlive-2010) Palatino seems quite broken.  Every 
character seems to be underined (load of errors in log), and all text chars are 
blank.



elyxer trouble

2011-05-25 Thread Neal Becker
elyxer (1.2.1) embeds:

link rel=stylesheet href=http://elyxer.nongnu.org/lyx.css; type=text/css 
media=all

But that url seems to be dead.

Has elyxer moved?

Is there some way I can reference a local copy instead?  I thought just copying 
lyx.css to the same directory would work, but it doesn't.



Re: elyxer trouble

2011-05-25 Thread Neal Becker
Julien Rioux wrote:

 On 25/05/2011 7:59 AM, Neal Becker wrote:
 elyxer (1.2.1) embeds:

 link rel=stylesheet href=http://elyxer.nongnu.org/lyx.css;
 type=text/css media=all

 But that url seems to be dead.

 Has elyxer moved?

 Is there some way I can reference a local copy instead?  I thought just
 copying lyx.css to the same directory would work, but it doesn't.


 
 Changing this to
 link rel=stylesheet href=./lyx.css type=text/css media=all
 
 and putting the css file in the same directory as the html file should work.
 
Thanks!

One more problem.  Running elyxer from lyx (2.0) gui, the displayed math is 
missing.  But, run elyxer from command line (using --html), works much better.  
What's going on?



Re: elyxer trouble

2011-05-25 Thread Neal Becker
Alex Fernandez wrote:

 On Wed, May 25, 2011 at 5:31 PM, Neal Becker ndbeck...@gmail.com wrote:
 One more problem.  Running elyxer from lyx (2.0) gui, the displayed math is
 missing.  But, run elyxer from command line (using --html), works much
 better. What's going on?
 
 What browser are you using? Some old versions of IE may show HTML
 better than XHTML. Anyway you can add the --html option within LyX,
 adding it to the Converters section in the Preferences:
   http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12
 
 Alex.

This is wierd.  If run from lyx export html, I see:

Line 3: * Warning: unsupported new format version 413
Line 150: * Formula beginning \begin_inset Formula  is unknown
Line 150: * Unparsed formula line \begin_inset Formula
Line 151: * Unparsed formula line \[
Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi i\Delta_{f}n}
Line 153: * Unparsed formula line \]

But if run from command line:
elyxer.py ../non-periodic.lyx ./non-periodic.html
Line 55: Title: ... (no error/warning)



Re: elyxer trouble

2011-05-26 Thread Neal Becker
Alex Fernandez wrote:

 Hi again,
 
 On Thu, May 26, 2011 at 12:58 AM, Neal Becker ndbeck...@gmail.com wrote:
 What browser are you using? Some old versions of IE may show HTML
 better than XHTML. Anyway you can add the --html option within LyX,
 adding it to the Converters section in the Preferences:
 http://www.nongnu.org/elyxer/userguide.html#toc-Subsubsection--12

 This is wierd.  If run from lyx export html, I see:

 Line 3: * Warning: unsupported new format version 413
 Line 150: * Formula beginning \begin_inset Formula  is unknown
 Line 150: * Unparsed formula line \begin_inset Formula
 Line 151: * Unparsed formula line \[
 Line 152: * Unparsed formula line F_{n}=\sum r_{i}x_{i}^{*}e^{2\pi
 i\Delta_{f}n} Line 153: * Unparsed formula line \]

 But if run from command line:
 elyxer.py ../non-periodic.lyx ./non-periodic.html
 Line 55: Title: ... (no error/warning)
 
 It would appear that something is different between both situations.
 Maybe you are running two different versions of eLyXer, or perhaps you
 are exporting the document to another LyX format. The first error
 appears when parsing formulas in LyX 2.0 -- it has already been
 corrected in git and will be there for the next version.
 
 As this problem is a bit specific of eLyXer, I suggest that we stop
 CC'ing lyx-users, if you want.
 
Is it specific to elyxer?  It seems to be the way lyx is using elyxer is the 
problem, since if I run elyxer from command line the problem is gone.




elyxer options for export to word?

2011-05-31 Thread Neal Becker
It seems if I use elyxer for the purpose of export to 'word', only --html seems 
to produce something word (2007) will recognize.

With defaults, word seems to show the xhtml structure instead of a formatted 
document.

I also tried lyxHTML export to xhtml.  This produced a file.xhtml, which 
word(2007) refused to open.



Re: A period after section number

2011-07-24 Thread Neal Becker
Anders Host-Madsen wrote:

 You should be able to do this with the titlesec package.
 
 For example, it has the following command:
 
 and you may add a dot after the counter simply with
 \titlelabel{\thetitle.\quad}
 
 My experience is that trying to change the section labels
 manually gives headaches.

But doesn't that give you:

1. Section 1
1.1. Subsection with 1 too many dots



[OT] I hate powerpoint

2011-08-26 Thread Neal Becker
I would normally use beamer, but now I'm forced to use ppt for my part of a 
joint presentation.  I hate it.

I just want something like this:

\begin{itemize}
\item Nice Equation
\begin{equation}
y = x
\end{equation}
\item Another equation
\begin{equation}
y = x
\end{equation}
...

You get the idea.

I see no reasonable way to do this in ppt.  I just ran out (electronically) and 
bought mathtype.  It looks like if I was using word, I could do this sort of 
thing.  But not ppt.  It has no concept of boxes and glue.

The only thing I can do AFAIK is:
Make an itemized (bullet) list
Make ever other item in the list blank to leave some space
Glue in the mathtype equations, MANUALLY trying to align them, and hoping that 
nothing moves the items of text, because the equations are just pictures, and 
aren't actually attached to anything.

I know _nothing_ about ppt.  Is there any better way?



can't change page layout with beamer?

2011-08-26 Thread Neal Becker
Any reason that when presentation(beamer) is selected, page layout can't be 
changed (grayed out)?



Re: can't change page layout with beamer?

2011-08-27 Thread Neal Becker
Jürgen Spitzmüller wrote:

 Neal Becker wrote:
 Any reason that when presentation(beamer) is selected, page layout can't be
 changed (grayed out)?
 
 http://www.lyx.org/trac/ticket/5863
 
 Jürgen

While geometry doesn't work, pgfpages seems to:

\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[letterpaper,landscape,border shrink=5mm]




Re: LyX and Inkscape

2011-09-22 Thread Neal Becker
Why wouldn't you just save as svg?

Julio Rojas wrote:

 I just tested it and it works like a charm with LyX. Beautiful results! :D
 
 Thanks to both of you.
 -
 Julio Rojas
 jcredbe...@gmail.com
 
 
 On Thu, Sep 22, 2011 at 3:09 PM, Mukhtar Ullah 
 mukhtar.ul...@informatik.uni-rostock.de wrote:
 
 Julio,

 You find this option after you choose save as pdf and confirm your
 choice.
 Later you will see a list of options one which is PDF+LaTeX.

 Regards,

 Mukhtar








subeq numbers in ams aligned

2012-02-23 Thread Neal Becker
I have an ams aligned env, and I'd like each of the subeqs numbered.  How can I 
do this?



Re: subeq numbers in ams aligned

2012-02-23 Thread Neal Becker
Neal Becker wrote:

 I have an ams aligned env, and I'd like each of the subeqs numbered.  How can
 I do this?

I cannot figure out a way to number each line in ams aligned env directly in 
lyx, but I found that if I start with eqnarray, number each line, and then 
'convert to ams aligned', lyx will do the correct thing.

File for an enhancement request?



Confusion algorithm vs. listing

2012-03-07 Thread Neal Becker
I can insert my code listing as a float in 2 ways, it appears.

I can insert an algorithm float, then insert a program listing into it.  This 
results in a caption 'Algorithm ...'

Else, I can insert a program listing, enter the settings dialog, and select 
float.  I can then add a caption, and it will say 'Listing ...'.

There does not appear to be a way to decide later I want to change all those 
'Algorithms' to 'Listings'.  Also, the look of these 2 floats is quite 
different.  Seems like this should be more unified.



Re: Confusion algorithm vs. listing

2012-03-09 Thread Neal Becker
Guenter Milde wrote:

 On 2012-03-07, Neal Becker wrote:
 I can insert my code listing as a float in 2 ways, it appears.
 
 I can insert an algorithm float, then insert a program listing into it.  This
 results in a caption 'Algorithm ...'
 
 Else, I can insert a program listing, enter the settings dialog, and select
 float.  I can then add a caption, and it will say 'Listing ...'.
 
 There does not appear to be a way to decide later I want to change all those
 'Algorithms' to 'Listings'.  Also, the look of these 2 floats is quite
 different.  Seems like this should be more unified.
 
 I rather assume the documentation should make more clear that these are
 completely different things. The algorithm is intended for mathematical
 algorigthms, not code.
 
 You might try to change one instance in LyX and then (looking at the
 differences) the others in the *.lyx file with a text editor.
 
 Günter

I like the way Algorithm looks, with a heavy rule above the caption.  This is 
apparantly produced in Algorithm using 
\floatstyle{ruled}

Is there some way to achieve the same effect in listings?  I know there is 
frame=lines

option for listings, which will produce a thin rule above/below code, but I 
also 
want a heavy rule above caption:

=
caption

code




Re: Presentation tip: was LyX as a presentation tool

2012-04-06 Thread Neal Becker
Thanks for the tip about Impressive!  That is pretty Impressive.  
Finding/installing deps on fedora 16 was a little bit of a pain (mostly due to 
differing package names on different systems)



Re: Graphics Tools

2012-07-18 Thread Neal Becker
William R. Buckley wrote:

 Working with TeX is a bit of a challenge, since it seems not to
 include much support for abstract drawing.  I have need for figures
 to appear in a paper, and am not familiar with the toolset usually
 employed for use to make drawn images suitable for use with TeX.
 
 Can you please make a few suggestions.
 
 wrb

Almost always the diagrams I want are block diagrams.  Requirements are:

Boxes with text labels
Connectors
Everything aligns on the grid!
Export to vector format
Some text on lines (some math would be nice)

You'd think that would be pretty minimal, but I've spent countless hours trying 
to meet these requirements.

You'd think libreoffice might do it.  My experience is otherwise.  After 
playing 
with grid settings, I still find things get placed off grid.

Perhaps the best for now is dia.



Re: Graphics Tools

2012-07-19 Thread Neal Becker
Paul A.  Rubin wrote:

 Neal Becker ndbecker2 at gmail.com writes:
 
 
 Boxes with text labels
 Connectors
 Everything aligns on the grid!
 Export to vector format
 Some text on lines (some math would be nice)

 
 If you don't need a GUI interface, TiKZ does those accurately and,
 once you learn the node syntax, easily.
 
 Paul

How do I use TiKZ with lyx?  Just enter it all as ERT?

Can lyx do 'insert graphics' and accept TiKZ?

If I did use TiKZ, I'd prefer to put the drawing in a separate file.



Re: break long equation into two lines

2006-11-08 Thread Neal Becker
Micha Feigin wrote:

 On Wed, 8 Nov 2006 09:42:55 -0500
 Reuben D. Budiardja
 [EMAIL PROTECTED] wrote:
 
 Hello,
 When working with math formula in equation array mode, I found out that
 my equation is too long on the page. I want to break it to two lines. Is
 there a way do that ? All my equations are numbered (with label), when
 breaking long equation into two lines, the first line should not be
 numbered.
 
 
Look at amslatex.  It has lots of options.



ams article defect

2006-11-15 Thread Neal Becker
I recall hitting this problem once before, but I forgot what the fix was. 
I'm using ams article.  The output has a header that says:
englishMyTitle
instead of 
MyTitle




Re: ams article defect

2006-11-15 Thread Neal Becker
On Wednesday 15 November 2006 12:13 pm, Jean-Marc Lasgouttes wrote:
  David == David L Johnson [EMAIL PROTECTED] writes:

 David On Wed, 15 Nov 2006 09:55:44 -0500

 David Neal Becker [EMAIL PROTECTED] wrote:
  I recall hitting this problem once before, but I forgot what the
  fix was. I'm using ams article. The output has a header that says:
  englishMyTitle instead of MyTitle

 David Yeah, I have this problem, too, and have had through several
 David system updates. It was explained to me on this list that it is
 David a LaTeX issue, not a LyX one. Specifically, it is a problem
 David with babel. Supposedly, new versions of babel (and/or amslatex)
 David fix this, but I am not so sure, since I use debian etch which
 David has fairly new versions of those packages.

 What is your babel version?

 JMarc

2004/11/20 v3.8d


Re: ams article defect

2006-11-16 Thread Neal Becker
Jean-Pierre Chretien wrote:

 
To: David L. Johnson
[EMAIL PROTECTED] Cc:
lyx-users@lists.lyx.org Subject: Re: ams
article defect From: Jean-Marc Lasgouttes
[EMAIL PROTECTED] Date: Wed, 15 Nov 2006 19:00:46
+0100

 David == David L Johnson
 [EMAIL PROTECTED] writes:
 [...]

David LaTeX2e 2003/12/01 Babel v3.8d

I think you need at least version 3.8g or 3.8h. Or an older amsart :)
The fact is, there are distributions out there that package the two
incompatible packages. This should probably be reported as a teTeX bug
via debian, if this is not done already.
 
 It might come from two tetex subpackages not being in sync.
 Upgrade is advisable before reporting I guess.
 
 You might install texlive if the problem remains. The texlive packaging
 has been reviewed before it entered Debian/etch in june, and texlive|tetex
 have been made equivalent in LyX dependencies.
 

I'm running on Fedora FC6 and everything is up to date.  Fedora will move to
texlive and I'm looking forward to that - but I don't want to screw things
up in the meantime.

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.



Entering foreign language characters

2007-02-06 Thread Neal Becker
I'm using lyx-1.4.3 on Fedora with kde.  What is the easiest way to enter a
few special accented characters?  My language and document is english, but
let's say I'd like to enter a few spanish symbols.  I know I can do this
with special latex, but is there a more generic (and newbie friendly) way?




<    1   2   3   4   5   6   7   8   >