Re: TOCLOFT - numwidth - Understanding Documentation
On 08/07/2009 10:44 PM, Marcelo Reis wrote: Hi GuysFirst of all I'd like to wish you all a pretty good weekend :-) Secondly, (here it comes...) I'm trying to understanding the TocLoft documentation to use in my College Paper but I'm stuck in the following: How would be the procedure to set the numwidth of a specific entry?!?! I mean, how would I do to change the 2.3 numwidth from the Section(or any other) Entry to another value? Look at the \cftsetindents macro. rh
TOCLOFT - numwidth - Understanding Documentation
Hi GuysFirst of all I'd like to wish you all a pretty good weekend :-) Secondly, (here it comes...) I'm trying to understanding the TocLoft documentation to use in my College Paper but I'm stuck in the following: How would be the procedure to set the numwidth of a specific entry?!?! I mean, how would I do to change the 2.3 numwidth from the Section(or any other) Entry to another value? Searching on internet and reading the documentation I can figure it out. Do you have any idea?? Regards and Thank you ALL Marcelo
Re: Step bullet item lists in Beamer
On 08/07/2009 09:39 PM, Venable wrote: Dear LyX Users, I would like to use step bullet item lists in a Beamer presentation. This is fairly simple in SWP, since there is a "Step Bullet List Item" Item Tag available with a simple keyboard shortcut. Does a similar function exist in LyX? If not, is it possible to customize either LyX itself or the .lyx file to create similar functionality? I suppose one workaround would be to add new environments to the LaTeX preamble (see below for excerpt from Portable LaTeX code created by SWP) and then add ERT (e.g. \begin{stepitemize}, \item, etc.). However, this seems a bit unwieldy. Many thanks for any suggestions. I apologize if the solution is obvious or has already been discussed. I searched a fair amount in the manuals and on the mailing list but did not find a solution. If I have missed something, please let me know. (new environment LaTeX code) \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} } \newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| al...@+>]}{\end{enumerate}} \newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| al...@+>]}{\end{itemize} } I'm not terribly familiar with beamer, but so far as I can see this ought to be a pretty trivial layout. E.g.: Style StepEnumerate CopyStyle Enumerate Preamble \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} EndPreamble End Style StepItemize CopyStyle Itemize Preamble \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} } EndPreamble End You might want to tweak that a bit, of course, but that may be all it takes. If so, you might consider putting them into a module and adding it to the wiki. If some of this is opaque, look at chapter five of the Customization manual. rh
Step bullet item lists in Beamer
Dear LyX Users, I would like to use step bullet item lists in a Beamer presentation. This is fairly simple in SWP, since there is a "Step Bullet List Item" Item Tag available with a simple keyboard shortcut. Does a similar function exist in LyX? If not, is it possible to customize either LyX itself or the .lyx file to create similar functionality? I suppose one workaround would be to add new environments to the LaTeX preamble (see below for excerpt from Portable LaTeX code created by SWP) and then add ERT (e.g. \begin{stepitemize}, \item, etc.). However, this seems a bit unwieldy. Many thanks for any suggestions. I apologize if the solution is obvious or has already been discussed. I searched a fair amount in the manuals and on the mailing list but did not find a solution. If I have missed something, please let me know. (new environment LaTeX code) \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}} \newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} } \newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| al...@+>]}{\end{enumerate}} \newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| al...@+>]}{\end{itemize} }
Re: Inserting a bibliography into a Lyx file
Ehud Kaplan writes: > Is there a convenient way of inserting a bibliography into a Lyx file > without using a bibtex database, > and without going through Latex with the .bbl file? > What I am looking for is something like: > Insert/file/.bbl > where Lyx will convert the .bbl material to its own representation. > This will save me (and others, I assume) much time and frustration. Simply import the .bbl file as a latex file using File->Import->LaTeX, then copy&paste where you need it. -- Enrico
Inserting a bibliography into a Lyx file
Is there a convenient way of inserting a bibliography into a Lyx file without using a bibtex database, and without going through Latex with the .bbl file? What I am looking for is something like: Insert/file/.bbl where Lyx will convert the .bbl material to its own representation. This will save me (and others, I assume) much time and frustration. -- Ehud Kaplan, Ph.D. Director, The laboratory of Visual Neuroscience Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Mount Sinai School of Medicine One Gustave Levy Place NY, NY, 10029
Re: Biblatex and Lyx: Verbose Style
On Friday 07 August 2009 02:58:32 pm Piero wrote: > Julio Rojas writes: > > Everything is in the same folder. Lyx can read the file and shows the > > references when I select them, so no, I believe this is not the > > problem. You can see the bibliography declared in the lines I > > provided: > > > > \bibliography{biblatex-apa-test-references} > > > > I'm working right now in Ubuntu 9.04, but I also work in XP and Leopard. > > Ooops, didn't see the line, sorry. > > Anyway, BibLaTeX doesn't work with me without the FULL PATH, and PDF only > show bibtex keys. Tried already? I had this problem a while ago, and solved it by always giving the full path to the bib files in the preamble. If I remember correctly, the problem has to do with LyX's compilation strategy. To produce a pdf file, Lyx first produces a .tex file in a temporary directory, and then runs (pdf)latex on it. At that point, latex can no longer find the .bib database because it is no longer in the same directory as the .tex file. Have you tried exporting your .lyx file to a latex (.tex) file and then running (pdf)latex on it from the command line? If I am right, it should produce correct references while the "View>PDF" command in Lyx (which uses the strategy above) shouldn't. Looking at the full Latex log (Document>Latex log) can be helfpul too. Cheers, Stefano __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Biblatex and Lyx: Verbose Style
Julio Rojas writes: > > Everything is in the same folder. Lyx can read the file and shows the > references when I select them, so no, I believe this is not the > problem. You can see the bibliography declared in the lines I > provided: > > \bibliography{biblatex-apa-test-references} > > I'm working right now in Ubuntu 9.04, but I also work in XP and Leopard. Ooops, didn't see the line, sorry. Anyway, BibLaTeX doesn't work with me without the FULL PATH, and PDF only show bibtex keys. Tried already?
Re: Lyx 1.6.3 Can I ditch the pointNclick list of open files below the toolbars???
But if I close the otherwise useless standard toolbar, the scrollbox isn't on the screen, thus it doesn't open so that I can select chapter,(or other {is it called section type?} choice from list...) Thus the viability of the shortcut sequence I described requires that the standard toolbar be turned on... Magically, the dropdownbox is also shown when the toolbar is hidden (after Alt-P ) Vincent
Re: Lyx 1.6.3 Can I ditch the pointNclick list of open files below the toolbars???
It would appear that on Aug 6, Helge Hafting did say: > Joe(theWordy)Philbrook wrote: > > > > As it is the only one I leave on is "standard". And that to keep the > > viability of the "3-key,2-stroke" keybinding "+[space]". Thus > > I put up with wasting a whole line of screen space on mostly useless > > stuff I would never ever "click" on. > > You can turn off all the toolbars if you like. I did not know that you > could loose keybindings that way, but define the keybindings in a custom > key binding file instead. That way, you can have the same keybindings > without any toolbars. (And you can define other keybindings you find > useful also.) First let me clarify... I don't think I actually lose the keybinding itself. But this particular binding. Nor in fact do I truly know what to call the function it invokes. But several versions of LyX ago I discovers that using the default (cua) bind file the sequence of holding the alt key and pressing p, then pressing the spacebar results in the same effect that i would get if I spent (more than 30 seconds on a bad day) trying to get the #&R$&^$*^$ing mouse pointer lined up so I could click on the arrow in that scrollbox normally located at the extreme lefthand end of the standard toolbar... IE to insert a new chapter I hit [enter]+[space] then arrow-key down until chapter is highlighted, press [enter] and start typing a chapter heading... But if I close the otherwise useless standard toolbar, the scrollbox isn't on the screen, thus it doesn't open so that I can select chapter,(or other {is it called section type?} choice from list...) Thus the viability of the shortcut sequence I described requires that the standard toolbar be turned on... I'm sure that I could set the new line to chapter with one of the other arguments to + if I bothered to look it up and memories it. But I can only remember just so many shortcut sequences, And this one gets me a list of many selectable choices. > To get rid of the document tabs too, open all your files in > separate windows. (ALT+f w, or "File->New Window") > Then, use your window manager to switch > between them. This is usually performed by alt+tab, although some > keyboard centric window managers might do it differently. Yeah, As I said in a different reply, Because of the fact that I usually open a half dozen .LyX files (with long filenames) using the window manager to switch between them is not a good choice. Where as my script always lists the filename arguments to LyX in the same order So I know that +[2] will always switch to the main story document and +[5] will always switch to my descriptive list of characters... Unless I happen to be working on those same .LyX files from one of my other linux distributions which still have older versions of LyX which means same result would happen by typing +[2] & +[5] instead. Of course, since I insist on being able to work on this story even if I happen to have booted another linux version, my shell script on this one also has to automatically invoke: lyx2lyx -t 276 on them when I'm done... But in any case, I thank you for the kind hearted help. I for one think this list is lucky to have you... correction: *_very_* lucky ;-) -- | --- ___ | <0> <-> Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ <>
How to get a preview for "custom" graphics format?
Hi, Even though I consider myself a "LyX master" in many respects, the exact usage of "File Formats", "Converters" and "External Material..." have always remained a mystery to me. Today I gave it another try (LyX 1.6.3-mac) -- and failed again. 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..." So far I got (2) and (3) working, but not (1): -- Under [File Handling --> File formats] I have added a new file format "TikZ" as Vector graphics format, Short Name: "Tikz", Extension: "tikz", and Editor: "vim". -- Under [File Handling --> Converters] I have added a Converter Definition "TikZ --> PDF (ps2pdf)" with Converter: "pdflatex $$i" If I now embed a .tikz-file, external editing and PDF generation works fine, but LyX is not able to show a preview. As I interpret the output of "lyx -dbg graphics", LyX does not know how to generate a pixmap from the input format ("TikZ"). Do I have to define a converter to some pixmap format as well? How to do so? This is pretty confusing. As I understand the manuals (don't remember where exactly I have read this) LyX should be able to deduce its route through conversion rules automatically, that is, to convert from TikZ to PDF first and then from PDF to the pixmap required for the preview functionality. Your help is highly appreciated! Daniel lyx.log Description: Binary data converter.lyx Description: Binary data image.tikz Description: Binary data
Re: Biblatex and Lyx: Verbose Style
Everything is in the same folder. Lyx can read the file and shows the references when I select them, so no, I believe this is not the problem. You can see the bibliography declared in the lines I provided: \bibliography{biblatex-apa-test-references} I'm working right now in Ubuntu 9.04, but I also work in XP and Leopard. - Julio Rojas jcredbe...@gmail.com On Fri, Aug 7, 2009 at 4:14 PM, Piero wrote: > Julio Rojas writes: > >> >> Does anybody know about this problem? I have to work on a big document >> and I think biblatex is the way to go, but not at the cost of having >> to work directly on Latex. > > BibLaTeX IS your man. As LyX is. > just 1 question: did you put > > \bibliography{mybibfile} > > in the preamble, after the above lines? > In my case (WinXP) it works only if I insert the ENTIRE path (C:/MyFolder...) > > Anyway, it's funny: > I never have been able to have BibLaTeX work with plain LaTeX > without LyX. > Seems that LyX can show LaTeX the right .bib path. > > Tell me ifit works. > > Bye > HPiero > >
Re: Biblatex and Lyx: Verbose Style
Julio Rojas writes: > > Does anybody know about this problem? I have to work on a big document > and I think biblatex is the way to go, but not at the cost of having > to work directly on Latex. BibLaTeX IS your man. As LyX is. just 1 question: did you put \bibliography{mybibfile} in the preamble, after the above lines? In my case (WinXP) it works only if I insert the ENTIRE path (C:/MyFolder...) Anyway, it's funny: I never have been able to have BibLaTeX work with plain LaTeX without LyX. Seems that LyX can show LaTeX the right .bib path. Tell me ifit works. Bye HPiero
Biblatex and Lyx: Verbose Style
Dear all. I'm trying to use biblatex with lyx, using the verbose style. I followed carefully the instructions in the wiki. Lyx compiles the document, but instead of showing full citations for the first time a reference is used, I only get the key for the reference in the PDF. This is the preamble I'm using: \usepackage[natbib=true,style=verbose-note,autocite=footnote,sorting=nyt]{biblatex} \bibliography{biblatex-apa-test-references} \renewcommand\cite{\autocite} \renewcommand\citep{\autocite} I redefine the cite and citep commands to use footnote cites, but that's it. You can see the output in an attached PDF. The weird part is that if I export the document to latex and compile it by hand, the desired result is obtained. I believe that maybe LyX is not compiling the bibliography as it should and it only shows the results of a badly constructed bbl file. Does anybody know about this problem? I have to work on a big document and I think biblatex is the way to go, but not at the cost of having to work directly on Latex. - Julio Rojas jcredbe...@gmail.com biblatex_test.pdf Description: Adobe PDF document biblatex_test_latex.pdf Description: Adobe PDF document
Re: how to install LyX in Linux?
icebna wrote: What distribution you have ? I use debian. Not the simplest to install, and not the prettiest. But one of the easiest to keep going for a decade without reinstalling, and one of the biggest collections of installable software. Helge Hafting
environment feature request
Could Lyx please set some environment variables before it calls it's conversion routines? It would save the need to customize the conversion. My current literate->program filter sets them for me: cat $$i | newfangle -Rlyx-build - | env LYX_b=$$b LYX_i=$$i LYX_o=$$o LYX_p=$$p LYX_r=$$r NOWEB_SOURCE=$$i bash With a lyx-build fragment containing: PROJECT_DIR="$LYX_r" LYX_SRC="$PROJECT_DIR/${LYX_i%.nw}.lyx" NW_DIR="$LYX_p" NW_SRC="$NW_DIR/$LYX_i" cd $PROJECT_DIR || exit 1 so that I can extract files in my lyx document directory. The "extra flag" originaldir seems to do nothing. Sam