转发: Help for using chapterbib with LyX

2016-11-14 Thread caokecai
Dear all,

I am using Lyx to realize Multiple and sectioned bibliographies in book. I have 
spent a lot of time with tips from web page but that does not work.

I do not know how to install the python wrapper script  
 bibtexall and make it work.

Could anyone help me to realizes Multiple and sectioned bibliographies?

Thanks you very much.

Best 

Kecao



Re: Embedding a movie from a beamer/lyx presentation

2016-11-14 Thread Scott Kostyshak
On Mon, Nov 14, 2016 at 06:23:26AM +0100, UD wrote:
> How do I include a movie in a beamer/lyx presentation? 
> I tried Insert/Hyperlink but the result was:
> Cannot launch external application.

This might help:
http://tex.stackexchange.com/questions/1574/embedding-videos-and-animations

Scott


signature.asc
Description: PGP signature


Re: HTML conversions

2016-11-14 Thread gordon cooper



On 14/11/16 22:28, Guenter Milde wrote:

On 2016-11-13, gordon cooper wrote:


[-- Type: text/plain, Encoding: 8bit --]
/
Several months ago when we were using lyx 2.1.*, the expression
/LyX Document
"-*rw-r‑‑r‑‑ *newbie users 277 Jan 7 14:42 .asoundrc"  exported
correctly to an html file.
We are now working with lyx 2.2.2. The same export gives this result,
"-/rw-r\SpecialChar nobreakdash\SpecialChar nobreakdashr\SpecialChar
nobreakdash\SpecialChar nobreakdash /newbie users 277 Jan 7 14:42 .asoundrc"
The double hypen is not being recognised, it is a legitimate piece of code.


The string you sent uses 2011   NON-BREAKING HYPHEN for the double dashes.
This is correctly converted to \nobreakdash- in the generated LaTeX file.

What happens, if you use only 002D  HYPHEN-MINUS

   -*rw-r--r-- *newbie users 277 Jan 7 14:42 .asoundrc
   
which LyX 2.2 converts to


   -{*}rw-r-{}-r-{}- {*}newbie users 277 Jan 7 14:42 .asoundrc
   
?




This happened when exporting to html.
Something has changed.

Yes, there was some work on the dashes and double dashes. However this was
meant to be an improvement.

Depending on how the no-break-hyphens got into your document, your
problem may turn out to be an actual improvement (uncover a hithero
hidden problem) or an unwanted side-effect.


An export to Lyx html does give a correct result.

So using this route is a possible workaround/solution.


Günter

 Yes, that is a work around.  Also we could use an html editor, 
probably Bluefish
to correct the errors in the document. So we are not up against a brick 
wall.

Thanks,
Gordon.


Re: Sideways longtable

2016-11-14 Thread Julio Rojas
Yup, I hadn't tested it with another (portrait) page and could get the
difference... :P

Thanks a lot for your help.

-
Julio Rojas
jcredbe...@gmail.com

On Tue, Nov 8, 2016 at 12:27 PM, racoon  wrote:

> On 08.11.2016 15:50, Julio Rojas wrote:
>
>> Dear Daniel,
>>
>> As you can see by the results shown in the attached PDF, "pdflandscape"
>> rotates the page, not the longtable (look at the page numbers and the
>> test in the table). What I need is to rotate the longtable, so it better
>> fits with my data. Nevertheless, I thank you for your help.
>>
>> Should this be reported as a desired feature? Or would it be a very
>> complex task to include in this developing cycle?
>>
>
> Dear Julio,
>
> I think the result is as it should be. The page numbers never get turned
> with the content. This is because you normally don't want them turned since
> the landscape page is part of series of other pages in portrait. I have
> added some context so you see what I mean.
>
> If for some reason you want the page numbers turned as well maybe this
> helps?
>
> http://tex.stackexchange.com/questions/9071/how-to-translate
> -and-rotate-the-heading-of-landscaped-pages
>
> (Note: you are not actually using a longtable but a tabular.)
>
> Daniel
>
>
>> On Tue, Nov 8, 2016 at 3:07 AM, racoon > > wrote:
>>
>>
>> On 07.11.2016 23 :12, Julio Rojas wrote:
>>
>> Dear all,
>>
>> I would like to have a long and wide table in such a way that
>> allows me
>> to optimize the space on my document. I tried rotating a
>> longtable, but
>> an error was produced. Then I defined my longtable and used the
>> "pdflscape", which produced a rotated page with a non-rotated
>> table. Is
>> there an easy way to produce a rotated longtable in Lyx? Or
>> should I
>> produce table in LaTeX code?
>>
>> Thanks in advance.
>>
>>
>> Hi Julio,
>>
>> So you want to rotate the content only on one of your pages, right?
>> Otherwise you could just use Document->Settings->Page
>> Layout->Landscape.
>>
>> For only one page with a rotated table I had no problems with using
>>
>> \usepackage{pdflscape}
>>
>> in the Preamble and an ERT with
>>
>> \begin{landscape}
>>
>> before and
>>
>> \end{landscape}
>>
>> after the table. Notice that for it to work you have to disable
>> Landscape in the document Settings. (Otherwise you get a
>> double-rotation.)
>>
>> If it does not work maybe you can send an example file.
>>
>> Daniel
>>
>>
>>
>


Re: shortcut for Use Computer Algebra System

2016-11-14 Thread Paola Manzini

> On 14 Nov 2016, at 11:02, Roberto  wrote:
> 
> Hello,
>   I am on Mac with Lyx 2.2.0 trying to put a shortcut for Edit>Math>Use 
> Computer Algebra System>Mathematica
> but I do know what the Lyx function would be to put it in the binding file. I 
> tried the Preferences>Editing>Shortcuts  but this function is not listed. 
> 
> Mathematica calculations work fine if I use the mouse to get the CAS 
> function, but is pretty nested down in the menu ... can anybody help me to 
> get a short cut to use CAS (and Mathematica in particular) 
> 
> Thanks,
> Roberto

Hi Roberto,
according to the LyX manual there is no shortcut, but a way around it, have a 
look here:
http://elyxer.nongnu.org/lyx/Math.html#toc-Subsection-23.2

I haven't tried, though, I right click then select CAS
Paola




shortcut for Use Computer Algebra System

2016-11-14 Thread Roberto
Hello,
  I am on Mac with Lyx 2.2.0 trying to put a shortcut for Edit>Math>Use
Computer Algebra System>Mathematica
but I do know what the Lyx function would be to put it in the binding file.
I tried the Preferences>Editing>Shortcuts  but this function is not listed.

Mathematica calculations work fine if I use the mouse to get the CAS
function, but is pretty nested down in the menu ... can anybody help me to
get a short cut to use CAS (and Mathematica in particular)

Thanks,
Roberto


Re: HTML conversions

2016-11-14 Thread Guenter Milde
On 2016-11-13, gordon cooper wrote:

> [-- Type: text/plain, Encoding: 8bit --]

> /
> Several months ago when we were using lyx 2.1.*, the expression

> /LyX Document
> "-*rw-r‑‑r‑‑ *newbie users 277 Jan 7 14:42 .asoundrc"  exported
> correctly to an html file.

> We are now working with lyx 2.2.2. The same export gives this result,
> "-/rw-r\SpecialChar nobreakdash\SpecialChar nobreakdashr\SpecialChar 
> nobreakdash\SpecialChar nobreakdash /newbie users 277 Jan 7 14:42 .asoundrc"

> The double hypen is not being recognised, it is a legitimate piece of code.


The string you sent uses 2011   NON-BREAKING HYPHEN for the double dashes.
This is correctly converted to \nobreakdash- in the generated LaTeX file.

What happens, if you use only 002D  HYPHEN-MINUS

  -*rw-r--r-- *newbie users 277 Jan 7 14:42 .asoundrc
  
which LyX 2.2 converts to  

  -{*}rw-r-{}-r-{}- {*}newbie users 277 Jan 7 14:42 .asoundrc
  
?  


> This happened when exporting to html. 

> Something has changed. 

Yes, there was some work on the dashes and double dashes. However this was
meant to be an improvement.

Depending on how the no-break-hyphens got into your document, your
problem may turn out to be an actual improvement (uncover a hithero
hidden problem) or an unwanted side-effect.

> An export to Lyx html does give a correct result. 

So using this route is a possible workaround/solution.


Günter