LFUN: self-insert a space?

2012-04-18 Thread Xu Wang
I can't seem to self-insert a space. I'm sure I could come up with a hack
for entering a letter and a space and a letter and then using char-backward
to delete the two letters, but I'm guessing there's an easier way.

Thank you for the help, Xu


Re: ERT text size

2012-04-04 Thread Xu Wang
Thank you very much Richard.

On Wed, Apr 4, 2012 at 9:36 PM, Richard Heck  wrote:

> On 4/4/12 9:18 PM, Xu Wang wrote:
>
>> I often have lots of code inside ERT, for example in knitr code. How can
>> I do to make the font size small in the ERT. I know I can ctrl+ zoom out to
>> make everything small but I would like to make only ERT small. Any ideas?
>>
>>  In your local layout, something like:
>
> Format 31
>
> InsetLayout ERT
>Font
>Size Small
>EndFont
> End
>
> Not tested.
>
> rh
>
>


ERT text size

2012-04-04 Thread Xu Wang
I often have lots of code inside ERT, for example in knitr code. How can I
do to make the font size small in the ERT. I know I can ctrl+ zoom out to
make everything small but I would like to make only ERT small. Any ideas?


Re: Examples of integration between Lyx, Sage computations, and PDFLateX

2012-03-31 Thread Xu Wang
Dear Thomas

Excellent news! Thank you for your continued work. I have not taken a fine
look at this yet, but I also use Ubuntu so it looks like it might be useful.

I'm not sure but I think for your contributions to be used you have to give
permission explicitly. Look at this email:

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg161963.html
You can send something like that to the development list, lyx-devel

And it could be a good idea for Murat to do the same.

I'm not sure though.

In any case, thank you for your continued work. I am appreciative. Xu


On Sat, Mar 31, 2012 at 3:08 AM, Thomas Coffee wrote:

> Hi Murat and Xu,
>
> I found your thread in the archives and did some further work on the
> LyX-SageTeX module that Murat posted previously.
>
> I fixed a few things that did not work for me in the version described
> earlier, and expanded the module specification to provide some
> additional conveniences for including literate Sage code in LyX
> documents. There's still much room for development and customization.
>
> The attachments comprise a set of files and a shell script "setup.sh"
> that should largely automate the configuration process on GNU/Linux
> systems.
>
> *** Help needed:
>
> For other interested users, I'd like to upload this to
> http://wiki.lyx.org/Layouts/Modules, but I get browser errors for
> links anywhere under the upload path wiki.lyx.org/ipfm. The page
> http://wiki.lyx.org/Site/AboutUploading also tells me I will need
> someone to tell me the upload password. Can anyone assist?
>
> Thanks,
>  Thomas
>
>
> > Hi Xu,
> >
> > Thank you for your appreciation. I cannot advance anymore without any
> help
> > from Lyx gurus.
> > I think I have extracted all the information I can from the help docs.
> If I
> > get any answer to my questions, I can construct a little bit smarter
> module
> > but the one we have now is already usable. With some supplementary tricks
> > from the sagetex documentation and through manual executions of the
> > latex-sage-latex chain, it is possible to make a lot of computations.
> >
> > I was also very agreeably surprised that this module can be used for
> > conversion to HTML from LyX, with figures and all.
> >
> > I attach to this message the module in its actual stage and some
> > instruction for making the conversion chain functional. I hope this would
> > already help some of you.
> >
> > As soon as I have more information, I will try to complete the module
> file.
> >
> > Best regards,
> >
> > Murat
> >
> > 2011/10/31 Xu Wang 
> >
> > > Dear Murat,
> > >
> > > This is great! I have been waiting for something like this for a long
> > > time. I also like the Sweave-like philosophy of this. It's more
> transparent
> > > and reproducible.
> > >
> > > I am looking forward to the final release with much excitement.
> > >
> > > Thank you for your work!
> > >
> > > Best,
> > >
> > > Xu
> > >
> > >
> > > On Mon, Oct 31, 2011 at 12:54 PM, Murat Yildizoglu  >wrote:
> > >
> > >> Just another mail to correct a problem with the preceding Lyx file
> (see
> > >> the new file attached, and the $ signs in ERT boxes, this is
> connected with
> > >> the problem I describe below) and ask a question about insets again:
> > >>
> > >> What kind of Flex insets can be included in a math mode text? Is this
> > >> possible at all? Especially in displayed equation where one would
> like to
> > >> include results from SAge computations?
> > >> I cannot write the following in math mode in Lyx, putting the left
> member
> > >> in a displayed equation and the right member in a sagecode inset that
> would
> > >> be converted to the expression I give
>  (\sage{integral(x/(x^2+1),x,0,1))
> > >>\dfrac{\partial^{4}y}{\partial
> > >> x^{4}}=\sage{integral(x/(x^2+1),x,0,1)}
> > >>
> > >> I meet two problems:
> > >> 1/ I cannot insert a Flex:sagecommand inset in a displayed equation,
> Lyx
> > >> just goes to the next line before inserting it...
> > >> 2/ I cannot type the sagetex instruction (*sage{}  ) by hand, because
> > >>  "x^2" in the right member must not be interpreted by LyX, since Sage
> will
> > >> need it for its computation.
> > >>
> > >> I can of course type everything in an ERT, but this cannot be called
> > >> "integration" 

Re: Import into LyX

2012-02-01 Thread Xu Wang
Hey Rob, that sounds like quite a nice project you have in mind!

My two cents: it's not worth carrying it out if you can't get the math to
import somewhat well. That seems to be the biggest problem with most ways
of converting doc to lyx. I understand it's very difficult, but I think
it's also the most important.

I don't mean to discourage you, just my two cents. I don't think importing
track changes is important at all (they should be able to go through the
changes in word and get rid of them). And I don't think round-tripping is
important. Of course, if you could pull these features off they would be
nice additions.

I looked at the google code project and it looks like it's still under
development. Is that correct? It would be nice to choose a library that is
still being actively developed.

Good luck with it all and thanks for your effort on this. I think in the
end it would indeed help a lot of would-be LyXers or already-LyXers but
need to collaborate with a Word-er.

Xu

On Wed, Feb 1, 2012 at 2:59 PM, Rob Oakes  wrote:

>  Dear Users and Developers,
>
> Some time ago, I was experimenting with importing documents into LyX
> (specifically about how to crack the import MS Word to LyX nut). In the
> process, I got really excited about using OpenOffice to convert the word
> document to HTML, running tidy on the HTML and then importing that way.
> (The original blog article about this can be found at
> http://blog.oak-tree.us/index.php/2010/05/14/msword-lyx-import.)
>
> Since I'm (re)writing a book chapter about this topic, I thought that I
> would look at alternative strategies for importing Word (and other file
> formats) into LyX. While doing research, I came across a (potentially) much
> better solution.
>
> Somewhat recently (in 2010), a group of Python libraries were written that
> handle document conversions. They are part of the epub-tools library (
> http://code.google.com/p/epub-tools/). (I've been experimenting with ePub
> document creation from LyX, which is how I found them.)
>
> One of the tools in the library is able to parse Microsoft word documents
> and convert them to XHTML in preparation for generating an ePub file. I
> think that the tool can be adapted for directly converting Word docs to
> LyX. Not to LaTeX and then to LyX, but *directly to LyX*.
>
> I'm putting together a library to experiment with direct conversions (this
> is ostensibly being done for the never-ending book project, but will be
> released as open code), but before getting too deep into development, I
> wanted to poll:
>
>1. Is this a tool that would prove useful to yourselves, your
>collaborators, and others?
>2. What features would you consider essential?
>
>(Right now, styles based conversion looks pretty easy -- going from
>Heading 1 in Word to Chapter, for example. But I'm not sure how well it
>would convert maths. This is something I'll still need to look at, and may
>require writing an additional module.)
>
> 3. What is the best tool to look at for guidance in creating a new
>script for word2lyx? tex2lyx?
>4. Does the script need to support special cases, such as importing
>Word "track changes"?
>5. Just how important do you consider "round-tripping" a document,
>e.g., going from LyX to Word and back to LyX.
>6. Is there anyone who might be interested in collaborating on this?
>
> Any thoughts would be greatly appreciated.
>
> Cheers,
>
> Rob Oakes
>


Re: utf8 and dingbats

2011-12-22 Thread Xu Wang
On Thu, Dec 22, 2011 at 9:57 AM, Peter Baumgartner <
peter.baumgart...@donau-uni.ac.at> wrote:

> Hello,
>
> I'm using language naustrian with unicode (utf8) to include
> biblatex-entries
> (backend=bibtex8) with German umlauts. So far so good.
>
> But now I wanted to add special characters into my text from the dingbats
> category. I got error messages of the following type:
>
> ! Package inputenc Error: Unicode char \u8:① not set up for use with LaTeX.
>
> What is wrong?
>
> Peter
>
>
>
> Does using LuaTeX or XeTeX solve the problem? Just go to export and then
one of those. I think they handle unicode better.

Xu


Re: Compose key again

2011-12-16 Thread Xu Wang
On Thu, Dec 15, 2011 at 11:53 PM, Daniel Lundsgaard Skovenborg

> It seems that qtconfig is broken (at least on my system). The
> environment variable QT_IM_MODULE (which I was unaware of) was still
> set to "xim".
> Added:
> export QT_IM_MODULE=ibus
> to ~/.profile, and everything was fine again.
>
> - Daniel
>

Hey Daniel,

If you think there is a bug, maybe you should file a bug report. If you do,
post the link here.

Xu


Re: Shortcut for outline pane toggle?

2011-12-14 Thread Xu Wang
On Wed, Dec 14, 2011 at 2:50 PM, Joon Ro  wrote:

> Hi,
>
> Is there a shortcut for outline pane toggle? I want to map F4 to that
> functionality but I have not been able to find the appropriate function.
>
> Thank you,
> Joon
>

Hi Joon,

Try the following function:
dialog-toggle toc


Re: Circumflex

2011-12-12 Thread Xu Wang
On Mon, Dec 12, 2011 at 3:33 PM, Bruce Pourciau <
bruce.h.pourc...@lawrence.edu> wrote:

>
> On Dec 12, 2011, at 10:25 AM, Guenter Milde wrote:
>
>  On 2011-12-12, Bruce Pourciau wrote:
>>
>>> OK, I'm sure this must be a silly question, but why, when I enter in
>>> ERT \ˆ{e}, to get a circumflex over the e, does my document stop being
>>> viewable?
>>>
>>
>> If the character you used in LyX is the same as here:
>>
>> Character 'ˆ' (710, 0x2C6)
>> 02C6MODIFIER LETTER CIRCUMFLEX ACCENT
>>
>> it is because it is not the ASCII-circumflex
>>
>> Character '^' (94, 0x5E)
>> 005ECIRCUMFLEX ACCENT
>>
>> and hence an unknown command.
>>
>> Günter
>>
>>
>>
> Thank you, Günter. That's the problem. I formed the circumflex by doing
> option-i on a Mac keyboard, and this apparently produces character (710,
> 0x2C6), according to
>
> http://homepage.mac.com/**nellisks/tools/char_val.html?**c=ˆ
>
> Bruce


Out of curiosity, does compiling with LuaTeX or XeTeX (instead of pdflatex)
allow you to use the other circumflex?

Xu


Re: Re: Re: Re: Help needed

2011-12-09 Thread Xu Wang
Luca, I have no idea. I use linux and I've not had any font problems with a
full installation of texlive. I would suggest following Paul Rubin's advice.

Xu

On Thu, Dec 8, 2011 at 10:11 PM, marcoseren...@libero.it <
marcoseren...@libero.it> wrote:

> Hi Xu,
>
>
>
> could you please tell me how to install the entire package of fonts (at
> least those commonly used in scientific papers) ?
>
>
>
> This process is a little bit tricky to me...
>
>
>
> Thanks for the help.
>
>
>
> Luca
>
> Messaggio originale
> Da: xuwang...@gmail.com
> Data: 8-dic-2011 21.29
>
> A: "marcoseren...@libero.it"
> Cc: 
> Ogg: Re: Re: Re: Help needed
>
>
> Marco,
>
> The problem seems to be you're missing a font. Either install the font or
> change it. You might have to export to latex (file>export>latex(pdflatex))
> and look at the latex code to see where the file is trying to use that font.
>
> Xu
>
> On Thu, Dec 8, 2011 at 7:01 AM, marcoseren...@libero.it <
> marcoseren...@libero.it> wrote:
>
>> Hi Xu,
>>
>>
>> Can you compile other documents in lyx?
>>
>> Can you please post/copy the entire log so we can see the error messages?
>>
>>
>>
>> Answers:
>>
>>
>>
>> - Yes, i can compile. if i create a simple new document (file\new) and
>> then click on the icon view pdf, then it works.
>>
>>
>>
>> - On the contrary, when I open a slightly more sophisticated document
>> with math formulas (note that this document has been created in lyx by a
>> friend of mine), and click on the icon view pdf, the it doesn't work. And
>> it appears a new window with several lines of errors and the related
>> descriptions. I will try to summarize the main errors (they are repeated
>> for a large number of times):
>>
>>
>>
>> *- Error:*
>>
>>  FONT OML/zplm/m/it/12=zplmr7m at 12.0pt not loadable: Metric (TFM) file
>> not found
>>
>> -* Description: *
>>
>> [Rudin 3.5]
>>
>> For any two real sequences $\{a_{n}\}$, $\{b_{n}\}$,
>>
>> I wasn't able to read the size data for this font,
>>
>> so I will ignore the font specification.
>>
>> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>>
>> You might try inserting a different font spec;
>>
>> e.g., type `I\font='.
>>
>>
>>
>>
>>
>> *- Error*
>>
>> Math formula deleted: Insufficient symbol fonts
>>
>>
>>
>> *- Description*
>>
>> \]
>>
>>
>>
>> Sorry, but I can't typeset math unless \textfont 2
>>
>> and \scriptfont 2 and \scriptscriptfont 2 have all
>>
>> the \fontdimen values needed in math symbol fonts.
>>
>>
>>
>> *- Description*
>>
>> **
>>
>> ...e right is not of the form $\infty-\infty$
>>
>> . \end{problem}
>>
>> Sorry, but I can't typeset math unless \textfont 2
>>
>> and \scriptfont 2 and \scriptscriptfont 2 have all
>>
>> the \fontdimen values needed in math symbol fonts.
>>
>>
>>
>>
>>
>> Any suggestions?
>>
>>
>>
>> Let me know if you need additional information.
>>
>>
>>
>> Thanks again.
>>
>>
>>
>> Best,
>>
>> Marco
>>
>>
>>
>>
>>
>> Messaggio originale
>> Da: xuwang...@gmail.com
>> Data: 8-dic-2011 7.07
>> A: "marcoseren...@libero.it", <
>> lyx-users@lists.lyx.org>
>> Ogg: Re: Re: Help needed
>>
>> Hi Marco,
>>
>>
>> Please respond to the list.
>>
>> Can you compile other documents in lyx?
>>
>> OK, so when you remove that part, it still doesn't work. Can you please
>> post/copy the entire log so we can see the error messages?
>>
>> LyX on cd-rom would not help you any differently.
>>
>> Xu
>>
>> On Wed, Dec 7, 2011 at 9:03 PM, marcoseren...@libero.it <
>> marcoseren...@libero.it> wrote:
>>
>>> Hi Xu,
>>>
>>>
>>>
>>> Thanks for the email!
>>>
>>>
>>>
>>> my version of lyx is 2.0. Using texniccenter i have no issue in
>>> compiling my documents to pdf with miktex...
>>>
>>>
>>>
>>> My operating system is windows...my computer is new...
>>>
>>>
>>>
>>> I tried to follow your suggestion but it still does not work...I have to
>>> say that i am not an expert in these kind of stuffs but the issue might
>>> also be related with the italian version...
>>>
>>>
>>>
>>> do you have any other suggestions? even if lyx is open source, do you
>>> know if there is a way to get  lyx in cd-rom (I am willing to pay for this)
>>> ?
>>>
>>> Thanks again,
>>>
>>> Best,
>>>
>>> Marco
>>>
>>>
>>>
>>>
>>>
>>> Messaggio originale
>>> Da: xuwang...@gmail.com
>>> Data: 7-dic-2011 5.28
>>> A: "marcoseren...@libero.it"
>>> Cc: 
>>> Ogg: Re: Help needed
>>>
>>>
>>> Hi Marco,
>>>
>>> So you can compile other documents to pdf (ie, your installation of
>>> miktex and lyx were successful)?). Did you import your tex file into
>>> LyX? On which system was your document compilable? What is your operating
>>> system and version of LyX? These are all questions that you should have
>>> answered in your original email.
>>>
>>> It looks like you have a font problem. Have you tried changing the font?
>>> Assuming the problem is where the error suggests, try changing the font
>>> there. In math mode, to change font, click on the math toolbar (usually at
>>> the bottom) on the button that looks like a 2x2 matrix of 

Re: Re: Re: Help needed

2011-12-08 Thread Xu Wang
Marco,

The problem seems to be you're missing a font. Either install the font or
change it. You might have to export to latex (file>export>latex(pdflatex))
and look at the latex code to see where the file is trying to use that font.

Xu

On Thu, Dec 8, 2011 at 7:01 AM, marcoseren...@libero.it <
marcoseren...@libero.it> wrote:

> Hi Xu,
>
>
> Can you compile other documents in lyx?
>
> Can you please post/copy the entire log so we can see the error messages?
>
>
>
> Answers:
>
>
>
> - Yes, i can compile. if i create a simple new document (file\new) and
> then click on the icon view pdf, then it works.
>
>
>
> - On the contrary, when I open a slightly more sophisticated document with
> math formulas (note that this document has been created in lyx by a friend
> of mine), and click on the icon view pdf, the it doesn't work. And it
> appears a new window with several lines of errors and the related
> descriptions. I will try to summarize the main errors (they are repeated
> for a large number of times):
>
>
>
> *- Error:*
>
>  FONT OML/zplm/m/it/12=zplmr7m at 12.0pt not loadable: Metric (TFM) file
> not found
>
> -* Description: *
>
> [Rudin 3.5]
>
> For any two real sequences $\{a_{n}\}$, $\{b_{n}\}$,
>
> I wasn't able to read the size data for this font,
>
> so I will ignore the font specification.
>
> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>
> You might try inserting a different font spec;
>
> e.g., type `I\font='.
>
>
>
>
>
> *- Error*
>
> Math formula deleted: Insufficient symbol fonts
>
>
>
> *- Description*
>
> \]
>
>
>
> Sorry, but I can't typeset math unless \textfont 2
>
> and \scriptfont 2 and \scriptscriptfont 2 have all
>
> the \fontdimen values needed in math symbol fonts.
>
>
>
> *- Description*
>
> **
>
> ...e right is not of the form $\infty-\infty$
>
> . \end{problem}
>
> Sorry, but I can't typeset math unless \textfont 2
>
> and \scriptfont 2 and \scriptscriptfont 2 have all
>
> the \fontdimen values needed in math symbol fonts.
>
>
>
>
>
> Any suggestions?
>
>
>
> Let me know if you need additional information.
>
>
>
> Thanks again.
>
>
>
> Best,
>
> Marco
>
>
>
>
>
> Messaggio originale
> Da: xuwang...@gmail.com
> Data: 8-dic-2011 7.07
> A: "marcoseren...@libero.it", <
> lyx-users@lists.lyx.org>
> Ogg: Re: Re: Help needed
>
> Hi Marco,
>
>
> Please respond to the list.
>
> Can you compile other documents in lyx?
>
> OK, so when you remove that part, it still doesn't work. Can you please
> post/copy the entire log so we can see the error messages?
>
> LyX on cd-rom would not help you any differently.
>
> Xu
>
> On Wed, Dec 7, 2011 at 9:03 PM, marcoseren...@libero.it <
> marcoseren...@libero.it> wrote:
>
>> Hi Xu,
>>
>>
>>
>> Thanks for the email!
>>
>>
>>
>> my version of lyx is 2.0. Using texniccenter i have no issue in compiling
>> my documents to pdf with miktex...
>>
>>
>>
>> My operating system is windows...my computer is new...
>>
>>
>>
>> I tried to follow your suggestion but it still does not work...I have to
>> say that i am not an expert in these kind of stuffs but the issue might
>> also be related with the italian version...
>>
>>
>>
>> do you have any other suggestions? even if lyx is open source, do you
>> know if there is a way to get  lyx in cd-rom (I am willing to pay for this)
>> ?
>>
>> Thanks again,
>>
>> Best,
>>
>> Marco
>>
>>
>>
>>
>>
>> Messaggio originale
>> Da: xuwang...@gmail.com
>> Data: 7-dic-2011 5.28
>> A: "marcoseren...@libero.it"
>> Cc: 
>> Ogg: Re: Help needed
>>
>>
>> Hi Marco,
>>
>> So you can compile other documents to pdf (ie, your installation of
>> miktex and lyx were successful)?). Did you import your tex file into
>> LyX? On which system was your document compilable? What is your operating
>> system and version of LyX? These are all questions that you should have
>> answered in your original email.
>>
>> It looks like you have a font problem. Have you tried changing the font?
>> Assuming the problem is where the error suggests, try changing the font
>> there. In math mode, to change font, click on the math toolbar (usually at
>> the bottom) on the button that looks like a 2x2 matrix of A's.
>>
>> Does the document compile fine if you take out that line?
>>
>> Xu
>>
>>
>>  On Tue, Dec 6, 2011 at 10:06 PM, marcoseren...@libero.it <
>> marcoseren...@libero.it> wrote:
>>
>>> Hi all,
>>>
>>> I downloaded lyx and miktek but i am not able to create a .pdf of my
>>> document.
>>> The following error message pops up:
>>>
>>> font OML/zplm/m/it/12=zplmr7m at 12.0pt not loadable:Metric(TFM) file
>>> not f
>>> font OML/zplm/m/it/9=zplmr7m at 9.0pt not loadable:Metric(TFM) file not f
>>> font OML/zplm/m/it/7=zplmr7m at 7.0pt not loadable:Metric(TFM) file not f
>>>
>>>  [Rudin 3.5]
>>> For any two real sequences $\{a_{n}\}$, $\{b_{n}\}$,
>>> I wasn't able to read the size data for this font,
>>> so I will ignore the font specification.
>>> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>>> You might try inserting a dif

regex language -- standard POSIX?

2011-12-08 Thread Xu Wang
What regex language/processor is used? It is not stated in the user guide
which commands I can enter. Judging from the example in the user guide, I'm
guessing that it's POSIX?

Thanks,

Xu


Re: Re: Help needed

2011-12-07 Thread Xu Wang
Hi Marco,

Please respond to the list.

Can you compile other documents in lyx?

OK, so when you remove that part, it still doesn't work. Can you please
post/copy the entire log so we can see the error messages?

LyX on cd-rom would not help you any differently.

Xu

On Wed, Dec 7, 2011 at 9:03 PM, marcoseren...@libero.it <
marcoseren...@libero.it> wrote:

> Hi Xu,
>
>
>
> Thanks for the email!
>
>
>
> my version of lyx is 2.0. Using texniccenter i have no issue in compiling
> my documents to pdf with miktex...
>
>
>
> My operating system is windows...my computer is new...
>
>
>
> I tried to follow your suggestion but it still does not work...I have to
> say that i am not an expert in these kind of stuffs but the issue might
> also be related with the italian version...
>
>
>
> do you have any other suggestions? even if lyx is open source, do you know
> if there is a way to get  lyx in cd-rom (I am willing to pay for this) ?
>
> Thanks again,
>
> Best,
>
> Marco
>
>
>
>
>
> Messaggio originale
> Da: xuwang...@gmail.com
> Data: 7-dic-2011 5.28
> A: "marcoseren...@libero.it"
> Cc: 
> Ogg: Re: Help needed
>
>
> Hi Marco,
>
> So you can compile other documents to pdf (ie, your installation of miktex
> and lyx were successful)?). Did you import your tex file into LyX? On which
> system was your document compilable? What is your operating system and
> version of LyX? These are all questions that you should have answered in
> your original email.
>
> It looks like you have a font problem. Have you tried changing the font?
> Assuming the problem is where the error suggests, try changing the font
> there. In math mode, to change font, click on the math toolbar (usually at
> the bottom) on the button that looks like a 2x2 matrix of A's.
>
> Does the document compile fine if you take out that line?
>
> Xu
>
>
>  On Tue, Dec 6, 2011 at 10:06 PM, marcoseren...@libero.it <
> marcoseren...@libero.it> wrote:
>
>> Hi all,
>>
>> I downloaded lyx and miktek but i am not able to create a .pdf of my
>> document.
>> The following error message pops up:
>>
>> font OML/zplm/m/it/12=zplmr7m at 12.0pt not loadable:Metric(TFM) file not
>> f
>> font OML/zplm/m/it/9=zplmr7m at 9.0pt not loadable:Metric(TFM) file not f
>> font OML/zplm/m/it/7=zplmr7m at 7.0pt not loadable:Metric(TFM) file not f
>>
>>  [Rudin 3.5]
>> For any two real sequences $\{a_{n}\}$, $\{b_{n}\}$,
>> I wasn't able to read the size data for this font,
>> so I will ignore the font specification.
>> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>> You might try inserting a different font spec;
>> e.g., type `I\font='.
>>
>>
>> Anybody can help me?
>>
>> Thanks in advance.
>>
>> Best,
>> Marco
>>
>
>
>
>


Re: Help needed

2011-12-06 Thread Xu Wang
Hi Marco,

So you can compile other documents to pdf (ie, your installation of miktex
and lyx were successful)?). Did you import your tex file into LyX? On which
system was your document compilable? What is your operating system and
version of LyX? These are all questions that you should have answered in
your original email.

It looks like you have a font problem. Have you tried changing the font?
Assuming the problem is where the error suggests, try changing the font
there. In math mode, to change font, click on the math toolbar (usually at
the bottom) on the button that looks like a 2x2 matrix of A's.

Does the document compile fine if you take out that line?

Xu


On Tue, Dec 6, 2011 at 10:06 PM, marcoseren...@libero.it <
marcoseren...@libero.it> wrote:

> Hi all,
>
> I downloaded lyx and miktek but i am not able to create a .pdf of my
> document.
> The following error message pops up:
>
> font OML/zplm/m/it/12=zplmr7m at 12.0pt not loadable:Metric(TFM) file not f
> font OML/zplm/m/it/9=zplmr7m at 9.0pt not loadable:Metric(TFM) file not f
> font OML/zplm/m/it/7=zplmr7m at 7.0pt not loadable:Metric(TFM) file not f
>
>  [Rudin 3.5]
> For any two real sequences $\{a_{n}\}$, $\{b_{n}\}$,
> I wasn't able to read the size data for this font,
> so I will ignore the font specification.
> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
> You might try inserting a different font spec;
> e.g., type `I\font='.
>
>
> Anybody can help me?
>
> Thanks in advance.
>
> Best,
> Marco
>


Re: "shortcut" inset?

2011-12-06 Thread Xu Wang
Makes sense. Thanks for confirming and explaining. Xu

On Tue, Dec 6, 2011 at 5:29 AM, Pavel Sanda  wrote:

> Xu Wang wrote:
> > Liviu, that's exactly it. Thanks for bearing with me. I did a search
> > in stdmenus.inc for info-insert. Am I correct that it is not available in
> > the menu?
>
> yes, inset-info is thought to be more or less for developers.
> pavel
>


Re: "shortcut" inset?

2011-12-05 Thread Xu Wang
Liviu, that's exactly it. Thanks for bearing with me. I did a search
in stdmenus.inc for info-insert. Am I correct that it is not available in
the menu?

On Mon, Dec 5, 2011 at 4:37 PM, Liviu Andronic wrote:

> On Mon, Dec 5, 2011 at 10:20 PM, Xu Wang  wrote:
> > Liviu,
> >
> > That's very interesting! Unless I misunderstood your directions, you
> > answered a different, but more interesting question than what I
> originally
> > was after with my question.
> >
> Yes, I realized after hitting send. Try searching 'info' in the same
> menu. I think 'ctrl+shift+i' does what you want.
>
> Liviu
>
>
> > Thank you for that.
> >
> > What I was originally (and still) interested in is: suppose I delete the
> > "shortcut Alt+A I" part of the User Guide that I posted. How do I put it
> > back in? (and no, performing an "Undo" is not a fair answer :) ). Note
> that
> > "shortcut Alt+A I" is not entered in normal text. It's not even editable
> > text. I think it is an inset. Is that correct?
> >
> > Sorry for being unclear,
> >
> > Xu
> >
> > On Mon, Dec 5, 2011 at 3:49 PM, Liviu Andronic 
> > wrote:
> >>
> >> On Mon, Dec 5, 2011 at 9:31 PM, Xu Wang  wrote:
> >> > Hi, how can I enter a shortcut information type? Where is this covered
> >> > in
> >> > the manuals?
> >> >
> >> > For example, in the User Guide, it is written "change the state of the
> >> > current paragraph (shortcut Alt+A I)" in 3.2.3 Fine-Tuning
> >> >
> >> >
> >> > The latex code for the last part is written as
> >> >
> >> >  \shortcut{Alt+A I}
> >> >
> >> Try searching 'alt+a i' in Prefs > Edit > Shorcuts. Then armed with
> >> this inspect the stdmenus.inc.
> >>
> >> Liviu
> >>
> >>
> >> >
> >> > When I right-click on the shortcut and go to "settings" it doesn't
> give
> >> > me a
> >> > clue of how to reproduce it.
> >> >
> >> >
> >> > I tried googling "LyX information type" but that didn't give anything
> >> > useful.
> >> >
> >> >
> >> > Thank you,
> >> >
> >> >
> >> > Xu
> >>
> >>
> >>
> >> --
> >> Do you know how to read?
> >> http://www.alienetworks.com/srtest.cfm
> >> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> >> Do you know how to write?
> >> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
> >
> >
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>


Re: "shortcut" inset?

2011-12-05 Thread Xu Wang
Liviu,

That's very interesting! Unless I misunderstood your directions, you
answered a different, but more interesting question than what I originally
was after with my question. Thank you for that.

What I was originally (and still) interested in is: suppose I delete the
"shortcut Alt+A I" part of the User Guide that I posted. How do I put it
back in? (and no, performing an "Undo" is not a fair answer :) ). Note that
"shortcut Alt+A I" is not entered in normal text. It's not even editable
text. I think it is an inset. Is that correct?

Sorry for being unclear,

Xu

On Mon, Dec 5, 2011 at 3:49 PM, Liviu Andronic wrote:

> On Mon, Dec 5, 2011 at 9:31 PM, Xu Wang  wrote:
> > Hi, how can I enter a shortcut information type? Where is this covered in
> > the manuals?
> >
> > For example, in the User Guide, it is written "change the state of the
> > current paragraph (shortcut Alt+A I)" in 3.2.3 Fine-Tuning
> >
> >
> > The latex code for the last part is written as
> >
> >  \shortcut{Alt+A I}
> >
> Try searching 'alt+a i' in Prefs > Edit > Shorcuts. Then armed with
> this inspect the stdmenus.inc.
>
> Liviu
>
>
> >
> > When I right-click on the shortcut and go to "settings" it doesn't give
> me a
> > clue of how to reproduce it.
> >
> >
> > I tried googling "LyX information type" but that didn't give anything
> > useful.
> >
> >
> > Thank you,
> >
> >
> > Xu
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>


"shortcut" inset?

2011-12-05 Thread Xu Wang
Hi, how can I enter a shortcut information type? Where is this covered in
the manuals?

For example, in the User Guide, it is written "change the state of the
current paragraph (shortcut Alt+A I)" in 3.2.3 Fine-Tuning


The latex code for the last part is written as

 \shortcut{Alt+A I}


When I right-click on the shortcut and go to "settings" it doesn't give me
a clue of how to reproduce it.


I tried googling "LyX information type" but that didn't give anything
useful.


Thank you,


Xu


Re: 2.0.2 and sweave

2011-12-04 Thread Xu Wang
Just curious -- why isn't Yihui's manual in the Help menu in LyX? Because
it's still a work in progress?

Xu

On Sun, Dec 4, 2011 at 2:42 PM, Yihui Xie  wrote:

> We need someone to update the wiki pages (I'm quite busy these days);
> currently you should refer to the manual built-in with LyX
> (examples/sweave.lyx), and a PDF version is here:
> https://github.com/downloads/yihui/lyx/sweave.pdf
>
> Regards,
> Yihui
> --
> Yihui Xie 
> Phone: 515-294-2465 Web: http://yihui.name
> Department of Statistics, Iowa State University
> 2215 Snedecor Hall, Ames, IA
>
>
>
> On Sun, Dec 4, 2011 at 1:34 PM, Jack Tanner  wrote:
> > I'd like to get started with LyX and Sweave. There are a bunch of
> tutorials out
> > there, some linked from the LyX wiki, some not. But I can't tell which
> are
> > current and which aren't. I'm on LyX 2.0.2, R 2.14, Miktex 2.9, Windows
> 7 x64;
> > could someone suggest the right tutorial or just post the steps here?
> Thanks in
> > advance.
> >
>


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Xu Wang
On Sat, Dec 3, 2011 at 11:15 AM, Francesco Menoncin
wrote:

>  Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:
>
> On 3 December 2011 18:47, Liviu Andronic  
>  wrote:
>
>  On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin 
>  wrote:
>
>  I am working on two pc's Ubuntu 11.01 and Windows 7.
> I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
> new version works great).
> I have problem with Ubuntu: the "./configure" command works fine, but when I
> use the command "make" the process gives an error after the command
>
> CXXLD lyx
>
> and I receive the following message
>
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_datalist_get_data'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_match_info_unref'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_match_info_ref'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_variatn_take_ref'
> collect2: ld returned 1 exit status
> make[4]: *** [lyx] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Any help?
> Thank you so much
> (qt4 and qt4-dev are both installed - version 4.7.4)
>
>
>  This may not be sufficient. Try
> apt-get build-dep lyx
> ./configure --enable-build-type=release
> make
> make install
>
>
>  If you compile for source it will take long.
> Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
> I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
> then your LyX will be updated to 2.0.2 (release 30/11/11).
>
> waluyo
>
>
>  Liviu
>
>   That of getdeb is a very good idea... but unfortunately it does not
> work. When I apply it, Ubuntu Software Center starts... and tells me that
> LyX has been installed today, but the version is still 2.0.1.
> On the other hand, the solution proposed by Waluyo did not work either.
>
> Francesco
>
> --
> 
> Francesco Menoncin
> Università degli Studi di Brescia
> Facoltà di Economia
> Via S. Faustino, 74/B
> 25122 Brescia (Italy)
> Tel: 0039-030-2988806
> Fax: 0039-030-2988837
> E-mail: menon...@eco.unibs.it
> web: www.eco.unibs.it/~menoncin/
> 
>
>
Maybe posting/attaching the output of ./configure would shed some light?


Re: Numbering by section showed wrong!

2011-11-26 Thread Xu Wang
OK great. I don't know how to solve your problem, but hopefully someone
will come along who can. It seems that you should try to improve your
question asking skills (yes, they are skills and require effort and
practice). You were given some great advice by Steve Litt:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg89979.html
Unfortunately you have either ignored or forgotten that advice. Please
study it again. I agree that .rar is not a good format to send in. Please
send in tar.gz.

You should *always* include your .lyx file (as small as possible but that
can still reproduce the "problem")

Best of luck with everything!

Xu


On Sun, Nov 27, 2011 at 2:48 AM, Kenedy Torcatt  wrote:

> yes, thankyou! here you have the file attached...
>
> 2011/11/27 Xu Wang :
> > So the numbering is correct in LyX and incorrect in the pdf? Could you
> > please send your .lyx file or just a minimum working example (ie a small
> > file that shows the problem)? Please send it to the list and not just
> me. I
> > don't know much about LyX -- I'm just trying to help you ask for help in
> the
> > best way.
> > On Sun, Nov 27, 2011 at 1:19 AM, Kenedy Torcatt 
> wrote:
> >>
> >> Hey, Just wrong in pdf, i didn't notice it. That's weird! Wow, how to
> fix
> >> that?
> >>
> >> 2011/11/27 Xu Wang :
> >> > Does it only show it wrong in LyX? Or does it also show wrong in the
> pdf
> >> > output?
> >> >
> >> > On Sat, Nov 26, 2011 at 11:36 PM, Kenedy Torcatt 
> >> > wrote:
> >> >>
> >> >> Hello LyX Users...
> >> >>
> >> >> I need to show in my thesis figures and equations by sections, but
> LyX
> >> >> is showing them wrong. I mean I activate the module
> >> >> using: Document→Settings→Modules and add the module "Number equations
> >> >> by section" and the same for figures, but when
> >> >> I change a section the figures is not showing from 1 like it should,
> >> >> For example, ilustrating this:
> >> >>
> >> >> -Section 1
> >> >>
> >> >> Figure 1.1
> >> >>
> >> >> -Section 2
> >> >>
> >> >> Figure 2.2 ( I need 2.1, then 2.2, .and on)
> >> >>
> >> >> The same thing occur with equations!
> >> >> That's the problem I'm facing it...
> >> >> Please help me with this, should I add some code in the preamble?
> >> >>
> >> >> Thankyou in advance!
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Kenedy Torcatt
> >> Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster
> >> Contact: Gmailfacebook: ktorcatt
> >>   Yahoo   Twitter: kenfitness
> >>   Hotmail
> >
> >
>
>
>
> --
> Kenedy Torcatt
> Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster
> Contact: Gmailfacebook: ktorcatt
>   Yahoo   Twitter: kenfitness
>   Hotmail
>


Re: Numbering by section showed wrong!

2011-11-26 Thread Xu Wang
So the numbering is correct in LyX and incorrect in the pdf? Could you
please send your .lyx file or just a minimum working example (ie a small
file that shows the problem)? Please send it to the list and not just me. I
don't know much about LyX -- I'm just trying to help you ask for help in
the best way.

On Sun, Nov 27, 2011 at 1:19 AM, Kenedy Torcatt  wrote:

> Hey, Just wrong in pdf, i didn't notice it. That's weird! Wow, how to fix
> that?
>
> 2011/11/27 Xu Wang :
> > Does it only show it wrong in LyX? Or does it also show wrong in the pdf
> > output?
> >
> > On Sat, Nov 26, 2011 at 11:36 PM, Kenedy Torcatt 
> wrote:
> >>
> >> Hello LyX Users...
> >>
> >> I need to show in my thesis figures and equations by sections, but LyX
> >> is showing them wrong. I mean I activate the module
> >> using: Document→Settings→Modules and add the module "Number equations
> >> by section" and the same for figures, but when
> >> I change a section the figures is not showing from 1 like it should,
> >> For example, ilustrating this:
> >>
> >> -Section 1
> >>
> >> Figure 1.1
> >>
> >> -Section 2
> >>
> >> Figure 2.2 ( I need 2.1, then 2.2, .and on)
> >>
> >> The same thing occur with equations!
> >> That's the problem I'm facing it...
> >> Please help me with this, should I add some code in the preamble?
> >>
> >> Thankyou in advance!
> >
> >
>
>
>
> --
> Kenedy Torcatt
> Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster
> Contact: Gmailfacebook: ktorcatt
>   Yahoo   Twitter: kenfitness
>   Hotmail
>


Re: Numbering by section showed wrong!

2011-11-26 Thread Xu Wang
Does it only show it wrong in LyX? Or does it also show wrong in the pdf
output?

On Sat, Nov 26, 2011 at 11:36 PM, Kenedy Torcatt  wrote:

> Hello LyX Users...
>
> I need to show in my thesis figures and equations by sections, but LyX
> is showing them wrong. I mean I activate the module
> using: Document→Settings→Modules and add the module "Number equations
> by section" and the same for figures, but when
> I change a section the figures is not showing from 1 like it should,
> For example, ilustrating this:
>
> -Section 1
>
> Figure 1.1
>
> -Section 2
>
> Figure 2.2 ( I need 2.1, then 2.2, .and on)
>
> The same thing occur with equations!
> That's the problem I'm facing it...
> Please help me with this, should I add some code in the preamble?
>
> Thankyou in advance!
>


Re: How to select via keyboard?

2011-11-21 Thread Xu Wang
Same for Ubuntu.

On Mon, Nov 21, 2011 at 2:58 PM, Anders Host-Madsen
wrote:

> You can hold down the shift key while you use the arrow keys, at
> least on Mac.
>
>


Re: Impressed

2011-11-18 Thread Xu Wang
+1 for vi keystrokes :)

But seriously, I don't think it would be fair to expect that. LyX is mean
to be focused on making things easy and straightforward for everyone. Vi
keystroke would not achieve that. I guess that could be an option, but it
shouldn't be LyX's focus.

On Fri, Nov 18, 2011 at 12:58 PM, Manolo Martínez
wrote:

> On 11/18/11 at 12:39pm, Steve Litt wrote:
> > Here are things I think would make LyX even faster for authoring:
> >
> > 1) Better/easier keystrokes for working with character styles. In a
> > full day of authoring I can use character styles over 100 times.
> >
> > 2) Restore the recently removed easy menu choices for compile to PDF
> > via ps2pdf and compile to DVI. I could use both of these tens of times
> > a day.
> >
> > 3) Complete the outlining feature so you can add headlines.
> >
> I'd add 4) vi keystrokes.
>
> Manolo
>


Re: pros & cons of using LyX's version control

2011-11-09 Thread Xu Wang
Thank you for the replies, everyone. I will look into a couple of different
options. It seems like the first step is to pick a version control system
and then after see what options LyX provides.

Best,

Xu

On Wed, Nov 9, 2011 at 8:15 AM, Vincent van Ravesteijn  wrote:

> Op 9-11-2011 13:51, Stephan Witt schreef:
>
>  Am 09.11.2011 um 11:52 schrieb Vincent van Ravesteijn:
>>
>>  Op 9-11-2011 2:22, Xu Wang schreef:
>>>
>>>> I'm considering using LyX's built-in version control support. Are there
>>>> any drawbacks to using it? Do most people use it? What is the most popular
>>>> alternative?
>>>>
>>> There is no built-in version control in LyX. We just offer easy
>>> interaction with the version control that is installed on your system.
>>>
>>> We also don't want to implement a version control GUI or something like
>>> that. There are other applications that are much better for that. You're
>>> able to configure the version control support pretty much to use the
>>> version control application of your choice.
>>>
>> Where? I'm not aware of that feature...
>>
>
> You can redefine the menu entries using "vc-command".
>
>  LFUN_VC_COMMAND
>>
>> * Action Executes external command. This command is intended to support
>> additional VCS commands.
>>
>> * Syntax vc-command   
>>
>> * Params : Flags for the command can be combined together.U - dUmmy
>> - no flagsD - Doc - need document loaded to proceedI - dIrty - mark
>> document dirtyR - Reload - ensure that the document is saved and reload it
>> after command executionM - Message - ask for input string (commit
>> message): path where to start. $$p will be replaced by the current
>> document path.: command to execute. $$i/$$p/$$m will be replaced
>> by the current document(with absolute path)/path/message.
>>
>> * Sample vc-command DR $$p "svn up"
>>
>> * Origin sanda, 13 Jan 2009
>>
>
> Vincent
>


pros & cons of using LyX's version control

2011-11-08 Thread Xu Wang
I'm considering using LyX's built-in version control support. Are there any
drawbacks to using it? Do most people use it? What is the most popular
alternative?

Note that I'm on Linux. I don't have familiarity with SVN but I've been
meaning to learn it anyway for a while.

Thank you,

Xu


Re: Package varioref Sweave error

2011-11-06 Thread Xu Wang
Liviu,

That sounds like a good system. I am quite lazy and usually forget to
update the documentation of files and their versions.

Xu

On Mon, Nov 7, 2011 at 2:38 AM, Liviu Andronic wrote:

> On Mon, Nov 7, 2011 at 6:44 AM, Xu Wang  wrote:
> > Graham,
> >
> > That's interesting! haha yes, sometimes I have a similar problem of
> knowing
> > I made a backup but forgetting where. That's why I'm switching to using a
> > version control system. I think these are better than and dropbox-like
> > alternative because of regressions. You often don't want to go back to a
> > previous version, you just want to figure out what went wrong. I think
> that
> > version control systems are the best for this.
> >
> Good point. I have just tried, and with SpiderOak you can easily
> download two historic versions of a file, and then diff them using
> Meld or similar. So this can be done, too.
>
> For simplistic usage, the big thingy missing from dropbox-like
> solutions is a log entry for each backup. This is why I tend to have a
> 'change.log' file that I update when reaching some milestone, where I
> input the current date and a VC-like log entry. It's a bit hackish but
> it works for me.
>
> Liviu
>
>
> > Glad everything is fine!
> >
> > Best,
> >
> > Xu
> >
> > On Sun, Nov 6, 2011 at 1:56 AM, Graham Smith 
> wrote:
> >>
> >> Hello Xu,
> >>
> >>> I don't mean to be parental, but this should be a good reminder to you
> >>> that it's always good to save frequently and to save many different
> >>> versions. Ideally you should look into a version control system (which
> LyX
> >>> actually supports!), but at the least, make multiple backups, and not
> just
> >>> one one machine.
> >>
> >> Or, to remember that a back up exists!!
> >> All my documents are in a Dropbox folder which is then synced to three
> >> different computers including one off site, as well as the Dropbox
> servers.
> >>
> >> Dropbox records a snapshot of every save for the last 30 days, and saves
> >> them on their server. They also do a paid version which saves snapshots
> for
> >> longer than 30 days.
> >> I save frequently, indeed looking at the log on Dropbox I seem to save
> >> every  two to three minutes and I have 22 pages of snapshots.
> >> I had forgotten all about this until your comments above.  However, the
> >> free Dropbox solution isn't going to help if I come back to a document
> in 6
> >> months time, as it only keeps the versions for 30 days, rather than
> keeping
> >> 30 days worth of versions (if you see what I mean), which I hadn't
> realised.
> >> So I will need to think about that, and thanks fro raising it.
> >> Graham
> >>
> >>
> >>
> >
> >
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>


Re: Feature suggestion: vertical ruler for word-count

2011-11-06 Thread Xu Wang
Hi Johannes!

If you want the word count for a selection, can't you just select it, go to
tools>statistics ?

Best,

Xu

On Sun, Nov 6, 2011 at 6:56 PM, Johannes Totz  wrote:

> Hi!
>
> What do you guys think about a vertical ruler that shows the word count
> along the text?
> Ruler for centimeters doesnt make much sense for Lyx, but I quite often
> wonder about word count in various sections of my documents...
>
>
>
> Johannes
>
>


Re: Package varioref Sweave error

2011-11-06 Thread Xu Wang
Graham,

That's interesting! haha yes, sometimes I have a similar problem of knowing
I made a backup but forgetting where. That's why I'm switching to using a
version control system. I think these are better than and dropbox-like
alternative because of regressions. You often don't want to go back to a
previous version, you just want to figure out what went wrong. I think that
version control systems are the best for this.

Glad everything is fine!

Best,

Xu

On Sun, Nov 6, 2011 at 1:56 AM, Graham Smith  wrote:

> Hello Xu,
>
> I don't mean to be parental, but this should be a good reminder to you
>> that it's always good to save frequently and to save many different
>> versions. Ideally you should look into a version control system (which LyX
>> actually supports!), but at the least, make multiple backups, and not just
>> one one machine.
>
>
> Or, to remember that a back up exists!!
>
> All my documents are in a Dropbox folder which is then synced to three
> different computers including one off site, as well as the Dropbox servers.
>
>
> Dropbox records a snapshot of every save for the last 30 days, and saves
> them on their server. They also do a paid version which saves snapshots for
> longer than 30 days.
>
> I save frequently, indeed looking at the log on Dropbox I seem to save
> every  two to three minutes and I have 22 pages of snapshots.
>
> I had forgotten all about this until your comments above.  However, the
> free Dropbox solution isn't going to help if I come back to a document in 6
> months time, as it only keeps the versions for 30 days, rather than keeping
> 30 days worth of versions (if you see what I mean), which I hadn't
> realised. So I will need to think about that, and thanks fro raising it.
>
> Graham
>
>
>
>
>


Re: Package varioref Sweave error

2011-11-05 Thread Xu Wang
Graham, I'm glad that worked for you!

I don't mean to be parental, but this should be a good reminder to you that
it's always good to save frequently and to save many different versions.
Ideally you should look into a version control system (which LyX actually
supports!), but at the least, make multiple backups, and not just one one
machine.

I hope you get everything done by Tuesday!

Xu

On Sat, Nov 5, 2011 at 6:06 PM, Graham Smith  wrote:

> Hello Xu
>
> Could you send a minimum working example (WME) of your .lyx file? My guess
>> is that you might be able to generate the same error by deleting most or
>> all of your document.
>>
>> My only suggestion for now is to start a new LyX document, and then copy
>> from your old to your new. This will copy all of the content but will not
>> copy some of the underlying things in the .lyx file. This would be easy to
>> try and could solve your problem.
>>
>
> I have copied all the text into a new document and it all seems to be
> working again. Which is great relief as I am very short of time trying to
> get this document finished for Tuesday.
>
> Thanks,
>
> Graham
>


Re: Package varioref Sweave error

2011-11-05 Thread Xu Wang
Hi Graham,

Could you send a minimum working example (WME) of your .lyx file? My guess
is that you might be able to generate the same error by deleting most or
all of your document.

My only suggestion for now is to start a new LyX document, and then copy
from your old to your new. This will copy all of the content but will not
copy some of the underlying things in the .lyx file. This would be easy to
try and could solve your problem.

Best,

Xu

On Sat, Nov 5, 2011 at 2:25 PM, Graham Smith  wrote:

> I have unsuccessfully been trying to get some latex code to (make a table)
> run in an ERT box in Lyx. In the end I gave up and deleted my attempts.
> However, now the document won't compile with the error message below.
>  Nothing has changed other than the stuff I added and then deleted, but I
> assume the aborted attempts to compile have broken something. I am on a Mac
> with Lyx 2.0.0
>
> Error
> Package varioref \vref at page boundary 18-19 (may loop)
>
>
> Description
>
> terms. }
>
>  Please check the pages in question. You might need to replace the \vref
>
> or \vpageref by a normal \(page)ref to stop LaTeX running forever.
>
>
> Is there an obvious solution to this,
>
>
>
>
> many thanks,
>
>
> Graham
>
>


Re: Examples of integration between Lyx, Sage computations, and PDFLateX

2011-10-31 Thread Xu Wang
Dear Murat,

This is great! I have been waiting for something like this for a long time.
I also like the Sweave-like philosophy of this. It's more transparent and
reproducible.

I am looking forward to the final release with much excitement.

Thank you for your work!

Best,

Xu

On Mon, Oct 31, 2011 at 12:54 PM, Murat Yildizoglu  wrote:

> Just another mail to correct a problem with the preceding Lyx file (see
> the new file attached, and the $ signs in ERT boxes, this is connected with
> the problem I describe below) and ask a question about insets again:
>
> What kind of Flex insets can be included in a math mode text? Is this
> possible at all? Especially in displayed equation where one would like to
> include results from SAge computations?
> I cannot write the following in math mode in Lyx, putting the left member
> in a displayed equation and the right member in a sagecode inset that would
> be converted to the expression I give  (\sage{integral(x/(x^2+1),x,0,1))
>\dfrac{\partial^{4}y}{\partial
> x^{4}}=\sage{integral(x/(x^2+1),x,0,1)}
>
> I meet two problems:
> 1/ I cannot insert a Flex:sagecommand inset in a displayed equation, Lyx
> just goes to the next line before inserting it...
> 2/ I cannot type the sagetex instruction (*sage{}  ) by hand, because
>  "x^2" in the right member must not be interpreted by LyX, since Sage will
> need it for its computation.
>
> I can of course type everything in an ERT, but this cannot be called
> "integration" can it? ;-)
>
> I have reread again the help document on layouts and insets, and I have
> checked the files that come in the layout folder of LyX, but cannot find
> any answer to my question.
>
> Sorry for bothering you again with my problems... I hope that Sage
> integration will interest other people...
>
> Murat
>
> I definitely need the help of a Lyx wizard who understands well the insets
> and their integration in Lyx/Latex...
>
>
>
> 2011/10/31 Murat Yildizoglu 
>
>> Just to show you the kind of niceties that such an integration can bring,
>> I send you two files. One is the Lyx source and the other one is the final
>> PDF.
>> In Lyx, I just click on the  Preview button and wait a little bit to get
>> the final PDF that I show here, with results of the computations done by
>> Sage and converted back to Latex.
>>
>> The module isfar from perfect yet (this is the first module I am
>> creating), a better integration between the Latex output by Sage, and the
>> math mode in LyX would be implemented to have nice equations typeset with
>> equation numbers and what not. You can also see that the output of the
>> integral by Sage is not very beautiful...
>>
>> I will continue to work on this module, but it is already useful for me
>> and eliminates some regrets I feel ;-), since I have dropped Scientific
>> Workplace in favor of LyX.
>>
>> I hope that you will like this new possibilities.
>>
>> Best regards,
>>
>> Murat
>>
>> PS. Sage lives in: http://www.sagemath.org
>>
>>
>> --
>> Prof. Murat Yildizoglu
>>
>> Université Montesquieu Bordeaux IV
>> GREThA (UMR CNRS 5113)
>> Avenue Léon Duguit
>> 33608 Pessac cedex
>> France
>>
>> yi...@u-bordeaux4.fr
>>
>>  http://yildizoglu.info
>>
>> http://www.twitter.com/yildizoglu
>>
>>
>
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> yi...@u-bordeaux4.fr
>
> http://yildizoglu.info
>
> http://www.twitter.com/yildizoglu
>
>


Re: PDF won't generate

2011-09-08 Thread Xu Wang
What operating system do you use? Are you using 2.0.1? I assume that this
happens for any lyx file, even the simplest ones?

On Thu, Sep 8, 2011 at 10:17 PM, Gabriel Hurley wrote:

> With a fresh install of LyX, I create a new document and attempt to
> convert it to PDF. It never converts (after 30 minutes of waiting).
> The debug messages say the following:
>
> 21:15:56.373: Previewing ...
> 21:15:56.379: (buffer-view: Ctrl+R)
> 21:15:56.402: pdflatex  "newfile1.tex"
> 21:15:56.472: This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
> 21:15:56.482: entering extended mode
> 21:15:56.483: ! I can't find file `newfile1.tex'.
> 21:15:56.485: <*> newfile1.tex
> 21:15:56.486:
>
> How do I fix this?
>
> Yours Sincerely,
> Gabriel Hurley
>


Re: Sweave in french with Latex

2011-09-08 Thread Xu Wang
Can you run Sweave in English?

Are you using the Sweave module?

Were you able to run Sweave in French before version 2?

Are you using 2.0.1?

On Thu, Sep 8, 2011 at 8:00 AM, Murat Yildizoglu  wrote:

> Hi Guillaume,
> I have not recently used Sweave, but this is one of the first things that I
> check when I test a new version of Lyx and it was working with LyX 2.0 on my
> Mac OSX 10.6.
>
>
> 2011/9/8 guillaume avenin 
>
>> I am running LyX 2 on m'y Mac and cannot manage ro sweave in french.
>> Does anyone manage to do so?
>>
>>
>> Guillaume Avenin
>>
>
>
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> yi...@u-bordeaux4.fr
> http://yildizoglu.co.cc
> http://www.twitter.com/yildizoglu
>
>


Re: ANNOUNCE: LyX version 2.0.0 is released

2011-05-08 Thread Xu Wang
Thank you for everything to everyone that contributed!

LyX is a beautiful piece of software.

On Sun, May 8, 2011 at 5:00 AM, Pavel Sanda  wrote:

> Public release of LyX version 2.0.0
> ===
>
> We are proud to announce the public release of LyX 2.0.0.
>
> With this release, LyX celebrates 15 years of existence, and we start
> a new family of 2.x releases to acknowledge LyX's passing from a child
> to an adult. We hope you will celebrate this anniversary with us.
>
> LyX 2.0.0 is the culmination of two and half years of hard work. This
> release begins a new series of 2.0.x which will incrementally improve its
> stability as the time passes.
>
> An overview of the new features can be found here:
>  http://wiki.lyx.org/LyX/NewInLyX20
>
> You can download LyX 2.0.0 from http://www.lyx.org/Download/ .
>
> We hope you will enjoy the result!
>
> The file RELEASE-NOTES lists some known issues and problems compared
> to the current stable releases (LyX 1.6.x). We strongly recommend that
> packagers of LyX on various platforms and distributions read this file.
>
> As with any major release, this one comes with lot of new features but
> also some bugs. If you think you have found a bug in LyX 2.0.0, either
> email
> the LyX developers' mailing list (lyx-devel at lists.lyx.org), or open a
> bug
> report at http://www.lyx.org/trac/wiki/BugTrackerHome .
>
> If you have trouble using LyX or have a question, consult the
> documentation that comes with LyX (under Help) and the LyX wiki, which you
> will find at http://wiki.lyx.org/ . You can also send email to the LyX
> users'
> list (lyx-users at lists.lyx.org).
>
> The LyX team.
> http://www.lyx.org
>