Optional arguments for a custom InsetLayout?
I was trying to write a really small module for the sidenotes package. I pretty much copied what jürgen Spitzmüller wrote for the pdfcomment package (http://wiki.lyx.org/uploads/Modules/pdfcomment.module) Now what I realized is, that I can't insert optional arguments (the LyX way, via insert>short title), even though I specified their availability in the module. The pdfcomment module also seems to enable optional arguments, but I can't add any when I try it. Does anyone know what I am doing wrong or if this is a bug? The code for the module is below. Thanks for your help! #\DeclareLyXModule{Sidenotes} #DescriptionBegin #Inserts sidenotes in the output. #DescriptionEnd # Author: Florian Rubach Format 11 InsetLayout sidenote LyXType custom LabelString "Sidenote" LatexType command LatexName sidenote Decorationclassic LabelFont Color cyan SizeSmall EndFont MultiPar false OptionalArgs 2 Preamble \RequirePackage{sidenotes} EndPreamble End
Re: Check speller in LyX 2.0 alpha3
Am 27.05.2010 22:13, schrieb Francisco J. Ruiz-Ruano Campaña: > I have installed LyX 2.0 alpha3 in Ubuntu, but I check speller is > deactivated since I have installed it. > > I have installed aspell, ispell and hunspell in spanish, but it doesn't work. > > Some ideas? > > Thanks. > I see the same problem with a self-compiled 2.0-dev, also on Ubuntu (64bit). I would also very much appreciate any hints if this is fixable. Regards, Florian
Re: Fwd: Word import
On 13.05.2010 13:48, stephen's mailinglist account wrote: Stephen, They're in endnote. I've tried several reccommended programs for transcoding into Bibtex etc but its all been such a mission I just decided to write in Word and move to Lyx later. thanks It should be everything but a big deal to import an endnote database into jabref. jabref saves in .bib format, very well usable by lyx/bibtex.
Re: Another Lyx Error Detected
Am 09.02.2010 01:56, schrieb Uwe Stöhr: > Another problem I am having is with too many floating figures. I have a > large document with anywhere from 3-100 figures within each chapter. > I keep getting the error regarding too many floats. This is not a LyX bug but a restriction of LaTeX. LaTeX's floating algorithm works perfectly for a few floats but will fail for too many floats. The limit of currently unprocessed floats is therefore set to 18. Couldn't this be handled by the package placeins, with the command \FloatBarrier? Placing that command every now and then? Just my first thought...
OT: Re: Lyx 1.6.5 Installer
Am 12.12.2009 09:00, schrieb Manveru: 2009/12/12 Diego Queiroz: Hello. Thanks for your reply. I don't know if it is a good reason, but the alternative installer shows up an annoying console window when it opens. I really dislikes it, haha. In general, I think the standalone installer is more "clean". This is why I prefer it. :-) With all respect to your contribution Uwe, this is my preference too :-) I vote for the alt-installer ;)
Re: launching Lyx 1.6.5
> Original-Nachricht > Datum: Wed, 09 Dec 2009 09:08:08 -0500 > Von: "E. Kaplan" > An: Lyx > Betreff: launching Lyx 1.6.5 > > I installed Lyx 1.6.5 on a Windows XP laptop, using the > altinstaller > (the only one I could find for Windows that had 1.6.5). Before I > installed it, I uninstalled the previous version, 1.6.4. When I try to > launch Lyx, a DOS window flashes once or twice, and disappears. Lyx > never appears. > It shouldn't be THAT tricky, should it? The altinstaller usually hides the console window. As the first start of Lyx can take massive amounts of time (depending on your machine and the number of already installed latex packages), it may seem like nothing is happening for quite a while. You can try opening your task manager and look out for processes like "initexmf.exe", which would indicate that miktex is working on installing packages required for lyx. > > Help, please! I hope that helps > > EK Florian > > > -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
Re: lyx and pdf fonts
Steve Litt schrieb: I didn't know .png is a vector graphic. It isn't. As Helge said, it's pretty useful if you need some pixel graphics with relatively large areas of similar colors like screenshots. It is relatively small and has lossless compression. For Photos, jpeg is better but has lossy compression, tends to introduce artefacts. SteveT
Re: Beamer: using \pause[2]
Matthieu Stigler schrieb: Hi I wish some times to use \pause in Lyx specifying the numer of the pause, ie: \pause[5] I don't see a way to do it in Lyx 1.6.3 using nice built-in command "Pause", indeed, selecting style "Pause" and inserting [5] in ERT mode get translated by \pause{[5]} So I do everything in ERT: \pause[5] and then it gets correct. Is there a way to do it in with built-in command "Pause"? How? If not, could I send it as feature request? Thanks a lot! Matthieu Well, it is a bit hidden... You can use Insert>short title, which will give you an inset titled "Opt", there you can insert your number and everything should work.
Re: Converting to doc format
Anthony Campbell schrieb: I'm thinking of publishing in ebook form via Smashwords, who unfortunately demand Word format. I'm on Linux and as far as I can see after a fair amount of googling the only practical way of doing this is to produce a plain text (txt) version from Lyx, import it into the Openoffice WP, and save it as a .doc file from there. Does anyone know a better way? Anthony The most accurate way I found until now (working even for complicated documents) is exporting the document to pdf and then submitting it to www.pdftoword.com. I don't know if you are comfortable with giving away your document to a site where I wasn't able to find any statement about the security of your data, but the results look stunningly good and are even well editable. Florian
Re: Forced floats to stay in their subsection in my "Results section"?
> [snip] > I have a lot of figures (float figures) and I really want > them to stay within their subsection here eventhough there's not much > text > compared to amount of floats. > > Is there any good solution to handle floats in such a results > section/chapter? There is a LaTeX-package called placeins (http://www.ctan.org/tex-archive/help/Catalogue/entries/placeins.html), which provides the command \FloatBarrier, so that floats entered between two of those commands do appear between them. If you need more specific help, please say so. > Best regards > > Peter Jakobsen Likewise, Florian > -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Re: LyX & ".doc"
Stefano Franchi schrieb: On Saturday 19 September 2009 09:42:41 am rgheck wrote: Can I a) save b) export c) edit a document in MS Word (.doc) format in LyX? [snip] Conversely, if you want to save the document in a format in which it can be edited by those who have not seen the light (aka, Word users), then you can export to RTF. Richard I have to go the Word --> LyX way and viceversa often [snip] For the opposite route (most philosophy publishers and journals will only accept .doc, unfortunately) I now save to rtf from lyx and open the rtf into openoffice. This works reasonably well for text-only documents (no eq., no pictures), although the output looks ugly. I do not really care about that, though, because publishers/and journals will typically import your .doc file into a real typesetting program. With eq., graphics, etc. all bets are off. I made some good experience with a website called pdftoword.com. If you don't care about sending something to a website where you don't exactly know who exactly can read what you submitted, you can send in a .pdf and shortly after that (usually <2h) you will be emailed a .doc which is surprisingly correct and editable. I tried whole PhD-Theses (Chemistry, so lots of pictures and formula) to be sure, and until now, i didn't see anything converted heavily wrong. That doesn't guarantee it works in all cases, but I think it is worth a try. Conclusion: in my experience, .doc <--> .lyx conversion is possible but it is (now) a one-way street. It allows you to convert final drafts of either format into the other, but it precludes any serious collaboration on shared texts. For the book I mentioned above, my co-editor and I used .doc to write the introduction, then I converted the next to final draft into .lyx format and from that point on all his editing, additions, etcetera were done by him sending me the corrections and me inserting them into the Lyx file. Hope it helps, S. For the way back (doc -> lyx), i haven't tried the pages .doc's yet, so I can't say anything about reusability of the results. I can imagine it's not that easy with documents containing formulae, pictures and other "fancy" stuff. Florian
Re: Flip x and y axis when importing tables?
Piero schrieb: Hello, this is a bit off-topic, maybe, but someone may help me. Anyway, I need to import data tables from MS Access queries to plain LyX tables. This data should be imported with the special copy & paste tool, but I need to flip between the x and y axis, i.e. lines should become rows, and rows should become lines (roughly as if seen in a mirror standing on the page form top-left to bottom-right of it). E.G. [snip] Which is the smartest way to do it? Thanks H. I'm not sure how compatible Access and Excel are (as I don't know Access at all), but in Excel, you have the possibility to transpose a table. For pasting transposed in Excel, you could just right-click and select "paste contents..." (or similar, my Excel speaks german ;) and in the following dialogue check the "Transpose"-checkbox. Then all your content would be transposed and you could repaste it in Access and go your usual way to import Access Tables into LyX. Hope that helps at least a little, Florian
Re: How to get a preview for "custom" graphics format?
Daniel Lohmann schrieb: Hi, ... So here is what I want to achieve: I have some TikZ figures (which are actually stand-alone LaTeX-documents with the extension .tikz) that I want to embed (not the source, but the PDF/EPS via \includegraphics) into my LyX document in a way that (1) the LyX-Preview does work (2) PDF generation does work, and (3) the .tikz-file is opened in vim when I select "Edit externally..." ... Your help is highly appreciated! Daniel Hello Daniel! I'm sorry I can't help you, I just want to tell you that I'm also interested in having a preview for TikZ-Graphics. So if there's any progress in achieving that, please share it! Regards, Florian
Re: Datum auf der Titelseite
geograffiti schrieb: Hallo liebe Profis, bin geade am Beenden meiner Diplomarbeit und kriege das verflixte, von lyx auf die Titelseite gepackte Datum (unter dem Titel der Arbeit) nicht weg. Kann mir da geholfen werden? Vielen Dank schon mal! Matze Probier's mal mit \date{} in ERT direkt hinter deinem Titel, ohne Leerzeichen oder Zeilenumbruch dazwischen. For every list-member unable to read german: The issue is that matze is unable to remove the date stamp from his titlepage, my suggested solution is to add \date{} in ERT right after the title. Regards, Florian
Re: How do i plot a function?
Phil schrieb: i would like to plot a simple function I would try to use pstricks package for this. There also is a package called pgf, which includes tikz. Those two are really powerful and do have very nice output (see http://www.texample.net/tikz/examples/), but like pstricks, time needs to be spend reading manuals. In short, you need to add \usepackage{tikz} and depending on what exactly you want to do some other statements in you document settings->Latex preamble. Then add the code you learned reading the manual in ERT at the places you want, and everything should be fine. Regards, Florian
Re: Fehler beim Öffnen einer lyx Datei
Uwe Stöhr schrieb: Konstantin Porzig schrieb: ich schreibe derzeit meine Bachelorarbeit und habe nun das Problem, dass die LyX Datei, nach dem gestrigen speichern, nicht mehr zu öffnen ist. Es erscheint folgende Fehlermeldung: "D:/.../main_go.lyx"ist kein lesbares Lyx-Dokument." (The list language is English, I'm therefore replying in English.) Your file is no textfile but consists of binary code. It can therefore not be repaired. LyX files are textfiles as you can see when you open LyX files with a text editors. I don't know how this could have happened but are sure that LyX is not to blame here since LyX is not able to create binary output. Maybe he did enable compression for his document? I dont't know, but compressed Lyx-Documents look quite binary to me... As you are writing a bachelor thesis you will surely have a backup, so you should continue with this. +1 regards Uwe Regards, Florian
Re: lyx-users@lists.lyx.org
Matthias Bußjäger schrieb: Hello, I have a question to Lyx 1.6.2 / 1.6.3 used on Windows XP. If I type a text in Lyx there's a delay of approximately half a second to one second between typing a character and the illustration in the display. This is really annoying when writing a text speedy. I also use Lyx on Debian. There it's in real-time and a pleasure to write! So, can anyone tell me, what's the problem using Lyx on Windows XP ? I found no bug report, is this problem only in my case? Thanks I experienced typing delay when I had the Latex-Source-windoe opened and both checkboxes activated (complete source and auto-update). Maybe you have unchecked the "complete source" on your debian machine. Regards, Florian
Re: [LyX] make LyX save .pdf where I want?
Murray Eisenberg schrieb: This is manifestly not so! I open E:\Temp\example2.lyx in LyX. Then I click the View DVI button to view in Yap, and the View PDF button to view in Acrobat Reader. Neither example2.dvi nor example2.pdf is in E:\Temp, either while I am viewing those files or after I close Yap or Acrobat Reader. Well, if you pressed file>export>DVI/PDF instead of using the" view" Buttons, then example2.* would have been where you expected, next to your example2.lyx. The "view" Buttons always create temporary files. But I'm not sure why your temporary PDF is located in another directory as your temporary DVI. Vincent van Ravesteijn wrote: Murray Eisenberg schreef: In LyX 1.6.3 under Windows XP, I've used Tools>Preferences>Paths to set... Working directory: E:\Documents Temporary directory: E:\Temp ... and now after quitting and restarting LyX, at least .dvi files are created in subdirectories of E:\Temp\lyx (as are .html files when I export to that format). However, .pdf files are created in a subdirectory of C:\Documents and settings. How do I change this? The exported files are saved in the directory of the lyx file that is being exported. The working directory is the default location where LyX looks for documents and where you are expected to save a new document. (So, this has nothing to do with exporting files). Vincent
Re: Alternate installer not working
Phil schrieb: I tried to use the altinstaller to update my installation from 1.6.1 to 1.6.2. When I click on it, it starts but then stops saying that I don't have 1.6.1 installed, but I do have it installed. I checked to make sure. Is there something I can check in the registry to look for a key or something? Thx. Phil The altinstaller updater works only if your existing lyx has been installed with the altinstaller. Can you confirm that? Regards, Florian
Re: Problems with jpg-quality with ps2pdf
Guenter Milde schrieb: On 2009-05-22, Florian Rubach wrote: Robert Neumann schrieb: Hello, I have a problem with the quality of jpg-images. ... I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Seriously, what do you expect? If you're not willing to upgrade, I don't think there is any possibility to fix _any_ issue... This is simply not true. Especially the mentioned problem has nothing to do with the LyX version! Also I can't really imagine any situation where anything regarding lyx and latex takes longer than one could bear. This very much depends on what one could bear and on the available hardware. Faster than Word does not mean acceptable or nice to everyone. Günter Well, seems like the time to apologize. It was my point of view and I was wrong. Next time, I try to be more constructive... Regards, Florian
Re: Problems with jpg-quality with ps2pdf
Robert Neumann schrieb: Hello, I have a problem with the quality of jpg-images. ... I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Seriously, what do you expect? If you're not willing to upgrade, I don't think there is any possibility to fix _any_ issue... If your quality-issue is pressing, you should try out lyx 1.6.2, maybe on another machine, and just see if the quality still remains bad. Also I can't really imagine any situation where anything regarding lyx and latex takes longer than one could bear. Thanks Robert Regards, Florian
Re: portable installation
Sophie (itsme213) schrieb: If anyone has got this combination working (USBTeX with Lyx16), I just tried it myself and failed. It seems to be an issue with USBTex, because even the suggested way to create and compile a simple tex-file fails. If I were you, I would try to find out the email-adress of Sam Lewis, who wrote the USBTex-part of the wiki-entry. Good luck, Florian
Re: Center section title in Koma-Script
Witold (grizz) Firlej schrieb: Is there some magic ERT to center section Titles in Koma Script? Menu Edit -> paragraph settings doesn't work The Koma-manual (scrguien.pdf) tells me that you can add some commands to the section style. In your case, it would be \addtokomafont{section}{\centering}. If you put that in your document settings>Latex preamble, all of you section headings will be centered. Note that the numbering will be dragged into the middle as well. Regards, Florian
Re: Inserting the List of Figures and List of Tables INTO the TOC
Luca De Marini schrieb: Hallo everyone, very quick question: how do I have the List of Figures and List of Tables appear INTO the TOC? I just need an entry in the TOC like: Chapter x: page2 Chapter y: page10 List of Figures: page 50 List of Tables: page 54 Something like that because my teacher wants me to put the TOC on the beginning of the document and the lists on the bottom of it, and he wants the lists to appear in the TOC too of course. I was sure tehre was an automatic way to do it but at the end I noticed that it was possible only to put the bibliography page in the TOC, not the page where the lists are.. Please help me, I know this must be a simple solution but I'm not finding it in the documentation :) Bye Luca D.M. Add "\addcontentsline{toc}{section}{\listfigurename}" in ERT right in front of your list of figures and "\addcontentsline{toc}{section}{\listtablename}" right in front of your list of tables. If you want the lists to appear like subsections in the TOC you need to replace both "section" by "subsection". Regards, Florian
Re: LyX 1.6.2 numbering: cannot remove nr on first page
Liviu Andronic schrieb: To me this is not a viable approach for `article (paper)'. Using google, I found another possibility which should now be exactly what you want. Don't give article the option titlepage, put "\begin{titlepage}" in front of your title and right after all your titlepage-specific things in a new paragraph "\thispagestyle{empty} \end{titlepage}". Now everything should look like in your first example but without the pagenumber. This works, because Lyx inserts the \maketitle command right after your titlepage-things but now before the end of the titlepage. So now the pagenumber on the titlepage is suppressed by \thispagestyle{empty}. Regards, Florian
Re: LyX 1.6.2 numbering: cannot remove nr on first page
Liviu Andronic schrieb: On Fri, Apr 24, 2009 at 10:58 PM, Florian Rubach wrote: class in the document>preferences dialog. There you can set the class-option "titlepage" (just add it to the empty line) and everything will be fine, you can even omit the newpage. Cool, thanks. One glitch though: the layout of the title page changes: the text becomes vertically aligned on the centre [1]. Is this expected? (It also impacts more heavily the tilte page of `article (paper)'.) [1] http://s000.tinyupload.com/index.php?file_id=24587917621978538539 Liviu If you want more control over the design of your titlepage, I suggest to use \begin{titlepage} and \end{titlepage} (both in ERT). Between those two, you can fill in the content of your titlepage (as standard text, formatted by hand) in a way that it suits your needs. Of course this needs a bit fingerpainting but offers control over the layout. Keep in mind that you have to keep the "titlepage"-class-option, or you will get your pagenumber back. Regards, Florian
Re: LyX 1.6.2 numbering: cannot remove nr on first page
Liviu Andronic schrieb: Dear all, There is a numbering issue in 1.6.2. I've encountered it in several classes (article, article (paper), etc.). To replicate, create a new file, enter some info in title, author, and ERT \pagestyle{empty}, insert `new page' add some more standard text (see attached file). This results in the numbering being displayed on the first page, but not on subsequent. Can anyone suggest a workaround to this? Thank you, Liviu This is an issue with the maketitle command lyx uses to create the titlepage when you specify title, author, etc... In the article class and some others the titlepage is by default not on a single page without numbering, but there is an option you can pass to the class in the document>preferences dialog. There you can set the class-option "titlepage" (just add it to the empty line) and everything will be fine, you can even omit the newpage. Regards, Florian
Re: Want to show URLs in printed version
Drew Kime schrieb: On Tue, Apr 21, 2009 at 1:53 PM, Uwe Stöhr wrote: Drew Kime schrieb: I've seen lots of questions about how to make clickable hyperlinks, but I'm trying to go the opposite direction. I'm using the Hyperlink inset in 1.6 and it is correctly creating the hyperlink in the PDF. But I need the option to output a PDF which has both the title text and the URL displayed so that it can be printed. The hyperlink dialog provides you to enter a special name for the URL. If you leave it empty, the link is then also the name, see attached. regards Uwe Thanks for the reply, but that's not what I'm trying to do. I *want* the special name in the electronic version. Pseudocode example: "Please visit [my blog|http://blogname.com] for more details." In the electronic versions, I want the current behavior, where "my blog" is displayed, highlighted as a link to "http://blogname.com";. But I'd like to be able to create a version for print that would show the special name *and* the URL, since you obviously can't click on a book. Drew If I get you right, you want two different outputs, number one for printing with both title and URL and number two as electronic version with just the clickable title and nothing more. There is a workaround for that... It's not quite beautiful, but it works. You have to make a distinction between your two cases "printed" and "pdf". For that, you can define your own latex-command, say \myprintversion, by \def\myprintversion{} in Latex-Code. In front of every hyperlink, you can check whether \myprintversion is defined or not and use that to decide what output to generate. To stick with your example, you could write \ifdefined\myprintversion (in Latex-Code), then add the hyperlink in the way you want it in the printversion. After that in Latex-Code \else, then add the hyperlink in the way you want it in the electronic version. To finalize the if-clause, you need to add the statement \fi in Latex-Code. Now all you have to do to switch between print-version and electronic version is to keep the definition of \myprintversion or delete/comment it. If you need an example-file, I'll send you one. Regards, Florian
Re: Double Line in Table
Bruce Pourciau schrieb: How do I make a vertical line in a table into a double line? Bruce Usually, only the left vertical line of a cell is set. When you set the right one as well, you get a double line. Regards, Florian
Re: CO_2
Wolfgang Engelmann schrieb: How would I write CO_2 in such a way that it is not emphasized in LaTeX: the catalytic subunit of the key enzyme of the light dependent $CO_{2}$-fixation I am sure there is a way in LyX to do that but I can't find it (checked Embedded Objects) Wolfgang For me as Chemist, it works fine to just type the _2 in math-mode... ( CO$_{2}$ ) Another possibility would be to use the roman math-font ( $\mathrm{CO_{2}}$ ,there is a button in the math-toolbar). Hope to help, Florian
Re: How to insert text in a multiline equation?
Ming Jiang schrieb: Hi, I want to insert text in a multiline equation, for example, a = 1, if some condition is met 2, if some condition is met like \text{if some condition is met} in TeX. How can I do this in LyX? Thank you very much! For the text, you can simply use the \text command, lyx recognizes it. Another possibility is the mbox (see section 9). Regards, Florian
Re: How to insert text in a multiline equation?
Ming Jiang schrieb: Hi, I want to insert text in a multiline equation, for example, a = 1, if some condition is met 2, if some condition is met like \text{if some condition is met} in TeX. How can I do this in LyX? Thank you very much! Take a look at the math-manual (to be found under "help" in your menu bar), should be section 18... Regards, Florian
Re: TOC too long, can't get middle page to be empty
rettie schrieb: My TOC is just over 3 pages now and using \thispagestyle{empty} I can get rid of numbering on the 1st and 3rd pages (i.e. first and last), but the middle page's number stays. I can't get rid of it! I've tried flooding Lyx with \thispagestyle{empty} ERT boxes, but no luck. Anyone have any ideas? I can't really cut down on the TOC more I'm afraid, 3 pages is the minimum! I apologise if this has been asked to death! Thanks in advance, Alex The solution to your problem depends on the pagestyle you use. You can set the pagestyle to empty before the place where you insert the TOC by typing \pagestyle{empty} in an ERT box and reset it to whatever it was by \pagestyle{your_style} right after the TOC. If you haven't explicitly specified a pagestyle, replace your_style with plain, otherwise use your pagestyle. If you want the numbering to be started at one after your TOC, add \setcounter{page}{1} in ERT. I hope this helps, Florian
Re: Caption width in wrapped figures
Ehud Kaplan schrieb: Is there a way to control the width of a caption of a wrapped figure? I think in Latex you can specify this independently of the width of the graphics in the wrppaed figure, but how do I do it in Lyx? The current Lyx leaves too much white space around the figure, because the caption is much wider than the figure. Thanks EK I can't reproduce that. When my figure is smaller than the caption and I adjust the width of the wrapfigure by the LyX-Dialog, the caption is properly split up in several lines of text. Looking into the documentation of wrapfigure (at the end of wrapfig.sty), it says: Parameter "#4" (the second required parameter) is the width of the figure or table. Given the way that \LaTeX\ puts just about everything into boxes with the current line-width, the width parameter will take precedence over whatever natural width the figure has. In particular, the caption is always typeset with the specified width. So I don't think the whitespace around the figure is controled by the length of the caption. I could imagine that the horizontal dimension of your wrapfig-environment is set up too big and your picture is left- or right-aligned, that could mislead to the impression you have about the caption. I hope that gets you any further, regards, Florian
Re: Float with wrapped table inside
Carnë Draug schrieb: Hmmm... it complains that the file you sent is from a different version and that it failed to open. That's probably why you're not having problems with my files. I'm using 1.5.6 in Ubuntu 8.10 Thanks anyway Carnë Draug Ok, that piece of information is of value... I'm sending you an exported version of the file which you should be able to open. If that one is still not compilable you should consider to switch to a newer version of LyX (the current release is 1.6.2). Regards, Florian graphics_layout.lyx15 Description: application/lyx
Re: Float with wrapped table inside
Carnë Draug schrieb: Sned me an example file if you can then. Thanks a lot for your help Carnë Draug The attached works fine for me. Ask again if you have any questions! Regards, Florian graphics_layout.lyx Description: application/lyx
Re: Float with wrapped table inside
Carnë Draug schrieb: Thanks Florian but that didn't work. It just gave me a bunch of errors. I attached the lyx file.I would be most thankful if you could give me a hand with this. Thanks, Carnë Draug Well, your file works fine at my place, apart from the fact that it looks ugly because of overlapping tables etc... But I just remembered another possiblity: You can use Minipages ("boxes") instead of a table. The Minipages are adjustable in their horizontal dimension and you can add variable horizontals spaces between them so they are distributed nicely. Again, tell me if you need an example-file... regards, Florian
Re: Float with wrapped table inside
Carnë Draug schrieb: Hi I'm trying to get a float in LyX with a 3 figures and a table and some text. I made a image of the layout I want and uploaded it here http://picpaste.com/layout.png I also made it in ASCII since some people may not wish to follow a link 1 word +---+ |Figure | +---+ ++ 1 word || 4 words || +---+ || | Figure | |Table | +---+ || 4 words || +---+ || | Figure | || +---+ || ++ However, I can't do it. I've read the user's guide and it says that LyX doesn't support wrap floats, to read the documentation of wrapfig. I followed the reference in the guide which was a sty file. I just don't understand what's written in there. I thought I could do it with LaTeX code so I got a book from the library but I still can't. Can someone give me a hand with this? Thanks in advance Carnë Draug I usually do this kind of layout by simply adding a table without visible lines and add the content where I want it. So in your case, I would create a single float environment, add a 2x2 table, merge the upper fields, insert the first figure. Then, I would set the width of the colums to a defined value (because then I am allowed to fill in more than one line of content in a cell). Afterwards, I would insert the table in the lower left cell and the other stuff in the lower right cell. Do you need an example-file? Regards, Florian
Re: Bold index entry with link
Martin Görg schrieb: On Mon, 06 Apr 2009 11:40:13 +0200, Florian Rubach wrote: do you want the text of the index entry to be a link? I could not figure out any reasonable way to achieve this. But when you are using hyperref, the page number will be the clickable link to the text location. You can simply specify the index entry in bf font and it will then appear bold in your index. Hi Florian, Thanks for the reply. I want the page number to be clickable *and* bold. I know how to get it clickable (just use hyperref) and I know how to get it bold (add |textbf) but it doesn't work simultaneously. Cheers, Martin Ah, now I see your problem. The main issue is, that makeindex allows only one command to specify what to do with the page number, and hyperref needs this command to set up the linkage. As suggested in the hypperref-readme, you can circumvent the problem: * The encap mechanism of Makeindex allows to use one command only (see documentation of Makeindex). If the user sets such a command, hyperref suppresses its \hyperpage command. With logical markup this situation can easily be solved: \usepackage{makeidx} \makeindex \usepackage[hyperindex]{hyperref} \newcommand*{\main}[1]{\textbf{\hyperpage{#1}}} ... \index{Some example|main} So you just need to put the statement \newcommand*{\main}[1]{\textbf{\hyperpage{#1}}} in your document preamble and use |main whereever you want a pagenumber in the index to be bold and clickable. Regards, Florian
Re: Bold index entry with link
Martin Görg schrieb: Hi there, Does anyone know how I can create a bold index entry with a link to the text location where the index is specified? Greetings Martin Hi Martin, do you want the text of the index entry to be a link? I could not figure out any reasonable way to achieve this. But when you are using hyperref, the page number will be the clickable link to the text location. You can simply specify the index entry in bf font and it will then appear bold in your index. Hope to help, Florian
Re: How to adjust float figure behavior?
Sophie (itsme213) schrieb: At the moment, when I use a float figure it typically appears before the point where it is introduced in the text, often appears in the middle/end of the *previous* section. Is there a way to get float figures to appear at or after the point in the text where they are introduced, even if that means the top of the *next* page? Thanks! I suggest you try the placeins-package ( http://www.ctan.org/tex-archive/help/Catalogue/entries/placeins.html ). It provides the command \FloatBarrier which helps keeping floats between defined points. In case you don't know, you can add \usepackage{placeins} to your document preamble and insert \FloatBarrier at any point you want in TeX-Code (crtl+L). Regards, Florian
Re: Problem with PSTricks an LYX
Jorge Mario Garcia schrieb: Good morning My problem is: I want to use the command \readdata{\funcion}{dtos2.txt} but LYX creates a temporary file where you saved the *. tex, the problem is that my file dtos2.txt not is in the same folder and lyx generates an error. I try to include it as an attachment, but LyX formats are already in place and do not let me, and shows an error. Can you help me? Have you tried to give an absolute path to your file? Regards, Florian
Re: Search for Environment?
Steve Litt schrieb: Hi all, For years, Microsoft Word has had something that would be cool in LyX --- search for environment (or charstyle). I just found myself wondering if I had redundant copies of a story in my book, and so wanted to search for all text in Story environment, but there's no way to do it as far as I can tell. SteveT Hi Steve, I think what you are looking for is implemented by the LyX 2.0-Advanced-Search-Feature by Tommaso Cucinotta, as you can see here: http://www.youtube.com/watch?v=0MR_O1ctIAY Is that it? Regards, Florian
Re: How to use German capital sharp s (U+1E9E)?
Dominik Waßenhoven schrieb: | Allerdings darf mündigen Bürgerinnen und Bürgern im Einzelfall | getrost die Entscheidung überlassen werden, ob sie das große Eszett | etwa für die Schreibung ihres Namens nutzen oder nicht. (in short: it's not official, but people can decide whether to use it for their names or not) Regards, Dominik.- Honestly I hadn't thought of the name-problem, good point... Regards, Florian
Re: How to use German capital sharp s (U+1E9E)?
Tao Cumplido schrieb: When I try to print the German capital sharp s I get this error: I don't know for what purpose you need a capital ß, but in german ortography, the ß becomes SS when writing capitalized. (See http://de.wikipedia.org/wiki/%C3%9F#Gro.C3.9Fschreibweise_mit_Ersetzung_von_.C3.9F_durch_SS ) Regards, Florian
Re: beamer with default settings is ugly
Neal Becker schrieb: Maybe, except then there is no indication of links at all. I think it would be best to just get rid of boxes on navigation symbols. Maybe the hyperref-manual can help you... Regards, Florian
Re: beamer with default settings is ugly
Neal Becker schrieb: Les Denham wrote: On Friday 27 March 2009, Neal Becker wrote: Not a lyx question, but a beamer question: When used with all default settings, beamer will produce navigation symbols at the bottom right of the page. If hyperlinks are used in the document, all hyperlinks will have boxes drawn around them. The result is, that all the navigation symbols have boxes drawn around them, which makes them ugly and unreadable. Suggestions? In the preamble, put: \usepackage[colorlinks=true]{hyperref} I don't use beamer, but I recognize the problem with other classes. If you are already using hyperref with other options, just add "colorlinks=true" to the list of options. Unfortunately, this will cause _all_ refs to by colored. This would include e.g. sections in the table of contents. That doesn't look good either. You should try \usepackage[colorlinks=false,pdfborder={0 0 0}]{hyperref} . First Option should eliminate colouring of the links, second one the box around these. Regards, Florian
Re: rotating package and float sideways tables
Piero Faustini schrieb: Uwe Stöhr writes: I just run update MiKTeX's update and can still successfully compile the EmbeddedObjects manual. Can you just run MiKTeX's update again on your machine and the restart LyX? If this doesn't help, can you please send me an example LyX file? You're right, it isn't a problem of sideways float, only with the \sideways command introduced by the rotate table/cell checkboxes, which worked just perfect beofre my MikTeX update. 99% sure the problem is the rotating package, but I still didn't try to restore the old version. here's how I reproduce it: make a new doc: enter a 2x2 table and apply the "rotate table by 90°" option in the table options, or just a "rotate cell" and try to compile: The dialog tells me: "A was supposed to be here." " \begin{sideways} I was expecting to see \hbox or \vbox or \copy or \box or something like that. So you might find something missing in your output. But keep trying; you can fix this later." If you can't reproduce the error, tell me please. Thanks Piero Confirmed here, on both 1.6.2 and 1.6.3svn. Everything was fine before updating the rotating-package by MiKTeX's update wizard, afterwards it produces the error described above. Greetings, Florian
Re: Lyx-Command for inserting Tex-Code
I don't know this special case, but what TeX commands do you frequently need? Well, in my case, these are some really specific commands. For example, as a chemist, I want the Substances in my Texts to have a number orderered by appearance, and at the same time I want to define a short name. So I defined my own Substances TeX-Macro's and now can just once define a Substance with a short and a long name. Everywhere else, I use other TeX-Macro's to insert either the long name, the number, or both, just using the short name. I also have to use those numbers created in graphics of drawn structures, so I figured out a way to overlay an existing graphic with textat specified positions, still using the LyX-way to insert graphics. This involves the PGF/TikZ-Package and some ERT, so I decided to bind the ERT involved to a button in my own toolbar. I can imagine others having different but not less used TeX-code they need. regards Uwe Greetings, Florian
Re: Lyx-Command for inserting Tex-Code
arne12345 schrieb: Hi, I wondered if there is a Lyx-Command to insert a specific TEX-Code (e.g. "\newline"). The "ert-insert"-command only opens an input box, but I would like to create a toolbar for inserting frequently used tex-codes. Can I specify an argument for "ert-insert"? Regards Arne You can do this by using the LyX-Function "command-sequence". Your specific problem could be realised as: bind "yourKey" "command-sequence ert insert; self-insert \newline;char-forward;" if you don't want your cursor out of the ERT-Box afterwards, you have to omit the appended "char-forward;"
Re: Lyx 1.6.2 import problem.
I just installed Lyx 1.6.2 and attempted to import a .tex document but get the following error: "LyX: Cannot convert file. An error occurred while running tex2lyx -f 'main.tex' 'main.lyx". (The error message is my recollection and may not be exact.) Try using tex2lyx directly on your file by command-line, there should be a more precise error message, which you could again post here. Kurt Florian
Re: letter?
bb schrieb: The Documentation "User Guide" from December 7, 2008 might be outdated? The Description of writing a letter (p. 50 in the german version of the document) does not describe the reality. I tried all types of letter-documents, but none offers the described option of adress-right? For instance if I try letter(DIN-Brief, German) I get an environment for an adressee, but I am unable to write the complete adress with name, street and town? That is also true for the simple letter environment. In the letter environment letter(KOMA-Script) I found Name and Town, no street? May be the adress-supplement will work? In any case in trying to compile such adress-experiments I get a message, that an empty document was generatet. Where is the Adress? That is also true if I add a letter text. That will not be shown in the compiled document. Is there any description how to make letters with lyx? Best regards BB Try out file>new from template (in your case: Datei> neu von Vorlage) and then any of the templates containing brief or letter... e.g. dinbrief.lyx... There should be enough explanation in those... Greetings, Florian
Re: Lost some work in 1.6.2. :-(
James Mansion schrieb: Vincent van Ravesteijn wrote: Where is your backup that is made every 5 minutes ? I don't know - is there one? It was a new document so I hadn't explicitly saved it anywhere yet. I restarted Lyx hoping it would offer to recover but it didn't. If it is saving the work in progress, maybe such an offer could be made more prominently? James I think LyX is always making those backups, and usually, when it detects the backup file being newer than the original, it suggests you to open the backup-file. But when you create a new document, it will temporarily be saved in a directory depending on your platform and installation, until you save it to a specific location. So in your case, there may be a backup of "newfile1.lyx" somewhere around, but I think it could have been overwritten in the meantime. Greetings, Florian
Re: Consecutive numeration of lists also after a section in standard-format
jezZiFeR schrieb: I could not download that module, I just get a textfile opened in my browser if click the link of the "enumitem module" ( http://bugzilla.lyx.org/attachment.cgi?id=3167&action=view) I have already tried to save that file and changed its name to "enumitem.module", but this does not work. How have I got to do that? Tahnk you! What platform are you on? On Windows, you have to make sure that your file extensions aren't hidden and you renamed it to "enumitem.module.cgi" without seeing the .cgi extension... I did not have to run any texhash command like Steve suggested, because I am using Miktex, which updates it's filename-database when you install the package enumitem through the Miktex Package Manager. Greetings, Florian
Re: Consecutive numeration of lists also after a section in standard-format
jezZiFeR schrieb: Dear listmembers, I do have a list with six sentences. They start with 1.) 2.) 3.) 4.) Then I entered a description for this forth sentence, and after that I would like to continue with: 5.) 6.) But the problem is, that when I choose "numeration" in the menu, the numeration again starts with "1". How could I change that behaviour? Thanks, best Jess You can download the lyx module "enumitem.module" from http://wiki.lyx.org/Tips/Enumitem (instructions on the page). With that, you can simply choose a style "Enumerate-Resume" from the dropdown-list of styles. Remember to reconfigure lyx after placing the module in the right place! Greetings, Florian
Re: problem
Christian Teichert schrieb: Hi, I installed Lyx 1.6.2. Now I can't see the equations.What could I do? Yours sincerely Christian T. Hi Christian, first of all, it would be useful to know more details. For example, you should tell what exactly doesn't work and how exactly you want it to work. Then, please ask a more precise question (see http://www.catb.org/~esr/faqs/smart-questions.html if you want more information on how to do that). When you did that and still noone can help you, you should try to create a minimal example, showing the problem you want to resolve. Greetings, Florian
Re: LyX trunk: where is the configure script?
Nikos Alexandris schrieb: > Hi all! > > I've jsut tried to compile from source (trunk). There is no executable > _configure_ script though !? > > ls -l | grep configure > -rw-r--r-- 1 nik nik 15612 2009-03-11 08:05 configure.ac > > > Anything different in LyX than with usual source-codes? > Kindest regards, Nikos > > quote from INSTALL: Note for Subversion (SVN) checkouts - If you have checked this out from Subversion, you need to have: * automake >= 1.5 * autoconf >= 2.59c * gettext >= 0.12 Then type "./autogen.sh" to build the needed configuration files and proceed as stated below. hope that helps for i never tried to compile on a linux machine... Greetings, Florian
Re: About your website
Webmaster V schrieb: > Hello > > We are http://www.desktopexchange.com > [...] > my idea is to exxchange links with your Site, > [...] for sure, mate you serious?!?!?
Re: problems with lyx 1.6.1
Gesualdo Scutari schrieb: Dear all, I'm writing because I have a serious problem using lyx 1.6.1 on my MAC OS 10.5.6 and MacTex 2008. I'm used to write papers to be submitted to IEEE journals. I use both article class in lyx and IEEEtran class. In both cases lyx cannot load the bibliography. I see only [?] in the dvi and there are no references at the end of the document. I use a bibtex file that works properly with any latex compiler Maybe it's a silly question, but is the path to your bibtex-file containing any whitespaces? Florian
Re: Export Lyx files to LaTeX with non-ascii letters.
acolyte lee schrieb: Hi, I have letters like üäö in my lyx file, when I export to latex, they are still "üäö" in latex. This could be problematic and I would like to have \"{u},\"{o} and \"{a} inside .tex files. can I do this? Use any decent texteditor's search and replace function on the created .tex-file... Florian
Re: nested numbering?
accidentially didnt post it to the list, sorry for that... Martijn Wisse schrieb: I'm just starting out with LyX as I need to make a report for my studies and I want it to look really good this time. But now I have stumbled upon a thing I can't solve myself with the help files. I need to make this list of requirements like the example below (yes that's dutch :)) but I can't find a way to do this in a good way in LyX. I don't want to go back to Word and manually put in all the digits... Can someone please help me? Thanks a lot! So here is the example: 2) Milieubelasting (geluidshinder, landschapvervuiling) 2.1 De milieuklasse voor betonconstructies moet milieuklasse 3 conform NEN 6720 bedragen. (E200.21) Simply put the following in ERT (LaTeX-Code) before your enumeration starts: \renewcommand{\theenumii}{\theenumi.\arabic{enumii}} \renewcommand{\labelenumii}{\theenumii} Please note that this changes enumeration style for the rest of the document, if you want to reset it, put \renewcommand{\theenumii}{(\alph{enumii})} \renewcommand{\labelenumii}{\theenumii} in ERT at the desired place. Florian
Re: How to get a modified Enumerate style?
Laser Yuan schrieb: Hi, I need to write an description for an algorithm in my paper, which includes several steps . Basically the Enumerate style will fit my purpose. Except that I want a sequence like this: Step 1 ... ... Step 2 ... instead of 1. . ... 2. . ... Any method could achieve this style? Thanks in advance! Here's a way to do it: -Put the statement "\usepackage{enumerate}" in your document->settings->LaTeX-Preamble (of course without quotation marks) -At any point you want to start your enumeration do not use enumerate style, simply add some TeX-Code (Crtl+L): "\begin{enumerate}[Step 1]". The statement in squared brackets is a prototype for your enumeration item, for other options google the docs of the enumerate package. -In front of every item you want to enumerate, add again some TeX-Code: "\item " (the blank character is needed) -At the end of your customized enumeration, add in TeX-Code: "\end{enumerate}" I don't know if there are simpler ways, but this should work... Florian
Where to put a feature request?
Hello everybody! I have a little feature request, but i am unsure where to send it. Would this mailing list be the right place or rather the developers mailing list? Thanks for any advice, Florian