Re: Output track changes in pdf with latex error

2008-04-01 Thread Bo Peng
On Mon, Mar 31, 2008 at 5:30 PM, Peter Sutovsky <[EMAIL PROTECTED]> wrote: > I get error message when I try to get output in pdf with "show changes in > output " is on. Output to dvi and ps works well. Is it way to make it work > with pdf? Thanks. What does Document->LaTeX log say? Bo

Re: Ask for help!

2008-03-24 Thread Bo Peng
On Sun, Mar 23, 2008 at 9:22 AM, WT <[EMAIL PROTECTED]> wrote: > Dear LyX Developer, > I am a LyX user from China. At first, thank you for giving us such a > useful tool. > I have some question about the template of LyX. I need to write my thesis > in Chinese, so I can't use the inherent

Re: LFUN to open label / reference inset dialog

2008-03-23 Thread Bo Peng
> Before posting, I did look through the list of LFUNs (as offered by > the Alt+X command bar). However, I couldn't imagine next-inset-toggle > as the one I was looking for. Me neither, and I spent a whole day re-inventing the wheels. Bo

Re: LFUN to open label / reference inset dialog

2008-03-23 Thread Bo Peng
On Sun, Mar 23, 2008 at 7:50 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: > Daniel Lohmann wrote: > > Anybody an idea? > > Yes: next-inset-toggle (Ctrl-i with cua.bind) With a patch I have prepared (see another thread), inset-settings would work for InsetGraphics, and InsetLabel, InsetRef

Re: okay, can't resist one more bit of "feedback"

2008-03-21 Thread Bo Peng
> Thank you for your time. I'm wiping this crap off both my HDs now! Happy ending for all of us, after all. Bo

Re: Lyx shortcut key problem

2008-03-20 Thread Bo Peng
> > If anyone could help me, I would appreciate it. It works well here, LyX 1.5.4/Linux. Which version of lyx, which OS, are you using? There is a slight chance that your windows manager 'eats' C-enter. Attached please find the bind file I am using now, just in case we are using different ones.

Re: Problems with program listings and captions/labels

2008-03-20 Thread Bo Peng
> As you can see, the \label-command is inside the caption definition. > The listings package doesn't seem to like it that way. I see the problem now. Will fix soon. Bo

Re: Lyx and SVN logs

2008-03-17 Thread Bo Peng
> Has anyone already solved this problem? Any off the shelf tools for > converting XML to an arbitrary format like LaTeX? Why do you use XML format? svn log gives you plain text output, which can be easily inserted as, e.g. listings child document. Bo

Re: Different program listing styles

2008-03-16 Thread Bo Peng
> This program listing problem is > the first "serious" problem that I am experiencing with 1.6.0svn. So, > I would say for me is it ready, but maybe I am not using all the > features. Right now, the context dialog is overridden by context menu (a new feature of 1.6.x). This should be fixed soo

Re: Different program listing styles

2008-03-16 Thread Bo Peng
> > I hope there is another solution that doing it with an ERT-inset... > > Insert -> Program Listing, In case you do not know, inset->file->child document->listings allows you to insert files (or lines of files), and you can set global listings parameters in document->settings. There are many

Re: Different program listing styles

2008-03-16 Thread Bo Peng
> Maybe it's a bug in LyX 1.6.0svn: I don't find the "handle" of the > listing inset. When I right click on it, the popup menu has only one > option "No action defined!". What am I missing? Please do not use 1.6.0svn for any serious work. It is simply not ready. Bo

Re: Problem with LyX-154-3-22-AltInstaller-Complete.exe

2008-03-11 Thread Bo Peng
> I installed LyX-154-3-22-AltInstaller-Complete.exe package. Everything seems > to go fine, the MiKTeX is updated etc. However, LyX doesn't start, but opens > a following window: Have you tried the official installer in ftp://ftp.lyx.org/pub/lyx/bin/1.5.4? I guess you do not need to use the bu

Re: Box around program listings?

2008-03-10 Thread Bo Peng
> Actually, Bo's answer was the one I was looking for. The Box(minipage) does > not work if a Listing is inside of it. Supplying the "frame=..." option to > the listing did the trick. There are options to customize the frame, and if you want to use frame for all your listings, you can set glo

Re: Box around program listings?

2008-03-10 Thread Bo Peng
On Mon, Mar 10, 2008 at 10:41 AM, James Sutherland <[EMAIL PROTECTED]> wrote: > Does anyone know a way to get a box around a program listing? Putting it > inside a box (minipage) environment doesn¹t seem to work... You want a frame, right? Use the frame option of the listings package should work

Re: new lines disappearing in program listings

2008-03-04 Thread Bo Peng
> Have you checked out the support for lstlisting in LyX 1.5.x? I gather > from the wiki that Bo Peng is responsible for it (props to Bo). It's > not on the environment roster; you get it with Insert -> Program > Listing. Right click the widget handle to see all the co

Re: Hotkeys

2008-02-29 Thread Bo Peng
On Sat, Mar 1, 2008 at 1:28 AM, Ignacio García <[EMAIL PROTECTED]> wrote: > Peleg wrote: > > Is there a possibility to create in LyX hotkeys (keyboard shortcuts) for Have a look at http://wiki.lyx.org/uploads/LyX/keyboardShortcuts/bpeng/personal.bind in http://wiki.lyx.org/LyX/KeyboardShortcuts

Re: ftp.lyx.org down?

2008-02-26 Thread Bo Peng
> The server is not really down, but rather slow and sometimes unrespondable > these days (it took me several attempts to upload the binaries). > Try one of the mirrors listed on the home page. This one seems to be up to > date: Why cannot we register a project on sourceforge just for uploadin

Re: Where is the Lyx 1.54 for Windows

2008-02-25 Thread Bo Peng
On Tue, Feb 26, 2008 at 10:29 AM, Jorge Mario Garcia <[EMAIL PROTECTED]> wrote: > Where is the Lyx 1.54 for Windows? Joost: Will you have time to prepare one soon? I can do it if you are tight on time. Bo

Re: Option clash for package natbib.

2008-02-23 Thread Bo Peng
> Insert > > Provides natbib 1 > > in your layout file. Thanks. We definitely need a layout editor GUI... Bo

Option clash for package natbib.

2008-02-22 Thread Bo Peng
I have a journal-supplied .cls file that loads natbib through \RequirePackage{natbib}. I have created a .layout file for this class and use this class in lyx. However, when I enable natbib, I get an error 'LaTeX Error: option clash for package natbib'. The error is caused by a line \usepackage[auth

Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Bo Peng
On Jan 22, 2008 1:44 PM, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote: > Ken wrote: > > > Is there an easy way to compare the changes or differences between two > > LyX documents? > > http://www.cs.bgu.ac.il/~dekelts/ldiff/ Quite interesting, do you see any hope of integrating this to lyx? Bo

Re: Compare Changes/Differences between LyX Documents

2008-01-22 Thread Bo Peng
> > Is there an easy way to compare the changes or differences between two > > LyX documents? You can file a feature request (someone else might have done it) to compare two documents and produce a document with revision markers. I have occasionally though of this feature but there seems to be no

Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-11 Thread Bo Peng
> I renamed the local file and did a reconfigure and that seems to have worked > - it also seems to have corrected the "0"s issue. I'm working on both > windows and mac (currently my mac), so I can't test the dev version till > next week but will let you know. Thanks. > I should also note that I'

Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-11 Thread Bo Peng
> Yes, I do - I've got all my files in a working copy of an svn repo, so I > decided to also keep a copy of the layout file there as well. Is this a new > feature or something so that I don't need to "install" new layout classes in > the system area? It is a new feature, and you have encountered a

Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-10 Thread Bo Peng
On Jan 10, 2008 7:30 PM, Ryan Cross <[EMAIL PROTECTED]> wrote: > I'm going to fight through this for a day or two while i await some more > advice on how to fix this, otherwise I'll revert back again. However, I'm > noticing another issue - possibly related - which is with the supposedly > fixed ch

Re: Reconfiguring does not work (windows)

2008-01-07 Thread Bo Peng
> No matter how many times I restart and reconfigure LyX, nothing seems to work. Your problem is basically a miktex problem. What happens if you install these packages from Miktex' package manager? Bo

Re: former lyx 1.4 document not usable in lyx1.5

2008-01-07 Thread Bo Peng
> "Package fontenc Error: Encoding file `utf-8enc.def' not found." > > followed by an huge amount of errors telling me that the encoding scheme utf-8 > is not known to latex... What if you change Document->Settings->language->Encoding to something else? This looks like a latex configuration proble

Re: former lyx 1.4 document not usable in lyx1.5

2008-01-04 Thread Bo Peng
> Other than that, you might try deleting and reinserting chunks of the > document (preferbably on a backup copy) to see if you can isolate where > the problem character(s) lie. You may also want to try the latest svn version of lyx, which can highlight the offending characters. A windows installe

Re: fun poll: your linux distro

2008-01-02 Thread Bo Peng
RHEL4 with lyx 1.5.x svn and 1.6.x svn. Bo

Re: Spell check on the fly?

2007-12-13 Thread Bo Peng
> I agree with you. And I guaranty that this feature would go in and would > be disabled by default... if only we find someone to implement it ;-) > > So no need to discuss this anymore IMHO. We, as developers, see valid reasons from both sides. We have discussed how to implement this feature befo

Re: Edit complete source?

2007-12-07 Thread Bo Peng
> I'd like to hear about reasonable use cases. It would be nice to have this dual-editing feature but I frankly do not see any usefulness of it. Lyx' output is better than latex, but not really WYSIWYG. If something can not be done in lyx and has to be entered by ERT, the source editing mode will

Re: All my LyX files seem to be "externally modified"

2007-10-31 Thread Bo Peng
> A while ago LyX (1.5.2) started to say that all my old files have been > "externally modified". The problem does not occur when I create new > files, but every time I want to save a change in an old file, I have > to click the overwrite button. As far as I know, I have not modified > any LyX file

Re: locale or encoding difficulty, I'm not sure which

2007-10-14 Thread Bo Peng
On 10/14/07, Declan O'Byrne <[EMAIL PROTECTED]> wrote: > Right, I've spent about 3 hours trying to sort this out, without > success, so it's time to call for help. > I'm getting the following message when running pdflatex: > "Some characters of your document are probably not representable in the ch

Re: Docked windows or independent windows?

2007-09-27 Thread Bo Peng
> OK... anybody in favor of it? Richard, Bennett, Peter, Andre, Pavel, Bo, > Juergen, etc...? I tend to think that dialogs that have strong link (interactions) with the bufferview need to be docked. This is the case for viewsource (auto update), toc and embedding (autoupdate and navigation). I do

Re: (O/T) Latex Question

2007-09-20 Thread Bo Peng
> How does one obtain such a customized bst file? The publisher in this > instance seems to have very specific formatting requirements that look a > little non-standard to me. I remember seeing a method of customizing bst > files but it seemed to have a rather steep learning curve and was quite > t

Re: (O/T) Latex Question

2007-09-20 Thread Bo Peng
> I see that the bbl file lists the references but doesn't seem to be in > the correct format for inserting in the original latex file... You can first find a .bst file that produce the bibliography in the right format, then insert the generated bbl to the .tex file. I usually do this even when th

Re: LyX and the lack of a "code mode"; TeXlipse versus LEd and TeXnic

2007-09-17 Thread Bo Peng
> Being used to > web page visual editors, I was expecting that the source viewer would > function like a "code mode" that we could choose as an alternative to > the normal "design mode", as happens with dreamweaver, The view source windows will, eventually, turn to 'view/edit source window', but

Re: Help for a new user

2007-08-25 Thread Bo Peng
> Upon first start-up of LyX, the configuration did indeed take a very long > time... over 25 minutes. I would suggest that we start lyx before configure and show the output of configure.py in a lyx windows. Otherwise, people tend to close the DOS window or kill lyx.exe if it stays there for 25 mi

Re: Compiling lyx 1.5 for cygwin?

2007-08-13 Thread Bo Peng
On 8/13/07, David A. Case <[EMAIL PROTECTED]> wrote: > Does anyone have information or experience about compiling LyX 1.5 for cygwin? > I have really appreciated the efforts of Enrico Forestieri (and others?) who > prepared distributions of LyX 1.4.x. I'm willing to spend some time compiling > (or

Re: On the fly spellcheck?

2007-08-11 Thread Bo Peng
> I agree with this. A spell checker highlighting in some way, anything it does > not understand, is most distracting and too easily breaks the thread of > thought. Both sides have their (good) reasons to like/dislike this feature. LyX will certainly provide an option to turn this feature on or of

Re: On the fly spellcheck?

2007-08-10 Thread Bo Peng
> Is there any way to do on-the-fly spellchecking? Not now. > Is there any plan to add > on-the-fly spellchecking later? Being considered for 1.6.0, along with auto-completion, abbreviation etc. Cheers, Bo

Re: messed up chapter numbering

2007-08-07 Thread Bo Peng
> Can anyone give me some suggestions as to what could be happening here? > It's not a problem I have seen before. It would help if you can export to latex, and tell us what went wrong with lyx ==> latex export. You can even compare latex output between 1.4.x and 1.5.0. Cheers, Bo

Re: Inserted Graphics does not display

2007-08-05 Thread Bo Peng
On 8/5/07, John E. Harbold <[EMAIL PROTECTED]> wrote: > Hi, > > When I insert graphics, the resulting graphics is not displayed. > What I get is > "Error converting to loadable format". This occurs even for the > doc/EmbeddedObjects.lyx file. Is there something funny about my > configu

Re: Compress file corrupted

2007-07-31 Thread Bo Peng
> > So this is the second report on corrupted compressed .lyx files within > > a week. Maybe it's time to revert the boost zipping stuff. I can confirm this problem under windows, but not under linux. It might be a zlib windows packaging problem or a boost::iostreams bug, who knows. But this is a

Re: Compress file corrupted

2007-07-31 Thread Bo Peng
> > So this is the second report on corrupted compressed .lyx files within > a week. Maybe it's time to revert the boost zipping stuff. I have to say that, if this is indeed boost::iostreams' fault, I would be really disappointed at the quality of boost libraries. I think we can disable compress

Re: Compress file corrupted

2007-07-31 Thread Bo Peng
> I would like to ask about any tools or tricks which may allows to recover > data from compressed LyX file?? I've accidentaly switched on this option in > Document menu and then something wrong happened and now I could not open my > LyX file. I lost a few days off my work - not too much, because m

Re: Tracking changes when others can't be trusted?

2007-07-30 Thread Bo Peng
On 7/30/07, Gunnar Lindholm <[EMAIL PROTECTED]> wrote: > Consider the case where you have one file, you start tracking changes, and you > send the file to person X. X do stuff and send you the file back, now it's > possible to see the changes, but what if you can't be sure X hasn't messed it > up i

Re: prefered windows Installer

2007-07-30 Thread Bo Peng
> I read some time ago, that the two available windows installers will be > updated and merged together. Has this already been done? No, it is a larger project than we all expected so it is planned to be done 'within the 1.5.x release cycle'. > If not, what is the recommended installer? Hard to

Re: Position of the Preferences menu entry (lyx v. 1.5)

2007-07-28 Thread Bo Peng
> Anyway it seems you did this on purpose, so I don't think it's safe to > try and have it corrected, but would it be possible to have it configurable? You can copy the system stdmenu.inc (?) to your local directory, modify it, and let lyx use your local file in the configure dialog. Bo

Re: Windows binaries for 1.5.0svn

2007-07-22 Thread Bo Peng
Unfortunately I found two bugs within the first minute or so: I got a sample document through private email. The first problem is that the chapter number of a child document will be 0 if the child document uses a different layout from the master document. Because lyx explicitly requires that ma

Re: LyX1.5.0rc2: Debug

2007-07-19 Thread Bo Peng
Looks like you found a small problem with the new launcher for Windows. Try lyx.exe -dbg any. I'll put this in bugzilla so Uwe knows about it. Which installer are you using? If you use the official installer, you should use lyxc.exe -dbg, instead of lyx.exe -dbg. The latter is a wrapper for

Re: multiple windows

2007-07-18 Thread Bo Peng
On 7/18/07, Miki Dovrat <[EMAIL PROTECTED]> wrote: The two lyx's don't talk to each other, i.e. you cannot copy and paste between them, only via "external selection". Can that some how be achieved? A useful feature would be the xemacs style divider into two parts either vertically or horizontally

Re: when final release 1.5.0?

2007-07-17 Thread Bo Peng
I can reproduce it with current svn: Warning: Malformed LyX document: Unexpected `\end_layout'. Warning: Malformed LyX document: Unexpected `\end_layout'. Warning: Malformed LyX document: Unexpected `\end_layout'. Handling unknown body token: `\end_layout' Handling unknown body token: `\end_layou

Re: when final release 1.5.0?

2007-07-17 Thread Bo Peng
> 3404 This one is a real showstooper but there one or two other lyx2lyx bugs IIRC. I can not reproduce this in the current svn. I guess it has been fixed. Bo

Re: when final release 1.5.0?

2007-07-17 Thread Bo Peng
does anyone know about when the final release 1.5.0 is scheduled? It is supposed to be 'this week', after some remaining lyx2lyx problems are fixed. Right now, not all lyx-1.5.0 files can be converted to 1.4.x format, and vise versa. Cheers, Bo

Re: how to convert lyx1.3 to 1.5

2007-07-16 Thread Bo Peng
Lyx crash while try to open my document. After that i downgrade again to 1.5Beta3. Best regards Could you please send us a minimal lyx file that demonstrate the problem? That is to say, remove paragraphs in 1.3.x, save and open the file with 1.5.0rc2, and send us a small lyx file that crashes 1.

Re: algorithm document?

2007-07-10 Thread Bo Peng
Docs (including examples) are at http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/ if you're curious. Bo's suggestions resonate with me for code listings, but for mathematical statements of algorithms, I prefer algorithmicx. I have not used listings to write pseudocode, but I g

Re: algorithm document?

2007-07-10 Thread Bo Peng
Cool. Looking at listings.dvi (the original latex package doc), I see in that things like 'a <= b' were printed as 'a \le b'. Does listings do this automatically? (Doesn't seem be be doing that in my test)? Or, maybe this used mathescape? This is an advanced feature of listings called literat

Re: algorithm document?

2007-07-10 Thread Bo Peng
On 7/10/07, Neal Becker <[EMAIL PROTECTED]> wrote: What do you like for documenting an algorithm? I'm thinking of something like an itemize environment (displaying structure via indentation), but without bullets. verbatim or lyx-code environment, or preferably the newly introduced listings. Yo

Re: Bibtex

2007-07-02 Thread Bo Peng
I am trying to insert a bibtex file in lyx (im using v1.5.0 on linux)...everything seems fine except that in the pdf/dvi/ps files...there is no reference at the end and also, the citations in the text comes up as a question mark..how can I fix this? Could you please send in a minimal example fil

Re: 1.50rc2 Windoze: Aspell problems again (installer)

2007-06-28 Thread Bo Peng
InetLoad plug-in "Your internet connection seems to have dropped out! Please reconnect and clock Retry to resume downloading..." I soldiered through this error and the installation (apparently) completed successfully. This is related to the settings of ftp.lyx.org which displeases the InetLo

Re: lyx 1.5 problems - slowness, scrolling, listings

2007-06-22 Thread Bo Peng
I've experimented a bit and found out that: - listings package generally has problems with UTF-8 encoding, even without Lyx, but there's a workaround - UTF-8 works inside a Latex escape block, so if I set inputencoding=utf8 and escapechar=| and then write comments |like this|, there are no errors

Re: lyx 1.5 problems contd. - disappearing paragraphs

2007-06-20 Thread Bo Peng
On 6/20/07, Jakub Suder <[EMAIL PROTECTED]> wrote: I knew I forgot something... One more bug - sometimes when using Lyx 1.5 I see such phenomenon: the entire document becomes black, except the paragraph which is being edited, which is ok. I need to scroll the document up or down, then everything

Re: lyx 1.5 problems - slowness, scrolling, listings

2007-06-20 Thread Bo Peng
- I'd like to have a faster way of inserting listings and captions - right now there's no underlined letter in "Program listing" in the "Insert" menu, so I can't press "ALT+I [anykey]" and I have to look at the menu and look for the entry. It is not particularly easy but you can define a shortcu

Re: Cannot find a Tutorial for oding a beamer presentation

2007-06-20 Thread Bo Peng
I would like to write my first presentation on LyX, but since I am a dummy I will need a Tutorial. I looked for it in the manuals (and in the web) but I can't find any (but since I am a dummy I probably missed out on it) Is there a way to save my soul from falling back to powerpoint? You can hav

Re: Install spellchecker in LyX 1.4.4-4

2007-06-12 Thread Bo Peng
> A try to install but Lyx doesn´t detect aspell 0.6. Dictionaries are available here: http://wiki.lyx.org/Windows/Aspell6 Automatic dictionary downloading will be fixed in 1.4.4-5. Joost, I see two problems here: 1. lyx uses only one URL to download the dictionary. If ftp.lyx.org is down,

Re: Aspell and lyX

2007-06-10 Thread Bo Peng
I have done this things: 1. Install Aspell in c:\aspell 2. Instal english dictionary in c:\aspell 3. Instal lyX 1.4.4 But in the instalation lyX doesn´t find aspell and can´t download it for internet. This is a known problem and will be fixed in RC2. Bo

Re: 1.5.0rc1 spellchecker (Windoze)

2007-06-05 Thread Bo Peng
On 6/5/07, Jim Rockford <[EMAIL PROTECTED]> wrote: I have installed the 1.5 release candidate 1 on two Windows XP machines (one 32 bit and the other 64 bit). Each time, the installation gave me a message that it couldn't download the English spellchecker. Otherwise, the installation went smooth

Re: "view latex" in 1.5.0 orc1

2007-06-04 Thread Bo Peng
On 6/4/07, Jean Kaplan <[EMAIL PROTECTED]> wrote: By changing the name of the .lyx directory I got back all options of the "view" menu, except "view latex". This seem to be replaced by by "view source", but this is not equivalent because the window where the source appears is not searchable and

Re: RC1 -- more remarks 2

2007-06-02 Thread Bo Peng
1) When I switch from Lyx (maximized) to some other application and then return, only the actual paragrph is shown, the rest of the Document is covered by grey. As soon as I navigate now again in the document everything reappears. Not really important, only slightly annoying ;-) This is a well-k

Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bo Peng
On 6/1/07, Michael Anderson <[EMAIL PROTECTED]> wrote: how do you mean? Lyx uses a $HOME/.lyx to save all sorts of settings. Although I have never experienced your problem, it is possible that these old settings conflict with the new ones. You can mv .lyx .lyx1 and restart lyx and see what happ

Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bo Peng
On 6/1/07, Michael Anderson <[EMAIL PROTECTED]> wrote: An odd little thing happened when I started up the RC1. In addition to only having dvipdfm available for preview, I don't have a single menu or tool bar. The submenus for the toolbars are blank as are a number of other submenus. I'm runnin

Re: RC1 is great!

2007-06-01 Thread Bo Peng
1000 Thanks (Italians would say 'MILLE Grazie') for your great work on this wonderful peace of software. Thanks taken, but be warned to save your file often because it still crashes from time to time. Bo

Re: Speed of Lyx

2007-05-31 Thread Bo Peng
You are right - WinEdt only compiles it one time which is sufficient if there are only minor changes in the document. Is there any possibility of "short compile" in lyx, too? I guess not, because lyx does not know if your 'minor changes' involve index or citation changes so it plays safe by runn

Re: Speed of Lyx

2007-05-31 Thread Bo Peng
I have some problems with the speed of Lyx 1.5 (beta). Maybe it occurred after the installation of MikTex 2.6. A 10-page document takes approx. 35 sec. to compile and display with Yap. The same document in WinEdt takes only 9 sec. on my notebook. Is this normal, or may there be something wrong in

Re: beta 3 and lyx2lyx

2007-05-30 Thread Bo Peng
What is RC2, RC1? Lyx 1.5.0 is now at beta3 testing stage. The next testing release will be called release candidate 1 (RC1), which is planned to be released soon (this weekend?). There will likely to be a RC2 release before 1.5.0 is officially released. Cheers, Bo

Re: beta 3 and lyx2lyx

2007-05-30 Thread Bo Peng
With this command I can run lyx2lyx but I get several errors and I can´t get a file correctly exported. I get this message: UnicodeEncodeError: "latin-1" codec can´t encode character u"\u0301" in position 0: ordinal not in range(256) I also see this with a few other files and I will work on

Re: Algorithm listing

2007-05-30 Thread Bo Peng
On 5/30/07, Graham Griffiths <[EMAIL PROTECTED]> wrote: Is there a way of getting code listings to continue onto another page using float algorithm. If not, does the latest beta version support a multi-page float algorithm. You can use the new listings inset (and child document) in lyx 1.5.0be

Re: beta 3 and lyx2lyx

2007-05-30 Thread Bo Peng
I am sure that is python -tt "usr/local/share/lyx-1.5.0b3/lyx2lyx/l without " at the end, but may be 1 o l the final Then, can you manually convert your file? I mean, under a command prompt, run python -tt /usr/local/share/lyx-1.5.0b3/lyx2lyx/lyx2lyx -t 221 yourfile.lyx > newfile.lyx Bo

Re: beta 3 and lyx2lyx

2007-05-30 Thread Bo Peng
opensuse 10.2, kde 3.5, the file is big file (300.000 words) in koma script style Marcelo There are some known problems with back conversion, but your problem seems to be with how lyx2lyx is called. Are you sure the error message is python -tt "usr/local/share/lyx-1.5.0b3/lyx2lyx/l" not pyt

Re: beta 3 and lyx2lyx

2007-05-30 Thread Bo Peng
On 5/30/07, Marcelo Acuña <[EMAIL PROTECTED]> wrote: Hello, I want to export an example in beta 3 format to 1.4.x or 1.3.x format. When I make an export I get an error: An eror ocurred whiist running phthon -tt "usr/local/share/lyx-1.5.0b3/lyx2lyx/l Is this a know bug? No. Please give us

Re: lyx pictures

2007-05-29 Thread Bo Peng
Let me point out, though, that on Windows quality would *not* be an issue. The native clipboard format is GDI metafile, which in fact is a vector format. The system does an on-the-fly conversion to a bitmap format only if the requesting application (the one you paste into) does not understand the

Re: lyx-1.5 beta3 bug

2007-05-25 Thread Bo Peng
There is at least one annoying bug, however, which is always triggered whenever I try to select text in the down-up direction. LyX crashes with I noticed this problem with beta 3 but not with the current svn. Abdel's recent work on cursor movement may have fixed this. Because RC1 is going to be

Re: lyx pictures

2007-05-25 Thread Bo Peng
I would like to know, is there a way to paste pictures into lyx directly from clipboard - lyx could automatically create a subfolder containing pasted pictures. This would improve my speed drastically when working with pictures! It is not possible now, and I doubt that this would be a good featu

Re: Using listings package with beamer.

2007-05-19 Thread Bo Peng
> You can also try to define an optional argument for Frame in the layout. We > should do this anyway. Simple replacement of plain with fragile does not seem to work. Style BeginFragileFrame KeepEmpty 1 LatexType Command LatexName lyxframeend{}\lyxfragileframe Margin

Re: Using listings package with beamer.

2007-05-19 Thread Bo Peng
On 5/19/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: Bo Peng wrote: > [fragile] > > Nothing works. See attached. [fragile] should work, theoretically. No. It does not. :-( You can also try to define an optional argument for Frame in the layout. We should do this any

Re: Using listings package with beamer.

2007-05-19 Thread Bo Peng
"You can pass options and an overlay specification to a frame by giving these in TEX-mode as the first thing in the frame title. (Some magic is performed to extract them in LYX-mode from there.)" I tried <[fragile]> [] [fragile] Nothing works. See attached. Bo beamer-listings.lyx Descriptio

Using listings package with beamer.

2007-05-18 Thread Bo Peng
Dear all, I am trying to use listings with beamer, I learned that 1. beamer 3.07 is required. 2. listings can not be float (understandable) 3. the option fragile after \begin{frame} is necessary. How would I insert this [fragile] option in lyx? Bo

Re: Why Lyx->Word?

2007-05-15 Thread Bo Peng
Personally, I'd recommend everyone on this list read "TeX for the Impatient", available here: http://www.ctan.org/tex-archive/info/impatient/book.pdf A 391 page long book for 'the impatient'? :-) Bo

Re: only every second line is used in listings

2007-05-14 Thread Bo Peng
I use ERT in Lyx 1.3.7. I do not have 1.3.7 to test right now but AFAIK, ERT in 1.3.7 output par1 par2 as par1 par2 so you will have to use Ctrl-Enter (\newline) to enter paragraphs if you want output par1 par2 Any, lyx 1.5.0 is not far away from being released so you may want to try the

Re: only every second line is used in listings

2007-05-14 Thread Bo Peng
On 5/14/07, Christopher Eckert <[EMAIL PROTECTED]> wrote: Hello, I've got a problem with the listings package. When I insert code from a file like this: Do you use ERT in lyx.1.4 or the listings inset in lyx 1.5.0 svn? Bo

Re: Import ascii file and preserve formating

2007-05-11 Thread Bo Peng
On 5/11/07, Gregor Skrt <[EMAIL PROTECTED]> wrote: I have problems importing ascii file from file. I have to preserve original formatting for this file. I've created a PNG picture for first file I need to include but I'm afraid this can't be done for the file I have to include today it is just to

Re: Problems in defining a listings environment

2007-05-01 Thread Bo Peng
My problem is that Line1 Line2 appears in latex as \begin{lstlisting} Line1 Line2 \end{lstlisting} There are other problems like _ is translated to \_ ... Bo

Problems in defining a listings environment

2007-05-01 Thread Bo Peng
Dear list, I am trying to add a lstlisting environment to my layout file (using listings package) and arrive at the following: Style Listings Margin Static LatexType Environment LatexName lstlisting NextNoIndent 1 LeftMargin MMM Right

Re: Can .layout file go with my .lyx file?

2007-04-02 Thread Bo Peng
Yes it can. I do exactly that all the time. Here's how I do it, assuming your directory layout: ln -s /home/myself/mydoc/myreport.layout /home/myself/.lyx/layouts/myreport.layout With 1.5.x, one can *open* a .lyx fle with local .layout and .cls files (the same directory as .lyx). If you need

Re: What LFUN to create 2x1 matrix shortcut?

2007-03-16 Thread Bo Peng
On 3/16/07, Gunnar Lindholm <[EMAIL PROTECTED]> wrote: Hello I wish to create a keyboard shortcut for inserting 2x1 matrix (when I'm inside a math enivornment), what should I write in the bind file for this? There are some examples in http://wiki.lyx.org/uploads/LyX/keyboardShortcuts/bpeng/pers

Re: Complaints regarding keyboard shortcuts?

2007-02-26 Thread Bo Peng
Yes, clearer. Although I'm uncertain the difficulty is in reconfiguring the keyboard shortcuts. Something that might be good though is a combined way of illustrating the currently available shortcuts with a method for redefining them. There are many such dialogs in different applications. Attach

Re: Complaints regarding keyboard shortcuts?

2007-02-26 Thread Bo Peng
In agreement with you. Agreed. What we need is a short-cut dialog. Bo

Re: Problems with LyX 1.5.0

2007-02-23 Thread Bo Peng
When i start LyX not only LyX opens, but also a DOS-Window, which stays there. It says: Lyx: Disabling LyX socket. There is another official windows installer that does not have this problem. The two installers will be merged when 1.5.0 is released. Bo

Re: Network Installation Package for silent install

2007-02-22 Thread Bo Peng
are there any tips hwo to use the lyx-144-2-bundle.exe for silent installs under windows and how to specify wich language variant and programm parts to install? The official lyx installer can install silently with /S option, but no bundled application can be installed this way. (Because installe

  1   2   3   4   5   >