Seeing invisible table grid lines in the GUI

2014-01-22 Thread Maria Gouskova
Hi LyX users,

I use LyX on several computers (all version 2.0.6) and cannot figure
out which setting allows one to see invisible table grid lines. They
helpfully show up as light gray lines on the Macs running 10.6.8, but
not on the one running 10.8.5. Is this a setting somewhere in the GUI
that I need to turn on?

Maria


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Scott Kostyshak
On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,

 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?

 Maria

Hi Maria,

I've never heard of this particular issue but other Mac-related screen
issues have been solved by zooming. In Tools  Preferences  Look 
Feel  Screen Fonts, does increasing Zoom help?

Best,

Scott


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Maria Gouskova
On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,

 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?

 Maria

 Hi Maria,

 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?

 Best,

 Scott

Hi Scott,

No, it didn't make a difference. I increased it from 150% to 250%, no
hint of grid lines.

Am I imagining that showing/hiding table gridlines used to be a
setting in the GUI somewhere?

Maria


using native 'math macros' as 'text macros'

2014-01-22 Thread Liviu Andronic
Dear all,
I would like to use in my LyX documents something that would resemble
text macros. I'm aware of http://www.lyx.org/trac/ticket/1704 and of
solutions such as
http://tex.stackexchange.com/questions/12747/keeping-the-names-of-things-consistent-in-lyx
, but I'm wondering if the existing 'math macro' machinery can be used
for this.

For example, I am writing cover letters and the recipient is mentioned
at least in three different places in the letter. When writing to a
different recipient, I often simply change the name (in addition to
some other minor modifications). I want to avoid needing to change the
name three times, which is prone to errors and misspellings. (Another
similar use case is when writing technical documentation as described
here: 
http://tex.stackexchange.com/questions/12747/keeping-the-names-of-things-consistent-in-lyx
.)

Is there a straightforward, native way (i.e. non-ERT) to do this in
LyX? I tried to use 'math macros' for this job (see attached):
- insert  math  macro
- Name= '\myname'
- TeX = ctrl+m to put the text into an mbox, then type 'M. Simpson'

But sofar I identified two issues:
- hyphenation/line breaks. Since the text is within a math inset, I
assume that TeX treats it as a single block and fails to hyphenate it
in certain instances. I'm not sure how to solve this, as I cannot
insert a hyphenation point into the macro.
- formatting and on-screen rendering. If for example in one place of
the text the macro is emphasized, and in another it is noun-ed, LyX
won't recognize that and display the instant preview using regular,
default font. This is minor, of course, but distracting.

So, is it a good or bad idea to use math macros to emulate text
macros? Is there a nicer approach?

Regards,
Liviu

-- 
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


text macro.lyx
Description: Binary data


text macro.pdf
Description: Adobe PDF document


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Scott Kostyshak
On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,

 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?

 Maria

 Hi Maria,

 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?

 Best,

 Scott

 Hi Scott,

 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.

 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?

You could be right. I don't remember. You could see if there are any
differences in your preferences between the two computers. But I'm
guessing it's a Qt related issue.

Scott


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Stephen Buonopane

On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:

 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
 
 Hi Maria,
 
 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?
 
 Best,
 
 Scott
 
 Hi Scott,
 
 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.
 
 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?
 
 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.
 
 Scott


Try this perhaps
LyX-Preferences-Look  Feel-Colors-table on/off line (last entry in the 
list)

I am on LyX 2.06, OSX 10.7.5.

Steve



Re: How to configure plantuml with lyx

2014-01-22 Thread rajender saini
Here are all the files

1) sample.plantuml

@startuml

title sample dia

' Diagram for adding participant to a Chat Group
' Rajender Saini



participant Endpoint A as EPA
participant Gateway as Gateway
participant Endpoint B as EPB
participant Endpoint C as EPC
autonumber
EPA - Gateway:Register

@enduml

---
2) newfile1.lyx

-

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Section
test lyx document to include plantuml graphics.
\end_layout

\begin_layout Standard
\begin_inset Graphics
filename seq.plantuml

\end_inset


\end_layout

\end_body
\end_document

--

converters are configured as suggested above in the thread. Please note
that you need plantuml.jar to configure plantuml.

Regards,
Rajender saini







On Fri, Jan 17, 2014 at 12:29 AM, Rainer M Krug rai...@krugs.de wrote:

 On 17 January 2014 09:01, rajender saini rajendersa...@gmail.com wrote:

 Thanks Rainer, I am able to generate diagram into lyx master file using
 the steps shared by you. Thank you very much.



 My master file include the .plantuml file as graphic as suggested by you
 and it is working fine.


 I assume you mean that you can see the .plantuml file as a picture in LyX?
 Good to hear. So the .plantuml - .svg - .png is working.


 I wanted to export whole file as PDF so


 pdflatex? That is what I use.



 Next I used inkscape to convert SVG to PDF by adding convertor.

 when i run export as PDF image is not included into the master PDF doc.


 The conversion should be done by LyX. AS I said, I use rsvg, and it works
 as expected.




  I can see the SVG to PDF conversion happening into the temp cache
 directory. but somehow it is not included into master file any pointer will
 help.


 Hm - no idea here - if the conversion to a .svg - .pdf I have no idea why
 it is not included. Just make a small example .lyx file and post it here
 together with the .plantuml file so that I can try it out if it works here.

 Cheers,

 Rainer





 Regards,
 Rajender Saini


 On Thu, Jan 16, 2014 at 11:56 AM, rajender saini rajendersa...@gmail.com
  wrote:

 Thank you very much Rainer for immediate response. I will follow these
 steps and come back if I have any issue.


 On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On 01/16/14, 06:14 , rajender saini wrote:
  I got your reference from the gmail lyx posting. Can you help me
  with the steps include plant uml file into lyx file and
  automatically get it converted into image when we include it into
  the lyx master file ?

 Sure.

 I will CC it to the LyX list to have it there for reference.

 I assume you have downloaded plantuml.

 1) Define a new File Format, named plantuml:

 Vector graphics format: I ticked it - what are actually the
 implications of this field?
 Short name: plantuml
 Extension:  plantuml
 So all files with the extension .plantuml will be considered as
 plantuml source code files files!

 Editor: I choose Emacs, but set any text editor you want.

 In the preferences files, this corresponds to the following line in
 the formats section:

 \format plantuml plantuml plantuml   open -n -a Emacs
 - --args --name LyX --title LyX --no-desktop vector

 Now we have to define the converters, i.e. how to convert the plantuml
 file into a format usable by the converter chain in LyX. This now
 depends on you installed converters, but I got the best results when
 using svg as the *only* output format of plantuml, and then use the
 standard converter tools of LyX to convert these into 

Re: Figure float in multipage box

2014-01-22 Thread Jürgen Spitzmüller
Frank Leone wrote:
 Thanks a lot for the answer, Jürgen, that indeed explains the problem. 
 However, I don't get why Figure wrap float does work, even though it is 
 also a float.

Don't know either. I suppose it is implemented differently-

 And the solution suggested on the website regrettably does not help in my 
 case: I can't switch the box and figure, as I need the lines of the box to 
 include the figure and, more importantly, the box float is (if I understand 
 correctly) the only multi-page float.
 
 Is there a way to make the figure wrap float non-wrappable, i.e., to have
 no  text at the side(s)?
 
 Thanks again!

Is it really important that your figure floats within the box, or do you just 
need the caption? In the latter case, you can use the nonfloat package.

In preamble:

\usepackage{nonfloat}

In the box:

figure
\figcaption{My figure}

Regards,
Jürgen


Seeing invisible table grid lines in the GUI

2014-01-22 Thread Maria Gouskova
Hi LyX users,

I use LyX on several computers (all version 2.0.6) and cannot figure
out which setting allows one to see invisible table grid lines. They
helpfully show up as light gray lines on the Macs running 10.6.8, but
not on the one running 10.8.5. Is this a setting somewhere in the GUI
that I need to turn on?

Maria


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Scott Kostyshak
On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,

 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?

 Maria

Hi Maria,

I've never heard of this particular issue but other Mac-related screen
issues have been solved by zooming. In Tools  Preferences  Look 
Feel  Screen Fonts, does increasing Zoom help?

Best,

Scott


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Maria Gouskova
On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,

 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?

 Maria

 Hi Maria,

 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?

 Best,

 Scott

Hi Scott,

No, it didn't make a difference. I increased it from 150% to 250%, no
hint of grid lines.

Am I imagining that showing/hiding table gridlines used to be a
setting in the GUI somewhere?

Maria


using native 'math macros' as 'text macros'

2014-01-22 Thread Liviu Andronic
Dear all,
I would like to use in my LyX documents something that would resemble
text macros. I'm aware of http://www.lyx.org/trac/ticket/1704 and of
solutions such as
http://tex.stackexchange.com/questions/12747/keeping-the-names-of-things-consistent-in-lyx
, but I'm wondering if the existing 'math macro' machinery can be used
for this.

For example, I am writing cover letters and the recipient is mentioned
at least in three different places in the letter. When writing to a
different recipient, I often simply change the name (in addition to
some other minor modifications). I want to avoid needing to change the
name three times, which is prone to errors and misspellings. (Another
similar use case is when writing technical documentation as described
here: 
http://tex.stackexchange.com/questions/12747/keeping-the-names-of-things-consistent-in-lyx
.)

Is there a straightforward, native way (i.e. non-ERT) to do this in
LyX? I tried to use 'math macros' for this job (see attached):
- insert  math  macro
- Name= '\myname'
- TeX = ctrl+m to put the text into an mbox, then type 'M. Simpson'

But sofar I identified two issues:
- hyphenation/line breaks. Since the text is within a math inset, I
assume that TeX treats it as a single block and fails to hyphenate it
in certain instances. I'm not sure how to solve this, as I cannot
insert a hyphenation point into the macro.
- formatting and on-screen rendering. If for example in one place of
the text the macro is emphasized, and in another it is noun-ed, LyX
won't recognize that and display the instant preview using regular,
default font. This is minor, of course, but distracting.

So, is it a good or bad idea to use math macros to emulate text
macros? Is there a nicer approach?

Regards,
Liviu

-- 
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


text macro.lyx
Description: Binary data


text macro.pdf
Description: Adobe PDF document


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Scott Kostyshak
On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,

 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?

 Maria

 Hi Maria,

 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?

 Best,

 Scott

 Hi Scott,

 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.

 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?

You could be right. I don't remember. You could see if there are any
differences in your preferences between the two computers. But I'm
guessing it's a Qt related issue.

Scott


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Stephen Buonopane

On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:

 On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote:
 On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
 
 Hi Maria,
 
 I've never heard of this particular issue but other Mac-related screen
 issues have been solved by zooming. In Tools  Preferences  Look 
 Feel  Screen Fonts, does increasing Zoom help?
 
 Best,
 
 Scott
 
 Hi Scott,
 
 No, it didn't make a difference. I increased it from 150% to 250%, no
 hint of grid lines.
 
 Am I imagining that showing/hiding table gridlines used to be a
 setting in the GUI somewhere?
 
 You could be right. I don't remember. You could see if there are any
 differences in your preferences between the two computers. But I'm
 guessing it's a Qt related issue.
 
 Scott


Try this perhaps
LyX-Preferences-Look  Feel-Colors-table on/off line (last entry in the 
list)

I am on LyX 2.06, OSX 10.7.5.

Steve



Re: How to configure plantuml with lyx

2014-01-22 Thread rajender saini
Here are all the files

1) sample.plantuml

@startuml

title sample dia

' Diagram for adding participant to a Chat Group
' Rajender Saini



participant Endpoint A as EPA
participant Gateway as Gateway
participant Endpoint B as EPB
participant Endpoint C as EPC
autonumber
EPA - Gateway:Register

@enduml

---
2) newfile1.lyx

-

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Section
test lyx document to include plantuml graphics.
\end_layout

\begin_layout Standard
\begin_inset Graphics
filename seq.plantuml

\end_inset


\end_layout

\end_body
\end_document

--

converters are configured as suggested above in the thread. Please note
that you need plantuml.jar to configure plantuml.

Regards,
Rajender saini







On Fri, Jan 17, 2014 at 12:29 AM, Rainer M Krug rai...@krugs.de wrote:

 On 17 January 2014 09:01, rajender saini rajendersa...@gmail.com wrote:

 Thanks Rainer, I am able to generate diagram into lyx master file using
 the steps shared by you. Thank you very much.



 My master file include the .plantuml file as graphic as suggested by you
 and it is working fine.


 I assume you mean that you can see the .plantuml file as a picture in LyX?
 Good to hear. So the .plantuml - .svg - .png is working.


 I wanted to export whole file as PDF so


 pdflatex? That is what I use.



 Next I used inkscape to convert SVG to PDF by adding convertor.

 when i run export as PDF image is not included into the master PDF doc.


 The conversion should be done by LyX. AS I said, I use rsvg, and it works
 as expected.




  I can see the SVG to PDF conversion happening into the temp cache
 directory. but somehow it is not included into master file any pointer will
 help.


 Hm - no idea here - if the conversion to a .svg - .pdf I have no idea why
 it is not included. Just make a small example .lyx file and post it here
 together with the .plantuml file so that I can try it out if it works here.

 Cheers,

 Rainer





 Regards,
 Rajender Saini


 On Thu, Jan 16, 2014 at 11:56 AM, rajender saini rajendersa...@gmail.com
  wrote:

 Thank you very much Rainer for immediate response. I will follow these
 steps and come back if I have any issue.


 On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug rai...@krugs.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On 01/16/14, 06:14 , rajender saini wrote:
  I got your reference from the gmail lyx posting. Can you help me
  with the steps include plant uml file into lyx file and
  automatically get it converted into image when we include it into
  the lyx master file ?

 Sure.

 I will CC it to the LyX list to have it there for reference.

 I assume you have downloaded plantuml.

 1) Define a new File Format, named plantuml:

 Vector graphics format: I ticked it - what are actually the
 implications of this field?
 Short name: plantuml
 Extension:  plantuml
 So all files with the extension .plantuml will be considered as
 plantuml source code files files!

 Editor: I choose Emacs, but set any text editor you want.

 In the preferences files, this corresponds to the following line in
 the formats section:

 \format plantuml plantuml plantuml   open -n -a Emacs
 - --args --name LyX --title LyX --no-desktop vector

 Now we have to define the converters, i.e. how to convert the plantuml
 file into a format usable by the converter chain in LyX. This now
 depends on you installed converters, but I got the best results when
 using svg as the *only* output format of plantuml, and then use the
 standard converter tools of LyX to convert these into 

Re: Figure float in multipage box

2014-01-22 Thread Jürgen Spitzmüller
Frank Leone wrote:
 Thanks a lot for the answer, Jürgen, that indeed explains the problem. 
 However, I don't get why Figure wrap float does work, even though it is 
 also a float.

Don't know either. I suppose it is implemented differently-

 And the solution suggested on the website regrettably does not help in my 
 case: I can't switch the box and figure, as I need the lines of the box to 
 include the figure and, more importantly, the box float is (if I understand 
 correctly) the only multi-page float.
 
 Is there a way to make the figure wrap float non-wrappable, i.e., to have
 no  text at the side(s)?
 
 Thanks again!

Is it really important that your figure floats within the box, or do you just 
need the caption? In the latter case, you can use the nonfloat package.

In preamble:

\usepackage{nonfloat}

In the box:

figure
\figcaption{My figure}

Regards,
Jürgen


Seeing invisible table grid lines in the GUI

2014-01-22 Thread Maria Gouskova
Hi LyX users,

I use LyX on several computers (all version 2.0.6) and cannot figure
out which setting allows one to see invisible table grid lines. They
helpfully show up as light gray lines on the Macs running 10.6.8, but
not on the one running 10.8.5. Is this a setting somewhere in the GUI
that I need to turn on?

Maria


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Scott Kostyshak
On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova  wrote:
> Hi LyX users,
>
> I use LyX on several computers (all version 2.0.6) and cannot figure
> out which setting allows one to see invisible table grid lines. They
> helpfully show up as light gray lines on the Macs running 10.6.8, but
> not on the one running 10.8.5. Is this a setting somewhere in the GUI
> that I need to turn on?
>
> Maria

Hi Maria,

I've never heard of this particular issue but other Mac-related screen
issues have been solved by zooming. In Tools > Preferences > Look &
Feel > Screen Fonts, does increasing "Zoom" help?

Best,

Scott


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Maria Gouskova
On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak  wrote:
> On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova  wrote:
>> Hi LyX users,
>>
>> I use LyX on several computers (all version 2.0.6) and cannot figure
>> out which setting allows one to see invisible table grid lines. They
>> helpfully show up as light gray lines on the Macs running 10.6.8, but
>> not on the one running 10.8.5. Is this a setting somewhere in the GUI
>> that I need to turn on?
>>
>> Maria
>
> Hi Maria,
>
> I've never heard of this particular issue but other Mac-related screen
> issues have been solved by zooming. In Tools > Preferences > Look &
> Feel > Screen Fonts, does increasing "Zoom" help?
>
> Best,
>
> Scott

Hi Scott,

No, it didn't make a difference. I increased it from 150% to 250%, no
hint of grid lines.

Am I imagining that showing/hiding table gridlines used to be a
setting in the GUI somewhere?

Maria


using native 'math macros' as 'text macros'

2014-01-22 Thread Liviu Andronic
Dear all,
I would like to use in my LyX documents something that would resemble
"text macros". I'm aware of http://www.lyx.org/trac/ticket/1704 and of
solutions such as
http://tex.stackexchange.com/questions/12747/keeping-the-names-of-things-consistent-in-lyx
, but I'm wondering if the existing 'math macro' machinery can be used
for this.

For example, I am writing cover letters and the recipient is mentioned
at least in three different places in the letter. When writing to a
different recipient, I often simply change the name (in addition to
some other minor modifications). I want to avoid needing to change the
name three times, which is prone to errors and misspellings. (Another
similar use case is when writing technical documentation as described
here: 
http://tex.stackexchange.com/questions/12747/keeping-the-names-of-things-consistent-in-lyx
.)

Is there a straightforward, native way (i.e. non-ERT) to do this in
LyX? I tried to use 'math macros' for this job (see attached):
- insert > math > macro
- Name= '\myname'
- TeX = ctrl+m to put the text into an mbox, then type 'M. Simpson'

But sofar I identified two issues:
- hyphenation/line breaks. Since the text is within a math inset, I
assume that TeX treats it as a single block and fails to hyphenate it
in certain instances. I'm not sure how to solve this, as I cannot
insert a hyphenation point into the macro.
- formatting and on-screen rendering. If for example in one place of
the text the macro is emphasized, and in another it is noun-ed, LyX
won't recognize that and display the instant preview using regular,
default font. This is minor, of course, but distracting.

So, is it a good or bad idea to use math macros to emulate text
macros? Is there a nicer approach?

Regards,
Liviu

-- 
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


text macro.lyx
Description: Binary data


text macro.pdf
Description: Adobe PDF document


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Scott Kostyshak
On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova  wrote:
> On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak  wrote:
>> On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova  wrote:
>>> Hi LyX users,
>>>
>>> I use LyX on several computers (all version 2.0.6) and cannot figure
>>> out which setting allows one to see invisible table grid lines. They
>>> helpfully show up as light gray lines on the Macs running 10.6.8, but
>>> not on the one running 10.8.5. Is this a setting somewhere in the GUI
>>> that I need to turn on?
>>>
>>> Maria
>>
>> Hi Maria,
>>
>> I've never heard of this particular issue but other Mac-related screen
>> issues have been solved by zooming. In Tools > Preferences > Look &
>> Feel > Screen Fonts, does increasing "Zoom" help?
>>
>> Best,
>>
>> Scott
>
> Hi Scott,
>
> No, it didn't make a difference. I increased it from 150% to 250%, no
> hint of grid lines.
>
> Am I imagining that showing/hiding table gridlines used to be a
> setting in the GUI somewhere?

You could be right. I don't remember. You could see if there are any
differences in your preferences between the two computers. But I'm
guessing it's a Qt related issue.

Scott


Re: Seeing invisible table grid lines in the GUI

2014-01-22 Thread Stephen Buonopane

On Jan 22, 2014, at 4:33 PM, Scott Kostyshak wrote:

> On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova  wrote:
>> On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak  wrote:
>>> On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova  wrote:
 Hi LyX users,
 
 I use LyX on several computers (all version 2.0.6) and cannot figure
 out which setting allows one to see invisible table grid lines. They
 helpfully show up as light gray lines on the Macs running 10.6.8, but
 not on the one running 10.8.5. Is this a setting somewhere in the GUI
 that I need to turn on?
 
 Maria
>>> 
>>> Hi Maria,
>>> 
>>> I've never heard of this particular issue but other Mac-related screen
>>> issues have been solved by zooming. In Tools > Preferences > Look &
>>> Feel > Screen Fonts, does increasing "Zoom" help?
>>> 
>>> Best,
>>> 
>>> Scott
>> 
>> Hi Scott,
>> 
>> No, it didn't make a difference. I increased it from 150% to 250%, no
>> hint of grid lines.
>> 
>> Am I imagining that showing/hiding table gridlines used to be a
>> setting in the GUI somewhere?
> 
> You could be right. I don't remember. You could see if there are any
> differences in your preferences between the two computers. But I'm
> guessing it's a Qt related issue.
> 
> Scott


Try this perhaps
LyX->Preferences->Look & Feel->Colors->table on/off line (last entry in the 
list)

I am on LyX 2.06, OSX 10.7.5.

Steve



Re: How to configure plantuml with lyx

2014-01-22 Thread rajender saini
Here are all the files

1) sample.plantuml

@startuml

title sample dia

' Diagram for adding participant to a Chat Group
' Rajender Saini



participant "Endpoint A" as EPA
participant "Gateway" as Gateway
participant "Endpoint B" as EPB
participant "Endpoint C" as EPC
autonumber
EPA -> Gateway:Register

@enduml

---
2) newfile1.lyx

-

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Section
test lyx document to include plantuml graphics.
\end_layout

\begin_layout Standard
\begin_inset Graphics
filename seq.plantuml

\end_inset


\end_layout

\end_body
\end_document

--

converters are configured as suggested above in the thread. Please note
that you need plantuml.jar to configure plantuml.

Regards,
Rajender saini







On Fri, Jan 17, 2014 at 12:29 AM, Rainer M Krug  wrote:

> On 17 January 2014 09:01, rajender saini  wrote:
>
>> Thanks Rainer, I am able to generate diagram into lyx master file using
>> the steps shared by you. Thank you very much.
>>
>>
>>
>> My master file include the .plantuml file as graphic as suggested by you
>> and it is working fine.
>>
>>
> I assume you mean that you can see the .plantuml file as a picture in LyX?
> Good to hear. So the .plantuml -> .svg -> .png is working.
>
>
>> I wanted to export whole file as PDF so
>>
>
> pdflatex? That is what I use.
>
>
>>
>> Next I used inkscape to convert SVG to PDF by adding convertor.
>>
>> when i run export as PDF image is not included into the master PDF doc.
>>
>
> The conversion should be done by LyX. AS I said, I use rsvg, and it works
> as expected.
>
>
>>
>>
>>  I can see the SVG to PDF conversion happening into the temp cache
>> directory. but somehow it is not included into master file any pointer will
>> help.
>>
>
> Hm - no idea here - if the conversion to a .svg -> .pdf I have no idea why
> it is not included. Just make a small example .lyx file and post it here
> together with the .plantuml file so that I can try it out if it works here.
>
> Cheers,
>
> Rainer
>
>
>
>>
>>
>> Regards,
>> Rajender Saini
>>
>>
>> On Thu, Jan 16, 2014 at 11:56 AM, rajender saini > > wrote:
>>
>>> Thank you very much Rainer for immediate response. I will follow these
>>> steps and come back if I have any issue.
>>>
>>>
>>> On Thu, Jan 16, 2014 at 12:51 AM, Rainer M Krug  wrote:
>>>
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On 01/16/14, 06:14 , rajender saini wrote:
 > I got your reference from the gmail lyx posting. Can you help me
 > with the steps include plant uml file into lyx file and
 > automatically get it converted into image when we include it into
 > the lyx master file ?

 Sure.

 I will CC it to the LyX list to have it there for reference.

 I assume you have downloaded plantuml.

 1) Define a new File Format, named "plantuml":

 Vector graphics format: I ticked it - what are actually the
 implications of this field?
 Short name: "plantuml"
 Extension:  "plantuml"
 So all files with the extension .plantuml will be considered as
 plantuml source code files files!

 Editor: I choose Emacs, but set any text editor you want.

 In the preferences files, this corresponds to the following line in
 the formats section:

 \format "plantuml" "plantuml" "plantuml" "" "" "open -n -a Emacs
 - --args --name LyX --title LyX --no-desktop" "vector"

 Now we have to define the converters, i.e. how 

Re: Figure float in multipage box

2014-01-22 Thread Jürgen Spitzmüller
Frank Leone wrote:
> Thanks a lot for the answer, Jürgen, that indeed explains the problem. 
> However, I don't get why "Figure wrap float" does work, even though it is 
> also a float.

Don't know either. I suppose it is implemented differently-

> And the solution suggested on the website regrettably does not help in my 
> case: I can't switch the box and figure, as I need the lines of the box to 
> include the figure and, more importantly, the box float is (if I understand 
> correctly) the only multi-page float.
> 
> Is there a way to make the figure wrap float non-wrappable, i.e., to have
> no  text at the side(s)?
> 
> Thanks again!

Is it really important that your figure floats within the box, or do you just 
need the caption? In the latter case, you can use the nonfloat package.

In preamble:

\usepackage{nonfloat}

In the box:


\figcaption{My figure}

Regards,
Jürgen