Koma script

2016-08-30 Thread gordon cooper



On 30/08/16 23:48, CarLaTeX wrote:
Is it easy to use with LyX? 

Been using Koma Script for several years with no problems and like
el, we do not use the standard Article/Report/Book.

Gordon.



Re: LyX with bashful package

2016-08-30 Thread Paul A Rubin


On 08/30/2016 10:46 AM, Ron Stone wrote:

Hi,

Has anyone successfully used bashful with LyX. I load the package:

\usepackage{bashful}

and then add a simple test as ERT:

\bash[stdout]
ls -F ~/Documents
\END

But I get the following error:

 \END
^^M
*** (cannot \read from terminal in nonstop modes)

Any suggestions are appreciated.

R.
You need to add '-shell-escape' (without the quotes) to the command that 
compiles the document. For instance, if you like to use pdflatex, go to 
Tools > Preferences > File Handling ... > Converters and select the 
LaTeX (pdflatex) -> PDF (pdflatex) converter. In the Converter: box, change


pdflatex $$i

to

pdflatex -shell-escape $$i

and click Modify by either Apply (for a test) or Save (if you want this 
as a permanent setting). With that change, View [pdflatex] should work.


Paul



Re: Importing specific tab of .xlsx file to lyx?

2016-08-30 Thread Richard Heck
On 08/29/2016 03:26 PM, Jannick wrote:
> Hi,
>
> Is it possible to specify the tab name in an .xlsx file to be imported to
> lyx using gnumeric's ssconvert.exe? 
>
> The conversion command
>
>   ssconvert --export-type=Gnumeric_html:latex $$i $$o
>
> picks one of the tabs. I am not sure if ssconvert's -S switch could help
> here, but I would be curious if a specific tab could be chosen. Certainly,
> as workaround the tabs could be split to a number of .xlsx files, however,
> this is not very practicable if the tabs depend on each other
> calculation-wise.  

Someone here may know, but you might better try asking on some
Gnumeric-related list.

Richard



LyX with bashful package

2016-08-30 Thread Ron Stone
Hi,

Has anyone successfully used bashful with LyX. I load the package:

\usepackage{bashful}

and then add a simple test as ERT:

\bash[stdout] <> <> <>ls -F ~/Documents <> <> <>\END <>

 <>
But I get the following error:

 \END
^^M
*** (cannot \read from terminal in nonstop modes)

Any suggestions are appreciated.

R.
 <>

Re: It is possible to get rid of these two lines of code automatically put in the preamble by LyX?

2016-08-30 Thread CarLaTeX
2016-08-30 13:45 GMT+02:00 Dr Eberhard W Lisse :

> It can do all the things the standard Article/Report/Book can, hence
> there is not much need to study for standard things, but on the other
> hand has a large number of possibilities.
>
> I do not use the standard Article/Report/Book any more.
>
> el
>
> On 2016-08-30 12:39, CarLaTeX wrote:
> [...]
> > I don't know Komascript, I've downloaded the guide now but it seems to
> > me a bit advanced with respect to my needs.
> > However, thank you.
> >
>
> --
> Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
> e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
> PO Box 8421 \ /
> Bachbrecht, Namibia ;/
>
Is it easy to use with LyX?


Fwd: It is possible to get rid of these two lines of code automatically put in the preamble by LyX?

2016-08-30 Thread CarLaTeX
2016-08-30 13:39 GMT+02:00 CarLaTeX :

>
>
> 2016-08-30 13:01 GMT+02:00 Dr Eberhard W Lisse :
>
>> Have you looked at Komascript?
>>
>> el
>>
>> On 2016-08-30 11:13, CarLaTeX wrote:
>> [...]
>> > Because I would like to change the order of package loading, for example
>> > I'd like to put babel as first package while LyX put it as last one, and
>> > you can't set margin par in the geometry panel, you have to add it with
>> > \setlength{\marginparwidth}{xxx} afterwards.
>> > Thank you, however, for your interest.
>> >
>>
>> --
>> Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
>> e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
>> PO Box 8421 \ /
>> Bachbrecht, Namibia ;/
>>
>
> I don't know Komascript, I've downloaded the guide now but it seems to me
> a bit advanced with respect to my needs.
> However, thank you.
>
> Sorry, I've done "reply" instead of "reply all"...


Re: It is possible to get rid of these two lines of code automatically put in the preamble by LyX?

2016-08-30 Thread Dr Eberhard W Lisse
If it doesn't give an error, I would not bother :-)-O

And, why don't you set the geometry in LyX and save it as Document Default?

el

On 2016-08-30 10:58, CarLaTeX wrote:
> 
> 
> 2016-08-30 11:52 GMT+02:00 Dr Eberhard Lisse  >:
> 
> Carla,
> 
> why is this an issue?
> 
> el
> 
> On 2016-08-30 08:03, CarLaTeX wrote:
> > I like LyX and find it very convenient but I would like to have more
> > freedom when I set my preamble.
> >
> > I’ve managed to move all the packages that I need in a
> preamble.tex file
> > (then inputed in LyX preamble), so I can easily edit it inserting all
> > the options that I like and put them in the order that I want.
> >
> > However, I can’t avoid LyX from putting these two lines of code,
> in the
> > automatic preamble:
> >
> > \pdfpageheight\paperheight
> >
> > \pdfpagewidth\paperwidth
> >
> > There’s a way to do it or is it impossible? (I'm using LyX 2.2.1).
> >
> > Attached the .lyx file and the .tex file optained when I export it in
> > LaTeX (pdflateX).
> >
> > Thank you!
> >
> > Best regards,
> >
> > Carla
> 
> I would like to put them after loading geometry (I hope to have
> understood what you're asking me). It gives to error, it's just to keep
> the code clear.
> 
> Thank you!
> 

-- 
Dr. Eberhard W. Lisse  \/ Obstetrician & Gynaecologist (Saar)
e...@lisse.na/ * |   Telephone: +264 81 124 6733 (cell)
PO Box 8421 \ /
Bachbrecht, Namibia ;/


Re: It is possible to get rid of these two lines of code automatically put in the preamble by LyX?

2016-08-30 Thread CarLaTeX
2016-08-30 11:52 GMT+02:00 Dr Eberhard Lisse :

> Carla,
>
> why is this an issue?
>
> el
>
> On 2016-08-30 08:03, CarLaTeX wrote:
> > I like LyX and find it very convenient but I would like to have more
> > freedom when I set my preamble.
> >
> > I’ve managed to move all the packages that I need in a preamble.tex file
> > (then inputed in LyX preamble), so I can easily edit it inserting all
> > the options that I like and put them in the order that I want.
> >
> > However, I can’t avoid LyX from putting these two lines of code, in the
> > automatic preamble:
> >
> > \pdfpageheight\paperheight
> >
> > \pdfpagewidth\paperwidth
> >
> > There’s a way to do it or is it impossible? (I'm using LyX 2.2.1).
> >
> > Attached the .lyx file and the .tex file optained when I export it in
> > LaTeX (pdflateX).
> >
> > Thank you!
> >
> > Best regards,
> >
> > Carla
>
> I would like to put them after loading geometry (I hope to have understood
what you're asking me). It gives to error, it's just to keep the code clear.

Thank you!


Re: It is possible to get rid of these two lines of code automatically put in the preamble by LyX?

2016-08-30 Thread Dr Eberhard Lisse
Carla,

why is this an issue?

el

On 2016-08-30 08:03, CarLaTeX wrote:
> I like LyX and find it very convenient but I would like to have more
> freedom when I set my preamble.
> 
> I’ve managed to move all the packages that I need in a preamble.tex file
> (then inputed in LyX preamble), so I can easily edit it inserting all
> the options that I like and put them in the order that I want.
> 
> However, I can’t avoid LyX from putting these two lines of code, in the
> automatic preamble:
> 
> \pdfpageheight\paperheight
> 
> \pdfpagewidth\paperwidth
> 
> There’s a way to do it or is it impossible? (I'm using LyX 2.2.1).
> 
> Attached the .lyx file and the .tex file optained when I export it in
> LaTeX (pdflateX).
> 
> Thank you!
> 
> Best regards,
> 
> Carla




It is possible to get rid of these two lines of code automatically put in the preamble by LyX?

2016-08-30 Thread CarLaTeX
I like LyX and find it very convenient but I would like to have more
freedom when I set my preamble.

I’ve managed to move all the packages that I need in a preamble.tex file
(then inputed in LyX preamble), so I can easily edit it inserting all the
options that I like and put them in the order that I want.

However, I can’t avoid LyX from putting these two lines of code, in the
automatic preamble:

\pdfpageheight\paperheight

\pdfpagewidth\paperwidth

There’s a way to do it or is it impossible? (I'm using LyX 2.2.1).

Attached the .lyx file and the .tex file optained when I export it in LaTeX
(pdflateX).

Thank you!

Best regards,
Carla


Main.tex
Description: TeX document


Main.lyx
Description: application/lyx