eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-14 Thread Gunnar
Hello, I'm having problem in LyX 2.0.0rc3 (ubuntu has some lag) with a very simple test document. I insert an eps file with Insert -> Graphics and I can display the document as a pdf file (pdflatex) and as a ps file. That works fine, Then I add an ERT {\includegraphics{venn5.eps} and it

Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-14 Thread Gunnar
On Saturday 14 May 2011 08.47.45 Gunnar wrote: > Hello, > > I'm having problem in LyX 2.0.0rc3 (ubuntu has some lag) with a very simple > test document. > > I insert an eps file with Insert -> Graphics and I can display the document > as a pdf file (pdflatex) and as a ps

Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-17 Thread Gunnar
On Monday 16 May 2011 18.15.43 Julien Rioux wrote: > On 14/05/2011 2:47 AM, Gunnar wrote: > > How can I make LyX work with ERT and pdf? (Yes, I need ERT) > > I'm curious what is your use case which requires ERT for includegraphics > ? Since LyX supports inclusion of any graphi

annoying slowness with word completion in math mode

2011-06-07 Thread Gunnar
Hello. I use LyX 2.0.0pre3 with ubuntu and for some reason the word completion in math mode is very slow. If I start to type \vee I write \v and can wait for an eternity, and then finaly it suggests \vee and some other alternatives. I found a setting th

bracket size and multiline equations

2006-10-22 Thread Gunnar
I want to write an equation like this ( 3 ( --- + 3+ 3+ +3+ ... ( 4 3+ +3+3+3+3 ) But the second line should end with a bracket of the same size as it started. How do I do that?

Re: Problem installing Contract package

2006-10-28 Thread Gunnar
> /usr/share/texmf-tetex/tex/latex/base/ (as article.sty) and > contract.layout in .lyx/ . And finally I tryed to reconfigure Lyx but I > got : > +checking for document class contract [article,contract.sty]... no > > Can somebody explain me where I did a mistake? I don't think you should have to,

Re: LyX-code ::

2006-11-11 Thread Gunnar
> Is there anything else ? > Some package having the "::" character ? Some time ago I wrote about C++ and syntax highlightning on this list. It uses an external program called Highlight for code generation. That might be helpfull.

Re: +/- symbol

2006-11-29 Thread Gunnar
> > How can I have the +/- symbol where the + is on top of the - symbol, > > reading plus or minus. For example, a standard deviation would have > > this sign. Tex code is fine. Since I like the command shortcuts, ALT+m +

volume of rotation drawing

2006-12-20 Thread Gunnar
Hi. Not really lyx related but someone might perhaps know how to produce nice eps drawings of a volume of rotation. You know the kind of picture you usually find in your calculus textbook where the graph of f(x) rotates around the x-axis. Any ideas?

external file conversion fails

2006-12-28 Thread Gunnar
-A -L -t 4 -I -S cpp -f -r -q $$FName -o $$FName.tex I'm not really sure what is going on here. I thought I had it working. Any ideas, anyone? Regards Gunnar.

Re: external file conversion fails

2006-12-28 Thread Gunnar
UpdateResult "$$FPath$$Basename.tex" FormatEnd TemplateEnd And the result is a file that lacks some of the images that are used. In the console I get: dvips: Could not find figure file /home/gunnar/Skola//int_area.eps; continuing and that file really exists in the curre

Re: external file conversion fails

2006-12-28 Thread Gunnar
> And the result is a file that lacks some of the images that are used. > In the console I get: > dvips: Could not find figure file /home/gunnar/Skola//int_area.eps; > continuing > > and that file really exists in the current directory. > This picture is included with ER

\includegraphics doesn't find pictures

2006-12-28 Thread Gunnar
Hi again. I just created a new account, logged in, started lyx 1.4.3 and created the lyx file attached. I try to view the file but all I get is dvips: Could not find figure file /tmp//int_area.eps; continuing I try lyx -e pdf and lyx -e ps with the same result, but lyx -e latex newfile1.lyx

Re: \includegraphics doesn

2006-12-29 Thread Gunnar
> Preview in LyX > and lyx -e ps both worked fine for me. Are You sure that /tmp is the > directory where int_area.eps should be found? Try putting int_area.eps > to the same directory where your newfile1.lyx resides and try again. > > > Best, > Jan I found that changing z1 to z0 in

pst-tree and LyX

2007-01-05 Thread Gunnar
(and it uses pdflatex so there might be a fierce battle between postscript and pdf... Best wishes Gunnar

Re: OpenOffice vs. LyX

2007-01-23 Thread Gunnar
of business. Best wishes Gunnar On Tuesday 23 January 2007 06:00, Steve Litt wrote: > Hi all, > > I was considering switching to OpenOffice because of the excessive effort > in creating/modifying styles in LyX. > > So as an experiment, I began making a derivative, in OpenOff

Re: Questionnaire

2007-02-12 Thread Gunnar
> Does anyone know of a LaTeX questionnaire class or LyX questionnaire > template? I need to create a fairly big questionnaire (1000+ questions) and > I would like to know if there's a solution developed for this task. Before doing this, shouldn't you ask yourself if anyone ever will fill it out?

Re: AW: How to center graphics in Lyx?

2007-02-15 Thread Gunnar
> Notwithstanding, I remember Herbert Voss electing the '\centering' > solution as the best one. He seems to be very good at this, so why did he say this? I can't remember if I have ever had any problem with the paragraph justification solution.

Re: Insering source code into LyX document

2007-03-01 Thread Gunnar
> You may want the excellent ``listings`` package. Or the even more excellent program "highlight" (The result looks better with this one)

Re: Insering source code into LyX document

2007-03-01 Thread Gunnar
> this is external program, right? Yes. http://www.andre-simon.de/

Re: annoying behaviour in 1.4

2007-03-07 Thread Gunnar
> moved to the beginning of the next word. Apart from being just odd, > there's a real problem with that: If I have the text "firstword > [MATH] secondword", and the cursor is at "firstword", then I can not > move (quickly) to the beginning of the [MATH] stuff, since C-right > just moves past the

Re: annoying behaviour in 1.4

2007-03-07 Thread Gunnar
ugdatabase seems to be down at the moment. Regards Gunnar.

Re: Lyx's Site down?

2007-03-12 Thread Gunnar
> We should really set up some kind of fallback mechanism that works > (a) when Lars is not available (which seems to be rather common lately) > and (b) without the help of "Third Parties". Some thoughts, It can't be that hard to setup a mirror site called lyx2.org or something else that is easy

Re: convert lyx to PDF from command line

2007-03-16 Thread Gunnar
On Friday 16 March 2007 12:55, Eugeny N Dzhurinsky wrote: > Hello, could somebody please tell me how is it possible to convert LyX > document to PDF from command line? lyx -e pdf file.lyx creates file.pdf

Re: convert lyx to PDF from command line

2007-03-16 Thread Gunnar
> Is there any way to specify I would like to use pdflatex to make > conversion? lyx -e pdflatex file.lyx perhaps?

Re: eukleides

2004-08-28 Thread Gunnar
On Saturday 28 August 2004 11:37, Eric Delevaux wrote: > Hello > is there any interaction between lyx and eukleides? > I use eukleides to draw a figure then save my doc, then open a xterm, then > 'eukleides mydoc' then copy the result then use the paste in lyx...ouf! Any > fatser way? Something

(a+b)(a+b) with arrows

2005-01-23 Thread Gunnar
In many textbooks you "show" that (a+b)(a+b)=a^2+2ab+b^2 by drawing arrows like in the attached image. How can I do that in LyX? <>

Preferences, Paths

2005-02-24 Thread Gunnar
ve paths, and I don't want any temporary files in the current directory. They should go to /tmp. I could perhaps set a backup directory to ~/.lyx/backup Thanks, Gunnar.

Re: Preferences, Paths

2005-02-24 Thread Gunnar
Problem solved! (I think) It was a bad idea to use letters outside the range a-z in the filename, more explicitly, the letters å,ä or ö. Now, why can't I use these letters?

Re: Preferences, Paths

2005-02-24 Thread Gunnar
> Problem solved! (I think) Sorry, I was wrong. Problem not solved. I just forgott to switch back into using a temporary directory. Problem remains, how to use /tmp as temp. directory for LyX and how to use relative paths for graphic files.

list in a list

2005-02-26 Thread Gunnar
How can I get an enumerated list that looks like this 1 foobar 2 foobar 3 a) foobar b) foobar c) foobar where item number 3 consists of a new enumerated list. Right now I can only make it look like this: 3 a) foobar b) foobar c) foobar And I want "a)"

Re: list in a list

2005-02-26 Thread Gunnar
> > Yes: use an empty ERT box in the top-level list item. (Minimal example > > attached.) > > huh yes. Or simply nothing ... nothing? That doesn't work. Empty ERT works though. Thanks.

Re: list in a list

2005-03-06 Thread Gunnar
> the only thing what you have to do is to use _after_ > inserting the table the Layout->Increas depth option I don't understand your solution. I press Alt-p-e to get an enumerated list. I see: 1. Feel free to tell me what keys I should press to get the list to be 1. a) foo b) bar To

Re: list in a list

2005-03-06 Thread Gunnar
> After having opened the enumerate environment, do: > ctrl-l > ctrl-i > enter > alt-p-(rightarrow) Yes, that is what I'm doing (except for ctrl-i, thanks!), I was more interested in the suggestion by Herbert Voss, who said: the only thing what you have to do is to use _after_ inserting the list

Marvosym problem

2005-04-14 Thread Gunnar
t I want in math mode ( => ) Gunnar.

Re: Marvosym problem

2005-04-15 Thread Gunnar
>In fact, my version of TeTeX actually came with this line already commented. > Hope this helps. > Paul Thanks Paul, great answer. Just for curiosity, what version of TeTeX are you using?

Re: thanks to LyX team

2005-04-15 Thread Gunnar
> Please do not talk to the rest of world in *.doc. Instead use pdf. In > that way your document cannot be modified by anybody and it cannot be > affected by any macro virus. This was written some time ago, then it was true, but what about the rumors of embeded java scripts in pdf files?

layout file for theorem environment with options

2005-05-03 Thread Gunnar
Hi. I've created an environment for examples, {\theorembodyfont{\upshape} \newtheorem{EE}{Exempel}} and I've managed to write an layout for it, # Example style definition Style Example LatexType Environment LatexName EE Align Left AlignPossible

Re: layout file for theorem environment with options

2005-05-03 Thread Gunnar
> Try, export to LaTeX and have a look. > (And tell us about your findings.) There was not a single trace of the short-title in the latex file.

strategy for writing a book

2005-05-04 Thread Gunnar
nment like this: \newenvironment{Th}{\begin{Theor}%other fancy stuff} {\end{Theor}} a good solution? One option is to first determine the style before I write it, but I'd rather just write the text, and afterwards do changes to the style. Any advice from you is appreciated. Gunnar.

fancyheader problem

2005-05-07 Thread Gunnar
I'm trying to get fancyheaders in a book, with this preamble \fancyhead[RO,LE]{\thepage} \fancyhead[LO,RE]{\rightmark} I get the SAME kind of headers on both odd and even pages. The page number is in the righthand corner, and the sectionnumber+name is in the lefthand corner. That is what I

Re: fancyheader problem

2005-05-07 Thread Gunnar
>Did you tell LaTeX to load the package, too? This is the fancy stuff in the exported latex file \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead[RO,LE]{\thepage} \fancyhead[LO]{\rightmark} \fancyhead[RE]{\leftmark} \cfoot{}

Re: fancyheader problem

2005-05-08 Thread Gunnar
>Is the double use intentional? It should be there only once. You can > also use: > \usepackage{fancyhdr} > \pagestyle{fance} > \fancyhead{} % clear header fields The double use was added when the single use didn't work (by adding both to preamble and selecting "fancy" pagestyle. > > \cfoot{}

Re: fancyheader problem

2005-05-09 Thread Gunnar
> Did you check "Two-sided document" under Layout->Document->Paper? No. > Without that, LyX includes the oneside option (at least in articles, not > sure about books), which kills the header alternation. Thank you very much. Problem solved!

Re: Making beautiful LyX icons...

2005-05-24 Thread Gunnar
logo" kind of company) is telling me that they only see a large black image I can't understand why. I've done my best with inkscape and convert, but no success. Gunnar.

Reference manual and key bindings

2005-06-02 Thread Gunnar
In the documentation "Customization.lyx" in section "3.3 Bindings" it says: All the LyX functions are listed in the Reference Guide. What reference guide I ask? I would like to press M-g u and then get two separate ERT boxes with \begin{ug} and \end{ug}.

Re: Matlab code "pretty print" import to lyx?

2005-06-03 Thread Gunnar
> Does anyone know if there is a way to publish Matlab code in a lyx > document with the colors of the keywords, variables, comments and etc. > preserved? > There is a package called "listings" that might be useful, but colors on the keywords, I'm not sure if that is supported. A perl/sed script

modified eepic pictures are not altered in ps preview

2005-06-13 Thread Gunnar
Hi. If I make changes to an eepic picture that is created in a separate file and included in LyX by the \parpic and \input commands in an ERT, the picture is not updated when I do "update postscript". How can I make the changes in the eepic files turn up in the final postscript?

mathsymbols in LyX 1.3.6 in Windows XP

2005-08-29 Thread Gunnar
Hi. How do I make LyX 1.4.6 for Windows XP display mathsymbols? \sum is transformed into "P" in LyX but it looks alright in the ps/pdf files. Thanks Gunnar.

File filter for external_templates

2005-10-08 Thread Gunnar
teResult "$$FName.tex" Requirement "graphics" FormatEnd TemplateEnd The problem is that the FileFilter does not work. I thought it should filter away all files except those ending in .prov but it does not. Can you help me spot the error? I use LyX 1.3.5 in Linux. Gunnar.

Re: auto page break before new section?

2005-10-09 Thread Gunnar
> I think the package afterpage offers what you want. Just a futile attempt to solve it, but why wouldn't a thing like this work? \renewcommand{\section}[1]{\newpage\section{#1}} I tried but it didn't.

Drawing of polynomials

2005-10-15 Thread Gunnar
like to translate it, extend it or remove my ugly codewriting. Gunnar.

Re: Drawing of polynomials

2005-10-16 Thread Gunnar
> [EMAIL PROTECTED]:~> gcc graf.cpp g++ graf.cpp grafrita.cpp function.cpp will help you. You need to give all three cpp files to the compiler or else you will have to link it together by yourself. Gunnar.

Re: Drawing of polynomials

2005-10-16 Thread Gunnar
> Speaking of which, that package might require some costly Boreland C++ or > Visual Studio licence to be workable for Win32 users. I've compiled with Dev-C++ and here is a exe file for windows users without a compiler. http://web.comhem.se/~u46307480/RitaGraf.exe Gunnar.

copy and paste between lyx documents does not work

2005-10-17 Thread Gunnar
I'm using Linux and if I open two LyX documents, I can't copy and paste between the two windows. I can select text in other windows and paste it by a mouseclick in a LyX window. Why can't I copy/paste between the LyX windows? Gunnar.

updating postscript file, but not eepic picture

2005-10-25 Thread Gunnar
Hi. I have a LyX (1.3.6) file that contains a reference to an eepic file that is be included with "\input" command. That works, but when I change in the eepic file, the LyX files preview is not updataed, even though I use update postscript/ view postscript and reloads the postscript file. What

Re: updating postscript file, but not eepic picture

2005-10-26 Thread Gunnar
> Does closing and reopening the LyX document rectify the problem? Don't know, but going to sleep, start from the beginning and be aware of what I'm doing solved it. Sorry for bothering you with my mistakes.

Re: Custom titlepage

2005-10-31 Thread Gunnar
> Is anyone aware of any samples of lyx and a customized titlepage? E.g. a > full page image with text printed over it. I simply inserted an eps file and in ERT I inserted the commands \thispagestyle{empty} \newpage worked for me. Gunnar.

Problem with latex conversion

2009-10-18 Thread Gunnar
some of my environments wrong or is LyX doing something wrong? Any help on this matter is very much appreciated. b.lyx Description: application/lyx #\DeclareLyXModule{Gunnar} #DescriptionBegin #Gunnars modul #DescriptionEnd Style GGGExample LatexType Environment LatexName

picture in header

2003-03-14 Thread Gunnar
and the logotype attached in this mail. TIA Gunnar.#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \begin_preamble %%\addtolength{\voffset}{-4mm} \usepackage{graphics} \end_preamble \language swedish \inputencoding latin1 \fontscheme default \graphics

customize userinterface

2003-03-24 Thread Gunnar
, and then some more LaTeX code. How do I define that? Or can I do that with some other macros? Gunnar. -- http://www.gunix.dk ---To boldly browse were no one has browsed before

Re: customize userinterface

2003-03-24 Thread Gunnar
> > I would like the action to insert some LaTeX code, a figure, and then > > some more LaTeX code. How do I define that? > By playing around with > command-sequence ert-insert ; self-insert xxx ; inset-toggle ; > etc. Ehh.. sorry for being stupid. Where do I write that? Is there any example I

Re: customize userinterface

2003-03-24 Thread Gunnar
>Icon "command-sequence ert-insert ; self-insert xxx ; inset-toggle Allright, now it starts to get a little bit clearer, Still the question of how to give a fixed parameter to ert-insert so I get that as LaTeX code. I still use LyX 1.1.6fix4. Has much changend in 1.3.1 concerning this? I guess

No section numbers?

2003-03-24 Thread Gunnar
Hello.. again. With LyX 1.3.1 I can't see the section numbers in the LyX window. The postscript preview shows them correctly. Why aren't they there in LyX? -- http://www.gunix.dk ---To boldly browse were no one has browsed before

eepic in lyx

2003-12-13 Thread Gunnar
Hello. I want to use eepic figures in LyX (created with ePiX), is there any other way to do that other than using ERT like \begin{figure}[hbt] \input{myfig.eepic} \end{figure}

no space verbatim include

2004-01-28 Thread Gunnar
Hello. If I use "include file" and choose verbatim format for my c++ source code that I want to have in my lyx file, the tab's are not respected, no space to indent the lines. :-( It works if I use space's instead of tab's. Is there a way to get this behaviour in LyX?

mdwlist question

2004-03-11 Thread Gunnar
Hello. How can I have an enumeration list and then use the mdwlist package to suspend enumeration, insert some lyx code (yes, new enivornment), and then resume the enumeration? It seems like that the enumeration is ended, and then the resume command is operating outside of any

Re: mdwlist question

2004-03-11 Thread Gunnar
Oh my... Thanks, that was a feature I didn't know of. Time to read the doc's again!! > Gunnar, try this. (The attached LyX file does not use the mdwlist > package, but it addresses everything else I think.)

Re: how to make figure placing look good?

2004-03-28 Thread Gunnar
I just found the "picins" package. That looks really promising!

parpic problem

2004-04-02 Thread Gunnar
Hello. Can anyone see what's wrong with this lyx file? Something is wrong with the parpic but I can't understand what! Can you spot the problem?#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass book \begin_preamble \usepackage{picins} \end_preamble

Re: parpic problem [Solution found?]

2004-04-02 Thread Gunnar
It seems to work if I add \usepackage{graphicx} to the LaTeX preamble. Why? I don't know. > Hello. > Can anyone see what's wrong with this lyx file? > Something is wrong with the parpic but I can't understand what! > Can you spot the problem?

testing (sorry)

2004-05-23 Thread Gunnar
Is the list working or is my ISP blocking spam too efficient? --

layout for nested environments

2004-05-23 Thread Gunnar
Hello. I would like to use an exercise environment in LyX without using ERT. The ERT looks like this \begin{ex} What is not Foo? \begin{sol} Bar is the answer. \end{sol} \end{ex} So I started to edit the article.layout (code below) but how can I make the solution to appear inside

\columnsep with multicol

2005-11-06 Thread Gunnar
Hi. I'm using a multicol environement with two columns but I'd like some more space between the columns. I have used these commands \setlength{\columnsep}{20mm} \setlength{\columnseprule}{0.4pt} but the columnsep doesn't seem to be changing. It doesn't matter if it is 20mm or 40mm or 10mm,

Re: \columnsep with multicol

2005-11-06 Thread Gunnar
Sorry, I should put the > \setlength{\columnsep}{20mm} command outside of the environment. That fixes things.

Need some trouble shootingideas

2005-11-07 Thread Gunnar
with a new LyXdocument didn't change a thing. Still no menues. Now I need some advice about what we can try to do on his computer. I'm not very familiar to debugging misbehaving programs in Windows, so any idea is a good idea. Regards, Gunnar.

Re: Forget Windows

2005-11-07 Thread Gunnar
On Sunday 06 November 2005 22:05, James W Dow wrote: > LyX is a wonderful word processor. It is best one for writing mathematics > directly from the keyboard. Please don't spend a huge time developing it > for Windows. Windows will gradually fade away. Putting nice programs like > LyX on that

Convert png to eps automatically

2005-11-21 Thread Gunnar
Hi. I'm trying to setup a perfect LyX environment in MS windows for users that is not very used to LyX/LaTeX. The problem I have right now is that they make drawings in MS paint. The question: is there any way to make LyX convert png/gif pictures to eps automatically? They display the pictures

Re: Convert png to eps automatically

2005-11-21 Thread Gunnar
Normally this does LyX > for you but it increases the compiling time when you create a > PDF-document with many images. Better use one of the three formats above. Oh, I'm so used to eps/postscript that I wasn't aware of that. Thanks for telling me that Uwe. Gunnar.

No cmr10 with foiltex

2005-11-23 Thread Gunnar
Hi. I'm using LyX 1.3.6 and Windows and I'm having a problem with fonts and foiltex. I write a simple presentation and try to preview the dvi but the dvi file doesn't show the things that I've written. It says (when checking document properties). Making PK font: C:\texmf\miktex\bin\makepk.exe

updating eepic graphics

2005-11-27 Thread Gunnar
Hi. I'm having trouble updating the postscript preview if I include eepic graphics. Even direct changes to the eepic file isn't noticed in the postscript file,same old plot is used.What am I doing wrong or what is going on with LyX 1.3.6? Even closing the postscript and displaying it all

Re: The best 2d and 3d eps math graphs to Lyx

2005-11-30 Thread Gunnar
> MuPAD is no longer free for Linux, I am afraid to tell you. Isn't there still a free version for personal home usage?

Re: The best 2d and 3d eps math graphs to Lyx

2005-11-30 Thread Gunnar
It's not very clear (make it harder to get it for free?), but isn't this TAN thing a free thing for personal noncommercial use? https://www.mupad.org/muptan/muptan.php

Re: c++2tex

2005-12-04 Thread Gunnar
> Use the LaTeX-package "listings". I attached an example LyX-file. > Perhaps LyX should support the listings-package in one of the next > releases. No offense, but how do you make it look good?

pictures and collaboration

2005-12-07 Thread Gunnar
to include the pictures again. Gunnar X-mas is soon here, where is 1.4? :-)

Decimalcomma instead of decimalpoint

2005-12-13 Thread Gunnar
How can I automatically get a decimal comma instead of a decimal point in math environments? I've tried \AtBeginDocument{\def\extrasspanish{}} and even \DeclareMathSymbol{,}{\mathpunct}{letters}{"3B} \DeclareMathSymbol{.}{\mathord}{letters}{"3B}

Re: Decimalcomma instead of decimalpoint

2005-12-13 Thread Gunnar
> How can I automatically get a decimal comma instead of a decimal point in > math environments? > > I've tried > \AtBeginDocument{\def\extrasspanish{}} > > and even > \DeclareMathSymbol{,}{\mathpunct}{letters}{"3B} > \DeclareMathSymbol{.}{\mathord}{letters}{"3B} >

Re: Decimalcomma instead of decimalpoint

2005-12-14 Thread Gunnar
> I do not understand what you want. Don't worry, neither did I when I read it. > If you want to use decimal comma instead of a decimal point, then > write decimal commas instead of writing points. That way you get what > you want, and the math looks good. If I write 4,5 in math environment, I

Re: lyx 1.3.6 crashes with changebars

2006-01-12 Thread Gunnar
> Well, change tracking in 1.3 is really really unsupported. In 1.4, it > is much better, but still have many problems. Really serious problems or very minor things? It would be super to be able to use it soon.

Include a lot of C++ code

2006-01-20 Thread Gunnar
Hi. I'm using the "hightlght" program to hightlight C++ code that I include in my LyX files. I have created an external template so I can include C++ files with ease. But the problem is that with small pieces of code, only a few lines, it is a little bit too much work to create all these small

Re: Include a lot of C++ code

2006-01-20 Thread Gunnar
ult is includeed with \include{...}? > how about showing us an example of the task? > > martin > > On 20/01/06, Gunnar <[EMAIL PROTECTED]> wrote: > > > perhaps listings.sty ? > > > > Thanks for your reply, > > but I feel that highlight makes it beautiful, listings doesn't. :-(

Re: Include a lot of C++ code

2006-01-22 Thread Gunnar
I wrote a c++ program that extracted my special c++ code environment. But I ran in to problems with the exported LaTeX file (export from LyX 1.3.6, LyX format 221). If I write int main( int a = 4, string namn = "adfa öööas"); I get \begin{KODcpp} int main( int a = 4, string namn = {}``adfa

Re: Include a lot of C++ code

2006-01-23 Thread Gunnar
> It seems this could be helpful for me too. I just didn't understand so > far how to do a thing of this kind. .-( > So, would you mind to post this lyx-shortcut (and the latex commands) > here? Thanks I post all I have done. There are still some undetected bugs, but it works on and decent *niix

Re: Include a lot of C++ code

2006-01-23 Thread Gunnar
> You are sure listings can't do what you want? > The defaults may not fit your needs, but this package is > very configurable. If someone can make it look like the result of the highlight program, then I'm happy. The fonts, spacings are all ugly. No code in the listings documentation looks

keybinding for typewriter and bold?

2006-01-29 Thread Gunnar
What should I write in the bind file if I wish to make a marked text to have typewriter style and bold letters at the same time?

updating problem

2006-02-10 Thread Gunnar
I have an external template defined for including c++ code (attached at the bottom of the message) and I'm having problem with updating the postscript after editing one of the included c++ files. The postscript file doesn't. update when I do S C T to update the postscript. Restarting LyX

Re: updating problem

2006-02-10 Thread Gunnar
> Do you know the listings package? Yes, and I don't want it. This is a more general kind of problem, how do you update a postscript file?

Can't find eps file when exporting

2006-02-11 Thread Gunnar
I have a LyX document that includes a figure (Insert->Graphics), it's an eps file. It is shown in LyX. But when I preview the postscript, or export on the command line afterwards: lyx -e pdf Prov.MaC.lyx I get the most strange error: $ lyx -e pdf Prov.MaC.lyx Executing command:dvips -t a4

Re: Can't find eps file when exporting

2006-02-13 Thread Gunnar
No one has anyideas? I look at the latex file and it looks alright, and I can run latex on it and get a healthy dvi file. but as I try to run dvips to produce a postscript it starts to go crazy: dvips: Could not find figure file /home/gunnar/Skola/Undervisning/vandblad.eps; I create the file

Re: Can't find eps file when exporting

2006-02-13 Thread Gunnar
It seems to be related to the fact that pdflatex can't handle eps and everygraphics file must be converted to pdf with the epstopdf command. How can I tell LyX to do this for me?

  1   2   3   4   5   6   >