Re: Problem: "Export to PDF (pdflatex)"
Uwe Stöhr a écrit : Stefan Grübler schrieb: I have a Problem with exporting a lyx document to pdf documents (pdflatex). When I click on "File->Export->PDF (pdflatex)" the programm doesn't do anything. The same story with the other menu points in "File->Export->...". If I choose the menu item "View->PDF (pdflatex)", I can see a perfect PDF-File in Adobe Acrobat Reader. It seems that your working directory/folder where LyX saves the converted files don't have write permissions. Could that be? If you are using LyX under windows version 1.3.5 or older, please assure that the LyX folders have write permissions for "Everybody". regards Uwe Actually I noticed the same behavior when the file to be exported is new. - lyx test.lyx and confirm you want to create it ; - enter a line, save the file ; - export it to pdf (or pdflatex) -> nothing created in the working directory ; - close lyx ; - lyx test.lyx (now it exists) ; - export it to pdf (or pdflatex) -> export ok. Actually, in the case of the export to pdf (via dvi and ps), the pdf file is created in the temporary directory used by lyx, but not moved to the working directory. In the case of the export to pdf via pdflatex, the pdf file created in the working directory is sized 0 ! My lyx version: LyX 1.3.6 of Sat, Jul 16, 2005 Built on Jul 17 2005, 12:36:17 Configuration Host type: i686-pc-linux-gnu Special build flags:aiksaurus use-pspell use-ispell C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (3.4.3) C++ Compiler flags: -O Linker flags: Frontend: qt Qt version: 3.3.4
Re: pdflatex paper size bug and out-of-date content
> - i have a multifile document (using inclusions). i often need to touch > the main file to get up-to-date output, otherwise, it won't regenerate the > included files which have changed. > this is starting to be quite annoying... and touching the main file doesnt always regenerate the pdf with the latest changes... is there a way to 'make clean'? mamato
Re: [OT] PDF permissions
Andrei Popov wrote: Hello Helge, Friday, December 2, 2005, 12:00:06 PM, you wrote: On linux, use xpdf which couldn't care less about permissions. I use it to copy/paste stuff out of pdf's that are protected against copying with acrobat. Having "copy protection" enforced by the client is such a joke, For most technically unsavvy users it's not a joke, I'm afraid =) It is in this particular case. No "hack" needed, just use xpdf for reading your pdfs. The unsavy tends to get their linux installed by vendor or some standard distro cd. Chances are that they have xpdf then, perhaps as the default pdf viewer even. just use a client that don't implement it. Anyway, there is no way to simultaneously allow reading and prevent copying. There's no way to simultaneously enable SCREEN-reading/accessibility AND disable copying, if this is what you meant =) What I meant, yes. If the software can get at the content so as to display it, then the software may decide to stick it in the paste buffer as well. There is nothing the pdf file format can do about that. You can disable everything, including copying, but the document WILL be available for reading. This, naturally, might only apply to compliant viewers, such as Acrobat. Anyway, yeah, I know this "just use xpdf or whatever" trick too. But isn't a good pdf viewer supposed to implement the pdf standard to the full? Honor permissions, allow form-filling, text-copying and encryption? I think yes. A good pdf viewer should do whatever the _user_ wants it to. Sure, having form filling in xpdf would be nice. But honoring the no-copying bit? Not what I, as a user, want. If I don't want to copy text out of a pdf, then I don't do it! Therefore, it is no use supporting this. (Users who enjoy being prevented from copying have the option of using acrobat.) And for the cases where copy protection is on "by default/by mistake/by company standard" or whatever, it is nice that the software doesn't support it. Some writers might like the "copy protection", but it is a lost cause. Open-source pdf readers exists, so I can always turn that off again even if xpdf should implement it. (And then I can distribute this program for the benefit of the technical unsavy . . .) Helge Hafting
Touching and updating view. Former: pdflatex paper size bug and out-of-date content
[EMAIL PROTECTED] wrote: - i have a multifile document (using inclusions). i often need to touch the main file to get up-to-date output, otherwise, it won't regenerate the included files which have changed. this is starting to be quite annoying... and touching the main file doesnt always regenerate the pdf with the latest changes... is there a way to 'make clean'? I recognize the problem. Touching is annoying and one has to be carefull such one does not include a single space that lyx eats. Therefore I usually have an open ERT that I put a new whitespace into. I guess one could also have a comment environment and there include any crap. The thing is, one has to make sure the resulting latex file is different from the last. This brings me to a question for the developers. Is there a reason for not using the excellent program make to handle rebuilding of the document? When I like to view a document, it seems like all conversions are made over again even if they have not changed. I think make would handle the checking of new versions without much effort. I guess you don't want to use an additional program which has to be installed. However, make is pretty small, 130K on my computer. /johan
Re: Touching and updating view. Former: pdflatex paper size bug and out-of-date content
the ERT _hack_ does seem to work much better than adding self disappearing spaces as i had been doing. another useful thing would be to add something (ex '*' or '(modified)') to the Documents menu items to show which documents have changed. this would be useful even if the updating 'bug' is fixed. mamato On 12/5/05, Johan Ingvast <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > >>- i have a multifile document (using inclusions). i often need to touch > >>the main file to get up-to-date output, otherwise, it won't regenerate > the > >>included files which have changed. > >> > > > > > > this is starting to be quite annoying... and touching the main file > doesnt > > always regenerate the pdf with the latest changes... is there a way to > 'make > > clean'? > I recognize the problem. Touching is annoying and one has to be carefull > such > one does not include a single space that lyx eats. Therefore I usually > have an > open ERT that I put a new whitespace into. I guess one could also have a > comment > environment and there include any crap. > The thing is, one has to make sure the resulting latex file is different > from > the last. > > This brings me to a question for the developers. Is there a reason for not > using > the excellent program make to handle rebuilding of the document? When I > like to > view a document, it seems like all conversions are made over again even if > they > have not changed. I think make would handle the checking of new versions > without much effort. > I guess you don't want to use an additional program which has to be > installed. > However, make is pretty small, 130K on my computer. > > /johan >
Re: increase size of figure and table captions
_/ On Mon 05 Dec 2005 03:41:04 GMT, [Matthew.Kelly] wrote : \_ Hi all, I apologise that this is a trivial question that would probably be answered with just a little digging. One of the examiners of my thesis decided that the figure and table captions were too small, so I was wondering what the best way of making them bigger. Currently they are the same font size as the text. If there is no easy way I will just spend the same time making up a reason that this is the appropriate size for captions. Matthew Hi, Captions should usually be smaller than standard text and most templates enforce this. Yet, anyone who makes a big fuss over it is most likely dis- tracted by unimportant detail. Either way, the naive solution: * Highlight the caption text * Go to the Layout menu item * Open the "Character..." window * Change size to "Small" or "Smaller" * Press Apply/OK If you built your document in a way whereby captions can be distinguished from text (perhaps a float caption), then you can modify the style appro- priately in the Preamble. LaTeX is not a strong skill of mine, so I can't give you a snippet of code. This rids you from the need to change many captions repeatedly with the risk of forgetting to change a few. Hope it helps, Roy -- Roy S. Schestowitz | Viruses to Linux is like cancer to a shark http://Schestowitz.com |SuSE Linux | PGP-Key: 0x74572E8E 10:45am up 5 days 8:12, 4 users, load average: 1.59, 1.73, 1.78
Re: increase size of figure and table captions
Roy Schestowitz wrote: > _/ On Mon 05 Dec 2005 03:41:04 GMT, [Matthew.Kelly] wrote : \_ > >> Hi all, >> >> I apologise that this is a trivial question that would probably be >> answered with just a little digging. >> >> One of the examiners of my thesis decided that the figure and table >> captions were too small, so I was wondering what the best way of >> making them bigger. Currently they are the same font size as the >> text. If there is no easy way I will just spend the same time making >> up a reason that this is the appropriate size for captions. >> >> >> Matthew > > Hi, > > Captions should usually be smaller than standard text and most > templates enforce this. Yet, anyone who makes a big fuss over it is most > likely dis- tracted by unimportant detail. Either way, the naive > solution: > > * Highlight the caption text > > * Go to the Layout menu item > > * Open the "Character..." window > > * Change size to "Small" or "Smaller" > > * Press Apply/OK > > If you built your document in a way whereby captions can be > distinguished > from text (perhaps a float caption), then you can modify the style > appro- > priately in the Preamble. LaTeX is not a strong skill of mine, so I > can't > give you a snippet of code. This rids you from the need to change > many captions repeatedly with the risk of forgetting to change a few. > > Hope it helps, A better way would be to redefine the caption environment. Herbert Voß's tips and tricks pages at http://tug.org/TeXnik/mainFAQ.cgi/ (available as a link from www.lyx.org too...) have all sorts of mind blowing magic. In this particular case, I've used the following in my preamble in the past. %% Set the captions to be italic \newcommand\myCaption[1]{\itshape\refstepcounter{figure}% \begin{center}\figurename\ \thefigure :\ #1\end{center}\upshape} \let\caption\myCaption Adjust to suit. -- Angus
Re: [LyX] translation of ... [again]
> "Alex" == Alex <[EMAIL PROTECTED]> writes: Alex> Dear list, I doing some correcting in the introduction. Once, I Alex> found that I cannot render the document anymore. What error do you get? JMarc
helvetica fonts on screen...
Hello, I am using Lyx 1.3.6 on a fresh Debian testing install. My favorite screen fonts are Helvetica, and I have them because I can see them in /usr/X11R6/lib/X11/fonts/100dpi and in /usr/X11R6/lib/X11/fonts/75dpi. These directories appear in /etc/fonts/fonts.conf /usr/share/fonts /usr/X11R6/lib/X11/fonts /usr/local/share/fonts ~/.fonts I have run fc-cache -f and restarted X and everything I could think of. But Lyx does not seem to see them. Neither does Konsole for that matter. Please help. Arial hurts my eyes. -- Alexandru Cabuz Doctoral Student Université Montpellier II France Tel: +33 (0)4.67.14.47.34 --- Please no Word or Powerpoint attachments. Send plain text, rich text format, html, or pdf instead. See http://www.gnu.org/philosophy/no-word-attachments.html -- Alexandru Cabuz Doctoral Student Université Montpellier II France Tel: +33 (0)4.67.14.47.34 --- Please no Word or Powerpoint attachments. Send plain text, rich text format, html, or pdf instead. See http://www.gnu.org/philosophy/no-word-attachments.html
Re: increase size of figure and table captions
[EMAIL PROTECTED] wrote: One of the examiners of my thesis decided that the figure > and table captions were too small, so I was wondering what > the best way of making them bigger. Currently they are the > same font size as the text. If there is no easy way I will > just spend the same time making up a reason that this is the > appropriate size for captions. Use the LaTeX-package "caption". In your case add for example the following line to your document preamble: \usepackage[font=Large]{caption} You can also set different fontsizes for the label and the caption text. More about this is in the caption manual chapter 3.3. regards Uwe
Re: \xrightarrow
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> Herbert Voss schrieb: >> When I insert in mathed Uwe> \xrighterror ;-) >> amsmath is not enabled by default in LyX 1.3.5 is it fixed in 1.3.6 >> ? Uwe> No, also not in LyX 1.3.7CVS. If you create a bug report, I'll fix it for 1.4.1. JMarc
[Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)
Hello list, I recently picked up LyX after getting some warm recommendations from a few friends. I'm using a PowerBook with Mac OS X 10.4.3. Thus, I picked up the i-Installer distribution at http:// ii2.sourceforge.net/tex-index.html, which seems to be the most popular for my platform, and followed install instructions from http://www.uoregon.edu/~koch/texshop/installing.html. I selected the 2005 TeX distribution (i-Installer offers "2003", "2004" and "2005", with 2005 being the default). Then, I grabbed a copy of LyX 1.3.6 for Mac OS X, copied the program to my Applications folder, and ran the install script. So far, so good. But from there, it goes a little bit wrong. Indeed, I cannot seem to include any graphics (images) in my documents. Or rather, documents that are typeset perfectly fine on Linux won't hear a thing on my computer. However, this only occurs when I use the pdflatex, DVI or dvipdfm options of the View menu. For a reason I cannot explain, the "ps to pdf" option works just fine. Graphics are included by adding a float:figure element and including within that an ERT block, with the following commands \center{\includegraphics[scale=0.9,angle=0]{graphics/myimage.pdf or myimage.png}} graphics is a folder that sits next to the main lyx file. The main document author (this is part of a team project) also added \usepackage{graphicx} to the document preamble. The errors I get seem to be typical of EPS files with no bounding boxes, but why the heck does it happen with PDFs and PNG files as well, when those very same files work perfectly fine on Linux... An example error: LaTeX Error: Cannot determine size of graphic in /Users/bahamut/ Documents/Sch ...cale=0.9,angle=0]{graphics/Processus.pdf} } Try typingto proceed. If that doesn't work, type X to quit. In addition to that, if I export the document to latex, and typeset the document from say TeXShop, everything works fine (as far as images go, some other things get lost like cross-references, which makes this option unpractical). I'm basically at a standstill now. I've done my share of research on the web and came up with nothing. Maybe I'm overreacting (since ps to pdf does work), but the issue still annoys me and I'd like to see it resolved (or at least understand what's causing it). Any assistance will be appreciated. Regards, Jean-Francois Roy -- Co-Founder of MacStorm Programmer at MacStorm http://www.macstorm.org http://www.devklog.net [EMAIL PROTECTED] http://www.macstorm.org/bahamut/Jean-Francois.gpgkey PGP.sig Description: This is a digitally signed message part
Re: request for mac-bundle
On Dec 5, 2005, at 2:50 AM, Martin A. Hansen wrote: hello folks how about a bundle for installing lyx on mac os x? the bundle should contain precompiled lyx/qt (with changebars), tetex, imagemagick, ghostscript, and whatever needed to run lyx on mac. it is of cause possible to read the docs for each of these applications and install seperately, but imho mac users just want an installer. i could sure use such a bundle right about now ... I find i-Installer to be very good as a way of installing TeX. Download a bundle of i-Installer, Ghostscript 8, and TeX from ftp.nluug.nl/pub/comp/macosx/volumes/tex/TeX-fat.dmg>. i-Installer will handle the downloading and installing of ImageMagick as well -- which, like Martin, I'd recommend. (Note that if you want to install this on multiple Macs, the ImageMagick.ii2 file that i-Installer downloads can simply be copied to other Macs; double-clicking on it will open it in i-Installer for easy installation.) Then install LyX/Mac. Of course this won't get you change bars; for this I'd recommend waiting for LyX-1.4.0 -- or download the source and compile a development version yourself, with the understanding that it's still buggy and not yet ready for release. Yes, the i-Installer interface can be somewhat daunting until you get used to it. But I'm sure I could do no better to produce a maintainable, reasonably bug-free, and reasonably secure installer/ updater. Bennett
Re: [Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)
On Dec 5, 2005, at 8:40 AM, Jean-Francois Roy wrote: Hello list, I recently picked up LyX after getting some warm recommendations from a few friends. I'm using a PowerBook with Mac OS X 10.4.3. Thus, I picked up the i-Installer distribution at http:// ii2.sourceforge.net/tex-index.html, which seems to be the most popular for my platform, and followed install instructions from http://www.uoregon.edu/~koch/texshop/installing.html. I selected the 2005 TeX distribution (i-Installer offers "2003", "2004" and "2005", with 2005 being the default). Then, I grabbed a copy of LyX 1.3.6 for Mac OS X, copied the program to my Applications folder, and ran the install script. So far, so good. But from there, it goes a little bit wrong. Indeed, I cannot seem to include any graphics (images) in my documents. Or rather, documents that are typeset perfectly fine on Linux won't hear a thing on my computer. However, this only occurs when I use the pdflatex, DVI or dvipdfm options of the View menu. For a reason I cannot explain, the "ps to pdf" option works just fine. I'm not sure if this is the issue given what you say below, but did you use i-Installer to install ImageMagick? Once that's done, reconfigure LyX (Edit > Reconfigure), and LyX can then automatically translate images from one format to another as needed, which may be part of your problem. Graphics are included by adding a float:figure element and including within that an ERT block, with the following commands \center{\includegraphics[scale=0.9,angle=0]{graphics/myimage.pdf or myimage.png}} graphics is a folder that sits next to the main lyx file. The main document author (this is part of a team project) also added \usepackage{graphicx} to the document preamble. The errors I get seem to be typical of EPS files with no bounding boxes, but why the heck does it happen with PDFs and PNG files as well, when those very same files work perfectly fine on Linux... An example error: LaTeX Error: Cannot determine size of graphic in /Users/bahamut/ Documents/Sch ...cale=0.9,angle=0]{graphics/Processus.pdf} } Try typingto proceed. If that doesn't work, type X to quit. In addition to that, if I export the document to latex, and typeset the document from say TeXShop, everything works fine (as far as images go, some other things get lost like cross-references, which makes this option unpractical). Note that for cross-references you need to run (pdf)latex more than once. (Running latex, bibtex, latex, latex usually is required.) That things are working with TeXShop (is it working on *all* images?) indicates that it's a problem configuring LyX. First, try reconfiguring LyX (Edit > Reconfigure) to make sure that LyX is properly recognizing your setup. If that doesn't work, try moving your LyX User's directory out of the way (it's at ~/Library/ Application Support/LyX), and re-run LyX to make it automatically generate a new directory (and reconfigure itself). Does that work? Bennett
Re: [Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)
On 5-Dec-2005, at 09:05, Bennett Helm wrote: On Dec 5, 2005, at 8:40 AM, Jean-Francois Roy wrote: Hello list, I recently picked up LyX after getting some warm recommendations from a few friends. I'm using a PowerBook with Mac OS X 10.4.3. Thus, I picked up the i-Installer distribution at http:// ii2.sourceforge.net/tex-index.html, which seems to be the most popular for my platform, and followed install instructions from http://www.uoregon.edu/~koch/texshop/installing.html. I selected the 2005 TeX distribution (i-Installer offers "2003", "2004" and "2005", with 2005 being the default). Then, I grabbed a copy of LyX 1.3.6 for Mac OS X, copied the program to my Applications folder, and ran the install script. So far, so good. But from there, it goes a little bit wrong. Indeed, I cannot seem to include any graphics (images) in my documents. Or rather, documents that are typeset perfectly fine on Linux won't hear a thing on my computer. However, this only occurs when I use the pdflatex, DVI or dvipdfm options of the View menu. For a reason I cannot explain, the "ps to pdf" option works just fine. I'm not sure if this is the issue given what you say below, but did you use i-Installer to install ImageMagick? Once that's done, reconfigure LyX (Edit > Reconfigure), and LyX can then automatically translate images from one format to another as needed, which may be part of your problem. Yes, I did install ImageMagick from the get-go (as per the instructions on the TeXShop web site). I can even use it from the command-line, which indicates it's installed properly. Graphics are included by adding a float:figure element and including within that an ERT block, with the following commands \center{\includegraphics[scale=0.9,angle=0]{graphics/myimage.pdf or myimage.png}} graphics is a folder that sits next to the main lyx file. The main document author (this is part of a team project) also added \usepackage{graphicx} to the document preamble. The errors I get seem to be typical of EPS files with no bounding boxes, but why the heck does it happen with PDFs and PNG files as well, when those very same files work perfectly fine on Linux... An example error: LaTeX Error: Cannot determine size of graphic in /Users/bahamut/ Documents/Sch ...cale=0.9,angle=0]{graphics/Processus.pdf} } Try typingto proceed. If that doesn't work, type X to quit. In addition to that, if I export the document to latex, and typeset the document from say TeXShop, everything works fine (as far as images go, some other things get lost like cross- references, which makes this option unpractical). Note that for cross-references you need to run (pdf)latex more than once. (Running latex, bibtex, latex, latex usually is required.) That's good to know, not entirely intuitive! That things are working with TeXShop (is it working on *all* images?) indicates that it's a problem configuring LyX. First, try reconfiguring LyX (Edit > Reconfigure) to make sure that LyX is properly recognizing your setup. If that doesn't work, try moving your LyX User's directory out of the way (it's at ~/Library/ Application Support/LyX), and re-run LyX to make it automatically generate a new directory (and reconfigure itself). Does that work? It doesn't work, I have tried that several times. I've even gone as far as completely re-installing my TeX installation and LyX from scratch. I forgot to mention I also have DarwinPorts installed on my machine, and that I'm using FileVault. However, in the case of FileVault, I'm practically certain it has no consequence because I get the exact same problem on another Mac I own, which doesn't use FileVault. Bennett Jean-Francois Roy -- Co-Founder of MacStorm Programmer at MacStorm http://www.macstorm.org http://www.devklog.net [EMAIL PROTECTED] http://www.macstorm.org/bahamut/Jean-Francois.gpgkey PGP.sig Description: This is a digitally signed message part
Proofreading
Hi I need my thesis to be proofread. I noticed most proofreaders only takes word-files, and a few latex. However, I'd prefer to stay native lyx. Has anybody come across someone proofreading with the help of lyx? If so, please give me a hint. regards johan
Re: Proofreading
hint = chktex martin On 05/12/05, Johan Ingvast <[EMAIL PROTECTED]> wrote: > > Hi > I need my thesis to be proofread. I noticed most proofreaders only takes > word-files, and a few latex. However, I'd prefer to stay native lyx. > > Has anybody come across someone proofreading with the help of lyx? > > If so, please give me a hint. > > regards > johan >
Re: helvetica fonts on screen...
Alexandru Cabuz wrote: Hello, I am using Lyx 1.3.6 on a fresh Debian testing install. My favorite screen fonts are Helvetica, and I have them because I can see them in /usr/X11R6/lib/X11/fonts/100dpi and in /usr/X11R6/lib/X11/fonts/75dpi. These directories appear in /etc/fonts/fonts.conf /usr/share/fonts /usr/X11R6/lib/X11/fonts /usr/local/share/fonts ~/.fonts I have run fc-cache -f and restarted X and everything I could think of. But Lyx does not seem to see them. Neither does Konsole for that matter. The above places should, I think, make your X programs capable of using the fonts on the screen, but I think the font needs to be somewhere under /usr/share/texmf/fonts/ for TeX to find it. What is making you think Lyx does not see them? I don't know about Konsole, but one thing to understand about LyX (1.3.X anyway) is that setting Helvetica sets the san-serif font only, not the "normal" font, you have to make your text san-serif for Helvetica to take over. Just something that bit me. Please help. Arial hurts my eyes.
c++2latex Ok, but...
Hey guys, thanks one more time. The listings package works fine to C++, Fortran, Pascal, etc. I like it very much! It have many options like color, typeset, etc, but, the spaces between the lines are too huge! And change all the paragraph to linebreaks is unsuitable. It is like this funny example below: #include #include int main() { int x; int y; } Hence, how can I solve it? :) -- Abraços! Douglas __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/
Re: [Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)
On Dec 5, 2005, at 9:38 AM, Jean-Francois Roy wrote: Hum, I've been doing some more tests, with other documents, and it would seem the errors only affect that particular lyx document. Would there be anything in a lyx document causing these errors? Some malformed command, or some mis-configuration? Hard to say offhand. Can you post a minimal LyX document and figure that causes the problem for you? Also, you might check the LaTeX logfile that LyX produces. Bennett
Re: helvetica fonts on screen...
> What is making you think Lyx does not see them? because I go to Edit > Preferences > Screen Fonts and Helvetica is not on any of the lists. -- Alexandru Cabuz Doctoral Student Université Montpellier II France Tel: +33 (0)4.67.14.47.34 --- Please no Word or Powerpoint attachments. Send plain text, rich text format, html, or pdf instead. See http://www.gnu.org/philosophy/no-word-attachments.html
[announce] fifth release of the LyXWinInstaller
Hello LyXers, I'm proud to announce the new version 0.5 of the LyX installer for Windows. You can download it from http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=8245 The sources are at http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=8244 For general informations about the installer I refer to http://wiki.lyx.org/Windows/LyXWinInstaller The installer installs now a prerelease of LyX 1.3.7 to let you benefit from some bugfixes and a new hungarian translation of LyX's menus. The installer variant "network" has now an option to use LyX without LaTeX and Instant preview is supported beginning with this release. This is the complete changelog: Version 0.5 - update to a prerelease of LyX 1.3.7 which includes the following changes compared to LyX 1.3.6: http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/Attic/status.13x?rev=1.1.2.280&only_with_tag=BRANCH_1_3_X&content-type=text/vnd.viewcvs-markup - support for Instant preview - new option "Don't use LaTeX" in the Network variant of the installer - updated french translation of the installer (thanks to Jean-Pierre Chrétien) - new turkish translation of the installer (thanks to Gürer Özen) - new hungarian translation of the installer (thanks to Szõke Sándor) - new slovak translation of the installer (thanks to Gisela Stöhr) - updated Qt/Win Free library - updated lyx2lyx scripts - "Courier New" instead of "Courier" is now the default screen font for "typewriter" - fix bug when checking for LaTeX-distributions - fix wrong path when Ghostscript is installed together with this installer - fixed previous/next upate on missing programs page (thanks to Jörg Zastrau) - LyX shows now the correct menu language when it is opened by double-clicking on a .lyx-file I hope that you don't encounter big problems. Please read the actual Readme files first before you use the installer. Every annotation is welcome. best regards Uwe
Re: increase size of figure and table captions
- Original Message - From: "Uwe Stöhr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Monday, December 05, 2005 5:23 AM Subject: Re: increase size of figure and table captions [EMAIL PROTECTED] wrote: One of the examiners of my thesis decided that the figure > and table captions were too small, so I was wondering what > the best way of making them bigger. Currently they are the > same font size as the text. If there is no easy way I will > just spend the same time making up a reason that this is the > appropriate size for captions. Use the LaTeX-package "caption". In your case add for example the following line to your document preamble: \usepackage[font=Large]{caption} You can also set different fontsizes for the label and the caption text. More about this is in the caption manual chapter 3.3. regards Uwe Since I'm not sure that this answer addresses making the figure larger, I will mention \scalebox discussed in oldish "LaTeX Graphics Companion". and http://www.ccrnp.ncifcrf.gov/~toms/latexforbeginners.html /Advanced To make figures using LaTeX2e, before your \begin{document} put \usepackage{graphics} \usepackage{wrapfig} \usepackage{floatfig} Then call the graphics directly like this: \includegraphics*{fig/logowalker.ps} or inside a figure: \begin{figure} \begin{center} \scalebox {0.9} % h_length { \includegraphics*{fig/logowalker.ps} } \end{center} \caption{ The caption } \label{fig.logowalker} \end{figure} The wrapfig and floatfig packages are very cool - they let you wrap figures around text. Between paragaphs: \begin{floatingfigure}{7 cm} \scalebox{0.6}{ \includegraphics*[140,270][450,640]{fig/t7-wt-ex.ps} } \caption{Sequence logos for T7 promoters. Top: wild type promoters \cite{Schneider1986}; bottom: strong T7 promoters found by an \emph{in vivo} genetic screen \cite{Schneider1989}. } \noindent \hrulefill \label{fig.t7-wt-ex} \end{floatingfigure} Wrap figure looks like this: \begin{wrapfigure}{r}{12cm} \begin{center} \rotatebox{-90}{ \scalebox {0.57} % h_length { % Note: the "*" makes the graphic be clipped - this is needed!! % Guide to Latex p. 168 \includegraphics*[50,110][540,695]{fig/baseflipcover.ps} } } \end{center} \caption{---http://www.artofproblemsolving.com/LaTeX/AoPS_L_PictMan.php In this section we'll discuss how you can manipulate images in .ViewportSpacing Scaling - \scalebox{horizontal factor}[vertical factor]{item scaled}Resizing - \resizebox{horizontal factor}{vertical factor}{item resized}Rotating - \rotatebox{angle of rotation}{item rotated}Reflecting - \reflectbox{item reflected} Centering - \begin{center} centered items \end{center} -http://www.xfig.org/userman/latex_and_xfig.html1.. Get LaTeX to change the size of the picture, using either \scalebox or \resizebox. These are general functions for scaling text or pictures from the graphics package: A.\scalebox{factor}{object} Will scale the object by any factor. Factor is just a number (< 1 = reduction; > 1 = enlargement) Object is normally some text or graphics B.\scalebox{2}{ \input{file.pstex_t} } will scale the picture by 2, dependent on driver (.ps works, but xdvi wont). Scaling bitmap fonts may produce ugly results, so try and avoid them! C.\resizebox{width}{ht} {stuff} will resize "stuff" to be of size width x ht. Using "!" as an argument retains the aspect ratio of the box. eg \resizebox{5cm}{!}{fat cat} will make "fat cat" appear 5 cm wide, and suitably high. (From p129, Lamport) LaTeXicon.gif Description: GIF image
Re: [announce] fifth release of the LyXWinInstaller
- Original Message - From: "Uwe Stöhr" <[EMAIL PROTECTED]> To: "LyX-Users" ; "LyX-Devel" Sent: Monday, December 05, 2005 9:54 AM Subject: [announce] fifth release of the LyXWinInstaller Hello LyXers, I'm proud to announce the new version 0.5 of the LyX installer for Windows. You can download it from http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=8245 I hope that you don't encounter big problems. Please read the actual Readme files first before you use the installer. Every annotation is welcome. best regards Uwe It seemed to install properly including changing the default install directory from C:\Program files\LyX to C:\LyX One odd thing, using the network install, LyX available for all users, created two desktop icons at the end of the install, like some process ran twice. Thank you and regards, Stephen
Re: [announce] fifth release of the LyXWinInstaller
Hi, I am trying the complete version on a fresh windows XP, problems: 1. When lyx is running configure.sh, miktex is started to install some additional packages, when I set a miktex mirror site to install it, I got message like 'latex fail (double something I cannot remember)'. 2. When installing aspell, I am told that aspell is installed but I need a language file. But the aspell-xx.exe from the website seems to be full installer. I may be wrong here. 3. After everything is installed, I am told that "Lyx wasn't able to find any package description", and lyx failed. Cheers, Bo
Re: [announce] fifth release of the LyXWinInstaller
- Original Message - From: "Bo Peng" <[EMAIL PROTECTED]> To: "Stephen Harris" <[EMAIL PROTECTED]> Cc: "Uwe Stöhr" <[EMAIL PROTECTED]>; "LyX-Users" ; "LyX-Devel" Sent: Monday, December 05, 2005 11:48 AM Subject: Re: [announce] fifth release of the LyXWinInstaller Hi, I am trying the complete version on a fresh windows XP, problems: 2. When installing aspell, I am told that aspell is installed but I need a language file. But the aspell-xx.exe from the website seems to be full installer. I may be wrong here. 3. After everything is installed, I am told that "Lyx wasn't able to find any package description", and lyx failed. Cheers, Bo 2. There are two parts to installing C:\Aspell the executable file and the dictionary file for one's native language. In the past they were always separate downloads. 3. Did you install to the default C:\program files\lyx or elsewhere? Tally Ho, Stephen
Re: [announce] fifth release of the LyXWinInstaller
> 2. There are two parts to installing C:\Aspell the executable file > and the dictionary file for one's native language. In the past > they were always separate downloads. > > 3. Did you install to the default C:\program files\lyx or elsewhere? Yes. I will re-try. Bo
Re: [Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)
Am Montag, 5. Dezember 2005 14:40 schrieb Jean-Francois Roy: > Indeed, I cannot seem to include any graphics (images) in my > documents. Or rather, documents that are typeset perfectly fine on > Linux won't hear a thing on my computer. However, this only occurs > when I use the pdflatex, DVI or dvipdfm options of the View menu. For > a reason I cannot explain, the "ps to pdf" option works just fine. > > Graphics are included by adding a float:figure element and including > within that an ERT block, with the following commands > > \center{\includegraphics[scale=0.9,angle=0]{graphics/myimage.pdf or > myimage.png}} This ERT is the problem. If you are using ERT you need to understand how the different LaTeX compilers deal with graphics. AFAIK pdf files can only be used natively by pdflatex. Use the graphics inset, and LyX will convert the files for you into a suitable format. This does not explain why it works on Linux, but I am sure that the problems will go away if you use the graphics inset. Georg
Re: [Mac OS X] Problems with pdfTeX, DVI and images (EPS, PDF, PNG, whatever)
Jean-Francois Roy wrote: \center{\includegraphics[scale=0.9,angle=0]{graphics/myimage.pdf or myimage.png}} -- use _no_ extensions for the graphics -- use \centerline{ ... } \usepackage{graphicx} always needed, when the graphoics are not inserted by LyX LaTeX Error: Cannot determine size of graphic in /Users/bahamut/ Documents/Sch ...cale=0.9,angle=0]{graphics/Processus.pdf} only three possible cases: -- you used latex instead of pdflatex -- the image is damaged -- the image path is wrong Herbert
Re: [announce] fifth release of the LyXWinInstaller
> Yes. I will re-try. 1. checking latex configuration -> miktex package installation -> install, and this time no error. Previous error message should be caused by the same 'program files' problem. 2. I am prompted to install packages during configuration, and when I open a document using basic packages like natbib and fancyhdr. Is it possible to install these packages by default? 3. I try to open a file using beamer class. Lyx says beamer class is not found. Despite the fact the miktex can fetch required packages automatically, I have to install beamer manually and then run re-configure. (I am glad to find that beamer.layout is pre-installed.) The ideal way to handle this problem may be: (I know it is non-trivial but the new configure.py should be able to add this feature easily) "lyx try to open a file of unknown class -> lyx calls miktex and let it install this class -> lyx fetch a layout file from some lyx repository (or raise an error saying no layout file) -> lyx recognize this class without re-configuration -> lyx open a file." Anyway, if the 'program files' problem can be fixed, this installer will be quite usable. Thank you! Bo
Re: [announce] fifth release of the LyXWinInstaller
Bo Peng wrote: 1. When lyx is running configure.sh, miktex is started to install some additional packages, when I set a miktex mirror site to install it, I got message like 'latex fail (double something I cannot remember)'. Could be a problem of the miktex-mirror you used. I cannot reproduce this. 2. When installing aspell, I am told that aspell is installed but I need a language file. But the aspell-xx.exe from the website seems to be full installer. I may be wrong here. You mean the packages at http://aspell.net/win32/, these are only installers for language dictionaries. 3. After everything is installed, I am told that "Lyx wasn't able to find any package description", and lyx failed. Have you installed Angus' instaler before? If yes, does it work when you delete LyX's config folder in C:\Documents and Settings\username\Application Data ? regards Uwe
Re: [announce] fifth release of the LyXWinInstaller
Stephen Harris wrote: One odd thing, using the network install, LyX available for all users, created two desktop icons at the end of the install, like some process ran twice. I cannot reproduce this. Btw. I noticed that the working directories of LyX's Start menu and desktop links are wrong. It seems that I have to publish a version 0.51 :-( regards Uwe
Re: c++2latex Ok, but...
On Mon, 5 Dec 2005 11:39:58 -0300 (ART) <[EMAIL PROTECTED]> wrote: > Hey guys, thanks one more time. The listings > package works fine to C++, Fortran, Pascal, etc. I > like it very much! > It have many options like color, typeset, etc, > but, the spaces between the lines are too huge! And > change all the paragraph to linebreaks is unsuitable. > It is like this funny example below: Hi. Could it be that your source code contains end-of-lines from DOS (microsoft?) I've had that problem and had to convert them to the Unix convention (LF alone instead of CR _and_ LF). This was on a Linux machine though (I used fromdos to convert the file)/ John
Re: c++2latex Ok, but...
[EMAIL PROTECTED] wrote: Hey guys, thanks one more time. The listings package works fine to C++, Fortran, Pascal, etc. I like it very much! It have many options like color, typeset, etc, but, the spaces between the lines are too huge! And change all the paragraph to linebreaks is unsuitable. It is like this funny example below: #include #include this is along standing LyX bug. You have to enter ctrl-enter at the end of every line instead of the default enter. Otherwise LyX always inserts an additional newline Herbert