the next document I put together will me lyx

2009-11-08 Thread Neal Becker
http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.php



Re: Drawing tool for LyX

2009-11-08 Thread Stefaan Himpe
If you want to have a programming language in which you can accurately 
calculate your drawings, asymptote[1] is a good candidate.


Best regards,
Stefaan.

[1] http://http://asymptote.sourceforge.net/



Re: the next document I put together will me lyx

2009-11-08 Thread Steve Litt
On Sunday 08 November 2009 07:25:21 Neal Becker wrote:
 http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.ph
p

Great post Neal!

I think a lot of your responders missed the point that it's all about styles. 
I've made excellently formatted books in WordPerfect 5.1, MS Word and LyX. In 
all three my secret was using styles rather than formatting on a case by case 
basis. The real problem is that the mindset of MS Word authors is 
fingerpainting.

I really liked what one of your responders said:

Somewhere I have a text copy of my thesis, written in LaTeX. My guess is that 
18 years after the fact it'll still render a reasonable facsimile of the 
original. Try that with a proprietary word processor format.

Truer words have never been spoken!

Good article Neal!

Thanks,

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: the next document I put together will me lyx

2009-11-08 Thread Neal Becker
Steve Litt wrote:

 On Sunday 08 November 2009 07:25:21 Neal Becker wrote:
 
http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.ph
p
 
 Great post Neal!
 
 I think a lot of your responders missed the point that it's all about
 styles. I've made excellently formatted books in WordPerfect 5.1, MS Word
 and LyX. In all three my secret was using styles rather than formatting on
 a case by case basis. The real problem is that the mindset of MS Word
 authors is fingerpainting.
 
 I really liked what one of your responders said:
 
 Somewhere I have a text copy of my thesis, written in LaTeX. My guess is
 that 18 years after the fact it'll still render a reasonable facsimile of
 the original. Try that with a proprietary word processor format.
 
 Truer words have never been spoken!
 
 Good article Neal!
 

Sorry, I didn't write the article.  I just posted a link.



Re: Drawing tool for LyX

2009-11-08 Thread Jason Waskiewicz
I've found several tools that work for my drawings, depending on the 
application.


Inkscape is my favorite for diagrams or sketches of graphs. I can point 
you to one diagram I just made with it for my Chemistry class:


http://www.flickr.com/photos/waski_the_squirrel/4079787050/

You can also find my original diagram from before LaTeX and Inkscape in 
the same location.


For plots of data, I like Rlplot (which comes with my Ubuntu 
distribution). It exports data and mathematical functions as .svg files 
and they appear to be quite precise.


I've occasionally used the graphics of LaTeX for diagrams: TikZ and 
pstricks. I have only limited skill with these and, while I'm impressed 
with the results, I don't see the investment of time to be worth the 
return I get. Maybe in the future...


Anyway, match the tool with the need, and spend some time considering 
what exactly you want to do.


I jumped into this discussion late, but I hope this helps.

--Jason Waskiewicz
 Bowman County High School


Lyx doens't see installed latex package

2009-11-08 Thread phillip burns
Can anyone help me install a latex package?  I installed the package via 
MikTex and it's there but Lyx doens't see it after reconfiguring.
thanks



Re: Lyx doens't see installed latex package

2009-11-08 Thread Vincent van Ravesteijn

phillip burns schreef:
Can anyone help me install a latex package?  I installed the package via 
MikTex and it's there but Lyx doens't see it after reconfiguring.

thanks

  
Did you refresh the file name database. MikTeX options - General - 
Refresh FNDB ?


Vincent


Re: Lyx doens't see installed latex package

2009-11-08 Thread Paul A. Rubin

Vincent van Ravesteijn wrote:

phillip burns schreef:
Can anyone help me install a latex package?  I installed the package 
via MikTex and it's there but Lyx doens't see it after reconfiguring.

thanks

  
Did you refresh the file name database. MikTeX options - General - 
Refresh FNDB ?




This should not be necessary if the package was installed using the 
MiKTeX package manager (which does the refresh automatically as part of 
the installation process).


Does the package define a new document class?  If so, you need to create 
a LyX layout file for it before LyX will recognize it.  If it's just a 
helper package (the kind you load in the preamble with \usepackage), 
then you don't need a new layout.


A quick test of whether the package is properly installed is to open a 
DOS window and run kpsewhich whatever.sty (assuming the package 
creates a style file so named).  It should return the path to the 
installed file; if it returns an empty line, the package was not 
installed properly.


/Paul



table contents get cropped

2009-11-08 Thread Sajjad
Hello Forum,


I have inserted a 2 column table inside the table float . But the contents
are getting cropped.


Any hint to get around that issue?


Regards
Sajjad


Re: table contents get cropped

2009-11-08 Thread Uwe Stöhr

Sajjad schrieb:


I have inserted a 2 column table inside the table float . But the contents
are getting cropped.


I guess that you table columns are too wide to fit on the page. To fix this, set a defined with for 
the column tables.


For more info about tables, see the EmbeddedObjects manual that you fin in 
LyX's Help menu.

regards Uwe


Re: trouble using TeX Gyre Pagella instead of Palatino

2009-11-08 Thread Guenter Milde
On 2009-11-07, Liviu Andronic wrote:

 Dear all
 I get some unexpected behaviour when using the TeX Gyre Pagella font
 (using \usepackage{tgpagella} in the preamble) instead of Palatino

...
 It seems that with this combination LM Sans bold gets replaced with LM
 Sans regular [2], thus preventing me from using any bold sans
 characters in the document.
...
 Could anyone hint to what is going wrong in the Pagella document?

I suppose it is this re-definition:

\renewcommand\bfdefault{b}

which selects the weight b (bold) with the macro \textbf while the LaTeX
default is bx (bold extended).

Either use the TeX Gyre Hermes as matching sans serif font or undo this
change with 

\renewcommand\bfdefault{bx}

in the LaTex preamble (after \usepackage{tgpagella}, of course.

Günter




Re: Drawing tool for LyX

2009-11-08 Thread Guenter Milde
On 2009-11-07, Rich Shepard wrote:

...
However, some figures need to have lines that meet very precisely (no
 overshoots or gaps between them) or be placed with high precision. While
 this may well be possible and easy for those more skilled than I am, I found
 my xfig and similar figures to look sloppy when enlarged. 

- The 
+ One

 solution for this is to code the image as one would code LaTeX, and my
 preferred tool is PSTricks. The full power of PostScript is available
 and all sorts of complex graphics (including plots from data files) can
 be generated.

I prefer coded graphics for plots (with Gnuplot) and in cases where I
can re-use the code.

The problem of exactly matching edges or lines is easily solvable with
inkscape or ipe, as these support snapping of almost-matching line
endings as well as placement by specification of the exact coordinates.

Günter



Re: URL wraping - someone got it working?

2009-11-08 Thread Guenter Milde
On 2009-11-06, Sven Hoexter wrote:
 On Wed, Nov 04, 2009 at 05:28:13PM +0100, Uwe Stöhr wrote:
 Sven Hoexter schrieb:

 The Break links over lines checkbox in the document settings is activated
 and the 'breaklinks' setting is set in the tex export.

This will enable breaking hyperlinks 

- according to the normal rules for linebreaks in text
- if it is supported by the driver (i.e. with pdflatex, but not with dvips)

Generally, 'breaklinks' is rather an indicator than a setting. You might be
able to use it to suppress link wrapping, but it cannot be used to enable
this if not supported by the driver.

 With this settings it works for me, but you need to use
 Insert-Hyperlink instead of Insert-URL.

If you want to wrap a long URL at sensible break-points (like /),
you need the support of the url.sty package (which is loaded
implicitely by hyperref.sty). With lyx, this means that URLs inserted with
InsertURL are wrapped (at e.g. / but not at -) while URLs inserted with
InsertHyperlink are not!

Günter



#LyX 1.6.4 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\use_default_options true
\language british
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Standard
This is a link that will pass the borders of the page: 
\begin_inset CommandInset href
LatexCommand href
target 
http://www.google.at/search?hl=enclient=operarls=enhs=1sGq=lyx+wrap+weblinksbtnG=Search;

\end_inset


\end_layout

\begin_layout Standard
This is a link that wraps: 
\begin_inset CommandInset href
LatexCommand href
name Hyperlink will wrap according to the normal line breaking rules: at 
spaces and hyphenation points. Theres are missing inside a URL. Both parts link 
to the same site
target http://www.example.org;

\end_inset


\end_layout

\begin_layout Standard
This is a URL that wraps:
\end_layout

\begin_layout Standard
\begin_inset Flex URL
status open

\begin_layout Plain Layout
http://www.google.at/search?hl=enclient=operarls=enhs=1sGq=lyx+wrap+weblinksb
tnG=Search
\end_layout

\end_inset


\end_layout

\begin_layout Standard
If you require wrapping in a URL, use InsertURL instead of InsertHyperlink.
 The font of URLs can be defined with the ``
\backslash
urlstyle`` command.
 Valid arguments are
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
same normal text font
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
tt teletype (monospaced), LaTeX default,
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
rm roman, 
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
sf sans serif.
\end_layout

\end_body
\end_document



Re: trouble using TeX Gyre Pagella instead of Palatino

2009-11-08 Thread Liviu Andronic
On 11/8/09, Guenter Milde mi...@users.berlios.de wrote:
  Either use the TeX Gyre Hermes as matching sans serif font or undo this
  change with

  \renewcommand\bfdefault{bx}

  in the LaTex preamble (after \usepackage{tgpagella}, of course.

Nice. Using
\usepackage{tgpagella}
\renewcommand\bfdefault{bx}

with LM Sans works fine. And so does
\usepackage{tgpagella}
%\renewcommand\bfdefault{bx}
\usepackage{tgheros}

. By the way, did you mean TeX Gyre Heros [1] instead of Hermes? The
other possible candidate, Termes, is a serif font.
Thank you
Liviu

[1] http://www.tug.dk/FontCatalogue/tgheros/


Problems with shortcuts

2009-11-08 Thread Luca Carlon
Hi! I've written many formulas, but I still can't figure out how to use the
shortcut to write square parenthesis in a formula under MacOSX. I read I have to
use option-M and then the [, but if I press option+è I get 'unknown function'.
Round parenthesis are ok, but the others are not... am I doing something wrong?
Thanks!

Luca



Re: Problems with shortcuts

2009-11-08 Thread Guenter Milde
On 2009-11-09, Luca Carlon wrote:

 Hi! I've written many formulas, but I still can't figure out how to use
 the shortcut to write square parenthesis in a formula under MacOSX. I
 read I have to use option-M and then the [, but if I press option+è I
 get 'unknown function'. Round parenthesis are ok, but the others are
 not... am I doing something wrong? Thanks!

I would really be surprised, if option+è (i.e. option + LATIN SMALL
LETTER E WITH GRAVE) resulted in a opening square bracket by default!

It sound like on your keyboard the square brackets are not on the same
position as on a US keyboard (similar to my German keyboard, where I
acces them with AltGr+8 and AltGr+9).

As a quick fix, you might want to define a custom keybinding for the
function that inserts the opening bracket or the pair of brackets
(go to ToolsSettingsEditShortcuts and search for math-delim).

For future working out-of the box, you might need to file a bug report
with exact specification of your keyboard layout / system language setting.

Günter



Re: Problems including a document

2009-11-08 Thread Guenter Milde
On 2009-11-06, Manolo Martí­nez wrote:
 Eventually, the problem was with a typographic accent in one of the 
 references cited in the offending chapter. Thanks for your advise!

 As you said, the information in the compilation log is invaluable when 
 things go wrong. It's a pity that LyX does not provide this information 
 when it cannot compile. The error messages it does provide are, many 
 times, far from enough to track down a problem.
 Maybe a more intelligent behaviour by LyX would be to silently compile 
 when everything goes OK, but providing a pointer to the compilation log 
 when things go wrong?

AFAIK, this is LyX's default behaviour.

Did you try with DocumentLaTeX log after a compilation already?
I only miss a search function in the window that shows the log.

Günter



Re: Paragraph Indent Alignment in .layout file

2009-11-08 Thread Guenter Milde
On 2009-11-06, Jean-Marc Lasgouttes wrote:
 Guenter Milde mi...@users.berlios.de writes:

...
   the on-screen display should be (configurable to) leftalign instead of
   block align, *independent of the alignment in the output*

 OK. Then we should have a preference show justified text as left-aligned

This would be the right way indeed. I am looking forward to see this in my
next LyX.

 I do not think it is reasonable to modify layout files to get this result.

The 'leftalign.module' is just a temporary workaround. It works around the
problem of bad LyX-display in lists and section headings (where it is quite
common to have holes in the block-aligned display).

Günter





Re: Problems with shortcuts

2009-11-08 Thread Luca Carlon
Guenter Milde mi...@... writes:
 I would really be surprised, if option+è (i.e. option + LATIN SMALL
 LETTER E WITH GRAVE) resulted in a opening square bracket by default!
 
 It sound like on your keyboard the square brackets are not on the same
 position as on a US keyboard (similar to my German keyboard, where I
 acces them with AltGr+8 and AltGr+9).
 
 As a quick fix, you might want to define a custom keybinding for the
 function that inserts the opening bracket or the pair of brackets
 (go to ToolsSettingsEditShortcuts and search for math-delim).
 
 For future working out-of the box, you might need to file a bug report
 with exact specification of your keyboard layout / system language setting.
 
 Günter

Sorry, my keyboard is, indeed, an italian keyboard. System is set to work with
an italian keyboard. alt+è does result in an open square bracket anywhere,
including LyX... I'll report this.
Thanks!

Luca



the next document I put together will me lyx

2009-11-08 Thread Neal Becker
http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.php



Re: Drawing tool for LyX

2009-11-08 Thread Stefaan Himpe
If you want to have a programming language in which you can accurately 
calculate your drawings, asymptote[1] is a good candidate.


Best regards,
Stefaan.

[1] http://http://asymptote.sourceforge.net/



Re: the next document I put together will me lyx

2009-11-08 Thread Steve Litt
On Sunday 08 November 2009 07:25:21 Neal Becker wrote:
 http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.ph
p

Great post Neal!

I think a lot of your responders missed the point that it's all about styles. 
I've made excellently formatted books in WordPerfect 5.1, MS Word and LyX. In 
all three my secret was using styles rather than formatting on a case by case 
basis. The real problem is that the mindset of MS Word authors is 
fingerpainting.

I really liked what one of your responders said:

Somewhere I have a text copy of my thesis, written in LaTeX. My guess is that 
18 years after the fact it'll still render a reasonable facsimile of the 
original. Try that with a proprietary word processor format.

Truer words have never been spoken!

Good article Neal!

Thanks,

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: the next document I put together will me lyx

2009-11-08 Thread Neal Becker
Steve Litt wrote:

 On Sunday 08 November 2009 07:25:21 Neal Becker wrote:
 
http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.ph
p
 
 Great post Neal!
 
 I think a lot of your responders missed the point that it's all about
 styles. I've made excellently formatted books in WordPerfect 5.1, MS Word
 and LyX. In all three my secret was using styles rather than formatting on
 a case by case basis. The real problem is that the mindset of MS Word
 authors is fingerpainting.
 
 I really liked what one of your responders said:
 
 Somewhere I have a text copy of my thesis, written in LaTeX. My guess is
 that 18 years after the fact it'll still render a reasonable facsimile of
 the original. Try that with a proprietary word processor format.
 
 Truer words have never been spoken!
 
 Good article Neal!
 

Sorry, I didn't write the article.  I just posted a link.



Re: Drawing tool for LyX

2009-11-08 Thread Jason Waskiewicz
I've found several tools that work for my drawings, depending on the 
application.


Inkscape is my favorite for diagrams or sketches of graphs. I can point 
you to one diagram I just made with it for my Chemistry class:


http://www.flickr.com/photos/waski_the_squirrel/4079787050/

You can also find my original diagram from before LaTeX and Inkscape in 
the same location.


For plots of data, I like Rlplot (which comes with my Ubuntu 
distribution). It exports data and mathematical functions as .svg files 
and they appear to be quite precise.


I've occasionally used the graphics of LaTeX for diagrams: TikZ and 
pstricks. I have only limited skill with these and, while I'm impressed 
with the results, I don't see the investment of time to be worth the 
return I get. Maybe in the future...


Anyway, match the tool with the need, and spend some time considering 
what exactly you want to do.


I jumped into this discussion late, but I hope this helps.

--Jason Waskiewicz
 Bowman County High School


Lyx doens't see installed latex package

2009-11-08 Thread phillip burns
Can anyone help me install a latex package?  I installed the package via 
MikTex and it's there but Lyx doens't see it after reconfiguring.
thanks



Re: Lyx doens't see installed latex package

2009-11-08 Thread Vincent van Ravesteijn

phillip burns schreef:
Can anyone help me install a latex package?  I installed the package via 
MikTex and it's there but Lyx doens't see it after reconfiguring.

thanks

  
Did you refresh the file name database. MikTeX options - General - 
Refresh FNDB ?


Vincent


Re: Lyx doens't see installed latex package

2009-11-08 Thread Paul A. Rubin

Vincent van Ravesteijn wrote:

phillip burns schreef:
Can anyone help me install a latex package?  I installed the package 
via MikTex and it's there but Lyx doens't see it after reconfiguring.

thanks

  
Did you refresh the file name database. MikTeX options - General - 
Refresh FNDB ?




This should not be necessary if the package was installed using the 
MiKTeX package manager (which does the refresh automatically as part of 
the installation process).


Does the package define a new document class?  If so, you need to create 
a LyX layout file for it before LyX will recognize it.  If it's just a 
helper package (the kind you load in the preamble with \usepackage), 
then you don't need a new layout.


A quick test of whether the package is properly installed is to open a 
DOS window and run kpsewhich whatever.sty (assuming the package 
creates a style file so named).  It should return the path to the 
installed file; if it returns an empty line, the package was not 
installed properly.


/Paul



table contents get cropped

2009-11-08 Thread Sajjad
Hello Forum,


I have inserted a 2 column table inside the table float . But the contents
are getting cropped.


Any hint to get around that issue?


Regards
Sajjad


Re: table contents get cropped

2009-11-08 Thread Uwe Stöhr

Sajjad schrieb:


I have inserted a 2 column table inside the table float . But the contents
are getting cropped.


I guess that you table columns are too wide to fit on the page. To fix this, set a defined with for 
the column tables.


For more info about tables, see the EmbeddedObjects manual that you fin in 
LyX's Help menu.

regards Uwe


Re: trouble using TeX Gyre Pagella instead of Palatino

2009-11-08 Thread Guenter Milde
On 2009-11-07, Liviu Andronic wrote:

 Dear all
 I get some unexpected behaviour when using the TeX Gyre Pagella font
 (using \usepackage{tgpagella} in the preamble) instead of Palatino

...
 It seems that with this combination LM Sans bold gets replaced with LM
 Sans regular [2], thus preventing me from using any bold sans
 characters in the document.
...
 Could anyone hint to what is going wrong in the Pagella document?

I suppose it is this re-definition:

\renewcommand\bfdefault{b}

which selects the weight b (bold) with the macro \textbf while the LaTeX
default is bx (bold extended).

Either use the TeX Gyre Hermes as matching sans serif font or undo this
change with 

\renewcommand\bfdefault{bx}

in the LaTex preamble (after \usepackage{tgpagella}, of course.

Günter




Re: Drawing tool for LyX

2009-11-08 Thread Guenter Milde
On 2009-11-07, Rich Shepard wrote:

...
However, some figures need to have lines that meet very precisely (no
 overshoots or gaps between them) or be placed with high precision. While
 this may well be possible and easy for those more skilled than I am, I found
 my xfig and similar figures to look sloppy when enlarged. 

- The 
+ One

 solution for this is to code the image as one would code LaTeX, and my
 preferred tool is PSTricks. The full power of PostScript is available
 and all sorts of complex graphics (including plots from data files) can
 be generated.

I prefer coded graphics for plots (with Gnuplot) and in cases where I
can re-use the code.

The problem of exactly matching edges or lines is easily solvable with
inkscape or ipe, as these support snapping of almost-matching line
endings as well as placement by specification of the exact coordinates.

Günter



Re: URL wraping - someone got it working?

2009-11-08 Thread Guenter Milde
On 2009-11-06, Sven Hoexter wrote:
 On Wed, Nov 04, 2009 at 05:28:13PM +0100, Uwe Stöhr wrote:
 Sven Hoexter schrieb:

 The Break links over lines checkbox in the document settings is activated
 and the 'breaklinks' setting is set in the tex export.

This will enable breaking hyperlinks 

- according to the normal rules for linebreaks in text
- if it is supported by the driver (i.e. with pdflatex, but not with dvips)

Generally, 'breaklinks' is rather an indicator than a setting. You might be
able to use it to suppress link wrapping, but it cannot be used to enable
this if not supported by the driver.

 With this settings it works for me, but you need to use
 Insert-Hyperlink instead of Insert-URL.

If you want to wrap a long URL at sensible break-points (like /),
you need the support of the url.sty package (which is loaded
implicitely by hyperref.sty). With lyx, this means that URLs inserted with
InsertURL are wrapped (at e.g. / but not at -) while URLs inserted with
InsertHyperlink are not!

Günter



#LyX 1.6.4 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\use_default_options true
\language british
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Standard
This is a link that will pass the borders of the page: 
\begin_inset CommandInset href
LatexCommand href
target 
http://www.google.at/search?hl=enclient=operarls=enhs=1sGq=lyx+wrap+weblinksbtnG=Search;

\end_inset


\end_layout

\begin_layout Standard
This is a link that wraps: 
\begin_inset CommandInset href
LatexCommand href
name Hyperlink will wrap according to the normal line breaking rules: at 
spaces and hyphenation points. Theres are missing inside a URL. Both parts link 
to the same site
target http://www.example.org;

\end_inset


\end_layout

\begin_layout Standard
This is a URL that wraps:
\end_layout

\begin_layout Standard
\begin_inset Flex URL
status open

\begin_layout Plain Layout
http://www.google.at/search?hl=enclient=operarls=enhs=1sGq=lyx+wrap+weblinksb
tnG=Search
\end_layout

\end_inset


\end_layout

\begin_layout Standard
If you require wrapping in a URL, use InsertURL instead of InsertHyperlink.
 The font of URLs can be defined with the ``
\backslash
urlstyle`` command.
 Valid arguments are
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
same normal text font
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
tt teletype (monospaced), LaTeX default,
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
rm roman, 
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
sf sans serif.
\end_layout

\end_body
\end_document



Re: trouble using TeX Gyre Pagella instead of Palatino

2009-11-08 Thread Liviu Andronic
On 11/8/09, Guenter Milde mi...@users.berlios.de wrote:
  Either use the TeX Gyre Hermes as matching sans serif font or undo this
  change with

  \renewcommand\bfdefault{bx}

  in the LaTex preamble (after \usepackage{tgpagella}, of course.

Nice. Using
\usepackage{tgpagella}
\renewcommand\bfdefault{bx}

with LM Sans works fine. And so does
\usepackage{tgpagella}
%\renewcommand\bfdefault{bx}
\usepackage{tgheros}

. By the way, did you mean TeX Gyre Heros [1] instead of Hermes? The
other possible candidate, Termes, is a serif font.
Thank you
Liviu

[1] http://www.tug.dk/FontCatalogue/tgheros/


Problems with shortcuts

2009-11-08 Thread Luca Carlon
Hi! I've written many formulas, but I still can't figure out how to use the
shortcut to write square parenthesis in a formula under MacOSX. I read I have to
use option-M and then the [, but if I press option+è I get 'unknown function'.
Round parenthesis are ok, but the others are not... am I doing something wrong?
Thanks!

Luca



Re: Problems with shortcuts

2009-11-08 Thread Guenter Milde
On 2009-11-09, Luca Carlon wrote:

 Hi! I've written many formulas, but I still can't figure out how to use
 the shortcut to write square parenthesis in a formula under MacOSX. I
 read I have to use option-M and then the [, but if I press option+è I
 get 'unknown function'. Round parenthesis are ok, but the others are
 not... am I doing something wrong? Thanks!

I would really be surprised, if option+è (i.e. option + LATIN SMALL
LETTER E WITH GRAVE) resulted in a opening square bracket by default!

It sound like on your keyboard the square brackets are not on the same
position as on a US keyboard (similar to my German keyboard, where I
acces them with AltGr+8 and AltGr+9).

As a quick fix, you might want to define a custom keybinding for the
function that inserts the opening bracket or the pair of brackets
(go to ToolsSettingsEditShortcuts and search for math-delim).

For future working out-of the box, you might need to file a bug report
with exact specification of your keyboard layout / system language setting.

Günter



Re: Problems including a document

2009-11-08 Thread Guenter Milde
On 2009-11-06, Manolo Martí­nez wrote:
 Eventually, the problem was with a typographic accent in one of the 
 references cited in the offending chapter. Thanks for your advise!

 As you said, the information in the compilation log is invaluable when 
 things go wrong. It's a pity that LyX does not provide this information 
 when it cannot compile. The error messages it does provide are, many 
 times, far from enough to track down a problem.
 Maybe a more intelligent behaviour by LyX would be to silently compile 
 when everything goes OK, but providing a pointer to the compilation log 
 when things go wrong?

AFAIK, this is LyX's default behaviour.

Did you try with DocumentLaTeX log after a compilation already?
I only miss a search function in the window that shows the log.

Günter



Re: Paragraph Indent Alignment in .layout file

2009-11-08 Thread Guenter Milde
On 2009-11-06, Jean-Marc Lasgouttes wrote:
 Guenter Milde mi...@users.berlios.de writes:

...
   the on-screen display should be (configurable to) leftalign instead of
   block align, *independent of the alignment in the output*

 OK. Then we should have a preference show justified text as left-aligned

This would be the right way indeed. I am looking forward to see this in my
next LyX.

 I do not think it is reasonable to modify layout files to get this result.

The 'leftalign.module' is just a temporary workaround. It works around the
problem of bad LyX-display in lists and section headings (where it is quite
common to have holes in the block-aligned display).

Günter





Re: Problems with shortcuts

2009-11-08 Thread Luca Carlon
Guenter Milde mi...@... writes:
 I would really be surprised, if option+è (i.e. option + LATIN SMALL
 LETTER E WITH GRAVE) resulted in a opening square bracket by default!
 
 It sound like on your keyboard the square brackets are not on the same
 position as on a US keyboard (similar to my German keyboard, where I
 acces them with AltGr+8 and AltGr+9).
 
 As a quick fix, you might want to define a custom keybinding for the
 function that inserts the opening bracket or the pair of brackets
 (go to ToolsSettingsEditShortcuts and search for math-delim).
 
 For future working out-of the box, you might need to file a bug report
 with exact specification of your keyboard layout / system language setting.
 
 Günter

Sorry, my keyboard is, indeed, an italian keyboard. System is set to work with
an italian keyboard. alt+è does result in an open square bracket anywhere,
including LyX... I'll report this.
Thanks!

Luca



the next document I put together will me lyx

2009-11-08 Thread Neal Becker
http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.php



Re: Drawing tool for LyX

2009-11-08 Thread Stefaan Himpe
If you want to have a programming language in which you can accurately 
"calculate" your drawings, "asymptote"[1] is a good candidate.


Best regards,
Stefaan.

[1] http://http://asymptote.sourceforge.net/



Re: the next document I put together will me lyx

2009-11-08 Thread Steve Litt
On Sunday 08 November 2009 07:25:21 Neal Becker wrote:
> http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.ph
>p

Great post Neal!

I think a lot of your responders missed the point that it's all about styles. 
I've made excellently formatted books in WordPerfect 5.1, MS Word and LyX. In 
all three my secret was using styles rather than formatting on a case by case 
basis. The real problem is that the mindset of MS Word authors is 
fingerpainting.

I really liked what one of your responders said:

"Somewhere I have a text copy of my thesis, written in LaTeX. My guess is that 
18 years after the fact it'll still render a reasonable facsimile of the 
original. Try that with a proprietary word processor format."

Truer words have never been spoken!

Good article Neal!

Thanks,

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: the next document I put together will me lyx

2009-11-08 Thread Neal Becker
Steve Litt wrote:

> On Sunday 08 November 2009 07:25:21 Neal Becker wrote:
>> 
http://scienceblogs.com/gregladen/2009/11/the_next_document_i_put_togeth.ph
>>p
> 
> Great post Neal!
> 
> I think a lot of your responders missed the point that it's all about
> styles. I've made excellently formatted books in WordPerfect 5.1, MS Word
> and LyX. In all three my secret was using styles rather than formatting on
> a case by case basis. The real problem is that the mindset of MS Word
> authors is fingerpainting.
> 
> I really liked what one of your responders said:
> 
> "Somewhere I have a text copy of my thesis, written in LaTeX. My guess is
> that 18 years after the fact it'll still render a reasonable facsimile of
> the original. Try that with a proprietary word processor format."
> 
> Truer words have never been spoken!
> 
> Good article Neal!
> 

Sorry, I didn't write the article.  I just posted a link.



Re: Drawing tool for LyX

2009-11-08 Thread Jason Waskiewicz
I've found several tools that work for my drawings, depending on the 
application.


Inkscape is my favorite for diagrams or sketches of graphs. I can point 
you to one diagram I just made with it for my Chemistry class:


http://www.flickr.com/photos/waski_the_squirrel/4079787050/

You can also find my original diagram from before LaTeX and Inkscape in 
the same location.


For plots of data, I like Rlplot (which comes with my Ubuntu 
distribution). It exports data and mathematical functions as .svg files 
and they appear to be quite precise.


I've occasionally used the graphics of LaTeX for diagrams: TikZ and 
pstricks. I have only limited skill with these and, while I'm impressed 
with the results, I don't see the investment of time to be worth the 
return I get. Maybe in the future...


Anyway, match the tool with the need, and spend some time considering 
what exactly you want to do.


I jumped into this discussion late, but I hope this helps.

--Jason Waskiewicz
 Bowman County High School


Lyx doens't see installed latex package

2009-11-08 Thread phillip burns
Can anyone help me install a latex package?  I installed the package via 
MikTex and it's there but Lyx doens't see it after reconfiguring.
thanks



Re: Lyx doens't see installed latex package

2009-11-08 Thread Vincent van Ravesteijn

phillip burns schreef:
Can anyone help me install a latex package?  I installed the package via 
MikTex and it's there but Lyx doens't see it after reconfiguring.

thanks

  
Did you refresh the file name database. MikTeX options -> General -> 
Refresh FNDB ?


Vincent


Re: Lyx doens't see installed latex package

2009-11-08 Thread Paul A. Rubin

Vincent van Ravesteijn wrote:

phillip burns schreef:
Can anyone help me install a latex package?  I installed the package 
via MikTex and it's there but Lyx doens't see it after reconfiguring.

thanks

  
Did you refresh the file name database. MikTeX options -> General -> 
Refresh FNDB ?




This should not be necessary if the package was installed using the 
MiKTeX package manager (which does the refresh automatically as part of 
the installation process).


Does the package define a new document class?  If so, you need to create 
a LyX layout file for it before LyX will recognize it.  If it's just a 
"helper" package (the kind you load in the preamble with \usepackage), 
then you don't need a new layout.


A quick test of whether the package is properly installed is to open a 
DOS window and run "kpsewhich whatever.sty" (assuming the package 
creates a style file so named).  It should return the path to the 
installed file; if it returns an empty line, the package was not 
installed properly.


/Paul



table contents get cropped

2009-11-08 Thread Sajjad
Hello Forum,


I have inserted a 2 column table inside the table float . But the contents
are getting cropped.


Any hint to get around that issue?


Regards
Sajjad


Re: table contents get cropped

2009-11-08 Thread Uwe Stöhr

Sajjad schrieb:


I have inserted a 2 column table inside the table float . But the contents
are getting cropped.


I guess that you table columns are too wide to fit on the page. To fix this, set a defined with for 
the column tables.


For more info about tables, see the EmbeddedObjects manual that you fin in 
LyX's Help menu.

regards Uwe


Re: trouble using TeX Gyre Pagella instead of Palatino

2009-11-08 Thread Guenter Milde
On 2009-11-07, Liviu Andronic wrote:

> Dear all
> I get some unexpected behaviour when using the TeX Gyre Pagella font
> (using "\usepackage{tgpagella}" in the preamble) instead of Palatino

...
> It seems that with this combination LM Sans bold gets replaced with LM
> Sans regular [2], thus preventing me from using any bold sans
> characters in the document.
...
> Could anyone hint to what is going wrong in the Pagella document?

I suppose it is this re-definition:

\renewcommand\bfdefault{b}

which selects the weight b (bold) with the macro \textbf while the LaTeX
default is bx (bold extended).

Either use the TeX Gyre Hermes as matching sans serif font or undo this
change with 

\renewcommand\bfdefault{bx}

in the LaTex preamble (after \usepackage{tgpagella}, of course.

Günter




Re: Drawing tool for LyX

2009-11-08 Thread Guenter Milde
On 2009-11-07, Rich Shepard wrote:

...
>However, some figures need to have lines that meet very precisely (no
> overshoots or gaps between them) or be placed with high precision. While
> this may well be possible and easy for those more skilled than I am, I found
> my xfig and similar figures to look sloppy when enlarged. 

- The 
+ One

> solution for this is to code the image as one would code LaTeX, and my
> preferred tool is PSTricks. The full power of PostScript is available
> and all sorts of complex graphics (including plots from data files) can
> be generated.

I prefer "coded" graphics for plots (with Gnuplot) and in cases where I
can re-use the code.

The problem of exactly matching edges or lines is easily solvable with
inkscape or ipe, as these support "snapping" of almost-matching line
endings as well as placement by specification of the exact coordinates.

Günter



Re: URL wraping - someone got it working?

2009-11-08 Thread Guenter Milde
On 2009-11-06, Sven Hoexter wrote:
> On Wed, Nov 04, 2009 at 05:28:13PM +0100, Uwe Stöhr wrote:
>> Sven Hoexter schrieb:

>> >The "Break links over lines" checkbox in the document settings is activated
>> >and the 'breaklinks' setting is set in the tex export.

This will enable breaking hyperlinks 

- according to the normal rules for linebreaks in text
- if it is supported by the driver (i.e. with pdflatex, but not with dvips)

Generally, 'breaklinks' is rather an indicator than a setting. You might be
able to use it to suppress link wrapping, but it cannot be used to enable
this if not supported by the driver.

>> With this settings it works for me, but you need to use
>> Insert->Hyperlink instead of Insert->URL.

If you want to wrap a long URL at "sensible" break-points (like /),
you need the support of the url.sty package (which is loaded
implicitely by hyperref.sty). With lyx, this means that URLs inserted with
Insert>URL are wrapped (at e.g. / but not at -) while URLs inserted with
Insert>Hyperlink are not!

Günter



#LyX 1.6.4 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\use_default_options true
\language british
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Standard
This is a link that will pass the borders of the page: 
\begin_inset CommandInset href
LatexCommand href
target 
"http://www.google.at/search?hl=en=opera=en=1sG=lyx+wrap+weblinks=Search;

\end_inset


\end_layout

\begin_layout Standard
This is a link that wraps: 
\begin_inset CommandInset href
LatexCommand href
name "Hyperlink will wrap according to the normal line breaking rules: at 
spaces and hyphenation points. Theres are missing inside a URL. Both parts link 
to the same site"
target "http://www.example.org;

\end_inset


\end_layout

\begin_layout Standard
This is a URL that wraps:
\end_layout

\begin_layout Standard
\begin_inset Flex URL
status open

\begin_layout Plain Layout
http://www.google.at/search?hl=en=opera=en=1sG=lyx+wrap+weblinks
tnG=Search
\end_layout

\end_inset


\end_layout

\begin_layout Standard
If you require wrapping in a URL, use Insert>URL instead of Insert>Hyperlink.
 The font of URLs can be defined with the ``
\backslash
urlstyle`` command.
 Valid arguments are
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
same normal text font
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
tt teletype (monospaced), LaTeX default,
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
rm roman, 
\end_layout

\begin_layout Labeling
\labelwidthstring 00.00.
sf sans serif.
\end_layout

\end_body
\end_document



Re: trouble using TeX Gyre Pagella instead of Palatino

2009-11-08 Thread Liviu Andronic
On 11/8/09, Guenter Milde  wrote:
>  Either use the TeX Gyre Hermes as matching sans serif font or undo this
>  change with
>
>  \renewcommand\bfdefault{bx}
>
>  in the LaTex preamble (after \usepackage{tgpagella}, of course.
>
Nice. Using
\usepackage{tgpagella}
\renewcommand\bfdefault{bx}

with LM Sans works fine. And so does
\usepackage{tgpagella}
%\renewcommand\bfdefault{bx}
\usepackage{tgheros}

. By the way, did you mean TeX Gyre Heros [1] instead of "Hermes"? The
other possible candidate, Termes, is a serif font.
Thank you
Liviu

[1] http://www.tug.dk/FontCatalogue/tgheros/


Problems with shortcuts

2009-11-08 Thread Luca Carlon
Hi! I've written many formulas, but I still can't figure out how to use the
shortcut to write square parenthesis in a formula under MacOSX. I read I have to
use option-M and then the [, but if I press option+è I get 'unknown function'.
Round parenthesis are ok, but the others are not... am I doing something wrong?
Thanks!

Luca



Re: Problems with shortcuts

2009-11-08 Thread Guenter Milde
On 2009-11-09, Luca Carlon wrote:

> Hi! I've written many formulas, but I still can't figure out how to use
> the shortcut to write square parenthesis in a formula under MacOSX. I
> read I have to use option-M and then the [, but if I press option+è I
> get 'unknown function'. Round parenthesis are ok, but the others are
> not... am I doing something wrong? Thanks!

I would really be surprised, if "option+è" (i.e. option + LATIN SMALL
LETTER E WITH GRAVE) resulted in a opening square bracket by default!

It sound like on your keyboard the square brackets are not on the same
position as on a US keyboard (similar to my German keyboard, where I
acces them with AltGr+8 and AltGr+9).

As a quick fix, you might want to define a custom keybinding for the
function that inserts the opening bracket or the pair of brackets
(go to Tools>Settings>Edit>Shortcuts and search for math-delim).

For future working out-of the box, you might need to file a bug report
with exact specification of your keyboard layout / system language setting.

Günter



Re: Problems including a document

2009-11-08 Thread Guenter Milde
On 2009-11-06, Manolo Martí­nez wrote:
> Eventually, the problem was with a typographic accent in one of the 
> references cited in the offending chapter. Thanks for your advise!

> As you said, the information in the compilation log is invaluable when 
> things go wrong. It's a pity that LyX does not provide this information 
> when it cannot compile. The error messages it does provide are, many 
> times, far from enough to track down a problem.
> Maybe a more intelligent behaviour by LyX would be to silently compile 
> when everything goes OK, but providing a pointer to the compilation log 
> when things go wrong?

AFAIK, this is LyX's default behaviour.

Did you try with Document>LaTeX log after a compilation already?
I only miss a search function in the window that shows the log.

Günter



Re: Paragraph Indent Alignment in .layout file

2009-11-08 Thread Guenter Milde
On 2009-11-06, Jean-Marc Lasgouttes wrote:
> Guenter Milde  writes:

...
>>   the on-screen display should be (configurable to) leftalign instead of
>>   block align, *independent of the alignment in the output*

> OK. Then we should have a preference "show justified text as left-aligned"

This would be "the right way" indeed. I am looking forward to see this in my
next LyX.

> I do not think it is reasonable to modify layout files to get this result.

The 'leftalign.module' is just a temporary workaround. It works around the
problem of bad LyX-display in lists and section headings (where it is quite
common to have "holes" in the block-aligned display).

Günter





Re: Problems with shortcuts

2009-11-08 Thread Luca Carlon
Guenter Milde  writes:
> I would really be surprised, if "option+è" (i.e. option + LATIN SMALL
> LETTER E WITH GRAVE) resulted in a opening square bracket by default!
> 
> It sound like on your keyboard the square brackets are not on the same
> position as on a US keyboard (similar to my German keyboard, where I
> acces them with AltGr+8 and AltGr+9).
> 
> As a quick fix, you might want to define a custom keybinding for the
> function that inserts the opening bracket or the pair of brackets
> (go to Tools>Settings>Edit>Shortcuts and search for math-delim).
> 
> For future working out-of the box, you might need to file a bug report
> with exact specification of your keyboard layout / system language setting.
> 
> Günter

Sorry, my keyboard is, indeed, an italian keyboard. System is set to work with
an italian keyboard. alt+è does result in an open square bracket anywhere,
including LyX... I'll report this.
Thanks!

Luca