Re: Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-10 Thread Miguel Daniel Rodríguez Magarzo

El mié, 09-04-2008 a las 13:08 +0200, Filippo Zangheri escribió:

 
  


Firstly, thank you very much for your last email, your reply was
_definitive_. :-)


  I've tried with that, removing much of the lines I had in the preamble;
  this is what is there at the moment:
  
  \AtBeginDocument{%
  \addto\captionsspanish{%
  \renewcommand{\chaptername}{Tema }%
  }}
  \usepackage{fancyhdr}
  \pagestyle{fancy}
  \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
  \fancyhead[ER,OR,EL,OL]{}
  \fancyhead[EC,OC]{Biología\hfill \leftmark} 
  \cfoot{\thepage}
 
 You can safely remove this last line, because that's the default
 footer of fancy pagestyle.
 
 

Right, I've checked it. 

  
  This code works, since:
  a. To the left of each page, heading, appears the string wanted.
  b. To the right of the same page, heading, takes place the title of the
  chapter, as desired, but...
  
  1. There is a minor detail, a difference in relation to what I wanted:
  it appears in upper case letters; I didn't wanted in that way, but lower
  case letters except the first, e.g. Nucleic acids, not NUCLEIC ACIDS.
 
 Strange, indeed! I copied your LaTeX preamble and put it into the
 LaTeX preamble of a new document, then I created a master document
 with two children and the result is literally the one you wish:
 lowercase chapter name. I attached those three files, check by yourself.
 
 

I was playing with those three files you sent me during a long time,
believe me... 
They worked as expected, I mean.. the master document behaves rightly
with that code, it looks like at the preview dvi is just what we wanted,
indeed. 
So, I stated to _compare_ de Document settings from yours (the test)
and mine (the real work) point by point, I didn't see any relevant
difference (both book-style,etc.) but I was getting the same result; I
even got to change everything in yours  settings (latexdefault-utf8,
Italian-Spanish, default page margins - mines, etc...) and nothing. 
Then I caught it. My God! The chapter string of your two child documents
were written in lower case letters, that was all A little detail
that was there always present and I was unable to notice until several
hours after. My right headers show upper case letters because I
intentionally write the string of each chapter name in
upper-case-letters..., yaaah. ;-)

Well, I don't know whether it could be true that with LaTeX no
everything can be possible, those two things particularly here, but if I
have to choose, I PREFER _chapter names in upper case letters, at the
beginning of each (child) document despite the right header have to come
with upper case letters too_, THAN chapter names in lower case letters,
which dislikes me*, just in order to get lower case letters in the
headers. 

* Into these kind of materials I'm working right now (much long
chapters).



  2. Besides, now a new (big) fail has appeared: the number page is the
  1 in all pages of the master document. Much probably this has to do
  with the ERT that I had placed at the beginning of each document
  (child), just after the chapter, this one:
  
  \setcounter{page}{1}
  
  This did let me to obtain a desired effect: to reset page numbers when
  starting each chapter. I know this practise is not much common, but for
  some materials it reveals to be very practical (specially for pupils). 
  
  Is there any work around for solving these issues, please?
 
 To fix the problem, try to put the ERT[\setcounter{page}{1}] at the
 very beginning of the child document - before the chapter. ;)
 

That was absolutely great! I caught it at first try because your example
files, if not I were put them just before the string of the chapter (as
really did firstly), where they don't work. It must be placed at a
previous line (with the normal style chosen), as you showed me. :-)


 
 Best regards.
 
 - --
 Filippo Zangheri

Thank you very much, Filippo. 

With this one, I've got satisfied more or less the questions that arose
to me past days/weeks. Thanks again, to you and others here in the list
for your time, I know too how much difficult becomes sometimes to find a
little of time for such a things to all us, and how many important time
is into our lives. 

By the way, maybe the following could be interesting for developers in
the list (most of you, I suspect...) ;-).  When I was playing with those
three files I realized of some kind of bug (maybe?) that, fortunately,
this time I could face up without having to ask for help to the list.
Maybe is just a well-known issue (not a bug), I don't know...
a. To launch a new instance of LyX (my intention is to build a master
document).
b. File  New document. Right. 
c. Then, Insert  File  Child document, proceeding. Repeating the same
operation for another one, etc. 
d. Document  Settings, paste your LaTeX code in the preamble, etc. 
e. Save, giving a name, placing over there, etc. 
f. dvi 

Re: Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-10 Thread Miguel Daniel Rodríguez Magarzo

El mié, 09-04-2008 a las 13:08 +0200, Filippo Zangheri escribió:

 
  


Firstly, thank you very much for your last email, your reply was
_definitive_. :-)


  I've tried with that, removing much of the lines I had in the preamble;
  this is what is there at the moment:
  
  \AtBeginDocument{%
  \addto\captionsspanish{%
  \renewcommand{\chaptername}{Tema }%
  }}
  \usepackage{fancyhdr}
  \pagestyle{fancy}
  \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
  \fancyhead[ER,OR,EL,OL]{}
  \fancyhead[EC,OC]{Biología\hfill \leftmark} 
  \cfoot{\thepage}
 
 You can safely remove this last line, because that's the default
 footer of fancy pagestyle.
 
 

Right, I've checked it. 

  
  This code works, since:
  a. To the left of each page, heading, appears the string wanted.
  b. To the right of the same page, heading, takes place the title of the
  chapter, as desired, but...
  
  1. There is a minor detail, a difference in relation to what I wanted:
  it appears in upper case letters; I didn't wanted in that way, but lower
  case letters except the first, e.g. Nucleic acids, not NUCLEIC ACIDS.
 
 Strange, indeed! I copied your LaTeX preamble and put it into the
 LaTeX preamble of a new document, then I created a master document
 with two children and the result is literally the one you wish:
 lowercase chapter name. I attached those three files, check by yourself.
 
 

I was playing with those three files you sent me during a long time,
believe me... 
They worked as expected, I mean.. the master document behaves rightly
with that code, it looks like at the preview dvi is just what we wanted,
indeed. 
So, I stated to _compare_ de Document settings from yours (the test)
and mine (the real work) point by point, I didn't see any relevant
difference (both book-style,etc.) but I was getting the same result; I
even got to change everything in yours  settings (latexdefault-utf8,
Italian-Spanish, default page margins - mines, etc...) and nothing. 
Then I caught it. My God! The chapter string of your two child documents
were written in lower case letters, that was all A little detail
that was there always present and I was unable to notice until several
hours after. My right headers show upper case letters because I
intentionally write the string of each chapter name in
upper-case-letters..., yaaah. ;-)

Well, I don't know whether it could be true that with LaTeX no
everything can be possible, those two things particularly here, but if I
have to choose, I PREFER _chapter names in upper case letters, at the
beginning of each (child) document despite the right header have to come
with upper case letters too_, THAN chapter names in lower case letters,
which dislikes me*, just in order to get lower case letters in the
headers. 

* Into these kind of materials I'm working right now (much long
chapters).



  2. Besides, now a new (big) fail has appeared: the number page is the
  1 in all pages of the master document. Much probably this has to do
  with the ERT that I had placed at the beginning of each document
  (child), just after the chapter, this one:
  
  \setcounter{page}{1}
  
  This did let me to obtain a desired effect: to reset page numbers when
  starting each chapter. I know this practise is not much common, but for
  some materials it reveals to be very practical (specially for pupils). 
  
  Is there any work around for solving these issues, please?
 
 To fix the problem, try to put the ERT[\setcounter{page}{1}] at the
 very beginning of the child document - before the chapter. ;)
 

That was absolutely great! I caught it at first try because your example
files, if not I were put them just before the string of the chapter (as
really did firstly), where they don't work. It must be placed at a
previous line (with the normal style chosen), as you showed me. :-)


 
 Best regards.
 
 - --
 Filippo Zangheri

Thank you very much, Filippo. 

With this one, I've got satisfied more or less the questions that arose
to me past days/weeks. Thanks again, to you and others here in the list
for your time, I know too how much difficult becomes sometimes to find a
little of time for such a things to all us, and how many important time
is into our lives. 

By the way, maybe the following could be interesting for developers in
the list (most of you, I suspect...) ;-).  When I was playing with those
three files I realized of some kind of bug (maybe?) that, fortunately,
this time I could face up without having to ask for help to the list.
Maybe is just a well-known issue (not a bug), I don't know...
a. To launch a new instance of LyX (my intention is to build a master
document).
b. File  New document. Right. 
c. Then, Insert  File  Child document, proceeding. Repeating the same
operation for another one, etc. 
d. Document  Settings, paste your LaTeX code in the preamble, etc. 
e. Save, giving a name, placing over there, etc. 
f. dvi 

Re: Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-10 Thread Miguel Daniel Rodríguez Magarzo

El mié, 09-04-2008 a las 13:08 +0200, Filippo Zangheri escribió:

> >>
> > 


Firstly, thank you very much for your last email, your reply was
_definitive_. :-)


> > I've tried with that, removing much of the lines I had in the preamble;
> > this is what is there at the moment:
> > 
> > \AtBeginDocument{%
> > \addto\captionsspanish{%
> > \renewcommand{\chaptername}{Tema }%
> > }}
> > \usepackage{fancyhdr}
> > \pagestyle{fancy}
> > \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
> > \fancyhead[ER,OR,EL,OL]{}
> > \fancyhead[EC,OC]{Biología\hfill \leftmark} 
> > \cfoot{\thepage}
> 
> You can safely remove this last line, because that's the default
> footer of "fancy" pagestyle.
> 
> 

Right, I've checked it. 

> > 
> > This code works, since:
> > a. To the left of each page, heading, appears the string wanted.
> > b. To the right of the same page, heading, takes place the title of the
> > chapter, as desired, but...
> > 
> > 1. There is a minor detail, a difference in relation to what I wanted:
> > it appears in upper case letters; I didn't wanted in that way, but lower
> > case letters except the first, e.g. Nucleic acids, not NUCLEIC ACIDS.
> 
> Strange, indeed! I copied your LaTeX preamble and put it into the
> LaTeX preamble of a new document, then I created a master document
> with two children and the result is literally the one you wish:
> lowercase chapter name. I attached those three files, check by yourself.
> 
> 

I was playing with those three files you sent me during a long time,
believe me... 
They worked as expected, I mean.. the master document behaves rightly
with that code, it looks like at the preview dvi is just what we wanted,
indeed. 
So, I stated to _compare_ de "Document settings" from yours (the test)
and mine (the real work) point by point, I didn't see any relevant
difference (both book-style,etc.) but I was getting the same result; I
even got to change everything in yours  settings (latexdefault->utf8,
Italian->Spanish, default page margins -> mines, etc...) and nothing. 
Then I caught it. My God! The chapter string of your two child documents
were written in lower case letters, that was all A little detail
that was there always present and I was unable to notice until several
hours after. My right headers show upper case letters because I
intentionally write the string of each chapter name in
upper-case-letters..., yaaah. ;-)

Well, I don't know whether it could be true that with LaTeX no
everything can be possible, those two things particularly here, but if I
have to choose, I PREFER _chapter names in upper case letters, at the
beginning of each (child) document despite the right header have to come
with upper case letters too_, THAN chapter names in lower case letters,
which dislikes me*, just in order to get lower case letters in the
headers. 

* Into these kind of materials I'm working right now (much long
chapters).



> > 2. Besides, now a new (big) fail has appeared: the number page is the
> > "1" in all pages of the master document. Much probably this has to do
> > with the ERT that I had placed at the beginning of each document
> > (child), just after the chapter, this one:
> > 
> > \setcounter{page}{1}
> > 
> > This did let me to obtain a desired effect: to reset page numbers when
> > starting each chapter. I know this practise is not much common, but for
> > some materials it reveals to be very practical (specially for pupils). 
> > 
> > Is there any work around for solving these issues, please?
> 
> To fix the problem, try to put the ERT[\setcounter{page}{1}] at the
> very beginning of the child document - before the chapter. ;)
> 

That was absolutely great! I caught it at first try because your example
files, if not I were put them just before the string of the chapter (as
really did firstly), where they don't work. It must be placed at a
previous line (with the "normal" style chosen), as you showed me. :-)


> 
> Best regards.
> 
> - --
> Filippo Zangheri

Thank you very much, Filippo. 

With this one, I've got satisfied more or less the questions that arose
to me past days/weeks. Thanks again, to you and others here in the list
for your time, I know too how much difficult becomes sometimes to find a
little of time for such a things to all us, and how many important time
is into our lives. 

By the way, maybe the following could be interesting for developers in
the list (most of you, I suspect...) ;-).  When I was playing with those
three files I realized of some kind of "bug" (maybe?) that, fortunately,
this time I could face up without having to ask for help to the list.
Maybe is just a well-known issue (not a bug), I don't know...
a. To launch a new instance of LyX (my intention is to build a master
document).
b. File > New document. Right. 
c. Then, Insert > File > Child document, proceeding. Repeating the same
operation for another one, etc. 
d. Document > Settings, paste 

Re: No accents when mastering a document (Spanish) ??

2008-04-09 Thread Miguel Daniel Rodríguez Magarzo

El mar, 08-04-2008 a las 10:12 +0200, G. Milde escribió:
 On  7.04.08, Miguel Daniel Rodríguez Magarzo wrote:
 
  So I don't know what to do, if I should abandon the idea of building a
  master document,since I don't see clearly which advantages it really
  provides. Anyone could point me any? 
 
 You will get the advantage of a common document 
 
  * continuous page numbers
  * continuous chapter and section numbers
  * table of contents for the whole document
  * common bibliography section
  * cross-references between different chapters just work
  * ...
  
 as well as the advantages of smaller documents 
 
  * faster compiling (i.e. faster preview of just one chapter)
  * faster navigation in a document
  * improved security: a corrupt sub-document does not affect the whole.
  * ...
 
 There are disadvantages as well but this was not the question.
 

You are very very illustrative, thanks.

  Besides, the master document has not built-in the sets of child
  documents, has it? 
 
 The master document source contains just a link to the child documents.
 - this way is it remains a very small file.
 The same is used for graphics.
 

I've got already the idea :-) But yes, that was the sense of my
question ;-)

 For my thesis, I have a directory structure like
 
   Diss/
  main.lyx % master
  preamble.tex   % used with \input{preamble.tex}
  math-macros.lyx  % included in master and childs (as branch)
  Einleitung/% chapter 1
einleitung.lyx   % child document
plot.eps % vector graphic, included as is
photo1.jpg   % pixel graphic, wrapped in eps by LyX
  Grundgleichungen/  % chapter 2
feldkopplung.svg % vector graphic, converted to eps by LyX
impulsfolge.gnuplot% gnuplot source of a plot
impulsfolge.eps  % gnuplot eps output, included as is
...% more supporting files
  ...% more chapter subdirectories
  zusammenfassung.lyx  % a chapter without supporting files
  Anhang/% appendix
...  % LyX source and supporting files

 which will combined be not take more disk space than a corresponding
 openoffice or other office-suite file with included graphics.
  
 I can easily pack it in a zip or tar.bz2 archive if I want to move
 or store it as a single file.
 
  Consequently, the whole set of child docs should be
  there forever, if I've understood it rightly.
 
 No, only as long as the master document is there ;-)
 
 GM

:-))

Thanks again, you talked very clearly.

Cheers,
Daniel



Re: No accents when mastering a document (Spanish) ??

2008-04-09 Thread Miguel Daniel Rodríguez Magarzo

El mar, 08-04-2008 a las 10:12 +0200, G. Milde escribió:
 On  7.04.08, Miguel Daniel Rodríguez Magarzo wrote:
 
  So I don't know what to do, if I should abandon the idea of building a
  master document,since I don't see clearly which advantages it really
  provides. Anyone could point me any? 
 
 You will get the advantage of a common document 
 
  * continuous page numbers
  * continuous chapter and section numbers
  * table of contents for the whole document
  * common bibliography section
  * cross-references between different chapters just work
  * ...
  
 as well as the advantages of smaller documents 
 
  * faster compiling (i.e. faster preview of just one chapter)
  * faster navigation in a document
  * improved security: a corrupt sub-document does not affect the whole.
  * ...
 
 There are disadvantages as well but this was not the question.
 

You are very very illustrative, thanks.

  Besides, the master document has not built-in the sets of child
  documents, has it? 
 
 The master document source contains just a link to the child documents.
 - this way is it remains a very small file.
 The same is used for graphics.
 

I've got already the idea :-) But yes, that was the sense of my
question ;-)

 For my thesis, I have a directory structure like
 
   Diss/
  main.lyx % master
  preamble.tex   % used with \input{preamble.tex}
  math-macros.lyx  % included in master and childs (as branch)
  Einleitung/% chapter 1
einleitung.lyx   % child document
plot.eps % vector graphic, included as is
photo1.jpg   % pixel graphic, wrapped in eps by LyX
  Grundgleichungen/  % chapter 2
feldkopplung.svg % vector graphic, converted to eps by LyX
impulsfolge.gnuplot% gnuplot source of a plot
impulsfolge.eps  % gnuplot eps output, included as is
...% more supporting files
  ...% more chapter subdirectories
  zusammenfassung.lyx  % a chapter without supporting files
  Anhang/% appendix
...  % LyX source and supporting files

 which will combined be not take more disk space than a corresponding
 openoffice or other office-suite file with included graphics.
  
 I can easily pack it in a zip or tar.bz2 archive if I want to move
 or store it as a single file.
 
  Consequently, the whole set of child docs should be
  there forever, if I've understood it rightly.
 
 No, only as long as the master document is there ;-)
 
 GM

:-))

Thanks again, you talked very clearly.

Cheers,
Daniel



Re: No accents when mastering a document (Spanish) ??

2008-04-09 Thread Miguel Daniel Rodríguez Magarzo

El mar, 08-04-2008 a las 10:12 +0200, G. Milde escribió:
> On  7.04.08, Miguel Daniel Rodríguez Magarzo wrote:
> 
> > So I don't know what to do, if I should abandon the idea of building a
> > master document,since I don't see clearly which advantages it really
> > provides. Anyone could point me any? 
> 
> You will get the advantage of a common document 
> 
>  * continuous page numbers
>  * continuous chapter and section numbers
>  * table of contents for the whole document
>  * common bibliography section
>  * cross-references between different chapters "just work"
>  * ...
>  
> as well as the advantages of smaller documents 
> 
>  * faster compiling (i.e. faster preview of just one chapter)
>  * faster navigation in a document
>  * improved security: a corrupt sub-document does not affect the whole.
>  * ...
> 
> There are disadvantages as well but this was not the question.
> 

You are very very illustrative, thanks.

> > Besides, the master document has not built-in the sets of child
> > documents, has it? 
> 
> The master document source contains just a link to the child documents.
> - this way is it remains a very small file.
> The same is used for graphics.
> 

I've got already the idea :-) But yes, that was the sense of my
question ;-)

> For my thesis, I have a directory structure like
> 
>   Diss/
>  main.lyx % master
>  preamble.tex   % used with \input{preamble.tex}
>  math-macros.lyx  % included in master and childs (as branch)
>  Einleitung/% chapter 1
>einleitung.lyx   % child document
>plot.eps % vector graphic, included as is
>photo1.jpg   % pixel graphic, wrapped in eps by LyX
>  Grundgleichungen/  % chapter 2
>feldkopplung.svg % vector graphic, converted to eps by LyX
>impulsfolge.gnuplot% gnuplot source of a plot
>impulsfolge.eps  % gnuplot eps output, included as is
>...% more supporting files
>  ...% more chapter subdirectories
>  zusammenfassung.lyx  % a chapter without supporting files
>  Anhang/% appendix
>...  % LyX source and supporting files
>
> which will combined be not take more disk space than a corresponding
> openoffice or other office-suite file with included graphics.
>  
> I can easily pack it in a zip or tar.bz2 archive if I want to move
> or store it as a single file.
> 
> > Consequently, the whole set of child docs should be
> > there forever, if I've understood it rightly.
> 
> No, only as long as the master document is there ;-)
> 
> GM

:-))

Thanks again, you talked very clearly.

Cheers,
Daniel



Re: No accents when mastering a document (Spanish) ??

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

 
 It is really important that you check twice and make sure that all
 child documents are encoded in utf8, because just one miss can
 cause that complaint. Here, with LyX 1.5.4 on Linux and Italian
 language, I can not reproduce the behaviour you are describing.
 
 

I did it. Your suspect was correct. I answered yet this.

  So I don't know what to do, if I should abandon the idea of building a
  master document,since I don't see clearly which advantages it really
  provides. Anyone could point me any? Besides, the master document has
 
 Until now (LyX 1.5.4), I think that having a master document has the
 only advantage of allowing you to build a single pdf/ps/whatever
 output file, out of all the child documents, without the need for
 merging them with 3rd party applications.
 

Your answer here clarifies me the doubt of the end. 

 Another advantage is that you can write child documents without
 thinking much about little inter-chapter LaTeX adjustments; then you
 can put all the ERT adjustments in the master file. I hope you
 understand my pseudo-English. ;)
 
Yep. :-)

 It is likely that further versions will permit you to perform better
 and deeper management of child documents from within the master.
 
 
  not built-in the sets of child documents, has it? Consequently, the
 
 If I understand right, you are asking if master document contains
 the list of its child documents. The answer to this question is
 obviously yes :) but I'm not sure that this is what you mean..
 
 

No, that was too much obvious... :-))  I didn't mean that. But don't
worry, I already got the idea  from a previous comment from you (above).

 Best regards.
 
 - --
 Filippo Zangheri
 

Thank you very much for this,

Daniel



Re: Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El mar, 08-04-2008 a las 10:52 +0200, Filippo Zangheri escribió:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Miguel Daniel Rodríguez Magarzo ha scritto:
  Hi again,
  
  Honestly, I hope to get to explain good enough. The issue is very
  simple. 
  
  What I've done until now in order to sorting this out has been just
  taping in the preamble, inside \rhead{}, the string I wanted to be
  appeared there (using the fancyhdr). But how to do if I want the same
  result using code? 
  
  I've tried several combinations, but without results. Actually, I never
  knew much what I  was really doing, since I know nothing about LaTeX,
  but the try and error method didn't gave me a only chance either.
  
  In a pdf document (Page layout in LaTeX, Piet van Oostrum, Utrecht
  University, 2004), page 10, it shows several examples of this, more...
  what I wanted was there... !!!, __just__ the third from the end, very
  simple:
  
  \renewcommand{\chaptermark}[1]{%
   \markboth{#1}{}}
 
 Hi Miguel,
 
 Try using the syntax below, maybe you are not using \leftmark?
 
 \usepackage{fancyhdr}
 \pagestyle{fancy}
 \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
 \fancyhead[ER,OR,EL,OL]{}
 \fancyhead[EC,OC]{Your Name\hfill \leftmark}
 
 As a note, if you find that header font is too small, you can always
 do: \begin{large} your header here \end{large} .
 
 Greetings.
 
 
 - --
 Filippo Zangheri
 

Thank you for your suggestion, Filippo.

I've tried with that, removing much of the lines I had in the preamble;
this is what is there at the moment:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema }%
}}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\fancyhead[ER,OR,EL,OL]{}
\fancyhead[EC,OC]{Biología\hfill \leftmark} 
\cfoot{\thepage}


This code works, since:
a. To the left of each page, heading, appears the string wanted.
b. To the right of the same page, heading, takes place the title of the
chapter, as desired, but...

1. There is a minor detail, a difference in relation to what I wanted:
it appears in upper case letters; I didn't wanted in that way, but lower
case letters except the first, e.g. Nucleic acids, not NUCLEIC ACIDS.
2. Besides, now a new (big) fail has appeared: the number page is the
1 in all pages of the master document. Much probably this has to do
with the ERT that I had placed at the beginning of each document
(child), just after the chapter, this one:

\setcounter{page}{1}

This did let me to obtain a desired effect: to reset page numbers when
starting each chapter. I know this practise is not much common, but for
some materials it reveals to be very practical (specially for pupils). 

Is there any work around for solving these issues, please?

Daniel



Re: Howto for footnoting from a table

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El lun, 07-04-2008 a las 19:45 +0200, Uwe Stöhr escribió:
 Miguel Daniel Rodríguez Magarzo schrieb:
 
  One of the doubts is how to do a footnote from a table element, if
  possible. Lyx behaves as it had been done, but it hadn't, according with
  the xdvi preview.
 
 See sec. 4.2 and 5.4 of the EmbeddedObjects manual.
 
   I'm working with LyX 1.5.1, and here I can find a work
 
 regards Uwe

Thanks Uwe, 

I've read those and another sections (they are translated), and the word
key is _minipages_. The idea was exposed very simply, good. 

Then, the hard work was to find how to set up a minipage in the
document... Finally I discovered it (by exclusion) in Insertar 
Cuadro (in Spanish). 

It worked. Thank you again.

Daniel

P.S. BTW, I don't know why, but I couldn't get a preview of the
mentioned manual through xdvi, pdf, etc. There were four identical
errors: 
Package inputenc Error: Keyboard character used is undefined
The highlighted character in all cases is the degree symbol, that is,
º, e.g. 90º. 
I don't know if this has anything to do with the settings or anything
else..



Re: No accents when mastering a document (Spanish) ??

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

 
 It is really important that you check twice and make sure that all
 child documents are encoded in utf8, because just one miss can
 cause that complaint. Here, with LyX 1.5.4 on Linux and Italian
 language, I can not reproduce the behaviour you are describing.
 
 

I did it. Your suspect was correct. I answered yet this.

  So I don't know what to do, if I should abandon the idea of building a
  master document,since I don't see clearly which advantages it really
  provides. Anyone could point me any? Besides, the master document has
 
 Until now (LyX 1.5.4), I think that having a master document has the
 only advantage of allowing you to build a single pdf/ps/whatever
 output file, out of all the child documents, without the need for
 merging them with 3rd party applications.
 

Your answer here clarifies me the doubt of the end. 

 Another advantage is that you can write child documents without
 thinking much about little inter-chapter LaTeX adjustments; then you
 can put all the ERT adjustments in the master file. I hope you
 understand my pseudo-English. ;)
 
Yep. :-)

 It is likely that further versions will permit you to perform better
 and deeper management of child documents from within the master.
 
 
  not built-in the sets of child documents, has it? Consequently, the
 
 If I understand right, you are asking if master document contains
 the list of its child documents. The answer to this question is
 obviously yes :) but I'm not sure that this is what you mean..
 
 

No, that was too much obvious... :-))  I didn't mean that. But don't
worry, I already got the idea  from a previous comment from you (above).

 Best regards.
 
 - --
 Filippo Zangheri
 

Thank you very much for this,

Daniel



Re: Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El mar, 08-04-2008 a las 10:52 +0200, Filippo Zangheri escribió:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Miguel Daniel Rodríguez Magarzo ha scritto:
  Hi again,
  
  Honestly, I hope to get to explain good enough. The issue is very
  simple. 
  
  What I've done until now in order to sorting this out has been just
  taping in the preamble, inside \rhead{}, the string I wanted to be
  appeared there (using the fancyhdr). But how to do if I want the same
  result using code? 
  
  I've tried several combinations, but without results. Actually, I never
  knew much what I  was really doing, since I know nothing about LaTeX,
  but the try and error method didn't gave me a only chance either.
  
  In a pdf document (Page layout in LaTeX, Piet van Oostrum, Utrecht
  University, 2004), page 10, it shows several examples of this, more...
  what I wanted was there... !!!, __just__ the third from the end, very
  simple:
  
  \renewcommand{\chaptermark}[1]{%
   \markboth{#1}{}}
 
 Hi Miguel,
 
 Try using the syntax below, maybe you are not using \leftmark?
 
 \usepackage{fancyhdr}
 \pagestyle{fancy}
 \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
 \fancyhead[ER,OR,EL,OL]{}
 \fancyhead[EC,OC]{Your Name\hfill \leftmark}
 
 As a note, if you find that header font is too small, you can always
 do: \begin{large} your header here \end{large} .
 
 Greetings.
 
 
 - --
 Filippo Zangheri
 

Thank you for your suggestion, Filippo.

I've tried with that, removing much of the lines I had in the preamble;
this is what is there at the moment:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema }%
}}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\fancyhead[ER,OR,EL,OL]{}
\fancyhead[EC,OC]{Biología\hfill \leftmark} 
\cfoot{\thepage}


This code works, since:
a. To the left of each page, heading, appears the string wanted.
b. To the right of the same page, heading, takes place the title of the
chapter, as desired, but...

1. There is a minor detail, a difference in relation to what I wanted:
it appears in upper case letters; I didn't wanted in that way, but lower
case letters except the first, e.g. Nucleic acids, not NUCLEIC ACIDS.
2. Besides, now a new (big) fail has appeared: the number page is the
1 in all pages of the master document. Much probably this has to do
with the ERT that I had placed at the beginning of each document
(child), just after the chapter, this one:

\setcounter{page}{1}

This did let me to obtain a desired effect: to reset page numbers when
starting each chapter. I know this practise is not much common, but for
some materials it reveals to be very practical (specially for pupils). 

Is there any work around for solving these issues, please?

Daniel



Re: Howto for footnoting from a table

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El lun, 07-04-2008 a las 19:45 +0200, Uwe Stöhr escribió:
 Miguel Daniel Rodríguez Magarzo schrieb:
 
  One of the doubts is how to do a footnote from a table element, if
  possible. Lyx behaves as it had been done, but it hadn't, according with
  the xdvi preview.
 
 See sec. 4.2 and 5.4 of the EmbeddedObjects manual.
 
   I'm working with LyX 1.5.1, and here I can find a work
 
 regards Uwe

Thanks Uwe, 

I've read those and another sections (they are translated), and the word
key is _minipages_. The idea was exposed very simply, good. 

Then, the hard work was to find how to set up a minipage in the
document... Finally I discovered it (by exclusion) in Insertar 
Cuadro (in Spanish). 

It worked. Thank you again.

Daniel

P.S. BTW, I don't know why, but I couldn't get a preview of the
mentioned manual through xdvi, pdf, etc. There were four identical
errors: 
Package inputenc Error: Keyboard character used is undefined
The highlighted character in all cases is the degree symbol, that is,
º, e.g. 90º. 
I don't know if this has anything to do with the settings or anything
else..



Re: No accents when mastering a document (Spanish) ??

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

> 
> It is really important that you check twice and make sure that all
> child documents are encoded in "utf8", because just one miss can
> cause that complaint. Here, with LyX 1.5.4 on Linux and Italian
> language, I can not reproduce the behaviour you are describing.
> 
> 

I did it. Your suspect was correct. I answered yet this.

> > So I don't know what to do, if I should abandon the idea of building a
> > master document,since I don't see clearly which advantages it really
> > provides. Anyone could point me any? Besides, the master document has
> 
> Until now (LyX 1.5.4), I think that having a master document has the
> only advantage of allowing you to build a single pdf/ps/whatever
> output file, out of all the child documents, without the need for
> merging them with 3rd party applications.
> 

Your answer here clarifies me the doubt of the end. 

> Another advantage is that you can write child documents without
> thinking much about little inter-chapter LaTeX adjustments; then you
> can put all the ERT adjustments in the master file. I hope you
> understand my pseudo-English. ;)
> 
Yep. :-)

> It is likely that further versions will permit you to perform better
> and deeper management of child documents from within the master.
> 
> 
> > not built-in the sets of child documents, has it? Consequently, the
> 
> If I understand right, you are asking if master document contains
> the list of its child documents. The answer to this question is
> obviously yes :) but I'm not sure that this is what you mean..
> 
> 

No, that was too much obvious... :-))  I didn't mean that. But don't
worry, I already got the idea  from a previous comment from you (above).

> Best regards.
> 
> - --
> Filippo Zangheri
> 

Thank you very much for this,

Daniel



Re: Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El mar, 08-04-2008 a las 10:52 +0200, Filippo Zangheri escribió:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Miguel Daniel Rodríguez Magarzo ha scritto:
> > Hi again,
> > 
> > Honestly, I hope to get to explain good enough. The issue is very
> > simple. 
> > 
> > What I've done until now in order to sorting this out has been just
> > taping in the preamble, inside "\rhead{}", the string I wanted to be
> > appeared there (using the fancyhdr). But how to do if I want the same
> > result using code? 
> > 
> > I've tried several combinations, but without results. Actually, I never
> > knew much what I  was really doing, since I know nothing about LaTeX,
> > but the "try and error" method didn't gave me a only chance either.
> > 
> > In a pdf document ("Page layout in LaTeX", Piet van Oostrum, Utrecht
> > University, 2004), page 10, it shows several examples of this, more...
> > what I wanted was there... !!!, __just__ the third from the end, very
> > simple:
> > 
> > \renewcommand{\chaptermark}[1]{%
> >  \markboth{#1}{}}
> 
> Hi Miguel,
> 
> Try using the syntax below, maybe you are not using \leftmark?
> 
> \usepackage{fancyhdr}
> \pagestyle{fancy}
> \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
> \fancyhead[ER,OR,EL,OL]{}
> \fancyhead[EC,OC]{Your Name\hfill \leftmark}
> 
> As a note, if you find that header font is too small, you can always
> do: \begin{large}  \end{large} .
> 
> Greetings.
> 
> 
> - --
> Filippo Zangheri
> 

Thank you for your suggestion, Filippo.

I've tried with that, removing much of the lines I had in the preamble;
this is what is there at the moment:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema }%
}}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\fancyhead[ER,OR,EL,OL]{}
\fancyhead[EC,OC]{Biología\hfill \leftmark} 
\cfoot{\thepage}


This code works, since:
a. To the left of each page, heading, appears the string wanted.
b. To the right of the same page, heading, takes place the title of the
chapter, as desired, but...

1. There is a minor detail, a difference in relation to what I wanted:
it appears in upper case letters; I didn't wanted in that way, but lower
case letters except the first, e.g. Nucleic acids, not NUCLEIC ACIDS.
2. Besides, now a new (big) fail has appeared: the number page is the
"1" in all pages of the master document. Much probably this has to do
with the ERT that I had placed at the beginning of each document
(child), just after the chapter, this one:

\setcounter{page}{1}

This did let me to obtain a desired effect: to reset page numbers when
starting each chapter. I know this practise is not much common, but for
some materials it reveals to be very practical (specially for pupils). 

Is there any work around for solving these issues, please?

Daniel



Re: Howto for footnoting from a table

2008-04-08 Thread Miguel Daniel Rodríguez Magarzo

El lun, 07-04-2008 a las 19:45 +0200, Uwe Stöhr escribió:
> Miguel Daniel Rodríguez Magarzo schrieb:
> >
> > One of the doubts is how to do a footnote from a table element, if
> > possible. Lyx behaves as it had been done, but it hadn't, according with
> > the xdvi preview.
> 
> See sec. 4.2 and 5.4 of the EmbeddedObjects manual.
> 
>  > I'm working with LyX 1.5.1, and here I can find a work
> 
> regards Uwe

Thanks Uwe, 

I've read those and another sections (they are translated), and the word
key is _minipages_. The idea was exposed very simply, good. 

Then, the hard work was to find how to set up a minipage in the
document... Finally I discovered it (by exclusion) in "Insertar >
Cuadro" (in Spanish). 

It worked. Thank you again.

Daniel

P.S. BTW, I don't know why, but I couldn't get a preview of the
mentioned manual through xdvi, pdf, etc. There were four identical
errors: 
"Package inputenc Error: Keyboard character used is undefined"
The highlighted character in all cases is the "degree" symbol, that is,
º, e.g. 90º. 
I don't know if this has anything to do with the settings or anything
else..



Howto for footnoting from a table

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi list, 

Again, I'd like to get some help from here about some issues where I'm
stuck at the moment. I usually try CTAN documentation firstly, but also
vainly most of the times... I thing I do not get to catch most of the
substance. As I've already said in previous occasions in the list, I
have no idea about LaTeX, but I work using LyX in order to produce my
own work documentation. 

One of the doubts is how to do a footnote from a table element, if
possible. Lyx behaves as it had been done, but it hadn't, according with
the xdvi preview. I'm working with LyX 1.5.1, and here I can find a work
around easily, e.g. using the x^n math function, but... it's not the
same and I'd like to know..

I've not found anything about that in the documentation that LyX comes
in.

Thanks in advance, even for reading..

Daniel



No accents when mastering a document (Spanish) ??

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again,

These days I've got the (longed-for) moment where much of the work was
definitively done. Result of this is a set of different LyX documents
(book-style), each one is a chapter. 
I've tried that called master/child document, but the resulting preview
is absolutely unacceptable, 'cause it doesn't get to treat accents
properly, so it puts other characters just where there should be an
accent. My mother tongue, Spanish, is a language full of accents
everywhere so, after mastering the set, the crashing aspect of each
page is really awful. Besides, this adds more characters per page, which
alters the desired position of most of the sections/subsections,... 

In the master, Document  Settings  Language  Spanish, and encoding
LaTeX default
but into each child document, I have set Language Spanish too, but
encoding utf8, with good results. 
If I switch to utf8 in the master settings, the xdvi preview gives me
a lot of warnings about this fact, obviously. 

So I don't know what to do, if I should abandon the idea of building a
master document,since I don't see clearly which advantages it really
provides. Anyone could point me any? Besides, the master document has
not built-in the sets of child documents, has it? Consequently, the
whole set of child docs should be there forever, if I've understood it
rightly.

Regards,
Daniel






Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again,

Honestly, I hope to get to explain good enough. The issue is very
simple. 

What I've done until now in order to sorting this out has been just
taping in the preamble, inside \rhead{}, the string I wanted to be
appeared there (using the fancyhdr). But how to do if I want the same
result using code? 

I've tried several combinations, but without results. Actually, I never
knew much what I  was really doing, since I know nothing about LaTeX,
but the try and error method didn't gave me a only chance either.

In a pdf document (Page layout in LaTeX, Piet van Oostrum, Utrecht
University, 2004), page 10, it shows several examples of this, more...
what I wanted was there... !!!, __just__ the third from the end, very
simple:

\renewcommand{\chaptermark}[1]{%
 \markboth{#1}{}}

which belongs to a string without the word Chapter (or whatever),
without the number of the chapter, _with_ lower case letters. 

It doesn't work for me, and for sure that I'm doing something wrong
here...

I'd just like it placed in the right header corner. 
If I could get it, I could think into the idea of build a
book (forgetting the master/child documents), and then directly
printing it, since the rest of settings (margins, etc.) are always the
same for all child documents.

This is what I usually have into the preamble of each LyX document
(child, that is, a chapter):

--
\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema }%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{I put here the name of the subject/course, THIS BY HAND since is
always the same} 
\rhead{This changes _by taping_ into each document, I put here the name
of the chapter, and this is just what I'd like to avoid it}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}
--

Regards and thanks again,

Daniel



Conceptual doubt about graphics in LyX

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again, 

Sorry for so many bursts in the list, I think this is the last question
I'm dropping here for now. 
This is not an issue to solve, but a doubt I had in mind since several
weeks ago. 

Images are usual, a great many in my texts, since they are necessary
needed by the text. They are sketch, diagrams, graphics, draws, etc...
made with The Gimp most of the times, also some formed images caught
over there or even scanned, whatever...

First, I saved everything in the .png format, and after resizing, etc...
properly with The Gimp and the image was really ready, just went to Lyx
 Insert image. 

Then, I don't know if I read something here or wherever..., about saving
in .eps format. I thought it would make sense (because of postscript,
TeX, etc...), so I tried (with The Gimp too), was OK and then all images
were converted to .eps, but going to LyX  Insert Image (as before). 

This way needs the permanent existence of a folder with the set of
images for each document, right. 
On the other hand, I read in the CTAN, documentation, ... that there is
a package to INCLUDE the own image (eps) inside the document, that is,
as a built-in of the document. Am I right?

If the above is right, my question: What's the difference? Is there a
difference in terms of quality, an advantage, ...or just is a question
about comfort?

Regards,

Daniel



Re: No accents when mastering a document (Spanish) ??

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo

El lun, 07-04-2008 a las 19:11 +, Luis Rivera escribió:
 Miguel Daniel Rodríguez Magarzo [EMAIL PROTECTED] writes:
 
  
  In the master, Document  Settings  Language  Spanish, and encoding
  LaTeX default
  but into each child document, I have set Language Spanish too, but
  encoding utf8, with good results. 
  If I switch to utf8 in the master settings, the xdvi preview gives me
  a lot of warnings about this fact, obviously. 
  
 
 Excuse me, but I don't quite follow: you wrote, encoded, and typeset all 
 child 
 documents in UTF8; and when coming to a parent document, you are trying to 
 write, encode and typeset the whole thing again in UTF8, right? You mean, the 
 language settings for all documents are exactly the same, and the LyX process 
 breaks?
 

 Yes, I meant that. 

 If that's the case you may have stumbled upon a bug in LyX. Otherwise please 
 recheck and state your case better.
 
 You may also help to diagnose the bug trying another encoding. Make two 
 copies 
 and try language default or Latin1 in all documents on each copy and see 
 what happens.
 
 Sorry, you have to try. I do child documents with the default encoding 
 (Latin1 
 IIRC) all the time, without a problem. 
 
 Good luck,
 
 Luis.
 

I'd say that I was quite sure until you encourage me to re-check
things. 
Well, I checked one by one all the documents and... there was not a bug,
but a slip from me: there were one between the set of documents where
the encoding was latex-default; Changing it to utf8 as were the
remaining (then saving, updating dvi, etc..), and clicking at the xdvi
preview ... was (magically) perfect (again :-) 

Sorry for this waste of time at this point, and thank you.

Daniel





Howto for footnoting from a table

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi list, 

Again, I'd like to get some help from here about some issues where I'm
stuck at the moment. I usually try CTAN documentation firstly, but also
vainly most of the times... I thing I do not get to catch most of the
substance. As I've already said in previous occasions in the list, I
have no idea about LaTeX, but I work using LyX in order to produce my
own work documentation. 

One of the doubts is how to do a footnote from a table element, if
possible. Lyx behaves as it had been done, but it hadn't, according with
the xdvi preview. I'm working with LyX 1.5.1, and here I can find a work
around easily, e.g. using the x^n math function, but... it's not the
same and I'd like to know..

I've not found anything about that in the documentation that LyX comes
in.

Thanks in advance, even for reading..

Daniel



No accents when mastering a document (Spanish) ??

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again,

These days I've got the (longed-for) moment where much of the work was
definitively done. Result of this is a set of different LyX documents
(book-style), each one is a chapter. 
I've tried that called master/child document, but the resulting preview
is absolutely unacceptable, 'cause it doesn't get to treat accents
properly, so it puts other characters just where there should be an
accent. My mother tongue, Spanish, is a language full of accents
everywhere so, after mastering the set, the crashing aspect of each
page is really awful. Besides, this adds more characters per page, which
alters the desired position of most of the sections/subsections,... 

In the master, Document  Settings  Language  Spanish, and encoding
LaTeX default
but into each child document, I have set Language Spanish too, but
encoding utf8, with good results. 
If I switch to utf8 in the master settings, the xdvi preview gives me
a lot of warnings about this fact, obviously. 

So I don't know what to do, if I should abandon the idea of building a
master document,since I don't see clearly which advantages it really
provides. Anyone could point me any? Besides, the master document has
not built-in the sets of child documents, has it? Consequently, the
whole set of child docs should be there forever, if I've understood it
rightly.

Regards,
Daniel






Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again,

Honestly, I hope to get to explain good enough. The issue is very
simple. 

What I've done until now in order to sorting this out has been just
taping in the preamble, inside \rhead{}, the string I wanted to be
appeared there (using the fancyhdr). But how to do if I want the same
result using code? 

I've tried several combinations, but without results. Actually, I never
knew much what I  was really doing, since I know nothing about LaTeX,
but the try and error method didn't gave me a only chance either.

In a pdf document (Page layout in LaTeX, Piet van Oostrum, Utrecht
University, 2004), page 10, it shows several examples of this, more...
what I wanted was there... !!!, __just__ the third from the end, very
simple:

\renewcommand{\chaptermark}[1]{%
 \markboth{#1}{}}

which belongs to a string without the word Chapter (or whatever),
without the number of the chapter, _with_ lower case letters. 

It doesn't work for me, and for sure that I'm doing something wrong
here...

I'd just like it placed in the right header corner. 
If I could get it, I could think into the idea of build a
book (forgetting the master/child documents), and then directly
printing it, since the rest of settings (margins, etc.) are always the
same for all child documents.

This is what I usually have into the preamble of each LyX document
(child, that is, a chapter):

--
\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema }%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{I put here the name of the subject/course, THIS BY HAND since is
always the same} 
\rhead{This changes _by taping_ into each document, I put here the name
of the chapter, and this is just what I'd like to avoid it}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}
--

Regards and thanks again,

Daniel



Conceptual doubt about graphics in LyX

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again, 

Sorry for so many bursts in the list, I think this is the last question
I'm dropping here for now. 
This is not an issue to solve, but a doubt I had in mind since several
weeks ago. 

Images are usual, a great many in my texts, since they are necessary
needed by the text. They are sketch, diagrams, graphics, draws, etc...
made with The Gimp most of the times, also some formed images caught
over there or even scanned, whatever...

First, I saved everything in the .png format, and after resizing, etc...
properly with The Gimp and the image was really ready, just went to Lyx
 Insert image. 

Then, I don't know if I read something here or wherever..., about saving
in .eps format. I thought it would make sense (because of postscript,
TeX, etc...), so I tried (with The Gimp too), was OK and then all images
were converted to .eps, but going to LyX  Insert Image (as before). 

This way needs the permanent existence of a folder with the set of
images for each document, right. 
On the other hand, I read in the CTAN, documentation, ... that there is
a package to INCLUDE the own image (eps) inside the document, that is,
as a built-in of the document. Am I right?

If the above is right, my question: What's the difference? Is there a
difference in terms of quality, an advantage, ...or just is a question
about comfort?

Regards,

Daniel



Re: No accents when mastering a document (Spanish) ??

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo

El lun, 07-04-2008 a las 19:11 +, Luis Rivera escribió:
 Miguel Daniel Rodríguez Magarzo [EMAIL PROTECTED] writes:
 
  
  In the master, Document  Settings  Language  Spanish, and encoding
  LaTeX default
  but into each child document, I have set Language Spanish too, but
  encoding utf8, with good results. 
  If I switch to utf8 in the master settings, the xdvi preview gives me
  a lot of warnings about this fact, obviously. 
  
 
 Excuse me, but I don't quite follow: you wrote, encoded, and typeset all 
 child 
 documents in UTF8; and when coming to a parent document, you are trying to 
 write, encode and typeset the whole thing again in UTF8, right? You mean, the 
 language settings for all documents are exactly the same, and the LyX process 
 breaks?
 

 Yes, I meant that. 

 If that's the case you may have stumbled upon a bug in LyX. Otherwise please 
 recheck and state your case better.
 
 You may also help to diagnose the bug trying another encoding. Make two 
 copies 
 and try language default or Latin1 in all documents on each copy and see 
 what happens.
 
 Sorry, you have to try. I do child documents with the default encoding 
 (Latin1 
 IIRC) all the time, without a problem. 
 
 Good luck,
 
 Luis.
 

I'd say that I was quite sure until you encourage me to re-check
things. 
Well, I checked one by one all the documents and... there was not a bug,
but a slip from me: there were one between the set of documents where
the encoding was latex-default; Changing it to utf8 as were the
remaining (then saving, updating dvi, etc..), and clicking at the xdvi
preview ... was (magically) perfect (again :-) 

Sorry for this waste of time at this point, and thank you.

Daniel





Howto for footnoting from a table

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi list, 

Again, I'd like to get some help from here about some issues where I'm
stuck at the moment. I usually try CTAN documentation firstly, but also
vainly most of the times... I thing I do not get to catch most of the
substance. As I've already said in previous occasions in the list, I
have no idea about LaTeX, but I work using LyX in order to produce my
own work documentation. 

One of the doubts is how to do a footnote from a table element, if
possible. Lyx behaves as it had been done, but it hadn't, according with
the xdvi preview. I'm working with LyX 1.5.1, and here I can find a work
around easily, e.g. using the x^n math function, but... it's not the
same and I'd like to know..

I've not found anything about that in the documentation that LyX comes
in.

Thanks in advance, even for reading..

Daniel



No accents when mastering a document (Spanish) ??

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again,

These days I've got the (longed-for) moment where much of the work was
definitively done. Result of this is a set of different LyX documents
(book-style), each one is a chapter. 
I've tried that called master/child document, but the resulting preview
is absolutely unacceptable, 'cause it doesn't get to treat accents
properly, so it puts other characters just where there should be an
accent. My mother tongue, Spanish, is a language full of accents
everywhere so, after mastering the set, the "crashing" aspect of each
page is really awful. Besides, this adds more characters per page, which
alters the desired position of most of the sections/subsections,... 

In the master, Document > Settings > Language > Spanish, and encoding
"LaTeX default"
but into each child document, I have set Language Spanish too, but
encoding "utf8", with good results. 
If I switch to "utf8" in the master settings, the xdvi preview gives me
a lot of warnings about this fact, obviously. 

So I don't know what to do, if I should abandon the idea of building a
master document,since I don't see clearly which advantages it really
provides. Anyone could point me any? Besides, the master document has
not built-in the sets of child documents, has it? Consequently, the
whole set of child docs should be there forever, if I've understood it
rightly.

Regards,
Daniel






Just the name of the chapter right in the header, unable of getting it. How how how...

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again,

Honestly, I hope to get to explain good enough. The issue is very
simple. 

What I've done until now in order to sorting this out has been just
taping in the preamble, inside "\rhead{}", the string I wanted to be
appeared there (using the fancyhdr). But how to do if I want the same
result using code? 

I've tried several combinations, but without results. Actually, I never
knew much what I  was really doing, since I know nothing about LaTeX,
but the "try and error" method didn't gave me a only chance either.

In a pdf document ("Page layout in LaTeX", Piet van Oostrum, Utrecht
University, 2004), page 10, it shows several examples of this, more...
what I wanted was there... !!!, __just__ the third from the end, very
simple:

\renewcommand{\chaptermark}[1]{%
 \markboth{#1}{}}

which belongs to a string without the word "Chapter" (or whatever),
without the number of the chapter, _with_ lower case letters. 

It doesn't work for me, and for sure that I'm doing something wrong
here...

I'd just like it placed in the right header corner. 
If I could get it, I could think into the idea of build a
"book" (forgetting the master/child documents), and then directly
printing it, since the rest of settings (margins, etc.) are always the
same for all "child" documents.

This is what I usually have into the preamble of each LyX document
(child, that is, a chapter):

--
\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema }%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{I put here the name of the subject/course, THIS BY HAND since is
always the same} 
\rhead{This changes _by taping_ into each document, I put here the name
of the chapter, and this is just what I'd like to avoid it}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}
--

Regards and thanks again,

Daniel



Conceptual doubt about graphics in LyX

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo
Hi again, 

Sorry for so many bursts in the list, I think this is the last question
I'm dropping here for now. 
This is not an issue to solve, but a doubt I had in mind since several
weeks ago. 

Images are usual, a great many in my texts, since they are necessary
needed by the text. They are sketch, diagrams, graphics, draws, etc...
made with The Gimp most of the times, also some formed images caught
over there or even scanned, whatever...

First, I saved everything in the .png format, and after resizing, etc...
properly with The Gimp and the image was really ready, just went to Lyx
> Insert image. 

Then, I don't know if I read something here or wherever..., about saving
in .eps format. I thought it would make sense (because of postscript,
TeX, etc...), so I tried (with The Gimp too), was OK and then all images
were converted to .eps, but going to LyX > Insert Image (as before). 

This way needs the permanent existence of a folder with the set of
images for each document, right. 
On the other hand, I read in the CTAN, documentation, ... that there is
a package to INCLUDE the own image (eps) inside the document, that is,
as a built-in of the document. Am I right?

If the above is right, my question: What's the difference? Is there a
difference in terms of quality, an advantage, ...or just is a question
about "comfort"?

Regards,

Daniel



Re: No accents when mastering a document (Spanish) ??

2008-04-07 Thread Miguel Daniel Rodríguez Magarzo

El lun, 07-04-2008 a las 19:11 +, Luis Rivera escribió:
> Miguel Daniel Rodríguez Magarzo <[EMAIL PROTECTED]> writes:
> 
> > 
> > In the master, Document > Settings > Language > Spanish, and encoding
> > "LaTeX default"
> > but into each child document, I have set Language Spanish too, but
> > encoding "utf8", with good results. 
> > If I switch to "utf8" in the master settings, the xdvi preview gives me
> > a lot of warnings about this fact, obviously. 
> > 
> 
> Excuse me, but I don't quite follow: you wrote, encoded, and typeset all 
> child 
> documents in UTF8; and when coming to a parent document, you are trying to 
> write, encode and typeset the whole thing again in UTF8, right? You mean, the 
> language settings for all documents are exactly the same, and the LyX process 
> breaks?
> 

 Yes, I meant that. 

> If that's the case you may have stumbled upon a bug in LyX. Otherwise please 
> recheck and state your case better.
> 
> You may also help to diagnose the bug trying another encoding. Make two 
> copies 
> and try "language default" or "Latin1" in all documents on each copy and see 
> what happens.
> 
> Sorry, you have to try. I do child documents with the default encoding 
> (Latin1 
> IIRC) all the time, without a problem. 
> 
> Good luck,
> 
> Luis.
> 

I'd say that I was quite sure until you encourage me to re-check
things. 
Well, I checked one by one all the documents and... there was not a bug,
but a slip from me: there were one between the set of documents where
the encoding was "latex-default"; Changing it to "utf8" as were the
remaining (then saving, updating dvi, etc..), and clicking at the xdvi
preview ... was (magically) perfect (again :-) 

Sorry for this waste of time at this point, and thank you.

Daniel





I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo
Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the 1 into each
file (or chapter). 
This what I usually have in the preamble:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema}%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{the title of the subject} 
\rhead{the title of the Chapter}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}


Any trick, please? 

Daniel




Re: I need the trick, please

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

El sáb, 15-03-2008 a las 09:16 -0400, Steve Litt escribió:
 On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
  Hi here
 
  I'm working (as usually...) in a new LyX document (a new file) at a
  book-style. I need that the chapter number does not start with the
  _one_, but the five instead, though this is a new file but it belongs to
  a a set of large chapters, so I decided to make a new file for each one.
  The thing is that the page number should start with the 1 into each
  file (or chapter).
  This what I usually have in the preamble:
 
  \AtBeginDocument{%
  \addto\captionsspanish{%
  \renewcommand{\chaptername}{Tema}%
  }}
 
  \usepackage{fancyhdr}
  \pagestyle{fancy}
  \lhead{the title of the subject}
  \rhead{the title of the Chapter}
  \chead{}
  \lfoot{}
  \rfoot{}
  \cfoot{\thepage}
 
 
  Any trick, please?
 
  Daniel
 
 I don't remember the name of the counter, but there's a counter you need to 
 set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
 name, and set it to 5.
 
 SteveT
 
 Steve Litt
 Books written in LyX:
   Troubleshooting Techniques of the Successful Technologist
   Twenty Eight Tales of Troubleshooting
   Troubleshooting: Just the Facts

I'm sorry, could you (or someone) be more simple please? I don't know
what you're talking about. 
ERT? book.sty? ???:-o 

Thank you for your reply

Daniel



Re: I need the trick, please

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

El sáb, 15-03-2008 a las 15:17 -0400, rgheck escribió:
 Steve Litt wrote:
  On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:

  Hi here
 
  I'm working (as usually...) in a new LyX document (a new file) at a
  book-style. I need that the chapter number does not start with the
  _one_, but the five instead, though this is a new file but it belongs to
  a a set of large chapters, so I decided to make a new file for each one.
  The thing is that the page number should start with the 1 into each
  file (or chapter).
 
  
 If these are chapters of a larger book, then you want to create a 
 master document that includes all of the chapters as child 
 documents. To create the master, just make a new file, and put your 
 title, author, etc, info here. Then do: InsertFileChild Document, and 
 Include each of the chapters.
 
 The chapter numbers will look wrong when you edit the child documents 
 individually, but they will be right when you compile the whole master 
 document.
 
 To reset the page number, just put:
 \setcounter{page}{1}
 in ERT (InsertTeX Code) immediately after each Chapter heading. Or 
 better, look into the chappg package, which you can find on ctan.org if 
 it isn't already available in your TeX distribution.
 
 rh
 

Thank you very much for your rich suggestions. I've sorted out the
problem thanks to them. 
* Concerning to child documents, I'll have to consider seriously that
option when I have definitively finished to rewrite and update this
subject I'm working at the moment. Now the main thing was to print this
chapter indeed. Besides, there is currently a previous chapter that is
not concluded yet. 
* I've put that code with ERT just after the title of the chapter, then
I saw with view dvi and yes! ...working. Then I just had to add a set
of false chapters (1, 2, 3, 4) just before the beginning of the real
chapter (5), and then printing. I know this is not much elegant, but
it's OK for now, until I have the whole set of chapters (units) of the
book (subject); after that, in several weeks I'll probably do what you
suggest, a master document. 
* In respect to the chappg packages... yes, I've checked it and they
are already installed. My knowledge about LaTeX is about close to
zero, so let's things stay as it for now, if the above is covering my
necessities rightly. 

Thanks again, rh. 

Daniel
--
What about not forgetting my own old (very old...!!) websites? ... even
if they aren't written in a kind language, but just HTML, my first...
HTML. I'm talking about this (only Spanish version):
http://ploughingthemetal.galeon.com 



I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo
Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the 1 into each
file (or chapter). 
This what I usually have in the preamble:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema}%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{the title of the subject} 
\rhead{the title of the Chapter}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}


Any trick, please? 

Daniel




Re: I need the trick, please

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

El sáb, 15-03-2008 a las 09:16 -0400, Steve Litt escribió:
 On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
  Hi here
 
  I'm working (as usually...) in a new LyX document (a new file) at a
  book-style. I need that the chapter number does not start with the
  _one_, but the five instead, though this is a new file but it belongs to
  a a set of large chapters, so I decided to make a new file for each one.
  The thing is that the page number should start with the 1 into each
  file (or chapter).
  This what I usually have in the preamble:
 
  \AtBeginDocument{%
  \addto\captionsspanish{%
  \renewcommand{\chaptername}{Tema}%
  }}
 
  \usepackage{fancyhdr}
  \pagestyle{fancy}
  \lhead{the title of the subject}
  \rhead{the title of the Chapter}
  \chead{}
  \lfoot{}
  \rfoot{}
  \cfoot{\thepage}
 
 
  Any trick, please?
 
  Daniel
 
 I don't remember the name of the counter, but there's a counter you need to 
 set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
 name, and set it to 5.
 
 SteveT
 
 Steve Litt
 Books written in LyX:
   Troubleshooting Techniques of the Successful Technologist
   Twenty Eight Tales of Troubleshooting
   Troubleshooting: Just the Facts

I'm sorry, could you (or someone) be more simple please? I don't know
what you're talking about. 
ERT? book.sty? ???:-o 

Thank you for your reply

Daniel



Re: I need the trick, please

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

El sáb, 15-03-2008 a las 15:17 -0400, rgheck escribió:
 Steve Litt wrote:
  On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:

  Hi here
 
  I'm working (as usually...) in a new LyX document (a new file) at a
  book-style. I need that the chapter number does not start with the
  _one_, but the five instead, though this is a new file but it belongs to
  a a set of large chapters, so I decided to make a new file for each one.
  The thing is that the page number should start with the 1 into each
  file (or chapter).
 
  
 If these are chapters of a larger book, then you want to create a 
 master document that includes all of the chapters as child 
 documents. To create the master, just make a new file, and put your 
 title, author, etc, info here. Then do: InsertFileChild Document, and 
 Include each of the chapters.
 
 The chapter numbers will look wrong when you edit the child documents 
 individually, but they will be right when you compile the whole master 
 document.
 
 To reset the page number, just put:
 \setcounter{page}{1}
 in ERT (InsertTeX Code) immediately after each Chapter heading. Or 
 better, look into the chappg package, which you can find on ctan.org if 
 it isn't already available in your TeX distribution.
 
 rh
 

Thank you very much for your rich suggestions. I've sorted out the
problem thanks to them. 
* Concerning to child documents, I'll have to consider seriously that
option when I have definitively finished to rewrite and update this
subject I'm working at the moment. Now the main thing was to print this
chapter indeed. Besides, there is currently a previous chapter that is
not concluded yet. 
* I've put that code with ERT just after the title of the chapter, then
I saw with view dvi and yes! ...working. Then I just had to add a set
of false chapters (1, 2, 3, 4) just before the beginning of the real
chapter (5), and then printing. I know this is not much elegant, but
it's OK for now, until I have the whole set of chapters (units) of the
book (subject); after that, in several weeks I'll probably do what you
suggest, a master document. 
* In respect to the chappg packages... yes, I've checked it and they
are already installed. My knowledge about LaTeX is about close to
zero, so let's things stay as it for now, if the above is covering my
necessities rightly. 

Thanks again, rh. 

Daniel
--
What about not forgetting my own old (very old...!!) websites? ... even
if they aren't written in a kind language, but just HTML, my first...
HTML. I'm talking about this (only Spanish version):
http://ploughingthemetal.galeon.com 



I need the trick, please

2008-03-15 Thread Miguel Daniel Rodríguez Magarzo
Hi here

I'm working (as usually...) in a new LyX document (a new file) at a
book-style. I need that the chapter number does not start with the
_one_, but the five instead, though this is a new file but it belongs to
a a set of large chapters, so I decided to make a new file for each one.
The thing is that the page number should start with the "1" into each
file (or chapter). 
This what I usually have in the preamble:

\AtBeginDocument{%
\addto\captionsspanish{%
\renewcommand{\chaptername}{Tema}%
}}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{the title of the subject} 
\rhead{the title of the Chapter}
\chead{}
\lfoot{}
\rfoot{}
\cfoot{\thepage}


Any trick, please? 

Daniel




Re: I need the trick, please

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

El sáb, 15-03-2008 a las 09:16 -0400, Steve Litt escribió:
> On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
> > Hi here
> >
> > I'm working (as usually...) in a new LyX document (a new file) at a
> > book-style. I need that the chapter number does not start with the
> > _one_, but the five instead, though this is a new file but it belongs to
> > a a set of large chapters, so I decided to make a new file for each one.
> > The thing is that the page number should start with the "1" into each
> > file (or chapter).
> > This what I usually have in the preamble:
> >
> > \AtBeginDocument{%
> > \addto\captionsspanish{%
> > \renewcommand{\chaptername}{Tema}%
> > }}
> >
> > \usepackage{fancyhdr}
> > \pagestyle{fancy}
> > \lhead{the title of the subject}
> > \rhead{the title of the Chapter}
> > \chead{}
> > \lfoot{}
> > \rfoot{}
> > \cfoot{\thepage}
> >
> >
> > Any trick, please?
> >
> > Daniel
> 
> I don't remember the name of the counter, but there's a counter you need to 
> set to 5 with ERT. Look in the book.sty or whatever, and find the counter 
> name, and set it to 5.
> 
> SteveT
> 
> Steve Litt
> Books written in LyX:
>   Troubleshooting Techniques of the Successful Technologist
>   Twenty Eight Tales of Troubleshooting
>   Troubleshooting: Just the Facts

I'm sorry, could you (or someone) be more simple please? I don't know
what you're talking about. 
ERT? book.sty? ???:-o 

Thank you for your reply

Daniel



Re: I need the trick, please

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

El sáb, 15-03-2008 a las 15:17 -0400, rgheck escribió:
> Steve Litt wrote:
> > On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
> >   
> >> Hi here
> >>
> >> I'm working (as usually...) in a new LyX document (a new file) at a
> >> book-style. I need that the chapter number does not start with the
> >> _one_, but the five instead, though this is a new file but it belongs to
> >> a a set of large chapters, so I decided to make a new file for each one.
> >> The thing is that the page number should start with the "1" into each
> >> file (or chapter).
> >>
> >> 
> If these are chapters of a larger book, then you want to create a 
> "master document" that includes all of the chapters as "child" 
> documents. To create the master, just make a new file, and put your 
> title, author, etc, info here. Then do: Insert>File>Child Document, and 
> Include each of the chapters.
> 
> The chapter numbers will look wrong when you edit the child documents 
> individually, but they will be right when you compile the whole master 
> document.
> 
> To reset the page number, just put:
> \setcounter{page}{1}
> in ERT (Insert>TeX Code) immediately after each Chapter heading. Or 
> better, look into the chappg package, which you can find on ctan.org if 
> it isn't already available in your TeX distribution.
> 
> rh
> 

Thank you very much for your rich suggestions. I've sorted out the
problem thanks to them. 
* Concerning to child documents, I'll have to consider seriously that
option when I have definitively finished to rewrite and update this
subject I'm working at the moment. Now the main thing was to print this
chapter indeed. Besides, there is currently a previous chapter that is
not concluded yet. 
* I've put that code with ERT just after the title of the chapter, then
I saw with "view dvi" and yes! ...working. Then I just had to add a set
of "false" chapters (1, 2, 3, 4) just before the beginning of the real
chapter (5), and then printing. I know this is not much elegant, but
it's OK for now, until I have the whole set of chapters (units) of the
"book" (subject); after that, in several weeks I'll probably do what you
suggest, a "master document". 
* In respect to the chappg packages... yes, I've checked it and they
are already installed. My knowledge about LaTeX is about close to
"zero", so let's things stay as it for now, if the above is covering my
necessities rightly. 

Thanks again, rh. 

Daniel
--
What about not forgetting my own old (very old...!!) websites? ... even
if they aren't written in a kind language, but just HTML, my first...
HTML. I'm talking about this (only Spanish version):
http://ploughingthemetal.galeon.com 



Please..., Ubuntu, Lyx and Evince

2008-01-05 Thread Miguel Daniel Rodríguez Magarzo
Hi list,

This is an new Ubuntu system and this time I think the issue is related
with it...
I don't know where to go for changing the default LyX behaviour
concerning to the View of the document after updating it. It seems that
in Ubuntu this is a task asigned to Evince, and I don't know why either,
but graphics on it do not appear. 

I'd like to know how to change this previewer for another one like xdvi,
ghostview,...or whichever instead. I've checked many times the set of
related packages installed and I think that there are all they should
be...

I've been looking around for a clue (Ubuntuforums, LyX wiki, LyX User's
Guide, ...) and nothing...
I have got stuck. :-| 

Daniel







Re: Please..., Ubuntu, Lyx and Evince

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

El sáb, 05-01-2008 a las 11:59 +, Paul Smith escribió:
 On Jan 5, 2008 9:54 AM, Sven Hoexter [EMAIL PROTECTED] wrote:
   This is an new Ubuntu system and this time I think the issue is related
   with it...
   I don't know where to go for changing the default LyX behaviour
   concerning to the View of the document after updating it. It seems that
   in Ubuntu this is a task asigned to Evince, and I don't know why either,
   but graphics on it do not appear.
 
  Tools-Preferences...-File formats-DVI
  There you can change the previewer. I don't know why it doesn't work with
  evince but with kdvi I've no problem to update the preview.
 
 Tools-Preferences...-File formats- PDF (pdflatex)
 
 in case you want to use pdflatex to produce the output. Kpdf is a nice
 pdf viewer, which automatically updates changes in the active pdf
 file.
 
 Paul

Thanks! Working! :-)
I had been there before, into those panels, but I hadn't realized about
the existence of the modify button near the right upper corner, my
fault...
In principle I wanted xdvi, but I've had a look to kdvi, and despite
xdvi does its work fine, I have the impression at first look that kdvi
shows the document brighter, maybe better rendered, ... Anyhow, both of
them are able to show graphics (images,...) correctly, uf! Finally...!

Thank you very much, men. 

Daniel



Please..., Ubuntu, Lyx and Evince

2008-01-05 Thread Miguel Daniel Rodríguez Magarzo
Hi list,

This is an new Ubuntu system and this time I think the issue is related
with it...
I don't know where to go for changing the default LyX behaviour
concerning to the View of the document after updating it. It seems that
in Ubuntu this is a task asigned to Evince, and I don't know why either,
but graphics on it do not appear. 

I'd like to know how to change this previewer for another one like xdvi,
ghostview,...or whichever instead. I've checked many times the set of
related packages installed and I think that there are all they should
be...

I've been looking around for a clue (Ubuntuforums, LyX wiki, LyX User's
Guide, ...) and nothing...
I have got stuck. :-| 

Daniel







Re: Please..., Ubuntu, Lyx and Evince

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

El sáb, 05-01-2008 a las 11:59 +, Paul Smith escribió:
 On Jan 5, 2008 9:54 AM, Sven Hoexter [EMAIL PROTECTED] wrote:
   This is an new Ubuntu system and this time I think the issue is related
   with it...
   I don't know where to go for changing the default LyX behaviour
   concerning to the View of the document after updating it. It seems that
   in Ubuntu this is a task asigned to Evince, and I don't know why either,
   but graphics on it do not appear.
 
  Tools-Preferences...-File formats-DVI
  There you can change the previewer. I don't know why it doesn't work with
  evince but with kdvi I've no problem to update the preview.
 
 Tools-Preferences...-File formats- PDF (pdflatex)
 
 in case you want to use pdflatex to produce the output. Kpdf is a nice
 pdf viewer, which automatically updates changes in the active pdf
 file.
 
 Paul

Thanks! Working! :-)
I had been there before, into those panels, but I hadn't realized about
the existence of the modify button near the right upper corner, my
fault...
In principle I wanted xdvi, but I've had a look to kdvi, and despite
xdvi does its work fine, I have the impression at first look that kdvi
shows the document brighter, maybe better rendered, ... Anyhow, both of
them are able to show graphics (images,...) correctly, uf! Finally...!

Thank you very much, men. 

Daniel



Please..., Ubuntu, Lyx and Evince

2008-01-05 Thread Miguel Daniel Rodríguez Magarzo
Hi list,

This is an new Ubuntu system and this time I think the issue is related
with it...
I don't know where to go for changing the default LyX behaviour
concerning to the View of the document after updating it. It seems that
in Ubuntu this is a task asigned to Evince, and I don't know why either,
but graphics on it do not appear. 

I'd like to know how to change this previewer for another one like xdvi,
ghostview,...or whichever instead. I've checked many times the set of
related packages installed and I think that there are all they should
be...

I've been looking around for a clue (Ubuntuforums, LyX wiki, LyX User's
Guide, ...) and nothing...
I have got stuck. >:-| 

Daniel







Re: Please..., Ubuntu, Lyx and Evince

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

El sáb, 05-01-2008 a las 11:59 +, Paul Smith escribió:
> On Jan 5, 2008 9:54 AM, Sven Hoexter <[EMAIL PROTECTED]> wrote:
> > > This is an new Ubuntu system and this time I think the issue is related
> > > with it...
> > > I don't know where to go for changing the default LyX behaviour
> > > concerning to the View of the document after updating it. It seems that
> > > in Ubuntu this is a task asigned to Evince, and I don't know why either,
> > > but graphics on it do not appear.
> >
> > Tools->Preferences...->File formats->DVI
> > There you can change the previewer. I don't know why it doesn't work with
> > evince but with kdvi I've no problem to update the preview.
> 
> Tools->Preferences...->File formats-> PDF (pdflatex)
> 
> in case you want to use pdflatex to produce the output. Kpdf is a nice
> pdf viewer, which automatically updates changes in the active pdf
> file.
> 
> Paul

Thanks! Working! :-)
I had been there before, into those panels, but I hadn't realized about
the existence of the "modify" button near the right upper corner, my
fault...
In principle I wanted xdvi, but I've had a look to kdvi, and despite
xdvi does its work fine, I have the impression at first look that kdvi
shows the document brighter, maybe better rendered, ... Anyhow, both of
them are able to show graphics (images,...) correctly, uf! Finally...!

Thank you very much, men. 

Daniel



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



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

2008-01-02 Thread Miguel Daniel Rodríguez Magarzo
Hi list, 

Firstly... happy new year 2008, best wishes to everyone.

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.

Thanks in advance.

Daniel



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

2008-01-02 Thread Miguel Daniel Rodríguez Magarzo
Hi list, 

Firstly... happy new year 2008, best wishes to everyone.

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.

Thanks in advance.

Daniel



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

2008-01-02 Thread Miguel Daniel Rodríguez Magarzo
Hi list, 

Firstly... happy new year 2008, best wishes to everyone.

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.

Thanks in advance.

Daniel



Re: fun poll: your linux distro

2007-12-30 Thread Miguel Daniel Rodríguez Magarzo

El vie, 28-12-2007 a las 15:18 -0700, Bob Lounsbury escribió:
 Hi,
 
 I was just curious what everyone is using. If you'd like to respond
 that's fine, if not, just ignore the message. Also, could you include
 if you're running the latest LyX 1.5.3. Thanks in advance for anyones'
 input.
 

Laptop: Ubuntu 7.10, Lyx 1.5.1 at the moment (Ubuntu plus Gentoo just in
a few days, if possible...:-)
Desktop (home): Ubuntu 7.10, Lyx 1.5.1

 Cheers and Happy New Year!
 Bob Lounsbury

Same to you!
Daniel



Re: fun poll: your linux distro

2007-12-30 Thread Miguel Daniel Rodríguez Magarzo

El vie, 28-12-2007 a las 15:18 -0700, Bob Lounsbury escribió:
 Hi,
 
 I was just curious what everyone is using. If you'd like to respond
 that's fine, if not, just ignore the message. Also, could you include
 if you're running the latest LyX 1.5.3. Thanks in advance for anyones'
 input.
 

Laptop: Ubuntu 7.10, Lyx 1.5.1 at the moment (Ubuntu plus Gentoo just in
a few days, if possible...:-)
Desktop (home): Ubuntu 7.10, Lyx 1.5.1

 Cheers and Happy New Year!
 Bob Lounsbury

Same to you!
Daniel



Re: fun poll: your linux distro

2007-12-30 Thread Miguel Daniel Rodríguez Magarzo

El vie, 28-12-2007 a las 15:18 -0700, Bob Lounsbury escribió:
> Hi,
> 
> I was just curious what everyone is using. If you'd like to respond
> that's fine, if not, just ignore the message. Also, could you include
> if you're running the latest LyX 1.5.3. Thanks in advance for anyones'
> input.
> 

Laptop: Ubuntu 7.10, Lyx 1.5.1 at the moment (Ubuntu plus Gentoo just in
a few days, if possible...:-)
Desktop (home): Ubuntu 7.10, Lyx 1.5.1

> Cheers and Happy New Year!
> Bob Lounsbury

Same to you!
Daniel