Custom module: inset for mdframed boxes

2014-06-19 Thread Matthieu

Dear Lyx users list

I would like to use the mdframed package in Lyx, which offers nice 
boxes. In its simplest form, mdframed is just used with (see below for 
reproduciible latex code):


\begin{mdframed}
 A box
\end{mdframed}

Eventually with [frametitle=A title]

I was trying to create a Lyx inset for this, made it somehow, but this 
is a very rough draft, and I would appreciate any help, in particular:

-how to give the new inset a feeling of box? I tried adding:
CopyStyle Box
or:
HTMLStyle
div.Frameless { margin: 1em; }
EndHTMLStyle

as I saw for boxes, but it does not work.

-For the title of the box, the user needs to add herself: frametitle=A 
title Ideally, one would not need to do this... is this avoidable in Lyx 
(make him add automatically frametitle=), or does one need to rewrite 
slightly the environment mdframed?


-More generally, I choose to use it as a custom inset, but could have 
done defining it as a new style.. is this choice sound?

Thanks!!

###
#Lyx module:
###

#\DeclareLyXModule[mdframed.sty]{MD frame}
#DescriptionBegin
# Try to use package mdframed
#DescriptionEnd

Format 49

InsetLayout Flex:MDbox
   LyXType custom
   LatexName   mdframed
   LatexType   Environment
   LabelString Md frame
   Requiresmdframed
   LabelFont
   Color   blue
   Sizelarge
   EndFont
   MultiPartrue
   HTMLStyle
div.Frameless { margin: 1em; }
   EndHTMLStyle
   Preamble
   \usepackage{mdframed}
  EndPreamble
  Argument 1
LabelStringBox Title, write: frametitle=AA
TooltipEnter the box title here
Mandatory  0
Decoration conglomerate
Font
  Colorblue
  Size large
EndFont
AutoInsert 1
  EndArgument
End


#LaTeX minimal mdframed:


\documentclass[a4paper,10pt]{article}
\usepackage{mdframed}

\begin{document}

\begin{mdframed}
 A box
\end{mdframed}

And

\begin{mdframed}[frametitle=A title]
 A box
\end{mdframed}

\end{document}




Re: Python Graphics in LyX [was: Python bindings]

2014-06-19 Thread Wolfgang Keller
 Yeah! And to prove this statement I've attached some examples.

I couldn't open your attachment with 7zip on Windows.

Sincerely,

Wolfgang


the spell checker has no dictionaries lyx 2.1.0 (windows7)

2014-06-19 Thread fahdi jbeli
Hi,
yesterday my spellchecker have been worked fine, but today I opened it to 
complete my work and when I press F7 it tell me

the spell checker has no dictionaries

then I check the path of hunspell by gonig to tools-Preference and in the 
textfield Path Préfix I typed C:\Program Files (x86)\LyX 2.1\Resources\dicts
wich contains all files xx_XX.aff/.dic and I typed in the textfield hunspell 
Dictionaries the same path C:\Program Files (x86)\LyX 2.1\Resources\dicts
and I make reconfigure but is still the same error :(.
Thanks



Re: the spell checker has no dictionaries lyx 2.1.0 (windows7)

2014-06-19 Thread Scott Kostyshak
On Thu, Jun 19, 2014 at 11:50 AM, fahdi jbeli fahdi01.jb...@gmail.com wrote:
 Hi,
 yesterday my spellchecker have been worked fine, but today I opened it to
 complete my work and when I press F7 it tell me

 the spell checker has no dictionaries

 then I check the path of hunspell by gonig to tools-Preference and in the
 textfield Path Préfix I typed C:\Program Files (x86)\LyX 2.1\Resources\dicts
 wich contains all files xx_XX.aff/.dic and I typed in the textfield hunspell
 Dictionaries the same path C:\Program Files (x86)\LyX 2.1\Resources\dicts
 and I make reconfigure but is still the same error :(.
 Thanks


Hi Fahdi,

When cross-posting, please always link to the other post(s) you made.
Here is one:
http://tex.stackexchange.com/questions/185624/the-spell-checker-has-no-dictionaries-lyx-2-1-0-windows7

I hope you get the problem solved!

Scott


Re: Python Graphics in LyX [was: Python bindings]

2014-06-19 Thread Stephan Witt
Am 19.06.2014 um 19:02 schrieb Alex Vergara Gil a...@cphr.edu.cu:

 - Original Message - From: Wolfgang Keller felip...@gmx.net Sent: 
 Thursday, June 19, 2014 9:23 AM
 I couldn't open your attachment with 7zip on Windows.
 
 Sincerely,
 
 Wolfgang
 
 
 That's odd, look my test in virtual win XP
 
 Alex 
 7zip.JPG


I can decode the contents on Unix too.

$ xz -d -c /Users/stephan/Downloads/Software/Python\ Graphics.tar.xz | tar tf -
3D_map.pygr
contour_map.pygr
csv.pygr
dicom_show.pygr
errorbar_demo.pygr
errorbar_demo_features.pygr
example.pygr
example2.pygr
GE_COLOR_2.lut
histogram_demo_features.pygr
pc iart CT200.dcm
Python Graphics.lyx
Python Graphics.pdf
tips.csv
$ 

Stephan

buffer-export with date prepended

2014-06-19 Thread Jannick
I would like lyx to prepend the current date to the output .pdf name. I
think the cmd 'pdflatex $$i' is to adjusted. 

Thanks for your help.
J.



EnumItem - Formatting Description Tags with Typewriter font

2014-06-19 Thread uudruid74
In my LyX Preamble, I have ...


\setlist{itemsep=0ex,parsep=1ex,leftmargin=0.25cm}
\setenumerate{itemsep=1ex,parsep=1ex}
\setitemize{itemsep=0ex,parsep=0ex,leftmargin=1cm}

How do I set the font for the item (not the item's description) to the
typewriter font?  I already have the EnumItem module turned on and I'm using
KOMI Book (if that matters).

Any help appreciated!



--
View this message in context: 
http://lyx.475766.n2.nabble.com/EnumItem-Formatting-Description-Tags-with-Typewriter-font-tp7580290.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: EnumItem - Formatting Description Tags with Typewriter font

2014-06-19 Thread Scott Kostyshak
On Thu, Jun 19, 2014 at 11:30 PM, uudruid74 uudrui...@gmail.com wrote:
 In my LyX Preamble, I have ...


 \setlist{itemsep=0ex,parsep=1ex,leftmargin=0.25cm}
 \setenumerate{itemsep=1ex,parsep=1ex}
 \setitemize{itemsep=0ex,parsep=0ex,leftmargin=1cm}

 How do I set the font for the item (not the item's description) to the
 typewriter font?  I already have the EnumItem module turned on and I'm using
 KOMI Book (if that matters).

 Any help appreciated!


Hi uudruid,

Whenever you cross-post, please always give the links to your other
posts. Here is one of them:
http://latex-community.org/forum/viewtopic.php?f=19t=24900sid=1cf6dff3fc1f588c21b244ae0c5f0712

Scott


Shaded Tables?

2014-06-19 Thread uudruid74
Can LyX do shaded backgrounds in tables?  I want to shade every other line
(like old mainframe computer paper) so that large tables are easier to read.  
Can it do this without manually formatting every line?  Or would it be
easier to use a spreadsheet app and then print to a file and import it as a
big graphic?  Some combination of printer filters should give me an EPS or
whatever I could bring in.

Comments?  Ideas?  Suggestions?



--
View this message in context: 
http://lyx.475766.n2.nabble.com/Shaded-Tables-tp7580291.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Custom module: inset for mdframed boxes

2014-06-19 Thread Matthieu

Dear Lyx users list

I would like to use the mdframed package in Lyx, which offers nice 
boxes. In its simplest form, mdframed is just used with (see below for 
reproduciible latex code):


\begin{mdframed}
 A box
\end{mdframed}

Eventually with [frametitle=A title]

I was trying to create a Lyx inset for this, made it somehow, but this 
is a very rough draft, and I would appreciate any help, in particular:

-how to give the new inset a feeling of box? I tried adding:
CopyStyle Box
or:
HTMLStyle
div.Frameless { margin: 1em; }
EndHTMLStyle

as I saw for boxes, but it does not work.

-For the title of the box, the user needs to add herself: frametitle=A 
title Ideally, one would not need to do this... is this avoidable in Lyx 
(make him add automatically frametitle=), or does one need to rewrite 
slightly the environment mdframed?


-More generally, I choose to use it as a custom inset, but could have 
done defining it as a new style.. is this choice sound?

Thanks!!

###
#Lyx module:
###

#\DeclareLyXModule[mdframed.sty]{MD frame}
#DescriptionBegin
# Try to use package mdframed
#DescriptionEnd

Format 49

InsetLayout Flex:MDbox
   LyXType custom
   LatexName   mdframed
   LatexType   Environment
   LabelString Md frame
   Requiresmdframed
   LabelFont
   Color   blue
   Sizelarge
   EndFont
   MultiPartrue
   HTMLStyle
div.Frameless { margin: 1em; }
   EndHTMLStyle
   Preamble
   \usepackage{mdframed}
  EndPreamble
  Argument 1
LabelStringBox Title, write: frametitle=AA
TooltipEnter the box title here
Mandatory  0
Decoration conglomerate
Font
  Colorblue
  Size large
EndFont
AutoInsert 1
  EndArgument
End


#LaTeX minimal mdframed:


\documentclass[a4paper,10pt]{article}
\usepackage{mdframed}

\begin{document}

\begin{mdframed}
 A box
\end{mdframed}

And

\begin{mdframed}[frametitle=A title]
 A box
\end{mdframed}

\end{document}




Re: Python Graphics in LyX [was: Python bindings]

2014-06-19 Thread Wolfgang Keller
 Yeah! And to prove this statement I've attached some examples.

I couldn't open your attachment with 7zip on Windows.

Sincerely,

Wolfgang


the spell checker has no dictionaries lyx 2.1.0 (windows7)

2014-06-19 Thread fahdi jbeli
Hi,
yesterday my spellchecker have been worked fine, but today I opened it to 
complete my work and when I press F7 it tell me

the spell checker has no dictionaries

then I check the path of hunspell by gonig to tools-Preference and in the 
textfield Path Préfix I typed C:\Program Files (x86)\LyX 2.1\Resources\dicts
wich contains all files xx_XX.aff/.dic and I typed in the textfield hunspell 
Dictionaries the same path C:\Program Files (x86)\LyX 2.1\Resources\dicts
and I make reconfigure but is still the same error :(.
Thanks



Re: the spell checker has no dictionaries lyx 2.1.0 (windows7)

2014-06-19 Thread Scott Kostyshak
On Thu, Jun 19, 2014 at 11:50 AM, fahdi jbeli fahdi01.jb...@gmail.com wrote:
 Hi,
 yesterday my spellchecker have been worked fine, but today I opened it to
 complete my work and when I press F7 it tell me

 the spell checker has no dictionaries

 then I check the path of hunspell by gonig to tools-Preference and in the
 textfield Path Préfix I typed C:\Program Files (x86)\LyX 2.1\Resources\dicts
 wich contains all files xx_XX.aff/.dic and I typed in the textfield hunspell
 Dictionaries the same path C:\Program Files (x86)\LyX 2.1\Resources\dicts
 and I make reconfigure but is still the same error :(.
 Thanks


Hi Fahdi,

When cross-posting, please always link to the other post(s) you made.
Here is one:
http://tex.stackexchange.com/questions/185624/the-spell-checker-has-no-dictionaries-lyx-2-1-0-windows7

I hope you get the problem solved!

Scott


Re: Python Graphics in LyX [was: Python bindings]

2014-06-19 Thread Stephan Witt
Am 19.06.2014 um 19:02 schrieb Alex Vergara Gil a...@cphr.edu.cu:

 - Original Message - From: Wolfgang Keller felip...@gmx.net Sent: 
 Thursday, June 19, 2014 9:23 AM
 I couldn't open your attachment with 7zip on Windows.
 
 Sincerely,
 
 Wolfgang
 
 
 That's odd, look my test in virtual win XP
 
 Alex 
 7zip.JPG


I can decode the contents on Unix too.

$ xz -d -c /Users/stephan/Downloads/Software/Python\ Graphics.tar.xz | tar tf -
3D_map.pygr
contour_map.pygr
csv.pygr
dicom_show.pygr
errorbar_demo.pygr
errorbar_demo_features.pygr
example.pygr
example2.pygr
GE_COLOR_2.lut
histogram_demo_features.pygr
pc iart CT200.dcm
Python Graphics.lyx
Python Graphics.pdf
tips.csv
$ 

Stephan

buffer-export with date prepended

2014-06-19 Thread Jannick
I would like lyx to prepend the current date to the output .pdf name. I
think the cmd 'pdflatex $$i' is to adjusted. 

Thanks for your help.
J.



EnumItem - Formatting Description Tags with Typewriter font

2014-06-19 Thread uudruid74
In my LyX Preamble, I have ...


\setlist{itemsep=0ex,parsep=1ex,leftmargin=0.25cm}
\setenumerate{itemsep=1ex,parsep=1ex}
\setitemize{itemsep=0ex,parsep=0ex,leftmargin=1cm}

How do I set the font for the item (not the item's description) to the
typewriter font?  I already have the EnumItem module turned on and I'm using
KOMI Book (if that matters).

Any help appreciated!



--
View this message in context: 
http://lyx.475766.n2.nabble.com/EnumItem-Formatting-Description-Tags-with-Typewriter-font-tp7580290.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: EnumItem - Formatting Description Tags with Typewriter font

2014-06-19 Thread Scott Kostyshak
On Thu, Jun 19, 2014 at 11:30 PM, uudruid74 uudrui...@gmail.com wrote:
 In my LyX Preamble, I have ...


 \setlist{itemsep=0ex,parsep=1ex,leftmargin=0.25cm}
 \setenumerate{itemsep=1ex,parsep=1ex}
 \setitemize{itemsep=0ex,parsep=0ex,leftmargin=1cm}

 How do I set the font for the item (not the item's description) to the
 typewriter font?  I already have the EnumItem module turned on and I'm using
 KOMI Book (if that matters).

 Any help appreciated!


Hi uudruid,

Whenever you cross-post, please always give the links to your other
posts. Here is one of them:
http://latex-community.org/forum/viewtopic.php?f=19t=24900sid=1cf6dff3fc1f588c21b244ae0c5f0712

Scott


Shaded Tables?

2014-06-19 Thread uudruid74
Can LyX do shaded backgrounds in tables?  I want to shade every other line
(like old mainframe computer paper) so that large tables are easier to read.  
Can it do this without manually formatting every line?  Or would it be
easier to use a spreadsheet app and then print to a file and import it as a
big graphic?  Some combination of printer filters should give me an EPS or
whatever I could bring in.

Comments?  Ideas?  Suggestions?



--
View this message in context: 
http://lyx.475766.n2.nabble.com/Shaded-Tables-tp7580291.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Custom module: inset for mdframed boxes

2014-06-19 Thread Matthieu

Dear Lyx users list

I would like to use the mdframed package in Lyx, which offers nice 
boxes. In its simplest form, mdframed is just used with (see below for 
reproduciible latex code):


\begin{mdframed}
 A box
\end{mdframed}

Eventually with [frametitle=A title]

I was trying to create a Lyx inset for this, made it somehow, but this 
is a very rough draft, and I would appreciate any help, in particular:

-how to give the new inset a feeling of box? I tried adding:
CopyStyle Box
or:
HTMLStyle
div.Frameless { margin: 1em; }
EndHTMLStyle

as I saw for boxes, but it does not work.

-For the title of the box, the user needs to add herself: frametitle=A 
title Ideally, one would not need to do this... is this avoidable in Lyx 
(make him add automatically "frametitle="), or does one need to rewrite 
slightly the environment mdframed?


-More generally, I choose to use it as a custom inset, but could have 
done defining it as a new style.. is this choice sound?

Thanks!!

###
#Lyx module:
###

#\DeclareLyXModule[mdframed.sty]{MD frame}
#DescriptionBegin
# Try to use package mdframed
#DescriptionEnd

Format 49

InsetLayout Flex:MDbox
   LyXType custom
   LatexName   mdframed
   LatexType   Environment
   LabelString "Md frame"
   Requiresmdframed
   LabelFont
   Color   blue
   Sizelarge
   EndFont
   MultiPartrue
   HTMLStyle
div.Frameless { margin: 1em; }
   EndHTMLStyle
   Preamble
   \usepackage{mdframed}
  EndPreamble
  Argument 1
LabelString"Box Title, write: frametitle=AA"
Tooltip"Enter the box title here"
Mandatory  0
Decoration conglomerate
Font
  Colorblue
  Size large
EndFont
AutoInsert 1
  EndArgument
End


#LaTeX minimal mdframed:


\documentclass[a4paper,10pt]{article}
\usepackage{mdframed}

\begin{document}

\begin{mdframed}
 A box
\end{mdframed}

And

\begin{mdframed}[frametitle=A title]
 A box
\end{mdframed}

\end{document}




Re: Python Graphics in LyX [was: Python bindings]

2014-06-19 Thread Wolfgang Keller
> Yeah! And to prove this statement I've attached some examples.

I couldn't open your attachment with 7zip on Windows.

Sincerely,

Wolfgang


the spell checker has no dictionaries lyx 2.1.0 (windows7)

2014-06-19 Thread fahdi jbeli
Hi,
yesterday my spellchecker have been worked fine, but today I opened it to 
complete my work and when I press F7 it tell me

"the spell checker has no dictionaries"

then I check the path of hunspell by gonig to tools->Preference and in the 
textfield Path Préfix I typed "C:\Program Files (x86)\LyX 2.1\Resources\dicts"
wich contains all files xx_XX.aff/.dic and I typed in the textfield hunspell 
Dictionaries the same path "C:\Program Files (x86)\LyX 2.1\Resources\dicts"
and I make reconfigure but is still the same error :(.
Thanks



Re: the spell checker has no dictionaries lyx 2.1.0 (windows7)

2014-06-19 Thread Scott Kostyshak
On Thu, Jun 19, 2014 at 11:50 AM, fahdi jbeli  wrote:
> Hi,
> yesterday my spellchecker have been worked fine, but today I opened it to
> complete my work and when I press F7 it tell me
>
> "the spell checker has no dictionaries"
>
> then I check the path of hunspell by gonig to tools->Preference and in the
> textfield Path Préfix I typed "C:\Program Files (x86)\LyX 2.1\Resources\dicts"
> wich contains all files xx_XX.aff/.dic and I typed in the textfield hunspell
> Dictionaries the same path "C:\Program Files (x86)\LyX 2.1\Resources\dicts"
> and I make reconfigure but is still the same error :(.
> Thanks
>

Hi Fahdi,

When cross-posting, please always link to the other post(s) you made.
Here is one:
http://tex.stackexchange.com/questions/185624/the-spell-checker-has-no-dictionaries-lyx-2-1-0-windows7

I hope you get the problem solved!

Scott


Re: Python Graphics in LyX [was: Python bindings]

2014-06-19 Thread Stephan Witt
Am 19.06.2014 um 19:02 schrieb "Alex Vergara Gil" :

> - Original Message - From: "Wolfgang Keller"  Sent: 
> Thursday, June 19, 2014 9:23 AM
>> I couldn't open your attachment with 7zip on Windows.
>> 
>> Sincerely,
>> 
>> Wolfgang
>> 
> 
> That's odd, look my test in virtual win XP
> 
> Alex 
> <7zip.JPG>


I can decode the contents on Unix too.

$ xz -d -c /Users/stephan/Downloads/Software/Python\ Graphics.tar.xz | tar tf -
3D_map.pygr
contour_map.pygr
csv.pygr
dicom_show.pygr
errorbar_demo.pygr
errorbar_demo_features.pygr
example.pygr
example2.pygr
GE_COLOR_2.lut
histogram_demo_features.pygr
pc iart CT200.dcm
Python Graphics.lyx
Python Graphics.pdf
tips.csv
$ 

Stephan

buffer-export with date prepended

2014-06-19 Thread Jannick
I would like lyx to prepend the current date to the output .pdf name. I
think the cmd 'pdflatex $$i' is to adjusted. 

Thanks for your help.
J.



EnumItem - Formatting Description Tags with Typewriter font

2014-06-19 Thread uudruid74
In my LyX Preamble, I have ...


\setlist{itemsep=0ex,parsep=1ex,leftmargin=0.25cm}
\setenumerate{itemsep=1ex,parsep=1ex}
\setitemize{itemsep=0ex,parsep=0ex,leftmargin=1cm}

How do I set the font for the item (not the item's description) to the
typewriter font?  I already have the EnumItem module turned on and I'm using
KOMI Book (if that matters).

Any help appreciated!



--
View this message in context: 
http://lyx.475766.n2.nabble.com/EnumItem-Formatting-Description-Tags-with-Typewriter-font-tp7580290.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: EnumItem - Formatting Description Tags with Typewriter font

2014-06-19 Thread Scott Kostyshak
On Thu, Jun 19, 2014 at 11:30 PM, uudruid74  wrote:
> In my LyX Preamble, I have ...
>
>
> \setlist{itemsep=0ex,parsep=1ex,leftmargin=0.25cm}
> \setenumerate{itemsep=1ex,parsep=1ex}
> \setitemize{itemsep=0ex,parsep=0ex,leftmargin=1cm}
>
> How do I set the font for the item (not the item's description) to the
> typewriter font?  I already have the EnumItem module turned on and I'm using
> KOMI Book (if that matters).
>
> Any help appreciated!
>

Hi uudruid,

Whenever you cross-post, please always give the links to your other
posts. Here is one of them:
http://latex-community.org/forum/viewtopic.php?f=19=24900=1cf6dff3fc1f588c21b244ae0c5f0712

Scott


Shaded Tables?

2014-06-19 Thread uudruid74
Can LyX do shaded backgrounds in tables?  I want to shade every other line
(like old mainframe computer paper) so that large tables are easier to read.  
Can it do this without manually formatting every line?  Or would it be
easier to use a spreadsheet app and then print to a file and import it as a
big graphic?  Some combination of printer filters should give me an EPS or
whatever I could bring in.

Comments?  Ideas?  Suggestions?



--
View this message in context: 
http://lyx.475766.n2.nabble.com/Shaded-Tables-tp7580291.html
Sent from the LyX - Users mailing list archive at Nabble.com.