'view' (Ctrl-R) is grayed-out for non-tex fonts
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
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
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
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
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?
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?
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
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?
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
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
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?
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?
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?
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?
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?
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
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)?
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)?
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?
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
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
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
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
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
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
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
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
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)
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?
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
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
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
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...
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?
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
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?
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?
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?)
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
Uh, did you consider 'yum install lyx'? You don't need to build anything for lyx on F8.
lyx wiki problems
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?
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
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
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
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
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?
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
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
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
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?
Does lyx support subequations?
Howto ERT that uses external files?
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?
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
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?
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
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
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?
Simple question. Can I comment out some lines in lyx?
Help on new (1.6) mathmacro
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
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
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
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?
Can I add the option allowframebreaks in my beamer frame? How? This is 1.6beta3.
[OT] article-like env for OO
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
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
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
When I change background color (in the gui), it opens additional 'list of equations' and 'source' views.
Re: units of measure in lyx
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
[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?
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
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
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
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?
Is there a way to get cross refs including page #s? Like see Section 7.5 (pg 23).
selecting fonts in xetex
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
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
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
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
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
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
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
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?
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
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
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?
Any reason that when presentation(beamer) is selected, page layout can't be changed (grayed out)?
Re: can't change page layout with beamer?
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
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
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
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
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
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
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
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
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
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
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
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
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
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?