Re: I'm writing a book in VimOutliner

2008-01-03 Thread Abdelrazak Younes

Hellmut Weber wrote:

Hi all,
I'm also a great fan of outlining serious texts and have also made some 
experiences with kdissert (being a fan of MindMaps still much longer 
than of any advanced text system).


OTOH I'm using LyX-1.5.3 now for quite a while and am VERY content for 
my (restricted) expectations. Using the outlining possibilities also to 
some degree.



To answer Abdel's question on the functionality lacking (I just checked 
with 1.5.3 official release as of Dec 17th, 2007):


+++ It is already very helpful to be able to move entire paragraphs 
using the keyboard when working in the text window.


*** keyboard driven jump between the text window and the table of 
contents window . AFAIK this is not yet possible. The other direction 
seems to work simply with tab (and to my surprise with shift+tab too).


Right, this should be fixed.

What about shift tab for the lacking jump. Would be similar to other 
apps like e.g. thunderbird (to jump between folders panel and messages 
panel)


Problems is that shift-tab might be used for editing inside tables and math.



*** keyboard accessibility of the 5 buttons at the lower border of the 
toc window.


Those were left out for lack of imagination. But you can of course 
define your own bindings in the bind file. We are open to ideas...





This would mean that everything, i.e. writing and outlining could be 
done using only the keyboard. IMHO this is by far the most efficient way 
to produce texts.


Agreed.




Should I enter enhancement requests into bugzilla?


If they are not already there please do.

Thanks and happy new year to all,

Abdel.



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote:
  *** keyboard driven jump between the text window and the table of
  contents window . AFAIK this is not yet possible. The other direction
  seems to work simply with tab (and to my surprise with shift+tab too).

 Right, this should be fixed.

http://bugzilla.lyx.org/show_bug.cgi?id=3871

  *** keyboard accessibility of the 5 buttons at the lower border of the
  toc window.

 Those were left out for lack of imagination. But you can of course
 define your own bindings in the bind file. We are open to ideas...

But you have to take care that the outliner pane does not eat bindings from 
the main window. This is very tricky:
http://bugzilla.lyx.org/show_bug.cgi?id=3486

Jürgen


Re: I'm writing a book in VimOutliner

2008-01-03 Thread Abdelrazak Younes

Steve Litt wrote:

On Monday 31 December 2007 05:11, Abdelrazak Younes wrote:



So why don't you use LyX-1.5 directly then? Or more specifically what is
missing in LyX outlining facilities? 


He Abdel,

I haven't yet used 1.5, but when I do I'm pretty sure I'll find one thing 
missing in its outlining facilities: speed.


VimOutliner (VO) was built for speed from the bottom up. 100% keyboard driven, 
no need to reach for a mouse. It uses the ultra touch-typist-friendly Vim as 
an engine, and adds ultra-quick ,, commands for managing the outline. I can 
compose and organize as fast as I can think -- a huge advantage when planning 
a book.


I see.


I can think of two: 


- section folding/unfolding: I don't really understand why this is so
helpful for some. 


I couldn't live without folding (which in general outliner-speak is called 
expand/collapse. It allows you to view the big picture and then drill down.  


Well but you can view the big picture in the Outline dock. In there you 
can of course expand/collapse any node. You even have a slider to 
automatically open all nodes in the tree down to a given level.



It's a way of impedance matching the work to the mind. It's not about 
navigation, it's about getting the optimal view of the work.


Please try 1.5 to understand what I mean.



IMO, the ability to jump from section to section by 
clicking in the outlining dock is enough.


That sounds like an excellent feature. Perhaps it can be put into VimOutliner.



- dragdrop sections in the outlining dock: right now you have to click
one of the 4 outline buttons.


Yes, it sounds like dragdrop section moving would speed things up. VimOutliner 
doesn't have it either. With VO, you collapse the section you want to move, 
delete  with dd, move to its desired destination, and press p or P as 
appropriate. This sounds very Mickey Mouse when described, but it's not that 
bad.


Agreed. Keyboard access is the main thing to fix in LyX WRT outlining.




Both features are not too difficult to implement provided that you find
a volunteer to implement them ;-)

If you (and others) could describe what you would like to have in the
Wiki, it would certainly be helpful.


I'm not too good with a Wiki, so I'll describe VimOutliner's features right 
here:


Promote/demote -- headlines or whole trees


Action on whole trees is not yet implemented unfortunately.


Expand/collapse  (also called folding)
Expand/collapse by headline, by tree, and outline wide


Some of these are possible in the Outline dock, but not all.


Body text that wraps (headlines don't wrap)


In LyX the body text doesn't show of course in the dock, only headlines.


Checkboxes with percentage completion


Sounds interesting.


Interoutline linking


I don't understand that one...


Executable lines -- any content can be viewed/executed from an outline


Neither this one...


Lightning quick interface for the touch typist


This is missing.

OK, thanks for sharing your thought. Maybe some developer will be 
interested in the challenge :-)


Abdel.



Re: [feature request] Using Sweave with LyX - out of the box support for creating R reports

2008-01-03 Thread Jean-Marc Lasgouttes
Liviu Andronic [EMAIL PROTECTED] writes:

 This message is mainly intended to LyX developers. A paper [1] by
 Gregor Gorjanc and due to appear in the near future on Rnews [2]
 describes into great detail all the steps needed to customize LyX so
 that it integrate nicely with Sweave [3] for creating reports using R.

Hello,

Please create a bug with all the relevant information if it is not yet
done. 

JMarc


Re: importing a database

2008-01-03 Thread G. Milde
On 28.12.07, Pol wrote:
 I would like to import a whole database into a lyx table, to edit before
 printing. 
 Specifically, i am using tellico as database, but any solution is welcome.
 I know i can export as bibtex, but how to import into a table? 

Try exporting as CSV (comma (or tab) separated values) in a text file.

Import of tab-separated values into a table of the right size can be done
via mouse-drop.

The csv2lyx script creates also the LyX table for you - see
http://tomi.gulino.org/OpenSource/csv2lyx/index.html

GM


Re: I'm writing a book in VimOutliner

2008-01-03 Thread Hellmut Weber

Hi Abdel,
thanks for your quick response ;-)

Abdelrazak Younes schrieb:
+++ It is already very helpful to be able to move entire paragraphs 
using the keyboard when working in the text window.


*** keyboard driven jump between the text window and the table of 
contents window . AFAIK this is not yet possible. The other direction 
seems to work simply with tab (and to my surprise with shift+tab too).


Right, this should be fixed.

Hopefully soon


What about shift tab for the lacking jump. Would be similar to other 
apps like e.g. thunderbird (to jump between folders panel and messages 
panel)


Problems is that shift-tab might be used for editing inside tables and 
math.

Any other keyboard combination would be good for me


*** keyboard accessibility of the 5 buttons at the lower border of the 
toc window.


Those were left out for lack of imagination. But you can of course 
define your own bindings in the bind file. We are open to ideas...

What are the lfuns associated to those?
I'like to give it a try (have been experimenting already with bindungs ;-)



Should I enter enhancement requests into bugzilla?


If they are not already there please do.

Done #4456


Thanks and Happy New Year and happy LyXing in 2008

Hellmut


--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Steve Litt
On Thursday 03 January 2008 04:56, Abdelrazak Younes wrote:
 Steve Litt wrote:

  Body text that wraps (headlines don't wrap)


That's very acceptable in an outline mode of bookwriting software, because you 
have body text in normal mode.

 In LyX the body text doesn't show of course in the dock, only headlines.

  Checkboxes with percentage completion

 Sounds interesting.

Yes, you could check a subtree when it's complete, and when you come to work 
in the morning you know what areas still need work.


  Interoutline linking

 I don't understand that one...

Unnecessary in a bookwriter software, but just for fun I'll explain what it 
means. In VO, I have one outline called master.otl. It has links 
_tag_bicycles, _tag_clarinets, tag_family_tasks, and many more. Each has 
another outline 
(i.e. /data/otl/bicycles.otl, /data/music/instruments/clarinets.otl and the 
like). When the cursor is on a link, if you press Ctrl+K, you go right into 
the outline of the link. From there, pressing Ctrl+N gets you back to where 
you came from.

This feature can be used to build an outline of outlines. So on my computer, 
my /data/otl/master.otl is the root of what I call a single knowledge tree. 
Every outline can be navigated to from master.otl.

The only trouble with this single knowledge tree is it works only with 
outlines. But wait, there's more...


  Executable lines -- any content can be viewed/executed from an outline

 Neither this one...

Remember my single knowledge tree, and how all outlines are in the tree, but 
unfortunately only outlines? I lied, you can place any content in the tree, 
using executable lines.

Let's say you want to have carpicture.jpg in your outline. You'd put the 
following executable line in your outline:

Car picture _exe_kuickshow /data/cars/images/carpicture.jpg. With your cursor 
on that line, you press the key sequence ,,e and shazam, you're in kuickshow 
viewing your car. I've had videos in my outlines. I can run LyX on the book 
from my outline.

In other words, between interoutline linking and executable lines, you can 
have a single tree of knowledge for every piece of knowledge on your 
computer. You'd start at the top and drill down to what you needed.


  Lightning quick interface for the touch typist

 This is missing.

Until LyX had this, I wouldn't dream of building the outline from scratch in 
LyX -- it would slow me down.

A second reason I might continue to use VO to outline lyx-destined books is 
that VO is so darned familiar to me. I use VO hundreds of times a day. All my 
books. My todo list. The menu layout for my computer (I use UMENU instead of 
the start menu that comes with Mandriva 2007). My shopping list. My phone 
lists. When you're that familiar with a computer program, it often makes 
sense to use it even when, with equal experience in another program, the 
other program might make more sense.


 OK, thanks for sharing your thought. Maybe some developer will be
 interested in the challenge :-)

Good luck on that. Vim is a modal editor, LyX is not (thank goodness), and 
therefore I don't think you could ever get as good a keyboard interface with 
LyX.

HTH

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Beamer Problems

2008-01-03 Thread Paul A. Rubin

David Rosenberg wrote:

Hi,
   I'm running LyX 1.5.3 on Windows, and am having trouble with compiling
the Beamer Example (beamerlyxexample1.lyx).  I'm pasting in part of my log
below.  I also have problems with one of my older beamer presentations I
made with an earlier version of LyX.  For that presentation, I get an error
-- after exporting to Latex and trying to compile, I get the following:

ERROR: Package mathptmx Error: The symbols \jmath, \amalg and \coprod

--- TeX said ---
(mathptmx)are not available with this package.

See the mathptmx package documentation for explanation.
Type  H return  for immediate help.
 ...

l.290 \lyxframeend
  {}\section{Kernel Cotraining}

Anyway, the first error in the compilation of the Beamer Example is the
exact same as the error
ERROR: Undefined control sequence.

--- TeX said ---
[EMAIL PROTECTED] #1#2#3#4-\pgfsincos
  {#3}\setlength [EMAIL PROTECTED]
{#1}\addtolengt...
l.1219 \lyxframeend
   {}\lyxagainframe{6hierarchy}
--- HELP ---
TeX encountered an unknown command name. You probably misspelled the
name. If this message occurs when a LaTeX command is being processed,
the command is probably in the wrong place---for example, the error
can be produced by an \item command that's not inside a list-making
environment. The error can also be caused by a missing \documentclass
command.

Thanks,
David



The beamer example has all sorts of problems.  I think in part it may be 
a matter of beamer having been updated and the example document not 
having been updated (?).


As to your document, the answer to the first error is simpler.  Quoting 
section 6.4 of the psnfss2e manual (regarding known deficiencies of the 
mathptmx package):


* The symbols \jmath, \coprod and \amalg are not available.

I take that to mean that if you need those symbols, you'll have to 
change your font selection.  Why this was not a problem when you 
originally built the presentation I can't say.  I don't use mathptmx, so 
I don't know whether it throws this message even when you are not using 
those symbols, or whether it means all three symbols are present, or 
just one of them, or what.


As to the second message, unfortunately all sorts of problems result in 
LaTeX deciding that \lyxframeend is undefined (when in fact it is 
defined).  So that tells you something is broken, but not what.  If 
fixing the font problem (or eliminating use of \jmath, \coprod and/or 
\amalg) does not solve it, the best I can suggest is a bisection search 
-- cut out half the slides and recompile to see which half of the 
presentation has the error, then iterate until you narrow down the 
source.  If you can pin down the approximate location but not the exact 
cause, post a small but sufficient example here and perhaps someone can 
figure it out.


/Paul



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Daniel Lohmann

Hi,

While I have neither used VimOutliner, nor am I a professional book  
writer, I usually do outline my texts before starting the actual  
writing. I use the mind-mapping tool FreeMind (http://freemind.sourceforge.net/ 
) to do the outlining, which supports links, keyboard navigation,  
folding/unfolding and so on. I then convert the FreeMind mindmap to  
LaTeX using a (slightly adopted) Ruby script (supposed to be available  
at http://www.duminil.info/doku.php?id=freemindtolatex, but currently  
down) and import the resulting LaTeX document into LyX.


Daniel


Underlining and table cell width

2008-01-03 Thread Maria Gouskova
Dear LyX users,

I suspect this may be a LaTeX rather than a LyX issue, but perhaps
some of you might know the answer. The usual solution for breaking
lines in LaTeX tables is to set the table width to a fixed value, for
example, 1 inch. This solution is clumsy (in my opinion, at least) but
it produces the desired result, with some experimentation. It doesn't
work, however, when the contents of the cell is underlined. The Is
there any way to break up the contents of a table cell across lines
with underlining?

Maria


Re: Underlining and table cell width

2008-01-03 Thread Liviu Andronic
As for breaking lines, I suspect you're looking for \linebreak. Check
the attached document. Also, play close attention to the formatting,
say: NameERT[\linebreak] Residence.

For the underlining part, I can be of no help.
Liviu


On 1/3/08, Maria Gouskova [EMAIL PROTECTED] wrote:
 Dear LyX users,

 I suspect this may be a LaTeX rather than a LyX issue, but perhaps
 some of you might know the answer. The usual solution for breaking
 lines in LaTeX tables is to set the table width to a fixed value, for
 example, 1 inch. This solution is clumsy (in my opinion, at least) but
 it produces the desired result, with some experimentation. It doesn't
 work, however, when the contents of the cell is underlined. The Is
 there any way to break up the contents of a table cell across lines
 with underlining?

 Maria



linebreak1.lyx
Description: Binary data


Re: I'm writing a book in VimOutliner

2008-01-03 Thread obregonmateo
On Thursday 03 January 2008 16:31, Daniel Lohmann wrote:
 Hi,

 While I have neither used VimOutliner, nor am I a professional book
 writer, I usually do outline my texts before starting the actual
 writing. I use the mind-mapping tool FreeMind
 (http://freemind.sourceforge.net/ ) to do the outlining, which supports
 links, keyboard navigation,
 folding/unfolding and so on. I then convert the FreeMind mindmap to
 LaTeX using a (slightly adopted) Ruby script (supposed to be available
 at http://www.duminil.info/doku.php?id=freemindtolatex, but currently
 down) and import the resulting LaTeX document into LyX.

 Daniel

This is roughly what I use too. :)

The Ruby script I use to convert from FreeMind to LaTeX is mm2latex.rb, which 
I modified so as to give me headings and text if the node contained a new 
line.

Mateo.


Re: Underlining and table cell width

2008-01-03 Thread Paul A. Rubin

Maria Gouskova wrote:

Dear LyX users,

I suspect this may be a LaTeX rather than a LyX issue, but perhaps
some of you might know the answer. The usual solution for breaking
lines in LaTeX tables is to set the table width to a fixed value, for
example, 1 inch. This solution is clumsy (in my opinion, at least) but
it produces the desired result, with some experimentation. It doesn't
work, however, when the contents of the cell is underlined. The Is
there any way to break up the contents of a table cell across lines
with underlining?

Maria



Try the following:

1.  In the preamble, '\usepackage[normalem]{ulem}'.
2.  In ERT, inside the table cell at the start of the text to be 
underlined, '\uline{'.

3.  In ERT, at the end of the underlined text, '}'.

This of course presumes you've installed the ulem package.  :-)  The 
normalem option tells it not to convert emphasized text from italics 
to underlined (its default behavior).


I'll note in passing that 
http://dillgroup.ucsf.edu/latex/texfaq_14.html, specifically the section 
Underlined text won't break, contains the following quote: 
Nevertheless, typographically illiterate people (such as those that 
specify double-spaced thesis styles) continue to require underlining of 
us ...  My impression is that underlining was deprecated at about the 
same time that the IBM Selectric typewriter passed into history, other 
than for occasional funky uses (such as identifying keyboard input, 
say).  I'm not a purist on these things, but I usually consider 
something like a monospaced font as a substitute for underlining.


HTH,
Paul



Re: How I could change the word _Chapter_ in a book-style document

2008-01-03 Thread Miguel Daniel Rodríguez Magarzo

El mié, 02-01-2008 a las 11:10 +0100, Jürgen Spitzmüller escribió:
 Miguel Daniel Rodríguez Magarzo wrote:
  Firstly... happy new year 2008, best wishes to everyone.
 
 Thanks. Same to you.
 
  I'd like to know if it would be possible to change the word
  Chapter (Capítulo in my local language) to another one. I usually
  write book-style documents, but I'd prefer to see another word at the
  beginning of each chapter, such as Tema or Lección (Lesson,...)
  instead, due the context.
 
 See this FAQ entry (the resp. macro is \chaptername):
 http://wiki.lyx.org/FAQ/Unsorted#toc16
 
 Jürgen

Thank you for your suggestion, the code -put in the Preamble- that
finally 
did the trick was the following (already adapted):

\AtBeginDocument{%

\addto\captionsspanish{%

\renewcommand{\chaptername}{Tema}%

}}

--

Daniel



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Abdelrazak Younes

Hellmut Weber wrote:

Hi all,
I'm also a great fan of outlining serious texts and have also made some 
experiences with kdissert (being a fan of MindMaps still much longer 
than of any advanced text system).


OTOH I'm using LyX-1.5.3 now for quite a while and am VERY content for 
my (restricted) expectations. Using the outlining possibilities also to 
some degree.



To answer Abdel's question on the functionality lacking (I just checked 
with 1.5.3 official release as of Dec 17th, 2007):


+++ It is already very helpful to be able to move entire paragraphs 
using the keyboard when working in the text window.


*** keyboard driven jump between the text window and the table of 
contents window . AFAIK this is not yet possible. The other direction 
seems to work simply with tab (and to my surprise with shift+tab too).


Right, this should be fixed.

What about shift tab for the lacking jump. Would be similar to other 
apps like e.g. thunderbird (to jump between folders panel and messages 
panel)


Problems is that shift-tab might be used for editing inside tables and math.



*** keyboard accessibility of the 5 buttons at the lower border of the 
toc window.


Those were left out for lack of imagination. But you can of course 
define your own bindings in the bind file. We are open to ideas...





This would mean that everything, i.e. writing and outlining could be 
done using only the keyboard. IMHO this is by far the most efficient way 
to produce texts.


Agreed.




Should I enter enhancement requests into bugzilla?


If they are not already there please do.

Thanks and happy new year to all,

Abdel.



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote:
  *** keyboard driven jump between the text window and the table of
  contents window . AFAIK this is not yet possible. The other direction
  seems to work simply with tab (and to my surprise with shift+tab too).

 Right, this should be fixed.

http://bugzilla.lyx.org/show_bug.cgi?id=3871

  *** keyboard accessibility of the 5 buttons at the lower border of the
  toc window.

 Those were left out for lack of imagination. But you can of course
 define your own bindings in the bind file. We are open to ideas...

But you have to take care that the outliner pane does not eat bindings from 
the main window. This is very tricky:
http://bugzilla.lyx.org/show_bug.cgi?id=3486

Jürgen


Re: I'm writing a book in VimOutliner

2008-01-03 Thread Abdelrazak Younes

Steve Litt wrote:

On Monday 31 December 2007 05:11, Abdelrazak Younes wrote:



So why don't you use LyX-1.5 directly then? Or more specifically what is
missing in LyX outlining facilities? 


He Abdel,

I haven't yet used 1.5, but when I do I'm pretty sure I'll find one thing 
missing in its outlining facilities: speed.


VimOutliner (VO) was built for speed from the bottom up. 100% keyboard driven, 
no need to reach for a mouse. It uses the ultra touch-typist-friendly Vim as 
an engine, and adds ultra-quick ,, commands for managing the outline. I can 
compose and organize as fast as I can think -- a huge advantage when planning 
a book.


I see.


I can think of two: 


- section folding/unfolding: I don't really understand why this is so
helpful for some. 


I couldn't live without folding (which in general outliner-speak is called 
expand/collapse. It allows you to view the big picture and then drill down.  


Well but you can view the big picture in the Outline dock. In there you 
can of course expand/collapse any node. You even have a slider to 
automatically open all nodes in the tree down to a given level.



It's a way of impedance matching the work to the mind. It's not about 
navigation, it's about getting the optimal view of the work.


Please try 1.5 to understand what I mean.



IMO, the ability to jump from section to section by 
clicking in the outlining dock is enough.


That sounds like an excellent feature. Perhaps it can be put into VimOutliner.



- dragdrop sections in the outlining dock: right now you have to click
one of the 4 outline buttons.


Yes, it sounds like dragdrop section moving would speed things up. VimOutliner 
doesn't have it either. With VO, you collapse the section you want to move, 
delete  with dd, move to its desired destination, and press p or P as 
appropriate. This sounds very Mickey Mouse when described, but it's not that 
bad.


Agreed. Keyboard access is the main thing to fix in LyX WRT outlining.




Both features are not too difficult to implement provided that you find
a volunteer to implement them ;-)

If you (and others) could describe what you would like to have in the
Wiki, it would certainly be helpful.


I'm not too good with a Wiki, so I'll describe VimOutliner's features right 
here:


Promote/demote -- headlines or whole trees


Action on whole trees is not yet implemented unfortunately.


Expand/collapse  (also called folding)
Expand/collapse by headline, by tree, and outline wide


Some of these are possible in the Outline dock, but not all.


Body text that wraps (headlines don't wrap)


In LyX the body text doesn't show of course in the dock, only headlines.


Checkboxes with percentage completion


Sounds interesting.


Interoutline linking


I don't understand that one...


Executable lines -- any content can be viewed/executed from an outline


Neither this one...


Lightning quick interface for the touch typist


This is missing.

OK, thanks for sharing your thought. Maybe some developer will be 
interested in the challenge :-)


Abdel.



Re: [feature request] Using Sweave with LyX - out of the box support for creating R reports

2008-01-03 Thread Jean-Marc Lasgouttes
Liviu Andronic [EMAIL PROTECTED] writes:

 This message is mainly intended to LyX developers. A paper [1] by
 Gregor Gorjanc and due to appear in the near future on Rnews [2]
 describes into great detail all the steps needed to customize LyX so
 that it integrate nicely with Sweave [3] for creating reports using R.

Hello,

Please create a bug with all the relevant information if it is not yet
done. 

JMarc


Re: importing a database

2008-01-03 Thread G. Milde
On 28.12.07, Pol wrote:
 I would like to import a whole database into a lyx table, to edit before
 printing. 
 Specifically, i am using tellico as database, but any solution is welcome.
 I know i can export as bibtex, but how to import into a table? 

Try exporting as CSV (comma (or tab) separated values) in a text file.

Import of tab-separated values into a table of the right size can be done
via mouse-drop.

The csv2lyx script creates also the LyX table for you - see
http://tomi.gulino.org/OpenSource/csv2lyx/index.html

GM


Re: I'm writing a book in VimOutliner

2008-01-03 Thread Hellmut Weber

Hi Abdel,
thanks for your quick response ;-)

Abdelrazak Younes schrieb:
+++ It is already very helpful to be able to move entire paragraphs 
using the keyboard when working in the text window.


*** keyboard driven jump between the text window and the table of 
contents window . AFAIK this is not yet possible. The other direction 
seems to work simply with tab (and to my surprise with shift+tab too).


Right, this should be fixed.

Hopefully soon


What about shift tab for the lacking jump. Would be similar to other 
apps like e.g. thunderbird (to jump between folders panel and messages 
panel)


Problems is that shift-tab might be used for editing inside tables and 
math.

Any other keyboard combination would be good for me


*** keyboard accessibility of the 5 buttons at the lower border of the 
toc window.


Those were left out for lack of imagination. But you can of course 
define your own bindings in the bind file. We are open to ideas...

What are the lfuns associated to those?
I'like to give it a try (have been experimenting already with bindungs ;-)



Should I enter enhancement requests into bugzilla?


If they are not already there please do.

Done #4456


Thanks and Happy New Year and happy LyXing in 2008

Hellmut


--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Steve Litt
On Thursday 03 January 2008 04:56, Abdelrazak Younes wrote:
 Steve Litt wrote:

  Body text that wraps (headlines don't wrap)


That's very acceptable in an outline mode of bookwriting software, because you 
have body text in normal mode.

 In LyX the body text doesn't show of course in the dock, only headlines.

  Checkboxes with percentage completion

 Sounds interesting.

Yes, you could check a subtree when it's complete, and when you come to work 
in the morning you know what areas still need work.


  Interoutline linking

 I don't understand that one...

Unnecessary in a bookwriter software, but just for fun I'll explain what it 
means. In VO, I have one outline called master.otl. It has links 
_tag_bicycles, _tag_clarinets, tag_family_tasks, and many more. Each has 
another outline 
(i.e. /data/otl/bicycles.otl, /data/music/instruments/clarinets.otl and the 
like). When the cursor is on a link, if you press Ctrl+K, you go right into 
the outline of the link. From there, pressing Ctrl+N gets you back to where 
you came from.

This feature can be used to build an outline of outlines. So on my computer, 
my /data/otl/master.otl is the root of what I call a single knowledge tree. 
Every outline can be navigated to from master.otl.

The only trouble with this single knowledge tree is it works only with 
outlines. But wait, there's more...


  Executable lines -- any content can be viewed/executed from an outline

 Neither this one...

Remember my single knowledge tree, and how all outlines are in the tree, but 
unfortunately only outlines? I lied, you can place any content in the tree, 
using executable lines.

Let's say you want to have carpicture.jpg in your outline. You'd put the 
following executable line in your outline:

Car picture _exe_kuickshow /data/cars/images/carpicture.jpg. With your cursor 
on that line, you press the key sequence ,,e and shazam, you're in kuickshow 
viewing your car. I've had videos in my outlines. I can run LyX on the book 
from my outline.

In other words, between interoutline linking and executable lines, you can 
have a single tree of knowledge for every piece of knowledge on your 
computer. You'd start at the top and drill down to what you needed.


  Lightning quick interface for the touch typist

 This is missing.

Until LyX had this, I wouldn't dream of building the outline from scratch in 
LyX -- it would slow me down.

A second reason I might continue to use VO to outline lyx-destined books is 
that VO is so darned familiar to me. I use VO hundreds of times a day. All my 
books. My todo list. The menu layout for my computer (I use UMENU instead of 
the start menu that comes with Mandriva 2007). My shopping list. My phone 
lists. When you're that familiar with a computer program, it often makes 
sense to use it even when, with equal experience in another program, the 
other program might make more sense.


 OK, thanks for sharing your thought. Maybe some developer will be
 interested in the challenge :-)

Good luck on that. Vim is a modal editor, LyX is not (thank goodness), and 
therefore I don't think you could ever get as good a keyboard interface with 
LyX.

HTH

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Beamer Problems

2008-01-03 Thread Paul A. Rubin

David Rosenberg wrote:

Hi,
   I'm running LyX 1.5.3 on Windows, and am having trouble with compiling
the Beamer Example (beamerlyxexample1.lyx).  I'm pasting in part of my log
below.  I also have problems with one of my older beamer presentations I
made with an earlier version of LyX.  For that presentation, I get an error
-- after exporting to Latex and trying to compile, I get the following:

ERROR: Package mathptmx Error: The symbols \jmath, \amalg and \coprod

--- TeX said ---
(mathptmx)are not available with this package.

See the mathptmx package documentation for explanation.
Type  H return  for immediate help.
 ...

l.290 \lyxframeend
  {}\section{Kernel Cotraining}

Anyway, the first error in the compilation of the Beamer Example is the
exact same as the error
ERROR: Undefined control sequence.

--- TeX said ---
[EMAIL PROTECTED] #1#2#3#4-\pgfsincos
  {#3}\setlength [EMAIL PROTECTED]
{#1}\addtolengt...
l.1219 \lyxframeend
   {}\lyxagainframe{6hierarchy}
--- HELP ---
TeX encountered an unknown command name. You probably misspelled the
name. If this message occurs when a LaTeX command is being processed,
the command is probably in the wrong place---for example, the error
can be produced by an \item command that's not inside a list-making
environment. The error can also be caused by a missing \documentclass
command.

Thanks,
David



The beamer example has all sorts of problems.  I think in part it may be 
a matter of beamer having been updated and the example document not 
having been updated (?).


As to your document, the answer to the first error is simpler.  Quoting 
section 6.4 of the psnfss2e manual (regarding known deficiencies of the 
mathptmx package):


* The symbols \jmath, \coprod and \amalg are not available.

I take that to mean that if you need those symbols, you'll have to 
change your font selection.  Why this was not a problem when you 
originally built the presentation I can't say.  I don't use mathptmx, so 
I don't know whether it throws this message even when you are not using 
those symbols, or whether it means all three symbols are present, or 
just one of them, or what.


As to the second message, unfortunately all sorts of problems result in 
LaTeX deciding that \lyxframeend is undefined (when in fact it is 
defined).  So that tells you something is broken, but not what.  If 
fixing the font problem (or eliminating use of \jmath, \coprod and/or 
\amalg) does not solve it, the best I can suggest is a bisection search 
-- cut out half the slides and recompile to see which half of the 
presentation has the error, then iterate until you narrow down the 
source.  If you can pin down the approximate location but not the exact 
cause, post a small but sufficient example here and perhaps someone can 
figure it out.


/Paul



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Daniel Lohmann

Hi,

While I have neither used VimOutliner, nor am I a professional book  
writer, I usually do outline my texts before starting the actual  
writing. I use the mind-mapping tool FreeMind (http://freemind.sourceforge.net/ 
) to do the outlining, which supports links, keyboard navigation,  
folding/unfolding and so on. I then convert the FreeMind mindmap to  
LaTeX using a (slightly adopted) Ruby script (supposed to be available  
at http://www.duminil.info/doku.php?id=freemindtolatex, but currently  
down) and import the resulting LaTeX document into LyX.


Daniel


Underlining and table cell width

2008-01-03 Thread Maria Gouskova
Dear LyX users,

I suspect this may be a LaTeX rather than a LyX issue, but perhaps
some of you might know the answer. The usual solution for breaking
lines in LaTeX tables is to set the table width to a fixed value, for
example, 1 inch. This solution is clumsy (in my opinion, at least) but
it produces the desired result, with some experimentation. It doesn't
work, however, when the contents of the cell is underlined. The Is
there any way to break up the contents of a table cell across lines
with underlining?

Maria


Re: Underlining and table cell width

2008-01-03 Thread Liviu Andronic
As for breaking lines, I suspect you're looking for \linebreak. Check
the attached document. Also, play close attention to the formatting,
say: NameERT[\linebreak] Residence.

For the underlining part, I can be of no help.
Liviu


On 1/3/08, Maria Gouskova [EMAIL PROTECTED] wrote:
 Dear LyX users,

 I suspect this may be a LaTeX rather than a LyX issue, but perhaps
 some of you might know the answer. The usual solution for breaking
 lines in LaTeX tables is to set the table width to a fixed value, for
 example, 1 inch. This solution is clumsy (in my opinion, at least) but
 it produces the desired result, with some experimentation. It doesn't
 work, however, when the contents of the cell is underlined. The Is
 there any way to break up the contents of a table cell across lines
 with underlining?

 Maria



linebreak1.lyx
Description: Binary data


Re: I'm writing a book in VimOutliner

2008-01-03 Thread obregonmateo
On Thursday 03 January 2008 16:31, Daniel Lohmann wrote:
 Hi,

 While I have neither used VimOutliner, nor am I a professional book
 writer, I usually do outline my texts before starting the actual
 writing. I use the mind-mapping tool FreeMind
 (http://freemind.sourceforge.net/ ) to do the outlining, which supports
 links, keyboard navigation,
 folding/unfolding and so on. I then convert the FreeMind mindmap to
 LaTeX using a (slightly adopted) Ruby script (supposed to be available
 at http://www.duminil.info/doku.php?id=freemindtolatex, but currently
 down) and import the resulting LaTeX document into LyX.

 Daniel

This is roughly what I use too. :)

The Ruby script I use to convert from FreeMind to LaTeX is mm2latex.rb, which 
I modified so as to give me headings and text if the node contained a new 
line.

Mateo.


Re: Underlining and table cell width

2008-01-03 Thread Paul A. Rubin

Maria Gouskova wrote:

Dear LyX users,

I suspect this may be a LaTeX rather than a LyX issue, but perhaps
some of you might know the answer. The usual solution for breaking
lines in LaTeX tables is to set the table width to a fixed value, for
example, 1 inch. This solution is clumsy (in my opinion, at least) but
it produces the desired result, with some experimentation. It doesn't
work, however, when the contents of the cell is underlined. The Is
there any way to break up the contents of a table cell across lines
with underlining?

Maria



Try the following:

1.  In the preamble, '\usepackage[normalem]{ulem}'.
2.  In ERT, inside the table cell at the start of the text to be 
underlined, '\uline{'.

3.  In ERT, at the end of the underlined text, '}'.

This of course presumes you've installed the ulem package.  :-)  The 
normalem option tells it not to convert emphasized text from italics 
to underlined (its default behavior).


I'll note in passing that 
http://dillgroup.ucsf.edu/latex/texfaq_14.html, specifically the section 
Underlined text won't break, contains the following quote: 
Nevertheless, typographically illiterate people (such as those that 
specify double-spaced thesis styles) continue to require underlining of 
us ...  My impression is that underlining was deprecated at about the 
same time that the IBM Selectric typewriter passed into history, other 
than for occasional funky uses (such as identifying keyboard input, 
say).  I'm not a purist on these things, but I usually consider 
something like a monospaced font as a substitute for underlining.


HTH,
Paul



Re: How I could change the word _Chapter_ in a book-style document

2008-01-03 Thread Miguel Daniel Rodríguez Magarzo

El mié, 02-01-2008 a las 11:10 +0100, Jürgen Spitzmüller escribió:
 Miguel Daniel Rodríguez Magarzo wrote:
  Firstly... happy new year 2008, best wishes to everyone.
 
 Thanks. Same to you.
 
  I'd like to know if it would be possible to change the word
  Chapter (Capítulo in my local language) to another one. I usually
  write book-style documents, but I'd prefer to see another word at the
  beginning of each chapter, such as Tema or Lección (Lesson,...)
  instead, due the context.
 
 See this FAQ entry (the resp. macro is \chaptername):
 http://wiki.lyx.org/FAQ/Unsorted#toc16
 
 Jürgen

Thank you for your suggestion, the code -put in the Preamble- that
finally 
did the trick was the following (already adapted):

\AtBeginDocument{%

\addto\captionsspanish{%

\renewcommand{\chaptername}{Tema}%

}}

--

Daniel



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Abdelrazak Younes

Hellmut Weber wrote:

Hi all,
I'm also a great fan of outlining serious texts and have also made some 
experiences with kdissert (being a fan of MindMaps still much longer 
than of any advanced text system).


OTOH I'm using LyX-1.5.3 now for quite a while and am VERY content for 
my (restricted) expectations. Using the outlining possibilities also to 
some degree.



To answer Abdel's question on the functionality lacking (I just checked 
with 1.5.3 official release as of Dec 17th, 2007):


+++ It is already very helpful to be able to move entire paragraphs 
using the keyboard when working in the text window.


*** keyboard driven jump between the text window and the table of 
contents window . AFAIK this is not yet possible. The other direction 
seems to work simply with tab (and to my surprise with shift+tab too).


Right, this should be fixed.

What about shift tab for the lacking jump. Would be similar to other 
apps like e.g. thunderbird (to jump between folders panel and messages 
panel)


Problems is that shift-tab might be used for editing inside tables and math.



*** keyboard accessibility of the 5 buttons at the lower border of the 
toc window.


Those were left out for lack of imagination. But you can of course 
define your own bindings in the bind file. We are open to ideas...





This would mean that everything, i.e. writing and outlining could be 
done using only the keyboard. IMHO this is by far the most efficient way 
to produce texts.


Agreed.




Should I enter enhancement requests into bugzilla?


If they are not already there please do.

Thanks and happy new year to all,

Abdel.



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote:
> > *** keyboard driven jump between the text window and the table of
> > contents window . AFAIK this is not yet possible. The other direction
> > seems to work simply with tab (and to my surprise with shift+tab too).
>
> Right, this should be fixed.

http://bugzilla.lyx.org/show_bug.cgi?id=3871

> > *** keyboard accessibility of the 5 buttons at the lower border of the
> > toc window.
>
> Those were left out for lack of imagination. But you can of course
> define your own bindings in the bind file. We are open to ideas...

But you have to take care that the outliner pane does not eat bindings from 
the main window. This is very tricky:
http://bugzilla.lyx.org/show_bug.cgi?id=3486

Jürgen


Re: I'm writing a book in VimOutliner

2008-01-03 Thread Abdelrazak Younes

Steve Litt wrote:

On Monday 31 December 2007 05:11, Abdelrazak Younes wrote:



So why don't you use LyX-1.5 directly then? Or more specifically what is
missing in LyX outlining facilities? 


He Abdel,

I haven't yet used 1.5, but when I do I'm pretty sure I'll find one thing 
missing in its outlining facilities: speed.


VimOutliner (VO) was built for speed from the bottom up. 100% keyboard driven, 
no need to reach for a mouse. It uses the ultra touch-typist-friendly Vim as 
an engine, and adds ultra-quick ,, commands for managing the outline. I can 
compose and organize as fast as I can think -- a huge advantage when planning 
a book.


I see.


I can think of two: 


- section folding/unfolding: I don't really understand why this is so
helpful for some. 


I couldn't live without folding (which in general outliner-speak is called 
expand/collapse. It allows you to view the big picture and then drill down.  


Well but you can view the big picture in the Outline dock. In there you 
can of course expand/collapse any node. You even have a slider to 
automatically open all nodes in the tree down to a given level.



It's a way of impedance matching the work to the mind. It's not about 
navigation, it's about getting the optimal view of the work.


Please try 1.5 to understand what I mean.



IMO, the ability to jump from section to section by 
clicking in the outlining dock is enough.


That sounds like an excellent feature. Perhaps it can be put into VimOutliner.



- drag sections in the outlining dock: right now you have to click
one of the 4 outline buttons.


Yes, it sounds like dragdrop section moving would speed things up. VimOutliner 
doesn't have it either. With VO, you collapse the section you want to move, 
delete  with dd, move to its desired destination, and press p or P as 
appropriate. This sounds very Mickey Mouse when described, but it's not that 
bad.


Agreed. Keyboard access is the main thing to fix in LyX WRT outlining.




Both features are not too difficult to implement provided that you find
a volunteer to implement them ;-)

If you (and others) could describe what you would like to have in the
Wiki, it would certainly be helpful.


I'm not too good with a Wiki, so I'll describe VimOutliner's features right 
here:


Promote/demote -- headlines or whole trees


Action on whole trees is not yet implemented unfortunately.


Expand/collapse  (also called folding)
Expand/collapse by headline, by tree, and outline wide


Some of these are possible in the Outline dock, but not all.


Body text that wraps (headlines don't wrap)


In LyX the body text doesn't show of course in the dock, only headlines.


Checkboxes with percentage completion


Sounds interesting.


Interoutline linking


I don't understand that one...


Executable lines -- any content can be viewed/executed from an outline


Neither this one...


Lightning quick interface for the touch typist


This is missing.

OK, thanks for sharing your thought. Maybe some developer will be 
interested in the challenge :-)


Abdel.



Re: [feature request] Using Sweave with LyX - "out of the box" support for creating R reports

2008-01-03 Thread Jean-Marc Lasgouttes
"Liviu Andronic" <[EMAIL PROTECTED]> writes:

> This message is mainly intended to LyX developers. A paper [1] by
> Gregor Gorjanc and due to appear in the near future on Rnews [2]
> describes into great detail all the steps needed to customize LyX so
> that it integrate nicely with Sweave [3] for creating reports using R.

Hello,

Please create a bug with all the relevant information if it is not yet
done. 

JMarc


Re: importing a database

2008-01-03 Thread G. Milde
On 28.12.07, Pol wrote:
> I would like to import a whole database into a lyx table, to edit before
> printing. 
> Specifically, i am using tellico as database, but any solution is welcome.
> I know i can export as bibtex, but how to import into a table? 

Try exporting as CSV (comma (or tab) separated values) in a text file.

Import of tab-separated values into a table of the right size can be done
via mouse-drop.

The csv2lyx script creates also the LyX table for you - see
http://tomi.gulino.org/OpenSource/csv2lyx/index.html

GM


Re: I'm writing a book in VimOutliner

2008-01-03 Thread Hellmut Weber

Hi Abdel,
thanks for your quick response ;-)

Abdelrazak Younes schrieb:
+++ It is already very helpful to be able to move entire paragraphs 
using the keyboard when working in the text window.


*** keyboard driven jump between the text window and the table of 
contents window . AFAIK this is not yet possible. The other direction 
seems to work simply with tab (and to my surprise with shift+tab too).


Right, this should be fixed.

Hopefully soon


What about shift tab for the lacking jump. Would be similar to other 
apps like e.g. thunderbird (to jump between folders panel and messages 
panel)


Problems is that shift-tab might be used for editing inside tables and 
math.

Any other keyboard combination would be good for me


*** keyboard accessibility of the 5 buttons at the lower border of the 
toc window.


Those were left out for lack of imagination. But you can of course 
define your own bindings in the bind file. We are open to ideas...

What are the lfuns associated to those?
I'like to give it a try (have been experimenting already with bindungs ;-)



Should I enter enhancement requests into bugzilla?


If they are not already there please do.

Done #4456


Thanks and Happy New Year and happy LyXing in 2008

Hellmut


--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Steve Litt
On Thursday 03 January 2008 04:56, Abdelrazak Younes wrote:
> Steve Litt wrote:

> > Body text that wraps (headlines don't wrap)
>

That's very acceptable in an outline mode of bookwriting software, because you 
have body text in normal mode.

> In LyX the body text doesn't show of course in the dock, only headlines.
>
> > Checkboxes with percentage completion
>
> Sounds interesting.

Yes, you could check a subtree when it's complete, and when you come to work 
in the morning you know what areas still need work.

>
> > Interoutline linking
>
> I don't understand that one...

Unnecessary in a bookwriter software, but just for fun I'll explain what it 
means. In VO, I have one outline called master.otl. It has links 
_tag_bicycles, _tag_clarinets, tag_family_tasks, and many more. Each has 
another outline 
(i.e. /data/otl/bicycles.otl, /data/music/instruments/clarinets.otl and the 
like). When the cursor is on a link, if you press Ctrl+K, you go right into 
the outline of the link. From there, pressing Ctrl+N gets you back to where 
you came from.

This feature can be used to build an "outline of outlines". So on my computer, 
my /data/otl/master.otl is the root of what I call a "single knowledge tree". 
Every outline can be navigated to from master.otl.

The only trouble with this single knowledge tree is it works only with 
outlines. But wait, there's more...

>
> > Executable lines -- any content can be viewed/executed from an outline
>
> Neither this one...

Remember my single knowledge tree, and how all outlines are in the tree, but 
unfortunately only outlines? I lied, you can place any content in the tree, 
using executable lines.

Let's say you want to have carpicture.jpg in your outline. You'd put the 
following executable line in your outline:

Car picture _exe_kuickshow /data/cars/images/carpicture.jpg. With your cursor 
on that line, you press the key sequence ,,e and shazam, you're in kuickshow 
viewing your car. I've had videos in my outlines. I can run LyX on the book 
from my outline.

In other words, between interoutline linking and executable lines, you can 
have a single tree of knowledge for every piece of knowledge on your 
computer. You'd start at the top and drill down to what you needed.

>
> > Lightning quick interface for the touch typist
>
> This is missing.

Until LyX had this, I wouldn't dream of building the outline from scratch in 
LyX -- it would slow me down.

A second reason I might continue to use VO to outline lyx-destined books is 
that VO is so darned familiar to me. I use VO hundreds of times a day. All my 
books. My todo list. The menu layout for my computer (I use UMENU instead of 
the start menu that comes with Mandriva 2007). My shopping list. My phone 
lists. When you're that familiar with a computer program, it often makes 
sense to use it even when, with equal experience in another program, the 
other program might make more sense.

>
> OK, thanks for sharing your thought. Maybe some developer will be
> interested in the challenge :-)

Good luck on that. Vim is a modal editor, LyX is not (thank goodness), and 
therefore I don't think you could ever get as good a keyboard interface with 
LyX.

HTH

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Beamer Problems

2008-01-03 Thread Paul A. Rubin

David Rosenberg wrote:

Hi,
   I'm running LyX 1.5.3 on Windows, and am having trouble with compiling
the Beamer Example (beamerlyxexample1.lyx).  I'm pasting in part of my log
below.  I also have problems with one of my older beamer presentations I
made with an earlier version of LyX.  For that presentation, I get an error
-- after exporting to Latex and trying to compile, I get the following:

ERROR: Package mathptmx Error: The symbols \jmath, \amalg and \coprod

--- TeX said ---
(mathptmx)are not available with this package.

See the mathptmx package documentation for explanation.
Type  H   for immediate help.
 ...

l.290 \lyxframeend
  {}\section{Kernel Cotraining}

Anyway, the first error in the compilation of the Beamer Example is the
exact same as the error
ERROR: Undefined control sequence.

--- TeX said ---
[EMAIL PROTECTED] #1#2#3#4->\pgfsincos
  {#3}\setlength [EMAIL PROTECTED]
{#1}\addtolengt...
l.1219 \lyxframeend
   {}\lyxagainframe{<6>hierarchy}
--- HELP ---
TeX encountered an unknown command name. You probably misspelled the
name. If this message occurs when a LaTeX command is being processed,
the command is probably in the wrong place---for example, the error
can be produced by an \item command that's not inside a list-making
environment. The error can also be caused by a missing \documentclass
command.

Thanks,
David



The beamer example has all sorts of problems.  I think in part it may be 
a matter of beamer having been updated and the example document not 
having been updated (?).


As to your document, the answer to the first error is simpler.  Quoting 
section 6.4 of the psnfss2e manual (regarding known deficiencies of the 
mathptmx package):


"* The symbols \jmath, \coprod and \amalg are not available."

I take that to mean that if you need those symbols, you'll have to 
change your font selection.  Why this was not a problem when you 
originally built the presentation I can't say.  I don't use mathptmx, so 
I don't know whether it throws this message even when you are not using 
those symbols, or whether it means all three symbols are present, or 
just one of them, or what.


As to the second message, unfortunately all sorts of problems result in 
LaTeX deciding that \lyxframeend is undefined (when in fact it is 
defined).  So that tells you something is broken, but not what.  If 
fixing the font problem (or eliminating use of \jmath, \coprod and/or 
\amalg) does not solve it, the best I can suggest is a bisection search 
-- cut out half the slides and recompile to see which half of the 
presentation has the error, then iterate until you narrow down the 
source.  If you can pin down the approximate location but not the exact 
cause, post a small but sufficient example here and perhaps someone can 
figure it out.


/Paul



Re: I'm writing a book in VimOutliner

2008-01-03 Thread Daniel Lohmann

Hi,

While I have neither used VimOutliner, nor am I a professional book  
writer, I usually do outline my texts before starting the actual  
writing. I use the mind-mapping tool FreeMind (http://freemind.sourceforge.net/ 
) to do the outlining, which supports links, keyboard navigation,  
folding/unfolding and so on. I then convert the FreeMind mindmap to  
LaTeX using a (slightly adopted) Ruby script (supposed to be available  
at http://www.duminil.info/doku.php?id=freemindtolatex, but currently  
down) and import the resulting LaTeX document into LyX.


Daniel


Underlining and table cell width

2008-01-03 Thread Maria Gouskova
Dear LyX users,

I suspect this may be a LaTeX rather than a LyX issue, but perhaps
some of you might know the answer. The usual solution for breaking
lines in LaTeX tables is to set the table width to a fixed value, for
example, 1 inch. This solution is clumsy (in my opinion, at least) but
it produces the desired result, with some experimentation. It doesn't
work, however, when the contents of the cell is underlined. The Is
there any way to break up the contents of a table cell across lines
with underlining?

Maria


Re: Underlining and table cell width

2008-01-03 Thread Liviu Andronic
As for breaking lines, I suspect you're looking for \linebreak. Check
the attached document. Also, play close attention to the formatting,
say: "NameERT[\linebreak] Residence".

For the underlining part, I can be of no help.
Liviu


On 1/3/08, Maria Gouskova <[EMAIL PROTECTED]> wrote:
> Dear LyX users,
>
> I suspect this may be a LaTeX rather than a LyX issue, but perhaps
> some of you might know the answer. The usual solution for breaking
> lines in LaTeX tables is to set the table width to a fixed value, for
> example, 1 inch. This solution is clumsy (in my opinion, at least) but
> it produces the desired result, with some experimentation. It doesn't
> work, however, when the contents of the cell is underlined. The Is
> there any way to break up the contents of a table cell across lines
> with underlining?
>
> Maria
>


linebreak1.lyx
Description: Binary data


Re: I'm writing a book in VimOutliner

2008-01-03 Thread obregonmateo
On Thursday 03 January 2008 16:31, Daniel Lohmann wrote:
> Hi,
>
> While I have neither used VimOutliner, nor am I a professional book
> writer, I usually do outline my texts before starting the actual
> writing. I use the mind-mapping tool FreeMind
> (http://freemind.sourceforge.net/ ) to do the outlining, which supports
> links, keyboard navigation,
> folding/unfolding and so on. I then convert the FreeMind mindmap to
> LaTeX using a (slightly adopted) Ruby script (supposed to be available
> at http://www.duminil.info/doku.php?id=freemindtolatex, but currently
> down) and import the resulting LaTeX document into LyX.
>
> Daniel

This is roughly what I use too. :)

The Ruby script I use to convert from FreeMind to LaTeX is mm2latex.rb, which 
I modified so as to give me headings and text if the node contained a new 
line.

Mateo.


Re: Underlining and table cell width

2008-01-03 Thread Paul A. Rubin

Maria Gouskova wrote:

Dear LyX users,

I suspect this may be a LaTeX rather than a LyX issue, but perhaps
some of you might know the answer. The usual solution for breaking
lines in LaTeX tables is to set the table width to a fixed value, for
example, 1 inch. This solution is clumsy (in my opinion, at least) but
it produces the desired result, with some experimentation. It doesn't
work, however, when the contents of the cell is underlined. The Is
there any way to break up the contents of a table cell across lines
with underlining?

Maria



Try the following:

1.  In the preamble, '\usepackage[normalem]{ulem}'.
2.  In ERT, inside the table cell at the start of the text to be 
underlined, '\uline{'.

3.  In ERT, at the end of the underlined text, '}'.

This of course presumes you've installed the ulem package.  :-)  The 
"normalem" option tells it not to convert emphasized text from italics 
to underlined (its default behavior).


I'll note in passing that 
http://dillgroup.ucsf.edu/latex/texfaq_14.html, specifically the section 
"Underlined text won't break", contains the following quote: 
"Nevertheless, typographically illiterate people (such as those that 
specify double-spaced thesis styles) continue to require underlining of 
us ..."  My impression is that underlining was "deprecated" at about the 
same time that the IBM Selectric typewriter passed into history, other 
than for occasional funky uses (such as identifying keyboard input, 
say).  I'm not a purist on these things, but I usually consider 
something like a monospaced font as a substitute for underlining.


HTH,
Paul



Re: How I could change the word _Chapter_ in a book-style document

2008-01-03 Thread Miguel Daniel Rodríguez Magarzo

El mié, 02-01-2008 a las 11:10 +0100, Jürgen Spitzmüller escribió:
> Miguel Daniel Rodríguez Magarzo wrote:
> > Firstly... happy new year 2008, best wishes to everyone.
> 
> Thanks. Same to you.
> 
> > I'd like to know if it would be possible to change the word
> > "Chapter" (Capítulo in my local language) to another one. I usually
> > write book-style documents, but I'd prefer to see another word at the
> > beginning of each chapter, such as "Tema" or "Lección" (Lesson,...)
> > instead, due the context.
> 
> See this FAQ entry (the resp. macro is \chaptername):
> http://wiki.lyx.org/FAQ/Unsorted#toc16
> 
> Jürgen

Thank you for your suggestion, the code -put in the Preamble- that
finally 
did the trick was the following (already adapted):

\AtBeginDocument{%

\addto\captionsspanish{%

\renewcommand{\chaptername}{Tema}%

}}

--

Daniel